@aws-sdk/client-s3 3.701.0 → 3.705.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 (74) hide show
  1. package/README.md +24 -0
  2. package/dist-cjs/endpoint/ruleset.js +3 -3
  3. package/dist-cjs/index.js +334 -104
  4. package/dist-es/S3.js +6 -0
  5. package/dist-es/commands/CreateBucketMetadataTableConfigurationCommand.js +32 -0
  6. package/dist-es/commands/DeleteBucketMetadataTableConfigurationCommand.js +26 -0
  7. package/dist-es/commands/GetBucketMetadataTableConfigurationCommand.js +28 -0
  8. package/dist-es/commands/PutBucketEncryptionCommand.js +1 -1
  9. package/dist-es/commands/PutBucketInventoryConfigurationCommand.js +1 -1
  10. package/dist-es/commands/index.js +3 -0
  11. package/dist-es/endpoint/ruleset.js +3 -3
  12. package/dist-es/models/models_0.js +2 -12
  13. package/dist-es/models/models_1.js +13 -0
  14. package/dist-es/protocols/Aws_restXml.js +157 -0
  15. package/dist-types/S3.d.ts +21 -0
  16. package/dist-types/S3Client.d.ts +5 -2
  17. package/dist-types/commands/AbortMultipartUploadCommand.d.ts +4 -3
  18. package/dist-types/commands/CompleteMultipartUploadCommand.d.ts +4 -3
  19. package/dist-types/commands/CopyObjectCommand.d.ts +4 -3
  20. package/dist-types/commands/CreateBucketCommand.d.ts +19 -18
  21. package/dist-types/commands/CreateBucketMetadataTableConfigurationCommand.d.ts +134 -0
  22. package/dist-types/commands/CreateMultipartUploadCommand.d.ts +4 -3
  23. package/dist-types/commands/CreateSessionCommand.d.ts +3 -2
  24. package/dist-types/commands/DeleteBucketCommand.d.ts +4 -3
  25. package/dist-types/commands/DeleteBucketEncryptionCommand.d.ts +1 -1
  26. package/dist-types/commands/DeleteBucketLifecycleCommand.d.ts +3 -2
  27. package/dist-types/commands/DeleteBucketMetadataTableConfigurationCommand.d.ts +95 -0
  28. package/dist-types/commands/DeleteBucketPolicyCommand.d.ts +4 -3
  29. package/dist-types/commands/DeleteObjectCommand.d.ts +53 -43
  30. package/dist-types/commands/DeleteObjectsCommand.d.ts +26 -25
  31. package/dist-types/commands/GetBucketEncryptionCommand.d.ts +1 -1
  32. package/dist-types/commands/GetBucketLifecycleConfigurationCommand.d.ts +3 -2
  33. package/dist-types/commands/GetBucketMetadataTableConfigurationCommand.d.ts +111 -0
  34. package/dist-types/commands/GetBucketPolicyCommand.d.ts +4 -3
  35. package/dist-types/commands/GetObjectAttributesCommand.d.ts +4 -3
  36. package/dist-types/commands/GetObjectCommand.d.ts +4 -3
  37. package/dist-types/commands/HeadBucketCommand.d.ts +4 -3
  38. package/dist-types/commands/HeadObjectCommand.d.ts +4 -3
  39. package/dist-types/commands/ListDirectoryBucketsCommand.d.ts +3 -2
  40. package/dist-types/commands/ListMultipartUploadsCommand.d.ts +4 -3
  41. package/dist-types/commands/ListObjectsV2Command.d.ts +4 -3
  42. package/dist-types/commands/ListPartsCommand.d.ts +4 -3
  43. package/dist-types/commands/PutBucketCorsCommand.d.ts +1 -1
  44. package/dist-types/commands/PutBucketEncryptionCommand.d.ts +5 -4
  45. package/dist-types/commands/PutBucketIntelligentTieringConfigurationCommand.d.ts +1 -1
  46. package/dist-types/commands/PutBucketInventoryConfigurationCommand.d.ts +1 -1
  47. package/dist-types/commands/PutBucketLifecycleConfigurationCommand.d.ts +8 -3
  48. package/dist-types/commands/PutBucketLoggingCommand.d.ts +1 -1
  49. package/dist-types/commands/PutBucketMetricsConfigurationCommand.d.ts +1 -1
  50. package/dist-types/commands/PutBucketPolicyCommand.d.ts +4 -3
  51. package/dist-types/commands/PutObjectCommand.d.ts +53 -52
  52. package/dist-types/commands/UploadPartCommand.d.ts +4 -3
  53. package/dist-types/commands/UploadPartCopyCommand.d.ts +4 -3
  54. package/dist-types/commands/index.d.ts +3 -0
  55. package/dist-types/models/models_0.d.ts +443 -411
  56. package/dist-types/models/models_1.d.ts +394 -18
  57. package/dist-types/protocols/Aws_restXml.d.ts +27 -0
  58. package/dist-types/ts3.4/S3.d.ts +69 -0
  59. package/dist-types/ts3.4/S3Client.d.ts +18 -0
  60. package/dist-types/ts3.4/commands/CreateBucketMetadataTableConfigurationCommand.d.ts +47 -0
  61. package/dist-types/ts3.4/commands/DeleteBucketMetadataTableConfigurationCommand.d.ts +47 -0
  62. package/dist-types/ts3.4/commands/GetBucketMetadataTableConfigurationCommand.d.ts +51 -0
  63. package/dist-types/ts3.4/commands/PutBucketCorsCommand.d.ts +1 -1
  64. package/dist-types/ts3.4/commands/PutBucketEncryptionCommand.d.ts +1 -1
  65. package/dist-types/ts3.4/commands/PutBucketIntelligentTieringConfigurationCommand.d.ts +1 -1
  66. package/dist-types/ts3.4/commands/PutBucketInventoryConfigurationCommand.d.ts +1 -1
  67. package/dist-types/ts3.4/commands/PutBucketLifecycleConfigurationCommand.d.ts +1 -1
  68. package/dist-types/ts3.4/commands/PutBucketLoggingCommand.d.ts +1 -1
  69. package/dist-types/ts3.4/commands/PutBucketMetricsConfigurationCommand.d.ts +1 -1
  70. package/dist-types/ts3.4/commands/index.d.ts +3 -0
  71. package/dist-types/ts3.4/models/models_0.d.ts +49 -66
  72. package/dist-types/ts3.4/models/models_1.d.ts +74 -0
  73. package/dist-types/ts3.4/protocols/Aws_restXml.d.ts +36 -0
  74. package/package.json +1 -1
