@aws-sdk/client-s3 3.929.0 → 3.931.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-cjs/index.js +9984 -8599
- package/dist-cjs/runtimeConfig.shared.js +6 -0
- package/dist-es/S3Client.js +2 -0
- package/dist-es/commands/AbortMultipartUploadCommand.js +3 -10
- package/dist-es/commands/CompleteMultipartUploadCommand.js +2 -7
- package/dist-es/commands/CopyObjectCommand.js +2 -7
- package/dist-es/commands/CreateBucketCommand.js +2 -6
- package/dist-es/commands/CreateBucketMetadataConfigurationCommand.js +2 -6
- package/dist-es/commands/CreateBucketMetadataTableConfigurationCommand.js +2 -6
- package/dist-es/commands/CreateMultipartUploadCommand.js +2 -7
- package/dist-es/commands/CreateSessionCommand.js +3 -11
- package/dist-es/commands/DeleteBucketAnalyticsConfigurationCommand.js +3 -9
- package/dist-es/commands/DeleteBucketCommand.js +3 -9
- package/dist-es/commands/DeleteBucketCorsCommand.js +3 -9
- package/dist-es/commands/DeleteBucketEncryptionCommand.js +3 -9
- package/dist-es/commands/DeleteBucketIntelligentTieringConfigurationCommand.js +3 -9
- package/dist-es/commands/DeleteBucketInventoryConfigurationCommand.js +3 -9
- package/dist-es/commands/DeleteBucketLifecycleCommand.js +3 -9
- package/dist-es/commands/DeleteBucketMetadataConfigurationCommand.js +3 -9
- package/dist-es/commands/DeleteBucketMetadataTableConfigurationCommand.js +3 -9
- package/dist-es/commands/DeleteBucketMetricsConfigurationCommand.js +3 -9
- package/dist-es/commands/DeleteBucketOwnershipControlsCommand.js +3 -9
- package/dist-es/commands/DeleteBucketPolicyCommand.js +3 -9
- package/dist-es/commands/DeleteBucketReplicationCommand.js +3 -9
- package/dist-es/commands/DeleteBucketTaggingCommand.js +3 -9
- package/dist-es/commands/DeleteBucketWebsiteCommand.js +3 -9
- package/dist-es/commands/DeleteObjectCommand.js +3 -10
- package/dist-es/commands/DeleteObjectTaggingCommand.js +3 -10
- package/dist-es/commands/DeleteObjectsCommand.js +2 -6
- package/dist-es/commands/DeletePublicAccessBlockCommand.js +3 -9
- package/dist-es/commands/GetBucketAccelerateConfigurationCommand.js +3 -10
- package/dist-es/commands/GetBucketAclCommand.js +3 -10
- package/dist-es/commands/GetBucketAnalyticsConfigurationCommand.js +3 -10
- package/dist-es/commands/GetBucketCorsCommand.js +3 -10
- package/dist-es/commands/GetBucketEncryptionCommand.js +3 -11
- package/dist-es/commands/GetBucketIntelligentTieringConfigurationCommand.js +3 -10
- package/dist-es/commands/GetBucketInventoryConfigurationCommand.js +3 -11
- package/dist-es/commands/GetBucketLifecycleConfigurationCommand.js +3 -10
- package/dist-es/commands/GetBucketLocationCommand.js +3 -10
- package/dist-es/commands/GetBucketLoggingCommand.js +3 -10
- package/dist-es/commands/GetBucketMetadataConfigurationCommand.js +3 -10
- package/dist-es/commands/GetBucketMetadataTableConfigurationCommand.js +3 -10
- package/dist-es/commands/GetBucketMetricsConfigurationCommand.js +3 -10
- package/dist-es/commands/GetBucketNotificationConfigurationCommand.js +3 -10
- package/dist-es/commands/GetBucketOwnershipControlsCommand.js +3 -10
- package/dist-es/commands/GetBucketPolicyCommand.js +3 -10
- package/dist-es/commands/GetBucketPolicyStatusCommand.js +3 -10
- package/dist-es/commands/GetBucketReplicationCommand.js +3 -10
- package/dist-es/commands/GetBucketRequestPaymentCommand.js +3 -10
- package/dist-es/commands/GetBucketTaggingCommand.js +3 -10
- package/dist-es/commands/GetBucketVersioningCommand.js +3 -10
- package/dist-es/commands/GetBucketWebsiteCommand.js +3 -10
- package/dist-es/commands/GetObjectAclCommand.js +3 -10
- package/dist-es/commands/GetObjectAttributesCommand.js +2 -7
- package/dist-es/commands/GetObjectCommand.js +2 -7
- package/dist-es/commands/GetObjectLegalHoldCommand.js +3 -10
- package/dist-es/commands/GetObjectLockConfigurationCommand.js +3 -10
- package/dist-es/commands/GetObjectRetentionCommand.js +3 -10
- package/dist-es/commands/GetObjectTaggingCommand.js +3 -10
- package/dist-es/commands/GetObjectTorrentCommand.js +3 -10
- package/dist-es/commands/GetPublicAccessBlockCommand.js +3 -10
- package/dist-es/commands/HeadBucketCommand.js +3 -10
- package/dist-es/commands/HeadObjectCommand.js +2 -7
- package/dist-es/commands/ListBucketAnalyticsConfigurationsCommand.js +3 -10
- package/dist-es/commands/ListBucketIntelligentTieringConfigurationsCommand.js +3 -10
- package/dist-es/commands/ListBucketInventoryConfigurationsCommand.js +3 -11
- package/dist-es/commands/ListBucketMetricsConfigurationsCommand.js +3 -10
- package/dist-es/commands/ListBucketsCommand.js +3 -10
- package/dist-es/commands/ListDirectoryBucketsCommand.js +3 -10
- package/dist-es/commands/ListMultipartUploadsCommand.js +3 -10
- package/dist-es/commands/ListObjectVersionsCommand.js +3 -10
- package/dist-es/commands/ListObjectsCommand.js +3 -10
- package/dist-es/commands/ListObjectsV2Command.js +3 -10
- package/dist-es/commands/ListPartsCommand.js +2 -7
- package/dist-es/commands/PutBucketAccelerateConfigurationCommand.js +2 -6
- package/dist-es/commands/PutBucketAclCommand.js +2 -6
- package/dist-es/commands/PutBucketAnalyticsConfigurationCommand.js +3 -9
- package/dist-es/commands/PutBucketCorsCommand.js +2 -6
- package/dist-es/commands/PutBucketEncryptionCommand.js +2 -7
- package/dist-es/commands/PutBucketIntelligentTieringConfigurationCommand.js +3 -9
- package/dist-es/commands/PutBucketInventoryConfigurationCommand.js +3 -10
- package/dist-es/commands/PutBucketLifecycleConfigurationCommand.js +2 -6
- package/dist-es/commands/PutBucketLoggingCommand.js +2 -6
- package/dist-es/commands/PutBucketMetricsConfigurationCommand.js +3 -9
- package/dist-es/commands/PutBucketNotificationConfigurationCommand.js +3 -9
- package/dist-es/commands/PutBucketOwnershipControlsCommand.js +2 -6
- package/dist-es/commands/PutBucketPolicyCommand.js +2 -6
- package/dist-es/commands/PutBucketReplicationCommand.js +2 -6
- package/dist-es/commands/PutBucketRequestPaymentCommand.js +2 -6
- package/dist-es/commands/PutBucketTaggingCommand.js +2 -6
- package/dist-es/commands/PutBucketVersioningCommand.js +2 -6
- package/dist-es/commands/PutBucketWebsiteCommand.js +2 -6
- package/dist-es/commands/PutObjectAclCommand.js +2 -6
- package/dist-es/commands/PutObjectCommand.js +2 -7
- package/dist-es/commands/PutObjectLegalHoldCommand.js +2 -6
- package/dist-es/commands/PutObjectLockConfigurationCommand.js +2 -6
- package/dist-es/commands/PutObjectRetentionCommand.js +2 -6
- package/dist-es/commands/PutObjectTaggingCommand.js +2 -6
- package/dist-es/commands/PutPublicAccessBlockCommand.js +2 -6
- package/dist-es/commands/RenameObjectCommand.js +3 -10
- package/dist-es/commands/RestoreObjectCommand.js +2 -7
- package/dist-es/commands/SelectObjectContentCommand.js +2 -7
- package/dist-es/commands/UpdateBucketMetadataInventoryTableConfigurationCommand.js +2 -6
- package/dist-es/commands/UpdateBucketMetadataJournalTableConfigurationCommand.js +2 -6
- package/dist-es/commands/UploadPartCommand.js +2 -7
- package/dist-es/commands/UploadPartCopyCommand.js +2 -7
- package/dist-es/commands/WriteGetObjectResponseCommand.js +3 -10
- package/dist-es/models/models_0.js +0 -151
- package/dist-es/models/models_1.js +0 -108
- package/dist-es/runtimeConfig.shared.js +6 -0
- package/dist-es/schemas/schemas_0.js +10281 -0
- package/dist-types/S3Client.d.ts +10 -1
- package/dist-types/models/models_0.d.ts +8 -106
- package/dist-types/models/models_1.d.ts +4 -73
- package/dist-types/runtimeConfig.browser.d.ts +1 -0
- package/dist-types/runtimeConfig.d.ts +1 -0
- package/dist-types/runtimeConfig.native.d.ts +1 -0
- package/dist-types/runtimeConfig.shared.d.ts +2 -0
- package/dist-types/schemas/schemas_0.d.ts +494 -0
- package/dist-types/ts3.4/S3Client.d.ts +4 -0
- package/dist-types/ts3.4/models/models_0.d.ts +0 -78
- package/dist-types/ts3.4/models/models_1.d.ts +0 -54
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +6 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +6 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +6 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +7 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +500 -0
- package/package.json +49 -51
- package/dist-es/protocols/Aws_restXml.js +0 -8103
- package/dist-types/protocols/Aws_restXml.d.ts +0 -938
- package/dist-types/ts3.4/protocols/Aws_restXml.d.ts +0 -1257
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
import { getFlexibleChecksumsPlugin } from "@aws-sdk/middleware-flexible-checksums";
|
|
2
2
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
3
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
4
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
5
4
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
6
|
-
import {
|
|
5
|
+
import { PutBucketPolicy } from "../schemas/schemas_0";
|
|
7
6
|
export { $Command };
|
|
8
7
|
export class PutBucketPolicyCommand extends $Command
|
|
9
8
|
.classBuilder()
|
|
@@ -14,7 +13,6 @@ export class PutBucketPolicyCommand extends $Command
|
|
|
14
13
|
})
|
|
15
14
|
.m(function (Command, cs, config, o) {
|
|
16
15
|
return [
|
|
17
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
18
16
|
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
19
17
|
getFlexibleChecksumsPlugin(config, {
|
|
20
18
|
requestAlgorithmMember: { httpHeader: "x-amz-sdk-checksum-algorithm", name: "ChecksumAlgorithm" },
|
|
@@ -24,8 +22,6 @@ export class PutBucketPolicyCommand extends $Command
|
|
|
24
22
|
})
|
|
25
23
|
.s("AmazonS3", "PutBucketPolicy", {})
|
|
26
24
|
.n("S3Client", "PutBucketPolicyCommand")
|
|
27
|
-
.
|
|
28
|
-
.ser(se_PutBucketPolicyCommand)
|
|
29
|
-
.de(de_PutBucketPolicyCommand)
|
|
25
|
+
.sc(PutBucketPolicy)
|
|
30
26
|
.build() {
|
|
31
27
|
}
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
import { getFlexibleChecksumsPlugin } from "@aws-sdk/middleware-flexible-checksums";
|
|
2
2
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
3
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
4
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
5
4
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
6
|
-
import {
|
|
5
|
+
import { PutBucketReplication } from "../schemas/schemas_0";
|
|
7
6
|
export { $Command };
|
|
8
7
|
export class PutBucketReplicationCommand extends $Command
|
|
9
8
|
.classBuilder()
|
|
@@ -14,7 +13,6 @@ export class PutBucketReplicationCommand extends $Command
|
|
|
14
13
|
})
|
|
15
14
|
.m(function (Command, cs, config, o) {
|
|
16
15
|
return [
|
|
17
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
18
16
|
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
19
17
|
getFlexibleChecksumsPlugin(config, {
|
|
20
18
|
requestAlgorithmMember: { httpHeader: "x-amz-sdk-checksum-algorithm", name: "ChecksumAlgorithm" },
|
|
@@ -24,8 +22,6 @@ export class PutBucketReplicationCommand extends $Command
|
|
|
24
22
|
})
|
|
25
23
|
.s("AmazonS3", "PutBucketReplication", {})
|
|
26
24
|
.n("S3Client", "PutBucketReplicationCommand")
|
|
27
|
-
.
|
|
28
|
-
.ser(se_PutBucketReplicationCommand)
|
|
29
|
-
.de(de_PutBucketReplicationCommand)
|
|
25
|
+
.sc(PutBucketReplication)
|
|
30
26
|
.build() {
|
|
31
27
|
}
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
import { getFlexibleChecksumsPlugin } from "@aws-sdk/middleware-flexible-checksums";
|
|
2
2
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
3
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
4
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
5
4
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
6
|
-
import {
|
|
5
|
+
import { PutBucketRequestPayment } from "../schemas/schemas_0";
|
|
7
6
|
export { $Command };
|
|
8
7
|
export class PutBucketRequestPaymentCommand extends $Command
|
|
9
8
|
.classBuilder()
|
|
@@ -14,7 +13,6 @@ export class PutBucketRequestPaymentCommand extends $Command
|
|
|
14
13
|
})
|
|
15
14
|
.m(function (Command, cs, config, o) {
|
|
16
15
|
return [
|
|
17
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
18
16
|
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
19
17
|
getFlexibleChecksumsPlugin(config, {
|
|
20
18
|
requestAlgorithmMember: { httpHeader: "x-amz-sdk-checksum-algorithm", name: "ChecksumAlgorithm" },
|
|
@@ -24,8 +22,6 @@ export class PutBucketRequestPaymentCommand extends $Command
|
|
|
24
22
|
})
|
|
25
23
|
.s("AmazonS3", "PutBucketRequestPayment", {})
|
|
26
24
|
.n("S3Client", "PutBucketRequestPaymentCommand")
|
|
27
|
-
.
|
|
28
|
-
.ser(se_PutBucketRequestPaymentCommand)
|
|
29
|
-
.de(de_PutBucketRequestPaymentCommand)
|
|
25
|
+
.sc(PutBucketRequestPayment)
|
|
30
26
|
.build() {
|
|
31
27
|
}
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
import { getFlexibleChecksumsPlugin } from "@aws-sdk/middleware-flexible-checksums";
|
|
2
2
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
3
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
4
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
5
4
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
6
|
-
import {
|
|
5
|
+
import { PutBucketTagging } from "../schemas/schemas_0";
|
|
7
6
|
export { $Command };
|
|
8
7
|
export class PutBucketTaggingCommand extends $Command
|
|
9
8
|
.classBuilder()
|
|
@@ -14,7 +13,6 @@ export class PutBucketTaggingCommand extends $Command
|
|
|
14
13
|
})
|
|
15
14
|
.m(function (Command, cs, config, o) {
|
|
16
15
|
return [
|
|
17
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
18
16
|
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
19
17
|
getFlexibleChecksumsPlugin(config, {
|
|
20
18
|
requestAlgorithmMember: { httpHeader: "x-amz-sdk-checksum-algorithm", name: "ChecksumAlgorithm" },
|
|
@@ -24,8 +22,6 @@ export class PutBucketTaggingCommand extends $Command
|
|
|
24
22
|
})
|
|
25
23
|
.s("AmazonS3", "PutBucketTagging", {})
|
|
26
24
|
.n("S3Client", "PutBucketTaggingCommand")
|
|
27
|
-
.
|
|
28
|
-
.ser(se_PutBucketTaggingCommand)
|
|
29
|
-
.de(de_PutBucketTaggingCommand)
|
|
25
|
+
.sc(PutBucketTagging)
|
|
30
26
|
.build() {
|
|
31
27
|
}
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
import { getFlexibleChecksumsPlugin } from "@aws-sdk/middleware-flexible-checksums";
|
|
2
2
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
3
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
4
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
5
4
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
6
|
-
import {
|
|
5
|
+
import { PutBucketVersioning } from "../schemas/schemas_0";
|
|
7
6
|
export { $Command };
|
|
8
7
|
export class PutBucketVersioningCommand extends $Command
|
|
9
8
|
.classBuilder()
|
|
@@ -14,7 +13,6 @@ export class PutBucketVersioningCommand extends $Command
|
|
|
14
13
|
})
|
|
15
14
|
.m(function (Command, cs, config, o) {
|
|
16
15
|
return [
|
|
17
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
18
16
|
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
19
17
|
getFlexibleChecksumsPlugin(config, {
|
|
20
18
|
requestAlgorithmMember: { httpHeader: "x-amz-sdk-checksum-algorithm", name: "ChecksumAlgorithm" },
|
|
@@ -24,8 +22,6 @@ export class PutBucketVersioningCommand extends $Command
|
|
|
24
22
|
})
|
|
25
23
|
.s("AmazonS3", "PutBucketVersioning", {})
|
|
26
24
|
.n("S3Client", "PutBucketVersioningCommand")
|
|
27
|
-
.
|
|
28
|
-
.ser(se_PutBucketVersioningCommand)
|
|
29
|
-
.de(de_PutBucketVersioningCommand)
|
|
25
|
+
.sc(PutBucketVersioning)
|
|
30
26
|
.build() {
|
|
31
27
|
}
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
import { getFlexibleChecksumsPlugin } from "@aws-sdk/middleware-flexible-checksums";
|
|
2
2
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
3
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
4
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
5
4
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
6
|
-
import {
|
|
5
|
+
import { PutBucketWebsite } from "../schemas/schemas_0";
|
|
7
6
|
export { $Command };
|
|
8
7
|
export class PutBucketWebsiteCommand extends $Command
|
|
9
8
|
.classBuilder()
|
|
@@ -14,7 +13,6 @@ export class PutBucketWebsiteCommand extends $Command
|
|
|
14
13
|
})
|
|
15
14
|
.m(function (Command, cs, config, o) {
|
|
16
15
|
return [
|
|
17
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
18
16
|
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
19
17
|
getFlexibleChecksumsPlugin(config, {
|
|
20
18
|
requestAlgorithmMember: { httpHeader: "x-amz-sdk-checksum-algorithm", name: "ChecksumAlgorithm" },
|
|
@@ -24,8 +22,6 @@ export class PutBucketWebsiteCommand extends $Command
|
|
|
24
22
|
})
|
|
25
23
|
.s("AmazonS3", "PutBucketWebsite", {})
|
|
26
24
|
.n("S3Client", "PutBucketWebsiteCommand")
|
|
27
|
-
.
|
|
28
|
-
.ser(se_PutBucketWebsiteCommand)
|
|
29
|
-
.de(de_PutBucketWebsiteCommand)
|
|
25
|
+
.sc(PutBucketWebsite)
|
|
30
26
|
.build() {
|
|
31
27
|
}
|
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
import { getFlexibleChecksumsPlugin } from "@aws-sdk/middleware-flexible-checksums";
|
|
2
2
|
import { getThrow200ExceptionsPlugin } from "@aws-sdk/middleware-sdk-s3";
|
|
3
3
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
4
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
5
4
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
6
5
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
7
|
-
import {
|
|
6
|
+
import { PutObjectAcl } from "../schemas/schemas_0";
|
|
8
7
|
export { $Command };
|
|
9
8
|
export class PutObjectAclCommand extends $Command
|
|
10
9
|
.classBuilder()
|
|
@@ -15,7 +14,6 @@ export class PutObjectAclCommand extends $Command
|
|
|
15
14
|
})
|
|
16
15
|
.m(function (Command, cs, config, o) {
|
|
17
16
|
return [
|
|
18
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
19
17
|
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
20
18
|
getFlexibleChecksumsPlugin(config, {
|
|
21
19
|
requestAlgorithmMember: { httpHeader: "x-amz-sdk-checksum-algorithm", name: "ChecksumAlgorithm" },
|
|
@@ -26,8 +24,6 @@ export class PutObjectAclCommand extends $Command
|
|
|
26
24
|
})
|
|
27
25
|
.s("AmazonS3", "PutObjectAcl", {})
|
|
28
26
|
.n("S3Client", "PutObjectAclCommand")
|
|
29
|
-
.
|
|
30
|
-
.ser(se_PutObjectAclCommand)
|
|
31
|
-
.de(de_PutObjectAclCommand)
|
|
27
|
+
.sc(PutObjectAcl)
|
|
32
28
|
.build() {
|
|
33
29
|
}
|
|
@@ -2,11 +2,9 @@ import { getFlexibleChecksumsPlugin } from "@aws-sdk/middleware-flexible-checksu
|
|
|
2
2
|
import { getCheckContentLengthHeaderPlugin, getThrow200ExceptionsPlugin } from "@aws-sdk/middleware-sdk-s3";
|
|
3
3
|
import { getSsecPlugin } from "@aws-sdk/middleware-ssec";
|
|
4
4
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
5
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
6
5
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
7
6
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
8
|
-
import {
|
|
9
|
-
import { de_PutObjectCommand, se_PutObjectCommand } from "../protocols/Aws_restXml";
|
|
7
|
+
import { PutObject } from "../schemas/schemas_0";
|
|
10
8
|
export { $Command };
|
|
11
9
|
export class PutObjectCommand extends $Command
|
|
12
10
|
.classBuilder()
|
|
@@ -17,7 +15,6 @@ export class PutObjectCommand extends $Command
|
|
|
17
15
|
})
|
|
18
16
|
.m(function (Command, cs, config, o) {
|
|
19
17
|
return [
|
|
20
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
21
18
|
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
22
19
|
getFlexibleChecksumsPlugin(config, {
|
|
23
20
|
requestAlgorithmMember: { httpHeader: "x-amz-sdk-checksum-algorithm", name: "ChecksumAlgorithm" },
|
|
@@ -30,8 +27,6 @@ export class PutObjectCommand extends $Command
|
|
|
30
27
|
})
|
|
31
28
|
.s("AmazonS3", "PutObject", {})
|
|
32
29
|
.n("S3Client", "PutObjectCommand")
|
|
33
|
-
.
|
|
34
|
-
.ser(se_PutObjectCommand)
|
|
35
|
-
.de(de_PutObjectCommand)
|
|
30
|
+
.sc(PutObject)
|
|
36
31
|
.build() {
|
|
37
32
|
}
|
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
import { getFlexibleChecksumsPlugin } from "@aws-sdk/middleware-flexible-checksums";
|
|
2
2
|
import { getThrow200ExceptionsPlugin } from "@aws-sdk/middleware-sdk-s3";
|
|
3
3
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
4
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
5
4
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
6
5
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
7
|
-
import {
|
|
6
|
+
import { PutObjectLegalHold } from "../schemas/schemas_0";
|
|
8
7
|
export { $Command };
|
|
9
8
|
export class PutObjectLegalHoldCommand extends $Command
|
|
10
9
|
.classBuilder()
|
|
@@ -14,7 +13,6 @@ export class PutObjectLegalHoldCommand extends $Command
|
|
|
14
13
|
})
|
|
15
14
|
.m(function (Command, cs, config, o) {
|
|
16
15
|
return [
|
|
17
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
18
16
|
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
19
17
|
getFlexibleChecksumsPlugin(config, {
|
|
20
18
|
requestAlgorithmMember: { httpHeader: "x-amz-sdk-checksum-algorithm", name: "ChecksumAlgorithm" },
|
|
@@ -25,8 +23,6 @@ export class PutObjectLegalHoldCommand extends $Command
|
|
|
25
23
|
})
|
|
26
24
|
.s("AmazonS3", "PutObjectLegalHold", {})
|
|
27
25
|
.n("S3Client", "PutObjectLegalHoldCommand")
|
|
28
|
-
.
|
|
29
|
-
.ser(se_PutObjectLegalHoldCommand)
|
|
30
|
-
.de(de_PutObjectLegalHoldCommand)
|
|
26
|
+
.sc(PutObjectLegalHold)
|
|
31
27
|
.build() {
|
|
32
28
|
}
|
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
import { getFlexibleChecksumsPlugin } from "@aws-sdk/middleware-flexible-checksums";
|
|
2
2
|
import { getThrow200ExceptionsPlugin } from "@aws-sdk/middleware-sdk-s3";
|
|
3
3
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
4
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
5
4
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
6
5
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
7
|
-
import {
|
|
6
|
+
import { PutObjectLockConfiguration } from "../schemas/schemas_0";
|
|
8
7
|
export { $Command };
|
|
9
8
|
export class PutObjectLockConfigurationCommand extends $Command
|
|
10
9
|
.classBuilder()
|
|
@@ -14,7 +13,6 @@ export class PutObjectLockConfigurationCommand extends $Command
|
|
|
14
13
|
})
|
|
15
14
|
.m(function (Command, cs, config, o) {
|
|
16
15
|
return [
|
|
17
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
18
16
|
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
19
17
|
getFlexibleChecksumsPlugin(config, {
|
|
20
18
|
requestAlgorithmMember: { httpHeader: "x-amz-sdk-checksum-algorithm", name: "ChecksumAlgorithm" },
|
|
@@ -25,8 +23,6 @@ export class PutObjectLockConfigurationCommand extends $Command
|
|
|
25
23
|
})
|
|
26
24
|
.s("AmazonS3", "PutObjectLockConfiguration", {})
|
|
27
25
|
.n("S3Client", "PutObjectLockConfigurationCommand")
|
|
28
|
-
.
|
|
29
|
-
.ser(se_PutObjectLockConfigurationCommand)
|
|
30
|
-
.de(de_PutObjectLockConfigurationCommand)
|
|
26
|
+
.sc(PutObjectLockConfiguration)
|
|
31
27
|
.build() {
|
|
32
28
|
}
|
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
import { getFlexibleChecksumsPlugin } from "@aws-sdk/middleware-flexible-checksums";
|
|
2
2
|
import { getThrow200ExceptionsPlugin } from "@aws-sdk/middleware-sdk-s3";
|
|
3
3
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
4
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
5
4
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
6
5
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
7
|
-
import {
|
|
6
|
+
import { PutObjectRetention } from "../schemas/schemas_0";
|
|
8
7
|
export { $Command };
|
|
9
8
|
export class PutObjectRetentionCommand extends $Command
|
|
10
9
|
.classBuilder()
|
|
@@ -14,7 +13,6 @@ export class PutObjectRetentionCommand extends $Command
|
|
|
14
13
|
})
|
|
15
14
|
.m(function (Command, cs, config, o) {
|
|
16
15
|
return [
|
|
17
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
18
16
|
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
19
17
|
getFlexibleChecksumsPlugin(config, {
|
|
20
18
|
requestAlgorithmMember: { httpHeader: "x-amz-sdk-checksum-algorithm", name: "ChecksumAlgorithm" },
|
|
@@ -25,8 +23,6 @@ export class PutObjectRetentionCommand extends $Command
|
|
|
25
23
|
})
|
|
26
24
|
.s("AmazonS3", "PutObjectRetention", {})
|
|
27
25
|
.n("S3Client", "PutObjectRetentionCommand")
|
|
28
|
-
.
|
|
29
|
-
.ser(se_PutObjectRetentionCommand)
|
|
30
|
-
.de(de_PutObjectRetentionCommand)
|
|
26
|
+
.sc(PutObjectRetention)
|
|
31
27
|
.build() {
|
|
32
28
|
}
|
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
import { getFlexibleChecksumsPlugin } from "@aws-sdk/middleware-flexible-checksums";
|
|
2
2
|
import { getThrow200ExceptionsPlugin } from "@aws-sdk/middleware-sdk-s3";
|
|
3
3
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
4
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
5
4
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
6
5
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
7
|
-
import {
|
|
6
|
+
import { PutObjectTagging } from "../schemas/schemas_0";
|
|
8
7
|
export { $Command };
|
|
9
8
|
export class PutObjectTaggingCommand extends $Command
|
|
10
9
|
.classBuilder()
|
|
@@ -14,7 +13,6 @@ export class PutObjectTaggingCommand extends $Command
|
|
|
14
13
|
})
|
|
15
14
|
.m(function (Command, cs, config, o) {
|
|
16
15
|
return [
|
|
17
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
18
16
|
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
19
17
|
getFlexibleChecksumsPlugin(config, {
|
|
20
18
|
requestAlgorithmMember: { httpHeader: "x-amz-sdk-checksum-algorithm", name: "ChecksumAlgorithm" },
|
|
@@ -25,8 +23,6 @@ export class PutObjectTaggingCommand extends $Command
|
|
|
25
23
|
})
|
|
26
24
|
.s("AmazonS3", "PutObjectTagging", {})
|
|
27
25
|
.n("S3Client", "PutObjectTaggingCommand")
|
|
28
|
-
.
|
|
29
|
-
.ser(se_PutObjectTaggingCommand)
|
|
30
|
-
.de(de_PutObjectTaggingCommand)
|
|
26
|
+
.sc(PutObjectTagging)
|
|
31
27
|
.build() {
|
|
32
28
|
}
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
import { getFlexibleChecksumsPlugin } from "@aws-sdk/middleware-flexible-checksums";
|
|
2
2
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
3
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
4
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
5
4
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
6
|
-
import {
|
|
5
|
+
import { PutPublicAccessBlock } from "../schemas/schemas_0";
|
|
7
6
|
export { $Command };
|
|
8
7
|
export class PutPublicAccessBlockCommand extends $Command
|
|
9
8
|
.classBuilder()
|
|
@@ -14,7 +13,6 @@ export class PutPublicAccessBlockCommand extends $Command
|
|
|
14
13
|
})
|
|
15
14
|
.m(function (Command, cs, config, o) {
|
|
16
15
|
return [
|
|
17
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
18
16
|
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
19
17
|
getFlexibleChecksumsPlugin(config, {
|
|
20
18
|
requestAlgorithmMember: { httpHeader: "x-amz-sdk-checksum-algorithm", name: "ChecksumAlgorithm" },
|
|
@@ -24,8 +22,6 @@ export class PutPublicAccessBlockCommand extends $Command
|
|
|
24
22
|
})
|
|
25
23
|
.s("AmazonS3", "PutPublicAccessBlock", {})
|
|
26
24
|
.n("S3Client", "PutPublicAccessBlockCommand")
|
|
27
|
-
.
|
|
28
|
-
.ser(se_PutPublicAccessBlockCommand)
|
|
29
|
-
.de(de_PutPublicAccessBlockCommand)
|
|
25
|
+
.sc(PutPublicAccessBlock)
|
|
30
26
|
.build() {
|
|
31
27
|
}
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
import { getThrow200ExceptionsPlugin } from "@aws-sdk/middleware-sdk-s3";
|
|
2
2
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
3
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
4
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
5
4
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
6
|
-
import {
|
|
5
|
+
import { RenameObject } from "../schemas/schemas_0";
|
|
7
6
|
export { $Command };
|
|
8
7
|
export class RenameObjectCommand extends $Command
|
|
9
8
|
.classBuilder()
|
|
@@ -13,16 +12,10 @@ export class RenameObjectCommand extends $Command
|
|
|
13
12
|
Key: { type: "contextParams", name: "Key" },
|
|
14
13
|
})
|
|
15
14
|
.m(function (Command, cs, config, o) {
|
|
16
|
-
return [
|
|
17
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
18
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
19
|
-
getThrow200ExceptionsPlugin(config),
|
|
20
|
-
];
|
|
15
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions()), getThrow200ExceptionsPlugin(config)];
|
|
21
16
|
})
|
|
22
17
|
.s("AmazonS3", "RenameObject", {})
|
|
23
18
|
.n("S3Client", "RenameObjectCommand")
|
|
24
|
-
.
|
|
25
|
-
.ser(se_RenameObjectCommand)
|
|
26
|
-
.de(de_RenameObjectCommand)
|
|
19
|
+
.sc(RenameObject)
|
|
27
20
|
.build() {
|
|
28
21
|
}
|
|
@@ -1,11 +1,9 @@
|
|
|
1
1
|
import { getFlexibleChecksumsPlugin } from "@aws-sdk/middleware-flexible-checksums";
|
|
2
2
|
import { getThrow200ExceptionsPlugin } from "@aws-sdk/middleware-sdk-s3";
|
|
3
3
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
4
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
5
4
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
6
5
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
7
|
-
import {
|
|
8
|
-
import { de_RestoreObjectCommand, se_RestoreObjectCommand } from "../protocols/Aws_restXml";
|
|
6
|
+
import { RestoreObject } from "../schemas/schemas_0";
|
|
9
7
|
export { $Command };
|
|
10
8
|
export class RestoreObjectCommand extends $Command
|
|
11
9
|
.classBuilder()
|
|
@@ -15,7 +13,6 @@ export class RestoreObjectCommand extends $Command
|
|
|
15
13
|
})
|
|
16
14
|
.m(function (Command, cs, config, o) {
|
|
17
15
|
return [
|
|
18
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
19
16
|
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
20
17
|
getFlexibleChecksumsPlugin(config, {
|
|
21
18
|
requestAlgorithmMember: { httpHeader: "x-amz-sdk-checksum-algorithm", name: "ChecksumAlgorithm" },
|
|
@@ -26,8 +23,6 @@ export class RestoreObjectCommand extends $Command
|
|
|
26
23
|
})
|
|
27
24
|
.s("AmazonS3", "RestoreObject", {})
|
|
28
25
|
.n("S3Client", "RestoreObjectCommand")
|
|
29
|
-
.
|
|
30
|
-
.ser(se_RestoreObjectCommand)
|
|
31
|
-
.de(de_RestoreObjectCommand)
|
|
26
|
+
.sc(RestoreObject)
|
|
32
27
|
.build() {
|
|
33
28
|
}
|
|
@@ -1,11 +1,9 @@
|
|
|
1
1
|
import { getThrow200ExceptionsPlugin } from "@aws-sdk/middleware-sdk-s3";
|
|
2
2
|
import { getSsecPlugin } from "@aws-sdk/middleware-ssec";
|
|
3
3
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
4
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
5
4
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
6
5
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
7
|
-
import {
|
|
8
|
-
import { de_SelectObjectContentCommand, se_SelectObjectContentCommand } from "../protocols/Aws_restXml";
|
|
6
|
+
import { SelectObjectContent } from "../schemas/schemas_0";
|
|
9
7
|
export { $Command };
|
|
10
8
|
export class SelectObjectContentCommand extends $Command
|
|
11
9
|
.classBuilder()
|
|
@@ -15,7 +13,6 @@ export class SelectObjectContentCommand extends $Command
|
|
|
15
13
|
})
|
|
16
14
|
.m(function (Command, cs, config, o) {
|
|
17
15
|
return [
|
|
18
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
19
16
|
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
20
17
|
getThrow200ExceptionsPlugin(config),
|
|
21
18
|
getSsecPlugin(config),
|
|
@@ -27,8 +24,6 @@ export class SelectObjectContentCommand extends $Command
|
|
|
27
24
|
},
|
|
28
25
|
})
|
|
29
26
|
.n("S3Client", "SelectObjectContentCommand")
|
|
30
|
-
.
|
|
31
|
-
.ser(se_SelectObjectContentCommand)
|
|
32
|
-
.de(de_SelectObjectContentCommand)
|
|
27
|
+
.sc(SelectObjectContent)
|
|
33
28
|
.build() {
|
|
34
29
|
}
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
import { getFlexibleChecksumsPlugin } from "@aws-sdk/middleware-flexible-checksums";
|
|
2
2
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
3
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
4
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
5
4
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
6
|
-
import {
|
|
5
|
+
import { UpdateBucketMetadataInventoryTableConfiguration } from "../schemas/schemas_0";
|
|
7
6
|
export { $Command };
|
|
8
7
|
export class UpdateBucketMetadataInventoryTableConfigurationCommand extends $Command
|
|
9
8
|
.classBuilder()
|
|
@@ -14,7 +13,6 @@ export class UpdateBucketMetadataInventoryTableConfigurationCommand extends $Com
|
|
|
14
13
|
})
|
|
15
14
|
.m(function (Command, cs, config, o) {
|
|
16
15
|
return [
|
|
17
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
18
16
|
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
19
17
|
getFlexibleChecksumsPlugin(config, {
|
|
20
18
|
requestAlgorithmMember: { httpHeader: "x-amz-sdk-checksum-algorithm", name: "ChecksumAlgorithm" },
|
|
@@ -24,8 +22,6 @@ export class UpdateBucketMetadataInventoryTableConfigurationCommand extends $Com
|
|
|
24
22
|
})
|
|
25
23
|
.s("AmazonS3", "UpdateBucketMetadataInventoryTableConfiguration", {})
|
|
26
24
|
.n("S3Client", "UpdateBucketMetadataInventoryTableConfigurationCommand")
|
|
27
|
-
.
|
|
28
|
-
.ser(se_UpdateBucketMetadataInventoryTableConfigurationCommand)
|
|
29
|
-
.de(de_UpdateBucketMetadataInventoryTableConfigurationCommand)
|
|
25
|
+
.sc(UpdateBucketMetadataInventoryTableConfiguration)
|
|
30
26
|
.build() {
|
|
31
27
|
}
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
import { getFlexibleChecksumsPlugin } from "@aws-sdk/middleware-flexible-checksums";
|
|
2
2
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
3
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
4
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
5
4
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
6
|
-
import {
|
|
5
|
+
import { UpdateBucketMetadataJournalTableConfiguration } from "../schemas/schemas_0";
|
|
7
6
|
export { $Command };
|
|
8
7
|
export class UpdateBucketMetadataJournalTableConfigurationCommand extends $Command
|
|
9
8
|
.classBuilder()
|
|
@@ -14,7 +13,6 @@ export class UpdateBucketMetadataJournalTableConfigurationCommand extends $Comma
|
|
|
14
13
|
})
|
|
15
14
|
.m(function (Command, cs, config, o) {
|
|
16
15
|
return [
|
|
17
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
18
16
|
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
19
17
|
getFlexibleChecksumsPlugin(config, {
|
|
20
18
|
requestAlgorithmMember: { httpHeader: "x-amz-sdk-checksum-algorithm", name: "ChecksumAlgorithm" },
|
|
@@ -24,8 +22,6 @@ export class UpdateBucketMetadataJournalTableConfigurationCommand extends $Comma
|
|
|
24
22
|
})
|
|
25
23
|
.s("AmazonS3", "UpdateBucketMetadataJournalTableConfiguration", {})
|
|
26
24
|
.n("S3Client", "UpdateBucketMetadataJournalTableConfigurationCommand")
|
|
27
|
-
.
|
|
28
|
-
.ser(se_UpdateBucketMetadataJournalTableConfigurationCommand)
|
|
29
|
-
.de(de_UpdateBucketMetadataJournalTableConfigurationCommand)
|
|
25
|
+
.sc(UpdateBucketMetadataJournalTableConfiguration)
|
|
30
26
|
.build() {
|
|
31
27
|
}
|
|
@@ -2,11 +2,9 @@ import { getFlexibleChecksumsPlugin } from "@aws-sdk/middleware-flexible-checksu
|
|
|
2
2
|
import { getThrow200ExceptionsPlugin } from "@aws-sdk/middleware-sdk-s3";
|
|
3
3
|
import { getSsecPlugin } from "@aws-sdk/middleware-ssec";
|
|
4
4
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
5
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
6
5
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
7
6
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
8
|
-
import {
|
|
9
|
-
import { de_UploadPartCommand, se_UploadPartCommand } from "../protocols/Aws_restXml";
|
|
7
|
+
import { UploadPart } from "../schemas/schemas_0";
|
|
10
8
|
export { $Command };
|
|
11
9
|
export class UploadPartCommand extends $Command
|
|
12
10
|
.classBuilder()
|
|
@@ -17,7 +15,6 @@ export class UploadPartCommand extends $Command
|
|
|
17
15
|
})
|
|
18
16
|
.m(function (Command, cs, config, o) {
|
|
19
17
|
return [
|
|
20
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
21
18
|
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
22
19
|
getFlexibleChecksumsPlugin(config, {
|
|
23
20
|
requestAlgorithmMember: { httpHeader: "x-amz-sdk-checksum-algorithm", name: "ChecksumAlgorithm" },
|
|
@@ -29,8 +26,6 @@ export class UploadPartCommand extends $Command
|
|
|
29
26
|
})
|
|
30
27
|
.s("AmazonS3", "UploadPart", {})
|
|
31
28
|
.n("S3Client", "UploadPartCommand")
|
|
32
|
-
.
|
|
33
|
-
.ser(se_UploadPartCommand)
|
|
34
|
-
.de(de_UploadPartCommand)
|
|
29
|
+
.sc(UploadPart)
|
|
35
30
|
.build() {
|
|
36
31
|
}
|
|
@@ -1,11 +1,9 @@
|
|
|
1
1
|
import { getThrow200ExceptionsPlugin } from "@aws-sdk/middleware-sdk-s3";
|
|
2
2
|
import { getSsecPlugin } from "@aws-sdk/middleware-ssec";
|
|
3
3
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
4
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
5
4
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
6
5
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
7
|
-
import {
|
|
8
|
-
import { de_UploadPartCopyCommand, se_UploadPartCopyCommand } from "../protocols/Aws_restXml";
|
|
6
|
+
import { UploadPartCopy } from "../schemas/schemas_0";
|
|
9
7
|
export { $Command };
|
|
10
8
|
export class UploadPartCopyCommand extends $Command
|
|
11
9
|
.classBuilder()
|
|
@@ -16,7 +14,6 @@ export class UploadPartCopyCommand extends $Command
|
|
|
16
14
|
})
|
|
17
15
|
.m(function (Command, cs, config, o) {
|
|
18
16
|
return [
|
|
19
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
20
17
|
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
21
18
|
getThrow200ExceptionsPlugin(config),
|
|
22
19
|
getSsecPlugin(config),
|
|
@@ -24,8 +21,6 @@ export class UploadPartCopyCommand extends $Command
|
|
|
24
21
|
})
|
|
25
22
|
.s("AmazonS3", "UploadPartCopy", {})
|
|
26
23
|
.n("S3Client", "UploadPartCopyCommand")
|
|
27
|
-
.
|
|
28
|
-
.ser(se_UploadPartCopyCommand)
|
|
29
|
-
.de(de_UploadPartCopyCommand)
|
|
24
|
+
.sc(UploadPartCopy)
|
|
30
25
|
.build() {
|
|
31
26
|
}
|
|
@@ -1,9 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
6
|
-
import { de_WriteGetObjectResponseCommand, se_WriteGetObjectResponseCommand } from "../protocols/Aws_restXml";
|
|
4
|
+
import { WriteGetObjectResponse } from "../schemas/schemas_0";
|
|
7
5
|
export { $Command };
|
|
8
6
|
export class WriteGetObjectResponseCommand extends $Command
|
|
9
7
|
.classBuilder()
|
|
@@ -12,15 +10,10 @@ export class WriteGetObjectResponseCommand extends $Command
|
|
|
12
10
|
UseObjectLambdaEndpoint: { type: "staticContextParams", value: true },
|
|
13
11
|
})
|
|
14
12
|
.m(function (Command, cs, config, o) {
|
|
15
|
-
return [
|
|
16
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
17
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
18
|
-
];
|
|
13
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
19
14
|
})
|
|
20
15
|
.s("AmazonS3", "WriteGetObjectResponse", {})
|
|
21
16
|
.n("S3Client", "WriteGetObjectResponseCommand")
|
|
22
|
-
.
|
|
23
|
-
.ser(se_WriteGetObjectResponseCommand)
|
|
24
|
-
.de(de_WriteGetObjectResponseCommand)
|
|
17
|
+
.sc(WriteGetObjectResponse)
|
|
25
18
|
.build() {
|
|
26
19
|
}
|