@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,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 { DeleteBucketReplication } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class DeleteBucketReplicationCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
@@ -12,15 +11,10 @@ export class DeleteBucketReplicationCommand 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", "DeleteBucketReplication", {})
|
|
21
17
|
.n("S3Client", "DeleteBucketReplicationCommand")
|
|
22
|
-
.
|
|
23
|
-
.ser(se_DeleteBucketReplicationCommand)
|
|
24
|
-
.de(de_DeleteBucketReplicationCommand)
|
|
18
|
+
.sc(DeleteBucketReplication)
|
|
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 { DeleteBucketTagging } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class DeleteBucketTaggingCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
@@ -12,15 +11,10 @@ export class DeleteBucketTaggingCommand 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", "DeleteBucketTagging", {})
|
|
21
17
|
.n("S3Client", "DeleteBucketTaggingCommand")
|
|
22
|
-
.
|
|
23
|
-
.ser(se_DeleteBucketTaggingCommand)
|
|
24
|
-
.de(de_DeleteBucketTaggingCommand)
|
|
18
|
+
.sc(DeleteBucketTagging)
|
|
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 { DeleteBucketWebsite } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class DeleteBucketWebsiteCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
@@ -12,15 +11,10 @@ export class DeleteBucketWebsiteCommand 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", "DeleteBucketWebsite", {})
|
|
21
17
|
.n("S3Client", "DeleteBucketWebsiteCommand")
|
|
22
|
-
.
|
|
23
|
-
.ser(se_DeleteBucketWebsiteCommand)
|
|
24
|
-
.de(de_DeleteBucketWebsiteCommand)
|
|
18
|
+
.sc(DeleteBucketWebsite)
|
|
25
19
|
.build() {
|
|
26
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 { DeleteObject } from "../schemas/schemas_0";
|
|
7
6
|
export { $Command };
|
|
8
7
|
export class DeleteObjectCommand extends $Command
|
|
9
8
|
.classBuilder()
|
|
@@ -13,16 +12,10 @@ export class DeleteObjectCommand 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", "DeleteObject", {})
|
|
23
18
|
.n("S3Client", "DeleteObjectCommand")
|
|
24
|
-
.
|
|
25
|
-
.ser(se_DeleteObjectCommand)
|
|
26
|
-
.de(de_DeleteObjectCommand)
|
|
19
|
+
.sc(DeleteObject)
|
|
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 { DeleteObjectTagging } from "../schemas/schemas_0";
|
|
7
6
|
export { $Command };
|
|
8
7
|
export class DeleteObjectTaggingCommand extends $Command
|
|
9
8
|
.classBuilder()
|
|
@@ -12,16 +11,10 @@ export class DeleteObjectTaggingCommand 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", "DeleteObjectTagging", {})
|
|
22
17
|
.n("S3Client", "DeleteObjectTaggingCommand")
|
|
23
|
-
.
|
|
24
|
-
.ser(se_DeleteObjectTaggingCommand)
|
|
25
|
-
.de(de_DeleteObjectTaggingCommand)
|
|
18
|
+
.sc(DeleteObjectTagging)
|
|
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 { DeleteObjects } from "../schemas/schemas_0";
|
|
8
7
|
export { $Command };
|
|
9
8
|
export class DeleteObjectsCommand extends $Command
|
|
10
9
|
.classBuilder()
|
|
@@ -14,7 +13,6 @@ export class DeleteObjectsCommand 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 DeleteObjectsCommand extends $Command
|
|
|
25
23
|
})
|
|
26
24
|
.s("AmazonS3", "DeleteObjects", {})
|
|
27
25
|
.n("S3Client", "DeleteObjectsCommand")
|
|
28
|
-
.
|
|
29
|
-
.ser(se_DeleteObjectsCommand)
|
|
30
|
-
.de(de_DeleteObjectsCommand)
|
|
26
|
+
.sc(DeleteObjects)
|
|
31
27
|
.build() {
|
|
32
28
|
}
|
|
@@ -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 { DeletePublicAccessBlock } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class DeletePublicAccessBlockCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
@@ -12,15 +11,10 @@ export class DeletePublicAccessBlockCommand 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", "DeletePublicAccessBlock", {})
|
|
21
17
|
.n("S3Client", "DeletePublicAccessBlockCommand")
|
|
22
|
-
.
|
|
23
|
-
.ser(se_DeletePublicAccessBlockCommand)
|
|
24
|
-
.de(de_DeletePublicAccessBlockCommand)
|
|
18
|
+
.sc(DeletePublicAccessBlock)
|
|
25
19
|
.build() {
|
|
26
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 { GetBucketAccelerateConfiguration } from "../schemas/schemas_0";
|
|
7
6
|
export { $Command };
|
|
8
7
|
export class GetBucketAccelerateConfigurationCommand extends $Command
|
|
9
8
|
.classBuilder()
|
|
@@ -13,16 +12,10 @@ export class GetBucketAccelerateConfigurationCommand extends $Command
|
|
|
13
12
|
Bucket: { type: "contextParams", name: "Bucket" },
|
|
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", "GetBucketAccelerateConfiguration", {})
|
|
23
18
|
.n("S3Client", "GetBucketAccelerateConfigurationCommand")
|
|
24
|
-
.
|
|
25
|
-
.ser(se_GetBucketAccelerateConfigurationCommand)
|
|
26
|
-
.de(de_GetBucketAccelerateConfigurationCommand)
|
|
19
|
+
.sc(GetBucketAccelerateConfiguration)
|
|
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 { GetBucketAcl } from "../schemas/schemas_0";
|
|
7
6
|
export { $Command };
|
|
8
7
|
export class GetBucketAclCommand extends $Command
|
|
9
8
|
.classBuilder()
|
|
@@ -13,16 +12,10 @@ export class GetBucketAclCommand extends $Command
|
|
|
13
12
|
Bucket: { type: "contextParams", name: "Bucket" },
|
|
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", "GetBucketAcl", {})
|
|
23
18
|
.n("S3Client", "GetBucketAclCommand")
|
|
24
|
-
.
|
|
25
|
-
.ser(se_GetBucketAclCommand)
|
|
26
|
-
.de(de_GetBucketAclCommand)
|
|
19
|
+
.sc(GetBucketAcl)
|
|
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 { GetBucketAnalyticsConfiguration } from "../schemas/schemas_0";
|
|
7
6
|
export { $Command };
|
|
8
7
|
export class GetBucketAnalyticsConfigurationCommand extends $Command
|
|
9
8
|
.classBuilder()
|
|
@@ -13,16 +12,10 @@ export class GetBucketAnalyticsConfigurationCommand extends $Command
|
|
|
13
12
|
Bucket: { type: "contextParams", name: "Bucket" },
|
|
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", "GetBucketAnalyticsConfiguration", {})
|
|
23
18
|
.n("S3Client", "GetBucketAnalyticsConfigurationCommand")
|
|
24
|
-
.
|
|
25
|
-
.ser(se_GetBucketAnalyticsConfigurationCommand)
|
|
26
|
-
.de(de_GetBucketAnalyticsConfigurationCommand)
|
|
19
|
+
.sc(GetBucketAnalyticsConfiguration)
|
|
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 { GetBucketCors } from "../schemas/schemas_0";
|
|
7
6
|
export { $Command };
|
|
8
7
|
export class GetBucketCorsCommand extends $Command
|
|
9
8
|
.classBuilder()
|
|
@@ -13,16 +12,10 @@ export class GetBucketCorsCommand extends $Command
|
|
|
13
12
|
Bucket: { type: "contextParams", name: "Bucket" },
|
|
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", "GetBucketCors", {})
|
|
23
18
|
.n("S3Client", "GetBucketCorsCommand")
|
|
24
|
-
.
|
|
25
|
-
.ser(se_GetBucketCorsCommand)
|
|
26
|
-
.de(de_GetBucketCorsCommand)
|
|
19
|
+
.sc(GetBucketCors)
|
|
27
20
|
.build() {
|
|
28
21
|
}
|
|
@@ -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_GetBucketEncryptionCommand, se_GetBucketEncryptionCommand } from "../protocols/Aws_restXml";
|
|
5
|
+
import { GetBucketEncryption } from "../schemas/schemas_0";
|
|
8
6
|
export { $Command };
|
|
9
7
|
export class GetBucketEncryptionCommand extends $Command
|
|
10
8
|
.classBuilder()
|
|
@@ -14,16 +12,10 @@ export class GetBucketEncryptionCommand 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", "GetBucketEncryption", {})
|
|
24
18
|
.n("S3Client", "GetBucketEncryptionCommand")
|
|
25
|
-
.
|
|
26
|
-
.ser(se_GetBucketEncryptionCommand)
|
|
27
|
-
.de(de_GetBucketEncryptionCommand)
|
|
19
|
+
.sc(GetBucketEncryption)
|
|
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 { GetBucketIntelligentTieringConfiguration } from "../schemas/schemas_0";
|
|
7
6
|
export { $Command };
|
|
8
7
|
export class GetBucketIntelligentTieringConfigurationCommand extends $Command
|
|
9
8
|
.classBuilder()
|
|
@@ -13,16 +12,10 @@ export class GetBucketIntelligentTieringConfigurationCommand extends $Command
|
|
|
13
12
|
Bucket: { type: "contextParams", name: "Bucket" },
|
|
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", "GetBucketIntelligentTieringConfiguration", {})
|
|
23
18
|
.n("S3Client", "GetBucketIntelligentTieringConfigurationCommand")
|
|
24
|
-
.
|
|
25
|
-
.ser(se_GetBucketIntelligentTieringConfigurationCommand)
|
|
26
|
-
.de(de_GetBucketIntelligentTieringConfigurationCommand)
|
|
19
|
+
.sc(GetBucketIntelligentTieringConfiguration)
|
|
27
20
|
.build() {
|
|
28
21
|
}
|
|
@@ -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_GetBucketInventoryConfigurationCommand, se_GetBucketInventoryConfigurationCommand, } from "../protocols/Aws_restXml";
|
|
5
|
+
import { GetBucketInventoryConfiguration } from "../schemas/schemas_0";
|
|
8
6
|
export { $Command };
|
|
9
7
|
export class GetBucketInventoryConfigurationCommand extends $Command
|
|
10
8
|
.classBuilder()
|
|
@@ -14,16 +12,10 @@ export class GetBucketInventoryConfigurationCommand 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", "GetBucketInventoryConfiguration", {})
|
|
24
18
|
.n("S3Client", "GetBucketInventoryConfigurationCommand")
|
|
25
|
-
.
|
|
26
|
-
.ser(se_GetBucketInventoryConfigurationCommand)
|
|
27
|
-
.de(de_GetBucketInventoryConfigurationCommand)
|
|
19
|
+
.sc(GetBucketInventoryConfiguration)
|
|
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 { GetBucketLifecycleConfiguration } from "../schemas/schemas_0";
|
|
7
6
|
export { $Command };
|
|
8
7
|
export class GetBucketLifecycleConfigurationCommand extends $Command
|
|
9
8
|
.classBuilder()
|
|
@@ -13,16 +12,10 @@ export class GetBucketLifecycleConfigurationCommand extends $Command
|
|
|
13
12
|
Bucket: { type: "contextParams", name: "Bucket" },
|
|
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", "GetBucketLifecycleConfiguration", {})
|
|
23
18
|
.n("S3Client", "GetBucketLifecycleConfigurationCommand")
|
|
24
|
-
.
|
|
25
|
-
.ser(se_GetBucketLifecycleConfigurationCommand)
|
|
26
|
-
.de(de_GetBucketLifecycleConfigurationCommand)
|
|
19
|
+
.sc(GetBucketLifecycleConfiguration)
|
|
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 { GetBucketLocation } from "../schemas/schemas_0";
|
|
7
6
|
export { $Command };
|
|
8
7
|
export class GetBucketLocationCommand extends $Command
|
|
9
8
|
.classBuilder()
|
|
@@ -13,16 +12,10 @@ export class GetBucketLocationCommand extends $Command
|
|
|
13
12
|
Bucket: { type: "contextParams", name: "Bucket" },
|
|
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", "GetBucketLocation", {})
|
|
23
18
|
.n("S3Client", "GetBucketLocationCommand")
|
|
24
|
-
.
|
|
25
|
-
.ser(se_GetBucketLocationCommand)
|
|
26
|
-
.de(de_GetBucketLocationCommand)
|
|
19
|
+
.sc(GetBucketLocation)
|
|
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 { GetBucketLogging } from "../schemas/schemas_0";
|
|
7
6
|
export { $Command };
|
|
8
7
|
export class GetBucketLoggingCommand extends $Command
|
|
9
8
|
.classBuilder()
|
|
@@ -13,16 +12,10 @@ export class GetBucketLoggingCommand extends $Command
|
|
|
13
12
|
Bucket: { type: "contextParams", name: "Bucket" },
|
|
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", "GetBucketLogging", {})
|
|
23
18
|
.n("S3Client", "GetBucketLoggingCommand")
|
|
24
|
-
.
|
|
25
|
-
.ser(se_GetBucketLoggingCommand)
|
|
26
|
-
.de(de_GetBucketLoggingCommand)
|
|
19
|
+
.sc(GetBucketLogging)
|
|
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 { GetBucketMetadataConfiguration } from "../schemas/schemas_0";
|
|
7
6
|
export { $Command };
|
|
8
7
|
export class GetBucketMetadataConfigurationCommand extends $Command
|
|
9
8
|
.classBuilder()
|
|
@@ -13,16 +12,10 @@ export class GetBucketMetadataConfigurationCommand extends $Command
|
|
|
13
12
|
Bucket: { type: "contextParams", name: "Bucket" },
|
|
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", "GetBucketMetadataConfiguration", {})
|
|
23
18
|
.n("S3Client", "GetBucketMetadataConfigurationCommand")
|
|
24
|
-
.
|
|
25
|
-
.ser(se_GetBucketMetadataConfigurationCommand)
|
|
26
|
-
.de(de_GetBucketMetadataConfigurationCommand)
|
|
19
|
+
.sc(GetBucketMetadataConfiguration)
|
|
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 { GetBucketMetadataTableConfiguration } from "../schemas/schemas_0";
|
|
7
6
|
export { $Command };
|
|
8
7
|
export class GetBucketMetadataTableConfigurationCommand extends $Command
|
|
9
8
|
.classBuilder()
|
|
@@ -13,16 +12,10 @@ export class GetBucketMetadataTableConfigurationCommand extends $Command
|
|
|
13
12
|
Bucket: { type: "contextParams", name: "Bucket" },
|
|
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", "GetBucketMetadataTableConfiguration", {})
|
|
23
18
|
.n("S3Client", "GetBucketMetadataTableConfigurationCommand")
|
|
24
|
-
.
|
|
25
|
-
.ser(se_GetBucketMetadataTableConfigurationCommand)
|
|
26
|
-
.de(de_GetBucketMetadataTableConfigurationCommand)
|
|
19
|
+
.sc(GetBucketMetadataTableConfiguration)
|
|
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 { GetBucketMetricsConfiguration } from "../schemas/schemas_0";
|
|
7
6
|
export { $Command };
|
|
8
7
|
export class GetBucketMetricsConfigurationCommand extends $Command
|
|
9
8
|
.classBuilder()
|
|
@@ -13,16 +12,10 @@ export class GetBucketMetricsConfigurationCommand extends $Command
|
|
|
13
12
|
Bucket: { type: "contextParams", name: "Bucket" },
|
|
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", "GetBucketMetricsConfiguration", {})
|
|
23
18
|
.n("S3Client", "GetBucketMetricsConfigurationCommand")
|
|
24
|
-
.
|
|
25
|
-
.ser(se_GetBucketMetricsConfigurationCommand)
|
|
26
|
-
.de(de_GetBucketMetricsConfigurationCommand)
|
|
19
|
+
.sc(GetBucketMetricsConfiguration)
|
|
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 { GetBucketNotificationConfiguration } from "../schemas/schemas_0";
|
|
7
6
|
export { $Command };
|
|
8
7
|
export class GetBucketNotificationConfigurationCommand extends $Command
|
|
9
8
|
.classBuilder()
|
|
@@ -13,16 +12,10 @@ export class GetBucketNotificationConfigurationCommand extends $Command
|
|
|
13
12
|
Bucket: { type: "contextParams", name: "Bucket" },
|
|
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", "GetBucketNotificationConfiguration", {})
|
|
23
18
|
.n("S3Client", "GetBucketNotificationConfigurationCommand")
|
|
24
|
-
.
|
|
25
|
-
.ser(se_GetBucketNotificationConfigurationCommand)
|
|
26
|
-
.de(de_GetBucketNotificationConfigurationCommand)
|
|
19
|
+
.sc(GetBucketNotificationConfiguration)
|
|
27
20
|
.build() {
|
|
28
21
|
}
|