Socket
Socket
Sign inDemoInstall

@aws-sdk/client-s3

Package Overview
Dependencies
Maintainers
5
Versions
433
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@aws-sdk/client-s3 - npm Package Compare versions

Comparing version 3.637.0 to 3.645.0

22

dist-types/commands/DeleteObjectTaggingCommand.d.ts

@@ -83,8 +83,9 @@ import { Command as $Command } from "@smithy/smithy-client";

* @public
* @example To remove tag set from an object
* @example To remove tag set from an object version
* ```javascript
* // The following example removes tag set associated with the specified object. If the bucket is versioning enabled, the operation removes tag set from the latest object version.
* // The following example removes tag set associated with the specified object version. The request specifies both the object key and object version.
* const input = {
* "Bucket": "examplebucket",
* "Key": "HappyFace.jpg"
* "Key": "HappyFace.jpg",
* "VersionId": "ydlaNkwWm0SfKJR.T1b1fIdPRbldTYRI"
* };

@@ -95,15 +96,14 @@ * const command = new DeleteObjectTaggingCommand(input);

* {
* "VersionId": "null"
* "VersionId": "ydlaNkwWm0SfKJR.T1b1fIdPRbldTYRI"
* }
* *\/
* // example id: to-remove-tag-set-from-an-object-1483145342862
* // example id: to-remove-tag-set-from-an-object-version-1483145285913
* ```
*
* @example To remove tag set from an object version
* @example To remove tag set from an object
* ```javascript
* // The following example removes tag set associated with the specified object version. The request specifies both the object key and object version.
* // The following example removes tag set associated with the specified object. If the bucket is versioning enabled, the operation removes tag set from the latest object version.
* const input = {
* "Bucket": "examplebucket",
* "Key": "HappyFace.jpg",
* "VersionId": "ydlaNkwWm0SfKJR.T1b1fIdPRbldTYRI"
* "Key": "HappyFace.jpg"
* };

@@ -114,6 +114,6 @@ * const command = new DeleteObjectTaggingCommand(input);

* {
* "VersionId": "ydlaNkwWm0SfKJR.T1b1fIdPRbldTYRI"
* "VersionId": "null"
* }
* *\/
* // example id: to-remove-tag-set-from-an-object-version-1483145285913
* // example id: to-remove-tag-set-from-an-object-1483145342862
* ```

@@ -120,0 +120,0 @@ *

@@ -99,9 +99,8 @@ import { Command as $Command } from "@smithy/smithy-client";

* @public
* @example To retrieve tag set of a specific object version
* @example To retrieve tag set of an object
* ```javascript
* // The following example retrieves tag set of an object. The request specifies object version.
* // The following example retrieves tag set of an object.
* const input = {
* "Bucket": "examplebucket",
* "Key": "exampleobject",
* "VersionId": "ydlaNkwWm0SfKJR.T1b1fIdPRbldTYRI"
* "Key": "HappyFace.jpg"
* };

@@ -114,18 +113,23 @@ * const command = new GetObjectTaggingCommand(input);

* {
* "Key": "Key1",
* "Value": "Value1"
* "Key": "Key4",
* "Value": "Value4"
* },
* {
* "Key": "Key3",
* "Value": "Value3"
* }
* ],
* "VersionId": "ydlaNkwWm0SfKJR.T1b1fIdPRbldTYRI"
* "VersionId": "null"
* }
* *\/
* // example id: to-retrieve-tag-set-of-a-specific-object-version-1483400283663
* // example id: to-retrieve-tag-set-of-an-object-1481833847896
* ```
*
* @example To retrieve tag set of an object
* @example To retrieve tag set of a specific object version
* ```javascript
* // The following example retrieves tag set of an object.
* // The following example retrieves tag set of an object. The request specifies object version.
* const input = {
* "Bucket": "examplebucket",
* "Key": "HappyFace.jpg"
* "Key": "exampleobject",
* "VersionId": "ydlaNkwWm0SfKJR.T1b1fIdPRbldTYRI"
* };

@@ -138,14 +142,10 @@ * const command = new GetObjectTaggingCommand(input);

* {
* "Key": "Key4",
* "Value": "Value4"
* },
* {
* "Key": "Key3",
* "Value": "Value3"
* "Key": "Key1",
* "Value": "Value1"
* }
* ],
* "VersionId": "null"
* "VersionId": "ydlaNkwWm0SfKJR.T1b1fIdPRbldTYRI"
* }
* *\/
* // example id: to-retrieve-tag-set-of-an-object-1481833847896
* // example id: to-retrieve-tag-set-of-a-specific-object-version-1483400283663
* ```

