@aws-sdk/client-s3 3.417.0 → 3.420.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-cjs/commands/AbortMultipartUploadCommand.js +5 -0
- package/dist-cjs/commands/CompleteMultipartUploadCommand.js +5 -0
- package/dist-cjs/commands/CopyObjectCommand.js +5 -0
- package/dist-cjs/commands/CreateBucketCommand.js +5 -0
- package/dist-cjs/commands/CreateMultipartUploadCommand.js +5 -0
- package/dist-cjs/commands/DeleteBucketAnalyticsConfigurationCommand.js +5 -0
- package/dist-cjs/commands/DeleteBucketCommand.js +5 -0
- package/dist-cjs/commands/DeleteBucketCorsCommand.js +5 -0
- package/dist-cjs/commands/DeleteBucketEncryptionCommand.js +5 -0
- package/dist-cjs/commands/DeleteBucketIntelligentTieringConfigurationCommand.js +5 -0
- package/dist-cjs/commands/DeleteBucketInventoryConfigurationCommand.js +5 -0
- package/dist-cjs/commands/DeleteBucketLifecycleCommand.js +5 -0
- package/dist-cjs/commands/DeleteBucketMetricsConfigurationCommand.js +5 -0
- package/dist-cjs/commands/DeleteBucketOwnershipControlsCommand.js +5 -0
- package/dist-cjs/commands/DeleteBucketPolicyCommand.js +5 -0
- package/dist-cjs/commands/DeleteBucketReplicationCommand.js +5 -0
- package/dist-cjs/commands/DeleteBucketTaggingCommand.js +5 -0
- package/dist-cjs/commands/DeleteBucketWebsiteCommand.js +5 -0
- package/dist-cjs/commands/DeleteObjectCommand.js +5 -0
- package/dist-cjs/commands/DeleteObjectTaggingCommand.js +5 -0
- package/dist-cjs/commands/DeleteObjectsCommand.js +5 -0
- package/dist-cjs/commands/DeletePublicAccessBlockCommand.js +5 -0
- package/dist-cjs/commands/GetBucketAccelerateConfigurationCommand.js +5 -0
- package/dist-cjs/commands/GetBucketAclCommand.js +5 -0
- package/dist-cjs/commands/GetBucketAnalyticsConfigurationCommand.js +5 -0
- package/dist-cjs/commands/GetBucketCorsCommand.js +5 -0
- package/dist-cjs/commands/GetBucketEncryptionCommand.js +5 -0
- package/dist-cjs/commands/GetBucketIntelligentTieringConfigurationCommand.js +5 -0
- package/dist-cjs/commands/GetBucketInventoryConfigurationCommand.js +5 -0
- package/dist-cjs/commands/GetBucketLifecycleConfigurationCommand.js +5 -0
- package/dist-cjs/commands/GetBucketLocationCommand.js +5 -0
- package/dist-cjs/commands/GetBucketLoggingCommand.js +5 -0
- package/dist-cjs/commands/GetBucketMetricsConfigurationCommand.js +5 -0
- package/dist-cjs/commands/GetBucketNotificationConfigurationCommand.js +5 -0
- package/dist-cjs/commands/GetBucketOwnershipControlsCommand.js +5 -0
- package/dist-cjs/commands/GetBucketPolicyCommand.js +5 -0
- package/dist-cjs/commands/GetBucketPolicyStatusCommand.js +5 -0
- package/dist-cjs/commands/GetBucketReplicationCommand.js +5 -0
- package/dist-cjs/commands/GetBucketRequestPaymentCommand.js +5 -0
- package/dist-cjs/commands/GetBucketTaggingCommand.js +5 -0
- package/dist-cjs/commands/GetBucketVersioningCommand.js +5 -0
- package/dist-cjs/commands/GetBucketWebsiteCommand.js +5 -0
- package/dist-cjs/commands/GetObjectAclCommand.js +5 -0
- package/dist-cjs/commands/GetObjectAttributesCommand.js +5 -0
- package/dist-cjs/commands/GetObjectCommand.js +5 -0
- package/dist-cjs/commands/GetObjectLegalHoldCommand.js +5 -0
- package/dist-cjs/commands/GetObjectLockConfigurationCommand.js +5 -0
- package/dist-cjs/commands/GetObjectRetentionCommand.js +5 -0
- package/dist-cjs/commands/GetObjectTaggingCommand.js +5 -0
- package/dist-cjs/commands/GetObjectTorrentCommand.js +5 -0
- package/dist-cjs/commands/GetPublicAccessBlockCommand.js +5 -0
- package/dist-cjs/commands/HeadBucketCommand.js +5 -0
- package/dist-cjs/commands/HeadObjectCommand.js +5 -0
- package/dist-cjs/commands/ListBucketAnalyticsConfigurationsCommand.js +5 -0
- package/dist-cjs/commands/ListBucketIntelligentTieringConfigurationsCommand.js +5 -0
- package/dist-cjs/commands/ListBucketInventoryConfigurationsCommand.js +5 -0
- package/dist-cjs/commands/ListBucketMetricsConfigurationsCommand.js +5 -0
- package/dist-cjs/commands/ListBucketsCommand.js +5 -0
- package/dist-cjs/commands/ListMultipartUploadsCommand.js +5 -0
- package/dist-cjs/commands/ListObjectVersionsCommand.js +5 -0
- package/dist-cjs/commands/ListObjectsCommand.js +5 -0
- package/dist-cjs/commands/ListObjectsV2Command.js +5 -0
- package/dist-cjs/commands/ListPartsCommand.js +5 -0
- package/dist-cjs/commands/PutBucketAccelerateConfigurationCommand.js +5 -0
- package/dist-cjs/commands/PutBucketAclCommand.js +5 -0
- package/dist-cjs/commands/PutBucketAnalyticsConfigurationCommand.js +5 -0
- package/dist-cjs/commands/PutBucketCorsCommand.js +5 -0
- package/dist-cjs/commands/PutBucketEncryptionCommand.js +5 -0
- package/dist-cjs/commands/PutBucketIntelligentTieringConfigurationCommand.js +5 -0
- package/dist-cjs/commands/PutBucketInventoryConfigurationCommand.js +5 -0
- package/dist-cjs/commands/PutBucketLifecycleConfigurationCommand.js +5 -0
- package/dist-cjs/commands/PutBucketLoggingCommand.js +5 -0
- package/dist-cjs/commands/PutBucketMetricsConfigurationCommand.js +5 -0
- package/dist-cjs/commands/PutBucketNotificationConfigurationCommand.js +5 -0
- package/dist-cjs/commands/PutBucketOwnershipControlsCommand.js +5 -0
- package/dist-cjs/commands/PutBucketPolicyCommand.js +5 -0
- package/dist-cjs/commands/PutBucketReplicationCommand.js +5 -0
- package/dist-cjs/commands/PutBucketRequestPaymentCommand.js +5 -0
- package/dist-cjs/commands/PutBucketTaggingCommand.js +5 -0
- package/dist-cjs/commands/PutBucketVersioningCommand.js +5 -0
- package/dist-cjs/commands/PutBucketWebsiteCommand.js +5 -0
- package/dist-cjs/commands/PutObjectAclCommand.js +5 -0
- package/dist-cjs/commands/PutObjectCommand.js +5 -0
- package/dist-cjs/commands/PutObjectLegalHoldCommand.js +5 -0
- package/dist-cjs/commands/PutObjectLockConfigurationCommand.js +5 -0
- package/dist-cjs/commands/PutObjectRetentionCommand.js +5 -0
- package/dist-cjs/commands/PutObjectTaggingCommand.js +5 -0
- package/dist-cjs/commands/PutPublicAccessBlockCommand.js +5 -0
- package/dist-cjs/commands/RestoreObjectCommand.js +5 -0
- package/dist-cjs/commands/SelectObjectContentCommand.js +5 -0
- package/dist-cjs/commands/UploadPartCommand.js +5 -0
- package/dist-cjs/commands/UploadPartCopyCommand.js +5 -0
- package/dist-cjs/commands/WriteGetObjectResponseCommand.js +5 -0
- package/dist-cjs/models/models_0.js +1 -0
- package/dist-es/commands/AbortMultipartUploadCommand.js +5 -0
- package/dist-es/commands/CompleteMultipartUploadCommand.js +5 -0
- package/dist-es/commands/CopyObjectCommand.js +5 -0
- package/dist-es/commands/CreateBucketCommand.js +5 -0
- package/dist-es/commands/CreateMultipartUploadCommand.js +5 -0
- package/dist-es/commands/DeleteBucketAnalyticsConfigurationCommand.js +5 -0
- package/dist-es/commands/DeleteBucketCommand.js +5 -0
- package/dist-es/commands/DeleteBucketCorsCommand.js +5 -0
- package/dist-es/commands/DeleteBucketEncryptionCommand.js +5 -0
- package/dist-es/commands/DeleteBucketIntelligentTieringConfigurationCommand.js +5 -0
- package/dist-es/commands/DeleteBucketInventoryConfigurationCommand.js +5 -0
- package/dist-es/commands/DeleteBucketLifecycleCommand.js +5 -0
- package/dist-es/commands/DeleteBucketMetricsConfigurationCommand.js +5 -0
- package/dist-es/commands/DeleteBucketOwnershipControlsCommand.js +5 -0
- package/dist-es/commands/DeleteBucketPolicyCommand.js +5 -0
- package/dist-es/commands/DeleteBucketReplicationCommand.js +5 -0
- package/dist-es/commands/DeleteBucketTaggingCommand.js +5 -0
- package/dist-es/commands/DeleteBucketWebsiteCommand.js +5 -0
- package/dist-es/commands/DeleteObjectCommand.js +5 -0
- package/dist-es/commands/DeleteObjectTaggingCommand.js +5 -0
- package/dist-es/commands/DeleteObjectsCommand.js +5 -0
- package/dist-es/commands/DeletePublicAccessBlockCommand.js +5 -0
- package/dist-es/commands/GetBucketAccelerateConfigurationCommand.js +5 -0
- package/dist-es/commands/GetBucketAclCommand.js +5 -0
- package/dist-es/commands/GetBucketAnalyticsConfigurationCommand.js +5 -0
- package/dist-es/commands/GetBucketCorsCommand.js +5 -0
- package/dist-es/commands/GetBucketEncryptionCommand.js +5 -0
- package/dist-es/commands/GetBucketIntelligentTieringConfigurationCommand.js +5 -0
- package/dist-es/commands/GetBucketInventoryConfigurationCommand.js +5 -0
- package/dist-es/commands/GetBucketLifecycleConfigurationCommand.js +5 -0
- package/dist-es/commands/GetBucketLocationCommand.js +5 -0
- package/dist-es/commands/GetBucketLoggingCommand.js +5 -0
- package/dist-es/commands/GetBucketMetricsConfigurationCommand.js +5 -0
- package/dist-es/commands/GetBucketNotificationConfigurationCommand.js +5 -0
- package/dist-es/commands/GetBucketOwnershipControlsCommand.js +5 -0
- package/dist-es/commands/GetBucketPolicyCommand.js +5 -0
- package/dist-es/commands/GetBucketPolicyStatusCommand.js +5 -0
- package/dist-es/commands/GetBucketReplicationCommand.js +5 -0
- package/dist-es/commands/GetBucketRequestPaymentCommand.js +5 -0
- package/dist-es/commands/GetBucketTaggingCommand.js +5 -0
- package/dist-es/commands/GetBucketVersioningCommand.js +5 -0
- package/dist-es/commands/GetBucketWebsiteCommand.js +5 -0
- package/dist-es/commands/GetObjectAclCommand.js +5 -0
- package/dist-es/commands/GetObjectAttributesCommand.js +5 -0
- package/dist-es/commands/GetObjectCommand.js +5 -0
- package/dist-es/commands/GetObjectLegalHoldCommand.js +5 -0
- package/dist-es/commands/GetObjectLockConfigurationCommand.js +5 -0
- package/dist-es/commands/GetObjectRetentionCommand.js +5 -0
- package/dist-es/commands/GetObjectTaggingCommand.js +5 -0
- package/dist-es/commands/GetObjectTorrentCommand.js +5 -0
- package/dist-es/commands/GetPublicAccessBlockCommand.js +5 -0
- package/dist-es/commands/HeadBucketCommand.js +5 -0
- package/dist-es/commands/HeadObjectCommand.js +5 -0
- package/dist-es/commands/ListBucketAnalyticsConfigurationsCommand.js +5 -0
- package/dist-es/commands/ListBucketIntelligentTieringConfigurationsCommand.js +5 -0
- package/dist-es/commands/ListBucketInventoryConfigurationsCommand.js +5 -0
- package/dist-es/commands/ListBucketMetricsConfigurationsCommand.js +5 -0
- package/dist-es/commands/ListBucketsCommand.js +5 -0
- package/dist-es/commands/ListMultipartUploadsCommand.js +5 -0
- package/dist-es/commands/ListObjectVersionsCommand.js +5 -0
- package/dist-es/commands/ListObjectsCommand.js +5 -0
- package/dist-es/commands/ListObjectsV2Command.js +5 -0
- package/dist-es/commands/ListPartsCommand.js +5 -0
- package/dist-es/commands/PutBucketAccelerateConfigurationCommand.js +5 -0
- package/dist-es/commands/PutBucketAclCommand.js +5 -0
- package/dist-es/commands/PutBucketAnalyticsConfigurationCommand.js +5 -0
- package/dist-es/commands/PutBucketCorsCommand.js +5 -0
- package/dist-es/commands/PutBucketEncryptionCommand.js +5 -0
- package/dist-es/commands/PutBucketIntelligentTieringConfigurationCommand.js +5 -0
- package/dist-es/commands/PutBucketInventoryConfigurationCommand.js +5 -0
- package/dist-es/commands/PutBucketLifecycleConfigurationCommand.js +5 -0
- package/dist-es/commands/PutBucketLoggingCommand.js +5 -0
- package/dist-es/commands/PutBucketMetricsConfigurationCommand.js +5 -0
- package/dist-es/commands/PutBucketNotificationConfigurationCommand.js +5 -0
- package/dist-es/commands/PutBucketOwnershipControlsCommand.js +5 -0
- package/dist-es/commands/PutBucketPolicyCommand.js +5 -0
- package/dist-es/commands/PutBucketReplicationCommand.js +5 -0
- package/dist-es/commands/PutBucketRequestPaymentCommand.js +5 -0
- package/dist-es/commands/PutBucketTaggingCommand.js +5 -0
- package/dist-es/commands/PutBucketVersioningCommand.js +5 -0
- package/dist-es/commands/PutBucketWebsiteCommand.js +5 -0
- package/dist-es/commands/PutObjectAclCommand.js +5 -0
- package/dist-es/commands/PutObjectCommand.js +5 -0
- package/dist-es/commands/PutObjectLegalHoldCommand.js +5 -0
- package/dist-es/commands/PutObjectLockConfigurationCommand.js +5 -0
- package/dist-es/commands/PutObjectRetentionCommand.js +5 -0
- package/dist-es/commands/PutObjectTaggingCommand.js +5 -0
- package/dist-es/commands/PutPublicAccessBlockCommand.js +5 -0
- package/dist-es/commands/RestoreObjectCommand.js +5 -0
- package/dist-es/commands/SelectObjectContentCommand.js +5 -0
- package/dist-es/commands/UploadPartCommand.js +5 -0
- package/dist-es/commands/UploadPartCopyCommand.js +5 -0
- package/dist-es/commands/WriteGetObjectResponseCommand.js +5 -0
- package/dist-es/models/models_0.js +1 -0
- package/dist-types/commands/CreateBucketCommand.d.ts +13 -13
- package/dist-types/commands/DeleteObjectCommand.d.ts +10 -10
- package/dist-types/commands/DeleteObjectTaggingCommand.d.ts +11 -11
- package/dist-types/commands/DeleteObjectsCommand.d.ts +22 -22
- package/dist-types/commands/GetObjectCommand.d.ts +1 -1
- package/dist-types/commands/GetObjectTaggingCommand.d.ts +19 -19
- package/dist-types/commands/HeadObjectCommand.d.ts +1 -1
- package/dist-types/commands/PutObjectCommand.d.ts +43 -43
- package/dist-types/commands/WriteGetObjectResponseCommand.d.ts +1 -1
- package/dist-types/models/models_0.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +1 -0
- package/package.json +46 -46
|
@@ -2,6 +2,7 @@ import { getFlexibleChecksumsPlugin } from "@aws-sdk/middleware-flexible-checksu
|
|
|
2
2
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
3
3
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
4
4
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
5
|
+
import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
|
|
5
6
|
import { de_PutBucketCorsCommand, se_PutBucketCorsCommand } from "../protocols/Aws_restXml";
|
|
6
7
|
export { $Command };
|
|
7
8
|
export class PutBucketCorsCommand extends $Command {
|
|
@@ -41,6 +42,10 @@ export class PutBucketCorsCommand extends $Command {
|
|
|
41
42
|
commandName,
|
|
42
43
|
inputFilterSensitiveLog: (_) => _,
|
|
43
44
|
outputFilterSensitiveLog: (_) => _,
|
|
45
|
+
[SMITHY_CONTEXT_KEY]: {
|
|
46
|
+
service: "AmazonS3",
|
|
47
|
+
operation: "PutBucketCors",
|
|
48
|
+
},
|
|
44
49
|
};
|
|
45
50
|
const { requestHandler } = configuration;
|
|
46
51
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -2,6 +2,7 @@ import { getFlexibleChecksumsPlugin } from "@aws-sdk/middleware-flexible-checksu
|
|
|
2
2
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
3
3
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
4
4
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
5
|
+
import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
|
|
5
6
|
import { PutBucketEncryptionRequestFilterSensitiveLog } from "../models/models_0";
|
|
6
7
|
import { de_PutBucketEncryptionCommand, se_PutBucketEncryptionCommand } from "../protocols/Aws_restXml";
|
|
7
8
|
export { $Command };
|
|
@@ -42,6 +43,10 @@ export class PutBucketEncryptionCommand extends $Command {
|
|
|
42
43
|
commandName,
|
|
43
44
|
inputFilterSensitiveLog: PutBucketEncryptionRequestFilterSensitiveLog,
|
|
44
45
|
outputFilterSensitiveLog: (_) => _,
|
|
46
|
+
[SMITHY_CONTEXT_KEY]: {
|
|
47
|
+
service: "AmazonS3",
|
|
48
|
+
operation: "PutBucketEncryption",
|
|
49
|
+
},
|
|
45
50
|
};
|
|
46
51
|
const { requestHandler } = configuration;
|
|
47
52
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
|
|
4
5
|
import { de_PutBucketIntelligentTieringConfigurationCommand, se_PutBucketIntelligentTieringConfigurationCommand, } from "../protocols/Aws_restXml";
|
|
5
6
|
export { $Command };
|
|
6
7
|
export class PutBucketIntelligentTieringConfigurationCommand extends $Command {
|
|
@@ -35,6 +36,10 @@ export class PutBucketIntelligentTieringConfigurationCommand extends $Command {
|
|
|
35
36
|
commandName,
|
|
36
37
|
inputFilterSensitiveLog: (_) => _,
|
|
37
38
|
outputFilterSensitiveLog: (_) => _,
|
|
39
|
+
[SMITHY_CONTEXT_KEY]: {
|
|
40
|
+
service: "AmazonS3",
|
|
41
|
+
operation: "PutBucketIntelligentTieringConfiguration",
|
|
42
|
+
},
|
|
38
43
|
};
|
|
39
44
|
const { requestHandler } = configuration;
|
|
40
45
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
|
|
4
5
|
import { PutBucketInventoryConfigurationRequestFilterSensitiveLog, } from "../models/models_0";
|
|
5
6
|
import { de_PutBucketInventoryConfigurationCommand, se_PutBucketInventoryConfigurationCommand, } from "../protocols/Aws_restXml";
|
|
6
7
|
export { $Command };
|
|
@@ -36,6 +37,10 @@ export class PutBucketInventoryConfigurationCommand extends $Command {
|
|
|
36
37
|
commandName,
|
|
37
38
|
inputFilterSensitiveLog: PutBucketInventoryConfigurationRequestFilterSensitiveLog,
|
|
38
39
|
outputFilterSensitiveLog: (_) => _,
|
|
40
|
+
[SMITHY_CONTEXT_KEY]: {
|
|
41
|
+
service: "AmazonS3",
|
|
42
|
+
operation: "PutBucketInventoryConfiguration",
|
|
43
|
+
},
|
|
39
44
|
};
|
|
40
45
|
const { requestHandler } = configuration;
|
|
41
46
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -2,6 +2,7 @@ import { getFlexibleChecksumsPlugin } from "@aws-sdk/middleware-flexible-checksu
|
|
|
2
2
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
3
3
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
4
4
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
5
|
+
import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
|
|
5
6
|
import { de_PutBucketLifecycleConfigurationCommand, se_PutBucketLifecycleConfigurationCommand, } from "../protocols/Aws_restXml";
|
|
6
7
|
export { $Command };
|
|
7
8
|
export class PutBucketLifecycleConfigurationCommand extends $Command {
|
|
@@ -41,6 +42,10 @@ export class PutBucketLifecycleConfigurationCommand extends $Command {
|
|
|
41
42
|
commandName,
|
|
42
43
|
inputFilterSensitiveLog: (_) => _,
|
|
43
44
|
outputFilterSensitiveLog: (_) => _,
|
|
45
|
+
[SMITHY_CONTEXT_KEY]: {
|
|
46
|
+
service: "AmazonS3",
|
|
47
|
+
operation: "PutBucketLifecycleConfiguration",
|
|
48
|
+
},
|
|
44
49
|
};
|
|
45
50
|
const { requestHandler } = configuration;
|
|
46
51
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -2,6 +2,7 @@ import { getFlexibleChecksumsPlugin } from "@aws-sdk/middleware-flexible-checksu
|
|
|
2
2
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
3
3
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
4
4
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
5
|
+
import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
|
|
5
6
|
import { de_PutBucketLoggingCommand, se_PutBucketLoggingCommand } from "../protocols/Aws_restXml";
|
|
6
7
|
export { $Command };
|
|
7
8
|
export class PutBucketLoggingCommand extends $Command {
|
|
@@ -41,6 +42,10 @@ export class PutBucketLoggingCommand extends $Command {
|
|
|
41
42
|
commandName,
|
|
42
43
|
inputFilterSensitiveLog: (_) => _,
|
|
43
44
|
outputFilterSensitiveLog: (_) => _,
|
|
45
|
+
[SMITHY_CONTEXT_KEY]: {
|
|
46
|
+
service: "AmazonS3",
|
|
47
|
+
operation: "PutBucketLogging",
|
|
48
|
+
},
|
|
44
49
|
};
|
|
45
50
|
const { requestHandler } = configuration;
|
|
46
51
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
|
|
4
5
|
import { de_PutBucketMetricsConfigurationCommand, se_PutBucketMetricsConfigurationCommand, } from "../protocols/Aws_restXml";
|
|
5
6
|
export { $Command };
|
|
6
7
|
export class PutBucketMetricsConfigurationCommand extends $Command {
|
|
@@ -35,6 +36,10 @@ export class PutBucketMetricsConfigurationCommand extends $Command {
|
|
|
35
36
|
commandName,
|
|
36
37
|
inputFilterSensitiveLog: (_) => _,
|
|
37
38
|
outputFilterSensitiveLog: (_) => _,
|
|
39
|
+
[SMITHY_CONTEXT_KEY]: {
|
|
40
|
+
service: "AmazonS3",
|
|
41
|
+
operation: "PutBucketMetricsConfiguration",
|
|
42
|
+
},
|
|
38
43
|
};
|
|
39
44
|
const { requestHandler } = configuration;
|
|
40
45
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
|
|
4
5
|
import { de_PutBucketNotificationConfigurationCommand, se_PutBucketNotificationConfigurationCommand, } from "../protocols/Aws_restXml";
|
|
5
6
|
export { $Command };
|
|
6
7
|
export class PutBucketNotificationConfigurationCommand extends $Command {
|
|
@@ -35,6 +36,10 @@ export class PutBucketNotificationConfigurationCommand extends $Command {
|
|
|
35
36
|
commandName,
|
|
36
37
|
inputFilterSensitiveLog: (_) => _,
|
|
37
38
|
outputFilterSensitiveLog: (_) => _,
|
|
39
|
+
[SMITHY_CONTEXT_KEY]: {
|
|
40
|
+
service: "AmazonS3",
|
|
41
|
+
operation: "PutBucketNotificationConfiguration",
|
|
42
|
+
},
|
|
38
43
|
};
|
|
39
44
|
const { requestHandler } = configuration;
|
|
40
45
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -2,6 +2,7 @@ import { getFlexibleChecksumsPlugin } from "@aws-sdk/middleware-flexible-checksu
|
|
|
2
2
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
3
3
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
4
4
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
5
|
+
import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
|
|
5
6
|
import { de_PutBucketOwnershipControlsCommand, se_PutBucketOwnershipControlsCommand } from "../protocols/Aws_restXml";
|
|
6
7
|
export { $Command };
|
|
7
8
|
export class PutBucketOwnershipControlsCommand extends $Command {
|
|
@@ -37,6 +38,10 @@ export class PutBucketOwnershipControlsCommand extends $Command {
|
|
|
37
38
|
commandName,
|
|
38
39
|
inputFilterSensitiveLog: (_) => _,
|
|
39
40
|
outputFilterSensitiveLog: (_) => _,
|
|
41
|
+
[SMITHY_CONTEXT_KEY]: {
|
|
42
|
+
service: "AmazonS3",
|
|
43
|
+
operation: "PutBucketOwnershipControls",
|
|
44
|
+
},
|
|
40
45
|
};
|
|
41
46
|
const { requestHandler } = configuration;
|
|
42
47
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -2,6 +2,7 @@ import { getFlexibleChecksumsPlugin } from "@aws-sdk/middleware-flexible-checksu
|
|
|
2
2
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
3
3
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
4
4
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
5
|
+
import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
|
|
5
6
|
import { de_PutBucketPolicyCommand, se_PutBucketPolicyCommand } from "../protocols/Aws_restXml";
|
|
6
7
|
export { $Command };
|
|
7
8
|
export class PutBucketPolicyCommand extends $Command {
|
|
@@ -41,6 +42,10 @@ export class PutBucketPolicyCommand extends $Command {
|
|
|
41
42
|
commandName,
|
|
42
43
|
inputFilterSensitiveLog: (_) => _,
|
|
43
44
|
outputFilterSensitiveLog: (_) => _,
|
|
45
|
+
[SMITHY_CONTEXT_KEY]: {
|
|
46
|
+
service: "AmazonS3",
|
|
47
|
+
operation: "PutBucketPolicy",
|
|
48
|
+
},
|
|
44
49
|
};
|
|
45
50
|
const { requestHandler } = configuration;
|
|
46
51
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -2,6 +2,7 @@ import { getFlexibleChecksumsPlugin } from "@aws-sdk/middleware-flexible-checksu
|
|
|
2
2
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
3
3
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
4
4
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
5
|
+
import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
|
|
5
6
|
import { de_PutBucketReplicationCommand, se_PutBucketReplicationCommand } from "../protocols/Aws_restXml";
|
|
6
7
|
export { $Command };
|
|
7
8
|
export class PutBucketReplicationCommand extends $Command {
|
|
@@ -41,6 +42,10 @@ export class PutBucketReplicationCommand extends $Command {
|
|
|
41
42
|
commandName,
|
|
42
43
|
inputFilterSensitiveLog: (_) => _,
|
|
43
44
|
outputFilterSensitiveLog: (_) => _,
|
|
45
|
+
[SMITHY_CONTEXT_KEY]: {
|
|
46
|
+
service: "AmazonS3",
|
|
47
|
+
operation: "PutBucketReplication",
|
|
48
|
+
},
|
|
44
49
|
};
|
|
45
50
|
const { requestHandler } = configuration;
|
|
46
51
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -2,6 +2,7 @@ import { getFlexibleChecksumsPlugin } from "@aws-sdk/middleware-flexible-checksu
|
|
|
2
2
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
3
3
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
4
4
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
5
|
+
import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
|
|
5
6
|
import { de_PutBucketRequestPaymentCommand, se_PutBucketRequestPaymentCommand } from "../protocols/Aws_restXml";
|
|
6
7
|
export { $Command };
|
|
7
8
|
export class PutBucketRequestPaymentCommand extends $Command {
|
|
@@ -41,6 +42,10 @@ export class PutBucketRequestPaymentCommand extends $Command {
|
|
|
41
42
|
commandName,
|
|
42
43
|
inputFilterSensitiveLog: (_) => _,
|
|
43
44
|
outputFilterSensitiveLog: (_) => _,
|
|
45
|
+
[SMITHY_CONTEXT_KEY]: {
|
|
46
|
+
service: "AmazonS3",
|
|
47
|
+
operation: "PutBucketRequestPayment",
|
|
48
|
+
},
|
|
44
49
|
};
|
|
45
50
|
const { requestHandler } = configuration;
|
|
46
51
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -2,6 +2,7 @@ import { getFlexibleChecksumsPlugin } from "@aws-sdk/middleware-flexible-checksu
|
|
|
2
2
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
3
3
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
4
4
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
5
|
+
import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
|
|
5
6
|
import { de_PutBucketTaggingCommand, se_PutBucketTaggingCommand } from "../protocols/Aws_restXml";
|
|
6
7
|
export { $Command };
|
|
7
8
|
export class PutBucketTaggingCommand extends $Command {
|
|
@@ -41,6 +42,10 @@ export class PutBucketTaggingCommand extends $Command {
|
|
|
41
42
|
commandName,
|
|
42
43
|
inputFilterSensitiveLog: (_) => _,
|
|
43
44
|
outputFilterSensitiveLog: (_) => _,
|
|
45
|
+
[SMITHY_CONTEXT_KEY]: {
|
|
46
|
+
service: "AmazonS3",
|
|
47
|
+
operation: "PutBucketTagging",
|
|
48
|
+
},
|
|
44
49
|
};
|
|
45
50
|
const { requestHandler } = configuration;
|
|
46
51
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -2,6 +2,7 @@ import { getFlexibleChecksumsPlugin } from "@aws-sdk/middleware-flexible-checksu
|
|
|
2
2
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
3
3
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
4
4
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
5
|
+
import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
|
|
5
6
|
import { de_PutBucketVersioningCommand, se_PutBucketVersioningCommand } from "../protocols/Aws_restXml";
|
|
6
7
|
export { $Command };
|
|
7
8
|
export class PutBucketVersioningCommand extends $Command {
|
|
@@ -41,6 +42,10 @@ export class PutBucketVersioningCommand extends $Command {
|
|
|
41
42
|
commandName,
|
|
42
43
|
inputFilterSensitiveLog: (_) => _,
|
|
43
44
|
outputFilterSensitiveLog: (_) => _,
|
|
45
|
+
[SMITHY_CONTEXT_KEY]: {
|
|
46
|
+
service: "AmazonS3",
|
|
47
|
+
operation: "PutBucketVersioning",
|
|
48
|
+
},
|
|
44
49
|
};
|
|
45
50
|
const { requestHandler } = configuration;
|
|
46
51
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -2,6 +2,7 @@ import { getFlexibleChecksumsPlugin } from "@aws-sdk/middleware-flexible-checksu
|
|
|
2
2
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
3
3
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
4
4
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
5
|
+
import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
|
|
5
6
|
import { de_PutBucketWebsiteCommand, se_PutBucketWebsiteCommand } from "../protocols/Aws_restXml";
|
|
6
7
|
export { $Command };
|
|
7
8
|
export class PutBucketWebsiteCommand extends $Command {
|
|
@@ -41,6 +42,10 @@ export class PutBucketWebsiteCommand extends $Command {
|
|
|
41
42
|
commandName,
|
|
42
43
|
inputFilterSensitiveLog: (_) => _,
|
|
43
44
|
outputFilterSensitiveLog: (_) => _,
|
|
45
|
+
[SMITHY_CONTEXT_KEY]: {
|
|
46
|
+
service: "AmazonS3",
|
|
47
|
+
operation: "PutBucketWebsite",
|
|
48
|
+
},
|
|
44
49
|
};
|
|
45
50
|
const { requestHandler } = configuration;
|
|
46
51
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -2,6 +2,7 @@ import { getFlexibleChecksumsPlugin } from "@aws-sdk/middleware-flexible-checksu
|
|
|
2
2
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
3
3
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
4
4
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
5
|
+
import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
|
|
5
6
|
import { de_PutObjectAclCommand, se_PutObjectAclCommand } from "../protocols/Aws_restXml";
|
|
6
7
|
export { $Command };
|
|
7
8
|
export class PutObjectAclCommand extends $Command {
|
|
@@ -41,6 +42,10 @@ export class PutObjectAclCommand extends $Command {
|
|
|
41
42
|
commandName,
|
|
42
43
|
inputFilterSensitiveLog: (_) => _,
|
|
43
44
|
outputFilterSensitiveLog: (_) => _,
|
|
45
|
+
[SMITHY_CONTEXT_KEY]: {
|
|
46
|
+
service: "AmazonS3",
|
|
47
|
+
operation: "PutObjectAcl",
|
|
48
|
+
},
|
|
44
49
|
};
|
|
45
50
|
const { requestHandler } = configuration;
|
|
46
51
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -4,6 +4,7 @@ import { getSsecPlugin } from "@aws-sdk/middleware-ssec";
|
|
|
4
4
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
5
5
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
6
6
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
7
|
+
import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
|
|
7
8
|
import { PutObjectOutputFilterSensitiveLog, PutObjectRequestFilterSensitiveLog, } from "../models/models_0";
|
|
8
9
|
import { de_PutObjectCommand, se_PutObjectCommand } from "../protocols/Aws_restXml";
|
|
9
10
|
export { $Command };
|
|
@@ -46,6 +47,10 @@ export class PutObjectCommand extends $Command {
|
|
|
46
47
|
commandName,
|
|
47
48
|
inputFilterSensitiveLog: PutObjectRequestFilterSensitiveLog,
|
|
48
49
|
outputFilterSensitiveLog: PutObjectOutputFilterSensitiveLog,
|
|
50
|
+
[SMITHY_CONTEXT_KEY]: {
|
|
51
|
+
service: "AmazonS3",
|
|
52
|
+
operation: "PutObject",
|
|
53
|
+
},
|
|
49
54
|
};
|
|
50
55
|
const { requestHandler } = configuration;
|
|
51
56
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -2,6 +2,7 @@ import { getFlexibleChecksumsPlugin } from "@aws-sdk/middleware-flexible-checksu
|
|
|
2
2
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
3
3
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
4
4
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
5
|
+
import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
|
|
5
6
|
import { de_PutObjectLegalHoldCommand, se_PutObjectLegalHoldCommand } from "../protocols/Aws_restXml";
|
|
6
7
|
export { $Command };
|
|
7
8
|
export class PutObjectLegalHoldCommand extends $Command {
|
|
@@ -41,6 +42,10 @@ export class PutObjectLegalHoldCommand extends $Command {
|
|
|
41
42
|
commandName,
|
|
42
43
|
inputFilterSensitiveLog: (_) => _,
|
|
43
44
|
outputFilterSensitiveLog: (_) => _,
|
|
45
|
+
[SMITHY_CONTEXT_KEY]: {
|
|
46
|
+
service: "AmazonS3",
|
|
47
|
+
operation: "PutObjectLegalHold",
|
|
48
|
+
},
|
|
44
49
|
};
|
|
45
50
|
const { requestHandler } = configuration;
|
|
46
51
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -2,6 +2,7 @@ import { getFlexibleChecksumsPlugin } from "@aws-sdk/middleware-flexible-checksu
|
|
|
2
2
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
3
3
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
4
4
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
5
|
+
import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
|
|
5
6
|
import { de_PutObjectLockConfigurationCommand, se_PutObjectLockConfigurationCommand } from "../protocols/Aws_restXml";
|
|
6
7
|
export { $Command };
|
|
7
8
|
export class PutObjectLockConfigurationCommand extends $Command {
|
|
@@ -41,6 +42,10 @@ export class PutObjectLockConfigurationCommand extends $Command {
|
|
|
41
42
|
commandName,
|
|
42
43
|
inputFilterSensitiveLog: (_) => _,
|
|
43
44
|
outputFilterSensitiveLog: (_) => _,
|
|
45
|
+
[SMITHY_CONTEXT_KEY]: {
|
|
46
|
+
service: "AmazonS3",
|
|
47
|
+
operation: "PutObjectLockConfiguration",
|
|
48
|
+
},
|
|
44
49
|
};
|
|
45
50
|
const { requestHandler } = configuration;
|
|
46
51
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -2,6 +2,7 @@ import { getFlexibleChecksumsPlugin } from "@aws-sdk/middleware-flexible-checksu
|
|
|
2
2
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
3
3
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
4
4
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
5
|
+
import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
|
|
5
6
|
import { de_PutObjectRetentionCommand, se_PutObjectRetentionCommand } from "../protocols/Aws_restXml";
|
|
6
7
|
export { $Command };
|
|
7
8
|
export class PutObjectRetentionCommand extends $Command {
|
|
@@ -41,6 +42,10 @@ export class PutObjectRetentionCommand extends $Command {
|
|
|
41
42
|
commandName,
|
|
42
43
|
inputFilterSensitiveLog: (_) => _,
|
|
43
44
|
outputFilterSensitiveLog: (_) => _,
|
|
45
|
+
[SMITHY_CONTEXT_KEY]: {
|
|
46
|
+
service: "AmazonS3",
|
|
47
|
+
operation: "PutObjectRetention",
|
|
48
|
+
},
|
|
44
49
|
};
|
|
45
50
|
const { requestHandler } = configuration;
|
|
46
51
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -2,6 +2,7 @@ import { getFlexibleChecksumsPlugin } from "@aws-sdk/middleware-flexible-checksu
|
|
|
2
2
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
3
3
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
4
4
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
5
|
+
import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
|
|
5
6
|
import { de_PutObjectTaggingCommand, se_PutObjectTaggingCommand } from "../protocols/Aws_restXml";
|
|
6
7
|
export { $Command };
|
|
7
8
|
export class PutObjectTaggingCommand extends $Command {
|
|
@@ -41,6 +42,10 @@ export class PutObjectTaggingCommand extends $Command {
|
|
|
41
42
|
commandName,
|
|
42
43
|
inputFilterSensitiveLog: (_) => _,
|
|
43
44
|
outputFilterSensitiveLog: (_) => _,
|
|
45
|
+
[SMITHY_CONTEXT_KEY]: {
|
|
46
|
+
service: "AmazonS3",
|
|
47
|
+
operation: "PutObjectTagging",
|
|
48
|
+
},
|
|
44
49
|
};
|
|
45
50
|
const { requestHandler } = configuration;
|
|
46
51
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -2,6 +2,7 @@ import { getFlexibleChecksumsPlugin } from "@aws-sdk/middleware-flexible-checksu
|
|
|
2
2
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
3
3
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
4
4
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
5
|
+
import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
|
|
5
6
|
import { de_PutPublicAccessBlockCommand, se_PutPublicAccessBlockCommand } from "../protocols/Aws_restXml";
|
|
6
7
|
export { $Command };
|
|
7
8
|
export class PutPublicAccessBlockCommand extends $Command {
|
|
@@ -41,6 +42,10 @@ export class PutPublicAccessBlockCommand extends $Command {
|
|
|
41
42
|
commandName,
|
|
42
43
|
inputFilterSensitiveLog: (_) => _,
|
|
43
44
|
outputFilterSensitiveLog: (_) => _,
|
|
45
|
+
[SMITHY_CONTEXT_KEY]: {
|
|
46
|
+
service: "AmazonS3",
|
|
47
|
+
operation: "PutPublicAccessBlock",
|
|
48
|
+
},
|
|
44
49
|
};
|
|
45
50
|
const { requestHandler } = configuration;
|
|
46
51
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -2,6 +2,7 @@ import { getFlexibleChecksumsPlugin } from "@aws-sdk/middleware-flexible-checksu
|
|
|
2
2
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
3
3
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
4
4
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
5
|
+
import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
|
|
5
6
|
import { RestoreObjectRequestFilterSensitiveLog } from "../models/models_1";
|
|
6
7
|
import { de_RestoreObjectCommand, se_RestoreObjectCommand } from "../protocols/Aws_restXml";
|
|
7
8
|
export { $Command };
|
|
@@ -42,6 +43,10 @@ export class RestoreObjectCommand extends $Command {
|
|
|
42
43
|
commandName,
|
|
43
44
|
inputFilterSensitiveLog: RestoreObjectRequestFilterSensitiveLog,
|
|
44
45
|
outputFilterSensitiveLog: (_) => _,
|
|
46
|
+
[SMITHY_CONTEXT_KEY]: {
|
|
47
|
+
service: "AmazonS3",
|
|
48
|
+
operation: "RestoreObject",
|
|
49
|
+
},
|
|
45
50
|
};
|
|
46
51
|
const { requestHandler } = configuration;
|
|
47
52
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -2,6 +2,7 @@ import { getSsecPlugin } from "@aws-sdk/middleware-ssec";
|
|
|
2
2
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
3
3
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
4
4
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
5
|
+
import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
|
|
5
6
|
import { SelectObjectContentOutputFilterSensitiveLog, SelectObjectContentRequestFilterSensitiveLog, } from "../models/models_1";
|
|
6
7
|
import { de_SelectObjectContentCommand, se_SelectObjectContentCommand } from "../protocols/Aws_restXml";
|
|
7
8
|
export { $Command };
|
|
@@ -38,6 +39,10 @@ export class SelectObjectContentCommand extends $Command {
|
|
|
38
39
|
commandName,
|
|
39
40
|
inputFilterSensitiveLog: SelectObjectContentRequestFilterSensitiveLog,
|
|
40
41
|
outputFilterSensitiveLog: SelectObjectContentOutputFilterSensitiveLog,
|
|
42
|
+
[SMITHY_CONTEXT_KEY]: {
|
|
43
|
+
service: "AmazonS3",
|
|
44
|
+
operation: "SelectObjectContent",
|
|
45
|
+
},
|
|
41
46
|
};
|
|
42
47
|
const { requestHandler } = configuration;
|
|
43
48
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -3,6 +3,7 @@ import { getSsecPlugin } from "@aws-sdk/middleware-ssec";
|
|
|
3
3
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
4
4
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
5
5
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
6
|
+
import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
|
|
6
7
|
import { UploadPartOutputFilterSensitiveLog, UploadPartRequestFilterSensitiveLog, } from "../models/models_1";
|
|
7
8
|
import { de_UploadPartCommand, se_UploadPartCommand } from "../protocols/Aws_restXml";
|
|
8
9
|
export { $Command };
|
|
@@ -44,6 +45,10 @@ export class UploadPartCommand extends $Command {
|
|
|
44
45
|
commandName,
|
|
45
46
|
inputFilterSensitiveLog: UploadPartRequestFilterSensitiveLog,
|
|
46
47
|
outputFilterSensitiveLog: UploadPartOutputFilterSensitiveLog,
|
|
48
|
+
[SMITHY_CONTEXT_KEY]: {
|
|
49
|
+
service: "AmazonS3",
|
|
50
|
+
operation: "UploadPart",
|
|
51
|
+
},
|
|
47
52
|
};
|
|
48
53
|
const { requestHandler } = configuration;
|
|
49
54
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -3,6 +3,7 @@ import { getSsecPlugin } from "@aws-sdk/middleware-ssec";
|
|
|
3
3
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
4
4
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
5
5
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
6
|
+
import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
|
|
6
7
|
import { UploadPartCopyOutputFilterSensitiveLog, UploadPartCopyRequestFilterSensitiveLog, } from "../models/models_1";
|
|
7
8
|
import { de_UploadPartCopyCommand, se_UploadPartCopyCommand } from "../protocols/Aws_restXml";
|
|
8
9
|
export { $Command };
|
|
@@ -40,6 +41,10 @@ export class UploadPartCopyCommand extends $Command {
|
|
|
40
41
|
commandName,
|
|
41
42
|
inputFilterSensitiveLog: UploadPartCopyRequestFilterSensitiveLog,
|
|
42
43
|
outputFilterSensitiveLog: UploadPartCopyOutputFilterSensitiveLog,
|
|
44
|
+
[SMITHY_CONTEXT_KEY]: {
|
|
45
|
+
service: "AmazonS3",
|
|
46
|
+
operation: "UploadPartCopy",
|
|
47
|
+
},
|
|
43
48
|
};
|
|
44
49
|
const { requestHandler } = configuration;
|
|
45
50
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
|
|
4
5
|
import { WriteGetObjectResponseRequestFilterSensitiveLog } from "../models/models_1";
|
|
5
6
|
import { de_WriteGetObjectResponseCommand, se_WriteGetObjectResponseCommand } from "../protocols/Aws_restXml";
|
|
6
7
|
export { $Command };
|
|
@@ -36,6 +37,10 @@ export class WriteGetObjectResponseCommand extends $Command {
|
|
|
36
37
|
commandName,
|
|
37
38
|
inputFilterSensitiveLog: WriteGetObjectResponseRequestFilterSensitiveLog,
|
|
38
39
|
outputFilterSensitiveLog: (_) => _,
|
|
40
|
+
[SMITHY_CONTEXT_KEY]: {
|
|
41
|
+
service: "AmazonS3",
|
|
42
|
+
operation: "WriteGetObjectResponse",
|
|
43
|
+
},
|
|
39
44
|
};
|
|
40
45
|
const { requestHandler } = configuration;
|
|
41
46
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -181,39 +181,39 @@ export interface CreateBucketCommandOutput extends CreateBucketOutput, __Metadat
|
|
|
181
181
|
* @throws {@link S3ServiceException}
|
|
182
182
|
* <p>Base exception class for all service exceptions from S3 service.</p>
|
|
183
183
|
*
|
|
184
|
-
* @example To create a bucket
|
|
184
|
+
* @example To create a bucket in a specific region
|
|
185
185
|
* ```javascript
|
|
186
|
-
* // The following example creates a bucket.
|
|
186
|
+
* // The following example creates a bucket. The request specifies an AWS region where to create the bucket.
|
|
187
187
|
* const input = {
|
|
188
|
-
* "Bucket": "examplebucket"
|
|
188
|
+
* "Bucket": "examplebucket",
|
|
189
|
+
* "CreateBucketConfiguration": {
|
|
190
|
+
* "LocationConstraint": "eu-west-1"
|
|
191
|
+
* }
|
|
189
192
|
* };
|
|
190
193
|
* const command = new CreateBucketCommand(input);
|
|
191
194
|
* const response = await client.send(command);
|
|
192
195
|
* /* response ==
|
|
193
196
|
* {
|
|
194
|
-
* "Location": "/
|
|
197
|
+
* "Location": "http://examplebucket.<Region>.s3.amazonaws.com/"
|
|
195
198
|
* }
|
|
196
199
|
* *\/
|
|
197
|
-
* // example id: to-create-a-bucket
|
|
200
|
+
* // example id: to-create-a-bucket-in-a-specific-region-1483399072992
|
|
198
201
|
* ```
|
|
199
202
|
*
|
|
200
|
-
* @example To create a bucket
|
|
203
|
+
* @example To create a bucket
|
|
201
204
|
* ```javascript
|
|
202
|
-
* // The following example creates a bucket.
|
|
205
|
+
* // The following example creates a bucket.
|
|
203
206
|
* const input = {
|
|
204
|
-
* "Bucket": "examplebucket"
|
|
205
|
-
* "CreateBucketConfiguration": {
|
|
206
|
-
* "LocationConstraint": "eu-west-1"
|
|
207
|
-
* }
|
|
207
|
+
* "Bucket": "examplebucket"
|
|
208
208
|
* };
|
|
209
209
|
* const command = new CreateBucketCommand(input);
|
|
210
210
|
* const response = await client.send(command);
|
|
211
211
|
* /* response ==
|
|
212
212
|
* {
|
|
213
|
-
* "Location": "
|
|
213
|
+
* "Location": "/examplebucket"
|
|
214
214
|
* }
|
|
215
215
|
* *\/
|
|
216
|
-
* // example id: to-create-a-bucket
|
|
216
|
+
* // example id: to-create-a-bucket--1472851826060
|
|
217
217
|
* ```
|
|
218
218
|
*
|
|
219
219
|
*/
|
|
@@ -83,28 +83,28 @@ export interface DeleteObjectCommandOutput extends DeleteObjectOutput, __Metadat
|
|
|
83
83
|
* @throws {@link S3ServiceException}
|
|
84
84
|
* <p>Base exception class for all service exceptions from S3 service.</p>
|
|
85
85
|
*
|
|
86
|
-
* @example To delete an object
|
|
86
|
+
* @example To delete an object (from a non-versioned bucket)
|
|
87
87
|
* ```javascript
|
|
88
|
-
* // The following example deletes an object from
|
|
88
|
+
* // The following example deletes an object from a non-versioned bucket.
|
|
89
89
|
* const input = {
|
|
90
|
-
* "Bucket": "
|
|
91
|
-
* "Key": "
|
|
90
|
+
* "Bucket": "ExampleBucket",
|
|
91
|
+
* "Key": "HappyFace.jpg"
|
|
92
92
|
* };
|
|
93
93
|
* const command = new DeleteObjectCommand(input);
|
|
94
94
|
* await client.send(command);
|
|
95
|
-
* // example id: to-delete-an-object-
|
|
95
|
+
* // example id: to-delete-an-object-from-a-non-versioned-bucket-1481588533089
|
|
96
96
|
* ```
|
|
97
97
|
*
|
|
98
|
-
* @example To delete an object
|
|
98
|
+
* @example To delete an object
|
|
99
99
|
* ```javascript
|
|
100
|
-
* // The following example deletes an object from
|
|
100
|
+
* // The following example deletes an object from an S3 bucket.
|
|
101
101
|
* const input = {
|
|
102
|
-
* "Bucket": "
|
|
103
|
-
* "Key": "
|
|
102
|
+
* "Bucket": "examplebucket",
|
|
103
|
+
* "Key": "objectkey.jpg"
|
|
104
104
|
* };
|
|
105
105
|
* const command = new DeleteObjectCommand(input);
|
|
106
106
|
* await client.send(command);
|
|
107
|
-
* // example id: to-delete-an-object-
|
|
107
|
+
* // example id: to-delete-an-object-1472850136595
|
|
108
108
|
* ```
|
|
109
109
|
*
|
|
110
110
|
*/
|