@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 PutBucketInventoryConfigurationCommand 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 PutBucketInventoryConfigurationCommand 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_restXmlPutBucketInventoryConfigurationCommand(input, context);
|
|
32
|
+
return (0, Aws_restXml_1.serializeAws_restXmlPutBucketInventoryConfigurationCommand)(input, context);
|
|
33
33
|
}
|
|
34
34
|
deserialize(output, context) {
|
|
35
|
-
return Aws_restXml_1.deserializeAws_restXmlPutBucketInventoryConfigurationCommand(output, context);
|
|
35
|
+
return (0, Aws_restXml_1.deserializeAws_restXmlPutBucketInventoryConfigurationCommand)(output, context);
|
|
36
36
|
}
|
|
37
37
|
}
|
|
38
38
|
exports.PutBucketInventoryConfigurationCommand = PutBucketInventoryConfigurationCommand;
|
|
@@ -13,9 +13,9 @@ class PutBucketLifecycleConfigurationCommand 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 PutBucketLifecycleConfigurationCommand 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_restXmlPutBucketLifecycleConfigurationCommand(input, context);
|
|
38
|
+
return (0, Aws_restXml_1.serializeAws_restXmlPutBucketLifecycleConfigurationCommand)(input, context);
|
|
39
39
|
}
|
|
40
40
|
deserialize(output, context) {
|
|
41
|
-
return Aws_restXml_1.deserializeAws_restXmlPutBucketLifecycleConfigurationCommand(output, context);
|
|
41
|
+
return (0, Aws_restXml_1.deserializeAws_restXmlPutBucketLifecycleConfigurationCommand)(output, context);
|
|
42
42
|
}
|
|
43
43
|
}
|
|
44
44
|
exports.PutBucketLifecycleConfigurationCommand = PutBucketLifecycleConfigurationCommand;
|
|
@@ -13,9 +13,9 @@ class PutBucketLoggingCommand 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 PutBucketLoggingCommand 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_restXmlPutBucketLoggingCommand(input, context);
|
|
38
|
+
return (0, Aws_restXml_1.serializeAws_restXmlPutBucketLoggingCommand)(input, context);
|
|
39
39
|
}
|
|
40
40
|
deserialize(output, context) {
|
|
41
|
-
return Aws_restXml_1.deserializeAws_restXmlPutBucketLoggingCommand(output, context);
|
|
41
|
+
return (0, Aws_restXml_1.deserializeAws_restXmlPutBucketLoggingCommand)(output, context);
|
|
42
42
|
}
|
|
43
43
|
}
|
|
44
44
|
exports.PutBucketLoggingCommand = PutBucketLoggingCommand;
|
|
@@ -12,8 +12,8 @@ class PutBucketMetricsConfigurationCommand 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 PutBucketMetricsConfigurationCommand 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_restXmlPutBucketMetricsConfigurationCommand(input, context);
|
|
32
|
+
return (0, Aws_restXml_1.serializeAws_restXmlPutBucketMetricsConfigurationCommand)(input, context);
|
|
33
33
|
}
|
|
34
34
|
deserialize(output, context) {
|
|
35
|
-
return Aws_restXml_1.deserializeAws_restXmlPutBucketMetricsConfigurationCommand(output, context);
|
|
35
|
+
return (0, Aws_restXml_1.deserializeAws_restXmlPutBucketMetricsConfigurationCommand)(output, context);
|
|
36
36
|
}
|
|
37
37
|
}
|
|
38
38
|
exports.PutBucketMetricsConfigurationCommand = PutBucketMetricsConfigurationCommand;
|
|
@@ -12,8 +12,8 @@ class PutBucketNotificationConfigurationCommand 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 PutBucketNotificationConfigurationCommand 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_restXmlPutBucketNotificationConfigurationCommand(input, context);
|
|
32
|
+
return (0, Aws_restXml_1.serializeAws_restXmlPutBucketNotificationConfigurationCommand)(input, context);
|
|
33
33
|
}
|
|
34
34
|
deserialize(output, context) {
|
|
35
|
-
return Aws_restXml_1.deserializeAws_restXmlPutBucketNotificationConfigurationCommand(output, context);
|
|
35
|
+
return (0, Aws_restXml_1.deserializeAws_restXmlPutBucketNotificationConfigurationCommand)(output, context);
|
|
36
36
|
}
|
|
37
37
|
}
|
|
38
38
|
exports.PutBucketNotificationConfigurationCommand = PutBucketNotificationConfigurationCommand;
|
|
@@ -13,9 +13,9 @@ class PutBucketOwnershipControlsCommand 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, { input: this.input, requestChecksumRequired: true }));
|
|
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, { input: this.input, requestChecksumRequired: true }));
|
|
19
19
|
const stack = clientStack.concat(this.middlewareStack);
|
|
20
20
|
const { logger } = configuration;
|
|
21
21
|
const clientName = "S3Client";
|
|
@@ -31,10 +31,10 @@ class PutBucketOwnershipControlsCommand 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_restXmlPutBucketOwnershipControlsCommand(input, context);
|
|
34
|
+
return (0, Aws_restXml_1.serializeAws_restXmlPutBucketOwnershipControlsCommand)(input, context);
|
|
35
35
|
}
|
|
36
36
|
deserialize(output, context) {
|
|
37
|
-
return Aws_restXml_1.deserializeAws_restXmlPutBucketOwnershipControlsCommand(output, context);
|
|
37
|
+
return (0, Aws_restXml_1.deserializeAws_restXmlPutBucketOwnershipControlsCommand)(output, context);
|
|
38
38
|
}
|
|
39
39
|
}
|
|
40
40
|
exports.PutBucketOwnershipControlsCommand = PutBucketOwnershipControlsCommand;
|
|
@@ -13,9 +13,9 @@ class PutBucketPolicyCommand 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 PutBucketPolicyCommand 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_restXmlPutBucketPolicyCommand(input, context);
|
|
38
|
+
return (0, Aws_restXml_1.serializeAws_restXmlPutBucketPolicyCommand)(input, context);
|
|
39
39
|
}
|
|
40
40
|
deserialize(output, context) {
|
|
41
|
-
return Aws_restXml_1.deserializeAws_restXmlPutBucketPolicyCommand(output, context);
|
|
41
|
+
return (0, Aws_restXml_1.deserializeAws_restXmlPutBucketPolicyCommand)(output, context);
|
|
42
42
|
}
|
|
43
43
|
}
|
|
44
44
|
exports.PutBucketPolicyCommand = PutBucketPolicyCommand;
|
|
@@ -13,9 +13,9 @@ class PutBucketReplicationCommand 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 PutBucketReplicationCommand 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_restXmlPutBucketReplicationCommand(input, context);
|
|
38
|
+
return (0, Aws_restXml_1.serializeAws_restXmlPutBucketReplicationCommand)(input, context);
|
|
39
39
|
}
|
|
40
40
|
deserialize(output, context) {
|
|
41
|
-
return Aws_restXml_1.deserializeAws_restXmlPutBucketReplicationCommand(output, context);
|
|
41
|
+
return (0, Aws_restXml_1.deserializeAws_restXmlPutBucketReplicationCommand)(output, context);
|
|
42
42
|
}
|
|
43
43
|
}
|
|
44
44
|
exports.PutBucketReplicationCommand = PutBucketReplicationCommand;
|
|
@@ -13,9 +13,9 @@ class PutBucketRequestPaymentCommand 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 PutBucketRequestPaymentCommand 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_restXmlPutBucketRequestPaymentCommand(input, context);
|
|
38
|
+
return (0, Aws_restXml_1.serializeAws_restXmlPutBucketRequestPaymentCommand)(input, context);
|
|
39
39
|
}
|
|
40
40
|
deserialize(output, context) {
|
|
41
|
-
return Aws_restXml_1.deserializeAws_restXmlPutBucketRequestPaymentCommand(output, context);
|
|
41
|
+
return (0, Aws_restXml_1.deserializeAws_restXmlPutBucketRequestPaymentCommand)(output, context);
|
|
42
42
|
}
|
|
43
43
|
}
|
|
44
44
|
exports.PutBucketRequestPaymentCommand = PutBucketRequestPaymentCommand;
|
|
@@ -13,9 +13,9 @@ class PutBucketTaggingCommand 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 PutBucketTaggingCommand 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_restXmlPutBucketTaggingCommand(input, context);
|
|
38
|
+
return (0, Aws_restXml_1.serializeAws_restXmlPutBucketTaggingCommand)(input, context);
|
|
39
39
|
}
|
|
40
40
|
deserialize(output, context) {
|
|
41
|
-
return Aws_restXml_1.deserializeAws_restXmlPutBucketTaggingCommand(output, context);
|
|
41
|
+
return (0, Aws_restXml_1.deserializeAws_restXmlPutBucketTaggingCommand)(output, context);
|
|
42
42
|
}
|
|
43
43
|
}
|
|
44
44
|
exports.PutBucketTaggingCommand = PutBucketTaggingCommand;
|
|
@@ -13,9 +13,9 @@ class PutBucketVersioningCommand 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 PutBucketVersioningCommand 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_restXmlPutBucketVersioningCommand(input, context);
|
|
38
|
+
return (0, Aws_restXml_1.serializeAws_restXmlPutBucketVersioningCommand)(input, context);
|
|
39
39
|
}
|
|
40
40
|
deserialize(output, context) {
|
|
41
|
-
return Aws_restXml_1.deserializeAws_restXmlPutBucketVersioningCommand(output, context);
|
|
41
|
+
return (0, Aws_restXml_1.deserializeAws_restXmlPutBucketVersioningCommand)(output, context);
|
|
42
42
|
}
|
|
43
43
|
}
|
|
44
44
|
exports.PutBucketVersioningCommand = PutBucketVersioningCommand;
|
|
@@ -13,9 +13,9 @@ class PutBucketWebsiteCommand 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 PutBucketWebsiteCommand 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_restXmlPutBucketWebsiteCommand(input, context);
|
|
38
|
+
return (0, Aws_restXml_1.serializeAws_restXmlPutBucketWebsiteCommand)(input, context);
|
|
39
39
|
}
|
|
40
40
|
deserialize(output, context) {
|
|
41
|
-
return Aws_restXml_1.deserializeAws_restXmlPutBucketWebsiteCommand(output, context);
|
|
41
|
+
return (0, Aws_restXml_1.deserializeAws_restXmlPutBucketWebsiteCommand)(output, context);
|
|
42
42
|
}
|
|
43
43
|
}
|
|
44
44
|
exports.PutBucketWebsiteCommand = PutBucketWebsiteCommand;
|
|
@@ -13,9 +13,9 @@ class PutObjectAclCommand 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 PutObjectAclCommand 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_restXmlPutObjectAclCommand(input, context);
|
|
38
|
+
return (0, Aws_restXml_1.serializeAws_restXmlPutObjectAclCommand)(input, context);
|
|
39
39
|
}
|
|
40
40
|
deserialize(output, context) {
|
|
41
|
-
return Aws_restXml_1.deserializeAws_restXmlPutObjectAclCommand(output, context);
|
|
41
|
+
return (0, Aws_restXml_1.deserializeAws_restXmlPutObjectAclCommand)(output, context);
|
|
42
42
|
}
|
|
43
43
|
}
|
|
44
44
|
exports.PutObjectAclCommand = PutObjectAclCommand;
|
|
@@ -14,10 +14,10 @@ class PutObjectCommand 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_ssec_1.getSsecPlugin(configuration));
|
|
19
|
-
this.middlewareStack.use(middleware_bucket_endpoint_1.getBucketEndpointPlugin(configuration));
|
|
20
|
-
this.middlewareStack.use(middleware_flexible_checksums_1.getFlexibleChecksumsPlugin(configuration, {
|
|
17
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
18
|
+
this.middlewareStack.use((0, middleware_ssec_1.getSsecPlugin)(configuration));
|
|
19
|
+
this.middlewareStack.use((0, middleware_bucket_endpoint_1.getBucketEndpointPlugin)(configuration));
|
|
20
|
+
this.middlewareStack.use((0, middleware_flexible_checksums_1.getFlexibleChecksumsPlugin)(configuration, {
|
|
21
21
|
input: this.input,
|
|
22
22
|
requestAlgorithmMember: "ChecksumAlgorithm",
|
|
23
23
|
requestChecksumRequired: false,
|
|
@@ -37,10 +37,10 @@ class PutObjectCommand extends smithy_client_1.Command {
|
|
|
37
37
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
38
38
|
}
|
|
39
39
|
serialize(input, context) {
|
|
40
|
-
return Aws_restXml_1.serializeAws_restXmlPutObjectCommand(input, context);
|
|
40
|
+
return (0, Aws_restXml_1.serializeAws_restXmlPutObjectCommand)(input, context);
|
|
41
41
|
}
|
|
42
42
|
deserialize(output, context) {
|
|
43
|
-
return Aws_restXml_1.deserializeAws_restXmlPutObjectCommand(output, context);
|
|
43
|
+
return (0, Aws_restXml_1.deserializeAws_restXmlPutObjectCommand)(output, context);
|
|
44
44
|
}
|
|
45
45
|
}
|
|
46
46
|
exports.PutObjectCommand = PutObjectCommand;
|
|
@@ -13,9 +13,9 @@ class PutObjectLegalHoldCommand 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 PutObjectLegalHoldCommand 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_restXmlPutObjectLegalHoldCommand(input, context);
|
|
38
|
+
return (0, Aws_restXml_1.serializeAws_restXmlPutObjectLegalHoldCommand)(input, context);
|
|
39
39
|
}
|
|
40
40
|
deserialize(output, context) {
|
|
41
|
-
return Aws_restXml_1.deserializeAws_restXmlPutObjectLegalHoldCommand(output, context);
|
|
41
|
+
return (0, Aws_restXml_1.deserializeAws_restXmlPutObjectLegalHoldCommand)(output, context);
|
|
42
42
|
}
|
|
43
43
|
}
|
|
44
44
|
exports.PutObjectLegalHoldCommand = PutObjectLegalHoldCommand;
|
|
@@ -13,9 +13,9 @@ class PutObjectLockConfigurationCommand 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 PutObjectLockConfigurationCommand 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_restXmlPutObjectLockConfigurationCommand(input, context);
|
|
38
|
+
return (0, Aws_restXml_1.serializeAws_restXmlPutObjectLockConfigurationCommand)(input, context);
|
|
39
39
|
}
|
|
40
40
|
deserialize(output, context) {
|
|
41
|
-
return Aws_restXml_1.deserializeAws_restXmlPutObjectLockConfigurationCommand(output, context);
|
|
41
|
+
return (0, Aws_restXml_1.deserializeAws_restXmlPutObjectLockConfigurationCommand)(output, context);
|
|
42
42
|
}
|
|
43
43
|
}
|
|
44
44
|
exports.PutObjectLockConfigurationCommand = PutObjectLockConfigurationCommand;
|
|
@@ -13,9 +13,9 @@ class PutObjectRetentionCommand 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 PutObjectRetentionCommand 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_restXmlPutObjectRetentionCommand(input, context);
|
|
38
|
+
return (0, Aws_restXml_1.serializeAws_restXmlPutObjectRetentionCommand)(input, context);
|
|
39
39
|
}
|
|
40
40
|
deserialize(output, context) {
|
|
41
|
-
return Aws_restXml_1.deserializeAws_restXmlPutObjectRetentionCommand(output, context);
|
|
41
|
+
return (0, Aws_restXml_1.deserializeAws_restXmlPutObjectRetentionCommand)(output, context);
|
|
42
42
|
}
|
|
43
43
|
}
|
|
44
44
|
exports.PutObjectRetentionCommand = PutObjectRetentionCommand;
|
|
@@ -13,9 +13,9 @@ class PutObjectTaggingCommand 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 PutObjectTaggingCommand 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_restXmlPutObjectTaggingCommand(input, context);
|
|
38
|
+
return (0, Aws_restXml_1.serializeAws_restXmlPutObjectTaggingCommand)(input, context);
|
|
39
39
|
}
|
|
40
40
|
deserialize(output, context) {
|
|
41
|
-
return Aws_restXml_1.deserializeAws_restXmlPutObjectTaggingCommand(output, context);
|
|
41
|
+
return (0, Aws_restXml_1.deserializeAws_restXmlPutObjectTaggingCommand)(output, context);
|
|
42
42
|
}
|
|
43
43
|
}
|
|
44
44
|
exports.PutObjectTaggingCommand = PutObjectTaggingCommand;
|
|
@@ -13,9 +13,9 @@ class PutPublicAccessBlockCommand 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 PutPublicAccessBlockCommand 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_restXmlPutPublicAccessBlockCommand(input, context);
|
|
38
|
+
return (0, Aws_restXml_1.serializeAws_restXmlPutPublicAccessBlockCommand)(input, context);
|
|
39
39
|
}
|
|
40
40
|
deserialize(output, context) {
|
|
41
|
-
return Aws_restXml_1.deserializeAws_restXmlPutPublicAccessBlockCommand(output, context);
|
|
41
|
+
return (0, Aws_restXml_1.deserializeAws_restXmlPutPublicAccessBlockCommand)(output, context);
|
|
42
42
|
}
|
|
43
43
|
}
|
|
44
44
|
exports.PutPublicAccessBlockCommand = PutPublicAccessBlockCommand;
|
|
@@ -13,9 +13,9 @@ class RestoreObjectCommand 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 RestoreObjectCommand 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_restXmlRestoreObjectCommand(input, context);
|
|
38
|
+
return (0, Aws_restXml_1.serializeAws_restXmlRestoreObjectCommand)(input, context);
|
|
39
39
|
}
|
|
40
40
|
deserialize(output, context) {
|
|
41
|
-
return Aws_restXml_1.deserializeAws_restXmlRestoreObjectCommand(output, context);
|
|
41
|
+
return (0, Aws_restXml_1.deserializeAws_restXmlRestoreObjectCommand)(output, context);
|
|
42
42
|
}
|
|
43
43
|
}
|
|
44
44
|
exports.RestoreObjectCommand = RestoreObjectCommand;
|
|
@@ -13,9 +13,9 @@ class SelectObjectContentCommand 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 SelectObjectContentCommand 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_restXmlSelectObjectContentCommand(input, context);
|
|
34
|
+
return (0, Aws_restXml_1.serializeAws_restXmlSelectObjectContentCommand)(input, context);
|
|
35
35
|
}
|
|
36
36
|
deserialize(output, context) {
|
|
37
|
-
return Aws_restXml_1.deserializeAws_restXmlSelectObjectContentCommand(output, context);
|
|
37
|
+
return (0, Aws_restXml_1.deserializeAws_restXmlSelectObjectContentCommand)(output, context);
|
|
38
38
|
}
|
|
39
39
|
}
|
|
40
40
|
exports.SelectObjectContentCommand = SelectObjectContentCommand;
|
|
@@ -14,10 +14,10 @@ class UploadPartCommand 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_ssec_1.getSsecPlugin(configuration));
|
|
19
|
-
this.middlewareStack.use(middleware_bucket_endpoint_1.getBucketEndpointPlugin(configuration));
|
|
20
|
-
this.middlewareStack.use(middleware_flexible_checksums_1.getFlexibleChecksumsPlugin(configuration, {
|
|
17
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
18
|
+
this.middlewareStack.use((0, middleware_ssec_1.getSsecPlugin)(configuration));
|
|
19
|
+
this.middlewareStack.use((0, middleware_bucket_endpoint_1.getBucketEndpointPlugin)(configuration));
|
|
20
|
+
this.middlewareStack.use((0, middleware_flexible_checksums_1.getFlexibleChecksumsPlugin)(configuration, {
|
|
21
21
|
input: this.input,
|
|
22
22
|
requestAlgorithmMember: "ChecksumAlgorithm",
|
|
23
23
|
requestChecksumRequired: false,
|
|
@@ -37,10 +37,10 @@ class UploadPartCommand extends smithy_client_1.Command {
|
|
|
37
37
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
38
38
|
}
|
|
39
39
|
serialize(input, context) {
|
|
40
|
-
return Aws_restXml_1.serializeAws_restXmlUploadPartCommand(input, context);
|
|
40
|
+
return (0, Aws_restXml_1.serializeAws_restXmlUploadPartCommand)(input, context);
|
|
41
41
|
}
|
|
42
42
|
deserialize(output, context) {
|
|
43
|
-
return Aws_restXml_1.deserializeAws_restXmlUploadPartCommand(output, context);
|
|
43
|
+
return (0, Aws_restXml_1.deserializeAws_restXmlUploadPartCommand)(output, context);
|
|
44
44
|
}
|
|
45
45
|
}
|
|
46
46
|
exports.UploadPartCommand = UploadPartCommand;
|
|
@@ -14,10 +14,10 @@ class UploadPartCopyCommand 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 UploadPartCopyCommand 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_restXmlUploadPartCopyCommand(input, context);
|
|
36
|
+
return (0, Aws_restXml_1.serializeAws_restXmlUploadPartCopyCommand)(input, context);
|
|
37
37
|
}
|
|
38
38
|
deserialize(output, context) {
|
|
39
|
-
return Aws_restXml_1.deserializeAws_restXmlUploadPartCopyCommand(output, context);
|
|
39
|
+
return (0, Aws_restXml_1.deserializeAws_restXmlUploadPartCopyCommand)(output, context);
|
|
40
40
|
}
|
|
41
41
|
}
|
|
42
42
|
exports.UploadPartCopyCommand = UploadPartCopyCommand;
|