@aws-sdk/client-s3 3.930.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 +9 -11
- 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 { 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 { GetBucketOwnershipControls } from "../schemas/schemas_0";
|
|
7
6
|
export { $Command };
|
|
8
7
|
export class GetBucketOwnershipControlsCommand extends $Command
|
|
9
8
|
.classBuilder()
|
|
@@ -13,16 +12,10 @@ export class GetBucketOwnershipControlsCommand 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", "GetBucketOwnershipControls", {})
|
|
23
18
|
.n("S3Client", "GetBucketOwnershipControlsCommand")
|
|
24
|
-
.
|
|
25
|
-
.ser(se_GetBucketOwnershipControlsCommand)
|
|
26
|
-
.de(de_GetBucketOwnershipControlsCommand)
|
|
19
|
+
.sc(GetBucketOwnershipControls)
|
|
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 { GetBucketPolicy } from "../schemas/schemas_0";
|
|
7
6
|
export { $Command };
|
|
8
7
|
export class GetBucketPolicyCommand extends $Command
|
|
9
8
|
.classBuilder()
|
|
@@ -13,16 +12,10 @@ export class GetBucketPolicyCommand 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", "GetBucketPolicy", {})
|
|
23
18
|
.n("S3Client", "GetBucketPolicyCommand")
|
|
24
|
-
.
|
|
25
|
-
.ser(se_GetBucketPolicyCommand)
|
|
26
|
-
.de(de_GetBucketPolicyCommand)
|
|
19
|
+
.sc(GetBucketPolicy)
|
|
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 { GetBucketPolicyStatus } from "../schemas/schemas_0";
|
|
7
6
|
export { $Command };
|
|
8
7
|
export class GetBucketPolicyStatusCommand extends $Command
|
|
9
8
|
.classBuilder()
|
|
@@ -13,16 +12,10 @@ export class GetBucketPolicyStatusCommand 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", "GetBucketPolicyStatus", {})
|
|
23
18
|
.n("S3Client", "GetBucketPolicyStatusCommand")
|
|
24
|
-
.
|
|
25
|
-
.ser(se_GetBucketPolicyStatusCommand)
|
|
26
|
-
.de(de_GetBucketPolicyStatusCommand)
|
|
19
|
+
.sc(GetBucketPolicyStatus)
|
|
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 { GetBucketReplication } from "../schemas/schemas_0";
|
|
7
6
|
export { $Command };
|
|
8
7
|
export class GetBucketReplicationCommand extends $Command
|
|
9
8
|
.classBuilder()
|
|
@@ -13,16 +12,10 @@ export class GetBucketReplicationCommand 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", "GetBucketReplication", {})
|
|
23
18
|
.n("S3Client", "GetBucketReplicationCommand")
|
|
24
|
-
.
|
|
25
|
-
.ser(se_GetBucketReplicationCommand)
|
|
26
|
-
.de(de_GetBucketReplicationCommand)
|
|
19
|
+
.sc(GetBucketReplication)
|
|
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 { GetBucketRequestPayment } from "../schemas/schemas_0";
|
|
7
6
|
export { $Command };
|
|
8
7
|
export class GetBucketRequestPaymentCommand extends $Command
|
|
9
8
|
.classBuilder()
|
|
@@ -13,16 +12,10 @@ export class GetBucketRequestPaymentCommand 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", "GetBucketRequestPayment", {})
|
|
23
18
|
.n("S3Client", "GetBucketRequestPaymentCommand")
|
|
24
|
-
.
|
|
25
|
-
.ser(se_GetBucketRequestPaymentCommand)
|
|
26
|
-
.de(de_GetBucketRequestPaymentCommand)
|
|
19
|
+
.sc(GetBucketRequestPayment)
|
|
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 { GetBucketTagging } from "../schemas/schemas_0";
|
|
7
6
|
export { $Command };
|
|
8
7
|
export class GetBucketTaggingCommand extends $Command
|
|
9
8
|
.classBuilder()
|
|
@@ -13,16 +12,10 @@ export class GetBucketTaggingCommand 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", "GetBucketTagging", {})
|
|
23
18
|
.n("S3Client", "GetBucketTaggingCommand")
|
|
24
|
-
.
|
|
25
|
-
.ser(se_GetBucketTaggingCommand)
|
|
26
|
-
.de(de_GetBucketTaggingCommand)
|
|
19
|
+
.sc(GetBucketTagging)
|
|
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 { GetBucketVersioning } from "../schemas/schemas_0";
|
|
7
6
|
export { $Command };
|
|
8
7
|
export class GetBucketVersioningCommand extends $Command
|
|
9
8
|
.classBuilder()
|
|
@@ -13,16 +12,10 @@ export class GetBucketVersioningCommand 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", "GetBucketVersioning", {})
|
|
23
18
|
.n("S3Client", "GetBucketVersioningCommand")
|
|
24
|
-
.
|
|
25
|
-
.ser(se_GetBucketVersioningCommand)
|
|
26
|
-
.de(de_GetBucketVersioningCommand)
|
|
19
|
+
.sc(GetBucketVersioning)
|
|
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 { GetBucketWebsite } from "../schemas/schemas_0";
|
|
7
6
|
export { $Command };
|
|
8
7
|
export class GetBucketWebsiteCommand extends $Command
|
|
9
8
|
.classBuilder()
|
|
@@ -13,16 +12,10 @@ export class GetBucketWebsiteCommand 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", "GetBucketWebsite", {})
|
|
23
18
|
.n("S3Client", "GetBucketWebsiteCommand")
|
|
24
|
-
.
|
|
25
|
-
.ser(se_GetBucketWebsiteCommand)
|
|
26
|
-
.de(de_GetBucketWebsiteCommand)
|
|
19
|
+
.sc(GetBucketWebsite)
|
|
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 { GetObjectAcl } from "../schemas/schemas_0";
|
|
7
6
|
export { $Command };
|
|
8
7
|
export class GetObjectAclCommand extends $Command
|
|
9
8
|
.classBuilder()
|
|
@@ -13,16 +12,10 @@ export class GetObjectAclCommand 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", "GetObjectAcl", {})
|
|
23
18
|
.n("S3Client", "GetObjectAclCommand")
|
|
24
|
-
.
|
|
25
|
-
.ser(se_GetObjectAclCommand)
|
|
26
|
-
.de(de_GetObjectAclCommand)
|
|
19
|
+
.sc(GetObjectAcl)
|
|
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_GetObjectAttributesCommand, se_GetObjectAttributesCommand } from "../protocols/Aws_restXml";
|
|
6
|
+
import { GetObjectAttributes } from "../schemas/schemas_0";
|
|
9
7
|
export { $Command };
|
|
10
8
|
export class GetObjectAttributesCommand extends $Command
|
|
11
9
|
.classBuilder()
|
|
@@ -15,7 +13,6 @@ export class GetObjectAttributesCommand 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),
|
|
@@ -23,8 +20,6 @@ export class GetObjectAttributesCommand extends $Command
|
|
|
23
20
|
})
|
|
24
21
|
.s("AmazonS3", "GetObjectAttributes", {})
|
|
25
22
|
.n("S3Client", "GetObjectAttributesCommand")
|
|
26
|
-
.
|
|
27
|
-
.ser(se_GetObjectAttributesCommand)
|
|
28
|
-
.de(de_GetObjectAttributesCommand)
|
|
23
|
+
.sc(GetObjectAttributes)
|
|
29
24
|
.build() {
|
|
30
25
|
}
|
|
@@ -2,11 +2,9 @@ import { getFlexibleChecksumsPlugin } from "@aws-sdk/middleware-flexible-checksu
|
|
|
2
2
|
import { getS3ExpiresMiddlewarePlugin } 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_GetObjectCommand, se_GetObjectCommand } from "../protocols/Aws_restXml";
|
|
7
|
+
import { GetObject } from "../schemas/schemas_0";
|
|
10
8
|
export { $Command };
|
|
11
9
|
export class GetObjectCommand extends $Command
|
|
12
10
|
.classBuilder()
|
|
@@ -17,7 +15,6 @@ export class GetObjectCommand 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
|
requestChecksumRequired: false,
|
|
@@ -30,8 +27,6 @@ export class GetObjectCommand extends $Command
|
|
|
30
27
|
})
|
|
31
28
|
.s("AmazonS3", "GetObject", {})
|
|
32
29
|
.n("S3Client", "GetObjectCommand")
|
|
33
|
-
.
|
|
34
|
-
.ser(se_GetObjectCommand)
|
|
35
|
-
.de(de_GetObjectCommand)
|
|
30
|
+
.sc(GetObject)
|
|
36
31
|
.build() {
|
|
37
32
|
}
|
|
@@ -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 { GetObjectLegalHold } from "../schemas/schemas_0";
|
|
7
6
|
export { $Command };
|
|
8
7
|
export class GetObjectLegalHoldCommand extends $Command
|
|
9
8
|
.classBuilder()
|
|
@@ -12,16 +11,10 @@ export class GetObjectLegalHoldCommand 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", "GetObjectLegalHold", {})
|
|
22
17
|
.n("S3Client", "GetObjectLegalHoldCommand")
|
|
23
|
-
.
|
|
24
|
-
.ser(se_GetObjectLegalHoldCommand)
|
|
25
|
-
.de(de_GetObjectLegalHoldCommand)
|
|
18
|
+
.sc(GetObjectLegalHold)
|
|
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 { GetObjectLockConfiguration } from "../schemas/schemas_0";
|
|
7
6
|
export { $Command };
|
|
8
7
|
export class GetObjectLockConfigurationCommand extends $Command
|
|
9
8
|
.classBuilder()
|
|
@@ -12,16 +11,10 @@ export class GetObjectLockConfigurationCommand 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", "GetObjectLockConfiguration", {})
|
|
22
17
|
.n("S3Client", "GetObjectLockConfigurationCommand")
|
|
23
|
-
.
|
|
24
|
-
.ser(se_GetObjectLockConfigurationCommand)
|
|
25
|
-
.de(de_GetObjectLockConfigurationCommand)
|
|
18
|
+
.sc(GetObjectLockConfiguration)
|
|
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 { GetObjectRetention } from "../schemas/schemas_0";
|
|
7
6
|
export { $Command };
|
|
8
7
|
export class GetObjectRetentionCommand extends $Command
|
|
9
8
|
.classBuilder()
|
|
@@ -12,16 +11,10 @@ export class GetObjectRetentionCommand 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", "GetObjectRetention", {})
|
|
22
17
|
.n("S3Client", "GetObjectRetentionCommand")
|
|
23
|
-
.
|
|
24
|
-
.ser(se_GetObjectRetentionCommand)
|
|
25
|
-
.de(de_GetObjectRetentionCommand)
|
|
18
|
+
.sc(GetObjectRetention)
|
|
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 { GetObjectTagging } from "../schemas/schemas_0";
|
|
7
6
|
export { $Command };
|
|
8
7
|
export class GetObjectTaggingCommand extends $Command
|
|
9
8
|
.classBuilder()
|
|
@@ -12,16 +11,10 @@ export class GetObjectTaggingCommand 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", "GetObjectTagging", {})
|
|
22
17
|
.n("S3Client", "GetObjectTaggingCommand")
|
|
23
|
-
.
|
|
24
|
-
.ser(se_GetObjectTaggingCommand)
|
|
25
|
-
.de(de_GetObjectTaggingCommand)
|
|
18
|
+
.sc(GetObjectTagging)
|
|
26
19
|
.build() {
|
|
27
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_GetObjectTorrentCommand, se_GetObjectTorrentCommand } from "../protocols/Aws_restXml";
|
|
4
|
+
import { GetObjectTorrent } from "../schemas/schemas_0";
|
|
7
5
|
export { $Command };
|
|
8
6
|
export class GetObjectTorrentCommand extends $Command
|
|
9
7
|
.classBuilder()
|
|
@@ -12,15 +10,10 @@ export class GetObjectTorrentCommand extends $Command
|
|
|
12
10
|
Bucket: { type: "contextParams", name: "Bucket" },
|
|
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", "GetObjectTorrent", {})
|
|
21
16
|
.n("S3Client", "GetObjectTorrentCommand")
|
|
22
|
-
.
|
|
23
|
-
.ser(se_GetObjectTorrentCommand)
|
|
24
|
-
.de(de_GetObjectTorrentCommand)
|
|
17
|
+
.sc(GetObjectTorrent)
|
|
25
18
|
.build() {
|
|
26
19
|
}
|
|
@@ -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 { GetPublicAccessBlock } from "../schemas/schemas_0";
|
|
7
6
|
export { $Command };
|
|
8
7
|
export class GetPublicAccessBlockCommand extends $Command
|
|
9
8
|
.classBuilder()
|
|
@@ -13,16 +12,10 @@ export class GetPublicAccessBlockCommand 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", "GetPublicAccessBlock", {})
|
|
23
18
|
.n("S3Client", "GetPublicAccessBlockCommand")
|
|
24
|
-
.
|
|
25
|
-
.ser(se_GetPublicAccessBlockCommand)
|
|
26
|
-
.de(de_GetPublicAccessBlockCommand)
|
|
19
|
+
.sc(GetPublicAccessBlock)
|
|
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 { HeadBucket } from "../schemas/schemas_0";
|
|
7
6
|
export { $Command };
|
|
8
7
|
export class HeadBucketCommand extends $Command
|
|
9
8
|
.classBuilder()
|
|
@@ -12,16 +11,10 @@ export class HeadBucketCommand 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", "HeadBucket", {})
|
|
22
17
|
.n("S3Client", "HeadBucketCommand")
|
|
23
|
-
.
|
|
24
|
-
.ser(se_HeadBucketCommand)
|
|
25
|
-
.de(de_HeadBucketCommand)
|
|
18
|
+
.sc(HeadBucket)
|
|
26
19
|
.build() {
|
|
27
20
|
}
|
|
@@ -1,11 +1,9 @@
|
|
|
1
1
|
import { getS3ExpiresMiddlewarePlugin, 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_HeadObjectCommand, se_HeadObjectCommand } from "../protocols/Aws_restXml";
|
|
6
|
+
import { HeadObject } from "../schemas/schemas_0";
|
|
9
7
|
export { $Command };
|
|
10
8
|
export class HeadObjectCommand extends $Command
|
|
11
9
|
.classBuilder()
|
|
@@ -16,7 +14,6 @@ export class HeadObjectCommand 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),
|
|
@@ -25,8 +22,6 @@ export class HeadObjectCommand extends $Command
|
|
|
25
22
|
})
|
|
26
23
|
.s("AmazonS3", "HeadObject", {})
|
|
27
24
|
.n("S3Client", "HeadObjectCommand")
|
|
28
|
-
.
|
|
29
|
-
.ser(se_HeadObjectCommand)
|
|
30
|
-
.de(de_HeadObjectCommand)
|
|
25
|
+
.sc(HeadObject)
|
|
31
26
|
.build() {
|
|
32
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 { ListBucketAnalyticsConfigurations } from "../schemas/schemas_0";
|
|
7
6
|
export { $Command };
|
|
8
7
|
export class ListBucketAnalyticsConfigurationsCommand extends $Command
|
|
9
8
|
.classBuilder()
|
|
@@ -13,16 +12,10 @@ export class ListBucketAnalyticsConfigurationsCommand 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", "ListBucketAnalyticsConfigurations", {})
|
|
23
18
|
.n("S3Client", "ListBucketAnalyticsConfigurationsCommand")
|
|
24
|
-
.
|
|
25
|
-
.ser(se_ListBucketAnalyticsConfigurationsCommand)
|
|
26
|
-
.de(de_ListBucketAnalyticsConfigurationsCommand)
|
|
19
|
+
.sc(ListBucketAnalyticsConfigurations)
|
|
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 { ListBucketIntelligentTieringConfigurations } from "../schemas/schemas_0";
|
|
7
6
|
export { $Command };
|
|
8
7
|
export class ListBucketIntelligentTieringConfigurationsCommand extends $Command
|
|
9
8
|
.classBuilder()
|
|
@@ -13,16 +12,10 @@ export class ListBucketIntelligentTieringConfigurationsCommand 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", "ListBucketIntelligentTieringConfigurations", {})
|
|
23
18
|
.n("S3Client", "ListBucketIntelligentTieringConfigurationsCommand")
|
|
24
|
-
.
|
|
25
|
-
.ser(se_ListBucketIntelligentTieringConfigurationsCommand)
|
|
26
|
-
.de(de_ListBucketIntelligentTieringConfigurationsCommand)
|
|
19
|
+
.sc(ListBucketIntelligentTieringConfigurations)
|
|
27
20
|
.build() {
|
|
28
21
|
}
|