@aws-sdk/client-s3 3.844.0 → 3.845.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/README.md +40 -0
- package/dist-cjs/index.js +594 -121
- package/dist-es/S3.js +10 -0
- package/dist-es/commands/CreateBucketMetadataConfigurationCommand.js +31 -0
- package/dist-es/commands/DeleteBucketMetadataConfigurationCommand.js +26 -0
- package/dist-es/commands/GetBucketMetadataConfigurationCommand.js +28 -0
- package/dist-es/commands/ListPartsCommand.js +1 -1
- package/dist-es/commands/UpdateBucketMetadataInventoryTableConfigurationCommand.js +31 -0
- package/dist-es/commands/UpdateBucketMetadataJournalTableConfigurationCommand.js +31 -0
- package/dist-es/commands/index.js +5 -0
- package/dist-es/models/models_0.js +16 -24
- package/dist-es/models/models_1.js +24 -0
- package/dist-es/protocols/Aws_restXml.js +325 -3
- package/dist-types/S3.d.ts +35 -0
- package/dist-types/S3Client.d.ts +7 -2
- package/dist-types/commands/AbortMultipartUploadCommand.d.ts +17 -22
- package/dist-types/commands/CompleteMultipartUploadCommand.d.ts +46 -57
- package/dist-types/commands/CopyObjectCommand.d.ts +95 -106
- package/dist-types/commands/CreateBucketCommand.d.ts +70 -82
- package/dist-types/commands/CreateBucketMetadataConfigurationCommand.d.ts +182 -0
- package/dist-types/commands/CreateBucketMetadataTableConfigurationCommand.d.ts +25 -12
- package/dist-types/commands/CreateMultipartUploadCommand.d.ts +88 -113
- package/dist-types/commands/CreateSessionCommand.d.ts +45 -50
- package/dist-types/commands/DeleteBucketAnalyticsConfigurationCommand.d.ts +7 -9
- package/dist-types/commands/DeleteBucketCommand.d.ts +10 -12
- package/dist-types/commands/DeleteBucketCorsCommand.d.ts +4 -5
- package/dist-types/commands/DeleteBucketEncryptionCommand.d.ts +16 -18
- package/dist-types/commands/DeleteBucketInventoryConfigurationCommand.d.ts +4 -6
- package/dist-types/commands/DeleteBucketLifecycleCommand.d.ts +23 -28
- package/dist-types/commands/DeleteBucketMetadataConfigurationCommand.d.ts +114 -0
- package/dist-types/commands/DeleteBucketMetadataTableConfigurationCommand.d.ts +26 -8
- package/dist-types/commands/DeleteBucketMetricsConfigurationCommand.d.ts +9 -12
- package/dist-types/commands/DeleteBucketOwnershipControlsCommand.d.ts +5 -6
- package/dist-types/commands/DeleteBucketPolicyCommand.d.ts +20 -23
- package/dist-types/commands/DeleteBucketReplicationCommand.d.ts +5 -7
- package/dist-types/commands/DeleteBucketTaggingCommand.d.ts +2 -3
- package/dist-types/commands/DeleteBucketWebsiteCommand.d.ts +9 -10
- package/dist-types/commands/DeleteObjectCommand.d.ts +37 -23
- package/dist-types/commands/DeleteObjectTaggingCommand.d.ts +7 -7
- package/dist-types/commands/DeleteObjectsCommand.d.ts +37 -44
- package/dist-types/commands/DeletePublicAccessBlockCommand.d.ts +6 -6
- package/dist-types/commands/GetBucketAccelerateConfigurationCommand.d.ts +14 -17
- package/dist-types/commands/GetBucketAclCommand.d.ts +9 -11
- package/dist-types/commands/GetBucketAnalyticsConfigurationCommand.d.ts +8 -11
- package/dist-types/commands/GetBucketCorsCommand.d.ts +4 -6
- package/dist-types/commands/GetBucketEncryptionCommand.d.ts +16 -19
- package/dist-types/commands/GetBucketInventoryConfigurationCommand.d.ts +6 -8
- package/dist-types/commands/GetBucketLifecycleConfigurationCommand.d.ts +28 -37
- package/dist-types/commands/GetBucketLocationCommand.d.ts +4 -5
- package/dist-types/commands/GetBucketLoggingCommand.d.ts +2 -2
- package/dist-types/commands/GetBucketMetadataConfigurationCommand.d.ts +146 -0
- package/dist-types/commands/GetBucketMetadataTableConfigurationCommand.d.ts +25 -8
- package/dist-types/commands/GetBucketMetricsConfigurationCommand.d.ts +10 -11
- package/dist-types/commands/GetBucketNotificationConfigurationCommand.d.ts +7 -8
- package/dist-types/commands/GetBucketOwnershipControlsCommand.d.ts +9 -8
- package/dist-types/commands/GetBucketPolicyCommand.d.ts +24 -29
- package/dist-types/commands/GetBucketPolicyStatusCommand.d.ts +5 -6
- package/dist-types/commands/GetBucketReplicationCommand.d.ts +11 -12
- package/dist-types/commands/GetBucketRequestPaymentCommand.d.ts +2 -3
- package/dist-types/commands/GetBucketTaggingCommand.d.ts +2 -3
- package/dist-types/commands/GetBucketVersioningCommand.d.ts +3 -3
- package/dist-types/commands/GetBucketWebsiteCommand.d.ts +6 -7
- package/dist-types/commands/GetObjectAclCommand.d.ts +9 -11
- package/dist-types/commands/GetObjectAttributesCommand.d.ts +55 -70
- package/dist-types/commands/GetObjectCommand.d.ts +66 -81
- package/dist-types/commands/GetObjectLegalHoldCommand.d.ts +1 -2
- package/dist-types/commands/GetObjectLockConfigurationCommand.d.ts +3 -3
- package/dist-types/commands/GetObjectRetentionCommand.d.ts +1 -2
- package/dist-types/commands/GetObjectTaggingCommand.d.ts +8 -10
- package/dist-types/commands/GetObjectTorrentCommand.d.ts +4 -5
- package/dist-types/commands/GetPublicAccessBlockCommand.d.ts +10 -12
- package/dist-types/commands/HeadBucketCommand.d.ts +33 -35
- package/dist-types/commands/HeadObjectCommand.d.ts +50 -62
- package/dist-types/commands/ListBucketAnalyticsConfigurationsCommand.d.ts +14 -17
- package/dist-types/commands/ListBucketInventoryConfigurationsCommand.d.ts +12 -15
- package/dist-types/commands/ListBucketMetricsConfigurationsCommand.d.ts +15 -18
- package/dist-types/commands/ListBucketsCommand.d.ts +10 -9
- package/dist-types/commands/ListDirectoryBucketsCommand.d.ts +9 -9
- package/dist-types/commands/ListMultipartUploadsCommand.d.ts +41 -49
- package/dist-types/commands/ListObjectVersionsCommand.d.ts +7 -9
- package/dist-types/commands/ListObjectsCommand.d.ts +8 -7
- package/dist-types/commands/ListObjectsV2Command.d.ts +28 -31
- package/dist-types/commands/ListPartsCommand.d.ts +21 -24
- package/dist-types/commands/PutBucketAccelerateConfigurationCommand.d.ts +14 -18
- package/dist-types/commands/PutBucketAclCommand.d.ts +51 -62
- package/dist-types/commands/PutBucketAnalyticsConfigurationCommand.d.ts +23 -25
- package/dist-types/commands/PutBucketCorsCommand.d.ts +23 -27
- package/dist-types/commands/PutBucketEncryptionCommand.d.ts +40 -48
- package/dist-types/commands/PutBucketIntelligentTieringConfigurationCommand.d.ts +11 -12
- package/dist-types/commands/PutBucketInventoryConfigurationCommand.d.ts +33 -37
- package/dist-types/commands/PutBucketLifecycleConfigurationCommand.d.ts +51 -60
- package/dist-types/commands/PutBucketLoggingCommand.d.ts +26 -33
- package/dist-types/commands/PutBucketMetricsConfigurationCommand.d.ts +12 -14
- package/dist-types/commands/PutBucketNotificationConfigurationCommand.d.ts +29 -35
- package/dist-types/commands/PutBucketOwnershipControlsCommand.d.ts +4 -6
- package/dist-types/commands/PutBucketPolicyCommand.d.ts +24 -29
- package/dist-types/commands/PutBucketReplicationCommand.d.ts +31 -38
- package/dist-types/commands/PutBucketRequestPaymentCommand.d.ts +4 -5
- package/dist-types/commands/PutBucketTaggingCommand.d.ts +21 -27
- package/dist-types/commands/PutBucketVersioningCommand.d.ts +20 -23
- package/dist-types/commands/PutBucketWebsiteCommand.d.ts +19 -18
- package/dist-types/commands/PutObjectAclCommand.d.ts +53 -61
- package/dist-types/commands/PutObjectCommand.d.ts +56 -66
- package/dist-types/commands/PutObjectLegalHoldCommand.d.ts +1 -3
- package/dist-types/commands/PutObjectLockConfigurationCommand.d.ts +10 -11
- package/dist-types/commands/PutObjectRetentionCommand.d.ts +4 -4
- package/dist-types/commands/PutObjectTaggingCommand.d.ts +18 -24
- package/dist-types/commands/PutPublicAccessBlockCommand.d.ts +10 -12
- package/dist-types/commands/RenameObjectCommand.d.ts +34 -40
- package/dist-types/commands/RestoreObjectCommand.d.ts +76 -85
- package/dist-types/commands/SelectObjectContentCommand.d.ts +50 -59
- package/dist-types/commands/UpdateBucketMetadataInventoryTableConfigurationCommand.d.ts +161 -0
- package/dist-types/commands/UpdateBucketMetadataJournalTableConfigurationCommand.d.ts +113 -0
- package/dist-types/commands/UploadPartCommand.d.ts +64 -74
- package/dist-types/commands/UploadPartCopyCommand.d.ts +80 -96
- package/dist-types/commands/WriteGetObjectResponseCommand.d.ts +29 -33
- package/dist-types/commands/index.d.ts +5 -0
- package/dist-types/models/models_0.d.ts +2688 -3603
- package/dist-types/models/models_1.d.ts +2120 -743
- package/dist-types/protocols/Aws_restXml.d.ts +45 -0
- package/dist-types/ts3.4/S3.d.ts +109 -0
- package/dist-types/ts3.4/S3Client.d.ts +30 -0
- package/dist-types/ts3.4/commands/CreateBucketMetadataConfigurationCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/DeleteBucketMetadataConfigurationCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/GetBucketMetadataConfigurationCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListObjectVersionsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListObjectsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListObjectsV2Command.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListPartsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/PutBucketAccelerateConfigurationCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/PutBucketAclCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/PutBucketAnalyticsConfigurationCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateBucketMetadataInventoryTableConfigurationCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/UpdateBucketMetadataJournalTableConfigurationCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/index.d.ts +5 -0
- package/dist-types/ts3.4/models/models_0.d.ts +93 -206
- package/dist-types/ts3.4/models/models_1.d.ts +238 -0
- package/dist-types/ts3.4/protocols/Aws_restXml.d.ts +60 -0
- package/package.json +15 -15
package/dist-es/S3.js
CHANGED
|
@@ -3,6 +3,7 @@ import { AbortMultipartUploadCommand, } from "./commands/AbortMultipartUploadCom
|
|
|
3
3
|
import { CompleteMultipartUploadCommand, } from "./commands/CompleteMultipartUploadCommand";
|
|
4
4
|
import { CopyObjectCommand } from "./commands/CopyObjectCommand";
|
|
5
5
|
import { CreateBucketCommand, } from "./commands/CreateBucketCommand";
|
|
6
|
+
import { CreateBucketMetadataConfigurationCommand, } from "./commands/CreateBucketMetadataConfigurationCommand";
|
|
6
7
|
import { CreateBucketMetadataTableConfigurationCommand, } from "./commands/CreateBucketMetadataTableConfigurationCommand";
|
|
7
8
|
import { CreateMultipartUploadCommand, } from "./commands/CreateMultipartUploadCommand";
|
|
8
9
|
import { CreateSessionCommand, } from "./commands/CreateSessionCommand";
|
|
@@ -13,6 +14,7 @@ import { DeleteBucketEncryptionCommand, } from "./commands/DeleteBucketEncryptio
|
|
|
13
14
|
import { DeleteBucketIntelligentTieringConfigurationCommand, } from "./commands/DeleteBucketIntelligentTieringConfigurationCommand";
|
|
14
15
|
import { DeleteBucketInventoryConfigurationCommand, } from "./commands/DeleteBucketInventoryConfigurationCommand";
|
|
15
16
|
import { DeleteBucketLifecycleCommand, } from "./commands/DeleteBucketLifecycleCommand";
|
|
17
|
+
import { DeleteBucketMetadataConfigurationCommand, } from "./commands/DeleteBucketMetadataConfigurationCommand";
|
|
16
18
|
import { DeleteBucketMetadataTableConfigurationCommand, } from "./commands/DeleteBucketMetadataTableConfigurationCommand";
|
|
17
19
|
import { DeleteBucketMetricsConfigurationCommand, } from "./commands/DeleteBucketMetricsConfigurationCommand";
|
|
18
20
|
import { DeleteBucketOwnershipControlsCommand, } from "./commands/DeleteBucketOwnershipControlsCommand";
|
|
@@ -34,6 +36,7 @@ import { GetBucketInventoryConfigurationCommand, } from "./commands/GetBucketInv
|
|
|
34
36
|
import { GetBucketLifecycleConfigurationCommand, } from "./commands/GetBucketLifecycleConfigurationCommand";
|
|
35
37
|
import { GetBucketLocationCommand, } from "./commands/GetBucketLocationCommand";
|
|
36
38
|
import { GetBucketLoggingCommand, } from "./commands/GetBucketLoggingCommand";
|
|
39
|
+
import { GetBucketMetadataConfigurationCommand, } from "./commands/GetBucketMetadataConfigurationCommand";
|
|
37
40
|
import { GetBucketMetadataTableConfigurationCommand, } from "./commands/GetBucketMetadataTableConfigurationCommand";
|
|
38
41
|
import { GetBucketMetricsConfigurationCommand, } from "./commands/GetBucketMetricsConfigurationCommand";
|
|
39
42
|
import { GetBucketNotificationConfigurationCommand, } from "./commands/GetBucketNotificationConfigurationCommand";
|
|
@@ -95,6 +98,8 @@ import { PutPublicAccessBlockCommand, } from "./commands/PutPublicAccessBlockCom
|
|
|
95
98
|
import { RenameObjectCommand, } from "./commands/RenameObjectCommand";
|
|
96
99
|
import { RestoreObjectCommand, } from "./commands/RestoreObjectCommand";
|
|
97
100
|
import { SelectObjectContentCommand, } from "./commands/SelectObjectContentCommand";
|
|
101
|
+
import { UpdateBucketMetadataInventoryTableConfigurationCommand, } from "./commands/UpdateBucketMetadataInventoryTableConfigurationCommand";
|
|
102
|
+
import { UpdateBucketMetadataJournalTableConfigurationCommand, } from "./commands/UpdateBucketMetadataJournalTableConfigurationCommand";
|
|
98
103
|
import { UploadPartCommand } from "./commands/UploadPartCommand";
|
|
99
104
|
import { UploadPartCopyCommand, } from "./commands/UploadPartCopyCommand";
|
|
100
105
|
import { WriteGetObjectResponseCommand, } from "./commands/WriteGetObjectResponseCommand";
|
|
@@ -104,6 +109,7 @@ const commands = {
|
|
|
104
109
|
CompleteMultipartUploadCommand,
|
|
105
110
|
CopyObjectCommand,
|
|
106
111
|
CreateBucketCommand,
|
|
112
|
+
CreateBucketMetadataConfigurationCommand,
|
|
107
113
|
CreateBucketMetadataTableConfigurationCommand,
|
|
108
114
|
CreateMultipartUploadCommand,
|
|
109
115
|
CreateSessionCommand,
|
|
@@ -114,6 +120,7 @@ const commands = {
|
|
|
114
120
|
DeleteBucketIntelligentTieringConfigurationCommand,
|
|
115
121
|
DeleteBucketInventoryConfigurationCommand,
|
|
116
122
|
DeleteBucketLifecycleCommand,
|
|
123
|
+
DeleteBucketMetadataConfigurationCommand,
|
|
117
124
|
DeleteBucketMetadataTableConfigurationCommand,
|
|
118
125
|
DeleteBucketMetricsConfigurationCommand,
|
|
119
126
|
DeleteBucketOwnershipControlsCommand,
|
|
@@ -135,6 +142,7 @@ const commands = {
|
|
|
135
142
|
GetBucketLifecycleConfigurationCommand,
|
|
136
143
|
GetBucketLocationCommand,
|
|
137
144
|
GetBucketLoggingCommand,
|
|
145
|
+
GetBucketMetadataConfigurationCommand,
|
|
138
146
|
GetBucketMetadataTableConfigurationCommand,
|
|
139
147
|
GetBucketMetricsConfigurationCommand,
|
|
140
148
|
GetBucketNotificationConfigurationCommand,
|
|
@@ -196,6 +204,8 @@ const commands = {
|
|
|
196
204
|
RenameObjectCommand,
|
|
197
205
|
RestoreObjectCommand,
|
|
198
206
|
SelectObjectContentCommand,
|
|
207
|
+
UpdateBucketMetadataInventoryTableConfigurationCommand,
|
|
208
|
+
UpdateBucketMetadataJournalTableConfigurationCommand,
|
|
199
209
|
UploadPartCommand,
|
|
200
210
|
UploadPartCopyCommand,
|
|
201
211
|
WriteGetObjectResponseCommand,
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { getFlexibleChecksumsPlugin } from "@aws-sdk/middleware-flexible-checksums";
|
|
2
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
3
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
4
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
5
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
6
|
+
import { de_CreateBucketMetadataConfigurationCommand, se_CreateBucketMetadataConfigurationCommand, } from "../protocols/Aws_restXml";
|
|
7
|
+
export { $Command };
|
|
8
|
+
export class CreateBucketMetadataConfigurationCommand extends $Command
|
|
9
|
+
.classBuilder()
|
|
10
|
+
.ep({
|
|
11
|
+
...commonParams,
|
|
12
|
+
UseS3ExpressControlEndpoint: { type: "staticContextParams", value: true },
|
|
13
|
+
Bucket: { type: "contextParams", name: "Bucket" },
|
|
14
|
+
})
|
|
15
|
+
.m(function (Command, cs, config, o) {
|
|
16
|
+
return [
|
|
17
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
18
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
19
|
+
getFlexibleChecksumsPlugin(config, {
|
|
20
|
+
requestAlgorithmMember: { httpHeader: "x-amz-sdk-checksum-algorithm", name: "ChecksumAlgorithm" },
|
|
21
|
+
requestChecksumRequired: true,
|
|
22
|
+
}),
|
|
23
|
+
];
|
|
24
|
+
})
|
|
25
|
+
.s("AmazonS3", "CreateBucketMetadataConfiguration", {})
|
|
26
|
+
.n("S3Client", "CreateBucketMetadataConfigurationCommand")
|
|
27
|
+
.f(void 0, void 0)
|
|
28
|
+
.ser(se_CreateBucketMetadataConfigurationCommand)
|
|
29
|
+
.de(de_CreateBucketMetadataConfigurationCommand)
|
|
30
|
+
.build() {
|
|
31
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { de_DeleteBucketMetadataConfigurationCommand, se_DeleteBucketMetadataConfigurationCommand, } from "../protocols/Aws_restXml";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class DeleteBucketMetadataConfigurationCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
UseS3ExpressControlEndpoint: { type: "staticContextParams", value: true },
|
|
12
|
+
Bucket: { type: "contextParams", name: "Bucket" },
|
|
13
|
+
})
|
|
14
|
+
.m(function (Command, cs, config, o) {
|
|
15
|
+
return [
|
|
16
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
17
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
18
|
+
];
|
|
19
|
+
})
|
|
20
|
+
.s("AmazonS3", "DeleteBucketMetadataConfiguration", {})
|
|
21
|
+
.n("S3Client", "DeleteBucketMetadataConfigurationCommand")
|
|
22
|
+
.f(void 0, void 0)
|
|
23
|
+
.ser(se_DeleteBucketMetadataConfigurationCommand)
|
|
24
|
+
.de(de_DeleteBucketMetadataConfigurationCommand)
|
|
25
|
+
.build() {
|
|
26
|
+
}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { getThrow200ExceptionsPlugin } from "@aws-sdk/middleware-sdk-s3";
|
|
2
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
3
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
4
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
5
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
6
|
+
import { de_GetBucketMetadataConfigurationCommand, se_GetBucketMetadataConfigurationCommand, } from "../protocols/Aws_restXml";
|
|
7
|
+
export { $Command };
|
|
8
|
+
export class GetBucketMetadataConfigurationCommand extends $Command
|
|
9
|
+
.classBuilder()
|
|
10
|
+
.ep({
|
|
11
|
+
...commonParams,
|
|
12
|
+
UseS3ExpressControlEndpoint: { type: "staticContextParams", value: true },
|
|
13
|
+
Bucket: { type: "contextParams", name: "Bucket" },
|
|
14
|
+
})
|
|
15
|
+
.m(function (Command, cs, config, o) {
|
|
16
|
+
return [
|
|
17
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
18
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
19
|
+
getThrow200ExceptionsPlugin(config),
|
|
20
|
+
];
|
|
21
|
+
})
|
|
22
|
+
.s("AmazonS3", "GetBucketMetadataConfiguration", {})
|
|
23
|
+
.n("S3Client", "GetBucketMetadataConfigurationCommand")
|
|
24
|
+
.f(void 0, void 0)
|
|
25
|
+
.ser(se_GetBucketMetadataConfigurationCommand)
|
|
26
|
+
.de(de_GetBucketMetadataConfigurationCommand)
|
|
27
|
+
.build() {
|
|
28
|
+
}
|
|
@@ -4,7 +4,7 @@ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
|
4
4
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
5
5
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
6
6
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
7
|
-
import { ListPartsRequestFilterSensitiveLog } from "../models/
|
|
7
|
+
import { ListPartsRequestFilterSensitiveLog } from "../models/models_1";
|
|
8
8
|
import { de_ListPartsCommand, se_ListPartsCommand } from "../protocols/Aws_restXml";
|
|
9
9
|
export { $Command };
|
|
10
10
|
export class ListPartsCommand extends $Command
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { getFlexibleChecksumsPlugin } from "@aws-sdk/middleware-flexible-checksums";
|
|
2
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
3
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
4
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
5
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
6
|
+
import { de_UpdateBucketMetadataInventoryTableConfigurationCommand, se_UpdateBucketMetadataInventoryTableConfigurationCommand, } from "../protocols/Aws_restXml";
|
|
7
|
+
export { $Command };
|
|
8
|
+
export class UpdateBucketMetadataInventoryTableConfigurationCommand extends $Command
|
|
9
|
+
.classBuilder()
|
|
10
|
+
.ep({
|
|
11
|
+
...commonParams,
|
|
12
|
+
UseS3ExpressControlEndpoint: { type: "staticContextParams", value: true },
|
|
13
|
+
Bucket: { type: "contextParams", name: "Bucket" },
|
|
14
|
+
})
|
|
15
|
+
.m(function (Command, cs, config, o) {
|
|
16
|
+
return [
|
|
17
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
18
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
19
|
+
getFlexibleChecksumsPlugin(config, {
|
|
20
|
+
requestAlgorithmMember: { httpHeader: "x-amz-sdk-checksum-algorithm", name: "ChecksumAlgorithm" },
|
|
21
|
+
requestChecksumRequired: true,
|
|
22
|
+
}),
|
|
23
|
+
];
|
|
24
|
+
})
|
|
25
|
+
.s("AmazonS3", "UpdateBucketMetadataInventoryTableConfiguration", {})
|
|
26
|
+
.n("S3Client", "UpdateBucketMetadataInventoryTableConfigurationCommand")
|
|
27
|
+
.f(void 0, void 0)
|
|
28
|
+
.ser(se_UpdateBucketMetadataInventoryTableConfigurationCommand)
|
|
29
|
+
.de(de_UpdateBucketMetadataInventoryTableConfigurationCommand)
|
|
30
|
+
.build() {
|
|
31
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { getFlexibleChecksumsPlugin } from "@aws-sdk/middleware-flexible-checksums";
|
|
2
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
3
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
4
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
5
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
6
|
+
import { de_UpdateBucketMetadataJournalTableConfigurationCommand, se_UpdateBucketMetadataJournalTableConfigurationCommand, } from "../protocols/Aws_restXml";
|
|
7
|
+
export { $Command };
|
|
8
|
+
export class UpdateBucketMetadataJournalTableConfigurationCommand extends $Command
|
|
9
|
+
.classBuilder()
|
|
10
|
+
.ep({
|
|
11
|
+
...commonParams,
|
|
12
|
+
UseS3ExpressControlEndpoint: { type: "staticContextParams", value: true },
|
|
13
|
+
Bucket: { type: "contextParams", name: "Bucket" },
|
|
14
|
+
})
|
|
15
|
+
.m(function (Command, cs, config, o) {
|
|
16
|
+
return [
|
|
17
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
18
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
19
|
+
getFlexibleChecksumsPlugin(config, {
|
|
20
|
+
requestAlgorithmMember: { httpHeader: "x-amz-sdk-checksum-algorithm", name: "ChecksumAlgorithm" },
|
|
21
|
+
requestChecksumRequired: true,
|
|
22
|
+
}),
|
|
23
|
+
];
|
|
24
|
+
})
|
|
25
|
+
.s("AmazonS3", "UpdateBucketMetadataJournalTableConfiguration", {})
|
|
26
|
+
.n("S3Client", "UpdateBucketMetadataJournalTableConfigurationCommand")
|
|
27
|
+
.f(void 0, void 0)
|
|
28
|
+
.ser(se_UpdateBucketMetadataJournalTableConfigurationCommand)
|
|
29
|
+
.de(de_UpdateBucketMetadataJournalTableConfigurationCommand)
|
|
30
|
+
.build() {
|
|
31
|
+
}
|
|
@@ -2,6 +2,7 @@ export * from "./AbortMultipartUploadCommand";
|
|
|
2
2
|
export * from "./CompleteMultipartUploadCommand";
|
|
3
3
|
export * from "./CopyObjectCommand";
|
|
4
4
|
export * from "./CreateBucketCommand";
|
|
5
|
+
export * from "./CreateBucketMetadataConfigurationCommand";
|
|
5
6
|
export * from "./CreateBucketMetadataTableConfigurationCommand";
|
|
6
7
|
export * from "./CreateMultipartUploadCommand";
|
|
7
8
|
export * from "./CreateSessionCommand";
|
|
@@ -12,6 +13,7 @@ export * from "./DeleteBucketEncryptionCommand";
|
|
|
12
13
|
export * from "./DeleteBucketIntelligentTieringConfigurationCommand";
|
|
13
14
|
export * from "./DeleteBucketInventoryConfigurationCommand";
|
|
14
15
|
export * from "./DeleteBucketLifecycleCommand";
|
|
16
|
+
export * from "./DeleteBucketMetadataConfigurationCommand";
|
|
15
17
|
export * from "./DeleteBucketMetadataTableConfigurationCommand";
|
|
16
18
|
export * from "./DeleteBucketMetricsConfigurationCommand";
|
|
17
19
|
export * from "./DeleteBucketOwnershipControlsCommand";
|
|
@@ -33,6 +35,7 @@ export * from "./GetBucketInventoryConfigurationCommand";
|
|
|
33
35
|
export * from "./GetBucketLifecycleConfigurationCommand";
|
|
34
36
|
export * from "./GetBucketLocationCommand";
|
|
35
37
|
export * from "./GetBucketLoggingCommand";
|
|
38
|
+
export * from "./GetBucketMetadataConfigurationCommand";
|
|
36
39
|
export * from "./GetBucketMetadataTableConfigurationCommand";
|
|
37
40
|
export * from "./GetBucketMetricsConfigurationCommand";
|
|
38
41
|
export * from "./GetBucketNotificationConfigurationCommand";
|
|
@@ -94,6 +97,8 @@ export * from "./PutPublicAccessBlockCommand";
|
|
|
94
97
|
export * from "./RenameObjectCommand";
|
|
95
98
|
export * from "./RestoreObjectCommand";
|
|
96
99
|
export * from "./SelectObjectContentCommand";
|
|
100
|
+
export * from "./UpdateBucketMetadataInventoryTableConfigurationCommand";
|
|
101
|
+
export * from "./UpdateBucketMetadataJournalTableConfigurationCommand";
|
|
97
102
|
export * from "./UploadPartCommand";
|
|
98
103
|
export * from "./UploadPartCopyCommand";
|
|
99
104
|
export * from "./WriteGetObjectResponseCommand";
|
|
@@ -186,6 +186,18 @@ export const ObjectOwnership = {
|
|
|
186
186
|
BucketOwnerPreferred: "BucketOwnerPreferred",
|
|
187
187
|
ObjectWriter: "ObjectWriter",
|
|
188
188
|
};
|
|
189
|
+
export const InventoryConfigurationState = {
|
|
190
|
+
DISABLED: "DISABLED",
|
|
191
|
+
ENABLED: "ENABLED",
|
|
192
|
+
};
|
|
193
|
+
export const TableSseAlgorithm = {
|
|
194
|
+
AES256: "AES256",
|
|
195
|
+
aws_kms: "aws:kms",
|
|
196
|
+
};
|
|
197
|
+
export const ExpirationState = {
|
|
198
|
+
DISABLED: "DISABLED",
|
|
199
|
+
ENABLED: "ENABLED",
|
|
200
|
+
};
|
|
189
201
|
export const SessionMode = {
|
|
190
202
|
ReadOnly: "ReadOnly",
|
|
191
203
|
ReadWrite: "ReadWrite",
|
|
@@ -283,6 +295,10 @@ export const PartitionDateSource = {
|
|
|
283
295
|
DeliveryTime: "DeliveryTime",
|
|
284
296
|
EventTime: "EventTime",
|
|
285
297
|
};
|
|
298
|
+
export const S3TablesBucketType = {
|
|
299
|
+
aws: "aws",
|
|
300
|
+
customer: "customer",
|
|
301
|
+
};
|
|
286
302
|
export var MetricsFilter;
|
|
287
303
|
(function (MetricsFilter) {
|
|
288
304
|
MetricsFilter.visit = (value, visitor) => {
|
|
@@ -445,26 +461,6 @@ export const ArchiveStatus = {
|
|
|
445
461
|
export const EncodingType = {
|
|
446
462
|
url: "url",
|
|
447
463
|
};
|
|
448
|
-
export const ObjectStorageClass = {
|
|
449
|
-
DEEP_ARCHIVE: "DEEP_ARCHIVE",
|
|
450
|
-
EXPRESS_ONEZONE: "EXPRESS_ONEZONE",
|
|
451
|
-
FSX_OPENZFS: "FSX_OPENZFS",
|
|
452
|
-
GLACIER: "GLACIER",
|
|
453
|
-
GLACIER_IR: "GLACIER_IR",
|
|
454
|
-
INTELLIGENT_TIERING: "INTELLIGENT_TIERING",
|
|
455
|
-
ONEZONE_IA: "ONEZONE_IA",
|
|
456
|
-
OUTPOSTS: "OUTPOSTS",
|
|
457
|
-
REDUCED_REDUNDANCY: "REDUCED_REDUNDANCY",
|
|
458
|
-
SNOW: "SNOW",
|
|
459
|
-
STANDARD: "STANDARD",
|
|
460
|
-
STANDARD_IA: "STANDARD_IA",
|
|
461
|
-
};
|
|
462
|
-
export const OptionalObjectAttributes = {
|
|
463
|
-
RESTORE_STATUS: "RestoreStatus",
|
|
464
|
-
};
|
|
465
|
-
export const ObjectVersionStorageClass = {
|
|
466
|
-
STANDARD: "STANDARD",
|
|
467
|
-
};
|
|
468
464
|
export const CompleteMultipartUploadOutputFilterSensitiveLog = (obj) => ({
|
|
469
465
|
...obj,
|
|
470
466
|
...(obj.SSEKMSKeyId && { SSEKMSKeyId: SENSITIVE_STRING }),
|
|
@@ -589,7 +585,3 @@ export const ListBucketInventoryConfigurationsOutputFilterSensitiveLog = (obj) =
|
|
|
589
585
|
InventoryConfigurationList: obj.InventoryConfigurationList.map((item) => InventoryConfigurationFilterSensitiveLog(item)),
|
|
590
586
|
}),
|
|
591
587
|
});
|
|
592
|
-
export const ListPartsRequestFilterSensitiveLog = (obj) => ({
|
|
593
|
-
...obj,
|
|
594
|
-
...(obj.SSECustomerKey && { SSECustomerKey: SENSITIVE_STRING }),
|
|
595
|
-
});
|
|
@@ -1,6 +1,26 @@
|
|
|
1
1
|
import { SENSITIVE_STRING } from "@smithy/smithy-client";
|
|
2
2
|
import { InventoryConfigurationFilterSensitiveLog, ServerSideEncryptionConfigurationFilterSensitiveLog, } from "./models_0";
|
|
3
3
|
import { S3ServiceException as __BaseException } from "./S3ServiceException";
|
|
4
|
+
export const ObjectStorageClass = {
|
|
5
|
+
DEEP_ARCHIVE: "DEEP_ARCHIVE",
|
|
6
|
+
EXPRESS_ONEZONE: "EXPRESS_ONEZONE",
|
|
7
|
+
FSX_OPENZFS: "FSX_OPENZFS",
|
|
8
|
+
GLACIER: "GLACIER",
|
|
9
|
+
GLACIER_IR: "GLACIER_IR",
|
|
10
|
+
INTELLIGENT_TIERING: "INTELLIGENT_TIERING",
|
|
11
|
+
ONEZONE_IA: "ONEZONE_IA",
|
|
12
|
+
OUTPOSTS: "OUTPOSTS",
|
|
13
|
+
REDUCED_REDUNDANCY: "REDUCED_REDUNDANCY",
|
|
14
|
+
SNOW: "SNOW",
|
|
15
|
+
STANDARD: "STANDARD",
|
|
16
|
+
STANDARD_IA: "STANDARD_IA",
|
|
17
|
+
};
|
|
18
|
+
export const OptionalObjectAttributes = {
|
|
19
|
+
RESTORE_STATUS: "RestoreStatus",
|
|
20
|
+
};
|
|
21
|
+
export const ObjectVersionStorageClass = {
|
|
22
|
+
STANDARD: "STANDARD",
|
|
23
|
+
};
|
|
4
24
|
export const MFADelete = {
|
|
5
25
|
Disabled: "Disabled",
|
|
6
26
|
Enabled: "Enabled",
|
|
@@ -122,6 +142,10 @@ export var SelectObjectContentEventStream;
|
|
|
122
142
|
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
123
143
|
};
|
|
124
144
|
})(SelectObjectContentEventStream || (SelectObjectContentEventStream = {}));
|
|
145
|
+
export const ListPartsRequestFilterSensitiveLog = (obj) => ({
|
|
146
|
+
...obj,
|
|
147
|
+
...(obj.SSECustomerKey && { SSECustomerKey: SENSITIVE_STRING }),
|
|
148
|
+
});
|
|
125
149
|
export const PutBucketEncryptionRequestFilterSensitiveLog = (obj) => ({
|
|
126
150
|
...obj,
|
|
127
151
|
...(obj.ServerSideEncryptionConfiguration && {
|