@aws-sdk/client-s3-control 3.288.0 → 3.290.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 (95) hide show
  1. package/README.md +24 -0
  2. package/dist-cjs/S3Control.js +45 -0
  3. package/dist-cjs/commands/DeleteBucketReplicationCommand.js +52 -0
  4. package/dist-cjs/commands/GetBucketReplicationCommand.js +52 -0
  5. package/dist-cjs/commands/PutBucketReplicationCommand.js +54 -0
  6. package/dist-cjs/commands/index.js +3 -0
  7. package/dist-cjs/endpoint/ruleset.js +2 -2
  8. package/dist-cjs/models/models_0.js +133 -5
  9. package/dist-cjs/protocols/Aws_restXml.js +654 -3
  10. package/dist-es/S3Control.js +45 -0
  11. package/dist-es/commands/DeleteBucketReplicationCommand.js +48 -0
  12. package/dist-es/commands/GetBucketReplicationCommand.js +48 -0
  13. package/dist-es/commands/PutBucketReplicationCommand.js +50 -0
  14. package/dist-es/commands/index.js +3 -0
  15. package/dist-es/endpoint/ruleset.js +2 -2
  16. package/dist-es/models/models_0.js +108 -0
  17. package/dist-es/protocols/Aws_restXml.js +645 -0
  18. package/dist-types/S3Control.d.ts +222 -29
  19. package/dist-types/S3ControlClient.d.ts +5 -2
  20. package/dist-types/commands/CreateAccessPointCommand.d.ts +1 -0
  21. package/dist-types/commands/CreateAccessPointForObjectLambdaCommand.d.ts +1 -0
  22. package/dist-types/commands/CreateBucketCommand.d.ts +9 -0
  23. package/dist-types/commands/CreateJobCommand.d.ts +13 -0
  24. package/dist-types/commands/CreateMultiRegionAccessPointCommand.d.ts +1 -0
  25. package/dist-types/commands/DeleteAccessPointCommand.d.ts +1 -0
  26. package/dist-types/commands/DeleteAccessPointForObjectLambdaCommand.d.ts +1 -0
  27. package/dist-types/commands/DeleteAccessPointPolicyCommand.d.ts +1 -0
  28. package/dist-types/commands/DeleteAccessPointPolicyForObjectLambdaCommand.d.ts +1 -0
  29. package/dist-types/commands/DeleteBucketCommand.d.ts +1 -0
  30. package/dist-types/commands/DeleteBucketLifecycleConfigurationCommand.d.ts +1 -0
  31. package/dist-types/commands/DeleteBucketPolicyCommand.d.ts +1 -0
  32. package/dist-types/commands/DeleteBucketReplicationCommand.d.ts +78 -0
  33. package/dist-types/commands/DeleteBucketTaggingCommand.d.ts +1 -0
  34. package/dist-types/commands/DeleteJobTaggingCommand.d.ts +14 -3
  35. package/dist-types/commands/DeleteMultiRegionAccessPointCommand.d.ts +1 -0
  36. package/dist-types/commands/DeletePublicAccessBlockCommand.d.ts +1 -0
  37. package/dist-types/commands/DeleteStorageLensConfigurationCommand.d.ts +1 -0
  38. package/dist-types/commands/DeleteStorageLensConfigurationTaggingCommand.d.ts +1 -0
  39. package/dist-types/commands/DescribeJobCommand.d.ts +13 -0
  40. package/dist-types/commands/DescribeMultiRegionAccessPointOperationCommand.d.ts +1 -0
  41. package/dist-types/commands/GetAccessPointCommand.d.ts +1 -0
  42. package/dist-types/commands/GetAccessPointConfigurationForObjectLambdaCommand.d.ts +1 -0
  43. package/dist-types/commands/GetAccessPointForObjectLambdaCommand.d.ts +1 -0
  44. package/dist-types/commands/GetAccessPointPolicyCommand.d.ts +1 -0
  45. package/dist-types/commands/GetAccessPointPolicyForObjectLambdaCommand.d.ts +1 -0
  46. package/dist-types/commands/GetAccessPointPolicyStatusCommand.d.ts +1 -0
  47. package/dist-types/commands/GetAccessPointPolicyStatusForObjectLambdaCommand.d.ts +1 -0
  48. package/dist-types/commands/GetBucketCommand.d.ts +1 -0
  49. package/dist-types/commands/GetBucketLifecycleConfigurationCommand.d.ts +1 -0
  50. package/dist-types/commands/GetBucketPolicyCommand.d.ts +1 -0
  51. package/dist-types/commands/GetBucketReplicationCommand.d.ts +85 -0
  52. package/dist-types/commands/GetBucketTaggingCommand.d.ts +1 -0
  53. package/dist-types/commands/GetBucketVersioningCommand.d.ts +12 -6
  54. package/dist-types/commands/GetJobTaggingCommand.d.ts +14 -3
  55. package/dist-types/commands/GetMultiRegionAccessPointCommand.d.ts +1 -0
  56. package/dist-types/commands/GetMultiRegionAccessPointPolicyCommand.d.ts +1 -0
  57. package/dist-types/commands/GetMultiRegionAccessPointPolicyStatusCommand.d.ts +1 -0
  58. package/dist-types/commands/GetMultiRegionAccessPointRoutesCommand.d.ts +1 -0
  59. package/dist-types/commands/GetPublicAccessBlockCommand.d.ts +6 -0
  60. package/dist-types/commands/GetStorageLensConfigurationCommand.d.ts +2 -1
  61. package/dist-types/commands/GetStorageLensConfigurationTaggingCommand.d.ts +1 -0
  62. package/dist-types/commands/ListAccessPointsCommand.d.ts +9 -4
  63. package/dist-types/commands/ListAccessPointsForObjectLambdaCommand.d.ts +1 -0
  64. package/dist-types/commands/ListJobsCommand.d.ts +10 -0
  65. package/dist-types/commands/ListMultiRegionAccessPointsCommand.d.ts +1 -0
  66. package/dist-types/commands/ListRegionalBucketsCommand.d.ts +1 -0
  67. package/dist-types/commands/ListStorageLensConfigurationsCommand.d.ts +1 -0
  68. package/dist-types/commands/PutAccessPointConfigurationForObjectLambdaCommand.d.ts +1 -0
  69. package/dist-types/commands/PutAccessPointPolicyCommand.d.ts +1 -0
  70. package/dist-types/commands/PutAccessPointPolicyForObjectLambdaCommand.d.ts +1 -0
  71. package/dist-types/commands/PutBucketLifecycleConfigurationCommand.d.ts +1 -0
  72. package/dist-types/commands/PutBucketPolicyCommand.d.ts +1 -0
  73. package/dist-types/commands/PutBucketReplicationCommand.d.ts +122 -0
  74. package/dist-types/commands/PutBucketTaggingCommand.d.ts +1 -0
  75. package/dist-types/commands/PutBucketVersioningCommand.d.ts +16 -9
  76. package/dist-types/commands/PutJobTaggingCommand.d.ts +17 -2
  77. package/dist-types/commands/PutMultiRegionAccessPointPolicyCommand.d.ts +1 -0
  78. package/dist-types/commands/PutPublicAccessBlockCommand.d.ts +1 -0
  79. package/dist-types/commands/PutStorageLensConfigurationCommand.d.ts +2 -1
  80. package/dist-types/commands/PutStorageLensConfigurationTaggingCommand.d.ts +1 -0
  81. package/dist-types/commands/SubmitMultiRegionAccessPointRoutesCommand.d.ts +1 -0
  82. package/dist-types/commands/UpdateJobPriorityCommand.d.ts +13 -0
  83. package/dist-types/commands/UpdateJobStatusCommand.d.ts +16 -0
  84. package/dist-types/commands/index.d.ts +3 -0
  85. package/dist-types/models/models_0.d.ts +680 -73
  86. package/dist-types/protocols/Aws_restXml.d.ts +9 -0
  87. package/dist-types/ts3.4/S3Control.d.ts +51 -0
  88. package/dist-types/ts3.4/S3ControlClient.d.ts +18 -0
  89. package/dist-types/ts3.4/commands/DeleteBucketReplicationCommand.d.ts +37 -0
  90. package/dist-types/ts3.4/commands/GetBucketReplicationCommand.d.ts +41 -0
  91. package/dist-types/ts3.4/commands/PutBucketReplicationCommand.d.ts +36 -0
  92. package/dist-types/ts3.4/commands/index.d.ts +3 -0
  93. package/dist-types/ts3.4/models/models_0.d.ts +180 -0
  94. package/dist-types/ts3.4/protocols/Aws_restXml.d.ts +36 -0
  95. package/package.json +34 -34
