@aws-sdk/client-s3 3.1069.0 → 3.1071.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 +6 -6
package/dist-types/S3.d.ts
CHANGED
|
@@ -23,6 +23,7 @@ import { type DeleteBucketPolicyCommandInput, type DeleteBucketPolicyCommandOutp
|
|
|
23
23
|
import { type DeleteBucketReplicationCommandInput, type DeleteBucketReplicationCommandOutput } from "./commands/DeleteBucketReplicationCommand";
|
|
24
24
|
import { type DeleteBucketTaggingCommandInput, type DeleteBucketTaggingCommandOutput } from "./commands/DeleteBucketTaggingCommand";
|
|
25
25
|
import { type DeleteBucketWebsiteCommandInput, type DeleteBucketWebsiteCommandOutput } from "./commands/DeleteBucketWebsiteCommand";
|
|
26
|
+
import { type DeleteObjectAnnotationCommandInput, type DeleteObjectAnnotationCommandOutput } from "./commands/DeleteObjectAnnotationCommand";
|
|
26
27
|
import { type DeleteObjectCommandInput, type DeleteObjectCommandOutput } from "./commands/DeleteObjectCommand";
|
|
27
28
|
import { type DeleteObjectsCommandInput, type DeleteObjectsCommandOutput } from "./commands/DeleteObjectsCommand";
|
|
28
29
|
import { type DeleteObjectTaggingCommandInput, type DeleteObjectTaggingCommandOutput } from "./commands/DeleteObjectTaggingCommand";
|
|
@@ -51,6 +52,7 @@ import { type GetBucketTaggingCommandInput, type GetBucketTaggingCommandOutput }
|
|
|
51
52
|
import { type GetBucketVersioningCommandInput, type GetBucketVersioningCommandOutput } from "./commands/GetBucketVersioningCommand";
|
|
52
53
|
import { type GetBucketWebsiteCommandInput, type GetBucketWebsiteCommandOutput } from "./commands/GetBucketWebsiteCommand";
|
|
53
54
|
import { type GetObjectAclCommandInput, type GetObjectAclCommandOutput } from "./commands/GetObjectAclCommand";
|
|
55
|
+
import { type GetObjectAnnotationCommandInput, type GetObjectAnnotationCommandOutput } from "./commands/GetObjectAnnotationCommand";
|
|
54
56
|
import { type GetObjectAttributesCommandInput, type GetObjectAttributesCommandOutput } from "./commands/GetObjectAttributesCommand";
|
|
55
57
|
import { type GetObjectCommandInput, type GetObjectCommandOutput } from "./commands/GetObjectCommand";
|
|
56
58
|
import { type GetObjectLegalHoldCommandInput, type GetObjectLegalHoldCommandOutput } from "./commands/GetObjectLegalHoldCommand";
|
|
@@ -68,6 +70,7 @@ import { type ListBucketMetricsConfigurationsCommandInput, type ListBucketMetric
|
|
|
68
70
|
import { type ListBucketsCommandInput, type ListBucketsCommandOutput } from "./commands/ListBucketsCommand";
|
|
69
71
|
import { type ListDirectoryBucketsCommandInput, type ListDirectoryBucketsCommandOutput } from "./commands/ListDirectoryBucketsCommand";
|
|
70
72
|
import { type ListMultipartUploadsCommandInput, type ListMultipartUploadsCommandOutput } from "./commands/ListMultipartUploadsCommand";
|
|
73
|
+
import { type ListObjectAnnotationsCommandInput, type ListObjectAnnotationsCommandOutput } from "./commands/ListObjectAnnotationsCommand";
|
|
71
74
|
import { type ListObjectsCommandInput, type ListObjectsCommandOutput } from "./commands/ListObjectsCommand";
|
|
72
75
|
import { type ListObjectsV2CommandInput, type ListObjectsV2CommandOutput } from "./commands/ListObjectsV2Command";
|
|
73
76
|
import { type ListObjectVersionsCommandInput, type ListObjectVersionsCommandOutput } from "./commands/ListObjectVersionsCommand";
|
|
@@ -92,6 +95,7 @@ import { type PutBucketTaggingCommandInput, type PutBucketTaggingCommandOutput }
|
|
|
92
95
|
import { type PutBucketVersioningCommandInput, type PutBucketVersioningCommandOutput } from "./commands/PutBucketVersioningCommand";
|
|
93
96
|
import { type PutBucketWebsiteCommandInput, type PutBucketWebsiteCommandOutput } from "./commands/PutBucketWebsiteCommand";
|
|
94
97
|
import { type PutObjectAclCommandInput, type PutObjectAclCommandOutput } from "./commands/PutObjectAclCommand";
|
|
98
|
+
import { type PutObjectAnnotationCommandInput, type PutObjectAnnotationCommandOutput } from "./commands/PutObjectAnnotationCommand";
|
|
95
99
|
import { type PutObjectCommandInput, type PutObjectCommandOutput } from "./commands/PutObjectCommand";
|
|
96
100
|
import { type PutObjectLegalHoldCommandInput, type PutObjectLegalHoldCommandOutput } from "./commands/PutObjectLegalHoldCommand";
|
|
97
101
|
import { type PutObjectLockConfigurationCommandInput, type PutObjectLockConfigurationCommandOutput } from "./commands/PutObjectLockConfigurationCommand";
|
|
@@ -101,6 +105,7 @@ import { type PutPublicAccessBlockCommandInput, type PutPublicAccessBlockCommand
|
|
|
101
105
|
import { type RenameObjectCommandInput, type RenameObjectCommandOutput } from "./commands/RenameObjectCommand";
|
|
102
106
|
import { type RestoreObjectCommandInput, type RestoreObjectCommandOutput } from "./commands/RestoreObjectCommand";
|
|
103
107
|
import { type SelectObjectContentCommandInput, type SelectObjectContentCommandOutput } from "./commands/SelectObjectContentCommand";
|
|
108
|
+
import { type UpdateBucketMetadataAnnotationTableConfigurationCommandInput, type UpdateBucketMetadataAnnotationTableConfigurationCommandOutput } from "./commands/UpdateBucketMetadataAnnotationTableConfigurationCommand";
|
|
104
109
|
import { type UpdateBucketMetadataInventoryTableConfigurationCommandInput, type UpdateBucketMetadataInventoryTableConfigurationCommandOutput } from "./commands/UpdateBucketMetadataInventoryTableConfigurationCommand";
|
|
105
110
|
import { type UpdateBucketMetadataJournalTableConfigurationCommandInput, type UpdateBucketMetadataJournalTableConfigurationCommandOutput } from "./commands/UpdateBucketMetadataJournalTableConfigurationCommand";
|
|
106
111
|
import { type UpdateObjectEncryptionCommandInput, type UpdateObjectEncryptionCommandOutput } from "./commands/UpdateObjectEncryptionCommand";
|
|
@@ -254,6 +259,12 @@ export interface S3 {
|
|
|
254
259
|
deleteObject(args: DeleteObjectCommandInput, options?: __HttpHandlerOptions): Promise<DeleteObjectCommandOutput>;
|
|
255
260
|
deleteObject(args: DeleteObjectCommandInput, cb: (err: any, data?: DeleteObjectCommandOutput) => void): void;
|
|
256
261
|
deleteObject(args: DeleteObjectCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteObjectCommandOutput) => void): void;
|
|
262
|
+
/**
|
|
263
|
+
* @see {@link DeleteObjectAnnotationCommand}
|
|
264
|
+
*/
|
|
265
|
+
deleteObjectAnnotation(args: DeleteObjectAnnotationCommandInput, options?: __HttpHandlerOptions): Promise<DeleteObjectAnnotationCommandOutput>;
|
|
266
|
+
deleteObjectAnnotation(args: DeleteObjectAnnotationCommandInput, cb: (err: any, data?: DeleteObjectAnnotationCommandOutput) => void): void;
|
|
267
|
+
deleteObjectAnnotation(args: DeleteObjectAnnotationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteObjectAnnotationCommandOutput) => void): void;
|
|
257
268
|
/**
|
|
258
269
|
* @see {@link DeleteObjectsCommand}
|
|
259
270
|
*/
|
|
@@ -422,6 +433,12 @@ export interface S3 {
|
|
|
422
433
|
getObjectAcl(args: GetObjectAclCommandInput, options?: __HttpHandlerOptions): Promise<GetObjectAclCommandOutput>;
|
|
423
434
|
getObjectAcl(args: GetObjectAclCommandInput, cb: (err: any, data?: GetObjectAclCommandOutput) => void): void;
|
|
424
435
|
getObjectAcl(args: GetObjectAclCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetObjectAclCommandOutput) => void): void;
|
|
436
|
+
/**
|
|
437
|
+
* @see {@link GetObjectAnnotationCommand}
|
|
438
|
+
*/
|
|
439
|
+
getObjectAnnotation(args: GetObjectAnnotationCommandInput, options?: __HttpHandlerOptions): Promise<GetObjectAnnotationCommandOutput>;
|
|
440
|
+
getObjectAnnotation(args: GetObjectAnnotationCommandInput, cb: (err: any, data?: GetObjectAnnotationCommandOutput) => void): void;
|
|
441
|
+
getObjectAnnotation(args: GetObjectAnnotationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetObjectAnnotationCommandOutput) => void): void;
|
|
425
442
|
/**
|
|
426
443
|
* @see {@link GetObjectAttributesCommand}
|
|
427
444
|
*/
|
|
@@ -520,6 +537,12 @@ export interface S3 {
|
|
|
520
537
|
listMultipartUploads(args: ListMultipartUploadsCommandInput, options?: __HttpHandlerOptions): Promise<ListMultipartUploadsCommandOutput>;
|
|
521
538
|
listMultipartUploads(args: ListMultipartUploadsCommandInput, cb: (err: any, data?: ListMultipartUploadsCommandOutput) => void): void;
|
|
522
539
|
listMultipartUploads(args: ListMultipartUploadsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListMultipartUploadsCommandOutput) => void): void;
|
|
540
|
+
/**
|
|
541
|
+
* @see {@link ListObjectAnnotationsCommand}
|
|
542
|
+
*/
|
|
543
|
+
listObjectAnnotations(args: ListObjectAnnotationsCommandInput, options?: __HttpHandlerOptions): Promise<ListObjectAnnotationsCommandOutput>;
|
|
544
|
+
listObjectAnnotations(args: ListObjectAnnotationsCommandInput, cb: (err: any, data?: ListObjectAnnotationsCommandOutput) => void): void;
|
|
545
|
+
listObjectAnnotations(args: ListObjectAnnotationsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListObjectAnnotationsCommandOutput) => void): void;
|
|
523
546
|
/**
|
|
524
547
|
* @see {@link ListObjectsCommand}
|
|
525
548
|
*/
|
|
@@ -670,6 +693,12 @@ export interface S3 {
|
|
|
670
693
|
putObjectAcl(args: PutObjectAclCommandInput, options?: __HttpHandlerOptions): Promise<PutObjectAclCommandOutput>;
|
|
671
694
|
putObjectAcl(args: PutObjectAclCommandInput, cb: (err: any, data?: PutObjectAclCommandOutput) => void): void;
|
|
672
695
|
putObjectAcl(args: PutObjectAclCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutObjectAclCommandOutput) => void): void;
|
|
696
|
+
/**
|
|
697
|
+
* @see {@link PutObjectAnnotationCommand}
|
|
698
|
+
*/
|
|
699
|
+
putObjectAnnotation(args: PutObjectAnnotationCommandInput, options?: __HttpHandlerOptions): Promise<PutObjectAnnotationCommandOutput>;
|
|
700
|
+
putObjectAnnotation(args: PutObjectAnnotationCommandInput, cb: (err: any, data?: PutObjectAnnotationCommandOutput) => void): void;
|
|
701
|
+
putObjectAnnotation(args: PutObjectAnnotationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutObjectAnnotationCommandOutput) => void): void;
|
|
673
702
|
/**
|
|
674
703
|
* @see {@link PutObjectLegalHoldCommand}
|
|
675
704
|
*/
|
|
@@ -718,6 +747,12 @@ export interface S3 {
|
|
|
718
747
|
selectObjectContent(args: SelectObjectContentCommandInput, options?: __HttpHandlerOptions): Promise<SelectObjectContentCommandOutput>;
|
|
719
748
|
selectObjectContent(args: SelectObjectContentCommandInput, cb: (err: any, data?: SelectObjectContentCommandOutput) => void): void;
|
|
720
749
|
selectObjectContent(args: SelectObjectContentCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: SelectObjectContentCommandOutput) => void): void;
|
|
750
|
+
/**
|
|
751
|
+
* @see {@link UpdateBucketMetadataAnnotationTableConfigurationCommand}
|
|
752
|
+
*/
|
|
753
|
+
updateBucketMetadataAnnotationTableConfiguration(args: UpdateBucketMetadataAnnotationTableConfigurationCommandInput, options?: __HttpHandlerOptions): Promise<UpdateBucketMetadataAnnotationTableConfigurationCommandOutput>;
|
|
754
|
+
updateBucketMetadataAnnotationTableConfiguration(args: UpdateBucketMetadataAnnotationTableConfigurationCommandInput, cb: (err: any, data?: UpdateBucketMetadataAnnotationTableConfigurationCommandOutput) => void): void;
|
|
755
|
+
updateBucketMetadataAnnotationTableConfiguration(args: UpdateBucketMetadataAnnotationTableConfigurationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateBucketMetadataAnnotationTableConfigurationCommandOutput) => void): void;
|
|
721
756
|
/**
|
|
722
757
|
* @see {@link UpdateBucketMetadataInventoryTableConfigurationCommand}
|
|
723
758
|
*/
|
|
@@ -768,6 +803,13 @@ export interface S3 {
|
|
|
768
803
|
* @returns AsyncIterable of {@link ListDirectoryBucketsCommandOutput}.
|
|
769
804
|
*/
|
|
770
805
|
paginateListDirectoryBuckets(args?: ListDirectoryBucketsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListDirectoryBucketsCommandOutput>;
|
|
806
|
+
/**
|
|
807
|
+
* @see {@link ListObjectAnnotationsCommand}
|
|
808
|
+
* @param args - command input.
|
|
809
|
+
* @param paginationConfig - optional pagination config.
|
|
810
|
+
* @returns AsyncIterable of {@link ListObjectAnnotationsCommandOutput}.
|
|
811
|
+
*/
|
|
812
|
+
paginateListObjectAnnotations(args: ListObjectAnnotationsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListObjectAnnotationsCommandOutput>;
|
|
771
813
|
/**
|
|
772
814
|
* @see {@link ListObjectsV2Command}
|
|
773
815
|
* @param args - command input.
|
package/dist-types/S3Client.d.ts
CHANGED
|
@@ -34,6 +34,7 @@ import type { DeleteBucketPolicyCommandInput, DeleteBucketPolicyCommandOutput }
|
|
|
34
34
|
import type { DeleteBucketReplicationCommandInput, DeleteBucketReplicationCommandOutput } from "./commands/DeleteBucketReplicationCommand";
|
|
35
35
|
import type { DeleteBucketTaggingCommandInput, DeleteBucketTaggingCommandOutput } from "./commands/DeleteBucketTaggingCommand";
|
|
36
36
|
import type { DeleteBucketWebsiteCommandInput, DeleteBucketWebsiteCommandOutput } from "./commands/DeleteBucketWebsiteCommand";
|
|
37
|
+
import type { DeleteObjectAnnotationCommandInput, DeleteObjectAnnotationCommandOutput } from "./commands/DeleteObjectAnnotationCommand";
|
|
37
38
|
import type { DeleteObjectCommandInput, DeleteObjectCommandOutput } from "./commands/DeleteObjectCommand";
|
|
38
39
|
import type { DeleteObjectsCommandInput, DeleteObjectsCommandOutput } from "./commands/DeleteObjectsCommand";
|
|
39
40
|
import type { DeleteObjectTaggingCommandInput, DeleteObjectTaggingCommandOutput } from "./commands/DeleteObjectTaggingCommand";
|
|
@@ -62,6 +63,7 @@ import type { GetBucketTaggingCommandInput, GetBucketTaggingCommandOutput } from
|
|
|
62
63
|
import type { GetBucketVersioningCommandInput, GetBucketVersioningCommandOutput } from "./commands/GetBucketVersioningCommand";
|
|
63
64
|
import type { GetBucketWebsiteCommandInput, GetBucketWebsiteCommandOutput } from "./commands/GetBucketWebsiteCommand";
|
|
64
65
|
import type { GetObjectAclCommandInput, GetObjectAclCommandOutput } from "./commands/GetObjectAclCommand";
|
|
66
|
+
import type { GetObjectAnnotationCommandInput, GetObjectAnnotationCommandOutput } from "./commands/GetObjectAnnotationCommand";
|
|
65
67
|
import type { GetObjectAttributesCommandInput, GetObjectAttributesCommandOutput } from "./commands/GetObjectAttributesCommand";
|
|
66
68
|
import type { GetObjectCommandInput, GetObjectCommandOutput } from "./commands/GetObjectCommand";
|
|
67
69
|
import type { GetObjectLegalHoldCommandInput, GetObjectLegalHoldCommandOutput } from "./commands/GetObjectLegalHoldCommand";
|
|
@@ -79,6 +81,7 @@ import type { ListBucketMetricsConfigurationsCommandInput, ListBucketMetricsConf
|
|
|
79
81
|
import type { ListBucketsCommandInput, ListBucketsCommandOutput } from "./commands/ListBucketsCommand";
|
|
80
82
|
import type { ListDirectoryBucketsCommandInput, ListDirectoryBucketsCommandOutput } from "./commands/ListDirectoryBucketsCommand";
|
|
81
83
|
import type { ListMultipartUploadsCommandInput, ListMultipartUploadsCommandOutput } from "./commands/ListMultipartUploadsCommand";
|
|
84
|
+
import type { ListObjectAnnotationsCommandInput, ListObjectAnnotationsCommandOutput } from "./commands/ListObjectAnnotationsCommand";
|
|
82
85
|
import type { ListObjectsCommandInput, ListObjectsCommandOutput } from "./commands/ListObjectsCommand";
|
|
83
86
|
import type { ListObjectsV2CommandInput, ListObjectsV2CommandOutput } from "./commands/ListObjectsV2Command";
|
|
84
87
|
import type { ListObjectVersionsCommandInput, ListObjectVersionsCommandOutput } from "./commands/ListObjectVersionsCommand";
|
|
@@ -103,6 +106,7 @@ import type { PutBucketTaggingCommandInput, PutBucketTaggingCommandOutput } from
|
|
|
103
106
|
import type { PutBucketVersioningCommandInput, PutBucketVersioningCommandOutput } from "./commands/PutBucketVersioningCommand";
|
|
104
107
|
import type { PutBucketWebsiteCommandInput, PutBucketWebsiteCommandOutput } from "./commands/PutBucketWebsiteCommand";
|
|
105
108
|
import type { PutObjectAclCommandInput, PutObjectAclCommandOutput } from "./commands/PutObjectAclCommand";
|
|
109
|
+
import type { PutObjectAnnotationCommandInput, PutObjectAnnotationCommandOutput } from "./commands/PutObjectAnnotationCommand";
|
|
106
110
|
import type { PutObjectCommandInput, PutObjectCommandOutput } from "./commands/PutObjectCommand";
|
|
107
111
|
import type { PutObjectLegalHoldCommandInput, PutObjectLegalHoldCommandOutput } from "./commands/PutObjectLegalHoldCommand";
|
|
108
112
|
import type { PutObjectLockConfigurationCommandInput, PutObjectLockConfigurationCommandOutput } from "./commands/PutObjectLockConfigurationCommand";
|
|
@@ -112,6 +116,7 @@ import type { PutPublicAccessBlockCommandInput, PutPublicAccessBlockCommandOutpu
|
|
|
112
116
|
import type { RenameObjectCommandInput, RenameObjectCommandOutput } from "./commands/RenameObjectCommand";
|
|
113
117
|
import type { RestoreObjectCommandInput, RestoreObjectCommandOutput } from "./commands/RestoreObjectCommand";
|
|
114
118
|
import type { SelectObjectContentCommandInput, SelectObjectContentCommandOutput } from "./commands/SelectObjectContentCommand";
|
|
119
|
+
import type { UpdateBucketMetadataAnnotationTableConfigurationCommandInput, UpdateBucketMetadataAnnotationTableConfigurationCommandOutput } from "./commands/UpdateBucketMetadataAnnotationTableConfigurationCommand";
|
|
115
120
|
import type { UpdateBucketMetadataInventoryTableConfigurationCommandInput, UpdateBucketMetadataInventoryTableConfigurationCommandOutput } from "./commands/UpdateBucketMetadataInventoryTableConfigurationCommand";
|
|
116
121
|
import type { UpdateBucketMetadataJournalTableConfigurationCommandInput, UpdateBucketMetadataJournalTableConfigurationCommandOutput } from "./commands/UpdateBucketMetadataJournalTableConfigurationCommand";
|
|
117
122
|
import type { UpdateObjectEncryptionCommandInput, UpdateObjectEncryptionCommandOutput } from "./commands/UpdateObjectEncryptionCommand";
|
|
@@ -124,11 +129,11 @@ export { __Client };
|
|
|
124
129
|
/**
|
|
125
130
|
* @public
|
|
126
131
|
*/
|
|
127
|
-
export type ServiceInputTypes = AbortMultipartUploadCommandInput | CompleteMultipartUploadCommandInput | CopyObjectCommandInput | CreateBucketCommandInput | CreateBucketMetadataConfigurationCommandInput | CreateBucketMetadataTableConfigurationCommandInput | CreateMultipartUploadCommandInput | CreateSessionCommandInput | DeleteBucketAnalyticsConfigurationCommandInput | DeleteBucketCommandInput | DeleteBucketCorsCommandInput | DeleteBucketEncryptionCommandInput | DeleteBucketIntelligentTieringConfigurationCommandInput | DeleteBucketInventoryConfigurationCommandInput | DeleteBucketLifecycleCommandInput | DeleteBucketMetadataConfigurationCommandInput | DeleteBucketMetadataTableConfigurationCommandInput | DeleteBucketMetricsConfigurationCommandInput | DeleteBucketOwnershipControlsCommandInput | DeleteBucketPolicyCommandInput | DeleteBucketReplicationCommandInput | DeleteBucketTaggingCommandInput | DeleteBucketWebsiteCommandInput | DeleteObjectCommandInput | DeleteObjectTaggingCommandInput | DeleteObjectsCommandInput | DeletePublicAccessBlockCommandInput | GetBucketAbacCommandInput | GetBucketAccelerateConfigurationCommandInput | GetBucketAclCommandInput | GetBucketAnalyticsConfigurationCommandInput | GetBucketCorsCommandInput | GetBucketEncryptionCommandInput | GetBucketIntelligentTieringConfigurationCommandInput | GetBucketInventoryConfigurationCommandInput | GetBucketLifecycleConfigurationCommandInput | GetBucketLocationCommandInput | GetBucketLoggingCommandInput | GetBucketMetadataConfigurationCommandInput | GetBucketMetadataTableConfigurationCommandInput | GetBucketMetricsConfigurationCommandInput | GetBucketNotificationConfigurationCommandInput | GetBucketOwnershipControlsCommandInput | GetBucketPolicyCommandInput | GetBucketPolicyStatusCommandInput | GetBucketReplicationCommandInput | GetBucketRequestPaymentCommandInput | GetBucketTaggingCommandInput | GetBucketVersioningCommandInput | GetBucketWebsiteCommandInput | GetObjectAclCommandInput | GetObjectAttributesCommandInput | GetObjectCommandInput | GetObjectLegalHoldCommandInput | GetObjectLockConfigurationCommandInput | GetObjectRetentionCommandInput | GetObjectTaggingCommandInput | GetObjectTorrentCommandInput | GetPublicAccessBlockCommandInput | HeadBucketCommandInput | HeadObjectCommandInput | ListBucketAnalyticsConfigurationsCommandInput | ListBucketIntelligentTieringConfigurationsCommandInput | ListBucketInventoryConfigurationsCommandInput | ListBucketMetricsConfigurationsCommandInput | ListBucketsCommandInput | ListDirectoryBucketsCommandInput | ListMultipartUploadsCommandInput | ListObjectVersionsCommandInput | ListObjectsCommandInput | ListObjectsV2CommandInput | ListPartsCommandInput | PutBucketAbacCommandInput | PutBucketAccelerateConfigurationCommandInput | PutBucketAclCommandInput | PutBucketAnalyticsConfigurationCommandInput | PutBucketCorsCommandInput | PutBucketEncryptionCommandInput | PutBucketIntelligentTieringConfigurationCommandInput | PutBucketInventoryConfigurationCommandInput | PutBucketLifecycleConfigurationCommandInput | PutBucketLoggingCommandInput | PutBucketMetricsConfigurationCommandInput | PutBucketNotificationConfigurationCommandInput | PutBucketOwnershipControlsCommandInput | PutBucketPolicyCommandInput | PutBucketReplicationCommandInput | PutBucketRequestPaymentCommandInput | PutBucketTaggingCommandInput | PutBucketVersioningCommandInput | PutBucketWebsiteCommandInput | PutObjectAclCommandInput | PutObjectCommandInput | PutObjectLegalHoldCommandInput | PutObjectLockConfigurationCommandInput | PutObjectRetentionCommandInput | PutObjectTaggingCommandInput | PutPublicAccessBlockCommandInput | RenameObjectCommandInput | RestoreObjectCommandInput | SelectObjectContentCommandInput | UpdateBucketMetadataInventoryTableConfigurationCommandInput | UpdateBucketMetadataJournalTableConfigurationCommandInput | UpdateObjectEncryptionCommandInput | UploadPartCommandInput | UploadPartCopyCommandInput | WriteGetObjectResponseCommandInput;
|
|
132
|
+
export type ServiceInputTypes = AbortMultipartUploadCommandInput | CompleteMultipartUploadCommandInput | CopyObjectCommandInput | CreateBucketCommandInput | CreateBucketMetadataConfigurationCommandInput | CreateBucketMetadataTableConfigurationCommandInput | CreateMultipartUploadCommandInput | CreateSessionCommandInput | DeleteBucketAnalyticsConfigurationCommandInput | DeleteBucketCommandInput | DeleteBucketCorsCommandInput | DeleteBucketEncryptionCommandInput | DeleteBucketIntelligentTieringConfigurationCommandInput | DeleteBucketInventoryConfigurationCommandInput | DeleteBucketLifecycleCommandInput | DeleteBucketMetadataConfigurationCommandInput | DeleteBucketMetadataTableConfigurationCommandInput | DeleteBucketMetricsConfigurationCommandInput | DeleteBucketOwnershipControlsCommandInput | DeleteBucketPolicyCommandInput | DeleteBucketReplicationCommandInput | DeleteBucketTaggingCommandInput | DeleteBucketWebsiteCommandInput | DeleteObjectAnnotationCommandInput | DeleteObjectCommandInput | DeleteObjectTaggingCommandInput | DeleteObjectsCommandInput | DeletePublicAccessBlockCommandInput | GetBucketAbacCommandInput | GetBucketAccelerateConfigurationCommandInput | GetBucketAclCommandInput | GetBucketAnalyticsConfigurationCommandInput | GetBucketCorsCommandInput | GetBucketEncryptionCommandInput | GetBucketIntelligentTieringConfigurationCommandInput | GetBucketInventoryConfigurationCommandInput | GetBucketLifecycleConfigurationCommandInput | GetBucketLocationCommandInput | GetBucketLoggingCommandInput | GetBucketMetadataConfigurationCommandInput | GetBucketMetadataTableConfigurationCommandInput | GetBucketMetricsConfigurationCommandInput | GetBucketNotificationConfigurationCommandInput | GetBucketOwnershipControlsCommandInput | GetBucketPolicyCommandInput | GetBucketPolicyStatusCommandInput | GetBucketReplicationCommandInput | GetBucketRequestPaymentCommandInput | GetBucketTaggingCommandInput | GetBucketVersioningCommandInput | GetBucketWebsiteCommandInput | GetObjectAclCommandInput | GetObjectAnnotationCommandInput | GetObjectAttributesCommandInput | GetObjectCommandInput | GetObjectLegalHoldCommandInput | GetObjectLockConfigurationCommandInput | GetObjectRetentionCommandInput | GetObjectTaggingCommandInput | GetObjectTorrentCommandInput | GetPublicAccessBlockCommandInput | HeadBucketCommandInput | HeadObjectCommandInput | ListBucketAnalyticsConfigurationsCommandInput | ListBucketIntelligentTieringConfigurationsCommandInput | ListBucketInventoryConfigurationsCommandInput | ListBucketMetricsConfigurationsCommandInput | ListBucketsCommandInput | ListDirectoryBucketsCommandInput | ListMultipartUploadsCommandInput | ListObjectAnnotationsCommandInput | ListObjectVersionsCommandInput | ListObjectsCommandInput | ListObjectsV2CommandInput | ListPartsCommandInput | PutBucketAbacCommandInput | PutBucketAccelerateConfigurationCommandInput | PutBucketAclCommandInput | PutBucketAnalyticsConfigurationCommandInput | PutBucketCorsCommandInput | PutBucketEncryptionCommandInput | PutBucketIntelligentTieringConfigurationCommandInput | PutBucketInventoryConfigurationCommandInput | PutBucketLifecycleConfigurationCommandInput | PutBucketLoggingCommandInput | PutBucketMetricsConfigurationCommandInput | PutBucketNotificationConfigurationCommandInput | PutBucketOwnershipControlsCommandInput | PutBucketPolicyCommandInput | PutBucketReplicationCommandInput | PutBucketRequestPaymentCommandInput | PutBucketTaggingCommandInput | PutBucketVersioningCommandInput | PutBucketWebsiteCommandInput | PutObjectAclCommandInput | PutObjectAnnotationCommandInput | PutObjectCommandInput | PutObjectLegalHoldCommandInput | PutObjectLockConfigurationCommandInput | PutObjectRetentionCommandInput | PutObjectTaggingCommandInput | PutPublicAccessBlockCommandInput | RenameObjectCommandInput | RestoreObjectCommandInput | SelectObjectContentCommandInput | UpdateBucketMetadataAnnotationTableConfigurationCommandInput | UpdateBucketMetadataInventoryTableConfigurationCommandInput | UpdateBucketMetadataJournalTableConfigurationCommandInput | UpdateObjectEncryptionCommandInput | UploadPartCommandInput | UploadPartCopyCommandInput | WriteGetObjectResponseCommandInput;
|
|
128
133
|
/**
|
|
129
134
|
* @public
|
|
130
135
|
*/
|
|
131
|
-
export type ServiceOutputTypes = AbortMultipartUploadCommandOutput | CompleteMultipartUploadCommandOutput | CopyObjectCommandOutput | CreateBucketCommandOutput | CreateBucketMetadataConfigurationCommandOutput | CreateBucketMetadataTableConfigurationCommandOutput | CreateMultipartUploadCommandOutput | CreateSessionCommandOutput | DeleteBucketAnalyticsConfigurationCommandOutput | DeleteBucketCommandOutput | DeleteBucketCorsCommandOutput | DeleteBucketEncryptionCommandOutput | DeleteBucketIntelligentTieringConfigurationCommandOutput | DeleteBucketInventoryConfigurationCommandOutput | DeleteBucketLifecycleCommandOutput | DeleteBucketMetadataConfigurationCommandOutput | DeleteBucketMetadataTableConfigurationCommandOutput | DeleteBucketMetricsConfigurationCommandOutput | DeleteBucketOwnershipControlsCommandOutput | DeleteBucketPolicyCommandOutput | DeleteBucketReplicationCommandOutput | DeleteBucketTaggingCommandOutput | DeleteBucketWebsiteCommandOutput | DeleteObjectCommandOutput | DeleteObjectTaggingCommandOutput | DeleteObjectsCommandOutput | DeletePublicAccessBlockCommandOutput | GetBucketAbacCommandOutput | GetBucketAccelerateConfigurationCommandOutput | GetBucketAclCommandOutput | GetBucketAnalyticsConfigurationCommandOutput | GetBucketCorsCommandOutput | GetBucketEncryptionCommandOutput | GetBucketIntelligentTieringConfigurationCommandOutput | GetBucketInventoryConfigurationCommandOutput | GetBucketLifecycleConfigurationCommandOutput | GetBucketLocationCommandOutput | GetBucketLoggingCommandOutput | GetBucketMetadataConfigurationCommandOutput | GetBucketMetadataTableConfigurationCommandOutput | GetBucketMetricsConfigurationCommandOutput | GetBucketNotificationConfigurationCommandOutput | GetBucketOwnershipControlsCommandOutput | GetBucketPolicyCommandOutput | GetBucketPolicyStatusCommandOutput | GetBucketReplicationCommandOutput | GetBucketRequestPaymentCommandOutput | GetBucketTaggingCommandOutput | GetBucketVersioningCommandOutput | GetBucketWebsiteCommandOutput | GetObjectAclCommandOutput | GetObjectAttributesCommandOutput | GetObjectCommandOutput | GetObjectLegalHoldCommandOutput | GetObjectLockConfigurationCommandOutput | GetObjectRetentionCommandOutput | GetObjectTaggingCommandOutput | GetObjectTorrentCommandOutput | GetPublicAccessBlockCommandOutput | HeadBucketCommandOutput | HeadObjectCommandOutput | ListBucketAnalyticsConfigurationsCommandOutput | ListBucketIntelligentTieringConfigurationsCommandOutput | ListBucketInventoryConfigurationsCommandOutput | ListBucketMetricsConfigurationsCommandOutput | ListBucketsCommandOutput | ListDirectoryBucketsCommandOutput | ListMultipartUploadsCommandOutput | ListObjectVersionsCommandOutput | ListObjectsCommandOutput | ListObjectsV2CommandOutput | ListPartsCommandOutput | PutBucketAbacCommandOutput | PutBucketAccelerateConfigurationCommandOutput | PutBucketAclCommandOutput | PutBucketAnalyticsConfigurationCommandOutput | PutBucketCorsCommandOutput | PutBucketEncryptionCommandOutput | PutBucketIntelligentTieringConfigurationCommandOutput | PutBucketInventoryConfigurationCommandOutput | PutBucketLifecycleConfigurationCommandOutput | PutBucketLoggingCommandOutput | PutBucketMetricsConfigurationCommandOutput | PutBucketNotificationConfigurationCommandOutput | PutBucketOwnershipControlsCommandOutput | PutBucketPolicyCommandOutput | PutBucketReplicationCommandOutput | PutBucketRequestPaymentCommandOutput | PutBucketTaggingCommandOutput | PutBucketVersioningCommandOutput | PutBucketWebsiteCommandOutput | PutObjectAclCommandOutput | PutObjectCommandOutput | PutObjectLegalHoldCommandOutput | PutObjectLockConfigurationCommandOutput | PutObjectRetentionCommandOutput | PutObjectTaggingCommandOutput | PutPublicAccessBlockCommandOutput | RenameObjectCommandOutput | RestoreObjectCommandOutput | SelectObjectContentCommandOutput | UpdateBucketMetadataInventoryTableConfigurationCommandOutput | UpdateBucketMetadataJournalTableConfigurationCommandOutput | UpdateObjectEncryptionCommandOutput | UploadPartCommandOutput | UploadPartCopyCommandOutput | WriteGetObjectResponseCommandOutput;
|
|
136
|
+
export type ServiceOutputTypes = AbortMultipartUploadCommandOutput | CompleteMultipartUploadCommandOutput | CopyObjectCommandOutput | CreateBucketCommandOutput | CreateBucketMetadataConfigurationCommandOutput | CreateBucketMetadataTableConfigurationCommandOutput | CreateMultipartUploadCommandOutput | CreateSessionCommandOutput | DeleteBucketAnalyticsConfigurationCommandOutput | DeleteBucketCommandOutput | DeleteBucketCorsCommandOutput | DeleteBucketEncryptionCommandOutput | DeleteBucketIntelligentTieringConfigurationCommandOutput | DeleteBucketInventoryConfigurationCommandOutput | DeleteBucketLifecycleCommandOutput | DeleteBucketMetadataConfigurationCommandOutput | DeleteBucketMetadataTableConfigurationCommandOutput | DeleteBucketMetricsConfigurationCommandOutput | DeleteBucketOwnershipControlsCommandOutput | DeleteBucketPolicyCommandOutput | DeleteBucketReplicationCommandOutput | DeleteBucketTaggingCommandOutput | DeleteBucketWebsiteCommandOutput | DeleteObjectAnnotationCommandOutput | DeleteObjectCommandOutput | DeleteObjectTaggingCommandOutput | DeleteObjectsCommandOutput | DeletePublicAccessBlockCommandOutput | GetBucketAbacCommandOutput | GetBucketAccelerateConfigurationCommandOutput | GetBucketAclCommandOutput | GetBucketAnalyticsConfigurationCommandOutput | GetBucketCorsCommandOutput | GetBucketEncryptionCommandOutput | GetBucketIntelligentTieringConfigurationCommandOutput | GetBucketInventoryConfigurationCommandOutput | GetBucketLifecycleConfigurationCommandOutput | GetBucketLocationCommandOutput | GetBucketLoggingCommandOutput | GetBucketMetadataConfigurationCommandOutput | GetBucketMetadataTableConfigurationCommandOutput | GetBucketMetricsConfigurationCommandOutput | GetBucketNotificationConfigurationCommandOutput | GetBucketOwnershipControlsCommandOutput | GetBucketPolicyCommandOutput | GetBucketPolicyStatusCommandOutput | GetBucketReplicationCommandOutput | GetBucketRequestPaymentCommandOutput | GetBucketTaggingCommandOutput | GetBucketVersioningCommandOutput | GetBucketWebsiteCommandOutput | GetObjectAclCommandOutput | GetObjectAnnotationCommandOutput | GetObjectAttributesCommandOutput | GetObjectCommandOutput | GetObjectLegalHoldCommandOutput | GetObjectLockConfigurationCommandOutput | GetObjectRetentionCommandOutput | GetObjectTaggingCommandOutput | GetObjectTorrentCommandOutput | GetPublicAccessBlockCommandOutput | HeadBucketCommandOutput | HeadObjectCommandOutput | ListBucketAnalyticsConfigurationsCommandOutput | ListBucketIntelligentTieringConfigurationsCommandOutput | ListBucketInventoryConfigurationsCommandOutput | ListBucketMetricsConfigurationsCommandOutput | ListBucketsCommandOutput | ListDirectoryBucketsCommandOutput | ListMultipartUploadsCommandOutput | ListObjectAnnotationsCommandOutput | ListObjectVersionsCommandOutput | ListObjectsCommandOutput | ListObjectsV2CommandOutput | ListPartsCommandOutput | PutBucketAbacCommandOutput | PutBucketAccelerateConfigurationCommandOutput | PutBucketAclCommandOutput | PutBucketAnalyticsConfigurationCommandOutput | PutBucketCorsCommandOutput | PutBucketEncryptionCommandOutput | PutBucketIntelligentTieringConfigurationCommandOutput | PutBucketInventoryConfigurationCommandOutput | PutBucketLifecycleConfigurationCommandOutput | PutBucketLoggingCommandOutput | PutBucketMetricsConfigurationCommandOutput | PutBucketNotificationConfigurationCommandOutput | PutBucketOwnershipControlsCommandOutput | PutBucketPolicyCommandOutput | PutBucketReplicationCommandOutput | PutBucketRequestPaymentCommandOutput | PutBucketTaggingCommandOutput | PutBucketVersioningCommandOutput | PutBucketWebsiteCommandOutput | PutObjectAclCommandOutput | PutObjectAnnotationCommandOutput | PutObjectCommandOutput | PutObjectLegalHoldCommandOutput | PutObjectLockConfigurationCommandOutput | PutObjectRetentionCommandOutput | PutObjectTaggingCommandOutput | PutPublicAccessBlockCommandOutput | RenameObjectCommandOutput | RestoreObjectCommandOutput | SelectObjectContentCommandOutput | UpdateBucketMetadataAnnotationTableConfigurationCommandOutput | UpdateBucketMetadataInventoryTableConfigurationCommandOutput | UpdateBucketMetadataJournalTableConfigurationCommandOutput | UpdateObjectEncryptionCommandOutput | UploadPartCommandOutput | UploadPartCopyCommandOutput | WriteGetObjectResponseCommandOutput;
|
|
132
137
|
/**
|
|
133
138
|
* @public
|
|
134
139
|
*/
|
|
@@ -266,6 +266,7 @@ declare const CopyObjectCommand_base: {
|
|
|
266
266
|
* },
|
|
267
267
|
* MetadataDirective: "COPY" || "REPLACE",
|
|
268
268
|
* TaggingDirective: "COPY" || "REPLACE",
|
|
269
|
+
* AnnotationDirective: "COPY" || "EXCLUDE",
|
|
269
270
|
* ServerSideEncryption: "AES256" || "aws:fsx" || "aws:kms" || "aws:kms:dsse",
|
|
270
271
|
* StorageClass: "STANDARD" || "REDUCED_REDUNDANCY" || "STANDARD_IA" || "ONEZONE_IA" || "INTELLIGENT_TIERING" || "GLACIER" || "DEEP_ARCHIVE" || "OUTPOSTS" || "GLACIER_IR" || "SNOW" || "EXPRESS_ONEZONE" || "FSX_OPENZFS" || "FSX_ONTAP",
|
|
271
272
|
* WebsiteRedirectLocation: "STRING_VALUE",
|
|
@@ -86,6 +86,11 @@ declare const CreateBucketMetadataConfigurationCommand_base: {
|
|
|
86
86
|
* </li>
|
|
87
87
|
* <li>
|
|
88
88
|
* <p>
|
|
89
|
+
* <code>s3tables:PutTableBucketPolicy</code>
|
|
90
|
+
* </p>
|
|
91
|
+
* </li>
|
|
92
|
+
* <li>
|
|
93
|
+
* <p>
|
|
89
94
|
* <code>s3tables:PutTableEncryption</code>
|
|
90
95
|
* </p>
|
|
91
96
|
* </li>
|
|
@@ -94,6 +99,11 @@ declare const CreateBucketMetadataConfigurationCommand_base: {
|
|
|
94
99
|
* <code>kms:DescribeKey</code>
|
|
95
100
|
* </p>
|
|
96
101
|
* </li>
|
|
102
|
+
* <li>
|
|
103
|
+
* <p>
|
|
104
|
+
* <code>iam:PassRole</code> - required if you include an
|
|
105
|
+
* <code>AnnotationTableConfiguration</code> with an IAM role.</p>
|
|
106
|
+
* </li>
|
|
97
107
|
* </ul>
|
|
98
108
|
* </dd>
|
|
99
109
|
* </dl>
|
|
@@ -119,7 +129,16 @@ declare const CreateBucketMetadataConfigurationCommand_base: {
|
|
|
119
129
|
* <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_UpdateBucketMetadataJournalTableConfiguration.html">UpdateBucketMetadataJournalTableConfiguration</a>
|
|
120
130
|
* </p>
|
|
121
131
|
* </li>
|
|
132
|
+
* <li>
|
|
133
|
+
* <p>
|
|
134
|
+
* <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_UpdateBucketMetadataAnnotationTableConfiguration.html">UpdateBucketMetadataAnnotationTableConfiguration</a>
|
|
135
|
+
* </p>
|
|
136
|
+
* </li>
|
|
122
137
|
* </ul>
|
|
138
|
+
* <p>If you include an <code>AnnotationTableConfiguration</code> with an IAM role, the role must
|
|
139
|
+
* have a trust policy that allows the Amazon S3 metadata service to assume it, and a permissions policy
|
|
140
|
+
* that grants the actions needed to read annotations from your bucket. The following examples show
|
|
141
|
+
* a trust policy and a permissions policy that you can adapt for your bucket and account.</p>
|
|
123
142
|
* <important>
|
|
124
143
|
* <p>You must URL encode any signed header values that contain spaces. For example, if your header value is <code>my file.txt</code>, containing two spaces after <code>my</code>, you must URL encode this value to <code>my%20%20file.txt</code>.</p>
|
|
125
144
|
* </important>
|
|
@@ -153,6 +172,14 @@ declare const CreateBucketMetadataConfigurationCommand_base: {
|
|
|
153
172
|
* KmsKeyArn: "STRING_VALUE",
|
|
154
173
|
* },
|
|
155
174
|
* },
|
|
175
|
+
* AnnotationTableConfiguration: { // AnnotationTableConfiguration
|
|
176
|
+
* ConfigurationState: "ENABLED" || "DISABLED", // required
|
|
177
|
+
* EncryptionConfiguration: {
|
|
178
|
+
* SseAlgorithm: "aws:kms" || "AES256", // required
|
|
179
|
+
* KmsKeyArn: "STRING_VALUE",
|
|
180
|
+
* },
|
|
181
|
+
* Role: "STRING_VALUE",
|
|
182
|
+
* },
|
|
156
183
|
* },
|
|
157
184
|
* ExpectedBucketOwner: "STRING_VALUE",
|
|
158
185
|
* };
|
|
@@ -0,0 +1,119 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { DeleteObjectAnnotationOutput, DeleteObjectAnnotationRequest } from "../models/models_0";
|
|
4
|
+
import type { S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../S3Client";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link DeleteObjectAnnotationCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface DeleteObjectAnnotationCommandInput extends DeleteObjectAnnotationRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link DeleteObjectAnnotationCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface DeleteObjectAnnotationCommandOutput extends DeleteObjectAnnotationOutput, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const DeleteObjectAnnotationCommand_base: {
|
|
25
|
+
new (input: DeleteObjectAnnotationCommandInput): import("@smithy/core/client").CommandImpl<DeleteObjectAnnotationCommandInput, DeleteObjectAnnotationCommandOutput, S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: DeleteObjectAnnotationCommandInput): import("@smithy/core/client").CommandImpl<DeleteObjectAnnotationCommandInput, DeleteObjectAnnotationCommandOutput, S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): {
|
|
28
|
+
[x: string]: unknown;
|
|
29
|
+
};
|
|
30
|
+
};
|
|
31
|
+
/**
|
|
32
|
+
* <p>Deletes a specific annotation from an Amazon S3 object. Use the <code>x-amz-object-if-match</code>
|
|
33
|
+
* header to perform a conditional delete that only succeeds if the object's ETag matches the
|
|
34
|
+
* provided value, preventing race conditions during concurrent updates.</p>
|
|
35
|
+
* <p>Deleting an annotation is permanent. Annotations are not independently versioned, so there is no
|
|
36
|
+
* delete marker or way to recover a deleted annotation.</p>
|
|
37
|
+
* <p>To use this operation, you must have the <code>s3:DeleteObjectAnnotation</code> permission. If
|
|
38
|
+
* the object is protected by Object Lock in governance mode, you must also include the
|
|
39
|
+
* <code>x-amz-bypass-governance-retention</code> header.</p>
|
|
40
|
+
* <note>
|
|
41
|
+
* <p>Annotations are not supported by the following features: S3 Inventory Reports,
|
|
42
|
+
* API Gateway, S3 Storage Lens, Amazon S3 File Gateway, Amazon FSx, S3 on Outposts, and
|
|
43
|
+
* S3 Express One Zone (directory buckets).</p>
|
|
44
|
+
* </note>
|
|
45
|
+
* <p>The following operations are related to <code>DeleteObjectAnnotation</code>:</p>
|
|
46
|
+
* <ul>
|
|
47
|
+
* <li>
|
|
48
|
+
* <p>
|
|
49
|
+
* <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutObjectAnnotation.html">PutObjectAnnotation</a>
|
|
50
|
+
* </p>
|
|
51
|
+
* </li>
|
|
52
|
+
* <li>
|
|
53
|
+
* <p>
|
|
54
|
+
* <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetObjectAnnotation.html">GetObjectAnnotation</a>
|
|
55
|
+
* </p>
|
|
56
|
+
* </li>
|
|
57
|
+
* <li>
|
|
58
|
+
* <p>
|
|
59
|
+
* <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_ListObjectAnnotations.html">ListObjectAnnotations</a>
|
|
60
|
+
* </p>
|
|
61
|
+
* </li>
|
|
62
|
+
* </ul>
|
|
63
|
+
* @example
|
|
64
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
65
|
+
* ```javascript
|
|
66
|
+
* import { S3Client, DeleteObjectAnnotationCommand } from "@aws-sdk/client-s3"; // ES Modules import
|
|
67
|
+
* // const { S3Client, DeleteObjectAnnotationCommand } = require("@aws-sdk/client-s3"); // CommonJS import
|
|
68
|
+
* // import type { S3ClientConfig } from "@aws-sdk/client-s3";
|
|
69
|
+
* const config = {}; // type is S3ClientConfig
|
|
70
|
+
* const client = new S3Client(config);
|
|
71
|
+
* const input = { // DeleteObjectAnnotationRequest
|
|
72
|
+
* Bucket: "STRING_VALUE", // required
|
|
73
|
+
* Key: "STRING_VALUE", // required
|
|
74
|
+
* AnnotationName: "STRING_VALUE", // required
|
|
75
|
+
* VersionId: "STRING_VALUE",
|
|
76
|
+
* RequestPayer: "requester",
|
|
77
|
+
* ExpectedBucketOwner: "STRING_VALUE",
|
|
78
|
+
* ObjectIfMatch: "STRING_VALUE",
|
|
79
|
+
* };
|
|
80
|
+
* const command = new DeleteObjectAnnotationCommand(input);
|
|
81
|
+
* const response = await client.send(command);
|
|
82
|
+
* // { // DeleteObjectAnnotationOutput
|
|
83
|
+
* // ObjectVersionId: "STRING_VALUE",
|
|
84
|
+
* // RequestCharged: "requester",
|
|
85
|
+
* // };
|
|
86
|
+
*
|
|
87
|
+
* ```
|
|
88
|
+
*
|
|
89
|
+
* @param DeleteObjectAnnotationCommandInput - {@link DeleteObjectAnnotationCommandInput}
|
|
90
|
+
* @returns {@link DeleteObjectAnnotationCommandOutput}
|
|
91
|
+
* @see {@link DeleteObjectAnnotationCommandInput} for command's `input` shape.
|
|
92
|
+
* @see {@link DeleteObjectAnnotationCommandOutput} for command's `response` shape.
|
|
93
|
+
* @see {@link S3ClientResolvedConfig | config} for S3Client's `config` shape.
|
|
94
|
+
*
|
|
95
|
+
* @throws {@link NoSuchBucket} (client fault)
|
|
96
|
+
* <p>The specified bucket does not exist.</p>
|
|
97
|
+
*
|
|
98
|
+
* @throws {@link NoSuchKey} (client fault)
|
|
99
|
+
* <p>The specified key does not exist.</p>
|
|
100
|
+
*
|
|
101
|
+
* @throws {@link S3ServiceException}
|
|
102
|
+
* <p>Base exception class for all service exceptions from S3 service.</p>
|
|
103
|
+
*
|
|
104
|
+
*
|
|
105
|
+
* @public
|
|
106
|
+
*/
|
|
107
|
+
export declare class DeleteObjectAnnotationCommand extends DeleteObjectAnnotationCommand_base {
|
|
108
|
+
/** @internal type navigation helper, not in runtime. */
|
|
109
|
+
protected static __types: {
|
|
110
|
+
api: {
|
|
111
|
+
input: DeleteObjectAnnotationRequest;
|
|
112
|
+
output: DeleteObjectAnnotationOutput;
|
|
113
|
+
};
|
|
114
|
+
sdk: {
|
|
115
|
+
input: DeleteObjectAnnotationCommandInput;
|
|
116
|
+
output: DeleteObjectAnnotationCommandOutput;
|
|
117
|
+
};
|
|
118
|
+
};
|
|
119
|
+
}
|
|
@@ -120,6 +120,17 @@ declare const GetBucketMetadataConfigurationCommand_base: {
|
|
|
120
120
|
* // TableName: "STRING_VALUE",
|
|
121
121
|
* // TableArn: "STRING_VALUE",
|
|
122
122
|
* // },
|
|
123
|
+
* // AnnotationTableConfigurationResult: { // AnnotationTableConfigurationResult
|
|
124
|
+
* // ConfigurationState: "ENABLED" || "DISABLED", // required
|
|
125
|
+
* // TableStatus: "STRING_VALUE",
|
|
126
|
+
* // Error: {
|
|
127
|
+
* // ErrorCode: "STRING_VALUE",
|
|
128
|
+
* // ErrorMessage: "STRING_VALUE",
|
|
129
|
+
* // },
|
|
130
|
+
* // TableName: "STRING_VALUE",
|
|
131
|
+
* // TableArn: "STRING_VALUE",
|
|
132
|
+
* // Role: "STRING_VALUE",
|
|
133
|
+
* // },
|
|
123
134
|
* // },
|
|
124
135
|
* // },
|
|
125
136
|
* // };
|
|
@@ -77,7 +77,7 @@ declare const GetBucketNotificationConfigurationCommand_base: {
|
|
|
77
77
|
* // Id: "STRING_VALUE",
|
|
78
78
|
* // TopicArn: "STRING_VALUE", // required
|
|
79
79
|
* // Events: [ // EventList // required
|
|
80
|
-
* // "s3:ReducedRedundancyLostObject" || "s3:ObjectCreated:*" || "s3:ObjectCreated:Put" || "s3:ObjectCreated:Post" || "s3:ObjectCreated:Copy" || "s3:ObjectCreated:CompleteMultipartUpload" || "s3:ObjectRemoved:*" || "s3:ObjectRemoved:Delete" || "s3:ObjectRemoved:DeleteMarkerCreated" || "s3:ObjectRestore:*" || "s3:ObjectRestore:Post" || "s3:ObjectRestore:Completed" || "s3:Replication:*" || "s3:Replication:OperationFailedReplication" || "s3:Replication:OperationNotTracked" || "s3:Replication:OperationMissedThreshold" || "s3:Replication:OperationReplicatedAfterThreshold" || "s3:ObjectRestore:Delete" || "s3:LifecycleTransition" || "s3:IntelligentTiering" || "s3:ObjectAcl:Put" || "s3:LifecycleExpiration:*" || "s3:LifecycleExpiration:Delete" || "s3:LifecycleExpiration:DeleteMarkerCreated" || "s3:ObjectTagging:*" || "s3:ObjectTagging:Put" || "s3:ObjectTagging:Delete",
|
|
80
|
+
* // "s3:ReducedRedundancyLostObject" || "s3:ObjectCreated:*" || "s3:ObjectCreated:Put" || "s3:ObjectCreated:Post" || "s3:ObjectCreated:Copy" || "s3:ObjectCreated:CompleteMultipartUpload" || "s3:ObjectRemoved:*" || "s3:ObjectRemoved:Delete" || "s3:ObjectRemoved:DeleteMarkerCreated" || "s3:ObjectRestore:*" || "s3:ObjectRestore:Post" || "s3:ObjectRestore:Completed" || "s3:Replication:*" || "s3:Replication:OperationFailedReplication" || "s3:Replication:OperationNotTracked" || "s3:Replication:OperationMissedThreshold" || "s3:Replication:OperationReplicatedAfterThreshold" || "s3:ObjectRestore:Delete" || "s3:LifecycleTransition" || "s3:IntelligentTiering" || "s3:ObjectAcl:Put" || "s3:LifecycleExpiration:*" || "s3:LifecycleExpiration:Delete" || "s3:LifecycleExpiration:DeleteMarkerCreated" || "s3:ObjectTagging:*" || "s3:ObjectTagging:Put" || "s3:ObjectTagging:Delete" || "s3:ObjectAnnotation:*" || "s3:ObjectAnnotation:Put" || "s3:ObjectAnnotation:Delete",
|
|
81
81
|
* // ],
|
|
82
82
|
* // Filter: { // NotificationConfigurationFilter
|
|
83
83
|
* // Key: { // S3KeyFilter
|
|
@@ -96,7 +96,7 @@ declare const GetBucketNotificationConfigurationCommand_base: {
|
|
|
96
96
|
* // Id: "STRING_VALUE",
|
|
97
97
|
* // QueueArn: "STRING_VALUE", // required
|
|
98
98
|
* // Events: [ // required
|
|
99
|
-
* // "s3:ReducedRedundancyLostObject" || "s3:ObjectCreated:*" || "s3:ObjectCreated:Put" || "s3:ObjectCreated:Post" || "s3:ObjectCreated:Copy" || "s3:ObjectCreated:CompleteMultipartUpload" || "s3:ObjectRemoved:*" || "s3:ObjectRemoved:Delete" || "s3:ObjectRemoved:DeleteMarkerCreated" || "s3:ObjectRestore:*" || "s3:ObjectRestore:Post" || "s3:ObjectRestore:Completed" || "s3:Replication:*" || "s3:Replication:OperationFailedReplication" || "s3:Replication:OperationNotTracked" || "s3:Replication:OperationMissedThreshold" || "s3:Replication:OperationReplicatedAfterThreshold" || "s3:ObjectRestore:Delete" || "s3:LifecycleTransition" || "s3:IntelligentTiering" || "s3:ObjectAcl:Put" || "s3:LifecycleExpiration:*" || "s3:LifecycleExpiration:Delete" || "s3:LifecycleExpiration:DeleteMarkerCreated" || "s3:ObjectTagging:*" || "s3:ObjectTagging:Put" || "s3:ObjectTagging:Delete",
|
|
99
|
+
* // "s3:ReducedRedundancyLostObject" || "s3:ObjectCreated:*" || "s3:ObjectCreated:Put" || "s3:ObjectCreated:Post" || "s3:ObjectCreated:Copy" || "s3:ObjectCreated:CompleteMultipartUpload" || "s3:ObjectRemoved:*" || "s3:ObjectRemoved:Delete" || "s3:ObjectRemoved:DeleteMarkerCreated" || "s3:ObjectRestore:*" || "s3:ObjectRestore:Post" || "s3:ObjectRestore:Completed" || "s3:Replication:*" || "s3:Replication:OperationFailedReplication" || "s3:Replication:OperationNotTracked" || "s3:Replication:OperationMissedThreshold" || "s3:Replication:OperationReplicatedAfterThreshold" || "s3:ObjectRestore:Delete" || "s3:LifecycleTransition" || "s3:IntelligentTiering" || "s3:ObjectAcl:Put" || "s3:LifecycleExpiration:*" || "s3:LifecycleExpiration:Delete" || "s3:LifecycleExpiration:DeleteMarkerCreated" || "s3:ObjectTagging:*" || "s3:ObjectTagging:Put" || "s3:ObjectTagging:Delete" || "s3:ObjectAnnotation:*" || "s3:ObjectAnnotation:Put" || "s3:ObjectAnnotation:Delete",
|
|
100
100
|
* // ],
|
|
101
101
|
* // Filter: {
|
|
102
102
|
* // Key: {
|
|
@@ -115,7 +115,7 @@ declare const GetBucketNotificationConfigurationCommand_base: {
|
|
|
115
115
|
* // Id: "STRING_VALUE",
|
|
116
116
|
* // LambdaFunctionArn: "STRING_VALUE", // required
|
|
117
117
|
* // Events: [ // required
|
|
118
|
-
* // "s3:ReducedRedundancyLostObject" || "s3:ObjectCreated:*" || "s3:ObjectCreated:Put" || "s3:ObjectCreated:Post" || "s3:ObjectCreated:Copy" || "s3:ObjectCreated:CompleteMultipartUpload" || "s3:ObjectRemoved:*" || "s3:ObjectRemoved:Delete" || "s3:ObjectRemoved:DeleteMarkerCreated" || "s3:ObjectRestore:*" || "s3:ObjectRestore:Post" || "s3:ObjectRestore:Completed" || "s3:Replication:*" || "s3:Replication:OperationFailedReplication" || "s3:Replication:OperationNotTracked" || "s3:Replication:OperationMissedThreshold" || "s3:Replication:OperationReplicatedAfterThreshold" || "s3:ObjectRestore:Delete" || "s3:LifecycleTransition" || "s3:IntelligentTiering" || "s3:ObjectAcl:Put" || "s3:LifecycleExpiration:*" || "s3:LifecycleExpiration:Delete" || "s3:LifecycleExpiration:DeleteMarkerCreated" || "s3:ObjectTagging:*" || "s3:ObjectTagging:Put" || "s3:ObjectTagging:Delete",
|
|
118
|
+
* // "s3:ReducedRedundancyLostObject" || "s3:ObjectCreated:*" || "s3:ObjectCreated:Put" || "s3:ObjectCreated:Post" || "s3:ObjectCreated:Copy" || "s3:ObjectCreated:CompleteMultipartUpload" || "s3:ObjectRemoved:*" || "s3:ObjectRemoved:Delete" || "s3:ObjectRemoved:DeleteMarkerCreated" || "s3:ObjectRestore:*" || "s3:ObjectRestore:Post" || "s3:ObjectRestore:Completed" || "s3:Replication:*" || "s3:Replication:OperationFailedReplication" || "s3:Replication:OperationNotTracked" || "s3:Replication:OperationMissedThreshold" || "s3:Replication:OperationReplicatedAfterThreshold" || "s3:ObjectRestore:Delete" || "s3:LifecycleTransition" || "s3:IntelligentTiering" || "s3:ObjectAcl:Put" || "s3:LifecycleExpiration:*" || "s3:LifecycleExpiration:Delete" || "s3:LifecycleExpiration:DeleteMarkerCreated" || "s3:ObjectTagging:*" || "s3:ObjectTagging:Put" || "s3:ObjectTagging:Delete" || "s3:ObjectAnnotation:*" || "s3:ObjectAnnotation:Put" || "s3:ObjectAnnotation:Delete",
|
|
119
119
|
* // ],
|
|
120
120
|
* // Filter: {
|
|
121
121
|
* // Key: {
|
|
@@ -0,0 +1,141 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer, StreamingBlobPayloadOutputTypes } from "@smithy/types";
|
|
3
|
+
import type { GetObjectAnnotationOutput, GetObjectAnnotationRequest } from "../models/models_0";
|
|
4
|
+
import type { S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../S3Client";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link GetObjectAnnotationCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface GetObjectAnnotationCommandInput extends GetObjectAnnotationRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link GetObjectAnnotationCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface GetObjectAnnotationCommandOutput extends Omit<GetObjectAnnotationOutput, "AnnotationPayload">, __MetadataBearer {
|
|
23
|
+
AnnotationPayload?: StreamingBlobPayloadOutputTypes;
|
|
24
|
+
}
|
|
25
|
+
declare const GetObjectAnnotationCommand_base: {
|
|
26
|
+
new (input: GetObjectAnnotationCommandInput): import("@smithy/core/client").CommandImpl<GetObjectAnnotationCommandInput, GetObjectAnnotationCommandOutput, S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
new (input: GetObjectAnnotationCommandInput): import("@smithy/core/client").CommandImpl<GetObjectAnnotationCommandInput, GetObjectAnnotationCommandOutput, S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
28
|
+
getEndpointParameterInstructions(): {
|
|
29
|
+
[x: string]: unknown;
|
|
30
|
+
};
|
|
31
|
+
};
|
|
32
|
+
/**
|
|
33
|
+
* <p>Retrieves an annotation from an Amazon S3 object. To use this operation, you must have the
|
|
34
|
+
* <code>s3:GetObjectAnnotation</code> permission.</p>
|
|
35
|
+
* <p>If checksum mode is enabled via the <code>x-amz-checksum-mode</code> header, Amazon S3
|
|
36
|
+
* returns the stored checksum in the response headers for client-side validation.</p>
|
|
37
|
+
* <note>
|
|
38
|
+
* <p>Annotations are not supported by the following features: S3 Inventory Reports,
|
|
39
|
+
* API Gateway, S3 Storage Lens, Amazon S3 File Gateway, Amazon FSx, S3 on Outposts, and
|
|
40
|
+
* S3 Express One Zone (directory buckets).</p>
|
|
41
|
+
* </note>
|
|
42
|
+
* <p>The following operations are related to <code>GetObjectAnnotation</code>:</p>
|
|
43
|
+
* <ul>
|
|
44
|
+
* <li>
|
|
45
|
+
* <p>
|
|
46
|
+
* <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutObjectAnnotation.html">PutObjectAnnotation</a>
|
|
47
|
+
* </p>
|
|
48
|
+
* </li>
|
|
49
|
+
* <li>
|
|
50
|
+
* <p>
|
|
51
|
+
* <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_ListObjectAnnotations.html">ListObjectAnnotations</a>
|
|
52
|
+
* </p>
|
|
53
|
+
* </li>
|
|
54
|
+
* <li>
|
|
55
|
+
* <p>
|
|
56
|
+
* <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_DeleteObjectAnnotation.html">DeleteObjectAnnotation</a>
|
|
57
|
+
* </p>
|
|
58
|
+
* </li>
|
|
59
|
+
* </ul>
|
|
60
|
+
* @example
|
|
61
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
62
|
+
* ```javascript
|
|
63
|
+
* import { S3Client, GetObjectAnnotationCommand } from "@aws-sdk/client-s3"; // ES Modules import
|
|
64
|
+
* // const { S3Client, GetObjectAnnotationCommand } = require("@aws-sdk/client-s3"); // CommonJS import
|
|
65
|
+
* // import type { S3ClientConfig } from "@aws-sdk/client-s3";
|
|
66
|
+
* const config = {}; // type is S3ClientConfig
|
|
67
|
+
* const client = new S3Client(config);
|
|
68
|
+
* const input = { // GetObjectAnnotationRequest
|
|
69
|
+
* Bucket: "STRING_VALUE", // required
|
|
70
|
+
* Key: "STRING_VALUE", // required
|
|
71
|
+
* AnnotationName: "STRING_VALUE", // required
|
|
72
|
+
* VersionId: "STRING_VALUE",
|
|
73
|
+
* RequestPayer: "requester",
|
|
74
|
+
* ExpectedBucketOwner: "STRING_VALUE",
|
|
75
|
+
* ChecksumMode: "ENABLED",
|
|
76
|
+
* };
|
|
77
|
+
* const command = new GetObjectAnnotationCommand(input);
|
|
78
|
+
* const response = await client.send(command);
|
|
79
|
+
* // consume or destroy the stream to free the socket.
|
|
80
|
+
* const bytes = await response.AnnotationPayload.transformToByteArray();
|
|
81
|
+
* // const str = await response.AnnotationPayload.transformToString();
|
|
82
|
+
* // response.AnnotationPayload.destroy(); // only applicable to Node.js Readable streams.
|
|
83
|
+
*
|
|
84
|
+
* // { // GetObjectAnnotationOutput
|
|
85
|
+
* // AnnotationPayload: "<SdkStream>", // see \@smithy/types -> StreamingBlobPayloadOutputTypes
|
|
86
|
+
* // ObjectVersionId: "STRING_VALUE",
|
|
87
|
+
* // LastModified: new Date("TIMESTAMP"),
|
|
88
|
+
* // ContentLength: Number("long"),
|
|
89
|
+
* // ETag: "STRING_VALUE",
|
|
90
|
+
* // ChecksumCRC32: "STRING_VALUE",
|
|
91
|
+
* // ChecksumCRC32C: "STRING_VALUE",
|
|
92
|
+
* // ChecksumCRC64NVME: "STRING_VALUE",
|
|
93
|
+
* // ChecksumSHA1: "STRING_VALUE",
|
|
94
|
+
* // ChecksumSHA256: "STRING_VALUE",
|
|
95
|
+
* // ChecksumSHA512: "STRING_VALUE",
|
|
96
|
+
* // ChecksumMD5: "STRING_VALUE",
|
|
97
|
+
* // ChecksumXXHASH64: "STRING_VALUE",
|
|
98
|
+
* // ChecksumXXHASH3: "STRING_VALUE",
|
|
99
|
+
* // ChecksumXXHASH128: "STRING_VALUE",
|
|
100
|
+
* // ChecksumType: "COMPOSITE" || "FULL_OBJECT",
|
|
101
|
+
* // ServerSideEncryption: "AES256" || "aws:fsx" || "aws:kms" || "aws:kms:dsse",
|
|
102
|
+
* // RequestCharged: "requester",
|
|
103
|
+
* // ReplicationStatus: "COMPLETE" || "PENDING" || "FAILED" || "REPLICA" || "COMPLETED",
|
|
104
|
+
* // };
|
|
105
|
+
*
|
|
106
|
+
* ```
|
|
107
|
+
*
|
|
108
|
+
* @param GetObjectAnnotationCommandInput - {@link GetObjectAnnotationCommandInput}
|
|
109
|
+
* @returns {@link GetObjectAnnotationCommandOutput}
|
|
110
|
+
* @see {@link GetObjectAnnotationCommandInput} for command's `input` shape.
|
|
111
|
+
* @see {@link GetObjectAnnotationCommandOutput} for command's `response` shape.
|
|
112
|
+
* @see {@link S3ClientResolvedConfig | config} for S3Client's `config` shape.
|
|
113
|
+
*
|
|
114
|
+
* @throws {@link NoSuchAnnotation} (client fault)
|
|
115
|
+
* <p>The specified annotation does not exist on this object.</p>
|
|
116
|
+
*
|
|
117
|
+
* @throws {@link NoSuchBucket} (client fault)
|
|
118
|
+
* <p>The specified bucket does not exist.</p>
|
|
119
|
+
*
|
|
120
|
+
* @throws {@link NoSuchKey} (client fault)
|
|
121
|
+
* <p>The specified key does not exist.</p>
|
|
122
|
+
*
|
|
123
|
+
* @throws {@link S3ServiceException}
|
|
124
|
+
* <p>Base exception class for all service exceptions from S3 service.</p>
|
|
125
|
+
*
|
|
126
|
+
*
|
|
127
|
+
* @public
|
|
128
|
+
*/
|
|
129
|
+
export declare class GetObjectAnnotationCommand extends GetObjectAnnotationCommand_base {
|
|
130
|
+
/** @internal type navigation helper, not in runtime. */
|
|
131
|
+
protected static __types: {
|
|
132
|
+
api: {
|
|
133
|
+
input: GetObjectAnnotationRequest;
|
|
134
|
+
output: GetObjectAnnotationOutput;
|
|
135
|
+
};
|
|
136
|
+
sdk: {
|
|
137
|
+
input: GetObjectAnnotationCommandInput;
|
|
138
|
+
output: GetObjectAnnotationCommandOutput;
|
|
139
|
+
};
|
|
140
|
+
};
|
|
141
|
+
}
|