@aws-sdk/client-s3 3.1068.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.
Files changed (64) hide show
  1. package/README.md +35 -0
  2. package/dist-cjs/auth/httpAuthSchemeProvider.js +15 -19
  3. package/dist-cjs/endpoint/bdd.js +2 -5
  4. package/dist-cjs/endpoint/endpointResolver.js +7 -11
  5. package/dist-cjs/index.js +646 -535
  6. package/dist-cjs/models/S3ServiceException.js +4 -8
  7. package/dist-cjs/models/errors.js +106 -52
  8. package/dist-cjs/runtimeConfig.browser.js +29 -33
  9. package/dist-cjs/runtimeConfig.js +43 -47
  10. package/dist-cjs/runtimeConfig.native.js +4 -7
  11. package/dist-cjs/runtimeConfig.shared.js +25 -29
  12. package/dist-cjs/schemas/schemas_0.js +1256 -740
  13. package/dist-es/S3.js +12 -0
  14. package/dist-es/commands/DeleteObjectAnnotationCommand.js +23 -0
  15. package/dist-es/commands/GetObjectAnnotationCommand.js +28 -0
  16. package/dist-es/commands/ListObjectAnnotationsCommand.js +23 -0
  17. package/dist-es/commands/PutObjectAnnotationCommand.js +29 -0
  18. package/dist-es/commands/UpdateBucketMetadataAnnotationTableConfigurationCommand.js +27 -0
  19. package/dist-es/commands/index.js +5 -0
  20. package/dist-es/models/enums.js +12 -1
  21. package/dist-es/models/errors.js +76 -4
  22. package/dist-es/pagination/ListObjectAnnotationsPaginator.js +4 -0
  23. package/dist-es/pagination/index.js +1 -0
  24. package/dist-es/schemas/schemas_0.js +260 -100
  25. package/dist-types/S3.d.ts +42 -0
  26. package/dist-types/S3Client.d.ts +7 -2
  27. package/dist-types/commands/CopyObjectCommand.d.ts +1 -0
  28. package/dist-types/commands/CreateBucketMetadataConfigurationCommand.d.ts +27 -0
  29. package/dist-types/commands/DeleteObjectAnnotationCommand.d.ts +119 -0
  30. package/dist-types/commands/GetBucketMetadataConfigurationCommand.d.ts +11 -0
  31. package/dist-types/commands/GetBucketNotificationConfigurationCommand.d.ts +3 -3
  32. package/dist-types/commands/GetObjectAnnotationCommand.d.ts +141 -0
  33. package/dist-types/commands/ListObjectAnnotationsCommand.d.ts +138 -0
  34. package/dist-types/commands/PutBucketNotificationConfigurationCommand.d.ts +3 -3
  35. package/dist-types/commands/PutObjectAnnotationCommand.d.ts +166 -0
  36. package/dist-types/commands/RenameObjectCommand.d.ts +1 -1
  37. package/dist-types/commands/RestoreObjectCommand.d.ts +1 -2
  38. package/dist-types/commands/UpdateBucketMetadataAnnotationTableConfigurationCommand.d.ts +110 -0
  39. package/dist-types/commands/index.d.ts +5 -0
  40. package/dist-types/models/enums.d.ts +29 -2
  41. package/dist-types/models/errors.d.ts +76 -4
  42. package/dist-types/models/models_0.d.ts +925 -549
  43. package/dist-types/models/models_1.d.ts +380 -2
  44. package/dist-types/pagination/ListObjectAnnotationsPaginator.d.ts +7 -0
  45. package/dist-types/pagination/index.d.ts +1 -0
  46. package/dist-types/schemas/schemas_0.d.ts +24 -0
  47. package/dist-types/ts3.4/S3.d.ts +98 -0
  48. package/dist-types/ts3.4/S3Client.d.ts +30 -0
  49. package/dist-types/ts3.4/commands/DeleteObjectAnnotationCommand.d.ts +53 -0
  50. package/dist-types/ts3.4/commands/GetObjectAnnotationCommand.d.ts +61 -0
  51. package/dist-types/ts3.4/commands/ListObjectAnnotationsCommand.d.ts +53 -0
  52. package/dist-types/ts3.4/commands/PutObjectAnnotationCommand.d.ts +61 -0
  53. package/dist-types/ts3.4/commands/RenameObjectCommand.d.ts +1 -1
  54. package/dist-types/ts3.4/commands/RestoreObjectCommand.d.ts +1 -2
  55. package/dist-types/ts3.4/commands/UpdateBucketMetadataAnnotationTableConfigurationCommand.d.ts +49 -0
  56. package/dist-types/ts3.4/commands/index.d.ts +5 -0
  57. package/dist-types/ts3.4/models/enums.d.ts +18 -3
  58. package/dist-types/ts3.4/models/errors.d.ts +41 -3
  59. package/dist-types/ts3.4/models/models_0.d.ts +138 -64
  60. package/dist-types/ts3.4/models/models_1.d.ts +75 -5
  61. package/dist-types/ts3.4/pagination/ListObjectAnnotationsPaginator.d.ts +11 -0
  62. package/dist-types/ts3.4/pagination/index.d.ts +1 -0
  63. package/dist-types/ts3.4/schemas/schemas_0.d.ts +24 -0
  64. package/package.json +20 -20
