@aws-sdk/client-s3 3.1069.0 → 3.1070.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 +35 -0
- package/dist-cjs/index.js +133 -2
- package/dist-cjs/models/errors.js +76 -4
- package/dist-cjs/schemas/schemas_0.js +279 -100
- package/dist-es/S3.js +12 -0
- package/dist-es/commands/DeleteObjectAnnotationCommand.js +23 -0
- package/dist-es/commands/GetObjectAnnotationCommand.js +28 -0
- package/dist-es/commands/ListObjectAnnotationsCommand.js +23 -0
- package/dist-es/commands/PutObjectAnnotationCommand.js +29 -0
- package/dist-es/commands/UpdateBucketMetadataAnnotationTableConfigurationCommand.js +27 -0
- package/dist-es/commands/index.js +5 -0
- package/dist-es/models/enums.js +12 -1
- package/dist-es/models/errors.js +76 -4
- package/dist-es/pagination/ListObjectAnnotationsPaginator.js +4 -0
- package/dist-es/pagination/index.js +1 -0
- package/dist-es/schemas/schemas_0.js +260 -100
- package/dist-types/S3.d.ts +42 -0
- package/dist-types/S3Client.d.ts +7 -2
- package/dist-types/commands/CopyObjectCommand.d.ts +1 -0
- package/dist-types/commands/CreateBucketMetadataConfigurationCommand.d.ts +27 -0
- package/dist-types/commands/DeleteObjectAnnotationCommand.d.ts +119 -0
- package/dist-types/commands/GetBucketMetadataConfigurationCommand.d.ts +11 -0
- package/dist-types/commands/GetBucketNotificationConfigurationCommand.d.ts +3 -3
- package/dist-types/commands/GetObjectAnnotationCommand.d.ts +141 -0
- package/dist-types/commands/ListObjectAnnotationsCommand.d.ts +138 -0
- package/dist-types/commands/PutBucketNotificationConfigurationCommand.d.ts +3 -3
- package/dist-types/commands/PutObjectAnnotationCommand.d.ts +166 -0
- package/dist-types/commands/RenameObjectCommand.d.ts +1 -1
- package/dist-types/commands/RestoreObjectCommand.d.ts +1 -2
- package/dist-types/commands/UpdateBucketMetadataAnnotationTableConfigurationCommand.d.ts +110 -0
- package/dist-types/commands/index.d.ts +5 -0
- package/dist-types/models/enums.d.ts +29 -2
- package/dist-types/models/errors.d.ts +76 -4
- package/dist-types/models/models_0.d.ts +925 -549
- package/dist-types/models/models_1.d.ts +380 -2
- package/dist-types/pagination/ListObjectAnnotationsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +1 -0
- package/dist-types/schemas/schemas_0.d.ts +24 -0
- package/dist-types/ts3.4/S3.d.ts +98 -0
- package/dist-types/ts3.4/S3Client.d.ts +30 -0
- package/dist-types/ts3.4/commands/DeleteObjectAnnotationCommand.d.ts +53 -0
- package/dist-types/ts3.4/commands/GetObjectAnnotationCommand.d.ts +61 -0
- package/dist-types/ts3.4/commands/ListObjectAnnotationsCommand.d.ts +53 -0
- package/dist-types/ts3.4/commands/PutObjectAnnotationCommand.d.ts +61 -0
- package/dist-types/ts3.4/commands/RenameObjectCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/RestoreObjectCommand.d.ts +1 -2
- package/dist-types/ts3.4/commands/UpdateBucketMetadataAnnotationTableConfigurationCommand.d.ts +49 -0
- package/dist-types/ts3.4/commands/index.d.ts +5 -0
- package/dist-types/ts3.4/models/enums.d.ts +18 -3
- package/dist-types/ts3.4/models/errors.d.ts +41 -3
- package/dist-types/ts3.4/models/models_0.d.ts +138 -64
- package/dist-types/ts3.4/models/models_1.d.ts +75 -5
- package/dist-types/ts3.4/pagination/ListObjectAnnotationsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +1 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +24 -0
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -349,6 +349,13 @@ DeleteObject
|
|
|
349
349
|
</details>
|
|
350
350
|
<details>
|
|
351
351
|
<summary>
|
|
352
|
+
DeleteObjectAnnotation
|
|
353
|
+
</summary>
|
|
354
|
+
|
|
355
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/s3/command/DeleteObjectAnnotationCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-s3/Interface/DeleteObjectAnnotationCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-s3/Interface/DeleteObjectAnnotationCommandOutput/)
|
|
356
|
+
</details>
|
|
357
|
+
<details>
|
|
358
|
+
<summary>
|
|
352
359
|
DeleteObjects
|
|
353
360
|
</summary>
|
|
354
361
|
|
|
@@ -545,6 +552,13 @@ GetObjectAcl
|
|
|
545
552
|
</details>
|
|
546
553
|
<details>
|
|
547
554
|
<summary>
|
|
555
|
+
GetObjectAnnotation
|
|
556
|
+
</summary>
|
|
557
|
+
|
|
558
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/s3/command/GetObjectAnnotationCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-s3/Interface/GetObjectAnnotationCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-s3/Interface/GetObjectAnnotationCommandOutput/)
|
|
559
|
+
</details>
|
|
560
|
+
<details>
|
|
561
|
+
<summary>
|
|
548
562
|
GetObjectAttributes
|
|
549
563
|
</summary>
|
|
550
564
|
|
|
@@ -657,6 +671,13 @@ ListMultipartUploads
|
|
|
657
671
|
</details>
|
|
658
672
|
<details>
|
|
659
673
|
<summary>
|
|
674
|
+
ListObjectAnnotations
|
|
675
|
+
</summary>
|
|
676
|
+
|
|
677
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/s3/command/ListObjectAnnotationsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-s3/Interface/ListObjectAnnotationsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-s3/Interface/ListObjectAnnotationsCommandOutput/)
|
|
678
|
+
</details>
|
|
679
|
+
<details>
|
|
680
|
+
<summary>
|
|
660
681
|
ListObjects
|
|
661
682
|
</summary>
|
|
662
683
|
|
|
@@ -832,6 +853,13 @@ PutObjectAcl
|
|
|
832
853
|
</details>
|
|
833
854
|
<details>
|
|
834
855
|
<summary>
|
|
856
|
+
PutObjectAnnotation
|
|
857
|
+
</summary>
|
|
858
|
+
|
|
859
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/s3/command/PutObjectAnnotationCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-s3/Interface/PutObjectAnnotationCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-s3/Interface/PutObjectAnnotationCommandOutput/)
|
|
860
|
+
</details>
|
|
861
|
+
<details>
|
|
862
|
+
<summary>
|
|
835
863
|
PutObjectLegalHold
|
|
836
864
|
</summary>
|
|
837
865
|
|
|
@@ -888,6 +916,13 @@ SelectObjectContent
|
|
|
888
916
|
</details>
|
|
889
917
|
<details>
|
|
890
918
|
<summary>
|
|
919
|
+
UpdateBucketMetadataAnnotationTableConfiguration
|
|
920
|
+
</summary>
|
|
921
|
+
|
|
922
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/s3/command/UpdateBucketMetadataAnnotationTableConfigurationCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-s3/Interface/UpdateBucketMetadataAnnotationTableConfigurationCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-s3/Interface/UpdateBucketMetadataAnnotationTableConfigurationCommandOutput/)
|
|
923
|
+
</details>
|
|
924
|
+
<details>
|
|
925
|
+
<summary>
|
|
891
926
|
UpdateBucketMetadataInventoryTableConfiguration
|
|
892
927
|
</summary>
|
|
893
928
|
|
package/dist-cjs/index.js
CHANGED
|
@@ -13,7 +13,7 @@ const { getHttpHandlerExtensionConfiguration, resolveHttpHandlerRuntimeConfig, g
|
|
|
13
13
|
const { resolveRetryConfig, getRetryPlugin } = require("@smithy/core/retry");
|
|
14
14
|
const { getSchemaSerdePlugin } = require("@smithy/core/schema");
|
|
15
15
|
const { resolveHttpAuthSchemeConfig, defaultS3HttpAuthSchemeParametersProvider } = require("./auth/httpAuthSchemeProvider");
|
|
16
|
-
const { CreateSession$, AbortMultipartUpload$, CompleteMultipartUpload$, CopyObject$, CreateBucket$, CreateBucketMetadataConfiguration$, CreateBucketMetadataTableConfiguration$, CreateMultipartUpload$, DeleteBucketAnalyticsConfiguration$, DeleteBucket$, DeleteBucketCors$, DeleteBucketEncryption$, DeleteBucketIntelligentTieringConfiguration$, DeleteBucketInventoryConfiguration$, DeleteBucketLifecycle$, DeleteBucketMetadataConfiguration$, DeleteBucketMetadataTableConfiguration$, DeleteBucketMetricsConfiguration$, DeleteBucketOwnershipControls$, DeleteBucketPolicy$, DeleteBucketReplication$, DeleteBucketTagging$, DeleteBucketWebsite$, DeleteObject$, DeleteObjects$, DeleteObjectTagging$, DeletePublicAccessBlock$, GetBucketAbac$, GetBucketAccelerateConfiguration$, GetBucketAcl$, GetBucketAnalyticsConfiguration$, GetBucketCors$, GetBucketEncryption$, GetBucketIntelligentTieringConfiguration$, GetBucketInventoryConfiguration$, GetBucketLifecycleConfiguration$, GetBucketLocation$, GetBucketLogging$, GetBucketMetadataConfiguration$, GetBucketMetadataTableConfiguration$, GetBucketMetricsConfiguration$, GetBucketNotificationConfiguration$, GetBucketOwnershipControls$, GetBucketPolicy$, GetBucketPolicyStatus$, GetBucketReplication$, GetBucketRequestPayment$, GetBucketTagging$, GetBucketVersioning$, GetBucketWebsite$, GetObjectAcl$, GetObjectAttributes$, GetObject$, GetObjectLegalHold$, GetObjectLockConfiguration$, GetObjectRetention$, GetObjectTagging$, GetObjectTorrent$, GetPublicAccessBlock$, HeadBucket$, HeadObject$, ListBucketAnalyticsConfigurations$, ListBucketIntelligentTieringConfigurations$, ListBucketInventoryConfigurations$, ListBucketMetricsConfigurations$, ListBuckets$, ListDirectoryBuckets$, ListMultipartUploads$, ListObjects$, ListObjectsV2$, ListObjectVersions$, ListParts$, PutBucketAbac$, PutBucketAccelerateConfiguration$, PutBucketAcl$, PutBucketAnalyticsConfiguration$, PutBucketCors$, PutBucketEncryption$, PutBucketIntelligentTieringConfiguration$, PutBucketInventoryConfiguration$, PutBucketLifecycleConfiguration$, PutBucketLogging$, PutBucketMetricsConfiguration$, PutBucketNotificationConfiguration$, PutBucketOwnershipControls$, PutBucketPolicy$, PutBucketReplication$, PutBucketRequestPayment$, PutBucketTagging$, PutBucketVersioning$, PutBucketWebsite$, PutObjectAcl$, PutObject$, PutObjectLegalHold$, PutObjectLockConfiguration$, PutObjectRetention$, PutObjectTagging$, PutPublicAccessBlock$, RenameObject$, RestoreObject$, SelectObjectContent$, UpdateBucketMetadataInventoryTableConfiguration$, UpdateBucketMetadataJournalTableConfiguration$, UpdateObjectEncryption$, UploadPart$, UploadPartCopy$, WriteGetObjectResponse$ } = require("./schemas/schemas_0");
|
|
16
|
+
const { CreateSession$, AbortMultipartUpload$, CompleteMultipartUpload$, CopyObject$, CreateBucket$, CreateBucketMetadataConfiguration$, CreateBucketMetadataTableConfiguration$, CreateMultipartUpload$, DeleteBucketAnalyticsConfiguration$, DeleteBucket$, DeleteBucketCors$, DeleteBucketEncryption$, DeleteBucketIntelligentTieringConfiguration$, DeleteBucketInventoryConfiguration$, DeleteBucketLifecycle$, DeleteBucketMetadataConfiguration$, DeleteBucketMetadataTableConfiguration$, DeleteBucketMetricsConfiguration$, DeleteBucketOwnershipControls$, DeleteBucketPolicy$, DeleteBucketReplication$, DeleteBucketTagging$, DeleteBucketWebsite$, DeleteObjectAnnotation$, DeleteObject$, DeleteObjects$, DeleteObjectTagging$, DeletePublicAccessBlock$, GetBucketAbac$, GetBucketAccelerateConfiguration$, GetBucketAcl$, GetBucketAnalyticsConfiguration$, GetBucketCors$, GetBucketEncryption$, GetBucketIntelligentTieringConfiguration$, GetBucketInventoryConfiguration$, GetBucketLifecycleConfiguration$, GetBucketLocation$, GetBucketLogging$, GetBucketMetadataConfiguration$, GetBucketMetadataTableConfiguration$, GetBucketMetricsConfiguration$, GetBucketNotificationConfiguration$, GetBucketOwnershipControls$, GetBucketPolicy$, GetBucketPolicyStatus$, GetBucketReplication$, GetBucketRequestPayment$, GetBucketTagging$, GetBucketVersioning$, GetBucketWebsite$, GetObjectAcl$, GetObjectAnnotation$, GetObjectAttributes$, GetObject$, GetObjectLegalHold$, GetObjectLockConfiguration$, GetObjectRetention$, GetObjectTagging$, GetObjectTorrent$, GetPublicAccessBlock$, HeadBucket$, HeadObject$, ListBucketAnalyticsConfigurations$, ListBucketIntelligentTieringConfigurations$, ListBucketInventoryConfigurations$, ListBucketMetricsConfigurations$, ListBuckets$, ListDirectoryBuckets$, ListMultipartUploads$, ListObjectAnnotations$, ListObjects$, ListObjectsV2$, ListObjectVersions$, ListParts$, PutBucketAbac$, PutBucketAccelerateConfiguration$, PutBucketAcl$, PutBucketAnalyticsConfiguration$, PutBucketCors$, PutBucketEncryption$, PutBucketIntelligentTieringConfiguration$, PutBucketInventoryConfiguration$, PutBucketLifecycleConfiguration$, PutBucketLogging$, PutBucketMetricsConfiguration$, PutBucketNotificationConfiguration$, PutBucketOwnershipControls$, PutBucketPolicy$, PutBucketReplication$, PutBucketRequestPayment$, PutBucketTagging$, PutBucketVersioning$, PutBucketWebsite$, PutObjectAcl$, PutObjectAnnotation$, PutObject$, PutObjectLegalHold$, PutObjectLockConfiguration$, PutObjectRetention$, PutObjectTagging$, PutPublicAccessBlock$, RenameObject$, RestoreObject$, SelectObjectContent$, UpdateBucketMetadataAnnotationTableConfiguration$, UpdateBucketMetadataInventoryTableConfiguration$, UpdateBucketMetadataJournalTableConfiguration$, UpdateObjectEncryption$, UploadPart$, UploadPartCopy$, WriteGetObjectResponse$ } = require("./schemas/schemas_0");
|
|
17
17
|
__exportStar(require("./schemas/schemas_0"), exports);
|
|
18
18
|
const { getRuntimeConfig } = require("./runtimeConfig");
|
|
19
19
|
__exportStar(require("./models/errors"), exports);
|
|
@@ -539,6 +539,24 @@ class DeleteBucketWebsiteCommand extends Command
|
|
|
539
539
|
.build() {
|
|
540
540
|
}
|
|
541
541
|
|
|
542
|
+
class DeleteObjectAnnotationCommand extends Command
|
|
543
|
+
.classBuilder()
|
|
544
|
+
.ep({
|
|
545
|
+
...commonParams,
|
|
546
|
+
Bucket: { type: "contextParams", name: "Bucket" },
|
|
547
|
+
})
|
|
548
|
+
.m(function (Command, cs, config, o) {
|
|
549
|
+
return [
|
|
550
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
551
|
+
getThrow200ExceptionsPlugin(config),
|
|
552
|
+
];
|
|
553
|
+
})
|
|
554
|
+
.s("AmazonS3", "DeleteObjectAnnotation", {})
|
|
555
|
+
.n("S3Client", "DeleteObjectAnnotationCommand")
|
|
556
|
+
.sc(DeleteObjectAnnotation$)
|
|
557
|
+
.build() {
|
|
558
|
+
}
|
|
559
|
+
|
|
542
560
|
class DeleteObjectCommand extends Command
|
|
543
561
|
.classBuilder()
|
|
544
562
|
.ep({
|
|
@@ -1066,6 +1084,29 @@ class GetObjectAclCommand extends Command
|
|
|
1066
1084
|
.build() {
|
|
1067
1085
|
}
|
|
1068
1086
|
|
|
1087
|
+
class GetObjectAnnotationCommand extends Command
|
|
1088
|
+
.classBuilder()
|
|
1089
|
+
.ep({
|
|
1090
|
+
...commonParams,
|
|
1091
|
+
Bucket: { type: "contextParams", name: "Bucket" },
|
|
1092
|
+
Key: { type: "contextParams", name: "Key" },
|
|
1093
|
+
})
|
|
1094
|
+
.m(function (Command, cs, config, o) {
|
|
1095
|
+
return [
|
|
1096
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1097
|
+
getFlexibleChecksumsPlugin(config, {
|
|
1098
|
+
requestChecksumRequired: false,
|
|
1099
|
+
requestValidationModeMember: 'ChecksumMode',
|
|
1100
|
+
'responseAlgorithms': ['CRC64NVME', 'CRC32', 'CRC32C', 'SHA256', 'SHA1', 'SHA512', 'MD5', 'XXHASH64', 'XXHASH3', 'XXHASH128'],
|
|
1101
|
+
}),
|
|
1102
|
+
];
|
|
1103
|
+
})
|
|
1104
|
+
.s("AmazonS3", "GetObjectAnnotation", {})
|
|
1105
|
+
.n("S3Client", "GetObjectAnnotationCommand")
|
|
1106
|
+
.sc(GetObjectAnnotation$)
|
|
1107
|
+
.build() {
|
|
1108
|
+
}
|
|
1109
|
+
|
|
1069
1110
|
class GetObjectAttributesCommand extends Command
|
|
1070
1111
|
.classBuilder()
|
|
1071
1112
|
.ep({
|
|
@@ -1383,6 +1424,24 @@ class ListMultipartUploadsCommand extends Command
|
|
|
1383
1424
|
.build() {
|
|
1384
1425
|
}
|
|
1385
1426
|
|
|
1427
|
+
class ListObjectAnnotationsCommand extends Command
|
|
1428
|
+
.classBuilder()
|
|
1429
|
+
.ep({
|
|
1430
|
+
...commonParams,
|
|
1431
|
+
Bucket: { type: "contextParams", name: "Bucket" },
|
|
1432
|
+
})
|
|
1433
|
+
.m(function (Command, cs, config, o) {
|
|
1434
|
+
return [
|
|
1435
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1436
|
+
getThrow200ExceptionsPlugin(config),
|
|
1437
|
+
];
|
|
1438
|
+
})
|
|
1439
|
+
.s("AmazonS3", "ListObjectAnnotations", {})
|
|
1440
|
+
.n("S3Client", "ListObjectAnnotationsCommand")
|
|
1441
|
+
.sc(ListObjectAnnotations$)
|
|
1442
|
+
.build() {
|
|
1443
|
+
}
|
|
1444
|
+
|
|
1386
1445
|
class ListObjectsCommand extends Command
|
|
1387
1446
|
.classBuilder()
|
|
1388
1447
|
.ep({
|
|
@@ -1871,6 +1930,29 @@ class PutObjectAclCommand extends Command
|
|
|
1871
1930
|
.build() {
|
|
1872
1931
|
}
|
|
1873
1932
|
|
|
1933
|
+
class PutObjectAnnotationCommand extends Command
|
|
1934
|
+
.classBuilder()
|
|
1935
|
+
.ep({
|
|
1936
|
+
...commonParams,
|
|
1937
|
+
Bucket: { type: "contextParams", name: "Bucket" },
|
|
1938
|
+
Key: { type: "contextParams", name: "Key" },
|
|
1939
|
+
})
|
|
1940
|
+
.m(function (Command, cs, config, o) {
|
|
1941
|
+
return [
|
|
1942
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1943
|
+
getFlexibleChecksumsPlugin(config, {
|
|
1944
|
+
requestAlgorithmMember: { 'httpHeader': 'x-amz-sdk-checksum-algorithm', 'name': 'ChecksumAlgorithm' },
|
|
1945
|
+
requestChecksumRequired: false,
|
|
1946
|
+
}),
|
|
1947
|
+
getThrow200ExceptionsPlugin(config),
|
|
1948
|
+
];
|
|
1949
|
+
})
|
|
1950
|
+
.s("AmazonS3", "PutObjectAnnotation", {})
|
|
1951
|
+
.n("S3Client", "PutObjectAnnotationCommand")
|
|
1952
|
+
.sc(PutObjectAnnotation$)
|
|
1953
|
+
.build() {
|
|
1954
|
+
}
|
|
1955
|
+
|
|
1874
1956
|
class PutObjectCommand extends Command
|
|
1875
1957
|
.classBuilder()
|
|
1876
1958
|
.ep({
|
|
@@ -2069,6 +2151,28 @@ class SelectObjectContentCommand extends Command
|
|
|
2069
2151
|
.build() {
|
|
2070
2152
|
}
|
|
2071
2153
|
|
|
2154
|
+
class UpdateBucketMetadataAnnotationTableConfigurationCommand extends Command
|
|
2155
|
+
.classBuilder()
|
|
2156
|
+
.ep({
|
|
2157
|
+
...commonParams,
|
|
2158
|
+
UseS3ExpressControlEndpoint: { type: "staticContextParams", value: true },
|
|
2159
|
+
Bucket: { type: "contextParams", name: "Bucket" },
|
|
2160
|
+
})
|
|
2161
|
+
.m(function (Command, cs, config, o) {
|
|
2162
|
+
return [
|
|
2163
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
2164
|
+
getFlexibleChecksumsPlugin(config, {
|
|
2165
|
+
requestAlgorithmMember: { 'httpHeader': 'x-amz-sdk-checksum-algorithm', 'name': 'ChecksumAlgorithm' },
|
|
2166
|
+
requestChecksumRequired: true,
|
|
2167
|
+
}),
|
|
2168
|
+
];
|
|
2169
|
+
})
|
|
2170
|
+
.s("AmazonS3", "UpdateBucketMetadataAnnotationTableConfiguration", {})
|
|
2171
|
+
.n("S3Client", "UpdateBucketMetadataAnnotationTableConfigurationCommand")
|
|
2172
|
+
.sc(UpdateBucketMetadataAnnotationTableConfiguration$)
|
|
2173
|
+
.build() {
|
|
2174
|
+
}
|
|
2175
|
+
|
|
2072
2176
|
class UpdateBucketMetadataInventoryTableConfigurationCommand extends Command
|
|
2073
2177
|
.classBuilder()
|
|
2074
2178
|
.ep({
|
|
@@ -2198,6 +2302,8 @@ const paginateListBuckets = createPaginator(S3Client, ListBucketsCommand, "Conti
|
|
|
2198
2302
|
|
|
2199
2303
|
const paginateListDirectoryBuckets = createPaginator(S3Client, ListDirectoryBucketsCommand, "ContinuationToken", "ContinuationToken", "MaxDirectoryBuckets");
|
|
2200
2304
|
|
|
2305
|
+
const paginateListObjectAnnotations = createPaginator(S3Client, ListObjectAnnotationsCommand, "ContinuationToken", "NextContinuationToken", "MaxAnnotationResults");
|
|
2306
|
+
|
|
2201
2307
|
const paginateListObjectsV2 = createPaginator(S3Client, ListObjectsV2Command, "ContinuationToken", "NextContinuationToken", "MaxKeys");
|
|
2202
2308
|
|
|
2203
2309
|
const paginateListParts = createPaginator(S3Client, ListPartsCommand, "PartNumberMarker", "NextPartNumberMarker", "MaxParts");
|
|
@@ -2325,6 +2431,7 @@ const commands = {
|
|
|
2325
2431
|
DeleteBucketTaggingCommand,
|
|
2326
2432
|
DeleteBucketWebsiteCommand,
|
|
2327
2433
|
DeleteObjectCommand,
|
|
2434
|
+
DeleteObjectAnnotationCommand,
|
|
2328
2435
|
DeleteObjectsCommand,
|
|
2329
2436
|
DeleteObjectTaggingCommand,
|
|
2330
2437
|
DeletePublicAccessBlockCommand,
|
|
@@ -2353,6 +2460,7 @@ const commands = {
|
|
|
2353
2460
|
GetBucketWebsiteCommand,
|
|
2354
2461
|
GetObjectCommand,
|
|
2355
2462
|
GetObjectAclCommand,
|
|
2463
|
+
GetObjectAnnotationCommand,
|
|
2356
2464
|
GetObjectAttributesCommand,
|
|
2357
2465
|
GetObjectLegalHoldCommand,
|
|
2358
2466
|
GetObjectLockConfigurationCommand,
|
|
@@ -2369,6 +2477,7 @@ const commands = {
|
|
|
2369
2477
|
ListBucketsCommand,
|
|
2370
2478
|
ListDirectoryBucketsCommand,
|
|
2371
2479
|
ListMultipartUploadsCommand,
|
|
2480
|
+
ListObjectAnnotationsCommand,
|
|
2372
2481
|
ListObjectsCommand,
|
|
2373
2482
|
ListObjectsV2Command,
|
|
2374
2483
|
ListObjectVersionsCommand,
|
|
@@ -2394,6 +2503,7 @@ const commands = {
|
|
|
2394
2503
|
PutBucketWebsiteCommand,
|
|
2395
2504
|
PutObjectCommand,
|
|
2396
2505
|
PutObjectAclCommand,
|
|
2506
|
+
PutObjectAnnotationCommand,
|
|
2397
2507
|
PutObjectLegalHoldCommand,
|
|
2398
2508
|
PutObjectLockConfigurationCommand,
|
|
2399
2509
|
PutObjectRetentionCommand,
|
|
@@ -2402,6 +2512,7 @@ const commands = {
|
|
|
2402
2512
|
RenameObjectCommand,
|
|
2403
2513
|
RestoreObjectCommand,
|
|
2404
2514
|
SelectObjectContentCommand,
|
|
2515
|
+
UpdateBucketMetadataAnnotationTableConfigurationCommand,
|
|
2405
2516
|
UpdateBucketMetadataInventoryTableConfigurationCommand,
|
|
2406
2517
|
UpdateBucketMetadataJournalTableConfigurationCommand,
|
|
2407
2518
|
UpdateObjectEncryptionCommand,
|
|
@@ -2412,6 +2523,7 @@ const commands = {
|
|
|
2412
2523
|
const paginators = {
|
|
2413
2524
|
paginateListBuckets,
|
|
2414
2525
|
paginateListDirectoryBuckets,
|
|
2526
|
+
paginateListObjectAnnotations,
|
|
2415
2527
|
paginateListObjectsV2,
|
|
2416
2528
|
paginateListParts,
|
|
2417
2529
|
};
|
|
@@ -2473,6 +2585,10 @@ const ObjectCannedACL = {
|
|
|
2473
2585
|
public_read: "public-read",
|
|
2474
2586
|
public_read_write: "public-read-write",
|
|
2475
2587
|
};
|
|
2588
|
+
const AnnotationDirective = {
|
|
2589
|
+
COPY: "COPY",
|
|
2590
|
+
EXCLUDE: "EXCLUDE",
|
|
2591
|
+
};
|
|
2476
2592
|
const ChecksumAlgorithm = {
|
|
2477
2593
|
CRC32: "CRC32",
|
|
2478
2594
|
CRC32C: "CRC32C",
|
|
@@ -2582,7 +2698,7 @@ const ObjectOwnership = {
|
|
|
2582
2698
|
BucketOwnerPreferred: "BucketOwnerPreferred",
|
|
2583
2699
|
ObjectWriter: "ObjectWriter",
|
|
2584
2700
|
};
|
|
2585
|
-
const
|
|
2701
|
+
const AnnotationConfigurationState = {
|
|
2586
2702
|
DISABLED: "DISABLED",
|
|
2587
2703
|
ENABLED: "ENABLED",
|
|
2588
2704
|
};
|
|
@@ -2590,6 +2706,10 @@ const TableSseAlgorithm = {
|
|
|
2590
2706
|
AES256: "AES256",
|
|
2591
2707
|
aws_kms: "aws:kms",
|
|
2592
2708
|
};
|
|
2709
|
+
const InventoryConfigurationState = {
|
|
2710
|
+
DISABLED: "DISABLED",
|
|
2711
|
+
ENABLED: "ENABLED",
|
|
2712
|
+
};
|
|
2593
2713
|
const ExpirationState = {
|
|
2594
2714
|
DISABLED: "DISABLED",
|
|
2595
2715
|
ENABLED: "ENABLED",
|
|
@@ -2683,6 +2803,9 @@ const Event = {
|
|
|
2683
2803
|
s3_LifecycleExpiration_DeleteMarkerCreated: "s3:LifecycleExpiration:DeleteMarkerCreated",
|
|
2684
2804
|
s3_LifecycleTransition: "s3:LifecycleTransition",
|
|
2685
2805
|
s3_ObjectAcl_Put: "s3:ObjectAcl:Put",
|
|
2806
|
+
s3_ObjectAnnotation_: "s3:ObjectAnnotation:*",
|
|
2807
|
+
s3_ObjectAnnotation_Delete: "s3:ObjectAnnotation:Delete",
|
|
2808
|
+
s3_ObjectAnnotation_Put: "s3:ObjectAnnotation:Put",
|
|
2686
2809
|
s3_ObjectCreated_: "s3:ObjectCreated:*",
|
|
2687
2810
|
s3_ObjectCreated_CompleteMultipartUpload: "s3:ObjectCreated:CompleteMultipartUpload",
|
|
2688
2811
|
s3_ObjectCreated_Copy: "s3:ObjectCreated:Copy",
|
|
@@ -2841,6 +2964,8 @@ const RestoreRequestType = {
|
|
|
2841
2964
|
|
|
2842
2965
|
exports.AbortMultipartUploadCommand = AbortMultipartUploadCommand;
|
|
2843
2966
|
exports.AnalyticsS3ExportFileFormat = AnalyticsS3ExportFileFormat;
|
|
2967
|
+
exports.AnnotationConfigurationState = AnnotationConfigurationState;
|
|
2968
|
+
exports.AnnotationDirective = AnnotationDirective;
|
|
2844
2969
|
exports.ArchiveStatus = ArchiveStatus;
|
|
2845
2970
|
exports.BucketAbacStatus = BucketAbacStatus;
|
|
2846
2971
|
exports.BucketAccelerateStatus = BucketAccelerateStatus;
|
|
@@ -2878,6 +3003,7 @@ exports.DeleteBucketReplicationCommand = DeleteBucketReplicationCommand;
|
|
|
2878
3003
|
exports.DeleteBucketTaggingCommand = DeleteBucketTaggingCommand;
|
|
2879
3004
|
exports.DeleteBucketWebsiteCommand = DeleteBucketWebsiteCommand;
|
|
2880
3005
|
exports.DeleteMarkerReplicationStatus = DeleteMarkerReplicationStatus;
|
|
3006
|
+
exports.DeleteObjectAnnotationCommand = DeleteObjectAnnotationCommand;
|
|
2881
3007
|
exports.DeleteObjectCommand = DeleteObjectCommand;
|
|
2882
3008
|
exports.DeleteObjectTaggingCommand = DeleteObjectTaggingCommand;
|
|
2883
3009
|
exports.DeleteObjectsCommand = DeleteObjectsCommand;
|
|
@@ -2915,6 +3041,7 @@ exports.GetBucketTaggingCommand = GetBucketTaggingCommand;
|
|
|
2915
3041
|
exports.GetBucketVersioningCommand = GetBucketVersioningCommand;
|
|
2916
3042
|
exports.GetBucketWebsiteCommand = GetBucketWebsiteCommand;
|
|
2917
3043
|
exports.GetObjectAclCommand = GetObjectAclCommand;
|
|
3044
|
+
exports.GetObjectAnnotationCommand = GetObjectAnnotationCommand;
|
|
2918
3045
|
exports.GetObjectAttributesCommand = GetObjectAttributesCommand;
|
|
2919
3046
|
exports.GetObjectCommand = GetObjectCommand;
|
|
2920
3047
|
exports.GetObjectLegalHoldCommand = GetObjectLegalHoldCommand;
|
|
@@ -2940,6 +3067,7 @@ exports.ListBucketMetricsConfigurationsCommand = ListBucketMetricsConfigurations
|
|
|
2940
3067
|
exports.ListBucketsCommand = ListBucketsCommand;
|
|
2941
3068
|
exports.ListDirectoryBucketsCommand = ListDirectoryBucketsCommand;
|
|
2942
3069
|
exports.ListMultipartUploadsCommand = ListMultipartUploadsCommand;
|
|
3070
|
+
exports.ListObjectAnnotationsCommand = ListObjectAnnotationsCommand;
|
|
2943
3071
|
exports.ListObjectVersionsCommand = ListObjectVersionsCommand;
|
|
2944
3072
|
exports.ListObjectsCommand = ListObjectsCommand;
|
|
2945
3073
|
exports.ListObjectsV2Command = ListObjectsV2Command;
|
|
@@ -2984,6 +3112,7 @@ exports.PutBucketTaggingCommand = PutBucketTaggingCommand;
|
|
|
2984
3112
|
exports.PutBucketVersioningCommand = PutBucketVersioningCommand;
|
|
2985
3113
|
exports.PutBucketWebsiteCommand = PutBucketWebsiteCommand;
|
|
2986
3114
|
exports.PutObjectAclCommand = PutObjectAclCommand;
|
|
3115
|
+
exports.PutObjectAnnotationCommand = PutObjectAnnotationCommand;
|
|
2987
3116
|
exports.PutObjectCommand = PutObjectCommand;
|
|
2988
3117
|
exports.PutObjectLegalHoldCommand = PutObjectLegalHoldCommand;
|
|
2989
3118
|
exports.PutObjectLockConfigurationCommand = PutObjectLockConfigurationCommand;
|
|
@@ -3015,6 +3144,7 @@ exports.Tier = Tier;
|
|
|
3015
3144
|
exports.TransitionDefaultMinimumObjectSize = TransitionDefaultMinimumObjectSize;
|
|
3016
3145
|
exports.TransitionStorageClass = TransitionStorageClass;
|
|
3017
3146
|
exports.Type = Type;
|
|
3147
|
+
exports.UpdateBucketMetadataAnnotationTableConfigurationCommand = UpdateBucketMetadataAnnotationTableConfigurationCommand;
|
|
3018
3148
|
exports.UpdateBucketMetadataInventoryTableConfigurationCommand = UpdateBucketMetadataInventoryTableConfigurationCommand;
|
|
3019
3149
|
exports.UpdateBucketMetadataJournalTableConfigurationCommand = UpdateBucketMetadataJournalTableConfigurationCommand;
|
|
3020
3150
|
exports.UpdateObjectEncryptionCommand = UpdateObjectEncryptionCommand;
|
|
@@ -3023,6 +3153,7 @@ exports.UploadPartCopyCommand = UploadPartCopyCommand;
|
|
|
3023
3153
|
exports.WriteGetObjectResponseCommand = WriteGetObjectResponseCommand;
|
|
3024
3154
|
exports.paginateListBuckets = paginateListBuckets;
|
|
3025
3155
|
exports.paginateListDirectoryBuckets = paginateListDirectoryBuckets;
|
|
3156
|
+
exports.paginateListObjectAnnotations = paginateListObjectAnnotations;
|
|
3026
3157
|
exports.paginateListObjectsV2 = paginateListObjectsV2;
|
|
3027
3158
|
exports.paginateListParts = paginateListParts;
|
|
3028
3159
|
exports.waitForBucketExists = waitForBucketExists;
|
|
@@ -71,6 +71,18 @@ exports.NoSuchBucket = class NoSuchBucket extends __BaseException {
|
|
|
71
71
|
Object.setPrototypeOf(this, NoSuchBucket.prototype);
|
|
72
72
|
}
|
|
73
73
|
};
|
|
74
|
+
exports.NoSuchKey = class NoSuchKey extends __BaseException {
|
|
75
|
+
name = "NoSuchKey";
|
|
76
|
+
$fault = "client";
|
|
77
|
+
constructor(opts) {
|
|
78
|
+
super({
|
|
79
|
+
name: "NoSuchKey",
|
|
80
|
+
$fault: "client",
|
|
81
|
+
...opts,
|
|
82
|
+
});
|
|
83
|
+
Object.setPrototypeOf(this, NoSuchKey.prototype);
|
|
84
|
+
}
|
|
85
|
+
};
|
|
74
86
|
exports.InvalidObjectState = class InvalidObjectState extends __BaseException {
|
|
75
87
|
name = "InvalidObjectState";
|
|
76
88
|
$fault = "client";
|
|
@@ -87,16 +99,16 @@ exports.InvalidObjectState = class InvalidObjectState extends __BaseException {
|
|
|
87
99
|
this.AccessTier = opts.AccessTier;
|
|
88
100
|
}
|
|
89
101
|
};
|
|
90
|
-
exports.
|
|
91
|
-
name = "
|
|
102
|
+
exports.NoSuchAnnotation = class NoSuchAnnotation extends __BaseException {
|
|
103
|
+
name = "NoSuchAnnotation";
|
|
92
104
|
$fault = "client";
|
|
93
105
|
constructor(opts) {
|
|
94
106
|
super({
|
|
95
|
-
name: "
|
|
107
|
+
name: "NoSuchAnnotation",
|
|
96
108
|
$fault: "client",
|
|
97
109
|
...opts,
|
|
98
110
|
});
|
|
99
|
-
Object.setPrototypeOf(this,
|
|
111
|
+
Object.setPrototypeOf(this, NoSuchAnnotation.prototype);
|
|
100
112
|
}
|
|
101
113
|
};
|
|
102
114
|
exports.NotFound = class NotFound extends __BaseException {
|
|
@@ -111,6 +123,18 @@ exports.NotFound = class NotFound extends __BaseException {
|
|
|
111
123
|
Object.setPrototypeOf(this, NotFound.prototype);
|
|
112
124
|
}
|
|
113
125
|
};
|
|
126
|
+
exports.InvalidPrefix = class InvalidPrefix extends __BaseException {
|
|
127
|
+
name = "InvalidPrefix";
|
|
128
|
+
$fault = "client";
|
|
129
|
+
constructor(opts) {
|
|
130
|
+
super({
|
|
131
|
+
name: "InvalidPrefix",
|
|
132
|
+
$fault: "client",
|
|
133
|
+
...opts,
|
|
134
|
+
});
|
|
135
|
+
Object.setPrototypeOf(this, InvalidPrefix.prototype);
|
|
136
|
+
}
|
|
137
|
+
};
|
|
114
138
|
exports.EncryptionTypeMismatch = class EncryptionTypeMismatch extends __BaseException {
|
|
115
139
|
name = "EncryptionTypeMismatch";
|
|
116
140
|
$fault = "client";
|
|
@@ -159,6 +183,54 @@ exports.TooManyParts = class TooManyParts extends __BaseException {
|
|
|
159
183
|
Object.setPrototypeOf(this, TooManyParts.prototype);
|
|
160
184
|
}
|
|
161
185
|
};
|
|
186
|
+
exports.AnnotationLimitExceeded = class AnnotationLimitExceeded extends __BaseException {
|
|
187
|
+
name = "AnnotationLimitExceeded";
|
|
188
|
+
$fault = "client";
|
|
189
|
+
constructor(opts) {
|
|
190
|
+
super({
|
|
191
|
+
name: "AnnotationLimitExceeded",
|
|
192
|
+
$fault: "client",
|
|
193
|
+
...opts,
|
|
194
|
+
});
|
|
195
|
+
Object.setPrototypeOf(this, AnnotationLimitExceeded.prototype);
|
|
196
|
+
}
|
|
197
|
+
};
|
|
198
|
+
exports.AnnotationNameTooLong = class AnnotationNameTooLong extends __BaseException {
|
|
199
|
+
name = "AnnotationNameTooLong";
|
|
200
|
+
$fault = "client";
|
|
201
|
+
constructor(opts) {
|
|
202
|
+
super({
|
|
203
|
+
name: "AnnotationNameTooLong",
|
|
204
|
+
$fault: "client",
|
|
205
|
+
...opts,
|
|
206
|
+
});
|
|
207
|
+
Object.setPrototypeOf(this, AnnotationNameTooLong.prototype);
|
|
208
|
+
}
|
|
209
|
+
};
|
|
210
|
+
exports.InvalidAnnotationName = class InvalidAnnotationName extends __BaseException {
|
|
211
|
+
name = "InvalidAnnotationName";
|
|
212
|
+
$fault = "client";
|
|
213
|
+
constructor(opts) {
|
|
214
|
+
super({
|
|
215
|
+
name: "InvalidAnnotationName",
|
|
216
|
+
$fault: "client",
|
|
217
|
+
...opts,
|
|
218
|
+
});
|
|
219
|
+
Object.setPrototypeOf(this, InvalidAnnotationName.prototype);
|
|
220
|
+
}
|
|
221
|
+
};
|
|
222
|
+
exports.UnsupportedMediaType = class UnsupportedMediaType extends __BaseException {
|
|
223
|
+
name = "UnsupportedMediaType";
|
|
224
|
+
$fault = "client";
|
|
225
|
+
constructor(opts) {
|
|
226
|
+
super({
|
|
227
|
+
name: "UnsupportedMediaType",
|
|
228
|
+
$fault: "client",
|
|
229
|
+
...opts,
|
|
230
|
+
});
|
|
231
|
+
Object.setPrototypeOf(this, UnsupportedMediaType.prototype);
|
|
232
|
+
}
|
|
233
|
+
};
|
|
162
234
|
exports.IdempotencyParameterMismatch = class IdempotencyParameterMismatch extends __BaseException {
|
|
163
235
|
name = "IdempotencyParameterMismatch";
|
|
164
236
|
$fault = "client";
|