@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
@@ -15,6 +15,10 @@ import {
15
15
  CreateBucketCommandInput,
16
16
  CreateBucketCommandOutput,
17
17
  } from "./commands/CreateBucketCommand";
18
+ import {
19
+ CreateBucketMetadataTableConfigurationCommandInput,
20
+ CreateBucketMetadataTableConfigurationCommandOutput,
21
+ } from "./commands/CreateBucketMetadataTableConfigurationCommand";
18
22
  import {
19
23
  CreateMultipartUploadCommandInput,
20
24
  CreateMultipartUploadCommandOutput,
@@ -51,6 +55,10 @@ import {
51
55
  DeleteBucketLifecycleCommandInput,
52
56
  DeleteBucketLifecycleCommandOutput,
53
57
  } from "./commands/DeleteBucketLifecycleCommand";
58
+ import {
59
+ DeleteBucketMetadataTableConfigurationCommandInput,
60
+ DeleteBucketMetadataTableConfigurationCommandOutput,
61
+ } from "./commands/DeleteBucketMetadataTableConfigurationCommand";
54
62
  import {
55
63
  DeleteBucketMetricsConfigurationCommandInput,
56
64
  DeleteBucketMetricsConfigurationCommandOutput,
@@ -131,6 +139,10 @@ import {
131
139
  GetBucketLoggingCommandInput,
132
140
  GetBucketLoggingCommandOutput,
133
141
  } from "./commands/GetBucketLoggingCommand";
142
+ import {
143
+ GetBucketMetadataTableConfigurationCommandInput,
144
+ GetBucketMetadataTableConfigurationCommandOutput,
145
+ } from "./commands/GetBucketMetadataTableConfigurationCommand";
134
146
  import {
135
147
  GetBucketMetricsConfigurationCommandInput,
136
148
  GetBucketMetricsConfigurationCommandOutput,
@@ -433,6 +445,25 @@ export interface S3 {
433
445
  options: __HttpHandlerOptions,
434
446
  cb: (err: any, data?: CreateBucketCommandOutput) => void
435
447
  ): void;
448
+ createBucketMetadataTableConfiguration(
449
+ args: CreateBucketMetadataTableConfigurationCommandInput,
450
+ options?: __HttpHandlerOptions
451
+ ): Promise<CreateBucketMetadataTableConfigurationCommandOutput>;
452
+ createBucketMetadataTableConfiguration(
453
+ args: CreateBucketMetadataTableConfigurationCommandInput,
454
+ cb: (
455
+ err: any,
456
+ data?: CreateBucketMetadataTableConfigurationCommandOutput
457
+ ) => void
458
+ ): void;
459
+ createBucketMetadataTableConfiguration(
460
+ args: CreateBucketMetadataTableConfigurationCommandInput,
461
+ options: __HttpHandlerOptions,
462
+ cb: (
463
+ err: any,
464
+ data?: CreateBucketMetadataTableConfigurationCommandOutput
465
+ ) => void
466
+ ): void;
436
467
  createMultipartUpload(
437
468
  args: CreateMultipartUploadCommandInput,
438
469
  options?: __HttpHandlerOptions
@@ -568,6 +599,25 @@ export interface S3 {
568
599
  options: __HttpHandlerOptions,
569
600
  cb: (err: any, data?: DeleteBucketLifecycleCommandOutput) => void
570
601
  ): void;
602
+ deleteBucketMetadataTableConfiguration(
603
+ args: DeleteBucketMetadataTableConfigurationCommandInput,
604
+ options?: __HttpHandlerOptions
605
+ ): Promise<DeleteBucketMetadataTableConfigurationCommandOutput>;
606
+ deleteBucketMetadataTableConfiguration(
607
+ args: DeleteBucketMetadataTableConfigurationCommandInput,
608
+ cb: (
609
+ err: any,
610
+ data?: DeleteBucketMetadataTableConfigurationCommandOutput
611
+ ) => void
612
+ ): void;
613
+ deleteBucketMetadataTableConfiguration(
614
+ args: DeleteBucketMetadataTableConfigurationCommandInput,
615
+ options: __HttpHandlerOptions,
616
+ cb: (
617
+ err: any,
618
+ data?: DeleteBucketMetadataTableConfigurationCommandOutput
619
+ ) => void
620
+ ): void;
571
621
  deleteBucketMetricsConfiguration(
572
622
  args: DeleteBucketMetricsConfigurationCommandInput,
573
623
  options?: __HttpHandlerOptions
@@ -834,6 +884,25 @@ export interface S3 {
834
884
  options: __HttpHandlerOptions,
835
885
  cb: (err: any, data?: GetBucketLoggingCommandOutput) => void
836
886
  ): void;
887
+ getBucketMetadataTableConfiguration(
888
+ args: GetBucketMetadataTableConfigurationCommandInput,
889
+ options?: __HttpHandlerOptions
890
+ ): Promise<GetBucketMetadataTableConfigurationCommandOutput>;
891
+ getBucketMetadataTableConfiguration(
892
+ args: GetBucketMetadataTableConfigurationCommandInput,
893
+ cb: (
894
+ err: any,
895
+ data?: GetBucketMetadataTableConfigurationCommandOutput
896
+ ) => void
897
+ ): void;
898
+ getBucketMetadataTableConfiguration(
899
+ args: GetBucketMetadataTableConfigurationCommandInput,
900
+ options: __HttpHandlerOptions,
901
+ cb: (
902
+ err: any,
903
+ data?: GetBucketMetadataTableConfigurationCommandOutput
904
+ ) => void
905
+ ): void;
837
906
  getBucketMetricsConfiguration(
838
907
  args: GetBucketMetricsConfigurationCommandInput,
839
908
  options?: __HttpHandlerOptions
@@ -75,6 +75,10 @@ import {
75
75
  CreateBucketCommandInput,
76
76
  CreateBucketCommandOutput,
77
77
  } from "./commands/CreateBucketCommand";
78
+ import {
79
+ CreateBucketMetadataTableConfigurationCommandInput,
80
+ CreateBucketMetadataTableConfigurationCommandOutput,
81
+ } from "./commands/CreateBucketMetadataTableConfigurationCommand";
78
82
  import {
79
83
  CreateMultipartUploadCommandInput,
80
84
  CreateMultipartUploadCommandOutput,
@@ -111,6 +115,10 @@ import {
111
115
  DeleteBucketLifecycleCommandInput,
112
116
  DeleteBucketLifecycleCommandOutput,
113
117
  } from "./commands/DeleteBucketLifecycleCommand";
118
+ import {
119
+ DeleteBucketMetadataTableConfigurationCommandInput,
120
+ DeleteBucketMetadataTableConfigurationCommandOutput,
121
+ } from "./commands/DeleteBucketMetadataTableConfigurationCommand";
114
122
  import {
115
123
  DeleteBucketMetricsConfigurationCommandInput,
116
124
  DeleteBucketMetricsConfigurationCommandOutput,
@@ -191,6 +199,10 @@ import {
191
199
  GetBucketLoggingCommandInput,
192
200
  GetBucketLoggingCommandOutput,
193
201
  } from "./commands/GetBucketLoggingCommand";
202
+ import {
203
+ GetBucketMetadataTableConfigurationCommandInput,
204
+ GetBucketMetadataTableConfigurationCommandOutput,
205
+ } from "./commands/GetBucketMetadataTableConfigurationCommand";
194
206
  import {
195
207
  GetBucketMetricsConfigurationCommandInput,
196
208
  GetBucketMetricsConfigurationCommandOutput,
@@ -451,6 +463,7 @@ export type ServiceInputTypes =
451
463
  | CompleteMultipartUploadCommandInput
452
464
  | CopyObjectCommandInput
453
465
  | CreateBucketCommandInput
466
+ | CreateBucketMetadataTableConfigurationCommandInput
454
467
  | CreateMultipartUploadCommandInput
455
468
  | CreateSessionCommandInput
456
469
  | DeleteBucketAnalyticsConfigurationCommandInput
@@ -460,6 +473,7 @@ export type ServiceInputTypes =
460
473
  | DeleteBucketIntelligentTieringConfigurationCommandInput
461
474
  | DeleteBucketInventoryConfigurationCommandInput
462
475
  | DeleteBucketLifecycleCommandInput
476
+ | DeleteBucketMetadataTableConfigurationCommandInput
463
477
  | DeleteBucketMetricsConfigurationCommandInput
464
478
  | DeleteBucketOwnershipControlsCommandInput
465
479
  | DeleteBucketPolicyCommandInput
@@ -480,6 +494,7 @@ export type ServiceInputTypes =
480
494
  | GetBucketLifecycleConfigurationCommandInput
481
495
  | GetBucketLocationCommandInput
482
496
  | GetBucketLoggingCommandInput
497
+ | GetBucketMetadataTableConfigurationCommandInput
483
498
  | GetBucketMetricsConfigurationCommandInput
484
499
  | GetBucketNotificationConfigurationCommandInput
485
500
  | GetBucketOwnershipControlsCommandInput
@@ -547,6 +562,7 @@ export type ServiceOutputTypes =
547
562
  | CompleteMultipartUploadCommandOutput
548
563
  | CopyObjectCommandOutput
549
564
  | CreateBucketCommandOutput
565
+ | CreateBucketMetadataTableConfigurationCommandOutput
550
566
  | CreateMultipartUploadCommandOutput
551
567
  | CreateSessionCommandOutput
552
568
  | DeleteBucketAnalyticsConfigurationCommandOutput
@@ -556,6 +572,7 @@ export type ServiceOutputTypes =
556
572
  | DeleteBucketIntelligentTieringConfigurationCommandOutput
557
573
  | DeleteBucketInventoryConfigurationCommandOutput
558
574
  | DeleteBucketLifecycleCommandOutput
575
+ | DeleteBucketMetadataTableConfigurationCommandOutput
559
576
  | DeleteBucketMetricsConfigurationCommandOutput
560
577
  | DeleteBucketOwnershipControlsCommandOutput
561
578
  | DeleteBucketPolicyCommandOutput
@@ -576,6 +593,7 @@ export type ServiceOutputTypes =
576
593
  | GetBucketLifecycleConfigurationCommandOutput
577
594
  | GetBucketLocationCommandOutput
578
595
  | GetBucketLoggingCommandOutput
596
+ | GetBucketMetadataTableConfigurationCommandOutput
579
597
  | GetBucketMetricsConfigurationCommandOutput
580
598
  | GetBucketNotificationConfigurationCommandOutput
581
599
  | GetBucketOwnershipControlsCommandOutput
@@ -0,0 +1,47 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { CreateBucketMetadataTableConfigurationRequest } from "../models/models_0";
4
+ import {
5
+ S3ClientResolvedConfig,
6
+ ServiceInputTypes,
7
+ ServiceOutputTypes,
8
+ } from "../S3Client";
9
+ export { __MetadataBearer };
10
+ export { $Command };
11
+ export interface CreateBucketMetadataTableConfigurationCommandInput
12
+ extends CreateBucketMetadataTableConfigurationRequest {}
13
+ export interface CreateBucketMetadataTableConfigurationCommandOutput
14
+ extends __MetadataBearer {}
15
+ declare const CreateBucketMetadataTableConfigurationCommand_base: {
16
+ new (
17
+ input: CreateBucketMetadataTableConfigurationCommandInput
18
+ ): import("@smithy/smithy-client").CommandImpl<
19
+ CreateBucketMetadataTableConfigurationCommandInput,
20
+ CreateBucketMetadataTableConfigurationCommandOutput,
21
+ S3ClientResolvedConfig,
22
+ ServiceInputTypes,
23
+ ServiceOutputTypes
24
+ >;
25
+ new (
26
+ __0_0: CreateBucketMetadataTableConfigurationCommandInput
27
+ ): import("@smithy/smithy-client").CommandImpl<
28
+ CreateBucketMetadataTableConfigurationCommandInput,
29
+ CreateBucketMetadataTableConfigurationCommandOutput,
30
+ S3ClientResolvedConfig,
31
+ ServiceInputTypes,
32
+ ServiceOutputTypes
33
+ >;
34
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
35
+ };
36
+ export declare class CreateBucketMetadataTableConfigurationCommand extends CreateBucketMetadataTableConfigurationCommand_base {
37
+ protected static __types: {
38
+ api: {
39
+ input: CreateBucketMetadataTableConfigurationRequest;
40
+ output: {};
41
+ };
42
+ sdk: {
43
+ input: CreateBucketMetadataTableConfigurationCommandInput;
44
+ output: CreateBucketMetadataTableConfigurationCommandOutput;
45
+ };
46
+ };
47
+ }
@@ -0,0 +1,47 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { DeleteBucketMetadataTableConfigurationRequest } from "../models/models_0";
4
+ import {
5
+ S3ClientResolvedConfig,
6
+ ServiceInputTypes,
7
+ ServiceOutputTypes,
8
+ } from "../S3Client";
9
+ export { __MetadataBearer };
10
+ export { $Command };
11
+ export interface DeleteBucketMetadataTableConfigurationCommandInput
12
+ extends DeleteBucketMetadataTableConfigurationRequest {}
13
+ export interface DeleteBucketMetadataTableConfigurationCommandOutput
14
+ extends __MetadataBearer {}
15
+ declare const DeleteBucketMetadataTableConfigurationCommand_base: {
16
+ new (
17
+ input: DeleteBucketMetadataTableConfigurationCommandInput
18
+ ): import("@smithy/smithy-client").CommandImpl<
19
+ DeleteBucketMetadataTableConfigurationCommandInput,
20
+ DeleteBucketMetadataTableConfigurationCommandOutput,
21
+ S3ClientResolvedConfig,
22
+ ServiceInputTypes,
23
+ ServiceOutputTypes
24
+ >;
25
+ new (
26
+ __0_0: DeleteBucketMetadataTableConfigurationCommandInput
27
+ ): import("@smithy/smithy-client").CommandImpl<
28
+ DeleteBucketMetadataTableConfigurationCommandInput,
29
+ DeleteBucketMetadataTableConfigurationCommandOutput,
30
+ S3ClientResolvedConfig,
31
+ ServiceInputTypes,
32
+ ServiceOutputTypes
33
+ >;
34
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
35
+ };
36
+ export declare class DeleteBucketMetadataTableConfigurationCommand extends DeleteBucketMetadataTableConfigurationCommand_base {
37
+ protected static __types: {
38
+ api: {
39
+ input: DeleteBucketMetadataTableConfigurationRequest;
40
+ output: {};
41
+ };
42
+ sdk: {
43
+ input: DeleteBucketMetadataTableConfigurationCommandInput;
44
+ output: DeleteBucketMetadataTableConfigurationCommandOutput;
45
+ };
46
+ };
47
+ }
@@ -0,0 +1,51 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import {
4
+ GetBucketMetadataTableConfigurationOutput,
5
+ GetBucketMetadataTableConfigurationRequest,
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 GetBucketMetadataTableConfigurationCommandInput
15
+ extends GetBucketMetadataTableConfigurationRequest {}
16
+ export interface GetBucketMetadataTableConfigurationCommandOutput
17
+ extends GetBucketMetadataTableConfigurationOutput,
18
+ __MetadataBearer {}
19
+ declare const GetBucketMetadataTableConfigurationCommand_base: {
20
+ new (
21
+ input: GetBucketMetadataTableConfigurationCommandInput
22
+ ): import("@smithy/smithy-client").CommandImpl<
23
+ GetBucketMetadataTableConfigurationCommandInput,
24
+ GetBucketMetadataTableConfigurationCommandOutput,
25
+ S3ClientResolvedConfig,
26
+ ServiceInputTypes,
27
+ ServiceOutputTypes
28
+ >;
29
+ new (
30
+ __0_0: GetBucketMetadataTableConfigurationCommandInput
31
+ ): import("@smithy/smithy-client").CommandImpl<
32
+ GetBucketMetadataTableConfigurationCommandInput,
33
+ GetBucketMetadataTableConfigurationCommandOutput,
34
+ S3ClientResolvedConfig,
35
+ ServiceInputTypes,
36
+ ServiceOutputTypes
37
+ >;
38
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
39
+ };
40
+ export declare class GetBucketMetadataTableConfigurationCommand extends GetBucketMetadataTableConfigurationCommand_base {
41
+ protected static __types: {
42
+ api: {
43
+ input: GetBucketMetadataTableConfigurationRequest;
44
+ output: GetBucketMetadataTableConfigurationOutput;
45
+ };
46
+ sdk: {
47
+ input: GetBucketMetadataTableConfigurationCommandInput;
48
+ output: GetBucketMetadataTableConfigurationCommandOutput;
49
+ };
50
+ };
51
+ }
@@ -1,6 +1,6 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import { PutBucketCorsRequest } from "../models/models_0";
3
+ import { PutBucketCorsRequest } from "../models/models_1";
4
4
  import {
5
5
  S3ClientResolvedConfig,
6
6
  ServiceInputTypes,
@@ -1,6 +1,6 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import { PutBucketEncryptionRequest } from "../models/models_0";
3
+ import { PutBucketEncryptionRequest } from "../models/models_1";
4
4
  import {
5
5
  S3ClientResolvedConfig,
6
6
  ServiceInputTypes,
@@ -1,6 +1,6 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import { PutBucketIntelligentTieringConfigurationRequest } from "../models/models_0";
3
+ import { PutBucketIntelligentTieringConfigurationRequest } from "../models/models_1";
4
4
  import {
5
5
  S3ClientResolvedConfig,
6
6
  ServiceInputTypes,
@@ -1,6 +1,6 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import { PutBucketInventoryConfigurationRequest } from "../models/models_0";
3
+ import { PutBucketInventoryConfigurationRequest } from "../models/models_1";
4
4
  import {
5
5
  S3ClientResolvedConfig,
6
6
  ServiceInputTypes,
@@ -3,7 +3,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import {
4
4
  PutBucketLifecycleConfigurationOutput,
5
5
  PutBucketLifecycleConfigurationRequest,
6
- } from "../models/models_0";
6
+ } from "../models/models_1";
7
7
  import {
8
8
  S3ClientResolvedConfig,
9
9
  ServiceInputTypes,
@@ -1,6 +1,6 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import { PutBucketLoggingRequest } from "../models/models_0";
3
+ import { PutBucketLoggingRequest } from "../models/models_1";
4
4
  import {
5
5
  S3ClientResolvedConfig,
6
6
  ServiceInputTypes,
@@ -1,6 +1,6 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import { PutBucketMetricsConfigurationRequest } from "../models/models_0";
3
+ import { PutBucketMetricsConfigurationRequest } from "../models/models_1";
4
4
  import {
5
5
  S3ClientResolvedConfig,
6
6
  ServiceInputTypes,
@@ -2,6 +2,7 @@ export * from "./AbortMultipartUploadCommand";
2
2
  export * from "./CompleteMultipartUploadCommand";
3
3
  export * from "./CopyObjectCommand";
4
4
  export * from "./CreateBucketCommand";
5
+ export * from "./CreateBucketMetadataTableConfigurationCommand";
5
6
  export * from "./CreateMultipartUploadCommand";
6
7
  export * from "./CreateSessionCommand";
7
8
  export * from "./DeleteBucketAnalyticsConfigurationCommand";
@@ -11,6 +12,7 @@ export * from "./DeleteBucketEncryptionCommand";
11
12
  export * from "./DeleteBucketIntelligentTieringConfigurationCommand";
12
13
  export * from "./DeleteBucketInventoryConfigurationCommand";
13
14
  export * from "./DeleteBucketLifecycleCommand";
15
+ export * from "./DeleteBucketMetadataTableConfigurationCommand";
14
16
  export * from "./DeleteBucketMetricsConfigurationCommand";
15
17
  export * from "./DeleteBucketOwnershipControlsCommand";
16
18
  export * from "./DeleteBucketPolicyCommand";
@@ -31,6 +33,7 @@ export * from "./GetBucketInventoryConfigurationCommand";
31
33
  export * from "./GetBucketLifecycleConfigurationCommand";
32
34
  export * from "./GetBucketLocationCommand";
33
35
  export * from "./GetBucketLoggingCommand";
36
+ export * from "./GetBucketMetadataTableConfigurationCommand";
34
37
  export * from "./GetBucketMetricsConfigurationCommand";
35
38
  export * from "./GetBucketNotificationConfigurationCommand";
36
39
  export * from "./GetBucketOwnershipControlsCommand";
@@ -284,6 +284,7 @@ export type BucketCannedACL =
284
284
  (typeof BucketCannedACL)[keyof typeof BucketCannedACL];
285
285
  export declare const DataRedundancy: {
286
286
  readonly SingleAvailabilityZone: "SingleAvailabilityZone";
287
+ readonly SingleLocalZone: "SingleLocalZone";
287
288
  };
288
289
  export type DataRedundancy =
289
290
  (typeof DataRedundancy)[keyof typeof DataRedundancy];
@@ -297,6 +298,7 @@ export interface BucketInfo {
297
298
  }
298
299
  export declare const LocationType: {
299
300
  readonly AvailabilityZone: "AvailabilityZone";
301
+ readonly LocalZone: "LocalZone";
300
302
  };
301
303
  export type LocationType = (typeof LocationType)[keyof typeof LocationType];
302
304
  export interface LocationInfo {
@@ -359,6 +361,20 @@ export interface CreateBucketRequest {
359
361
  ObjectLockEnabledForBucket?: boolean | undefined;
360
362
  ObjectOwnership?: ObjectOwnership | undefined;
361
363
  }
364
+ export interface S3TablesDestination {
365
+ TableBucketArn: string | undefined;
366
+ TableName: string | undefined;
367
+ }
368
+ export interface MetadataTableConfiguration {
369
+ S3TablesDestination: S3TablesDestination | undefined;
370
+ }
371
+ export interface CreateBucketMetadataTableConfigurationRequest {
372
+ Bucket: string | undefined;
373
+ ContentMD5?: string | undefined;
374
+ ChecksumAlgorithm?: ChecksumAlgorithm | undefined;
375
+ MetadataTableConfiguration: MetadataTableConfiguration | undefined;
376
+ ExpectedBucketOwner?: string | undefined;
377
+ }
362
378
  export interface CreateMultipartUploadOutput {
363
379
  AbortDate?: Date | undefined;
364
380
  AbortRuleId?: string | undefined;
@@ -467,6 +483,10 @@ export interface DeleteBucketLifecycleRequest {
467
483
  Bucket: string | undefined;
468
484
  ExpectedBucketOwner?: string | undefined;
469
485
  }
486
+ export interface DeleteBucketMetadataTableConfigurationRequest {
487
+ Bucket: string | undefined;
488
+ ExpectedBucketOwner?: string | undefined;
489
+ }
470
490
  export interface DeleteBucketMetricsConfigurationRequest {
471
491
  Bucket: string | undefined;
472
492
  Id: string | undefined;
@@ -935,6 +955,35 @@ export interface GetBucketLoggingRequest {
935
955
  Bucket: string | undefined;
936
956
  ExpectedBucketOwner?: string | undefined;
937
957
  }
958
+ export interface ErrorDetails {
959
+ ErrorCode?: string | undefined;
960
+ ErrorMessage?: string | undefined;
961
+ }
962
+ export interface S3TablesDestinationResult {
963
+ TableBucketArn: string | undefined;
964
+ TableName: string | undefined;
965
+ TableArn: string | undefined;
966
+ TableNamespace: string | undefined;
967
+ }
968
+ export interface MetadataTableConfigurationResult {
969
+ S3TablesDestinationResult: S3TablesDestinationResult | undefined;
970
+ }
971
+ export interface GetBucketMetadataTableConfigurationResult {
972
+ MetadataTableConfigurationResult:
973
+ | MetadataTableConfigurationResult
974
+ | undefined;
975
+ Status: string | undefined;
976
+ Error?: ErrorDetails | undefined;
977
+ }
978
+ export interface GetBucketMetadataTableConfigurationOutput {
979
+ GetBucketMetadataTableConfigurationResult?:
980
+ | GetBucketMetadataTableConfigurationResult
981
+ | undefined;
982
+ }
983
+ export interface GetBucketMetadataTableConfigurationRequest {
984
+ Bucket: string | undefined;
985
+ ExpectedBucketOwner?: string | undefined;
986
+ }
938
987
  export interface MetricsAndOperator {
939
988
  Prefix?: string | undefined;
940
989
  Tags?: Tag[] | undefined;
@@ -1944,66 +1993,6 @@ export interface PutBucketAnalyticsConfigurationRequest {
1944
1993
  export interface CORSConfiguration {
1945
1994
  CORSRules: CORSRule[] | undefined;
1946
1995
  }
1947
- export interface PutBucketCorsRequest {
1948
- Bucket: string | undefined;
1949
- CORSConfiguration: CORSConfiguration | undefined;
1950
- ContentMD5?: string | undefined;
1951
- ChecksumAlgorithm?: ChecksumAlgorithm | undefined;
1952
- ExpectedBucketOwner?: string | undefined;
1953
- }
1954
- export interface PutBucketEncryptionRequest {
1955
- Bucket: string | undefined;
1956
- ContentMD5?: string | undefined;
1957
- ChecksumAlgorithm?: ChecksumAlgorithm | undefined;
1958
- ServerSideEncryptionConfiguration:
1959
- | ServerSideEncryptionConfiguration
1960
- | undefined;
1961
- ExpectedBucketOwner?: string | undefined;
1962
- }
1963
- export interface PutBucketIntelligentTieringConfigurationRequest {
1964
- Bucket: string | undefined;
1965
- Id: string | undefined;
1966
- IntelligentTieringConfiguration: IntelligentTieringConfiguration | undefined;
1967
- }
1968
- export interface PutBucketInventoryConfigurationRequest {
1969
- Bucket: string | undefined;
1970
- Id: string | undefined;
1971
- InventoryConfiguration: InventoryConfiguration | undefined;
1972
- ExpectedBucketOwner?: string | undefined;
1973
- }
1974
- export interface PutBucketLifecycleConfigurationOutput {
1975
- TransitionDefaultMinimumObjectSize?:
1976
- | TransitionDefaultMinimumObjectSize
1977
- | undefined;
1978
- }
1979
- export interface BucketLifecycleConfiguration {
1980
- Rules: LifecycleRule[] | undefined;
1981
- }
1982
- export interface PutBucketLifecycleConfigurationRequest {
1983
- Bucket: string | undefined;
1984
- ChecksumAlgorithm?: ChecksumAlgorithm | undefined;
1985
- LifecycleConfiguration?: BucketLifecycleConfiguration | undefined;
1986
- ExpectedBucketOwner?: string | undefined;
1987
- TransitionDefaultMinimumObjectSize?:
1988
- | TransitionDefaultMinimumObjectSize
1989
- | undefined;
1990
- }
1991
- export interface BucketLoggingStatus {
1992
- LoggingEnabled?: LoggingEnabled | undefined;
1993
- }
1994
- export interface PutBucketLoggingRequest {
1995
- Bucket: string | undefined;
1996
- BucketLoggingStatus: BucketLoggingStatus | undefined;
1997
- ContentMD5?: string | undefined;
1998
- ChecksumAlgorithm?: ChecksumAlgorithm | undefined;
1999
- ExpectedBucketOwner?: string | undefined;
2000
- }
2001
- export interface PutBucketMetricsConfigurationRequest {
2002
- Bucket: string | undefined;
2003
- Id: string | undefined;
2004
- MetricsConfiguration: MetricsConfiguration | undefined;
2005
- ExpectedBucketOwner?: string | undefined;
2006
- }
2007
1996
  export declare const CompleteMultipartUploadOutputFilterSensitiveLog: (
2008
1997
  obj: CompleteMultipartUploadOutput
2009
1998
  ) => any;
@@ -2083,9 +2072,3 @@ export declare const ListBucketInventoryConfigurationsOutputFilterSensitiveLog:
2083
2072
  export declare const ListPartsRequestFilterSensitiveLog: (
2084
2073
  obj: ListPartsRequest
2085
2074
  ) => any;
2086
- export declare const PutBucketEncryptionRequestFilterSensitiveLog: (
2087
- obj: PutBucketEncryptionRequest
2088
- ) => any;
2089
- export declare const PutBucketInventoryConfigurationRequestFilterSensitiveLog: (
2090
- obj: PutBucketInventoryConfigurationRequest
2091
- ) => any;
@@ -4,9 +4,15 @@ import {
4
4
  AccessControlPolicy,
5
5
  BucketVersioningStatus,
6
6
  ChecksumAlgorithm,
7
+ CORSConfiguration,
7
8
  ErrorDocument,
8
9
  Grant,
9
10
  IndexDocument,
11
+ IntelligentTieringConfiguration,
12
+ InventoryConfiguration,
13
+ LifecycleRule,
14
+ LoggingEnabled,
15
+ MetricsConfiguration,
10
16
  NotificationConfiguration,
11
17
  ObjectCannedACL,
12
18
  ObjectLockConfiguration,
@@ -24,10 +30,72 @@ import {
24
30
  RequestPayer,
25
31
  RoutingRule,
26
32
  ServerSideEncryption,
33
+ ServerSideEncryptionConfiguration,
27
34
  StorageClass,
28
35
  Tag,
36
+ TransitionDefaultMinimumObjectSize,
29
37
  } from "./models_0";
30
38
  import { S3ServiceException as __BaseException } from "./S3ServiceException";
39
+ export interface PutBucketCorsRequest {
40
+ Bucket: string | undefined;
41
+ CORSConfiguration: CORSConfiguration | undefined;
42
+ ContentMD5?: string | undefined;
43
+ ChecksumAlgorithm?: ChecksumAlgorithm | undefined;
44
+ ExpectedBucketOwner?: string | undefined;
45
+ }
46
+ export interface PutBucketEncryptionRequest {
47
+ Bucket: string | undefined;
48
+ ContentMD5?: string | undefined;
49
+ ChecksumAlgorithm?: ChecksumAlgorithm | undefined;
50
+ ServerSideEncryptionConfiguration:
51
+ | ServerSideEncryptionConfiguration
52
+ | undefined;
53
+ ExpectedBucketOwner?: string | undefined;
54
+ }
55
+ export interface PutBucketIntelligentTieringConfigurationRequest {
56
+ Bucket: string | undefined;
57
+ Id: string | undefined;
58
+ IntelligentTieringConfiguration: IntelligentTieringConfiguration | undefined;
59
+ }
60
+ export interface PutBucketInventoryConfigurationRequest {
61
+ Bucket: string | undefined;
62
+ Id: string | undefined;
63
+ InventoryConfiguration: InventoryConfiguration | undefined;
64
+ ExpectedBucketOwner?: string | undefined;
65
+ }
66
+ export interface PutBucketLifecycleConfigurationOutput {
67
+ TransitionDefaultMinimumObjectSize?:
68
+ | TransitionDefaultMinimumObjectSize
69
+ | undefined;
70
+ }
71
+ export interface BucketLifecycleConfiguration {
72
+ Rules: LifecycleRule[] | undefined;
73
+ }
74
+ export interface PutBucketLifecycleConfigurationRequest {
75
+ Bucket: string | undefined;
76
+ ChecksumAlgorithm?: ChecksumAlgorithm | undefined;
77
+ LifecycleConfiguration?: BucketLifecycleConfiguration | undefined;
78
+ ExpectedBucketOwner?: string | undefined;
79
+ TransitionDefaultMinimumObjectSize?:
80
+ | TransitionDefaultMinimumObjectSize
81
+ | undefined;
82
+ }
83
+ export interface BucketLoggingStatus {
84
+ LoggingEnabled?: LoggingEnabled | undefined;
85
+ }
86
+ export interface PutBucketLoggingRequest {
87
+ Bucket: string | undefined;
88
+ BucketLoggingStatus: BucketLoggingStatus | undefined;
89
+ ContentMD5?: string | undefined;
90
+ ChecksumAlgorithm?: ChecksumAlgorithm | undefined;
91
+ ExpectedBucketOwner?: string | undefined;
92
+ }
93
+ export interface PutBucketMetricsConfigurationRequest {
94
+ Bucket: string | undefined;
95
+ Id: string | undefined;
96
+ MetricsConfiguration: MetricsConfiguration | undefined;
97
+ ExpectedBucketOwner?: string | undefined;
98
+ }
31
99
  export interface PutBucketNotificationConfigurationRequest {
32
100
  Bucket: string | undefined;
33
101
  NotificationConfiguration: NotificationConfiguration | undefined;
@@ -625,6 +693,12 @@ export interface WriteGetObjectResponseRequest {
625
693
  VersionId?: string | undefined;
626
694
  BucketKeyEnabled?: boolean | undefined;
627
695
  }
696
+ export declare const PutBucketEncryptionRequestFilterSensitiveLog: (
697
+ obj: PutBucketEncryptionRequest
698
+ ) => any;
699
+ export declare const PutBucketInventoryConfigurationRequestFilterSensitiveLog: (
700
+ obj: PutBucketInventoryConfigurationRequest
701
+ ) => any;
628
702
  export declare const PutObjectOutputFilterSensitiveLog: (
629
703
  obj: PutObjectOutput
630
704
  ) => any;