@@ -12,6 +12,7 @@ import { DeleteAccessPointPolicyForObjectLambdaCommandInput, DeleteAccessPointPo
12
12
  import { DeleteBucketCommandInput, DeleteBucketCommandOutput } from "../commands/DeleteBucketCommand";
13
13
  import { DeleteBucketLifecycleConfigurationCommandInput, DeleteBucketLifecycleConfigurationCommandOutput } from "../commands/DeleteBucketLifecycleConfigurationCommand";
14
14
  import { DeleteBucketPolicyCommandInput, DeleteBucketPolicyCommandOutput } from "../commands/DeleteBucketPolicyCommand";
15
+ import { DeleteBucketReplicationCommandInput, DeleteBucketReplicationCommandOutput } from "../commands/DeleteBucketReplicationCommand";
15
16
  import { DeleteBucketTaggingCommandInput, DeleteBucketTaggingCommandOutput } from "../commands/DeleteBucketTaggingCommand";
16
17
  import { DeleteJobTaggingCommandInput, DeleteJobTaggingCommandOutput } from "../commands/DeleteJobTaggingCommand";
17
18
  import { DeleteMultiRegionAccessPointCommandInput, DeleteMultiRegionAccessPointCommandOutput } from "../commands/DeleteMultiRegionAccessPointCommand";
@@ -30,6 +31,7 @@ import { GetAccessPointPolicyStatusForObjectLambdaCommandInput, GetAccessPointPo
30
31
  import { GetBucketCommandInput, GetBucketCommandOutput } from "../commands/GetBucketCommand";
31
32
  import { GetBucketLifecycleConfigurationCommandInput, GetBucketLifecycleConfigurationCommandOutput } from "../commands/GetBucketLifecycleConfigurationCommand";
32
33
  import { GetBucketPolicyCommandInput, GetBucketPolicyCommandOutput } from "../commands/GetBucketPolicyCommand";
34
+ import { GetBucketReplicationCommandInput, GetBucketReplicationCommandOutput } from "../commands/GetBucketReplicationCommand";
33
35
  import { GetBucketTaggingCommandInput, GetBucketTaggingCommandOutput } from "../commands/GetBucketTaggingCommand";
34
36
  import { GetBucketVersioningCommandInput, GetBucketVersioningCommandOutput } from "../commands/GetBucketVersioningCommand";
35
37
  import { GetJobTaggingCommandInput, GetJobTaggingCommandOutput } from "../commands/GetJobTaggingCommand";
@@ -51,6 +53,7 @@ import { PutAccessPointPolicyCommandInput, PutAccessPointPolicyCommandOutput } f
51
53
  import { PutAccessPointPolicyForObjectLambdaCommandInput, PutAccessPointPolicyForObjectLambdaCommandOutput } from "../commands/PutAccessPointPolicyForObjectLambdaCommand";
52
54
  import { PutBucketLifecycleConfigurationCommandInput, PutBucketLifecycleConfigurationCommandOutput } from "../commands/PutBucketLifecycleConfigurationCommand";
53
55
  import { PutBucketPolicyCommandInput, PutBucketPolicyCommandOutput } from "../commands/PutBucketPolicyCommand";
56
+ import { PutBucketReplicationCommandInput, PutBucketReplicationCommandOutput } from "../commands/PutBucketReplicationCommand";
54
57
  import { PutBucketTaggingCommandInput, PutBucketTaggingCommandOutput } from "../commands/PutBucketTaggingCommand";
55
58
  import { PutBucketVersioningCommandInput, PutBucketVersioningCommandOutput } from "../commands/PutBucketVersioningCommand";
56
59
  import { PutJobTaggingCommandInput, PutJobTaggingCommandOutput } from "../commands/PutJobTaggingCommand";
@@ -73,6 +76,7 @@ export declare const serializeAws_restXmlDeleteAccessPointPolicyForObjectLambdaC
73
76
  export declare const serializeAws_restXmlDeleteBucketCommand: (input: DeleteBucketCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
74
77
  export declare const serializeAws_restXmlDeleteBucketLifecycleConfigurationCommand: (input: DeleteBucketLifecycleConfigurationCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
75
78
  export declare const serializeAws_restXmlDeleteBucketPolicyCommand: (input: DeleteBucketPolicyCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
79
+ export declare const serializeAws_restXmlDeleteBucketReplicationCommand: (input: DeleteBucketReplicationCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
76
80
  export declare const serializeAws_restXmlDeleteBucketTaggingCommand: (input: DeleteBucketTaggingCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
77
81
  export declare const serializeAws_restXmlDeleteJobTaggingCommand: (input: DeleteJobTaggingCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
78
82
  export declare const serializeAws_restXmlDeleteMultiRegionAccessPointCommand: (input: DeleteMultiRegionAccessPointCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
@@ -91,6 +95,7 @@ export declare const serializeAws_restXmlGetAccessPointPolicyStatusForObjectLamb
91
95
  export declare const serializeAws_restXmlGetBucketCommand: (input: GetBucketCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
92
96
  export declare const serializeAws_restXmlGetBucketLifecycleConfigurationCommand: (input: GetBucketLifecycleConfigurationCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
93
97
  export declare const serializeAws_restXmlGetBucketPolicyCommand: (input: GetBucketPolicyCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
98
+ export declare const serializeAws_restXmlGetBucketReplicationCommand: (input: GetBucketReplicationCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
94
99
  export declare const serializeAws_restXmlGetBucketTaggingCommand: (input: GetBucketTaggingCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
95
100
  export declare const serializeAws_restXmlGetBucketVersioningCommand: (input: GetBucketVersioningCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
96
101
  export declare const serializeAws_restXmlGetJobTaggingCommand: (input: GetJobTaggingCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
@@ -112,6 +117,7 @@ export declare const serializeAws_restXmlPutAccessPointPolicyCommand: (input: Pu
112
117
  export declare const serializeAws_restXmlPutAccessPointPolicyForObjectLambdaCommand: (input: PutAccessPointPolicyForObjectLambdaCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
113
118
  export declare const serializeAws_restXmlPutBucketLifecycleConfigurationCommand: (input: PutBucketLifecycleConfigurationCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
114
119
  export declare const serializeAws_restXmlPutBucketPolicyCommand: (input: PutBucketPolicyCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
120
+ export declare const serializeAws_restXmlPutBucketReplicationCommand: (input: PutBucketReplicationCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
115
121
  export declare const serializeAws_restXmlPutBucketTaggingCommand: (input: PutBucketTaggingCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
116
122
  export declare const serializeAws_restXmlPutBucketVersioningCommand: (input: PutBucketVersioningCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
117
123
  export declare const serializeAws_restXmlPutJobTaggingCommand: (input: PutJobTaggingCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
@@ -134,6 +140,7 @@ export declare const deserializeAws_restXmlDeleteAccessPointPolicyForObjectLambd
134
140
  export declare const deserializeAws_restXmlDeleteBucketCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DeleteBucketCommandOutput>;
135
141
  export declare const deserializeAws_restXmlDeleteBucketLifecycleConfigurationCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DeleteBucketLifecycleConfigurationCommandOutput>;
136
142
  export declare const deserializeAws_restXmlDeleteBucketPolicyCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DeleteBucketPolicyCommandOutput>;
143
+ export declare const deserializeAws_restXmlDeleteBucketReplicationCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DeleteBucketReplicationCommandOutput>;
137
144
  export declare const deserializeAws_restXmlDeleteBucketTaggingCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DeleteBucketTaggingCommandOutput>;
138
145
  export declare const deserializeAws_restXmlDeleteJobTaggingCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DeleteJobTaggingCommandOutput>;
139
146
  export declare const deserializeAws_restXmlDeleteMultiRegionAccessPointCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DeleteMultiRegionAccessPointCommandOutput>;
@@ -152,6 +159,7 @@ export declare const deserializeAws_restXmlGetAccessPointPolicyStatusForObjectLa
152
159
  export declare const deserializeAws_restXmlGetBucketCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetBucketCommandOutput>;
153
160
  export declare const deserializeAws_restXmlGetBucketLifecycleConfigurationCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetBucketLifecycleConfigurationCommandOutput>;
154
161
  export declare const deserializeAws_restXmlGetBucketPolicyCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetBucketPolicyCommandOutput>;
162
+ export declare const deserializeAws_restXmlGetBucketReplicationCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetBucketReplicationCommandOutput>;
155
163
  export declare const deserializeAws_restXmlGetBucketTaggingCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetBucketTaggingCommandOutput>;
156
164
  export declare const deserializeAws_restXmlGetBucketVersioningCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetBucketVersioningCommandOutput>;
157
165
  export declare const deserializeAws_restXmlGetJobTaggingCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetJobTaggingCommandOutput>;
@@ -173,6 +181,7 @@ export declare const deserializeAws_restXmlPutAccessPointPolicyCommand: (output:
173
181
  export declare const deserializeAws_restXmlPutAccessPointPolicyForObjectLambdaCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<PutAccessPointPolicyForObjectLambdaCommandOutput>;
174
182
  export declare const deserializeAws_restXmlPutBucketLifecycleConfigurationCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<PutBucketLifecycleConfigurationCommandOutput>;
175
183
  export declare const deserializeAws_restXmlPutBucketPolicyCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<PutBucketPolicyCommandOutput>;
184
+ export declare const deserializeAws_restXmlPutBucketReplicationCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<PutBucketReplicationCommandOutput>;
176
185
  export declare const deserializeAws_restXmlPutBucketTaggingCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<PutBucketTaggingCommandOutput>;
177
186
  export declare const deserializeAws_restXmlPutBucketVersioningCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<PutBucketVersioningCommandOutput>;
178
187
  export declare const deserializeAws_restXmlPutJobTaggingCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<PutJobTaggingCommandOutput>;
@@ -47,6 +47,10 @@ import {
47
47
  DeleteBucketPolicyCommandInput,
48
48
  DeleteBucketPolicyCommandOutput,
49
49
  } from "./commands/DeleteBucketPolicyCommand";
50
+ import {
51
+ DeleteBucketReplicationCommandInput,
52
+ DeleteBucketReplicationCommandOutput,
53
+ } from "./commands/DeleteBucketReplicationCommand";
50
54
  import {
51
55
  DeleteBucketTaggingCommandInput,
52
56
  DeleteBucketTaggingCommandOutput,
@@ -119,6 +123,10 @@ import {
119
123
  GetBucketPolicyCommandInput,
120
124
  GetBucketPolicyCommandOutput,
121
125
  } from "./commands/GetBucketPolicyCommand";
126
+ import {
127
+ GetBucketReplicationCommandInput,
128
+ GetBucketReplicationCommandOutput,
129
+ } from "./commands/GetBucketReplicationCommand";
122
130
  import {
123
131
  GetBucketTaggingCommandInput,
124
132
  GetBucketTaggingCommandOutput,
@@ -203,6 +211,10 @@ import {
203
211
  PutBucketPolicyCommandInput,
204
212
  PutBucketPolicyCommandOutput,
205
213
  } from "./commands/PutBucketPolicyCommand";
214
+ import {
215
+ PutBucketReplicationCommandInput,
216
+ PutBucketReplicationCommandOutput,
217
+ } from "./commands/PutBucketReplicationCommand";
206
218
  import {
207
219
  PutBucketTaggingCommandInput,
208
220
  PutBucketTaggingCommandOutput,
@@ -413,6 +425,19 @@ export declare class S3Control extends S3ControlClient {
413
425
  options: __HttpHandlerOptions,
414
426
  cb: (err: any, data?: DeleteBucketPolicyCommandOutput) => void
415
427
  ): void;
428
+ deleteBucketReplication(
429
+ args: DeleteBucketReplicationCommandInput,
430
+ options?: __HttpHandlerOptions
431
+ ): Promise<DeleteBucketReplicationCommandOutput>;
432
+ deleteBucketReplication(
433
+ args: DeleteBucketReplicationCommandInput,
434
+ cb: (err: any, data?: DeleteBucketReplicationCommandOutput) => void
435
+ ): void;
436
+ deleteBucketReplication(
437
+ args: DeleteBucketReplicationCommandInput,
438
+ options: __HttpHandlerOptions,
439
+ cb: (err: any, data?: DeleteBucketReplicationCommandOutput) => void
440
+ ): void;
416
441
  deleteBucketTagging(
417
442
  args: DeleteBucketTaggingCommandInput,
418
443
  options?: __HttpHandlerOptions
@@ -677,6 +702,19 @@ export declare class S3Control extends S3ControlClient {
677
702
  options: __HttpHandlerOptions,
678
703
  cb: (err: any, data?: GetBucketPolicyCommandOutput) => void
679
704
  ): void;
705
+ getBucketReplication(
706
+ args: GetBucketReplicationCommandInput,
707
+ options?: __HttpHandlerOptions
708
+ ): Promise<GetBucketReplicationCommandOutput>;
709
+ getBucketReplication(
710
+ args: GetBucketReplicationCommandInput,
711
+ cb: (err: any, data?: GetBucketReplicationCommandOutput) => void
712
+ ): void;
713
+ getBucketReplication(
714
+ args: GetBucketReplicationCommandInput,
715
+ options: __HttpHandlerOptions,
716
+ cb: (err: any, data?: GetBucketReplicationCommandOutput) => void
717
+ ): void;
680
718
  getBucketTagging(
681
719
  args: GetBucketTaggingCommandInput,
682
720
  options?: __HttpHandlerOptions
@@ -974,6 +1012,19 @@ export declare class S3Control extends S3ControlClient {
974
1012
  options: __HttpHandlerOptions,
975
1013
  cb: (err: any, data?: PutBucketPolicyCommandOutput) => void
976
1014
  ): void;
1015
+ putBucketReplication(
1016
+ args: PutBucketReplicationCommandInput,
1017
+ options?: __HttpHandlerOptions
1018
+ ): Promise<PutBucketReplicationCommandOutput>;
1019
+ putBucketReplication(
1020
+ args: PutBucketReplicationCommandInput,
1021
+ cb: (err: any, data?: PutBucketReplicationCommandOutput) => void
1022
+ ): void;
1023
+ putBucketReplication(
1024
+ args: PutBucketReplicationCommandInput,
1025
+ options: __HttpHandlerOptions,
1026
+ cb: (err: any, data?: PutBucketReplicationCommandOutput) => void
1027
+ ): void;
977
1028
  putBucketTagging(
978
1029
  args: PutBucketTaggingCommandInput,
979
1030
  options?: __HttpHandlerOptions
@@ -98,6 +98,10 @@ import {
98
98
  DeleteBucketPolicyCommandInput,
99
99
  DeleteBucketPolicyCommandOutput,
100
100
  } from "./commands/DeleteBucketPolicyCommand";
101
+ import {
102
+ DeleteBucketReplicationCommandInput,
103
+ DeleteBucketReplicationCommandOutput,
104
+ } from "./commands/DeleteBucketReplicationCommand";
101
105
  import {
102
106
  DeleteBucketTaggingCommandInput,
103
107
  DeleteBucketTaggingCommandOutput,
@@ -170,6 +174,10 @@ import {
170
174
  GetBucketPolicyCommandInput,
171
175
  GetBucketPolicyCommandOutput,
172
176
  } from "./commands/GetBucketPolicyCommand";
177
+ import {
178
+ GetBucketReplicationCommandInput,
179
+ GetBucketReplicationCommandOutput,
180
+ } from "./commands/GetBucketReplicationCommand";
173
181
  import {
174
182
  GetBucketTaggingCommandInput,
175
183
  GetBucketTaggingCommandOutput,
@@ -254,6 +262,10 @@ import {
254
262
  PutBucketPolicyCommandInput,
255
263
  PutBucketPolicyCommandOutput,
256
264
  } from "./commands/PutBucketPolicyCommand";
265
+ import {
266
+ PutBucketReplicationCommandInput,
267
+ PutBucketReplicationCommandOutput,
268
+ } from "./commands/PutBucketReplicationCommand";
257
269
  import {
258
270
  PutBucketTaggingCommandInput,
259
271
  PutBucketTaggingCommandOutput,
@@ -312,6 +324,7 @@ export declare type ServiceInputTypes =
312
324
  | DeleteBucketCommandInput
313
325
  | DeleteBucketLifecycleConfigurationCommandInput
314
326
  | DeleteBucketPolicyCommandInput
327
+ | DeleteBucketReplicationCommandInput
315
328
  | DeleteBucketTaggingCommandInput
316
329
  | DeleteJobTaggingCommandInput
317
330
  | DeleteMultiRegionAccessPointCommandInput
@@ -330,6 +343,7 @@ export declare type ServiceInputTypes =
330
343
  | GetBucketCommandInput
331
344
  | GetBucketLifecycleConfigurationCommandInput
332
345
  | GetBucketPolicyCommandInput
346
+ | GetBucketReplicationCommandInput
333
347
  | GetBucketTaggingCommandInput
334
348
  | GetBucketVersioningCommandInput
335
349
  | GetJobTaggingCommandInput
@@ -351,6 +365,7 @@ export declare type ServiceInputTypes =
351
365
  | PutAccessPointPolicyForObjectLambdaCommandInput
352
366
  | PutBucketLifecycleConfigurationCommandInput
353
367
  | PutBucketPolicyCommandInput
368
+ | PutBucketReplicationCommandInput
354
369
  | PutBucketTaggingCommandInput
355
370
  | PutBucketVersioningCommandInput
356
371
  | PutJobTaggingCommandInput
@@ -374,6 +389,7 @@ export declare type ServiceOutputTypes =
374
389
  | DeleteBucketCommandOutput
375
390
  | DeleteBucketLifecycleConfigurationCommandOutput
376
391
  | DeleteBucketPolicyCommandOutput
392
+ | DeleteBucketReplicationCommandOutput
377
393
  | DeleteBucketTaggingCommandOutput
378
394
  | DeleteJobTaggingCommandOutput
379
395
  | DeleteMultiRegionAccessPointCommandOutput
@@ -392,6 +408,7 @@ export declare type ServiceOutputTypes =
392
408
  | GetBucketCommandOutput
393
409
  | GetBucketLifecycleConfigurationCommandOutput
394
410
  | GetBucketPolicyCommandOutput
411
+ | GetBucketReplicationCommandOutput
395
412
  | GetBucketTaggingCommandOutput
396
413
  | GetBucketVersioningCommandOutput
397
414
  | GetJobTaggingCommandOutput
@@ -413,6 +430,7 @@ export declare type ServiceOutputTypes =
413
430
  | PutAccessPointPolicyForObjectLambdaCommandOutput
414
431
  | PutBucketLifecycleConfigurationCommandOutput
415
432
  | PutBucketPolicyCommandOutput
433
+ | PutBucketReplicationCommandOutput
416
434
  | PutBucketTaggingCommandOutput
417
435
  | PutBucketVersioningCommandOutput
418
436
  | PutJobTaggingCommandOutput
@@ -0,0 +1,37 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
+ import { Command as $Command } from "@aws-sdk/smithy-client";
3
+ import {
4
+ Handler,
5
+ HttpHandlerOptions as __HttpHandlerOptions,
6
+ MetadataBearer as __MetadataBearer,
7
+ MiddlewareStack,
8
+ } from "@aws-sdk/types";
9
+ import { DeleteBucketReplicationRequest } from "../models/models_0";
10
+ import {
11
+ S3ControlClientResolvedConfig,
12
+ ServiceInputTypes,
13
+ ServiceOutputTypes,
14
+ } from "../S3ControlClient";
15
+ export interface DeleteBucketReplicationCommandInput
16
+ extends DeleteBucketReplicationRequest {}
17
+ export interface DeleteBucketReplicationCommandOutput
18
+ extends __MetadataBearer {}
19
+ export declare class DeleteBucketReplicationCommand extends $Command<
20
+ DeleteBucketReplicationCommandInput,
21
+ DeleteBucketReplicationCommandOutput,
22
+ S3ControlClientResolvedConfig
23
+ > {
24
+ readonly input: DeleteBucketReplicationCommandInput;
25
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
26
+ constructor(input: DeleteBucketReplicationCommandInput);
27
+ resolveMiddleware(
28
+ clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
29
+ configuration: S3ControlClientResolvedConfig,
30
+ options?: __HttpHandlerOptions
31
+ ): Handler<
32
+ DeleteBucketReplicationCommandInput,
33
+ DeleteBucketReplicationCommandOutput
34
+ >;
35
+ private serialize;
36
+ private deserialize;
37
+ }
@@ -0,0 +1,41 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
+ import { Command as $Command } from "@aws-sdk/smithy-client";
3
+ import {
4
+ Handler,
5
+ HttpHandlerOptions as __HttpHandlerOptions,
6
+ MetadataBearer as __MetadataBearer,
7
+ MiddlewareStack,
8
+ } from "@aws-sdk/types";
9
+ import {
10
+ GetBucketReplicationRequest,
11
+ GetBucketReplicationResult,
12
+ } from "../models/models_0";
13
+ import {
14
+ S3ControlClientResolvedConfig,
15
+ ServiceInputTypes,
16
+ ServiceOutputTypes,
17
+ } from "../S3ControlClient";
18
+ export interface GetBucketReplicationCommandInput
19
+ extends GetBucketReplicationRequest {}
20
+ export interface GetBucketReplicationCommandOutput
21
+ extends GetBucketReplicationResult,
22
+ __MetadataBearer {}
23
+ export declare class GetBucketReplicationCommand extends $Command<
24
+ GetBucketReplicationCommandInput,
25
+ GetBucketReplicationCommandOutput,
26
+ S3ControlClientResolvedConfig
27
+ > {
28
+ readonly input: GetBucketReplicationCommandInput;
29
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
30
+ constructor(input: GetBucketReplicationCommandInput);
31
+ resolveMiddleware(
32
+ clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
33
+ configuration: S3ControlClientResolvedConfig,
34
+ options?: __HttpHandlerOptions
35
+ ): Handler<
36
+ GetBucketReplicationCommandInput,
37
+ GetBucketReplicationCommandOutput
38
+ >;
39
+ private serialize;
40
+ private deserialize;
41
+ }
@@ -0,0 +1,36 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
+ import { Command as $Command } from "@aws-sdk/smithy-client";
3
+ import {
4
+ Handler,
5
+ HttpHandlerOptions as __HttpHandlerOptions,
6
+ MetadataBearer as __MetadataBearer,
7
+ MiddlewareStack,
8
+ } from "@aws-sdk/types";
9
+ import { PutBucketReplicationRequest } from "../models/models_0";
10
+ import {
11
+ S3ControlClientResolvedConfig,
12
+ ServiceInputTypes,
13
+ ServiceOutputTypes,
14
+ } from "../S3ControlClient";
15
+ export interface PutBucketReplicationCommandInput
16
+ extends PutBucketReplicationRequest {}
17
+ export interface PutBucketReplicationCommandOutput extends __MetadataBearer {}
18
+ export declare class PutBucketReplicationCommand extends $Command<
19
+ PutBucketReplicationCommandInput,
20
+ PutBucketReplicationCommandOutput,
21
+ S3ControlClientResolvedConfig
22
+ > {
23
+ readonly input: PutBucketReplicationCommandInput;
24
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
25
+ constructor(input: PutBucketReplicationCommandInput);
26
+ resolveMiddleware(
27
+ clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
28
+ configuration: S3ControlClientResolvedConfig,
29
+ options?: __HttpHandlerOptions
30
+ ): Handler<
31
+ PutBucketReplicationCommandInput,
32
+ PutBucketReplicationCommandOutput
33
+ >;
34
+ private serialize;
35
+ private deserialize;
36
+ }
@@ -10,6 +10,7 @@ export * from "./DeleteAccessPointPolicyForObjectLambdaCommand";
10
10
  export * from "./DeleteBucketCommand";
11
11
  export * from "./DeleteBucketLifecycleConfigurationCommand";
12
12
  export * from "./DeleteBucketPolicyCommand";
13
+ export * from "./DeleteBucketReplicationCommand";
13
14
  export * from "./DeleteBucketTaggingCommand";
14
15
  export * from "./DeleteJobTaggingCommand";
15
16
  export * from "./DeleteMultiRegionAccessPointCommand";
@@ -28,6 +29,7 @@ export * from "./GetAccessPointPolicyStatusForObjectLambdaCommand";
28
29
  export * from "./GetBucketCommand";
29
30
  export * from "./GetBucketLifecycleConfigurationCommand";
30
31
  export * from "./GetBucketPolicyCommand";
32
+ export * from "./GetBucketReplicationCommand";
31
33
  export * from "./GetBucketTaggingCommand";
32
34
  export * from "./GetBucketVersioningCommand";
33
35
  export * from "./GetJobTaggingCommand";
@@ -49,6 +51,7 @@ export * from "./PutAccessPointPolicyCommand";
49
51
  export * from "./PutAccessPointPolicyForObjectLambdaCommand";
50
52
  export * from "./PutBucketLifecycleConfigurationCommand";
51
53
  export * from "./PutBucketPolicyCommand";
54
+ export * from "./PutBucketReplicationCommand";
52
55
  export * from "./PutBucketTaggingCommand";
53
56
  export * from "./PutBucketVersioningCommand";
54
57
  export * from "./PutJobTaggingCommand";
@@ -3,6 +3,12 @@ import { S3ControlServiceException as __BaseException } from "./S3ControlService
3
3
  export interface AbortIncompleteMultipartUpload {
4
4
  DaysAfterInitiation?: number;
5
5
  }
6
+ export declare enum OwnerOverride {
7
+ Destination = "Destination",
8
+ }
9
+ export interface AccessControlTranslation {
10
+ Owner: OwnerOverride | string | undefined;
11
+ }
6
12
  export declare enum NetworkOrigin {
7
13
  Internet = "Internet",
8
14
  VPC = "VPC",
@@ -76,6 +82,7 @@ export interface PublicAccessBlockConfiguration {
76
82
  }
77
83
  export interface Region {
78
84
  Bucket: string | undefined;
85
+ BucketAccountId?: string;
79
86
  }
80
87
  export interface CreateMultiRegionAccessPointInput {
81
88
  Name: string | undefined;
@@ -570,6 +577,10 @@ export interface DeleteBucketPolicyRequest {
570
577
  AccountId?: string;
571
578
  Bucket: string | undefined;
572
579
  }
580
+ export interface DeleteBucketReplicationRequest {
581
+ AccountId?: string;
582
+ Bucket: string | undefined;
583
+ }
573
584
  export interface DeleteBucketTaggingRequest {
574
585
  AccountId?: string;
575
586
  Bucket: string | undefined;
@@ -810,6 +821,116 @@ export interface GetBucketPolicyRequest {
810
821
  export interface GetBucketPolicyResult {
811
822
  Policy?: string;
812
823
  }
824
+ export interface GetBucketReplicationRequest {
825
+ AccountId?: string;
826
+ Bucket: string | undefined;
827
+ }
828
+ export declare enum DeleteMarkerReplicationStatus {
829
+ Disabled = "Disabled",
830
+ Enabled = "Enabled",
831
+ }
832
+ export interface DeleteMarkerReplication {
833
+ Status: DeleteMarkerReplicationStatus | string | undefined;
834
+ }
835
+ export interface EncryptionConfiguration {
836
+ ReplicaKmsKeyID?: string;
837
+ }
838
+ export interface ReplicationTimeValue {
839
+ Minutes?: number;
840
+ }
841
+ export declare enum MetricsStatus {
842
+ Disabled = "Disabled",
843
+ Enabled = "Enabled",
844
+ }
845
+ export interface Metrics {
846
+ Status: MetricsStatus | string | undefined;
847
+ EventThreshold?: ReplicationTimeValue;
848
+ }
849
+ export declare enum ReplicationTimeStatus {
850
+ Disabled = "Disabled",
851
+ Enabled = "Enabled",
852
+ }
853
+ export interface ReplicationTime {
854
+ Status: ReplicationTimeStatus | string | undefined;
855
+ Time: ReplicationTimeValue | undefined;
856
+ }
857
+ export declare enum ReplicationStorageClass {
858
+ DEEP_ARCHIVE = "DEEP_ARCHIVE",
859
+ GLACIER = "GLACIER",
860
+ GLACIER_IR = "GLACIER_IR",
861
+ INTELLIGENT_TIERING = "INTELLIGENT_TIERING",
862
+ ONEZONE_IA = "ONEZONE_IA",
863
+ OUTPOSTS = "OUTPOSTS",
864
+ REDUCED_REDUNDANCY = "REDUCED_REDUNDANCY",
865
+ STANDARD = "STANDARD",
866
+ STANDARD_IA = "STANDARD_IA",
867
+ }
868
+ export interface Destination {
869
+ Account?: string;
870
+ Bucket: string | undefined;
871
+ ReplicationTime?: ReplicationTime;
872
+ AccessControlTranslation?: AccessControlTranslation;
873
+ EncryptionConfiguration?: EncryptionConfiguration;
874
+ Metrics?: Metrics;
875
+ StorageClass?: ReplicationStorageClass | string;
876
+ }
877
+ export declare enum ExistingObjectReplicationStatus {
878
+ Disabled = "Disabled",
879
+ Enabled = "Enabled",
880
+ }
881
+ export interface ExistingObjectReplication {
882
+ Status: ExistingObjectReplicationStatus | string | undefined;
883
+ }
884
+ export interface ReplicationRuleAndOperator {
885
+ Prefix?: string;
886
+ Tags?: S3Tag[];
887
+ }
888
+ export interface ReplicationRuleFilter {
889
+ Prefix?: string;
890
+ Tag?: S3Tag;
891
+ And?: ReplicationRuleAndOperator;
892
+ }
893
+ export declare enum ReplicaModificationsStatus {
894
+ Disabled = "Disabled",
895
+ Enabled = "Enabled",
896
+ }
897
+ export interface ReplicaModifications {
898
+ Status: ReplicaModificationsStatus | string | undefined;
899
+ }
900
+ export declare enum SseKmsEncryptedObjectsStatus {
901
+ Disabled = "Disabled",
902
+ Enabled = "Enabled",
903
+ }
904
+ export interface SseKmsEncryptedObjects {
905
+ Status: SseKmsEncryptedObjectsStatus | string | undefined;
906
+ }
907
+ export interface SourceSelectionCriteria {
908
+ SseKmsEncryptedObjects?: SseKmsEncryptedObjects;
909
+ ReplicaModifications?: ReplicaModifications;
910
+ }
911
+ export declare enum ReplicationRuleStatus {
912
+ Disabled = "Disabled",
913
+ Enabled = "Enabled",
914
+ }
915
+ export interface ReplicationRule {
916
+ ID?: string;
917
+ Priority?: number;
918
+ Prefix?: string;
919
+ Filter?: ReplicationRuleFilter;
920
+ Status: ReplicationRuleStatus | string | undefined;
921
+ SourceSelectionCriteria?: SourceSelectionCriteria;
922
+ ExistingObjectReplication?: ExistingObjectReplication;
923
+ Destination: Destination | undefined;
924
+ DeleteMarkerReplication?: DeleteMarkerReplication;
925
+ Bucket: string | undefined;
926
+ }
927
+ export interface ReplicationConfiguration {
928
+ Role: string | undefined;
929
+ Rules: ReplicationRule[] | undefined;
930
+ }
931
+ export interface GetBucketReplicationResult {
932
+ ReplicationConfiguration?: ReplicationConfiguration;
933
+ }
813
934
  export interface GetBucketTaggingRequest {
814
935
  AccountId?: string;
815
936
  Bucket: string | undefined;
@@ -847,6 +968,7 @@ export interface GetMultiRegionAccessPointRequest {
847
968
  export interface RegionReport {
848
969
  Bucket?: string;
849
970
  Region?: string;
971
+ BucketAccountId?: string;
850
972
  }
851
973
  export declare enum MultiRegionAccessPointStatus {
852
974
  CREATING = "CREATING",
@@ -1129,6 +1251,11 @@ export interface PutBucketPolicyRequest {
1129
1251
  ConfirmRemoveSelfBucketAccess?: boolean;
1130
1252
  Policy: string | undefined;
1131
1253
  }
1254
+ export interface PutBucketReplicationRequest {
1255
+ AccountId?: string;
1256
+ Bucket: string | undefined;
1257
+ ReplicationConfiguration: ReplicationConfiguration | undefined;
1258
+ }
1132
1259
  export interface Tagging {
1133
1260
  TagSet: S3Tag[] | undefined;
1134
1261
  }
@@ -1228,6 +1355,9 @@ export interface UpdateJobStatusResult {
1228
1355
  export declare const AbortIncompleteMultipartUploadFilterSensitiveLog: (
1229
1356
  obj: AbortIncompleteMultipartUpload
1230
1357
  ) => any;
1358
+ export declare const AccessControlTranslationFilterSensitiveLog: (
1359
+ obj: AccessControlTranslation
1360
+ ) => any;
1231
1361
  export declare const VpcConfigurationFilterSensitiveLog: (
1232
1362
  obj: VpcConfiguration
1233
1363
  ) => any;
@@ -1426,6 +1556,9 @@ export declare const DeleteBucketLifecycleConfigurationRequestFilterSensitiveLog
1426
1556
  export declare const DeleteBucketPolicyRequestFilterSensitiveLog: (
1427
1557
  obj: DeleteBucketPolicyRequest
1428
1558
  ) => any;
1559
+ export declare const DeleteBucketReplicationRequestFilterSensitiveLog: (
1560
+ obj: DeleteBucketReplicationRequest
1561
+ ) => any;
1429
1562
  export declare const DeleteBucketTaggingRequestFilterSensitiveLog: (
1430
1563
  obj: DeleteBucketTaggingRequest
1431
1564
  ) => any;
@@ -1556,6 +1689,50 @@ export declare const GetBucketPolicyRequestFilterSensitiveLog: (
1556
1689
  export declare const GetBucketPolicyResultFilterSensitiveLog: (
1557
1690
  obj: GetBucketPolicyResult
1558
1691
  ) => any;
1692
+ export declare const GetBucketReplicationRequestFilterSensitiveLog: (
1693
+ obj: GetBucketReplicationRequest
1694
+ ) => any;
1695
+ export declare const DeleteMarkerReplicationFilterSensitiveLog: (
1696
+ obj: DeleteMarkerReplication
1697
+ ) => any;
1698
+ export declare const EncryptionConfigurationFilterSensitiveLog: (
1699
+ obj: EncryptionConfiguration
1700
+ ) => any;
1701
+ export declare const ReplicationTimeValueFilterSensitiveLog: (
1702
+ obj: ReplicationTimeValue
1703
+ ) => any;
1704
+ export declare const MetricsFilterSensitiveLog: (obj: Metrics) => any;
1705
+ export declare const ReplicationTimeFilterSensitiveLog: (
1706
+ obj: ReplicationTime
1707
+ ) => any;
1708
+ export declare const DestinationFilterSensitiveLog: (obj: Destination) => any;
1709
+ export declare const ExistingObjectReplicationFilterSensitiveLog: (
1710
+ obj: ExistingObjectReplication
1711
+ ) => any;
1712
+ export declare const ReplicationRuleAndOperatorFilterSensitiveLog: (
1713
+ obj: ReplicationRuleAndOperator
1714
+ ) => any;
1715
+ export declare const ReplicationRuleFilterFilterSensitiveLog: (
1716
+ obj: ReplicationRuleFilter
1717
+ ) => any;
1718
+ export declare const ReplicaModificationsFilterSensitiveLog: (
1719
+ obj: ReplicaModifications
1720
+ ) => any;
1721
+ export declare const SseKmsEncryptedObjectsFilterSensitiveLog: (
1722
+ obj: SseKmsEncryptedObjects
1723
+ ) => any;
1724
+ export declare const SourceSelectionCriteriaFilterSensitiveLog: (
1725
+ obj: SourceSelectionCriteria
1726
+ ) => any;
1727
+ export declare const ReplicationRuleFilterSensitiveLog: (
1728
+ obj: ReplicationRule
1729
+ ) => any;
1730
+ export declare const ReplicationConfigurationFilterSensitiveLog: (
1731
+ obj: ReplicationConfiguration
1732
+ ) => any;
1733
+ export declare const GetBucketReplicationResultFilterSensitiveLog: (
1734
+ obj: GetBucketReplicationResult
1735
+ ) => any;
1559
1736
  export declare const GetBucketTaggingRequestFilterSensitiveLog: (
1560
1737
  obj: GetBucketTaggingRequest
1561
1738
  ) => any;
@@ -1723,6 +1900,9 @@ export declare const PutBucketLifecycleConfigurationRequestFilterSensitiveLog: (
1723
1900
  export declare const PutBucketPolicyRequestFilterSensitiveLog: (
1724
1901
  obj: PutBucketPolicyRequest
1725
1902
  ) => any;
1903
+ export declare const PutBucketReplicationRequestFilterSensitiveLog: (
1904
+ obj: PutBucketReplicationRequest
1905
+ ) => any;
1726
1906
  export declare const TaggingFilterSensitiveLog: (obj: Tagging) => any;
1727
1907
  export declare const PutBucketTaggingRequestFilterSensitiveLog: (
1728
1908
  obj: PutBucketTaggingRequest