@@ -152,0 +152,0 @@ *

@@ -238,2 +238,24 @@ import { Command as $Command } from "@smithy/smithy-client";

* @public
* @example To upload an object (specify optional headers)
* ```javascript
* // The following example uploads an object. The request specifies optional request headers to directs S3 to use specific storage class and use server-side encryption.
* const input = {
* "Body": "HappyFace.jpg",
* "Bucket": "examplebucket",
* "Key": "HappyFace.jpg",
* "ServerSideEncryption": "AES256",
* "StorageClass": "STANDARD_IA"
* };
* const command = new PutObjectCommand(input);
* const response = await client.send(command);
* /* response ==
* {
* "ETag": "\"6805f2cfc46c0f04559748bb039d69ae\"",
* "ServerSideEncryption": "AES256",
* "VersionId": "CG612hodqujkf8FaaNfp8U..FIhLROcp"
* }
* *\/
* // example id: to-upload-an-object-(specify-optional-headers)
* ```
*
* @example To create an object.

@@ -258,11 +280,9 @@ * ```javascript

*
* @example To upload an object (specify optional headers)
* @example To upload an object
* ```javascript
* // The following example uploads an object. The request specifies optional request headers to directs S3 to use specific storage class and use server-side encryption.
* // The following example uploads an object to a versioning-enabled bucket. The source file is specified using Windows file syntax. S3 returns VersionId of the newly created object.
* const input = {
* "Body": "HappyFace.jpg",
* "Bucket": "examplebucket",
* "Key": "HappyFace.jpg",
* "ServerSideEncryption": "AES256",
* "StorageClass": "STANDARD_IA"
* "Key": "HappyFace.jpg"
* };

@@ -274,17 +294,16 @@ * const command = new PutObjectCommand(input);

* "ETag": "\"6805f2cfc46c0f04559748bb039d69ae\"",
* "ServerSideEncryption": "AES256",
* "VersionId": "CG612hodqujkf8FaaNfp8U..FIhLROcp"
* "VersionId": "tpf3zF08nBplQK1XLOefGskR7mGDwcDk"
* }
* *\/
* // example id: to-upload-an-object-(specify-optional-headers)
* // example id: to-upload-an-object-1481760101010
* ```
*
* @example To upload an object and specify canned ACL.
* @example To upload an object and specify optional tags
* ```javascript
* // The following example uploads and object. The request specifies optional canned ACL (access control list) to all READ access to authenticated users. If the bucket is versioning enabled, S3 returns version ID in response.
* // The following example uploads an object. The request specifies optional object tags. The bucket is versioned, therefore S3 returns version ID of the newly created object.
* const input = {
* "ACL": "authenticated-read",
* "Body": "filetoupload",
* "Body": "c:\\HappyFace.jpg",
* "Bucket": "examplebucket",
* "Key": "exampleobject"
* "Key": "HappyFace.jpg",
* "Tagging": "key1=value1&key2=value2"
* };

@@ -296,17 +315,16 @@ * const command = new PutObjectCommand(input);

* "ETag": "\"6805f2cfc46c0f04559748bb039d69ae\"",
* "VersionId": "Kirh.unyZwjQ69YxcQLA8z4F5j3kJJKr"
* "VersionId": "psM2sYY4.o1501dSx8wMvnkOzSBB.V4a"
* }
* *\/
* // example id: to-upload-an-object-and-specify-canned-acl-1483397779571
* // example id: to-upload-an-object-and-specify-optional-tags-1481762310955
* ```
*
* @example To upload an object and specify server-side encryption and object tags
* @example To upload an object and specify canned ACL.
* ```javascript
* // The following example uploads an object. The request specifies the optional server-side encryption option. The request also specifies optional object tags. If the bucket is versioning enabled, S3 returns version ID in response.
* // The following example uploads and object. The request specifies optional canned ACL (access control list) to all READ access to authenticated users. If the bucket is versioning enabled, S3 returns version ID in response.
* const input = {
* "ACL": "authenticated-read",
* "Body": "filetoupload",
* "Bucket": "examplebucket",
* "Key": "exampleobject",
* "ServerSideEncryption": "AES256",
* "Tagging": "key1=value1&key2=value2"
* "Key": "exampleobject"
* };

