@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,10 +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 {
|
|
7
|
-
import { de_ListBucketInventoryConfigurationsCommand, se_ListBucketInventoryConfigurationsCommand, } from "../protocols/Aws_restXml";
|
|
5
|
+
import { ListBucketInventoryConfigurations } from "../schemas/schemas_0";
|
|
8
6
|
export { $Command };
|
|
9
7
|
export class ListBucketInventoryConfigurationsCommand extends $Command
|
|
10
8
|
.classBuilder()
|
|
@@ -14,16 +12,10 @@ export class ListBucketInventoryConfigurationsCommand extends $Command
|
|
|
14
12
|
Bucket: { type: "contextParams", name: "Bucket" },
|
|
15
13
|
})
|
|
16
14
|
.m(function (Command, cs, config, o) {
|
|
17
|
-
return [
|
|
18
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
19
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
20
|
-
getThrow200ExceptionsPlugin(config),
|
|
21
|
-
];
|
|
15
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions()), getThrow200ExceptionsPlugin(config)];
|
|
22
16
|
})
|
|
23
17
|
.s("AmazonS3", "ListBucketInventoryConfigurations", {})
|
|
24
18
|
.n("S3Client", "ListBucketInventoryConfigurationsCommand")
|
|
25
|
-
.
|
|
26
|
-
.ser(se_ListBucketInventoryConfigurationsCommand)
|
|
27
|
-
.de(de_ListBucketInventoryConfigurationsCommand)
|
|
19
|
+
.sc(ListBucketInventoryConfigurations)
|
|
28
20
|
.build() {
|
|
29
21
|
}
|
|
@@ -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 { ListBucketMetricsConfigurations } from "../schemas/schemas_0";
|
|
7
6
|
export { $Command };
|
|
8
7
|
export class ListBucketMetricsConfigurationsCommand extends $Command
|
|
9
8
|
.classBuilder()
|
|
@@ -12,16 +11,10 @@ export class ListBucketMetricsConfigurationsCommand extends $Command
|
|
|
12
11
|
Bucket: { type: "contextParams", name: "Bucket" },
|
|
13
12
|
})
|
|
14
13
|
.m(function (Command, cs, config, o) {
|
|
15
|
-
return [
|
|
16
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
17
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
18
|
-
getThrow200ExceptionsPlugin(config),
|
|
19
|
-
];
|
|
14
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions()), getThrow200ExceptionsPlugin(config)];
|
|
20
15
|
})
|
|
21
16
|
.s("AmazonS3", "ListBucketMetricsConfigurations", {})
|
|
22
17
|
.n("S3Client", "ListBucketMetricsConfigurationsCommand")
|
|
23
|
-
.
|
|
24
|
-
.ser(se_ListBucketMetricsConfigurationsCommand)
|
|
25
|
-
.de(de_ListBucketMetricsConfigurationsCommand)
|
|
18
|
+
.sc(ListBucketMetricsConfigurations)
|
|
26
19
|
.build() {
|
|
27
20
|
}
|
|
@@ -1,24 +1,17 @@
|
|
|
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 { ListBuckets } from "../schemas/schemas_0";
|
|
7
6
|
export { $Command };
|
|
8
7
|
export class ListBucketsCommand extends $Command
|
|
9
8
|
.classBuilder()
|
|
10
9
|
.ep(commonParams)
|
|
11
10
|
.m(function (Command, cs, config, o) {
|
|
12
|
-
return [
|
|
13
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
14
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
15
|
-
getThrow200ExceptionsPlugin(config),
|
|
16
|
-
];
|
|
11
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions()), getThrow200ExceptionsPlugin(config)];
|
|
17
12
|
})
|
|
18
13
|
.s("AmazonS3", "ListBuckets", {})
|
|
19
14
|
.n("S3Client", "ListBucketsCommand")
|
|
20
|
-
.
|
|
21
|
-
.ser(se_ListBucketsCommand)
|
|
22
|
-
.de(de_ListBucketsCommand)
|
|
15
|
+
.sc(ListBuckets)
|
|
23
16
|
.build() {
|
|
24
17
|
}
|
|
@@ -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 { ListDirectoryBuckets } from "../schemas/schemas_0";
|
|
7
6
|
export { $Command };
|
|
8
7
|
export class ListDirectoryBucketsCommand extends $Command
|
|
9
8
|
.classBuilder()
|
|
@@ -12,16 +11,10 @@ export class ListDirectoryBucketsCommand extends $Command
|
|
|
12
11
|
UseS3ExpressControlEndpoint: { type: "staticContextParams", value: true },
|
|
13
12
|
})
|
|
14
13
|
.m(function (Command, cs, config, o) {
|
|
15
|
-
return [
|
|
16
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
17
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
18
|
-
getThrow200ExceptionsPlugin(config),
|
|
19
|
-
];
|
|
14
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions()), getThrow200ExceptionsPlugin(config)];
|
|
20
15
|
})
|
|
21
16
|
.s("AmazonS3", "ListDirectoryBuckets", {})
|
|
22
17
|
.n("S3Client", "ListDirectoryBucketsCommand")
|
|
23
|
-
.
|
|
24
|
-
.ser(se_ListDirectoryBucketsCommand)
|
|
25
|
-
.de(de_ListDirectoryBucketsCommand)
|
|
18
|
+
.sc(ListDirectoryBuckets)
|
|
26
19
|
.build() {
|
|
27
20
|
}
|
|
@@ -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 { ListMultipartUploads } from "../schemas/schemas_0";
|
|
7
6
|
export { $Command };
|
|
8
7
|
export class ListMultipartUploadsCommand extends $Command
|
|
9
8
|
.classBuilder()
|
|
@@ -13,16 +12,10 @@ export class ListMultipartUploadsCommand extends $Command
|
|
|
13
12
|
Prefix: { type: "contextParams", name: "Prefix" },
|
|
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", "ListMultipartUploads", {})
|
|
23
18
|
.n("S3Client", "ListMultipartUploadsCommand")
|
|
24
|
-
.
|
|
25
|
-
.ser(se_ListMultipartUploadsCommand)
|
|
26
|
-
.de(de_ListMultipartUploadsCommand)
|
|
19
|
+
.sc(ListMultipartUploads)
|
|
27
20
|
.build() {
|
|
28
21
|
}
|
|
@@ -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 { ListObjectVersions } from "../schemas/schemas_0";
|
|
7
6
|
export { $Command };
|
|
8
7
|
export class ListObjectVersionsCommand extends $Command
|
|
9
8
|
.classBuilder()
|
|
@@ -13,16 +12,10 @@ export class ListObjectVersionsCommand extends $Command
|
|
|
13
12
|
Prefix: { type: "contextParams", name: "Prefix" },
|
|
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", "ListObjectVersions", {})
|
|
23
18
|
.n("S3Client", "ListObjectVersionsCommand")
|
|
24
|
-
.
|
|
25
|
-
.ser(se_ListObjectVersionsCommand)
|
|
26
|
-
.de(de_ListObjectVersionsCommand)
|
|
19
|
+
.sc(ListObjectVersions)
|
|
27
20
|
.build() {
|
|
28
21
|
}
|
|
@@ -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 { ListObjects } from "../schemas/schemas_0";
|
|
7
6
|
export { $Command };
|
|
8
7
|
export class ListObjectsCommand extends $Command
|
|
9
8
|
.classBuilder()
|
|
@@ -13,16 +12,10 @@ export class ListObjectsCommand extends $Command
|
|
|
13
12
|
Prefix: { type: "contextParams", name: "Prefix" },
|
|
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", "ListObjects", {})
|
|
23
18
|
.n("S3Client", "ListObjectsCommand")
|
|
24
|
-
.
|
|
25
|
-
.ser(se_ListObjectsCommand)
|
|
26
|
-
.de(de_ListObjectsCommand)
|
|
19
|
+
.sc(ListObjects)
|
|
27
20
|
.build() {
|
|
28
21
|
}
|
|
@@ -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 { ListObjectsV2 } from "../schemas/schemas_0";
|
|
7
6
|
export { $Command };
|
|
8
7
|
export class ListObjectsV2Command extends $Command
|
|
9
8
|
.classBuilder()
|
|
@@ -13,16 +12,10 @@ export class ListObjectsV2Command extends $Command
|
|
|
13
12
|
Prefix: { type: "contextParams", name: "Prefix" },
|
|
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", "ListObjectsV2", {})
|
|
23
18
|
.n("S3Client", "ListObjectsV2Command")
|
|
24
|
-
.
|
|
25
|
-
.ser(se_ListObjectsV2Command)
|
|
26
|
-
.de(de_ListObjectsV2Command)
|
|
19
|
+
.sc(ListObjectsV2)
|
|
27
20
|
.build() {
|
|
28
21
|
}
|
|
@@ -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_ListPartsCommand, se_ListPartsCommand } from "../protocols/Aws_restXml";
|
|
6
|
+
import { ListParts } from "../schemas/schemas_0";
|
|
9
7
|
export { $Command };
|
|
10
8
|
export class ListPartsCommand extends $Command
|
|
11
9
|
.classBuilder()
|
|
@@ -16,7 +14,6 @@ export class ListPartsCommand 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 ListPartsCommand extends $Command
|
|
|
24
21
|
})
|
|
25
22
|
.s("AmazonS3", "ListParts", {})
|
|
26
23
|
.n("S3Client", "ListPartsCommand")
|
|
27
|
-
.
|
|
28
|
-
.ser(se_ListPartsCommand)
|
|
29
|
-
.de(de_ListPartsCommand)
|
|
24
|
+
.sc(ListParts)
|
|
30
25
|
.build() {
|
|
31
26
|
}
|
|
@@ -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 { PutBucketAccelerateConfiguration } from "../schemas/schemas_0";
|
|
7
6
|
export { $Command };
|
|
8
7
|
export class PutBucketAccelerateConfigurationCommand extends $Command
|
|
9
8
|
.classBuilder()
|
|
@@ -14,7 +13,6 @@ export class PutBucketAccelerateConfigurationCommand 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 PutBucketAccelerateConfigurationCommand extends $Command
|
|
|
24
22
|
})
|
|
25
23
|
.s("AmazonS3", "PutBucketAccelerateConfiguration", {})
|
|
26
24
|
.n("S3Client", "PutBucketAccelerateConfigurationCommand")
|
|
27
|
-
.
|
|
28
|
-
.ser(se_PutBucketAccelerateConfigurationCommand)
|
|
29
|
-
.de(de_PutBucketAccelerateConfigurationCommand)
|
|
25
|
+
.sc(PutBucketAccelerateConfiguration)
|
|
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 { PutBucketAcl } from "../schemas/schemas_0";
|
|
7
6
|
export { $Command };
|
|
8
7
|
export class PutBucketAclCommand extends $Command
|
|
9
8
|
.classBuilder()
|
|
@@ -14,7 +13,6 @@ export class PutBucketAclCommand 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 PutBucketAclCommand extends $Command
|
|
|
24
22
|
})
|
|
25
23
|
.s("AmazonS3", "PutBucketAcl", {})
|
|
26
24
|
.n("S3Client", "PutBucketAclCommand")
|
|
27
|
-
.
|
|
28
|
-
.ser(se_PutBucketAclCommand)
|
|
29
|
-
.de(de_PutBucketAclCommand)
|
|
25
|
+
.sc(PutBucketAcl)
|
|
30
26
|
.build() {
|
|
31
27
|
}
|
|
@@ -1,8 +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 {
|
|
4
|
+
import { PutBucketAnalyticsConfiguration } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class PutBucketAnalyticsConfigurationCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
@@ -12,15 +11,10 @@ export class PutBucketAnalyticsConfigurationCommand extends $Command
|
|
|
12
11
|
Bucket: { type: "contextParams", name: "Bucket" },
|
|
13
12
|
})
|
|
14
13
|
.m(function (Command, cs, config, o) {
|
|
15
|
-
return [
|
|
16
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
17
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
18
|
-
];
|
|
14
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
19
15
|
})
|
|
20
16
|
.s("AmazonS3", "PutBucketAnalyticsConfiguration", {})
|
|
21
17
|
.n("S3Client", "PutBucketAnalyticsConfigurationCommand")
|
|
22
|
-
.
|
|
23
|
-
.ser(se_PutBucketAnalyticsConfigurationCommand)
|
|
24
|
-
.de(de_PutBucketAnalyticsConfigurationCommand)
|
|
18
|
+
.sc(PutBucketAnalyticsConfiguration)
|
|
25
19
|
.build() {
|
|
26
20
|
}
|
|
@@ -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 { PutBucketCors } from "../schemas/schemas_0";
|
|
7
6
|
export { $Command };
|
|
8
7
|
export class PutBucketCorsCommand extends $Command
|
|
9
8
|
.classBuilder()
|
|
@@ -14,7 +13,6 @@ export class PutBucketCorsCommand 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 PutBucketCorsCommand extends $Command
|
|
|
24
22
|
})
|
|
25
23
|
.s("AmazonS3", "PutBucketCors", {})
|
|
26
24
|
.n("S3Client", "PutBucketCorsCommand")
|
|
27
|
-
.
|
|
28
|
-
.ser(se_PutBucketCorsCommand)
|
|
29
|
-
.de(de_PutBucketCorsCommand)
|
|
25
|
+
.sc(PutBucketCors)
|
|
30
26
|
.build() {
|
|
31
27
|
}
|
|
@@ -1,10 +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 {
|
|
7
|
-
import { de_PutBucketEncryptionCommand, se_PutBucketEncryptionCommand } from "../protocols/Aws_restXml";
|
|
5
|
+
import { PutBucketEncryption } from "../schemas/schemas_0";
|
|
8
6
|
export { $Command };
|
|
9
7
|
export class PutBucketEncryptionCommand extends $Command
|
|
10
8
|
.classBuilder()
|
|
@@ -15,7 +13,6 @@ export class PutBucketEncryptionCommand 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" },
|
|
@@ -25,8 +22,6 @@ export class PutBucketEncryptionCommand extends $Command
|
|
|
25
22
|
})
|
|
26
23
|
.s("AmazonS3", "PutBucketEncryption", {})
|
|
27
24
|
.n("S3Client", "PutBucketEncryptionCommand")
|
|
28
|
-
.
|
|
29
|
-
.ser(se_PutBucketEncryptionCommand)
|
|
30
|
-
.de(de_PutBucketEncryptionCommand)
|
|
25
|
+
.sc(PutBucketEncryption)
|
|
31
26
|
.build() {
|
|
32
27
|
}
|
|
@@ -1,8 +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 {
|
|
4
|
+
import { PutBucketIntelligentTieringConfiguration } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class PutBucketIntelligentTieringConfigurationCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
@@ -12,15 +11,10 @@ export class PutBucketIntelligentTieringConfigurationCommand extends $Command
|
|
|
12
11
|
Bucket: { type: "contextParams", name: "Bucket" },
|
|
13
12
|
})
|
|
14
13
|
.m(function (Command, cs, config, o) {
|
|
15
|
-
return [
|
|
16
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
17
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
18
|
-
];
|
|
14
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
19
15
|
})
|
|
20
16
|
.s("AmazonS3", "PutBucketIntelligentTieringConfiguration", {})
|
|
21
17
|
.n("S3Client", "PutBucketIntelligentTieringConfigurationCommand")
|
|
22
|
-
.
|
|
23
|
-
.ser(se_PutBucketIntelligentTieringConfigurationCommand)
|
|
24
|
-
.de(de_PutBucketIntelligentTieringConfigurationCommand)
|
|
18
|
+
.sc(PutBucketIntelligentTieringConfiguration)
|
|
25
19
|
.build() {
|
|
26
20
|
}
|
|
@@ -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_PutBucketInventoryConfigurationCommand, se_PutBucketInventoryConfigurationCommand, } from "../protocols/Aws_restXml";
|
|
4
|
+
import { PutBucketInventoryConfiguration } from "../schemas/schemas_0";
|
|
7
5
|
export { $Command };
|
|
8
6
|
export class PutBucketInventoryConfigurationCommand extends $Command
|
|
9
7
|
.classBuilder()
|
|
@@ -13,15 +11,10 @@ export class PutBucketInventoryConfigurationCommand extends $Command
|
|
|
13
11
|
Bucket: { type: "contextParams", name: "Bucket" },
|
|
14
12
|
})
|
|
15
13
|
.m(function (Command, cs, config, o) {
|
|
16
|
-
return [
|
|
17
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
18
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
19
|
-
];
|
|
14
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
20
15
|
})
|
|
21
16
|
.s("AmazonS3", "PutBucketInventoryConfiguration", {})
|
|
22
17
|
.n("S3Client", "PutBucketInventoryConfigurationCommand")
|
|
23
|
-
.
|
|
24
|
-
.ser(se_PutBucketInventoryConfigurationCommand)
|
|
25
|
-
.de(de_PutBucketInventoryConfigurationCommand)
|
|
18
|
+
.sc(PutBucketInventoryConfiguration)
|
|
26
19
|
.build() {
|
|
27
20
|
}
|
|
@@ -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 { PutBucketLifecycleConfiguration } from "../schemas/schemas_0";
|
|
8
7
|
export { $Command };
|
|
9
8
|
export class PutBucketLifecycleConfigurationCommand extends $Command
|
|
10
9
|
.classBuilder()
|
|
@@ -15,7 +14,6 @@ export class PutBucketLifecycleConfigurationCommand 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 PutBucketLifecycleConfigurationCommand extends $Command
|
|
|
26
24
|
})
|
|
27
25
|
.s("AmazonS3", "PutBucketLifecycleConfiguration", {})
|
|
28
26
|
.n("S3Client", "PutBucketLifecycleConfigurationCommand")
|
|
29
|
-
.
|
|
30
|
-
.ser(se_PutBucketLifecycleConfigurationCommand)
|
|
31
|
-
.de(de_PutBucketLifecycleConfigurationCommand)
|
|
27
|
+
.sc(PutBucketLifecycleConfiguration)
|
|
32
28
|
.build() {
|
|
33
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 { PutBucketLogging } from "../schemas/schemas_0";
|
|
7
6
|
export { $Command };
|
|
8
7
|
export class PutBucketLoggingCommand extends $Command
|
|
9
8
|
.classBuilder()
|
|
@@ -14,7 +13,6 @@ export class PutBucketLoggingCommand 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 PutBucketLoggingCommand extends $Command
|
|
|
24
22
|
})
|
|
25
23
|
.s("AmazonS3", "PutBucketLogging", {})
|
|
26
24
|
.n("S3Client", "PutBucketLoggingCommand")
|
|
27
|
-
.
|
|
28
|
-
.ser(se_PutBucketLoggingCommand)
|
|
29
|
-
.de(de_PutBucketLoggingCommand)
|
|
25
|
+
.sc(PutBucketLogging)
|
|
30
26
|
.build() {
|
|
31
27
|
}
|
|
@@ -1,8 +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 {
|
|
4
|
+
import { PutBucketMetricsConfiguration } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class PutBucketMetricsConfigurationCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
@@ -12,15 +11,10 @@ export class PutBucketMetricsConfigurationCommand extends $Command
|
|
|
12
11
|
Bucket: { type: "contextParams", name: "Bucket" },
|
|
13
12
|
})
|
|
14
13
|
.m(function (Command, cs, config, o) {
|
|
15
|
-
return [
|
|
16
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
17
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
18
|
-
];
|
|
14
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
19
15
|
})
|
|
20
16
|
.s("AmazonS3", "PutBucketMetricsConfiguration", {})
|
|
21
17
|
.n("S3Client", "PutBucketMetricsConfigurationCommand")
|
|
22
|
-
.
|
|
23
|
-
.ser(se_PutBucketMetricsConfigurationCommand)
|
|
24
|
-
.de(de_PutBucketMetricsConfigurationCommand)
|
|
18
|
+
.sc(PutBucketMetricsConfiguration)
|
|
25
19
|
.build() {
|
|
26
20
|
}
|
|
@@ -1,8 +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 {
|
|
4
|
+
import { PutBucketNotificationConfiguration } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class PutBucketNotificationConfigurationCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
@@ -12,15 +11,10 @@ export class PutBucketNotificationConfigurationCommand extends $Command
|
|
|
12
11
|
Bucket: { type: "contextParams", name: "Bucket" },
|
|
13
12
|
})
|
|
14
13
|
.m(function (Command, cs, config, o) {
|
|
15
|
-
return [
|
|
16
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
17
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
18
|
-
];
|
|
14
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
19
15
|
})
|
|
20
16
|
.s("AmazonS3", "PutBucketNotificationConfiguration", {})
|
|
21
17
|
.n("S3Client", "PutBucketNotificationConfigurationCommand")
|
|
22
|
-
.
|
|
23
|
-
.ser(se_PutBucketNotificationConfigurationCommand)
|
|
24
|
-
.de(de_PutBucketNotificationConfigurationCommand)
|
|
18
|
+
.sc(PutBucketNotificationConfiguration)
|
|
25
19
|
.build() {
|
|
26
20
|
}
|
|
@@ -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 { PutBucketOwnershipControls } from "../schemas/schemas_0";
|
|
7
6
|
export { $Command };
|
|
8
7
|
export class PutBucketOwnershipControlsCommand extends $Command
|
|
9
8
|
.classBuilder()
|
|
@@ -14,7 +13,6 @@ export class PutBucketOwnershipControlsCommand 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 PutBucketOwnershipControlsCommand extends $Command
|
|
|
24
22
|
})
|
|
25
23
|
.s("AmazonS3", "PutBucketOwnershipControls", {})
|
|
26
24
|
.n("S3Client", "PutBucketOwnershipControlsCommand")
|
|
27
|
-
.
|
|
28
|
-
.ser(se_PutBucketOwnershipControlsCommand)
|
|
29
|
-
.de(de_PutBucketOwnershipControlsCommand)
|
|
25
|
+
.sc(PutBucketOwnershipControls)
|
|
30
26
|
.build() {
|
|
31
27
|
}
|