@@ -23,6 +23,10 @@ import {
23
23
  CreateBucketCommandInput,
24
24
  CreateBucketCommandOutput,
25
25
  } from "../commands/CreateBucketCommand";
26
+ import {
27
+ CreateBucketMetadataTableConfigurationCommandInput,
28
+ CreateBucketMetadataTableConfigurationCommandOutput,
29
+ } from "../commands/CreateBucketMetadataTableConfigurationCommand";
26
30
  import {
27
31
  CreateMultipartUploadCommandInput,
28
32
  CreateMultipartUploadCommandOutput,
@@ -59,6 +63,10 @@ import {
59
63
  DeleteBucketLifecycleCommandInput,
60
64
  DeleteBucketLifecycleCommandOutput,
61
65
  } from "../commands/DeleteBucketLifecycleCommand";
66
+ import {
67
+ DeleteBucketMetadataTableConfigurationCommandInput,
68
+ DeleteBucketMetadataTableConfigurationCommandOutput,
69
+ } from "../commands/DeleteBucketMetadataTableConfigurationCommand";
62
70
  import {
63
71
  DeleteBucketMetricsConfigurationCommandInput,
64
72
  DeleteBucketMetricsConfigurationCommandOutput,
@@ -139,6 +147,10 @@ import {
139
147
  GetBucketLoggingCommandInput,
140
148
  GetBucketLoggingCommandOutput,
141
149
  } from "../commands/GetBucketLoggingCommand";
150
+ import {
151
+ GetBucketMetadataTableConfigurationCommandInput,
152
+ GetBucketMetadataTableConfigurationCommandOutput,
153
+ } from "../commands/GetBucketMetadataTableConfigurationCommand";
142
154
  import {
143
155
  GetBucketMetricsConfigurationCommandInput,
144
156
  GetBucketMetricsConfigurationCommandOutput,
@@ -403,6 +415,10 @@ export declare const se_CreateBucketCommand: (
403
415
  input: CreateBucketCommandInput,
404
416
  context: __SerdeContext
405
417
  ) => Promise<__HttpRequest>;
418
+ export declare const se_CreateBucketMetadataTableConfigurationCommand: (
419
+ input: CreateBucketMetadataTableConfigurationCommandInput,
420
+ context: __SerdeContext
421
+ ) => Promise<__HttpRequest>;
406
422
  export declare const se_CreateMultipartUploadCommand: (
407
423
  input: CreateMultipartUploadCommandInput,
408
424
  context: __SerdeContext
@@ -439,6 +455,10 @@ export declare const se_DeleteBucketLifecycleCommand: (
439
455
  input: DeleteBucketLifecycleCommandInput,
440
456
  context: __SerdeContext
441
457
  ) => Promise<__HttpRequest>;
458
+ export declare const se_DeleteBucketMetadataTableConfigurationCommand: (
459
+ input: DeleteBucketMetadataTableConfigurationCommandInput,
460
+ context: __SerdeContext
461
+ ) => Promise<__HttpRequest>;
442
462
  export declare const se_DeleteBucketMetricsConfigurationCommand: (
443
463
  input: DeleteBucketMetricsConfigurationCommandInput,
444
464
  context: __SerdeContext
@@ -519,6 +539,10 @@ export declare const se_GetBucketLoggingCommand: (
519
539
  input: GetBucketLoggingCommandInput,
520
540
  context: __SerdeContext
521
541
  ) => Promise<__HttpRequest>;
542
+ export declare const se_GetBucketMetadataTableConfigurationCommand: (
543
+ input: GetBucketMetadataTableConfigurationCommandInput,
544
+ context: __SerdeContext
545
+ ) => Promise<__HttpRequest>;
522
546
  export declare const se_GetBucketMetricsConfigurationCommand: (
523
547
  input: GetBucketMetricsConfigurationCommandInput,
524
548
  context: __SerdeContext
@@ -783,6 +807,10 @@ export declare const de_CreateBucketCommand: (
783
807
  output: __HttpResponse,
784
808
  context: __SerdeContext
785
809
  ) => Promise<CreateBucketCommandOutput>;
810
+ export declare const de_CreateBucketMetadataTableConfigurationCommand: (
811
+ output: __HttpResponse,
812
+ context: __SerdeContext
813
+ ) => Promise<CreateBucketMetadataTableConfigurationCommandOutput>;
786
814
  export declare const de_CreateMultipartUploadCommand: (
787
815
  output: __HttpResponse,
788
816
  context: __SerdeContext
@@ -819,6 +847,10 @@ export declare const de_DeleteBucketLifecycleCommand: (
819
847
  output: __HttpResponse,
820
848
  context: __SerdeContext
821
849
  ) => Promise<DeleteBucketLifecycleCommandOutput>;
850
+ export declare const de_DeleteBucketMetadataTableConfigurationCommand: (
851
+ output: __HttpResponse,
852
+ context: __SerdeContext
853
+ ) => Promise<DeleteBucketMetadataTableConfigurationCommandOutput>;
822
854
  export declare const de_DeleteBucketMetricsConfigurationCommand: (
823
855
  output: __HttpResponse,
824
856
  context: __SerdeContext
@@ -899,6 +931,10 @@ export declare const de_GetBucketLoggingCommand: (
899
931
  output: __HttpResponse,
900
932
  context: __SerdeContext
901
933
  ) => Promise<GetBucketLoggingCommandOutput>;
934
+ export declare const de_GetBucketMetadataTableConfigurationCommand: (
935
+ output: __HttpResponse,
936
+ context: __SerdeContext
937
+ ) => Promise<GetBucketMetadataTableConfigurationCommandOutput>;
902
938
  export declare const de_GetBucketMetricsConfigurationCommand: (
903
939
  output: __HttpResponse,
904
940
  context: __SerdeContext
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-s3",
3
3
  "description": "AWS SDK for JavaScript S3 Client for Node.js, Browser and React Native",
4
- "version": "3.701.0",
4
+ "version": "3.705.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-s3",