@@ -318,7 +336,6 @@ * const command = new PutObjectCommand(input);

* "ETag": "\"6805f2cfc46c0f04559748bb039d69ae\"",
* "ServerSideEncryption": "AES256",
* "VersionId": "Ri.vC6qVlA4dEnjgRV4ZHsHoFIjqEMNt"
* "VersionId": "Kirh.unyZwjQ69YxcQLA8z4F5j3kJJKr"
* }
* *\/
* // example id: to-upload-an-object-and-specify-server-side-encryption-and-object-tags-1483398331831
* // example id: to-upload-an-object-and-specify-canned-acl-1483397779571
* ```

@@ -349,28 +366,10 @@ *

*
* @example To upload an object
* @example To upload an object and specify server-side encryption and object tags
* ```javascript
* // The following example uploads an object to a versioning-enabled bucket. The source file is specified using Windows file syntax. S3 returns VersionId of the newly created object.
* // The following example uploads an object. The request specifies the optional server-side encryption option. The request also specifies optional object tags. If the bucket is versioning enabled, S3 returns version ID in response.
* const input = {
* "Body": "HappyFace.jpg",
* "Body": "filetoupload",
* "Bucket": "examplebucket",
* "Key": "HappyFace.jpg"
* };
* const command = new PutObjectCommand(input);
* const response = await client.send(command);
* /* response ==
* {
* "ETag": "\"6805f2cfc46c0f04559748bb039d69ae\"",
* "VersionId": "tpf3zF08nBplQK1XLOefGskR7mGDwcDk"
* }
* *\/
* // example id: to-upload-an-object-1481760101010
* ```
*
* @example To upload an object and specify optional tags
* ```javascript
* // The following example uploads an object. The request specifies optional object tags. The bucket is versioned, therefore S3 returns version ID of the newly created object.
* const input = {
* "Body": "c:\\HappyFace.jpg",
* "Bucket": "examplebucket",
* "Key": "HappyFace.jpg",
* "Key": "exampleobject",
* "ServerSideEncryption": "AES256",
* "Tagging": "key1=value1&key2=value2"

@@ -383,6 +382,7 @@ * };

* "ETag": "\"6805f2cfc46c0f04559748bb039d69ae\"",
* "VersionId": "psM2sYY4.o1501dSx8wMvnkOzSBB.V4a"
* "ServerSideEncryption": "AES256",
* "VersionId": "Ri.vC6qVlA4dEnjgRV4ZHsHoFIjqEMNt"
* }
* *\/
* // example id: to-upload-an-object-and-specify-optional-tags-1481762310955
* // example id: to-upload-an-object-and-specify-server-side-encryption-and-object-tags-1483398331831
* ```

@@ -389,0 +389,0 @@ *

{
"name": "@aws-sdk/client-s3",
"description": "AWS SDK for JavaScript S3 Client for Node.js, Browser and React Native",
"version": "3.637.0",
"version": "3.645.0",
"scripts": {

@@ -29,6 +29,6 @@ "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",

"@aws-crypto/sha256-js": "5.2.0",
"@aws-sdk/client-sso-oidc": "3.637.0",
"@aws-sdk/client-sts": "3.637.0",
"@aws-sdk/client-sso-oidc": "3.645.0",
"@aws-sdk/client-sts": "3.645.0",
"@aws-sdk/core": "3.635.0",
"@aws-sdk/credential-provider-node": "3.637.0",
"@aws-sdk/credential-provider-node": "3.645.0",
"@aws-sdk/middleware-bucket-endpoint": "3.620.0",

@@ -43,7 +43,7 @@ "@aws-sdk/middleware-expect-continue": "3.620.0",

"@aws-sdk/middleware-ssec": "3.609.0",
"@aws-sdk/middleware-user-agent": "3.637.0",
"@aws-sdk/middleware-user-agent": "3.645.0",
"@aws-sdk/region-config-resolver": "3.614.0",
"@aws-sdk/signature-v4-multi-region": "3.635.0",
"@aws-sdk/types": "3.609.0",
"@aws-sdk/util-endpoints": "3.637.0",
"@aws-sdk/util-endpoints": "3.645.0",
"@aws-sdk/util-user-agent-browser": "3.609.0",

@@ -50,0 +50,0 @@ "@aws-sdk/util-user-agent-node": "3.614.0",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc