@aws-sdk/client-s3 3.53.1 → 3.55.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/CHANGELOG.md +24 -0
- package/dist-cjs/S3Client.js +18 -18
- package/dist-cjs/commands/AbortMultipartUploadCommand.js +4 -4
- package/dist-cjs/commands/CompleteMultipartUploadCommand.js +6 -6
- package/dist-cjs/commands/CopyObjectCommand.js +6 -6
- package/dist-cjs/commands/CreateBucketCommand.js +4 -4
- package/dist-cjs/commands/CreateMultipartUploadCommand.js +5 -5
- package/dist-cjs/commands/DeleteBucketAnalyticsConfigurationCommand.js +4 -4
- package/dist-cjs/commands/DeleteBucketCommand.js +3 -3
- package/dist-cjs/commands/DeleteBucketCorsCommand.js +4 -4
- package/dist-cjs/commands/DeleteBucketEncryptionCommand.js +4 -4
- package/dist-cjs/commands/DeleteBucketIntelligentTieringConfigurationCommand.js +4 -4
- package/dist-cjs/commands/DeleteBucketInventoryConfigurationCommand.js +4 -4
- package/dist-cjs/commands/DeleteBucketLifecycleCommand.js +4 -4
- package/dist-cjs/commands/DeleteBucketMetricsConfigurationCommand.js +4 -4
- package/dist-cjs/commands/DeleteBucketOwnershipControlsCommand.js +4 -4
- package/dist-cjs/commands/DeleteBucketPolicyCommand.js +4 -4
- package/dist-cjs/commands/DeleteBucketReplicationCommand.js +4 -4
- package/dist-cjs/commands/DeleteBucketTaggingCommand.js +4 -4
- package/dist-cjs/commands/DeleteBucketWebsiteCommand.js +4 -4
- package/dist-cjs/commands/DeleteObjectCommand.js +4 -4
- package/dist-cjs/commands/DeleteObjectTaggingCommand.js +4 -4
- package/dist-cjs/commands/DeleteObjectsCommand.js +5 -5
- package/dist-cjs/commands/DeletePublicAccessBlockCommand.js +4 -4
- package/dist-cjs/commands/GetBucketAccelerateConfigurationCommand.js +4 -4
- package/dist-cjs/commands/GetBucketAclCommand.js +4 -4
- package/dist-cjs/commands/GetBucketAnalyticsConfigurationCommand.js +4 -4
- package/dist-cjs/commands/GetBucketCorsCommand.js +4 -4
- package/dist-cjs/commands/GetBucketEncryptionCommand.js +4 -4
- package/dist-cjs/commands/GetBucketIntelligentTieringConfigurationCommand.js +4 -4
- package/dist-cjs/commands/GetBucketInventoryConfigurationCommand.js +4 -4
- package/dist-cjs/commands/GetBucketLifecycleConfigurationCommand.js +4 -4
- package/dist-cjs/commands/GetBucketLocationCommand.js +4 -4
- package/dist-cjs/commands/GetBucketLoggingCommand.js +4 -4
- package/dist-cjs/commands/GetBucketMetricsConfigurationCommand.js +4 -4
- package/dist-cjs/commands/GetBucketNotificationConfigurationCommand.js +4 -4
- package/dist-cjs/commands/GetBucketOwnershipControlsCommand.js +4 -4
- package/dist-cjs/commands/GetBucketPolicyCommand.js +4 -4
- package/dist-cjs/commands/GetBucketPolicyStatusCommand.js +4 -4
- package/dist-cjs/commands/GetBucketReplicationCommand.js +4 -4
- package/dist-cjs/commands/GetBucketRequestPaymentCommand.js +4 -4
- package/dist-cjs/commands/GetBucketTaggingCommand.js +4 -4
- package/dist-cjs/commands/GetBucketVersioningCommand.js +4 -4
- package/dist-cjs/commands/GetBucketWebsiteCommand.js +4 -4
- package/dist-cjs/commands/GetObjectAclCommand.js +4 -4
- package/dist-cjs/commands/GetObjectAttributesCommand.js +5 -5
- package/dist-cjs/commands/GetObjectCommand.js +6 -6
- package/dist-cjs/commands/GetObjectLegalHoldCommand.js +4 -4
- package/dist-cjs/commands/GetObjectLockConfigurationCommand.js +4 -4
- package/dist-cjs/commands/GetObjectRetentionCommand.js +4 -4
- package/dist-cjs/commands/GetObjectTaggingCommand.js +4 -4
- package/dist-cjs/commands/GetObjectTorrentCommand.js +4 -4
- package/dist-cjs/commands/GetPublicAccessBlockCommand.js +4 -4
- package/dist-cjs/commands/HeadBucketCommand.js +4 -4
- package/dist-cjs/commands/HeadObjectCommand.js +5 -5
- package/dist-cjs/commands/ListBucketAnalyticsConfigurationsCommand.js +4 -4
- package/dist-cjs/commands/ListBucketIntelligentTieringConfigurationsCommand.js +4 -4
- package/dist-cjs/commands/ListBucketInventoryConfigurationsCommand.js +4 -4
- package/dist-cjs/commands/ListBucketMetricsConfigurationsCommand.js +4 -4
- package/dist-cjs/commands/ListBucketsCommand.js +3 -3
- package/dist-cjs/commands/ListMultipartUploadsCommand.js +4 -4
- package/dist-cjs/commands/ListObjectVersionsCommand.js +4 -4
- package/dist-cjs/commands/ListObjectsCommand.js +4 -4
- package/dist-cjs/commands/ListObjectsV2Command.js +4 -4
- package/dist-cjs/commands/ListPartsCommand.js +5 -5
- package/dist-cjs/commands/PutBucketAccelerateConfigurationCommand.js +5 -5
- package/dist-cjs/commands/PutBucketAclCommand.js +5 -5
- package/dist-cjs/commands/PutBucketAnalyticsConfigurationCommand.js +4 -4
- package/dist-cjs/commands/PutBucketCorsCommand.js +5 -5
- package/dist-cjs/commands/PutBucketEncryptionCommand.js +5 -5
- package/dist-cjs/commands/PutBucketIntelligentTieringConfigurationCommand.js +4 -4
- package/dist-cjs/commands/PutBucketInventoryConfigurationCommand.js +4 -4
- package/dist-cjs/commands/PutBucketLifecycleConfigurationCommand.js +5 -5
- package/dist-cjs/commands/PutBucketLoggingCommand.js +5 -5
- package/dist-cjs/commands/PutBucketMetricsConfigurationCommand.js +4 -4
- package/dist-cjs/commands/PutBucketNotificationConfigurationCommand.js +4 -4
- package/dist-cjs/commands/PutBucketOwnershipControlsCommand.js +5 -5
- package/dist-cjs/commands/PutBucketPolicyCommand.js +5 -5
- package/dist-cjs/commands/PutBucketReplicationCommand.js +5 -5
- package/dist-cjs/commands/PutBucketRequestPaymentCommand.js +5 -5
- package/dist-cjs/commands/PutBucketTaggingCommand.js +5 -5
- package/dist-cjs/commands/PutBucketVersioningCommand.js +5 -5
- package/dist-cjs/commands/PutBucketWebsiteCommand.js +5 -5
- package/dist-cjs/commands/PutObjectAclCommand.js +5 -5
- package/dist-cjs/commands/PutObjectCommand.js +6 -6
- package/dist-cjs/commands/PutObjectLegalHoldCommand.js +5 -5
- package/dist-cjs/commands/PutObjectLockConfigurationCommand.js +5 -5
- package/dist-cjs/commands/PutObjectRetentionCommand.js +5 -5
- package/dist-cjs/commands/PutObjectTaggingCommand.js +5 -5
- package/dist-cjs/commands/PutPublicAccessBlockCommand.js +5 -5
- package/dist-cjs/commands/RestoreObjectCommand.js +5 -5
- package/dist-cjs/commands/SelectObjectContentCommand.js +5 -5
- package/dist-cjs/commands/UploadPartCommand.js +6 -6
- package/dist-cjs/commands/UploadPartCopyCommand.js +6 -6
- package/dist-cjs/commands/WriteGetObjectResponseCommand.js +3 -3
- package/dist-cjs/endpoints.js +1 -1
- package/dist-cjs/protocols/Aws_restXml.js +641 -641
- package/dist-cjs/runtimeConfig.browser.js +4 -4
- package/dist-cjs/runtimeConfig.js +10 -10
- package/dist-cjs/runtimeConfig.native.js +1 -1
- package/dist-cjs/waiters/waitForBucketExists.js +3 -3
- package/dist-cjs/waiters/waitForBucketNotExists.js +3 -3
- package/dist-cjs/waiters/waitForObjectExists.js +3 -3
- package/dist-cjs/waiters/waitForObjectNotExists.js +3 -3
- package/dist-es/S3.js +93 -93
- package/dist-es/pagination/ListObjectsV2Paginator.js +4 -4
- package/dist-es/pagination/ListPartsPaginator.js +4 -4
- package/dist-es/protocols/Aws_restXml.js +97 -97
- package/dist-types/S3Client.d.ts +2 -2
- package/dist-types/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/runtimeConfig.d.ts +1 -1
- package/dist-types/runtimeConfig.native.d.ts +3 -3
- package/dist-types/ts3.4/S3Client.d.ts +2 -2
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +3 -3
- package/package.json +50 -50
|
@@ -12,8 +12,8 @@ class GetObjectLegalHoldCommand extends smithy_client_1.Command {
|
|
|
12
12
|
this.input = input;
|
|
13
13
|
}
|
|
14
14
|
resolveMiddleware(clientStack, configuration, options) {
|
|
15
|
-
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
16
|
-
this.middlewareStack.use(middleware_bucket_endpoint_1.getBucketEndpointPlugin(configuration));
|
|
15
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
16
|
+
this.middlewareStack.use((0, middleware_bucket_endpoint_1.getBucketEndpointPlugin)(configuration));
|
|
17
17
|
const stack = clientStack.concat(this.middlewareStack);
|
|
18
18
|
const { logger } = configuration;
|
|
19
19
|
const clientName = "S3Client";
|
|
@@ -29,10 +29,10 @@ class GetObjectLegalHoldCommand extends smithy_client_1.Command {
|
|
|
29
29
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
30
30
|
}
|
|
31
31
|
serialize(input, context) {
|
|
32
|
-
return Aws_restXml_1.serializeAws_restXmlGetObjectLegalHoldCommand(input, context);
|
|
32
|
+
return (0, Aws_restXml_1.serializeAws_restXmlGetObjectLegalHoldCommand)(input, context);
|
|
33
33
|
}
|
|
34
34
|
deserialize(output, context) {
|
|
35
|
-
return Aws_restXml_1.deserializeAws_restXmlGetObjectLegalHoldCommand(output, context);
|
|
35
|
+
return (0, Aws_restXml_1.deserializeAws_restXmlGetObjectLegalHoldCommand)(output, context);
|
|
36
36
|
}
|
|
37
37
|
}
|
|
38
38
|
exports.GetObjectLegalHoldCommand = GetObjectLegalHoldCommand;
|
|
@@ -12,8 +12,8 @@ class GetObjectLockConfigurationCommand extends smithy_client_1.Command {
|
|
|
12
12
|
this.input = input;
|
|
13
13
|
}
|
|
14
14
|
resolveMiddleware(clientStack, configuration, options) {
|
|
15
|
-
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
16
|
-
this.middlewareStack.use(middleware_bucket_endpoint_1.getBucketEndpointPlugin(configuration));
|
|
15
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
16
|
+
this.middlewareStack.use((0, middleware_bucket_endpoint_1.getBucketEndpointPlugin)(configuration));
|
|
17
17
|
const stack = clientStack.concat(this.middlewareStack);
|
|
18
18
|
const { logger } = configuration;
|
|
19
19
|
const clientName = "S3Client";
|
|
@@ -29,10 +29,10 @@ class GetObjectLockConfigurationCommand extends smithy_client_1.Command {
|
|
|
29
29
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
30
30
|
}
|
|
31
31
|
serialize(input, context) {
|
|
32
|
-
return Aws_restXml_1.serializeAws_restXmlGetObjectLockConfigurationCommand(input, context);
|
|
32
|
+
return (0, Aws_restXml_1.serializeAws_restXmlGetObjectLockConfigurationCommand)(input, context);
|
|
33
33
|
}
|
|
34
34
|
deserialize(output, context) {
|
|
35
|
-
return Aws_restXml_1.deserializeAws_restXmlGetObjectLockConfigurationCommand(output, context);
|
|
35
|
+
return (0, Aws_restXml_1.deserializeAws_restXmlGetObjectLockConfigurationCommand)(output, context);
|
|
36
36
|
}
|
|
37
37
|
}
|
|
38
38
|
exports.GetObjectLockConfigurationCommand = GetObjectLockConfigurationCommand;
|
|
@@ -12,8 +12,8 @@ class GetObjectRetentionCommand extends smithy_client_1.Command {
|
|
|
12
12
|
this.input = input;
|
|
13
13
|
}
|
|
14
14
|
resolveMiddleware(clientStack, configuration, options) {
|
|
15
|
-
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
16
|
-
this.middlewareStack.use(middleware_bucket_endpoint_1.getBucketEndpointPlugin(configuration));
|
|
15
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
16
|
+
this.middlewareStack.use((0, middleware_bucket_endpoint_1.getBucketEndpointPlugin)(configuration));
|
|
17
17
|
const stack = clientStack.concat(this.middlewareStack);
|
|
18
18
|
const { logger } = configuration;
|
|
19
19
|
const clientName = "S3Client";
|
|
@@ -29,10 +29,10 @@ class GetObjectRetentionCommand extends smithy_client_1.Command {
|
|
|
29
29
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
30
30
|
}
|
|
31
31
|
serialize(input, context) {
|
|
32
|
-
return Aws_restXml_1.serializeAws_restXmlGetObjectRetentionCommand(input, context);
|
|
32
|
+
return (0, Aws_restXml_1.serializeAws_restXmlGetObjectRetentionCommand)(input, context);
|
|
33
33
|
}
|
|
34
34
|
deserialize(output, context) {
|
|
35
|
-
return Aws_restXml_1.deserializeAws_restXmlGetObjectRetentionCommand(output, context);
|
|
35
|
+
return (0, Aws_restXml_1.deserializeAws_restXmlGetObjectRetentionCommand)(output, context);
|
|
36
36
|
}
|
|
37
37
|
}
|
|
38
38
|
exports.GetObjectRetentionCommand = GetObjectRetentionCommand;
|
|
@@ -12,8 +12,8 @@ class GetObjectTaggingCommand extends smithy_client_1.Command {
|
|
|
12
12
|
this.input = input;
|
|
13
13
|
}
|
|
14
14
|
resolveMiddleware(clientStack, configuration, options) {
|
|
15
|
-
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
16
|
-
this.middlewareStack.use(middleware_bucket_endpoint_1.getBucketEndpointPlugin(configuration));
|
|
15
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
16
|
+
this.middlewareStack.use((0, middleware_bucket_endpoint_1.getBucketEndpointPlugin)(configuration));
|
|
17
17
|
const stack = clientStack.concat(this.middlewareStack);
|
|
18
18
|
const { logger } = configuration;
|
|
19
19
|
const clientName = "S3Client";
|
|
@@ -29,10 +29,10 @@ class GetObjectTaggingCommand extends smithy_client_1.Command {
|
|
|
29
29
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
30
30
|
}
|
|
31
31
|
serialize(input, context) {
|
|
32
|
-
return Aws_restXml_1.serializeAws_restXmlGetObjectTaggingCommand(input, context);
|
|
32
|
+
return (0, Aws_restXml_1.serializeAws_restXmlGetObjectTaggingCommand)(input, context);
|
|
33
33
|
}
|
|
34
34
|
deserialize(output, context) {
|
|
35
|
-
return Aws_restXml_1.deserializeAws_restXmlGetObjectTaggingCommand(output, context);
|
|
35
|
+
return (0, Aws_restXml_1.deserializeAws_restXmlGetObjectTaggingCommand)(output, context);
|
|
36
36
|
}
|
|
37
37
|
}
|
|
38
38
|
exports.GetObjectTaggingCommand = GetObjectTaggingCommand;
|
|
@@ -12,8 +12,8 @@ class GetObjectTorrentCommand extends smithy_client_1.Command {
|
|
|
12
12
|
this.input = input;
|
|
13
13
|
}
|
|
14
14
|
resolveMiddleware(clientStack, configuration, options) {
|
|
15
|
-
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
16
|
-
this.middlewareStack.use(middleware_bucket_endpoint_1.getBucketEndpointPlugin(configuration));
|
|
15
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
16
|
+
this.middlewareStack.use((0, middleware_bucket_endpoint_1.getBucketEndpointPlugin)(configuration));
|
|
17
17
|
const stack = clientStack.concat(this.middlewareStack);
|
|
18
18
|
const { logger } = configuration;
|
|
19
19
|
const clientName = "S3Client";
|
|
@@ -29,10 +29,10 @@ class GetObjectTorrentCommand extends smithy_client_1.Command {
|
|
|
29
29
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
30
30
|
}
|
|
31
31
|
serialize(input, context) {
|
|
32
|
-
return Aws_restXml_1.serializeAws_restXmlGetObjectTorrentCommand(input, context);
|
|
32
|
+
return (0, Aws_restXml_1.serializeAws_restXmlGetObjectTorrentCommand)(input, context);
|
|
33
33
|
}
|
|
34
34
|
deserialize(output, context) {
|
|
35
|
-
return Aws_restXml_1.deserializeAws_restXmlGetObjectTorrentCommand(output, context);
|
|
35
|
+
return (0, Aws_restXml_1.deserializeAws_restXmlGetObjectTorrentCommand)(output, context);
|
|
36
36
|
}
|
|
37
37
|
}
|
|
38
38
|
exports.GetObjectTorrentCommand = GetObjectTorrentCommand;
|
|
@@ -12,8 +12,8 @@ class GetPublicAccessBlockCommand extends smithy_client_1.Command {
|
|
|
12
12
|
this.input = input;
|
|
13
13
|
}
|
|
14
14
|
resolveMiddleware(clientStack, configuration, options) {
|
|
15
|
-
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
16
|
-
this.middlewareStack.use(middleware_bucket_endpoint_1.getBucketEndpointPlugin(configuration));
|
|
15
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
16
|
+
this.middlewareStack.use((0, middleware_bucket_endpoint_1.getBucketEndpointPlugin)(configuration));
|
|
17
17
|
const stack = clientStack.concat(this.middlewareStack);
|
|
18
18
|
const { logger } = configuration;
|
|
19
19
|
const clientName = "S3Client";
|
|
@@ -29,10 +29,10 @@ class GetPublicAccessBlockCommand extends smithy_client_1.Command {
|
|
|
29
29
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
30
30
|
}
|
|
31
31
|
serialize(input, context) {
|
|
32
|
-
return Aws_restXml_1.serializeAws_restXmlGetPublicAccessBlockCommand(input, context);
|
|
32
|
+
return (0, Aws_restXml_1.serializeAws_restXmlGetPublicAccessBlockCommand)(input, context);
|
|
33
33
|
}
|
|
34
34
|
deserialize(output, context) {
|
|
35
|
-
return Aws_restXml_1.deserializeAws_restXmlGetPublicAccessBlockCommand(output, context);
|
|
35
|
+
return (0, Aws_restXml_1.deserializeAws_restXmlGetPublicAccessBlockCommand)(output, context);
|
|
36
36
|
}
|
|
37
37
|
}
|
|
38
38
|
exports.GetPublicAccessBlockCommand = GetPublicAccessBlockCommand;
|
|
@@ -12,8 +12,8 @@ class HeadBucketCommand extends smithy_client_1.Command {
|
|
|
12
12
|
this.input = input;
|
|
13
13
|
}
|
|
14
14
|
resolveMiddleware(clientStack, configuration, options) {
|
|
15
|
-
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
16
|
-
this.middlewareStack.use(middleware_bucket_endpoint_1.getBucketEndpointPlugin(configuration));
|
|
15
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
16
|
+
this.middlewareStack.use((0, middleware_bucket_endpoint_1.getBucketEndpointPlugin)(configuration));
|
|
17
17
|
const stack = clientStack.concat(this.middlewareStack);
|
|
18
18
|
const { logger } = configuration;
|
|
19
19
|
const clientName = "S3Client";
|
|
@@ -29,10 +29,10 @@ class HeadBucketCommand extends smithy_client_1.Command {
|
|
|
29
29
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
30
30
|
}
|
|
31
31
|
serialize(input, context) {
|
|
32
|
-
return Aws_restXml_1.serializeAws_restXmlHeadBucketCommand(input, context);
|
|
32
|
+
return (0, Aws_restXml_1.serializeAws_restXmlHeadBucketCommand)(input, context);
|
|
33
33
|
}
|
|
34
34
|
deserialize(output, context) {
|
|
35
|
-
return Aws_restXml_1.deserializeAws_restXmlHeadBucketCommand(output, context);
|
|
35
|
+
return (0, Aws_restXml_1.deserializeAws_restXmlHeadBucketCommand)(output, context);
|
|
36
36
|
}
|
|
37
37
|
}
|
|
38
38
|
exports.HeadBucketCommand = HeadBucketCommand;
|
|
@@ -13,9 +13,9 @@ class HeadObjectCommand extends smithy_client_1.Command {
|
|
|
13
13
|
this.input = input;
|
|
14
14
|
}
|
|
15
15
|
resolveMiddleware(clientStack, configuration, options) {
|
|
16
|
-
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
17
|
-
this.middlewareStack.use(middleware_ssec_1.getSsecPlugin(configuration));
|
|
18
|
-
this.middlewareStack.use(middleware_bucket_endpoint_1.getBucketEndpointPlugin(configuration));
|
|
16
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
17
|
+
this.middlewareStack.use((0, middleware_ssec_1.getSsecPlugin)(configuration));
|
|
18
|
+
this.middlewareStack.use((0, middleware_bucket_endpoint_1.getBucketEndpointPlugin)(configuration));
|
|
19
19
|
const stack = clientStack.concat(this.middlewareStack);
|
|
20
20
|
const { logger } = configuration;
|
|
21
21
|
const clientName = "S3Client";
|
|
@@ -31,10 +31,10 @@ class HeadObjectCommand extends smithy_client_1.Command {
|
|
|
31
31
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
32
32
|
}
|
|
33
33
|
serialize(input, context) {
|
|
34
|
-
return Aws_restXml_1.serializeAws_restXmlHeadObjectCommand(input, context);
|
|
34
|
+
return (0, Aws_restXml_1.serializeAws_restXmlHeadObjectCommand)(input, context);
|
|
35
35
|
}
|
|
36
36
|
deserialize(output, context) {
|
|
37
|
-
return Aws_restXml_1.deserializeAws_restXmlHeadObjectCommand(output, context);
|
|
37
|
+
return (0, Aws_restXml_1.deserializeAws_restXmlHeadObjectCommand)(output, context);
|
|
38
38
|
}
|
|
39
39
|
}
|
|
40
40
|
exports.HeadObjectCommand = HeadObjectCommand;
|
|
@@ -12,8 +12,8 @@ class ListBucketAnalyticsConfigurationsCommand extends smithy_client_1.Command {
|
|
|
12
12
|
this.input = input;
|
|
13
13
|
}
|
|
14
14
|
resolveMiddleware(clientStack, configuration, options) {
|
|
15
|
-
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
16
|
-
this.middlewareStack.use(middleware_bucket_endpoint_1.getBucketEndpointPlugin(configuration));
|
|
15
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
16
|
+
this.middlewareStack.use((0, middleware_bucket_endpoint_1.getBucketEndpointPlugin)(configuration));
|
|
17
17
|
const stack = clientStack.concat(this.middlewareStack);
|
|
18
18
|
const { logger } = configuration;
|
|
19
19
|
const clientName = "S3Client";
|
|
@@ -29,10 +29,10 @@ class ListBucketAnalyticsConfigurationsCommand extends smithy_client_1.Command {
|
|
|
29
29
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
30
30
|
}
|
|
31
31
|
serialize(input, context) {
|
|
32
|
-
return Aws_restXml_1.serializeAws_restXmlListBucketAnalyticsConfigurationsCommand(input, context);
|
|
32
|
+
return (0, Aws_restXml_1.serializeAws_restXmlListBucketAnalyticsConfigurationsCommand)(input, context);
|
|
33
33
|
}
|
|
34
34
|
deserialize(output, context) {
|
|
35
|
-
return Aws_restXml_1.deserializeAws_restXmlListBucketAnalyticsConfigurationsCommand(output, context);
|
|
35
|
+
return (0, Aws_restXml_1.deserializeAws_restXmlListBucketAnalyticsConfigurationsCommand)(output, context);
|
|
36
36
|
}
|
|
37
37
|
}
|
|
38
38
|
exports.ListBucketAnalyticsConfigurationsCommand = ListBucketAnalyticsConfigurationsCommand;
|
|
@@ -12,8 +12,8 @@ class ListBucketIntelligentTieringConfigurationsCommand extends smithy_client_1.
|
|
|
12
12
|
this.input = input;
|
|
13
13
|
}
|
|
14
14
|
resolveMiddleware(clientStack, configuration, options) {
|
|
15
|
-
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
16
|
-
this.middlewareStack.use(middleware_bucket_endpoint_1.getBucketEndpointPlugin(configuration));
|
|
15
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
16
|
+
this.middlewareStack.use((0, middleware_bucket_endpoint_1.getBucketEndpointPlugin)(configuration));
|
|
17
17
|
const stack = clientStack.concat(this.middlewareStack);
|
|
18
18
|
const { logger } = configuration;
|
|
19
19
|
const clientName = "S3Client";
|
|
@@ -29,10 +29,10 @@ class ListBucketIntelligentTieringConfigurationsCommand extends smithy_client_1.
|
|
|
29
29
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
30
30
|
}
|
|
31
31
|
serialize(input, context) {
|
|
32
|
-
return Aws_restXml_1.serializeAws_restXmlListBucketIntelligentTieringConfigurationsCommand(input, context);
|
|
32
|
+
return (0, Aws_restXml_1.serializeAws_restXmlListBucketIntelligentTieringConfigurationsCommand)(input, context);
|
|
33
33
|
}
|
|
34
34
|
deserialize(output, context) {
|
|
35
|
-
return Aws_restXml_1.deserializeAws_restXmlListBucketIntelligentTieringConfigurationsCommand(output, context);
|
|
35
|
+
return (0, Aws_restXml_1.deserializeAws_restXmlListBucketIntelligentTieringConfigurationsCommand)(output, context);
|
|
36
36
|
}
|
|
37
37
|
}
|
|
38
38
|
exports.ListBucketIntelligentTieringConfigurationsCommand = ListBucketIntelligentTieringConfigurationsCommand;
|
|
@@ -12,8 +12,8 @@ class ListBucketInventoryConfigurationsCommand extends smithy_client_1.Command {
|
|
|
12
12
|
this.input = input;
|
|
13
13
|
}
|
|
14
14
|
resolveMiddleware(clientStack, configuration, options) {
|
|
15
|
-
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
16
|
-
this.middlewareStack.use(middleware_bucket_endpoint_1.getBucketEndpointPlugin(configuration));
|
|
15
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
16
|
+
this.middlewareStack.use((0, middleware_bucket_endpoint_1.getBucketEndpointPlugin)(configuration));
|
|
17
17
|
const stack = clientStack.concat(this.middlewareStack);
|
|
18
18
|
const { logger } = configuration;
|
|
19
19
|
const clientName = "S3Client";
|
|
@@ -29,10 +29,10 @@ class ListBucketInventoryConfigurationsCommand extends smithy_client_1.Command {
|
|
|
29
29
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
30
30
|
}
|
|
31
31
|
serialize(input, context) {
|
|
32
|
-
return Aws_restXml_1.serializeAws_restXmlListBucketInventoryConfigurationsCommand(input, context);
|
|
32
|
+
return (0, Aws_restXml_1.serializeAws_restXmlListBucketInventoryConfigurationsCommand)(input, context);
|
|
33
33
|
}
|
|
34
34
|
deserialize(output, context) {
|
|
35
|
-
return Aws_restXml_1.deserializeAws_restXmlListBucketInventoryConfigurationsCommand(output, context);
|
|
35
|
+
return (0, Aws_restXml_1.deserializeAws_restXmlListBucketInventoryConfigurationsCommand)(output, context);
|
|
36
36
|
}
|
|
37
37
|
}
|
|
38
38
|
exports.ListBucketInventoryConfigurationsCommand = ListBucketInventoryConfigurationsCommand;
|
|
@@ -12,8 +12,8 @@ class ListBucketMetricsConfigurationsCommand extends smithy_client_1.Command {
|
|
|
12
12
|
this.input = input;
|
|
13
13
|
}
|
|
14
14
|
resolveMiddleware(clientStack, configuration, options) {
|
|
15
|
-
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
16
|
-
this.middlewareStack.use(middleware_bucket_endpoint_1.getBucketEndpointPlugin(configuration));
|
|
15
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
16
|
+
this.middlewareStack.use((0, middleware_bucket_endpoint_1.getBucketEndpointPlugin)(configuration));
|
|
17
17
|
const stack = clientStack.concat(this.middlewareStack);
|
|
18
18
|
const { logger } = configuration;
|
|
19
19
|
const clientName = "S3Client";
|
|
@@ -29,10 +29,10 @@ class ListBucketMetricsConfigurationsCommand extends smithy_client_1.Command {
|
|
|
29
29
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
30
30
|
}
|
|
31
31
|
serialize(input, context) {
|
|
32
|
-
return Aws_restXml_1.serializeAws_restXmlListBucketMetricsConfigurationsCommand(input, context);
|
|
32
|
+
return (0, Aws_restXml_1.serializeAws_restXmlListBucketMetricsConfigurationsCommand)(input, context);
|
|
33
33
|
}
|
|
34
34
|
deserialize(output, context) {
|
|
35
|
-
return Aws_restXml_1.deserializeAws_restXmlListBucketMetricsConfigurationsCommand(output, context);
|
|
35
|
+
return (0, Aws_restXml_1.deserializeAws_restXmlListBucketMetricsConfigurationsCommand)(output, context);
|
|
36
36
|
}
|
|
37
37
|
}
|
|
38
38
|
exports.ListBucketMetricsConfigurationsCommand = ListBucketMetricsConfigurationsCommand;
|
|
@@ -11,7 +11,7 @@ class ListBucketsCommand extends smithy_client_1.Command {
|
|
|
11
11
|
this.input = input;
|
|
12
12
|
}
|
|
13
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
-
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
14
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
15
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
16
16
|
const { logger } = configuration;
|
|
17
17
|
const clientName = "S3Client";
|
|
@@ -27,10 +27,10 @@ class ListBucketsCommand extends smithy_client_1.Command {
|
|
|
27
27
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
28
|
}
|
|
29
29
|
serialize(input, context) {
|
|
30
|
-
return Aws_restXml_1.serializeAws_restXmlListBucketsCommand(input, context);
|
|
30
|
+
return (0, Aws_restXml_1.serializeAws_restXmlListBucketsCommand)(input, context);
|
|
31
31
|
}
|
|
32
32
|
deserialize(output, context) {
|
|
33
|
-
return Aws_restXml_1.deserializeAws_restXmlListBucketsCommand(output, context);
|
|
33
|
+
return (0, Aws_restXml_1.deserializeAws_restXmlListBucketsCommand)(output, context);
|
|
34
34
|
}
|
|
35
35
|
}
|
|
36
36
|
exports.ListBucketsCommand = ListBucketsCommand;
|
|
@@ -12,8 +12,8 @@ class ListMultipartUploadsCommand extends smithy_client_1.Command {
|
|
|
12
12
|
this.input = input;
|
|
13
13
|
}
|
|
14
14
|
resolveMiddleware(clientStack, configuration, options) {
|
|
15
|
-
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
16
|
-
this.middlewareStack.use(middleware_bucket_endpoint_1.getBucketEndpointPlugin(configuration));
|
|
15
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
16
|
+
this.middlewareStack.use((0, middleware_bucket_endpoint_1.getBucketEndpointPlugin)(configuration));
|
|
17
17
|
const stack = clientStack.concat(this.middlewareStack);
|
|
18
18
|
const { logger } = configuration;
|
|
19
19
|
const clientName = "S3Client";
|
|
@@ -29,10 +29,10 @@ class ListMultipartUploadsCommand extends smithy_client_1.Command {
|
|
|
29
29
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
30
30
|
}
|
|
31
31
|
serialize(input, context) {
|
|
32
|
-
return Aws_restXml_1.serializeAws_restXmlListMultipartUploadsCommand(input, context);
|
|
32
|
+
return (0, Aws_restXml_1.serializeAws_restXmlListMultipartUploadsCommand)(input, context);
|
|
33
33
|
}
|
|
34
34
|
deserialize(output, context) {
|
|
35
|
-
return Aws_restXml_1.deserializeAws_restXmlListMultipartUploadsCommand(output, context);
|
|
35
|
+
return (0, Aws_restXml_1.deserializeAws_restXmlListMultipartUploadsCommand)(output, context);
|
|
36
36
|
}
|
|
37
37
|
}
|
|
38
38
|
exports.ListMultipartUploadsCommand = ListMultipartUploadsCommand;
|
|
@@ -12,8 +12,8 @@ class ListObjectVersionsCommand extends smithy_client_1.Command {
|
|
|
12
12
|
this.input = input;
|
|
13
13
|
}
|
|
14
14
|
resolveMiddleware(clientStack, configuration, options) {
|
|
15
|
-
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
16
|
-
this.middlewareStack.use(middleware_bucket_endpoint_1.getBucketEndpointPlugin(configuration));
|
|
15
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
16
|
+
this.middlewareStack.use((0, middleware_bucket_endpoint_1.getBucketEndpointPlugin)(configuration));
|
|
17
17
|
const stack = clientStack.concat(this.middlewareStack);
|
|
18
18
|
const { logger } = configuration;
|
|
19
19
|
const clientName = "S3Client";
|
|
@@ -29,10 +29,10 @@ class ListObjectVersionsCommand extends smithy_client_1.Command {
|
|
|
29
29
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
30
30
|
}
|
|
31
31
|
serialize(input, context) {
|
|
32
|
-
return Aws_restXml_1.serializeAws_restXmlListObjectVersionsCommand(input, context);
|
|
32
|
+
return (0, Aws_restXml_1.serializeAws_restXmlListObjectVersionsCommand)(input, context);
|
|
33
33
|
}
|
|
34
34
|
deserialize(output, context) {
|
|
35
|
-
return Aws_restXml_1.deserializeAws_restXmlListObjectVersionsCommand(output, context);
|
|
35
|
+
return (0, Aws_restXml_1.deserializeAws_restXmlListObjectVersionsCommand)(output, context);
|
|
36
36
|
}
|
|
37
37
|
}
|
|
38
38
|
exports.ListObjectVersionsCommand = ListObjectVersionsCommand;
|
|
@@ -12,8 +12,8 @@ class ListObjectsCommand extends smithy_client_1.Command {
|
|
|
12
12
|
this.input = input;
|
|
13
13
|
}
|
|
14
14
|
resolveMiddleware(clientStack, configuration, options) {
|
|
15
|
-
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
16
|
-
this.middlewareStack.use(middleware_bucket_endpoint_1.getBucketEndpointPlugin(configuration));
|
|
15
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
16
|
+
this.middlewareStack.use((0, middleware_bucket_endpoint_1.getBucketEndpointPlugin)(configuration));
|
|
17
17
|
const stack = clientStack.concat(this.middlewareStack);
|
|
18
18
|
const { logger } = configuration;
|
|
19
19
|
const clientName = "S3Client";
|
|
@@ -29,10 +29,10 @@ class ListObjectsCommand extends smithy_client_1.Command {
|
|
|
29
29
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
30
30
|
}
|
|
31
31
|
serialize(input, context) {
|
|
32
|
-
return Aws_restXml_1.serializeAws_restXmlListObjectsCommand(input, context);
|
|
32
|
+
return (0, Aws_restXml_1.serializeAws_restXmlListObjectsCommand)(input, context);
|
|
33
33
|
}
|
|
34
34
|
deserialize(output, context) {
|
|
35
|
-
return Aws_restXml_1.deserializeAws_restXmlListObjectsCommand(output, context);
|
|
35
|
+
return (0, Aws_restXml_1.deserializeAws_restXmlListObjectsCommand)(output, context);
|
|
36
36
|
}
|
|
37
37
|
}
|
|
38
38
|
exports.ListObjectsCommand = ListObjectsCommand;
|
|
@@ -12,8 +12,8 @@ class ListObjectsV2Command extends smithy_client_1.Command {
|
|
|
12
12
|
this.input = input;
|
|
13
13
|
}
|
|
14
14
|
resolveMiddleware(clientStack, configuration, options) {
|
|
15
|
-
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
16
|
-
this.middlewareStack.use(middleware_bucket_endpoint_1.getBucketEndpointPlugin(configuration));
|
|
15
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
16
|
+
this.middlewareStack.use((0, middleware_bucket_endpoint_1.getBucketEndpointPlugin)(configuration));
|
|
17
17
|
const stack = clientStack.concat(this.middlewareStack);
|
|
18
18
|
const { logger } = configuration;
|
|
19
19
|
const clientName = "S3Client";
|
|
@@ -29,10 +29,10 @@ class ListObjectsV2Command extends smithy_client_1.Command {
|
|
|
29
29
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
30
30
|
}
|
|
31
31
|
serialize(input, context) {
|
|
32
|
-
return Aws_restXml_1.serializeAws_restXmlListObjectsV2Command(input, context);
|
|
32
|
+
return (0, Aws_restXml_1.serializeAws_restXmlListObjectsV2Command)(input, context);
|
|
33
33
|
}
|
|
34
34
|
deserialize(output, context) {
|
|
35
|
-
return Aws_restXml_1.deserializeAws_restXmlListObjectsV2Command(output, context);
|
|
35
|
+
return (0, Aws_restXml_1.deserializeAws_restXmlListObjectsV2Command)(output, context);
|
|
36
36
|
}
|
|
37
37
|
}
|
|
38
38
|
exports.ListObjectsV2Command = ListObjectsV2Command;
|
|
@@ -13,9 +13,9 @@ class ListPartsCommand extends smithy_client_1.Command {
|
|
|
13
13
|
this.input = input;
|
|
14
14
|
}
|
|
15
15
|
resolveMiddleware(clientStack, configuration, options) {
|
|
16
|
-
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
17
|
-
this.middlewareStack.use(middleware_ssec_1.getSsecPlugin(configuration));
|
|
18
|
-
this.middlewareStack.use(middleware_bucket_endpoint_1.getBucketEndpointPlugin(configuration));
|
|
16
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
17
|
+
this.middlewareStack.use((0, middleware_ssec_1.getSsecPlugin)(configuration));
|
|
18
|
+
this.middlewareStack.use((0, middleware_bucket_endpoint_1.getBucketEndpointPlugin)(configuration));
|
|
19
19
|
const stack = clientStack.concat(this.middlewareStack);
|
|
20
20
|
const { logger } = configuration;
|
|
21
21
|
const clientName = "S3Client";
|
|
@@ -31,10 +31,10 @@ class ListPartsCommand extends smithy_client_1.Command {
|
|
|
31
31
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
32
32
|
}
|
|
33
33
|
serialize(input, context) {
|
|
34
|
-
return Aws_restXml_1.serializeAws_restXmlListPartsCommand(input, context);
|
|
34
|
+
return (0, Aws_restXml_1.serializeAws_restXmlListPartsCommand)(input, context);
|
|
35
35
|
}
|
|
36
36
|
deserialize(output, context) {
|
|
37
|
-
return Aws_restXml_1.deserializeAws_restXmlListPartsCommand(output, context);
|
|
37
|
+
return (0, Aws_restXml_1.deserializeAws_restXmlListPartsCommand)(output, context);
|
|
38
38
|
}
|
|
39
39
|
}
|
|
40
40
|
exports.ListPartsCommand = ListPartsCommand;
|
|
@@ -13,9 +13,9 @@ class PutBucketAccelerateConfigurationCommand extends smithy_client_1.Command {
|
|
|
13
13
|
this.input = input;
|
|
14
14
|
}
|
|
15
15
|
resolveMiddleware(clientStack, configuration, options) {
|
|
16
|
-
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
17
|
-
this.middlewareStack.use(middleware_bucket_endpoint_1.getBucketEndpointPlugin(configuration));
|
|
18
|
-
this.middlewareStack.use(middleware_flexible_checksums_1.getFlexibleChecksumsPlugin(configuration, {
|
|
16
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
17
|
+
this.middlewareStack.use((0, middleware_bucket_endpoint_1.getBucketEndpointPlugin)(configuration));
|
|
18
|
+
this.middlewareStack.use((0, middleware_flexible_checksums_1.getFlexibleChecksumsPlugin)(configuration, {
|
|
19
19
|
input: this.input,
|
|
20
20
|
requestAlgorithmMember: "ChecksumAlgorithm",
|
|
21
21
|
requestChecksumRequired: false,
|
|
@@ -35,10 +35,10 @@ class PutBucketAccelerateConfigurationCommand extends smithy_client_1.Command {
|
|
|
35
35
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
36
36
|
}
|
|
37
37
|
serialize(input, context) {
|
|
38
|
-
return Aws_restXml_1.serializeAws_restXmlPutBucketAccelerateConfigurationCommand(input, context);
|
|
38
|
+
return (0, Aws_restXml_1.serializeAws_restXmlPutBucketAccelerateConfigurationCommand)(input, context);
|
|
39
39
|
}
|
|
40
40
|
deserialize(output, context) {
|
|
41
|
-
return Aws_restXml_1.deserializeAws_restXmlPutBucketAccelerateConfigurationCommand(output, context);
|
|
41
|
+
return (0, Aws_restXml_1.deserializeAws_restXmlPutBucketAccelerateConfigurationCommand)(output, context);
|
|
42
42
|
}
|
|
43
43
|
}
|
|
44
44
|
exports.PutBucketAccelerateConfigurationCommand = PutBucketAccelerateConfigurationCommand;
|
|
@@ -13,9 +13,9 @@ class PutBucketAclCommand extends smithy_client_1.Command {
|
|
|
13
13
|
this.input = input;
|
|
14
14
|
}
|
|
15
15
|
resolveMiddleware(clientStack, configuration, options) {
|
|
16
|
-
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
17
|
-
this.middlewareStack.use(middleware_bucket_endpoint_1.getBucketEndpointPlugin(configuration));
|
|
18
|
-
this.middlewareStack.use(middleware_flexible_checksums_1.getFlexibleChecksumsPlugin(configuration, {
|
|
16
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
17
|
+
this.middlewareStack.use((0, middleware_bucket_endpoint_1.getBucketEndpointPlugin)(configuration));
|
|
18
|
+
this.middlewareStack.use((0, middleware_flexible_checksums_1.getFlexibleChecksumsPlugin)(configuration, {
|
|
19
19
|
input: this.input,
|
|
20
20
|
requestAlgorithmMember: "ChecksumAlgorithm",
|
|
21
21
|
requestChecksumRequired: true,
|
|
@@ -35,10 +35,10 @@ class PutBucketAclCommand extends smithy_client_1.Command {
|
|
|
35
35
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
36
36
|
}
|
|
37
37
|
serialize(input, context) {
|
|
38
|
-
return Aws_restXml_1.serializeAws_restXmlPutBucketAclCommand(input, context);
|
|
38
|
+
return (0, Aws_restXml_1.serializeAws_restXmlPutBucketAclCommand)(input, context);
|
|
39
39
|
}
|
|
40
40
|
deserialize(output, context) {
|
|
41
|
-
return Aws_restXml_1.deserializeAws_restXmlPutBucketAclCommand(output, context);
|
|
41
|
+
return (0, Aws_restXml_1.deserializeAws_restXmlPutBucketAclCommand)(output, context);
|
|
42
42
|
}
|
|
43
43
|
}
|
|
44
44
|
exports.PutBucketAclCommand = PutBucketAclCommand;
|
|
@@ -12,8 +12,8 @@ class PutBucketAnalyticsConfigurationCommand extends smithy_client_1.Command {
|
|
|
12
12
|
this.input = input;
|
|
13
13
|
}
|
|
14
14
|
resolveMiddleware(clientStack, configuration, options) {
|
|
15
|
-
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
16
|
-
this.middlewareStack.use(middleware_bucket_endpoint_1.getBucketEndpointPlugin(configuration));
|
|
15
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
16
|
+
this.middlewareStack.use((0, middleware_bucket_endpoint_1.getBucketEndpointPlugin)(configuration));
|
|
17
17
|
const stack = clientStack.concat(this.middlewareStack);
|
|
18
18
|
const { logger } = configuration;
|
|
19
19
|
const clientName = "S3Client";
|
|
@@ -29,10 +29,10 @@ class PutBucketAnalyticsConfigurationCommand extends smithy_client_1.Command {
|
|
|
29
29
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
30
30
|
}
|
|
31
31
|
serialize(input, context) {
|
|
32
|
-
return Aws_restXml_1.serializeAws_restXmlPutBucketAnalyticsConfigurationCommand(input, context);
|
|
32
|
+
return (0, Aws_restXml_1.serializeAws_restXmlPutBucketAnalyticsConfigurationCommand)(input, context);
|
|
33
33
|
}
|
|
34
34
|
deserialize(output, context) {
|
|
35
|
-
return Aws_restXml_1.deserializeAws_restXmlPutBucketAnalyticsConfigurationCommand(output, context);
|
|
35
|
+
return (0, Aws_restXml_1.deserializeAws_restXmlPutBucketAnalyticsConfigurationCommand)(output, context);
|
|
36
36
|
}
|
|
37
37
|
}
|
|
38
38
|
exports.PutBucketAnalyticsConfigurationCommand = PutBucketAnalyticsConfigurationCommand;
|
|
@@ -13,9 +13,9 @@ class PutBucketCorsCommand extends smithy_client_1.Command {
|
|
|
13
13
|
this.input = input;
|
|
14
14
|
}
|
|
15
15
|
resolveMiddleware(clientStack, configuration, options) {
|
|
16
|
-
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
17
|
-
this.middlewareStack.use(middleware_bucket_endpoint_1.getBucketEndpointPlugin(configuration));
|
|
18
|
-
this.middlewareStack.use(middleware_flexible_checksums_1.getFlexibleChecksumsPlugin(configuration, {
|
|
16
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
17
|
+
this.middlewareStack.use((0, middleware_bucket_endpoint_1.getBucketEndpointPlugin)(configuration));
|
|
18
|
+
this.middlewareStack.use((0, middleware_flexible_checksums_1.getFlexibleChecksumsPlugin)(configuration, {
|
|
19
19
|
input: this.input,
|
|
20
20
|
requestAlgorithmMember: "ChecksumAlgorithm",
|
|
21
21
|
requestChecksumRequired: true,
|
|
@@ -35,10 +35,10 @@ class PutBucketCorsCommand extends smithy_client_1.Command {
|
|
|
35
35
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
36
36
|
}
|
|
37
37
|
serialize(input, context) {
|
|
38
|
-
return Aws_restXml_1.serializeAws_restXmlPutBucketCorsCommand(input, context);
|
|
38
|
+
return (0, Aws_restXml_1.serializeAws_restXmlPutBucketCorsCommand)(input, context);
|
|
39
39
|
}
|
|
40
40
|
deserialize(output, context) {
|
|
41
|
-
return Aws_restXml_1.deserializeAws_restXmlPutBucketCorsCommand(output, context);
|
|
41
|
+
return (0, Aws_restXml_1.deserializeAws_restXmlPutBucketCorsCommand)(output, context);
|
|
42
42
|
}
|
|
43
43
|
}
|
|
44
44
|
exports.PutBucketCorsCommand = PutBucketCorsCommand;
|
|
@@ -13,9 +13,9 @@ class PutBucketEncryptionCommand extends smithy_client_1.Command {
|
|
|
13
13
|
this.input = input;
|
|
14
14
|
}
|
|
15
15
|
resolveMiddleware(clientStack, configuration, options) {
|
|
16
|
-
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
17
|
-
this.middlewareStack.use(middleware_bucket_endpoint_1.getBucketEndpointPlugin(configuration));
|
|
18
|
-
this.middlewareStack.use(middleware_flexible_checksums_1.getFlexibleChecksumsPlugin(configuration, {
|
|
16
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
17
|
+
this.middlewareStack.use((0, middleware_bucket_endpoint_1.getBucketEndpointPlugin)(configuration));
|
|
18
|
+
this.middlewareStack.use((0, middleware_flexible_checksums_1.getFlexibleChecksumsPlugin)(configuration, {
|
|
19
19
|
input: this.input,
|
|
20
20
|
requestAlgorithmMember: "ChecksumAlgorithm",
|
|
21
21
|
requestChecksumRequired: true,
|
|
@@ -35,10 +35,10 @@ class PutBucketEncryptionCommand extends smithy_client_1.Command {
|
|
|
35
35
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
36
36
|
}
|
|
37
37
|
serialize(input, context) {
|
|
38
|
-
return Aws_restXml_1.serializeAws_restXmlPutBucketEncryptionCommand(input, context);
|
|
38
|
+
return (0, Aws_restXml_1.serializeAws_restXmlPutBucketEncryptionCommand)(input, context);
|
|
39
39
|
}
|
|
40
40
|
deserialize(output, context) {
|
|
41
|
-
return Aws_restXml_1.deserializeAws_restXmlPutBucketEncryptionCommand(output, context);
|
|
41
|
+
return (0, Aws_restXml_1.deserializeAws_restXmlPutBucketEncryptionCommand)(output, context);
|
|
42
42
|
}
|
|
43
43
|
}
|
|
44
44
|
exports.PutBucketEncryptionCommand = PutBucketEncryptionCommand;
|
|
@@ -12,8 +12,8 @@ class PutBucketIntelligentTieringConfigurationCommand extends smithy_client_1.Co
|
|
|
12
12
|
this.input = input;
|
|
13
13
|
}
|
|
14
14
|
resolveMiddleware(clientStack, configuration, options) {
|
|
15
|
-
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
16
|
-
this.middlewareStack.use(middleware_bucket_endpoint_1.getBucketEndpointPlugin(configuration));
|
|
15
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
16
|
+
this.middlewareStack.use((0, middleware_bucket_endpoint_1.getBucketEndpointPlugin)(configuration));
|
|
17
17
|
const stack = clientStack.concat(this.middlewareStack);
|
|
18
18
|
const { logger } = configuration;
|
|
19
19
|
const clientName = "S3Client";
|
|
@@ -29,10 +29,10 @@ class PutBucketIntelligentTieringConfigurationCommand extends smithy_client_1.Co
|
|
|
29
29
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
30
30
|
}
|
|
31
31
|
serialize(input, context) {
|
|
32
|
-
return Aws_restXml_1.serializeAws_restXmlPutBucketIntelligentTieringConfigurationCommand(input, context);
|
|
32
|
+
return (0, Aws_restXml_1.serializeAws_restXmlPutBucketIntelligentTieringConfigurationCommand)(input, context);
|
|
33
33
|
}
|
|
34
34
|
deserialize(output, context) {
|
|
35
|
-
return Aws_restXml_1.deserializeAws_restXmlPutBucketIntelligentTieringConfigurationCommand(output, context);
|
|
35
|
+
return (0, Aws_restXml_1.deserializeAws_restXmlPutBucketIntelligentTieringConfigurationCommand)(output, context);
|
|
36
36
|
}
|
|
37
37
|
}
|
|
38
38
|
exports.PutBucketIntelligentTieringConfigurationCommand = PutBucketIntelligentTieringConfigurationCommand;
|