@@ -97,6 +97,10 @@ import {
97
97
  DeleteBucketWebsiteCommandInput,
98
98
  DeleteBucketWebsiteCommandOutput,
99
99
  } from "./commands/DeleteBucketWebsiteCommand";
100
+ import {
101
+ DeleteObjectAnnotationCommandInput,
102
+ DeleteObjectAnnotationCommandOutput,
103
+ } from "./commands/DeleteObjectAnnotationCommand";
100
104
  import {
101
105
  DeleteObjectCommandInput,
102
106
  DeleteObjectCommandOutput,
@@ -209,6 +213,10 @@ import {
209
213
  GetObjectAclCommandInput,
210
214
  GetObjectAclCommandOutput,
211
215
  } from "./commands/GetObjectAclCommand";
216
+ import {
217
+ GetObjectAnnotationCommandInput,
218
+ GetObjectAnnotationCommandOutput,
219
+ } from "./commands/GetObjectAnnotationCommand";
212
220
  import {
213
221
  GetObjectAttributesCommandInput,
214
222
  GetObjectAttributesCommandOutput,
@@ -277,6 +285,10 @@ import {
277
285
  ListMultipartUploadsCommandInput,
278
286
  ListMultipartUploadsCommandOutput,
279
287
  } from "./commands/ListMultipartUploadsCommand";
288
+ import {
289
+ ListObjectAnnotationsCommandInput,
290
+ ListObjectAnnotationsCommandOutput,
291
+ } from "./commands/ListObjectAnnotationsCommand";
280
292
  import {
281
293
  ListObjectsCommandInput,
282
294
  ListObjectsCommandOutput,
@@ -373,6 +385,10 @@ import {
373
385
  PutObjectAclCommandInput,
374
386
  PutObjectAclCommandOutput,
375
387
  } from "./commands/PutObjectAclCommand";
388
+ import {
389
+ PutObjectAnnotationCommandInput,
390
+ PutObjectAnnotationCommandOutput,
391
+ } from "./commands/PutObjectAnnotationCommand";
376
392
  import {
377
393
  PutObjectCommandInput,
378
394
  PutObjectCommandOutput,
@@ -409,6 +425,10 @@ import {
409
425
  SelectObjectContentCommandInput,
410
426
  SelectObjectContentCommandOutput,
411
427
  } from "./commands/SelectObjectContentCommand";
428
+ import {
429
+ UpdateBucketMetadataAnnotationTableConfigurationCommandInput,
430
+ UpdateBucketMetadataAnnotationTableConfigurationCommandOutput,
431
+ } from "./commands/UpdateBucketMetadataAnnotationTableConfigurationCommand";
412
432
  import {
413
433
  UpdateBucketMetadataInventoryTableConfigurationCommandInput,
414
434
  UpdateBucketMetadataInventoryTableConfigurationCommandOutput,
@@ -790,6 +810,19 @@ export interface S3 {
790
810
  options: __HttpHandlerOptions,
791
811
  cb: (err: any, data?: DeleteObjectCommandOutput) => void
792
812
  ): void;
813
+ deleteObjectAnnotation(
814
+ args: DeleteObjectAnnotationCommandInput,
815
+ options?: __HttpHandlerOptions
816
+ ): Promise<DeleteObjectAnnotationCommandOutput>;
817
+ deleteObjectAnnotation(
818
+ args: DeleteObjectAnnotationCommandInput,
819
+ cb: (err: any, data?: DeleteObjectAnnotationCommandOutput) => void
820
+ ): void;
821
+ deleteObjectAnnotation(
822
+ args: DeleteObjectAnnotationCommandInput,
823
+ options: __HttpHandlerOptions,
824
+ cb: (err: any, data?: DeleteObjectAnnotationCommandOutput) => void
825
+ ): void;
793
826
  deleteObjects(
794
827
  args: DeleteObjectsCommandInput,
795
828
  options?: __HttpHandlerOptions
@@ -1172,6 +1205,19 @@ export interface S3 {
1172
1205
  options: __HttpHandlerOptions,
1173
1206
  cb: (err: any, data?: GetObjectAclCommandOutput) => void
1174
1207
  ): void;
1208
+ getObjectAnnotation(
1209
+ args: GetObjectAnnotationCommandInput,
1210
+ options?: __HttpHandlerOptions
1211
+ ): Promise<GetObjectAnnotationCommandOutput>;
1212
+ getObjectAnnotation(
1213
+ args: GetObjectAnnotationCommandInput,
1214
+ cb: (err: any, data?: GetObjectAnnotationCommandOutput) => void
1215
+ ): void;
1216
+ getObjectAnnotation(
1217
+ args: GetObjectAnnotationCommandInput,
1218
+ options: __HttpHandlerOptions,
1219
+ cb: (err: any, data?: GetObjectAnnotationCommandOutput) => void
1220
+ ): void;
1175
1221
  getObjectAttributes(
1176
1222
  args: GetObjectAttributesCommandInput,
1177
1223
  options?: __HttpHandlerOptions
@@ -1400,6 +1446,19 @@ export interface S3 {
1400
1446
  options: __HttpHandlerOptions,
1401
1447
  cb: (err: any, data?: ListMultipartUploadsCommandOutput) => void
1402
1448
  ): void;
1449
+ listObjectAnnotations(
1450
+ args: ListObjectAnnotationsCommandInput,
1451
+ options?: __HttpHandlerOptions
1452
+ ): Promise<ListObjectAnnotationsCommandOutput>;
1453
+ listObjectAnnotations(
1454
+ args: ListObjectAnnotationsCommandInput,
1455
+ cb: (err: any, data?: ListObjectAnnotationsCommandOutput) => void
1456
+ ): void;
1457
+ listObjectAnnotations(
1458
+ args: ListObjectAnnotationsCommandInput,
1459
+ options: __HttpHandlerOptions,
1460
+ cb: (err: any, data?: ListObjectAnnotationsCommandOutput) => void
1461
+ ): void;
1403
1462
  listObjects(
1404
1463
  args: ListObjectsCommandInput,
1405
1464
  options?: __HttpHandlerOptions
@@ -1737,6 +1796,19 @@ export interface S3 {
1737
1796
  options: __HttpHandlerOptions,
1738
1797
  cb: (err: any, data?: PutObjectAclCommandOutput) => void
1739
1798
  ): void;
1799
+ putObjectAnnotation(
1800
+ args: PutObjectAnnotationCommandInput,
1801
+ options?: __HttpHandlerOptions
1802
+ ): Promise<PutObjectAnnotationCommandOutput>;
1803
+ putObjectAnnotation(
1804
+ args: PutObjectAnnotationCommandInput,
1805
+ cb: (err: any, data?: PutObjectAnnotationCommandOutput) => void
1806
+ ): void;
1807
+ putObjectAnnotation(
1808
+ args: PutObjectAnnotationCommandInput,
1809
+ options: __HttpHandlerOptions,
1810
+ cb: (err: any, data?: PutObjectAnnotationCommandOutput) => void
1811
+ ): void;
1740
1812
  putObjectLegalHold(
1741
1813
  args: PutObjectLegalHoldCommandInput,
1742
1814
  options?: __HttpHandlerOptions
@@ -1841,6 +1913,25 @@ export interface S3 {
1841
1913
  options: __HttpHandlerOptions,
1842
1914
  cb: (err: any, data?: SelectObjectContentCommandOutput) => void
1843
1915
  ): void;
1916
+ updateBucketMetadataAnnotationTableConfiguration(
1917
+ args: UpdateBucketMetadataAnnotationTableConfigurationCommandInput,
1918
+ options?: __HttpHandlerOptions
1919
+ ): Promise<UpdateBucketMetadataAnnotationTableConfigurationCommandOutput>;
1920
+ updateBucketMetadataAnnotationTableConfiguration(
1921
+ args: UpdateBucketMetadataAnnotationTableConfigurationCommandInput,
1922
+ cb: (
1923
+ err: any,
1924
+ data?: UpdateBucketMetadataAnnotationTableConfigurationCommandOutput
1925
+ ) => void
1926
+ ): void;
1927
+ updateBucketMetadataAnnotationTableConfiguration(
1928
+ args: UpdateBucketMetadataAnnotationTableConfigurationCommandInput,
1929
+ options: __HttpHandlerOptions,
1930
+ cb: (
1931
+ err: any,
1932
+ data?: UpdateBucketMetadataAnnotationTableConfigurationCommandOutput
1933
+ ) => void
1934
+ ): void;
1844
1935
  updateBucketMetadataInventoryTableConfiguration(
1845
1936
  args: UpdateBucketMetadataInventoryTableConfigurationCommandInput,
1846
1937
  options?: __HttpHandlerOptions
@@ -1945,6 +2036,13 @@ export interface S3 {
1945
2036
  Exclude<keyof PaginationConfiguration, "client">
1946
2037
  >
1947
2038
  ): Paginator<ListDirectoryBucketsCommandOutput>;
2039
+ paginateListObjectAnnotations(
2040
+ args: ListObjectAnnotationsCommandInput,
2041
+ paginationConfig?: Pick<
2042
+ PaginationConfiguration,
2043
+ Exclude<keyof PaginationConfiguration, "client">
2044
+ >
2045
+ ): Paginator<ListObjectAnnotationsCommandOutput>;
1948
2046
  paginateListObjectsV2(
1949
2047
  args: ListObjectsV2CommandInput,
1950
2048
  paginationConfig?: Pick<
@@ -142,6 +142,10 @@ import {
142
142
  DeleteBucketWebsiteCommandInput,
143
143
  DeleteBucketWebsiteCommandOutput,
144
144
  } from "./commands/DeleteBucketWebsiteCommand";
145
+ import {
146
+ DeleteObjectAnnotationCommandInput,
147
+ DeleteObjectAnnotationCommandOutput,
148
+ } from "./commands/DeleteObjectAnnotationCommand";
145
149
  import {
146
150
  DeleteObjectCommandInput,
147
151
  DeleteObjectCommandOutput,
@@ -254,6 +258,10 @@ import {
254
258
  GetObjectAclCommandInput,
255
259
  GetObjectAclCommandOutput,
256
260
  } from "./commands/GetObjectAclCommand";
261
+ import {
262
+ GetObjectAnnotationCommandInput,
263
+ GetObjectAnnotationCommandOutput,
264
+ } from "./commands/GetObjectAnnotationCommand";
257
265
  import {
258
266
  GetObjectAttributesCommandInput,
259
267
  GetObjectAttributesCommandOutput,
@@ -322,6 +330,10 @@ import {
322
330
  ListMultipartUploadsCommandInput,
323
331
  ListMultipartUploadsCommandOutput,
324
332
  } from "./commands/ListMultipartUploadsCommand";
333
+ import {
334
+ ListObjectAnnotationsCommandInput,
335
+ ListObjectAnnotationsCommandOutput,
336
+ } from "./commands/ListObjectAnnotationsCommand";
325
337
  import {
326
338
  ListObjectsCommandInput,
327
339
  ListObjectsCommandOutput,
@@ -418,6 +430,10 @@ import {
418
430
  PutObjectAclCommandInput,
419
431
  PutObjectAclCommandOutput,
420
432
  } from "./commands/PutObjectAclCommand";
433
+ import {
434
+ PutObjectAnnotationCommandInput,
435
+ PutObjectAnnotationCommandOutput,
436
+ } from "./commands/PutObjectAnnotationCommand";
421
437
  import {
422
438
  PutObjectCommandInput,
423
439
  PutObjectCommandOutput,
@@ -454,6 +470,10 @@ import {
454
470
  SelectObjectContentCommandInput,
455
471
  SelectObjectContentCommandOutput,
456
472
  } from "./commands/SelectObjectContentCommand";
473
+ import {
474
+ UpdateBucketMetadataAnnotationTableConfigurationCommandInput,
475
+ UpdateBucketMetadataAnnotationTableConfigurationCommandOutput,
476
+ } from "./commands/UpdateBucketMetadataAnnotationTableConfigurationCommand";
457
477
  import {
458
478
  UpdateBucketMetadataInventoryTableConfigurationCommandInput,
459
479
  UpdateBucketMetadataInventoryTableConfigurationCommandOutput,
@@ -509,6 +529,7 @@ export type ServiceInputTypes =
509
529
  | DeleteBucketReplicationCommandInput
510
530
  | DeleteBucketTaggingCommandInput
511
531
  | DeleteBucketWebsiteCommandInput
532
+ | DeleteObjectAnnotationCommandInput
512
533
  | DeleteObjectCommandInput
513
534
  | DeleteObjectTaggingCommandInput
514
535
  | DeleteObjectsCommandInput
@@ -537,6 +558,7 @@ export type ServiceInputTypes =
537
558
  | GetBucketVersioningCommandInput
538
559
  | GetBucketWebsiteCommandInput
539
560
  | GetObjectAclCommandInput
561
+ | GetObjectAnnotationCommandInput
540
562
  | GetObjectAttributesCommandInput
541
563
  | GetObjectCommandInput
542
564
  | GetObjectLegalHoldCommandInput
@@ -554,6 +576,7 @@ export type ServiceInputTypes =
554
576
  | ListBucketsCommandInput
555
577
  | ListDirectoryBucketsCommandInput
556
578
  | ListMultipartUploadsCommandInput
579
+ | ListObjectAnnotationsCommandInput
557
580
  | ListObjectVersionsCommandInput
558
581
  | ListObjectsCommandInput
559
582
  | ListObjectsV2CommandInput
@@ -578,6 +601,7 @@ export type ServiceInputTypes =
578
601
  | PutBucketVersioningCommandInput
579
602
  | PutBucketWebsiteCommandInput
580
603
  | PutObjectAclCommandInput
604
+ | PutObjectAnnotationCommandInput
581
605
  | PutObjectCommandInput
582
606
  | PutObjectLegalHoldCommandInput
583
607
  | PutObjectLockConfigurationCommandInput
@@ -587,6 +611,7 @@ export type ServiceInputTypes =
587
611
  | RenameObjectCommandInput
588
612
  | RestoreObjectCommandInput
589
613
  | SelectObjectContentCommandInput
614
+ | UpdateBucketMetadataAnnotationTableConfigurationCommandInput
590
615
  | UpdateBucketMetadataInventoryTableConfigurationCommandInput
591
616
  | UpdateBucketMetadataJournalTableConfigurationCommandInput
592
617
  | UpdateObjectEncryptionCommandInput
@@ -617,6 +642,7 @@ export type ServiceOutputTypes =
617
642
  | DeleteBucketReplicationCommandOutput
618
643
  | DeleteBucketTaggingCommandOutput
619
644
  | DeleteBucketWebsiteCommandOutput
645
+ | DeleteObjectAnnotationCommandOutput
620
646
  | DeleteObjectCommandOutput
621
647
  | DeleteObjectTaggingCommandOutput
622
648
  | DeleteObjectsCommandOutput
@@ -645,6 +671,7 @@ export type ServiceOutputTypes =
645
671
  | GetBucketVersioningCommandOutput
646
672
  | GetBucketWebsiteCommandOutput
647
673
  | GetObjectAclCommandOutput
674
+ | GetObjectAnnotationCommandOutput
648
675
  | GetObjectAttributesCommandOutput
649
676
  | GetObjectCommandOutput
650
677
  | GetObjectLegalHoldCommandOutput
@@ -662,6 +689,7 @@ export type ServiceOutputTypes =
662
689
  | ListBucketsCommandOutput
663
690
  | ListDirectoryBucketsCommandOutput
664
691
  | ListMultipartUploadsCommandOutput
692
+ | ListObjectAnnotationsCommandOutput
665
693
  | ListObjectVersionsCommandOutput
666
694
  | ListObjectsCommandOutput
667
695
  | ListObjectsV2CommandOutput
@@ -686,6 +714,7 @@ export type ServiceOutputTypes =
686
714
  | PutBucketVersioningCommandOutput
687
715
  | PutBucketWebsiteCommandOutput
688
716
  | PutObjectAclCommandOutput
717
+ | PutObjectAnnotationCommandOutput
689
718
  | PutObjectCommandOutput
690
719
  | PutObjectLegalHoldCommandOutput
691
720
  | PutObjectLockConfigurationCommandOutput
@@ -695,6 +724,7 @@ export type ServiceOutputTypes =
695
724
  | RenameObjectCommandOutput
696
725
  | RestoreObjectCommandOutput
697
726
  | SelectObjectContentCommandOutput
727
+ | UpdateBucketMetadataAnnotationTableConfigurationCommandOutput
698
728
  | UpdateBucketMetadataInventoryTableConfigurationCommandOutput
699
729
  | UpdateBucketMetadataJournalTableConfigurationCommandOutput
700
730
  | UpdateObjectEncryptionCommandOutput
@@ -0,0 +1,53 @@
1
+ import { Command as $Command } from "@smithy/core/client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import {
4
+ DeleteObjectAnnotationOutput,
5
+ DeleteObjectAnnotationRequest,
6
+ } from "../models/models_0";
7
+ import {
8
+ S3ClientResolvedConfig,
9
+ ServiceInputTypes,
10
+ ServiceOutputTypes,
11
+ } from "../S3Client";
12
+ export { __MetadataBearer };
13
+ export { $Command };
14
+ export interface DeleteObjectAnnotationCommandInput
15
+ extends DeleteObjectAnnotationRequest {}
16
+ export interface DeleteObjectAnnotationCommandOutput
17
+ extends DeleteObjectAnnotationOutput,
18
+ __MetadataBearer {}
19
+ declare const DeleteObjectAnnotationCommand_base: {
20
+ new (
21
+ input: DeleteObjectAnnotationCommandInput
22
+ ): import("@smithy/core/client").CommandImpl<
23
+ DeleteObjectAnnotationCommandInput,
24
+ DeleteObjectAnnotationCommandOutput,
25
+ S3ClientResolvedConfig,
26
+ ServiceInputTypes,
27
+ ServiceOutputTypes
28
+ >;
29
+ new (
30
+ input: DeleteObjectAnnotationCommandInput
31
+ ): import("@smithy/core/client").CommandImpl<
32
+ DeleteObjectAnnotationCommandInput,
33
+ DeleteObjectAnnotationCommandOutput,
34
+ S3ClientResolvedConfig,
35
+ ServiceInputTypes,
36
+ ServiceOutputTypes
37
+ >;
38
+ getEndpointParameterInstructions(): {
39
+ [x: string]: unknown;
40
+ };
41
+ };
42
+ export declare class DeleteObjectAnnotationCommand extends DeleteObjectAnnotationCommand_base {
43
+ protected static __types: {
44
+ api: {
45
+ input: DeleteObjectAnnotationRequest;
46
+ output: DeleteObjectAnnotationOutput;
47
+ };
48
+ sdk: {
49
+ input: DeleteObjectAnnotationCommandInput;
50
+ output: DeleteObjectAnnotationCommandOutput;
51
+ };
52
+ };
53
+ }
@@ -0,0 +1,61 @@
1
+ import { Command as $Command } from "@smithy/core/client";
2
+ import {
3
+ MetadataBearer as __MetadataBearer,
4
+ StreamingBlobPayloadOutputTypes,
5
+ } from "@smithy/types";
6
+ import {
7
+ GetObjectAnnotationOutput,
8
+ GetObjectAnnotationRequest,
9
+ } from "../models/models_0";
10
+ import {
11
+ S3ClientResolvedConfig,
12
+ ServiceInputTypes,
13
+ ServiceOutputTypes,
14
+ } from "../S3Client";
15
+ export { __MetadataBearer };
16
+ export { $Command };
17
+ export interface GetObjectAnnotationCommandInput
18
+ extends GetObjectAnnotationRequest {}
19
+ export interface GetObjectAnnotationCommandOutput
20
+ extends Pick<
21
+ GetObjectAnnotationOutput,
22
+ Exclude<keyof GetObjectAnnotationOutput, "AnnotationPayload">
23
+ >,
24
+ __MetadataBearer {
25
+ AnnotationPayload?: StreamingBlobPayloadOutputTypes;
26
+ }
27
+ declare const GetObjectAnnotationCommand_base: {
28
+ new (
29
+ input: GetObjectAnnotationCommandInput
30
+ ): import("@smithy/core/client").CommandImpl<
31
+ GetObjectAnnotationCommandInput,
32
+ GetObjectAnnotationCommandOutput,
33
+ S3ClientResolvedConfig,
34
+ ServiceInputTypes,
35
+ ServiceOutputTypes
36
+ >;
37
+ new (
38
+ input: GetObjectAnnotationCommandInput
39
+ ): import("@smithy/core/client").CommandImpl<
40
+ GetObjectAnnotationCommandInput,
41
+ GetObjectAnnotationCommandOutput,
42
+ S3ClientResolvedConfig,
43
+ ServiceInputTypes,
44
+ ServiceOutputTypes
45
+ >;
46
+ getEndpointParameterInstructions(): {
47
+ [x: string]: unknown;
48
+ };
49
+ };
50
+ export declare class GetObjectAnnotationCommand extends GetObjectAnnotationCommand_base {
51
+ protected static __types: {
52
+ api: {
53
+ input: GetObjectAnnotationRequest;
54
+ output: GetObjectAnnotationOutput;
55
+ };
56
+ sdk: {
57
+ input: GetObjectAnnotationCommandInput;
58
+ output: GetObjectAnnotationCommandOutput;
59
+ };
60
+ };
61
+ }
@@ -0,0 +1,53 @@
1
+ import { Command as $Command } from "@smithy/core/client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import {
4
+ ListObjectAnnotationsOutput,
5
+ ListObjectAnnotationsRequest,
6
+ } from "../models/models_0";
7
+ import {
8
+ S3ClientResolvedConfig,
9
+ ServiceInputTypes,
10
+ ServiceOutputTypes,
11
+ } from "../S3Client";
12
+ export { __MetadataBearer };
13
+ export { $Command };
14
+ export interface ListObjectAnnotationsCommandInput
15
+ extends ListObjectAnnotationsRequest {}
16
+ export interface ListObjectAnnotationsCommandOutput
17
+ extends ListObjectAnnotationsOutput,
18
+ __MetadataBearer {}
19
+ declare const ListObjectAnnotationsCommand_base: {
20
+ new (
21
+ input: ListObjectAnnotationsCommandInput
22
+ ): import("@smithy/core/client").CommandImpl<
23
+ ListObjectAnnotationsCommandInput,
24
+ ListObjectAnnotationsCommandOutput,
25
+ S3ClientResolvedConfig,
26
+ ServiceInputTypes,
27
+ ServiceOutputTypes
28
+ >;
29
+ new (
30
+ input: ListObjectAnnotationsCommandInput
31
+ ): import("@smithy/core/client").CommandImpl<
32
+ ListObjectAnnotationsCommandInput,
33
+ ListObjectAnnotationsCommandOutput,
34
+ S3ClientResolvedConfig,
35
+ ServiceInputTypes,
36
+ ServiceOutputTypes
37
+ >;
38
+ getEndpointParameterInstructions(): {
39
+ [x: string]: unknown;
40
+ };
41
+ };
42
+ export declare class ListObjectAnnotationsCommand extends ListObjectAnnotationsCommand_base {
43
+ protected static __types: {
44
+ api: {
45
+ input: ListObjectAnnotationsRequest;
46
+ output: ListObjectAnnotationsOutput;
47
+ };
48
+ sdk: {
49
+ input: ListObjectAnnotationsCommandInput;
50
+ output: ListObjectAnnotationsCommandOutput;
51
+ };
52
+ };
53
+ }
@@ -0,0 +1,61 @@
1
+ import { Command as $Command } from "@smithy/core/client";
2
+ import {
3
+ MetadataBearer as __MetadataBearer,
4
+ StreamingBlobPayloadInputTypes,
5
+ } from "@smithy/types";
6
+ import {
7
+ PutObjectAnnotationOutput,
8
+ PutObjectAnnotationRequest,
9
+ } from "../models/models_0";
10
+ import {
11
+ S3ClientResolvedConfig,
12
+ ServiceInputTypes,
13
+ ServiceOutputTypes,
14
+ } from "../S3Client";
15
+ export { __MetadataBearer };
16
+ export { $Command };
17
+ export interface PutObjectAnnotationCommandInput
18
+ extends Pick<
19
+ PutObjectAnnotationRequest,
20
+ Exclude<keyof PutObjectAnnotationRequest, "AnnotationPayload">
21
+ > {
22
+ AnnotationPayload: StreamingBlobPayloadInputTypes;
23
+ }
24
+ export interface PutObjectAnnotationCommandOutput
25
+ extends PutObjectAnnotationOutput,
26
+ __MetadataBearer {}
27
+ declare const PutObjectAnnotationCommand_base: {
28
+ new (
29
+ input: PutObjectAnnotationCommandInput
30
+ ): import("@smithy/core/client").CommandImpl<
31
+ PutObjectAnnotationCommandInput,
32
+ PutObjectAnnotationCommandOutput,
33
+ S3ClientResolvedConfig,
34
+ ServiceInputTypes,
35
+ ServiceOutputTypes
36
+ >;
37
+ new (
38
+ input: PutObjectAnnotationCommandInput
39
+ ): import("@smithy/core/client").CommandImpl<
40
+ PutObjectAnnotationCommandInput,
41
+ PutObjectAnnotationCommandOutput,
42
+ S3ClientResolvedConfig,
43
+ ServiceInputTypes,
44
+ ServiceOutputTypes
45
+ >;
46
+ getEndpointParameterInstructions(): {
47
+ [x: string]: unknown;
48
+ };
49
+ };
50
+ export declare class PutObjectAnnotationCommand extends PutObjectAnnotationCommand_base {
51
+ protected static __types: {
52
+ api: {
53
+ input: PutObjectAnnotationRequest;
54
+ output: PutObjectAnnotationOutput;
55
+ };
56
+ sdk: {
57
+ input: PutObjectAnnotationCommandInput;
58
+ output: PutObjectAnnotationCommandOutput;
59
+ };
60
+ };
61
+ }
@@ -1,6 +1,6 @@
1
1
  import { Command as $Command } from "@smithy/core/client";
2
2
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import { RenameObjectOutput, RenameObjectRequest } from "../models/models_0";
3
+ import { RenameObjectOutput, RenameObjectRequest } from "../models/models_1";
4
4
  import {
5
5
  S3ClientResolvedConfig,
6
6
  ServiceInputTypes,
@@ -1,7 +1,6 @@
1
1
  import { Command as $Command } from "@smithy/core/client";
2
2
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import { RestoreObjectOutput } from "../models/models_0";
4
- import { RestoreObjectRequest } from "../models/models_1";
3
+ import { RestoreObjectOutput, RestoreObjectRequest } from "../models/models_1";
5
4
  import {
6
5
  S3ClientResolvedConfig,
7
6
  ServiceInputTypes,
@@ -0,0 +1,49 @@
1
+ import { Command as $Command } from "@smithy/core/client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { UpdateBucketMetadataAnnotationTableConfigurationRequest } from "../models/models_1";
4
+ import {
5
+ S3ClientResolvedConfig,
6
+ ServiceInputTypes,
7
+ ServiceOutputTypes,
8
+ } from "../S3Client";
9
+ export { __MetadataBearer };
10
+ export { $Command };
11
+ export interface UpdateBucketMetadataAnnotationTableConfigurationCommandInput
12
+ extends UpdateBucketMetadataAnnotationTableConfigurationRequest {}
13
+ export interface UpdateBucketMetadataAnnotationTableConfigurationCommandOutput
14
+ extends __MetadataBearer {}
15
+ declare const UpdateBucketMetadataAnnotationTableConfigurationCommand_base: {
16
+ new (
17
+ input: UpdateBucketMetadataAnnotationTableConfigurationCommandInput
18
+ ): import("@smithy/core/client").CommandImpl<
19
+ UpdateBucketMetadataAnnotationTableConfigurationCommandInput,
20
+ UpdateBucketMetadataAnnotationTableConfigurationCommandOutput,
21
+ S3ClientResolvedConfig,
22
+ ServiceInputTypes,
23
+ ServiceOutputTypes
24
+ >;
25
+ new (
26
+ input: UpdateBucketMetadataAnnotationTableConfigurationCommandInput
27
+ ): import("@smithy/core/client").CommandImpl<
28
+ UpdateBucketMetadataAnnotationTableConfigurationCommandInput,
29
+ UpdateBucketMetadataAnnotationTableConfigurationCommandOutput,
30
+ S3ClientResolvedConfig,
31
+ ServiceInputTypes,
32
+ ServiceOutputTypes
33
+ >;
34
+ getEndpointParameterInstructions(): {
35
+ [x: string]: unknown;
36
+ };
37
+ };
38
+ export declare class UpdateBucketMetadataAnnotationTableConfigurationCommand extends UpdateBucketMetadataAnnotationTableConfigurationCommand_base {
39
+ protected static __types: {
40
+ api: {
41
+ input: UpdateBucketMetadataAnnotationTableConfigurationRequest;
42
+ output: {};
43
+ };
44
+ sdk: {
45
+ input: UpdateBucketMetadataAnnotationTableConfigurationCommandInput;
46
+ output: UpdateBucketMetadataAnnotationTableConfigurationCommandOutput;
47
+ };
48
+ };
49
+ }
@@ -21,6 +21,7 @@ export * from "./DeleteBucketPolicyCommand";
21
21
  export * from "./DeleteBucketReplicationCommand";
22
22
  export * from "./DeleteBucketTaggingCommand";
23
23
  export * from "./DeleteBucketWebsiteCommand";
24
+ export * from "./DeleteObjectAnnotationCommand";
24
25
  export * from "./DeleteObjectCommand";
25
26
  export * from "./DeleteObjectTaggingCommand";
26
27
  export * from "./DeleteObjectsCommand";
@@ -49,6 +50,7 @@ export * from "./GetBucketTaggingCommand";
49
50
  export * from "./GetBucketVersioningCommand";
50
51
  export * from "./GetBucketWebsiteCommand";
51
52
  export * from "./GetObjectAclCommand";
53
+ export * from "./GetObjectAnnotationCommand";
52
54
  export * from "./GetObjectAttributesCommand";
53
55
  export * from "./GetObjectCommand";
54
56
  export * from "./GetObjectLegalHoldCommand";
@@ -66,6 +68,7 @@ export * from "./ListBucketMetricsConfigurationsCommand";
66
68
  export * from "./ListBucketsCommand";
67
69
  export * from "./ListDirectoryBucketsCommand";
68
70
  export * from "./ListMultipartUploadsCommand";
71
+ export * from "./ListObjectAnnotationsCommand";
69
72
  export * from "./ListObjectVersionsCommand";
70
73
  export * from "./ListObjectsCommand";
71
74
  export * from "./ListObjectsV2Command";
@@ -90,6 +93,7 @@ export * from "./PutBucketTaggingCommand";
90
93
  export * from "./PutBucketVersioningCommand";
91
94
  export * from "./PutBucketWebsiteCommand";
92
95
  export * from "./PutObjectAclCommand";
96
+ export * from "./PutObjectAnnotationCommand";
93
97
  export * from "./PutObjectCommand";
94
98
  export * from "./PutObjectLegalHoldCommand";
95
99
  export * from "./PutObjectLockConfigurationCommand";
@@ -99,6 +103,7 @@ export * from "./PutPublicAccessBlockCommand";
99
103
  export * from "./RenameObjectCommand";
100
104
  export * from "./RestoreObjectCommand";
101
105
  export * from "./SelectObjectContentCommand";
106
+ export * from "./UpdateBucketMetadataAnnotationTableConfigurationCommand";
102
107
  export * from "./UpdateBucketMetadataInventoryTableConfigurationCommand";
103
108
  export * from "./UpdateBucketMetadataJournalTableConfigurationCommand";
104
109
  export * from "./UpdateObjectEncryptionCommand";
@@ -61,6 +61,12 @@ export declare const ObjectCannedACL: {
61
61
  };
62
62
  export type ObjectCannedACL =
63
63
  (typeof ObjectCannedACL)[keyof typeof ObjectCannedACL];
64
+ export declare const AnnotationDirective: {
65
+ readonly COPY: "COPY";
66
+ readonly EXCLUDE: "EXCLUDE";
67
+ };
68
+ export type AnnotationDirective =
69
+ (typeof AnnotationDirective)[keyof typeof AnnotationDirective];
64
70
  export declare const ChecksumAlgorithm: {
65
71
  readonly CRC32: "CRC32";
66
72
  readonly CRC32C: "CRC32C";
@@ -193,18 +199,24 @@ export declare const ObjectOwnership: {
193
199
  };
194
200
  export type ObjectOwnership =
195
201
  (typeof ObjectOwnership)[keyof typeof ObjectOwnership];
196
- export declare const InventoryConfigurationState: {
202
+ export declare const AnnotationConfigurationState: {
197
203
  readonly DISABLED: "DISABLED";
198
204
  readonly ENABLED: "ENABLED";
199
205
  };
200
- export type InventoryConfigurationState =
201
- (typeof InventoryConfigurationState)[keyof typeof InventoryConfigurationState];
206
+ export type AnnotationConfigurationState =
207
+ (typeof AnnotationConfigurationState)[keyof typeof AnnotationConfigurationState];
202
208
  export declare const TableSseAlgorithm: {
203
209
  readonly AES256: "AES256";
204
210
  readonly aws_kms: "aws:kms";
205
211
  };
206
212
  export type TableSseAlgorithm =
207
213
  (typeof TableSseAlgorithm)[keyof typeof TableSseAlgorithm];
214
+ export declare const InventoryConfigurationState: {
215
+ readonly DISABLED: "DISABLED";
216
+ readonly ENABLED: "ENABLED";
217
+ };
218
+ export type InventoryConfigurationState =
219
+ (typeof InventoryConfigurationState)[keyof typeof InventoryConfigurationState];
208
220
  export declare const ExpirationState: {
209
221
  readonly DISABLED: "DISABLED";
210
222
  readonly ENABLED: "ENABLED";
@@ -331,6 +343,9 @@ export declare const Event: {
331
343
  readonly s3_LifecycleExpiration_DeleteMarkerCreated: "s3:LifecycleExpiration:DeleteMarkerCreated";
332
344
  readonly s3_LifecycleTransition: "s3:LifecycleTransition";
333
345
  readonly s3_ObjectAcl_Put: "s3:ObjectAcl:Put";
346
+ readonly s3_ObjectAnnotation_: "s3:ObjectAnnotation:*";
347
+ readonly s3_ObjectAnnotation_Delete: "s3:ObjectAnnotation:Delete";
348
+ readonly s3_ObjectAnnotation_Put: "s3:ObjectAnnotation:Put";
334
349
  readonly s3_ObjectCreated_: "s3:ObjectCreated:*";
335
350
  readonly s3_ObjectCreated_CompleteMultipartUpload: "s3:ObjectCreated:CompleteMultipartUpload";
336
351
  readonly s3_ObjectCreated_Copy: "s3:ObjectCreated:Copy";