@aws-sdk/client-s3 3.54.1 → 3.58.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/runtimeConfig.native.d.ts +2 -2
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +2 -2
- package/package.json +50 -50
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,30 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [3.58.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.57.0...v3.58.0) (2022-03-28)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @aws-sdk/client-s3
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
# [3.56.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.55.0...v3.56.0) (2022-03-24)
|
|
15
|
+
|
|
16
|
+
**Note:** Version bump only for package @aws-sdk/client-s3
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
# [3.55.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.54.1...v3.55.0) (2022-03-21)
|
|
23
|
+
|
|
24
|
+
**Note:** Version bump only for package @aws-sdk/client-s3
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
|
|
6
30
|
## [3.54.1](https://github.com/aws/aws-sdk-js-v3/compare/v3.54.0...v3.54.1) (2022-03-15)
|
|
7
31
|
|
|
8
32
|
**Note:** Version bump only for package @aws-sdk/client-s3
|
package/dist-cjs/S3Client.js
CHANGED
|
@@ -16,26 +16,26 @@ const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
|
16
16
|
const runtimeConfig_1 = require("./runtimeConfig");
|
|
17
17
|
class S3Client extends smithy_client_1.Client {
|
|
18
18
|
constructor(configuration) {
|
|
19
|
-
const _config_0 = runtimeConfig_1.getRuntimeConfig(configuration);
|
|
20
|
-
const _config_1 = config_resolver_1.resolveRegionConfig(_config_0);
|
|
21
|
-
const _config_2 = config_resolver_1.resolveEndpointsConfig(_config_1);
|
|
22
|
-
const _config_3 = middleware_retry_1.resolveRetryConfig(_config_2);
|
|
23
|
-
const _config_4 = middleware_host_header_1.resolveHostHeaderConfig(_config_3);
|
|
24
|
-
const _config_5 = middleware_signing_1.resolveAwsAuthConfig(_config_4);
|
|
25
|
-
const _config_6 = middleware_bucket_endpoint_1.resolveBucketEndpointConfig(_config_5);
|
|
26
|
-
const _config_7 = middleware_user_agent_1.resolveUserAgentConfig(_config_6);
|
|
27
|
-
const _config_8 = eventstream_serde_config_resolver_1.resolveEventStreamSerdeConfig(_config_7);
|
|
19
|
+
const _config_0 = (0, runtimeConfig_1.getRuntimeConfig)(configuration);
|
|
20
|
+
const _config_1 = (0, config_resolver_1.resolveRegionConfig)(_config_0);
|
|
21
|
+
const _config_2 = (0, config_resolver_1.resolveEndpointsConfig)(_config_1);
|
|
22
|
+
const _config_3 = (0, middleware_retry_1.resolveRetryConfig)(_config_2);
|
|
23
|
+
const _config_4 = (0, middleware_host_header_1.resolveHostHeaderConfig)(_config_3);
|
|
24
|
+
const _config_5 = (0, middleware_signing_1.resolveAwsAuthConfig)(_config_4);
|
|
25
|
+
const _config_6 = (0, middleware_bucket_endpoint_1.resolveBucketEndpointConfig)(_config_5);
|
|
26
|
+
const _config_7 = (0, middleware_user_agent_1.resolveUserAgentConfig)(_config_6);
|
|
27
|
+
const _config_8 = (0, eventstream_serde_config_resolver_1.resolveEventStreamSerdeConfig)(_config_7);
|
|
28
28
|
super(_config_8);
|
|
29
29
|
this.config = _config_8;
|
|
30
|
-
this.middlewareStack.use(middleware_retry_1.getRetryPlugin(this.config));
|
|
31
|
-
this.middlewareStack.use(middleware_content_length_1.getContentLengthPlugin(this.config));
|
|
32
|
-
this.middlewareStack.use(middleware_host_header_1.getHostHeaderPlugin(this.config));
|
|
33
|
-
this.middlewareStack.use(middleware_logger_1.getLoggerPlugin(this.config));
|
|
34
|
-
this.middlewareStack.use(middleware_signing_1.getAwsAuthPlugin(this.config));
|
|
35
|
-
this.middlewareStack.use(middleware_sdk_s3_1.getValidateBucketNamePlugin(this.config));
|
|
36
|
-
this.middlewareStack.use(middleware_sdk_s3_1.getUseRegionalEndpointPlugin(this.config));
|
|
37
|
-
this.middlewareStack.use(middleware_expect_continue_1.getAddExpectContinuePlugin(this.config));
|
|
38
|
-
this.middlewareStack.use(middleware_user_agent_1.getUserAgentPlugin(this.config));
|
|
30
|
+
this.middlewareStack.use((0, middleware_retry_1.getRetryPlugin)(this.config));
|
|
31
|
+
this.middlewareStack.use((0, middleware_content_length_1.getContentLengthPlugin)(this.config));
|
|
32
|
+
this.middlewareStack.use((0, middleware_host_header_1.getHostHeaderPlugin)(this.config));
|
|
33
|
+
this.middlewareStack.use((0, middleware_logger_1.getLoggerPlugin)(this.config));
|
|
34
|
+
this.middlewareStack.use((0, middleware_signing_1.getAwsAuthPlugin)(this.config));
|
|
35
|
+
this.middlewareStack.use((0, middleware_sdk_s3_1.getValidateBucketNamePlugin)(this.config));
|
|
36
|
+
this.middlewareStack.use((0, middleware_sdk_s3_1.getUseRegionalEndpointPlugin)(this.config));
|
|
37
|
+
this.middlewareStack.use((0, middleware_expect_continue_1.getAddExpectContinuePlugin)(this.config));
|
|
38
|
+
this.middlewareStack.use((0, middleware_user_agent_1.getUserAgentPlugin)(this.config));
|
|
39
39
|
}
|
|
40
40
|
destroy() {
|
|
41
41
|
super.destroy();
|
|
@@ -12,8 +12,8 @@ class AbortMultipartUploadCommand 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 AbortMultipartUploadCommand 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_restXmlAbortMultipartUploadCommand(input, context);
|
|
32
|
+
return (0, Aws_restXml_1.serializeAws_restXmlAbortMultipartUploadCommand)(input, context);
|
|
33
33
|
}
|
|
34
34
|
deserialize(output, context) {
|
|
35
|
-
return Aws_restXml_1.deserializeAws_restXmlAbortMultipartUploadCommand(output, context);
|
|
35
|
+
return (0, Aws_restXml_1.deserializeAws_restXmlAbortMultipartUploadCommand)(output, context);
|
|
36
36
|
}
|
|
37
37
|
}
|
|
38
38
|
exports.AbortMultipartUploadCommand = AbortMultipartUploadCommand;
|
|
@@ -14,10 +14,10 @@ class CompleteMultipartUploadCommand extends smithy_client_1.Command {
|
|
|
14
14
|
this.input = input;
|
|
15
15
|
}
|
|
16
16
|
resolveMiddleware(clientStack, configuration, options) {
|
|
17
|
-
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
18
|
-
this.middlewareStack.use(middleware_sdk_s3_1.getThrow200ExceptionsPlugin(configuration));
|
|
19
|
-
this.middlewareStack.use(middleware_ssec_1.getSsecPlugin(configuration));
|
|
20
|
-
this.middlewareStack.use(middleware_bucket_endpoint_1.getBucketEndpointPlugin(configuration));
|
|
17
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
18
|
+
this.middlewareStack.use((0, middleware_sdk_s3_1.getThrow200ExceptionsPlugin)(configuration));
|
|
19
|
+
this.middlewareStack.use((0, middleware_ssec_1.getSsecPlugin)(configuration));
|
|
20
|
+
this.middlewareStack.use((0, middleware_bucket_endpoint_1.getBucketEndpointPlugin)(configuration));
|
|
21
21
|
const stack = clientStack.concat(this.middlewareStack);
|
|
22
22
|
const { logger } = configuration;
|
|
23
23
|
const clientName = "S3Client";
|
|
@@ -33,10 +33,10 @@ class CompleteMultipartUploadCommand extends smithy_client_1.Command {
|
|
|
33
33
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
34
34
|
}
|
|
35
35
|
serialize(input, context) {
|
|
36
|
-
return Aws_restXml_1.serializeAws_restXmlCompleteMultipartUploadCommand(input, context);
|
|
36
|
+
return (0, Aws_restXml_1.serializeAws_restXmlCompleteMultipartUploadCommand)(input, context);
|
|
37
37
|
}
|
|
38
38
|
deserialize(output, context) {
|
|
39
|
-
return Aws_restXml_1.deserializeAws_restXmlCompleteMultipartUploadCommand(output, context);
|
|
39
|
+
return (0, Aws_restXml_1.deserializeAws_restXmlCompleteMultipartUploadCommand)(output, context);
|
|
40
40
|
}
|
|
41
41
|
}
|
|
42
42
|
exports.CompleteMultipartUploadCommand = CompleteMultipartUploadCommand;
|
|
@@ -14,10 +14,10 @@ class CopyObjectCommand extends smithy_client_1.Command {
|
|
|
14
14
|
this.input = input;
|
|
15
15
|
}
|
|
16
16
|
resolveMiddleware(clientStack, configuration, options) {
|
|
17
|
-
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
18
|
-
this.middlewareStack.use(middleware_sdk_s3_1.getThrow200ExceptionsPlugin(configuration));
|
|
19
|
-
this.middlewareStack.use(middleware_ssec_1.getSsecPlugin(configuration));
|
|
20
|
-
this.middlewareStack.use(middleware_bucket_endpoint_1.getBucketEndpointPlugin(configuration));
|
|
17
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
18
|
+
this.middlewareStack.use((0, middleware_sdk_s3_1.getThrow200ExceptionsPlugin)(configuration));
|
|
19
|
+
this.middlewareStack.use((0, middleware_ssec_1.getSsecPlugin)(configuration));
|
|
20
|
+
this.middlewareStack.use((0, middleware_bucket_endpoint_1.getBucketEndpointPlugin)(configuration));
|
|
21
21
|
const stack = clientStack.concat(this.middlewareStack);
|
|
22
22
|
const { logger } = configuration;
|
|
23
23
|
const clientName = "S3Client";
|
|
@@ -33,10 +33,10 @@ class CopyObjectCommand extends smithy_client_1.Command {
|
|
|
33
33
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
34
34
|
}
|
|
35
35
|
serialize(input, context) {
|
|
36
|
-
return Aws_restXml_1.serializeAws_restXmlCopyObjectCommand(input, context);
|
|
36
|
+
return (0, Aws_restXml_1.serializeAws_restXmlCopyObjectCommand)(input, context);
|
|
37
37
|
}
|
|
38
38
|
deserialize(output, context) {
|
|
39
|
-
return Aws_restXml_1.deserializeAws_restXmlCopyObjectCommand(output, context);
|
|
39
|
+
return (0, Aws_restXml_1.deserializeAws_restXmlCopyObjectCommand)(output, context);
|
|
40
40
|
}
|
|
41
41
|
}
|
|
42
42
|
exports.CopyObjectCommand = CopyObjectCommand;
|
|
@@ -12,8 +12,8 @@ class CreateBucketCommand 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_location_constraint_1.getLocationConstraintPlugin(configuration));
|
|
15
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
16
|
+
this.middlewareStack.use((0, middleware_location_constraint_1.getLocationConstraintPlugin)(configuration));
|
|
17
17
|
const stack = clientStack.concat(this.middlewareStack);
|
|
18
18
|
const { logger } = configuration;
|
|
19
19
|
const clientName = "S3Client";
|
|
@@ -29,10 +29,10 @@ class CreateBucketCommand 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_restXmlCreateBucketCommand(input, context);
|
|
32
|
+
return (0, Aws_restXml_1.serializeAws_restXmlCreateBucketCommand)(input, context);
|
|
33
33
|
}
|
|
34
34
|
deserialize(output, context) {
|
|
35
|
-
return Aws_restXml_1.deserializeAws_restXmlCreateBucketCommand(output, context);
|
|
35
|
+
return (0, Aws_restXml_1.deserializeAws_restXmlCreateBucketCommand)(output, context);
|
|
36
36
|
}
|
|
37
37
|
}
|
|
38
38
|
exports.CreateBucketCommand = CreateBucketCommand;
|
|
@@ -13,9 +13,9 @@ class CreateMultipartUploadCommand 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 CreateMultipartUploadCommand 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_restXmlCreateMultipartUploadCommand(input, context);
|
|
34
|
+
return (0, Aws_restXml_1.serializeAws_restXmlCreateMultipartUploadCommand)(input, context);
|
|
35
35
|
}
|
|
36
36
|
deserialize(output, context) {
|
|
37
|
-
return Aws_restXml_1.deserializeAws_restXmlCreateMultipartUploadCommand(output, context);
|
|
37
|
+
return (0, Aws_restXml_1.deserializeAws_restXmlCreateMultipartUploadCommand)(output, context);
|
|
38
38
|
}
|
|
39
39
|
}
|
|
40
40
|
exports.CreateMultipartUploadCommand = CreateMultipartUploadCommand;
|
|
@@ -12,8 +12,8 @@ class DeleteBucketAnalyticsConfigurationCommand 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 DeleteBucketAnalyticsConfigurationCommand 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_restXmlDeleteBucketAnalyticsConfigurationCommand(input, context);
|
|
32
|
+
return (0, Aws_restXml_1.serializeAws_restXmlDeleteBucketAnalyticsConfigurationCommand)(input, context);
|
|
33
33
|
}
|
|
34
34
|
deserialize(output, context) {
|
|
35
|
-
return Aws_restXml_1.deserializeAws_restXmlDeleteBucketAnalyticsConfigurationCommand(output, context);
|
|
35
|
+
return (0, Aws_restXml_1.deserializeAws_restXmlDeleteBucketAnalyticsConfigurationCommand)(output, context);
|
|
36
36
|
}
|
|
37
37
|
}
|
|
38
38
|
exports.DeleteBucketAnalyticsConfigurationCommand = DeleteBucketAnalyticsConfigurationCommand;
|
|
@@ -11,7 +11,7 @@ class DeleteBucketCommand 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 DeleteBucketCommand 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_restXmlDeleteBucketCommand(input, context);
|
|
30
|
+
return (0, Aws_restXml_1.serializeAws_restXmlDeleteBucketCommand)(input, context);
|
|
31
31
|
}
|
|
32
32
|
deserialize(output, context) {
|
|
33
|
-
return Aws_restXml_1.deserializeAws_restXmlDeleteBucketCommand(output, context);
|
|
33
|
+
return (0, Aws_restXml_1.deserializeAws_restXmlDeleteBucketCommand)(output, context);
|
|
34
34
|
}
|
|
35
35
|
}
|
|
36
36
|
exports.DeleteBucketCommand = DeleteBucketCommand;
|
|
@@ -12,8 +12,8 @@ class DeleteBucketCorsCommand 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 DeleteBucketCorsCommand 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_restXmlDeleteBucketCorsCommand(input, context);
|
|
32
|
+
return (0, Aws_restXml_1.serializeAws_restXmlDeleteBucketCorsCommand)(input, context);
|
|
33
33
|
}
|
|
34
34
|
deserialize(output, context) {
|
|
35
|
-
return Aws_restXml_1.deserializeAws_restXmlDeleteBucketCorsCommand(output, context);
|
|
35
|
+
return (0, Aws_restXml_1.deserializeAws_restXmlDeleteBucketCorsCommand)(output, context);
|
|
36
36
|
}
|
|
37
37
|
}
|
|
38
38
|
exports.DeleteBucketCorsCommand = DeleteBucketCorsCommand;
|
|
@@ -12,8 +12,8 @@ class DeleteBucketEncryptionCommand 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 DeleteBucketEncryptionCommand 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_restXmlDeleteBucketEncryptionCommand(input, context);
|
|
32
|
+
return (0, Aws_restXml_1.serializeAws_restXmlDeleteBucketEncryptionCommand)(input, context);
|
|
33
33
|
}
|
|
34
34
|
deserialize(output, context) {
|
|
35
|
-
return Aws_restXml_1.deserializeAws_restXmlDeleteBucketEncryptionCommand(output, context);
|
|
35
|
+
return (0, Aws_restXml_1.deserializeAws_restXmlDeleteBucketEncryptionCommand)(output, context);
|
|
36
36
|
}
|
|
37
37
|
}
|
|
38
38
|
exports.DeleteBucketEncryptionCommand = DeleteBucketEncryptionCommand;
|
|
@@ -12,8 +12,8 @@ class DeleteBucketIntelligentTieringConfigurationCommand 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 DeleteBucketIntelligentTieringConfigurationCommand 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_restXmlDeleteBucketIntelligentTieringConfigurationCommand(input, context);
|
|
32
|
+
return (0, Aws_restXml_1.serializeAws_restXmlDeleteBucketIntelligentTieringConfigurationCommand)(input, context);
|
|
33
33
|
}
|
|
34
34
|
deserialize(output, context) {
|
|
35
|
-
return Aws_restXml_1.deserializeAws_restXmlDeleteBucketIntelligentTieringConfigurationCommand(output, context);
|
|
35
|
+
return (0, Aws_restXml_1.deserializeAws_restXmlDeleteBucketIntelligentTieringConfigurationCommand)(output, context);
|
|
36
36
|
}
|
|
37
37
|
}
|
|
38
38
|
exports.DeleteBucketIntelligentTieringConfigurationCommand = DeleteBucketIntelligentTieringConfigurationCommand;
|
|
@@ -12,8 +12,8 @@ class DeleteBucketInventoryConfigurationCommand 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 DeleteBucketInventoryConfigurationCommand 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_restXmlDeleteBucketInventoryConfigurationCommand(input, context);
|
|
32
|
+
return (0, Aws_restXml_1.serializeAws_restXmlDeleteBucketInventoryConfigurationCommand)(input, context);
|
|
33
33
|
}
|
|
34
34
|
deserialize(output, context) {
|
|
35
|
-
return Aws_restXml_1.deserializeAws_restXmlDeleteBucketInventoryConfigurationCommand(output, context);
|
|
35
|
+
return (0, Aws_restXml_1.deserializeAws_restXmlDeleteBucketInventoryConfigurationCommand)(output, context);
|
|
36
36
|
}
|
|
37
37
|
}
|
|
38
38
|
exports.DeleteBucketInventoryConfigurationCommand = DeleteBucketInventoryConfigurationCommand;
|
|
@@ -12,8 +12,8 @@ class DeleteBucketLifecycleCommand 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 DeleteBucketLifecycleCommand 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_restXmlDeleteBucketLifecycleCommand(input, context);
|
|
32
|
+
return (0, Aws_restXml_1.serializeAws_restXmlDeleteBucketLifecycleCommand)(input, context);
|
|
33
33
|
}
|
|
34
34
|
deserialize(output, context) {
|
|
35
|
-
return Aws_restXml_1.deserializeAws_restXmlDeleteBucketLifecycleCommand(output, context);
|
|
35
|
+
return (0, Aws_restXml_1.deserializeAws_restXmlDeleteBucketLifecycleCommand)(output, context);
|
|
36
36
|
}
|
|
37
37
|
}
|
|
38
38
|
exports.DeleteBucketLifecycleCommand = DeleteBucketLifecycleCommand;
|
|
@@ -12,8 +12,8 @@ class DeleteBucketMetricsConfigurationCommand 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 DeleteBucketMetricsConfigurationCommand 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_restXmlDeleteBucketMetricsConfigurationCommand(input, context);
|
|
32
|
+
return (0, Aws_restXml_1.serializeAws_restXmlDeleteBucketMetricsConfigurationCommand)(input, context);
|
|
33
33
|
}
|
|
34
34
|
deserialize(output, context) {
|
|
35
|
-
return Aws_restXml_1.deserializeAws_restXmlDeleteBucketMetricsConfigurationCommand(output, context);
|
|
35
|
+
return (0, Aws_restXml_1.deserializeAws_restXmlDeleteBucketMetricsConfigurationCommand)(output, context);
|
|
36
36
|
}
|
|
37
37
|
}
|
|
38
38
|
exports.DeleteBucketMetricsConfigurationCommand = DeleteBucketMetricsConfigurationCommand;
|
|
@@ -12,8 +12,8 @@ class DeleteBucketOwnershipControlsCommand 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 DeleteBucketOwnershipControlsCommand 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_restXmlDeleteBucketOwnershipControlsCommand(input, context);
|
|
32
|
+
return (0, Aws_restXml_1.serializeAws_restXmlDeleteBucketOwnershipControlsCommand)(input, context);
|
|
33
33
|
}
|
|
34
34
|
deserialize(output, context) {
|
|
35
|
-
return Aws_restXml_1.deserializeAws_restXmlDeleteBucketOwnershipControlsCommand(output, context);
|
|
35
|
+
return (0, Aws_restXml_1.deserializeAws_restXmlDeleteBucketOwnershipControlsCommand)(output, context);
|
|
36
36
|
}
|
|
37
37
|
}
|
|
38
38
|
exports.DeleteBucketOwnershipControlsCommand = DeleteBucketOwnershipControlsCommand;
|
|
@@ -12,8 +12,8 @@ class DeleteBucketPolicyCommand 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 DeleteBucketPolicyCommand 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_restXmlDeleteBucketPolicyCommand(input, context);
|
|
32
|
+
return (0, Aws_restXml_1.serializeAws_restXmlDeleteBucketPolicyCommand)(input, context);
|
|
33
33
|
}
|
|
34
34
|
deserialize(output, context) {
|
|
35
|
-
return Aws_restXml_1.deserializeAws_restXmlDeleteBucketPolicyCommand(output, context);
|
|
35
|
+
return (0, Aws_restXml_1.deserializeAws_restXmlDeleteBucketPolicyCommand)(output, context);
|
|
36
36
|
}
|
|
37
37
|
}
|
|
38
38
|
exports.DeleteBucketPolicyCommand = DeleteBucketPolicyCommand;
|
|
@@ -12,8 +12,8 @@ class DeleteBucketReplicationCommand 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 DeleteBucketReplicationCommand 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_restXmlDeleteBucketReplicationCommand(input, context);
|
|
32
|
+
return (0, Aws_restXml_1.serializeAws_restXmlDeleteBucketReplicationCommand)(input, context);
|
|
33
33
|
}
|
|
34
34
|
deserialize(output, context) {
|
|
35
|
-
return Aws_restXml_1.deserializeAws_restXmlDeleteBucketReplicationCommand(output, context);
|
|
35
|
+
return (0, Aws_restXml_1.deserializeAws_restXmlDeleteBucketReplicationCommand)(output, context);
|
|
36
36
|
}
|
|
37
37
|
}
|
|
38
38
|
exports.DeleteBucketReplicationCommand = DeleteBucketReplicationCommand;
|
|
@@ -12,8 +12,8 @@ class DeleteBucketTaggingCommand 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 DeleteBucketTaggingCommand 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_restXmlDeleteBucketTaggingCommand(input, context);
|
|
32
|
+
return (0, Aws_restXml_1.serializeAws_restXmlDeleteBucketTaggingCommand)(input, context);
|
|
33
33
|
}
|
|
34
34
|
deserialize(output, context) {
|
|
35
|
-
return Aws_restXml_1.deserializeAws_restXmlDeleteBucketTaggingCommand(output, context);
|
|
35
|
+
return (0, Aws_restXml_1.deserializeAws_restXmlDeleteBucketTaggingCommand)(output, context);
|
|
36
36
|
}
|
|
37
37
|
}
|
|
38
38
|
exports.DeleteBucketTaggingCommand = DeleteBucketTaggingCommand;
|
|
@@ -12,8 +12,8 @@ class DeleteBucketWebsiteCommand 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 DeleteBucketWebsiteCommand 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_restXmlDeleteBucketWebsiteCommand(input, context);
|
|
32
|
+
return (0, Aws_restXml_1.serializeAws_restXmlDeleteBucketWebsiteCommand)(input, context);
|
|
33
33
|
}
|
|
34
34
|
deserialize(output, context) {
|
|
35
|
-
return Aws_restXml_1.deserializeAws_restXmlDeleteBucketWebsiteCommand(output, context);
|
|
35
|
+
return (0, Aws_restXml_1.deserializeAws_restXmlDeleteBucketWebsiteCommand)(output, context);
|
|
36
36
|
}
|
|
37
37
|
}
|
|
38
38
|
exports.DeleteBucketWebsiteCommand = DeleteBucketWebsiteCommand;
|
|
@@ -12,8 +12,8 @@ class DeleteObjectCommand 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 DeleteObjectCommand 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_restXmlDeleteObjectCommand(input, context);
|
|
32
|
+
return (0, Aws_restXml_1.serializeAws_restXmlDeleteObjectCommand)(input, context);
|
|
33
33
|
}
|
|
34
34
|
deserialize(output, context) {
|
|
35
|
-
return Aws_restXml_1.deserializeAws_restXmlDeleteObjectCommand(output, context);
|
|
35
|
+
return (0, Aws_restXml_1.deserializeAws_restXmlDeleteObjectCommand)(output, context);
|
|
36
36
|
}
|
|
37
37
|
}
|
|
38
38
|
exports.DeleteObjectCommand = DeleteObjectCommand;
|
|
@@ -12,8 +12,8 @@ class DeleteObjectTaggingCommand 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 DeleteObjectTaggingCommand 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_restXmlDeleteObjectTaggingCommand(input, context);
|
|
32
|
+
return (0, Aws_restXml_1.serializeAws_restXmlDeleteObjectTaggingCommand)(input, context);
|
|
33
33
|
}
|
|
34
34
|
deserialize(output, context) {
|
|
35
|
-
return Aws_restXml_1.deserializeAws_restXmlDeleteObjectTaggingCommand(output, context);
|
|
35
|
+
return (0, Aws_restXml_1.deserializeAws_restXmlDeleteObjectTaggingCommand)(output, context);
|
|
36
36
|
}
|
|
37
37
|
}
|
|
38
38
|
exports.DeleteObjectTaggingCommand = DeleteObjectTaggingCommand;
|
|
@@ -13,9 +13,9 @@ class DeleteObjectsCommand 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 DeleteObjectsCommand 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_restXmlDeleteObjectsCommand(input, context);
|
|
38
|
+
return (0, Aws_restXml_1.serializeAws_restXmlDeleteObjectsCommand)(input, context);
|
|
39
39
|
}
|
|
40
40
|
deserialize(output, context) {
|
|
41
|
-
return Aws_restXml_1.deserializeAws_restXmlDeleteObjectsCommand(output, context);
|
|
41
|
+
return (0, Aws_restXml_1.deserializeAws_restXmlDeleteObjectsCommand)(output, context);
|
|
42
42
|
}
|
|
43
43
|
}
|
|
44
44
|
exports.DeleteObjectsCommand = DeleteObjectsCommand;
|