@aws-sdk/client-s3-control 3.218.0 → 3.219.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 (31) hide show
  1. package/dist-cjs/S3Control.js +30 -0
  2. package/dist-cjs/commands/GetMultiRegionAccessPointRoutesCommand.js +52 -0
  3. package/dist-cjs/commands/SubmitMultiRegionAccessPointRoutesCommand.js +52 -0
  4. package/dist-cjs/commands/index.js +2 -0
  5. package/dist-cjs/endpoint/ruleset.js +19 -19
  6. package/dist-cjs/models/models_0.js +22 -2
  7. package/dist-cjs/protocols/Aws_restXml.js +191 -9
  8. package/dist-es/S3Control.js +30 -0
  9. package/dist-es/commands/GetMultiRegionAccessPointRoutesCommand.js +48 -0
  10. package/dist-es/commands/SubmitMultiRegionAccessPointRoutesCommand.js +48 -0
  11. package/dist-es/commands/index.js +2 -0
  12. package/dist-es/endpoint/ruleset.js +19 -19
  13. package/dist-es/models/models_0.js +15 -0
  14. package/dist-es/protocols/Aws_restXml.js +184 -6
  15. package/dist-types/S3Control.d.ts +113 -16
  16. package/dist-types/S3ControlClient.d.ts +4 -2
  17. package/dist-types/commands/GetBucketVersioningCommand.d.ts +6 -5
  18. package/dist-types/commands/GetMultiRegionAccessPointRoutesCommand.d.ts +70 -0
  19. package/dist-types/commands/PutBucketVersioningCommand.d.ts +14 -11
  20. package/dist-types/commands/SubmitMultiRegionAccessPointRoutesCommand.d.ts +83 -0
  21. package/dist-types/commands/index.d.ts +2 -0
  22. package/dist-types/models/models_0.d.ts +112 -13
  23. package/dist-types/protocols/Aws_restXml.d.ts +6 -0
  24. package/dist-types/ts3.4/S3Control.d.ts +40 -0
  25. package/dist-types/ts3.4/S3ControlClient.d.ts +12 -0
  26. package/dist-types/ts3.4/commands/GetMultiRegionAccessPointRoutesCommand.d.ts +41 -0
  27. package/dist-types/ts3.4/commands/SubmitMultiRegionAccessPointRoutesCommand.d.ts +41 -0
  28. package/dist-types/ts3.4/commands/index.d.ts +2 -0
  29. package/dist-types/ts3.4/models/models_0.d.ts +34 -0
  30. package/dist-types/ts3.4/protocols/Aws_restXml.d.ts +24 -0
  31. package/package.json +1 -1
@@ -520,7 +520,8 @@ export declare namespace ObjectLambdaContentTransformation {
520
520
  export interface ObjectLambdaTransformationConfiguration {
521
521
  /**
522
522
  * <p>A container for the action of an Object Lambda Access Point configuration. Valid inputs are
523
- * <code>GetObject</code>, <code>ListObjects</code>, <code>HeadObject</code>, and <code>ListObjectsV2</code>.</p>
523
+ * <code>GetObject</code>, <code>ListObjects</code>, <code>HeadObject</code>, and
524
+ * <code>ListObjectsV2</code>.</p>
524
525
  */
525
526
  Actions: (ObjectLambdaTransformationConfigurationAction | string)[] | undefined;
526
527
  /**
@@ -541,7 +542,9 @@ export interface ObjectLambdaConfiguration {
541
542
  */
542
543
  CloudWatchMetricsEnabled?: boolean;
543
544
  /**
544
- * <p>A container for allowed features. Valid inputs are <code>GetObject-Range</code>, <code>GetObject-PartNumber</code>, <code>HeadObject-Range</code>, and <code>HeadObject-PartNumber</code>.</p>
545
+ * <p>A container for allowed features. Valid inputs are <code>GetObject-Range</code>,
546
+ * <code>GetObject-PartNumber</code>, <code>HeadObject-Range</code>, and
547
+ * <code>HeadObject-PartNumber</code>.</p>
545
548
  */
546
549
  AllowedFeatures?: (ObjectLambdaAllowedFeature | string)[];
547
550
  /**
@@ -819,8 +822,8 @@ export interface JobManifestGeneratorFilter {
819
822
  */
820
823
  export interface SSEKMSEncryption {
821
824
  /**
822
- * <p>Specifies the ID of the Amazon Web Services Key Management Service (Amazon Web Services KMS) symmetric encryption customer managed
823
- * key to use for encrypting generated manifest objects.</p>
825
+ * <p>Specifies the ID of the Amazon Web Services Key Management Service (Amazon Web Services KMS) symmetric encryption
826
+ * customer managed key to use for encrypting generated manifest objects.</p>
824
827
  */
825
828
  KeyId: string | undefined;
826
829
  }
@@ -1228,8 +1231,8 @@ export interface S3CopyObjectOperation {
1228
1231
  SSEAwsKmsKeyId?: string;
1229
1232
  /**
1230
1233
  * <p>Specifies the folder prefix into which you would like the objects to be copied. For
1231
- * example, to copy objects into a folder named <code>Folder1</code> in the destination bucket, set the
1232
- * TargetKeyPrefix to <code>Folder1</code>.</p>
1234
+ * example, to copy objects into a folder named <code>Folder1</code> in the destination
1235
+ * bucket, set the TargetKeyPrefix to <code>Folder1</code>.</p>
1233
1236
  */
1234
1237
  TargetKeyPrefix?: string;
1235
1238
  /**
@@ -1254,9 +1257,9 @@ export interface S3CopyObjectOperation {
1254
1257
  */
1255
1258
  BucketKeyEnabled?: boolean;
1256
1259
  /**
1257
- * <p>Indicates the algorithm you want Amazon S3 to use to create the checksum. For more information
1258
- * see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/CheckingObjectIntegrity.xml">
1259
- * Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p>
1260
+ * <p>Indicates the algorithm you want Amazon S3 to use to create the checksum. For more
1261
+ * information see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/CheckingObjectIntegrity.xml"> Checking object
1262
+ * integrity</a> in the <i>Amazon S3 User Guide</i>.</p>
1260
1263
  */
1261
1264
  ChecksumAlgorithm?: S3ChecksumAlgorithm | string;
1262
1265
  }
@@ -1339,8 +1342,8 @@ export interface S3SetObjectTaggingOperation {
1339
1342
  TagSet?: S3Tag[];
1340
1343
  }
1341
1344
  /**
1342
- * <p>Directs the specified job to invoke <code>ReplicateObject</code> on every object in the job's
1343
- * manifest.</p>
1345
+ * <p>Directs the specified job to invoke <code>ReplicateObject</code> on every object in the
1346
+ * job's manifest.</p>
1344
1347
  */
1345
1348
  export interface S3ReplicateObjectOperation {
1346
1349
  }
@@ -2586,6 +2589,65 @@ export interface GetMultiRegionAccessPointPolicyStatusResult {
2586
2589
  */
2587
2590
  Established?: PolicyStatus;
2588
2591
  }
2592
+ export interface GetMultiRegionAccessPointRoutesRequest {
2593
+ /**
2594
+ * <p>The Amazon Web Services account ID for the owner of the Multi-Region Access Point.</p>
2595
+ */
2596
+ AccountId?: string;
2597
+ /**
2598
+ * <p>The Multi-Region Access Point ARN.</p>
2599
+ */
2600
+ Mrap: string | undefined;
2601
+ }
2602
+ /**
2603
+ * <p>A structure for a Multi-Region Access Point that indicates where Amazon S3 traffic can be routed. Routes can be
2604
+ * either active or passive. Active routes can process Amazon S3 requests through the Multi-Region Access Point, but
2605
+ * passive routes are not eligible to process Amazon S3 requests. </p>
2606
+ * <p>Each route contains the Amazon S3 bucket name and the Amazon Web Services Region that the bucket is located
2607
+ * in. The route also includes the <code>TrafficDialPercentage</code> value, which shows
2608
+ * whether the bucket and Region are active (indicated by a value of <code>100</code>) or
2609
+ * passive (indicated by a value of <code>0</code>).</p>
2610
+ */
2611
+ export interface MultiRegionAccessPointRoute {
2612
+ /**
2613
+ * <p>The name of the Amazon S3 bucket for which you'll submit a routing configuration change.
2614
+ * Either the <code>Bucket</code> or the <code>Region</code> value must be provided. If both
2615
+ * are provided, the bucket must be in the specified Region.</p>
2616
+ */
2617
+ Bucket?: string;
2618
+ /**
2619
+ * <p>The Amazon Web Services Region to which you'll be submitting a routing configuration change. Either
2620
+ * the <code>Bucket</code> or the <code>Region</code> value must be provided. If both are
2621
+ * provided, the bucket must be in the specified Region.</p>
2622
+ */
2623
+ Region?: string;
2624
+ /**
2625
+ * <p>The traffic state for the specified bucket or Amazon Web Services Region. </p>
2626
+ * <p>A value of <code>0</code> indicates a passive state, which means that no new traffic
2627
+ * will be routed to the
2628
+ * Region. </p>
2629
+ * <p>A value of <code>100</code> indicates an active state, which means that traffic will be
2630
+ * routed to the specified Region. </p>
2631
+ * <p>When
2632
+ * the routing configuration for a Region is changed from active to passive, any in-progress
2633
+ * operations (uploads, copies, deletes, and so on) to the formerly active Region will
2634
+ * continue to run to until a final success or failure status is reached.</p>
2635
+ * <p>If all Regions in the routing configuration are designated as passive, you'll receive an
2636
+ * <code>InvalidRequest</code> error. </p>
2637
+ */
2638
+ TrafficDialPercentage: number | undefined;
2639
+ }
2640
+ export interface GetMultiRegionAccessPointRoutesResult {
2641
+ /**
2642
+ * <p>The Multi-Region Access Point ARN.</p>
2643
+ */
2644
+ Mrap?: string;
2645
+ /**
2646
+ * <p>The different routes that make up the route configuration. Active routes return a value
2647
+ * of <code>100</code>, and passive routes return a value of <code>0</code>.</p>
2648
+ */
2649
+ Routes?: MultiRegionAccessPointRoute[];
2650
+ }
2589
2651
  export interface GetPublicAccessBlockOutput {
2590
2652
  /**
2591
2653
  * <p>The <code>PublicAccessBlock</code> configuration currently in effect for this
@@ -3303,8 +3365,8 @@ export declare enum MFADelete {
3303
3365
  */
3304
3366
  export interface VersioningConfiguration {
3305
3367
  /**
3306
- * <p>Specifies whether MFA delete is enabled or disabled in the bucket versioning configuration
3307
- * for the S3 on Outposts bucket.</p>
3368
+ * <p>Specifies whether MFA delete is enabled or disabled in the bucket versioning
3369
+ * configuration for the S3 on Outposts bucket.</p>
3308
3370
  */
3309
3371
  MFADelete?: MFADelete | string;
3310
3372
  /**
@@ -3433,6 +3495,23 @@ export interface PutStorageLensConfigurationTaggingRequest {
3433
3495
  }
3434
3496
  export interface PutStorageLensConfigurationTaggingResult {
3435
3497
  }
3498
+ export interface SubmitMultiRegionAccessPointRoutesRequest {
3499
+ /**
3500
+ * <p>The Amazon Web Services account ID for the owner of the Multi-Region Access Point.</p>
3501
+ */
3502
+ AccountId?: string;
3503
+ /**
3504
+ * <p>The Multi-Region Access Point ARN.</p>
3505
+ */
3506
+ Mrap: string | undefined;
3507
+ /**
3508
+ * <p>The different routes that make up the new route configuration. Active routes return a
3509
+ * value of <code>100</code>, and passive routes return a value of <code>0</code>.</p>
3510
+ */
3511
+ RouteUpdates: MultiRegionAccessPointRoute[] | undefined;
3512
+ }
3513
+ export interface SubmitMultiRegionAccessPointRoutesResult {
3514
+ }
3436
3515
  export interface UpdateJobPriorityRequest {
3437
3516
  /**
3438
3517
  * <p>The Amazon Web Services account ID associated with the S3 Batch Operations job.</p>
@@ -4058,6 +4137,18 @@ export declare const GetMultiRegionAccessPointPolicyStatusRequestFilterSensitive
4058
4137
  * @internal
4059
4138
  */
4060
4139
  export declare const GetMultiRegionAccessPointPolicyStatusResultFilterSensitiveLog: (obj: GetMultiRegionAccessPointPolicyStatusResult) => any;
4140
+ /**
4141
+ * @internal
4142
+ */
4143
+ export declare const GetMultiRegionAccessPointRoutesRequestFilterSensitiveLog: (obj: GetMultiRegionAccessPointRoutesRequest) => any;
4144
+ /**
4145
+ * @internal
4146
+ */
4147
+ export declare const MultiRegionAccessPointRouteFilterSensitiveLog: (obj: MultiRegionAccessPointRoute) => any;
4148
+ /**
4149
+ * @internal
4150
+ */
4151
+ export declare const GetMultiRegionAccessPointRoutesResultFilterSensitiveLog: (obj: GetMultiRegionAccessPointRoutesResult) => any;
4061
4152
  /**
4062
4153
  * @internal
4063
4154
  */
@@ -4262,6 +4353,14 @@ export declare const PutStorageLensConfigurationTaggingRequestFilterSensitiveLog
4262
4353
  * @internal
4263
4354
  */
4264
4355
  export declare const PutStorageLensConfigurationTaggingResultFilterSensitiveLog: (obj: PutStorageLensConfigurationTaggingResult) => any;
4356
+ /**
4357
+ * @internal
4358
+ */
4359
+ export declare const SubmitMultiRegionAccessPointRoutesRequestFilterSensitiveLog: (obj: SubmitMultiRegionAccessPointRoutesRequest) => any;
4360
+ /**
4361
+ * @internal
4362
+ */
4363
+ export declare const SubmitMultiRegionAccessPointRoutesResultFilterSensitiveLog: (obj: SubmitMultiRegionAccessPointRoutesResult) => any;
4265
4364
  /**
4266
4365
  * @internal
4267
4366
  */
@@ -36,6 +36,7 @@ import { GetJobTaggingCommandInput, GetJobTaggingCommandOutput } from "../comman
36
36
  import { GetMultiRegionAccessPointCommandInput, GetMultiRegionAccessPointCommandOutput } from "../commands/GetMultiRegionAccessPointCommand";
37
37
  import { GetMultiRegionAccessPointPolicyCommandInput, GetMultiRegionAccessPointPolicyCommandOutput } from "../commands/GetMultiRegionAccessPointPolicyCommand";
38
38
  import { GetMultiRegionAccessPointPolicyStatusCommandInput, GetMultiRegionAccessPointPolicyStatusCommandOutput } from "../commands/GetMultiRegionAccessPointPolicyStatusCommand";
39
+ import { GetMultiRegionAccessPointRoutesCommandInput, GetMultiRegionAccessPointRoutesCommandOutput } from "../commands/GetMultiRegionAccessPointRoutesCommand";
39
40
  import { GetPublicAccessBlockCommandInput, GetPublicAccessBlockCommandOutput } from "../commands/GetPublicAccessBlockCommand";
40
41
  import { GetStorageLensConfigurationCommandInput, GetStorageLensConfigurationCommandOutput } from "../commands/GetStorageLensConfigurationCommand";
41
42
  import { GetStorageLensConfigurationTaggingCommandInput, GetStorageLensConfigurationTaggingCommandOutput } from "../commands/GetStorageLensConfigurationTaggingCommand";
@@ -57,6 +58,7 @@ import { PutMultiRegionAccessPointPolicyCommandInput, PutMultiRegionAccessPointP
57
58
  import { PutPublicAccessBlockCommandInput, PutPublicAccessBlockCommandOutput } from "../commands/PutPublicAccessBlockCommand";
58
59
  import { PutStorageLensConfigurationCommandInput, PutStorageLensConfigurationCommandOutput } from "../commands/PutStorageLensConfigurationCommand";
59
60
  import { PutStorageLensConfigurationTaggingCommandInput, PutStorageLensConfigurationTaggingCommandOutput } from "../commands/PutStorageLensConfigurationTaggingCommand";
61
+ import { SubmitMultiRegionAccessPointRoutesCommandInput, SubmitMultiRegionAccessPointRoutesCommandOutput } from "../commands/SubmitMultiRegionAccessPointRoutesCommand";
60
62
  import { UpdateJobPriorityCommandInput, UpdateJobPriorityCommandOutput } from "../commands/UpdateJobPriorityCommand";
61
63
  import { UpdateJobStatusCommandInput, UpdateJobStatusCommandOutput } from "../commands/UpdateJobStatusCommand";
62
64
  export declare const serializeAws_restXmlCreateAccessPointCommand: (input: CreateAccessPointCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
@@ -95,6 +97,7 @@ export declare const serializeAws_restXmlGetJobTaggingCommand: (input: GetJobTag
95
97
  export declare const serializeAws_restXmlGetMultiRegionAccessPointCommand: (input: GetMultiRegionAccessPointCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
96
98
  export declare const serializeAws_restXmlGetMultiRegionAccessPointPolicyCommand: (input: GetMultiRegionAccessPointPolicyCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
97
99
  export declare const serializeAws_restXmlGetMultiRegionAccessPointPolicyStatusCommand: (input: GetMultiRegionAccessPointPolicyStatusCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
100
+ export declare const serializeAws_restXmlGetMultiRegionAccessPointRoutesCommand: (input: GetMultiRegionAccessPointRoutesCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
98
101
  export declare const serializeAws_restXmlGetPublicAccessBlockCommand: (input: GetPublicAccessBlockCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
99
102
  export declare const serializeAws_restXmlGetStorageLensConfigurationCommand: (input: GetStorageLensConfigurationCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
100
103
  export declare const serializeAws_restXmlGetStorageLensConfigurationTaggingCommand: (input: GetStorageLensConfigurationTaggingCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
@@ -116,6 +119,7 @@ export declare const serializeAws_restXmlPutMultiRegionAccessPointPolicyCommand:
116
119
  export declare const serializeAws_restXmlPutPublicAccessBlockCommand: (input: PutPublicAccessBlockCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
117
120
  export declare const serializeAws_restXmlPutStorageLensConfigurationCommand: (input: PutStorageLensConfigurationCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
118
121
  export declare const serializeAws_restXmlPutStorageLensConfigurationTaggingCommand: (input: PutStorageLensConfigurationTaggingCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
122
+ export declare const serializeAws_restXmlSubmitMultiRegionAccessPointRoutesCommand: (input: SubmitMultiRegionAccessPointRoutesCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
119
123
  export declare const serializeAws_restXmlUpdateJobPriorityCommand: (input: UpdateJobPriorityCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
120
124
  export declare const serializeAws_restXmlUpdateJobStatusCommand: (input: UpdateJobStatusCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
121
125
  export declare const deserializeAws_restXmlCreateAccessPointCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<CreateAccessPointCommandOutput>;
@@ -154,6 +158,7 @@ export declare const deserializeAws_restXmlGetJobTaggingCommand: (output: __Http
154
158
  export declare const deserializeAws_restXmlGetMultiRegionAccessPointCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetMultiRegionAccessPointCommandOutput>;
155
159
  export declare const deserializeAws_restXmlGetMultiRegionAccessPointPolicyCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetMultiRegionAccessPointPolicyCommandOutput>;
156
160
  export declare const deserializeAws_restXmlGetMultiRegionAccessPointPolicyStatusCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetMultiRegionAccessPointPolicyStatusCommandOutput>;
161
+ export declare const deserializeAws_restXmlGetMultiRegionAccessPointRoutesCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetMultiRegionAccessPointRoutesCommandOutput>;
157
162
  export declare const deserializeAws_restXmlGetPublicAccessBlockCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetPublicAccessBlockCommandOutput>;
158
163
  export declare const deserializeAws_restXmlGetStorageLensConfigurationCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetStorageLensConfigurationCommandOutput>;
159
164
  export declare const deserializeAws_restXmlGetStorageLensConfigurationTaggingCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetStorageLensConfigurationTaggingCommandOutput>;
@@ -175,5 +180,6 @@ export declare const deserializeAws_restXmlPutMultiRegionAccessPointPolicyComman
175
180
  export declare const deserializeAws_restXmlPutPublicAccessBlockCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<PutPublicAccessBlockCommandOutput>;
176
181
  export declare const deserializeAws_restXmlPutStorageLensConfigurationCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<PutStorageLensConfigurationCommandOutput>;
177
182
  export declare const deserializeAws_restXmlPutStorageLensConfigurationTaggingCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<PutStorageLensConfigurationTaggingCommandOutput>;
183
+ export declare const deserializeAws_restXmlSubmitMultiRegionAccessPointRoutesCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<SubmitMultiRegionAccessPointRoutesCommandOutput>;
178
184
  export declare const deserializeAws_restXmlUpdateJobPriorityCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UpdateJobPriorityCommandOutput>;
179
185
  export declare const deserializeAws_restXmlUpdateJobStatusCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UpdateJobStatusCommandOutput>;
@@ -143,6 +143,10 @@ import {
143
143
  GetMultiRegionAccessPointPolicyStatusCommandInput,
144
144
  GetMultiRegionAccessPointPolicyStatusCommandOutput,
145
145
  } from "./commands/GetMultiRegionAccessPointPolicyStatusCommand";
146
+ import {
147
+ GetMultiRegionAccessPointRoutesCommandInput,
148
+ GetMultiRegionAccessPointRoutesCommandOutput,
149
+ } from "./commands/GetMultiRegionAccessPointRoutesCommand";
146
150
  import {
147
151
  GetPublicAccessBlockCommandInput,
148
152
  GetPublicAccessBlockCommandOutput,
@@ -227,6 +231,10 @@ import {
227
231
  PutStorageLensConfigurationTaggingCommandInput,
228
232
  PutStorageLensConfigurationTaggingCommandOutput,
229
233
  } from "./commands/PutStorageLensConfigurationTaggingCommand";
234
+ import {
235
+ SubmitMultiRegionAccessPointRoutesCommandInput,
236
+ SubmitMultiRegionAccessPointRoutesCommandOutput,
237
+ } from "./commands/SubmitMultiRegionAccessPointRoutesCommand";
230
238
  import {
231
239
  UpdateJobPriorityCommandInput,
232
240
  UpdateJobPriorityCommandOutput,
@@ -753,6 +761,19 @@ export declare class S3Control extends S3ControlClient {
753
761
  data?: GetMultiRegionAccessPointPolicyStatusCommandOutput
754
762
  ) => void
755
763
  ): void;
764
+ getMultiRegionAccessPointRoutes(
765
+ args: GetMultiRegionAccessPointRoutesCommandInput,
766
+ options?: __HttpHandlerOptions
767
+ ): Promise<GetMultiRegionAccessPointRoutesCommandOutput>;
768
+ getMultiRegionAccessPointRoutes(
769
+ args: GetMultiRegionAccessPointRoutesCommandInput,
770
+ cb: (err: any, data?: GetMultiRegionAccessPointRoutesCommandOutput) => void
771
+ ): void;
772
+ getMultiRegionAccessPointRoutes(
773
+ args: GetMultiRegionAccessPointRoutesCommandInput,
774
+ options: __HttpHandlerOptions,
775
+ cb: (err: any, data?: GetMultiRegionAccessPointRoutesCommandOutput) => void
776
+ ): void;
756
777
  getPublicAccessBlock(
757
778
  args: GetPublicAccessBlockCommandInput,
758
779
  options?: __HttpHandlerOptions
@@ -1050,6 +1071,25 @@ export declare class S3Control extends S3ControlClient {
1050
1071
  data?: PutStorageLensConfigurationTaggingCommandOutput
1051
1072
  ) => void
1052
1073
  ): void;
1074
+ submitMultiRegionAccessPointRoutes(
1075
+ args: SubmitMultiRegionAccessPointRoutesCommandInput,
1076
+ options?: __HttpHandlerOptions
1077
+ ): Promise<SubmitMultiRegionAccessPointRoutesCommandOutput>;
1078
+ submitMultiRegionAccessPointRoutes(
1079
+ args: SubmitMultiRegionAccessPointRoutesCommandInput,
1080
+ cb: (
1081
+ err: any,
1082
+ data?: SubmitMultiRegionAccessPointRoutesCommandOutput
1083
+ ) => void
1084
+ ): void;
1085
+ submitMultiRegionAccessPointRoutes(
1086
+ args: SubmitMultiRegionAccessPointRoutesCommandInput,
1087
+ options: __HttpHandlerOptions,
1088
+ cb: (
1089
+ err: any,
1090
+ data?: SubmitMultiRegionAccessPointRoutesCommandOutput
1091
+ ) => void
1092
+ ): void;
1053
1093
  updateJobPriority(
1054
1094
  args: UpdateJobPriorityCommandInput,
1055
1095
  options?: __HttpHandlerOptions
@@ -193,6 +193,10 @@ import {
193
193
  GetMultiRegionAccessPointPolicyStatusCommandInput,
194
194
  GetMultiRegionAccessPointPolicyStatusCommandOutput,
195
195
  } from "./commands/GetMultiRegionAccessPointPolicyStatusCommand";
196
+ import {
197
+ GetMultiRegionAccessPointRoutesCommandInput,
198
+ GetMultiRegionAccessPointRoutesCommandOutput,
199
+ } from "./commands/GetMultiRegionAccessPointRoutesCommand";
196
200
  import {
197
201
  GetPublicAccessBlockCommandInput,
198
202
  GetPublicAccessBlockCommandOutput,
@@ -277,6 +281,10 @@ import {
277
281
  PutStorageLensConfigurationTaggingCommandInput,
278
282
  PutStorageLensConfigurationTaggingCommandOutput,
279
283
  } from "./commands/PutStorageLensConfigurationTaggingCommand";
284
+ import {
285
+ SubmitMultiRegionAccessPointRoutesCommandInput,
286
+ SubmitMultiRegionAccessPointRoutesCommandOutput,
287
+ } from "./commands/SubmitMultiRegionAccessPointRoutesCommand";
280
288
  import {
281
289
  UpdateJobPriorityCommandInput,
282
290
  UpdateJobPriorityCommandOutput,
@@ -327,6 +335,7 @@ export declare type ServiceInputTypes =
327
335
  | GetMultiRegionAccessPointCommandInput
328
336
  | GetMultiRegionAccessPointPolicyCommandInput
329
337
  | GetMultiRegionAccessPointPolicyStatusCommandInput
338
+ | GetMultiRegionAccessPointRoutesCommandInput
330
339
  | GetPublicAccessBlockCommandInput
331
340
  | GetStorageLensConfigurationCommandInput
332
341
  | GetStorageLensConfigurationTaggingCommandInput
@@ -348,6 +357,7 @@ export declare type ServiceInputTypes =
348
357
  | PutPublicAccessBlockCommandInput
349
358
  | PutStorageLensConfigurationCommandInput
350
359
  | PutStorageLensConfigurationTaggingCommandInput
360
+ | SubmitMultiRegionAccessPointRoutesCommandInput
351
361
  | UpdateJobPriorityCommandInput
352
362
  | UpdateJobStatusCommandInput;
353
363
  export declare type ServiceOutputTypes =
@@ -387,6 +397,7 @@ export declare type ServiceOutputTypes =
387
397
  | GetMultiRegionAccessPointCommandOutput
388
398
  | GetMultiRegionAccessPointPolicyCommandOutput
389
399
  | GetMultiRegionAccessPointPolicyStatusCommandOutput
400
+ | GetMultiRegionAccessPointRoutesCommandOutput
390
401
  | GetPublicAccessBlockCommandOutput
391
402
  | GetStorageLensConfigurationCommandOutput
392
403
  | GetStorageLensConfigurationTaggingCommandOutput
@@ -408,6 +419,7 @@ export declare type ServiceOutputTypes =
408
419
  | PutPublicAccessBlockCommandOutput
409
420
  | PutStorageLensConfigurationCommandOutput
410
421
  | PutStorageLensConfigurationTaggingCommandOutput
422
+ | SubmitMultiRegionAccessPointRoutesCommandOutput
411
423
  | UpdateJobPriorityCommandOutput
412
424
  | UpdateJobStatusCommandOutput;
413
425
  export interface ClientDefaults
@@ -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
+ GetMultiRegionAccessPointRoutesRequest,
11
+ GetMultiRegionAccessPointRoutesResult,
12
+ } from "../models/models_0";
13
+ import {
14
+ S3ControlClientResolvedConfig,
15
+ ServiceInputTypes,
16
+ ServiceOutputTypes,
17
+ } from "../S3ControlClient";
18
+ export interface GetMultiRegionAccessPointRoutesCommandInput
19
+ extends GetMultiRegionAccessPointRoutesRequest {}
20
+ export interface GetMultiRegionAccessPointRoutesCommandOutput
21
+ extends GetMultiRegionAccessPointRoutesResult,
22
+ __MetadataBearer {}
23
+ export declare class GetMultiRegionAccessPointRoutesCommand extends $Command<
24
+ GetMultiRegionAccessPointRoutesCommandInput,
25
+ GetMultiRegionAccessPointRoutesCommandOutput,
26
+ S3ControlClientResolvedConfig
27
+ > {
28
+ readonly input: GetMultiRegionAccessPointRoutesCommandInput;
29
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
30
+ constructor(input: GetMultiRegionAccessPointRoutesCommandInput);
31
+ resolveMiddleware(
32
+ clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
33
+ configuration: S3ControlClientResolvedConfig,
34
+ options?: __HttpHandlerOptions
35
+ ): Handler<
36
+ GetMultiRegionAccessPointRoutesCommandInput,
37
+ GetMultiRegionAccessPointRoutesCommandOutput
38
+ >;
39
+ private serialize;
40
+ private deserialize;
41
+ }
@@ -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
+ SubmitMultiRegionAccessPointRoutesRequest,
11
+ SubmitMultiRegionAccessPointRoutesResult,
12
+ } from "../models/models_0";
13
+ import {
14
+ S3ControlClientResolvedConfig,
15
+ ServiceInputTypes,
16
+ ServiceOutputTypes,
17
+ } from "../S3ControlClient";
18
+ export interface SubmitMultiRegionAccessPointRoutesCommandInput
19
+ extends SubmitMultiRegionAccessPointRoutesRequest {}
20
+ export interface SubmitMultiRegionAccessPointRoutesCommandOutput
21
+ extends SubmitMultiRegionAccessPointRoutesResult,
22
+ __MetadataBearer {}
23
+ export declare class SubmitMultiRegionAccessPointRoutesCommand extends $Command<
24
+ SubmitMultiRegionAccessPointRoutesCommandInput,
25
+ SubmitMultiRegionAccessPointRoutesCommandOutput,
26
+ S3ControlClientResolvedConfig
27
+ > {
28
+ readonly input: SubmitMultiRegionAccessPointRoutesCommandInput;
29
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
30
+ constructor(input: SubmitMultiRegionAccessPointRoutesCommandInput);
31
+ resolveMiddleware(
32
+ clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
33
+ configuration: S3ControlClientResolvedConfig,
34
+ options?: __HttpHandlerOptions
35
+ ): Handler<
36
+ SubmitMultiRegionAccessPointRoutesCommandInput,
37
+ SubmitMultiRegionAccessPointRoutesCommandOutput
38
+ >;
39
+ private serialize;
40
+ private deserialize;
41
+ }
@@ -34,6 +34,7 @@ export * from "./GetJobTaggingCommand";
34
34
  export * from "./GetMultiRegionAccessPointCommand";
35
35
  export * from "./GetMultiRegionAccessPointPolicyCommand";
36
36
  export * from "./GetMultiRegionAccessPointPolicyStatusCommand";
37
+ export * from "./GetMultiRegionAccessPointRoutesCommand";
37
38
  export * from "./GetPublicAccessBlockCommand";
38
39
  export * from "./GetStorageLensConfigurationCommand";
39
40
  export * from "./GetStorageLensConfigurationTaggingCommand";
@@ -55,5 +56,6 @@ export * from "./PutMultiRegionAccessPointPolicyCommand";
55
56
  export * from "./PutPublicAccessBlockCommand";
56
57
  export * from "./PutStorageLensConfigurationCommand";
57
58
  export * from "./PutStorageLensConfigurationTaggingCommand";
59
+ export * from "./SubmitMultiRegionAccessPointRoutesCommand";
58
60
  export * from "./UpdateJobPriorityCommand";
59
61
  export * from "./UpdateJobStatusCommand";
@@ -888,6 +888,19 @@ export interface GetMultiRegionAccessPointPolicyStatusRequest {
888
888
  export interface GetMultiRegionAccessPointPolicyStatusResult {
889
889
  Established?: PolicyStatus;
890
890
  }
891
+ export interface GetMultiRegionAccessPointRoutesRequest {
892
+ AccountId?: string;
893
+ Mrap: string | undefined;
894
+ }
895
+ export interface MultiRegionAccessPointRoute {
896
+ Bucket?: string;
897
+ Region?: string;
898
+ TrafficDialPercentage: number | undefined;
899
+ }
900
+ export interface GetMultiRegionAccessPointRoutesResult {
901
+ Mrap?: string;
902
+ Routes?: MultiRegionAccessPointRoute[];
903
+ }
891
904
  export interface GetPublicAccessBlockOutput {
892
905
  PublicAccessBlockConfiguration?: PublicAccessBlockConfiguration;
893
906
  }
@@ -1173,6 +1186,12 @@ export interface PutStorageLensConfigurationTaggingRequest {
1173
1186
  Tags: StorageLensTag[] | undefined;
1174
1187
  }
1175
1188
  export interface PutStorageLensConfigurationTaggingResult {}
1189
+ export interface SubmitMultiRegionAccessPointRoutesRequest {
1190
+ AccountId?: string;
1191
+ Mrap: string | undefined;
1192
+ RouteUpdates: MultiRegionAccessPointRoute[] | undefined;
1193
+ }
1194
+ export interface SubmitMultiRegionAccessPointRoutesResult {}
1176
1195
  export interface UpdateJobPriorityRequest {
1177
1196
  AccountId?: string;
1178
1197
  JobId: string | undefined;
@@ -1583,6 +1602,15 @@ export declare const GetMultiRegionAccessPointPolicyStatusRequestFilterSensitive
1583
1602
  export declare const GetMultiRegionAccessPointPolicyStatusResultFilterSensitiveLog: (
1584
1603
  obj: GetMultiRegionAccessPointPolicyStatusResult
1585
1604
  ) => any;
1605
+ export declare const GetMultiRegionAccessPointRoutesRequestFilterSensitiveLog: (
1606
+ obj: GetMultiRegionAccessPointRoutesRequest
1607
+ ) => any;
1608
+ export declare const MultiRegionAccessPointRouteFilterSensitiveLog: (
1609
+ obj: MultiRegionAccessPointRoute
1610
+ ) => any;
1611
+ export declare const GetMultiRegionAccessPointRoutesResultFilterSensitiveLog: (
1612
+ obj: GetMultiRegionAccessPointRoutesResult
1613
+ ) => any;
1586
1614
  export declare const GetPublicAccessBlockOutputFilterSensitiveLog: (
1587
1615
  obj: GetPublicAccessBlockOutput
1588
1616
  ) => any;
@@ -1726,6 +1754,12 @@ export declare const PutStorageLensConfigurationTaggingRequestFilterSensitiveLog
1726
1754
  export declare const PutStorageLensConfigurationTaggingResultFilterSensitiveLog: (
1727
1755
  obj: PutStorageLensConfigurationTaggingResult
1728
1756
  ) => any;
1757
+ export declare const SubmitMultiRegionAccessPointRoutesRequestFilterSensitiveLog: (
1758
+ obj: SubmitMultiRegionAccessPointRoutesRequest
1759
+ ) => any;
1760
+ export declare const SubmitMultiRegionAccessPointRoutesResultFilterSensitiveLog: (
1761
+ obj: SubmitMultiRegionAccessPointRoutesResult
1762
+ ) => any;
1729
1763
  export declare const UpdateJobPriorityRequestFilterSensitiveLog: (
1730
1764
  obj: UpdateJobPriorityRequest
1731
1765
  ) => any;
@@ -147,6 +147,10 @@ import {
147
147
  GetMultiRegionAccessPointPolicyStatusCommandInput,
148
148
  GetMultiRegionAccessPointPolicyStatusCommandOutput,
149
149
  } from "../commands/GetMultiRegionAccessPointPolicyStatusCommand";
150
+ import {
151
+ GetMultiRegionAccessPointRoutesCommandInput,
152
+ GetMultiRegionAccessPointRoutesCommandOutput,
153
+ } from "../commands/GetMultiRegionAccessPointRoutesCommand";
150
154
  import {
151
155
  GetPublicAccessBlockCommandInput,
152
156
  GetPublicAccessBlockCommandOutput,
@@ -231,6 +235,10 @@ import {
231
235
  PutStorageLensConfigurationTaggingCommandInput,
232
236
  PutStorageLensConfigurationTaggingCommandOutput,
233
237
  } from "../commands/PutStorageLensConfigurationTaggingCommand";
238
+ import {
239
+ SubmitMultiRegionAccessPointRoutesCommandInput,
240
+ SubmitMultiRegionAccessPointRoutesCommandOutput,
241
+ } from "../commands/SubmitMultiRegionAccessPointRoutesCommand";
234
242
  import {
235
243
  UpdateJobPriorityCommandInput,
236
244
  UpdateJobPriorityCommandOutput,
@@ -383,6 +391,10 @@ export declare const serializeAws_restXmlGetMultiRegionAccessPointPolicyStatusCo
383
391
  input: GetMultiRegionAccessPointPolicyStatusCommandInput,
384
392
  context: __SerdeContext
385
393
  ) => Promise<__HttpRequest>;
394
+ export declare const serializeAws_restXmlGetMultiRegionAccessPointRoutesCommand: (
395
+ input: GetMultiRegionAccessPointRoutesCommandInput,
396
+ context: __SerdeContext
397
+ ) => Promise<__HttpRequest>;
386
398
  export declare const serializeAws_restXmlGetPublicAccessBlockCommand: (
387
399
  input: GetPublicAccessBlockCommandInput,
388
400
  context: __SerdeContext
@@ -467,6 +479,10 @@ export declare const serializeAws_restXmlPutStorageLensConfigurationTaggingComma
467
479
  input: PutStorageLensConfigurationTaggingCommandInput,
468
480
  context: __SerdeContext
469
481
  ) => Promise<__HttpRequest>;
482
+ export declare const serializeAws_restXmlSubmitMultiRegionAccessPointRoutesCommand: (
483
+ input: SubmitMultiRegionAccessPointRoutesCommandInput,
484
+ context: __SerdeContext
485
+ ) => Promise<__HttpRequest>;
470
486
  export declare const serializeAws_restXmlUpdateJobPriorityCommand: (
471
487
  input: UpdateJobPriorityCommandInput,
472
488
  context: __SerdeContext
@@ -619,6 +635,10 @@ export declare const deserializeAws_restXmlGetMultiRegionAccessPointPolicyStatus
619
635
  output: __HttpResponse,
620
636
  context: __SerdeContext
621
637
  ) => Promise<GetMultiRegionAccessPointPolicyStatusCommandOutput>;
638
+ export declare const deserializeAws_restXmlGetMultiRegionAccessPointRoutesCommand: (
639
+ output: __HttpResponse,
640
+ context: __SerdeContext
641
+ ) => Promise<GetMultiRegionAccessPointRoutesCommandOutput>;
622
642
  export declare const deserializeAws_restXmlGetPublicAccessBlockCommand: (
623
643
  output: __HttpResponse,
624
644
  context: __SerdeContext
@@ -703,6 +723,10 @@ export declare const deserializeAws_restXmlPutStorageLensConfigurationTaggingCom
703
723
  output: __HttpResponse,
704
724
  context: __SerdeContext
705
725
  ) => Promise<PutStorageLensConfigurationTaggingCommandOutput>;
726
+ export declare const deserializeAws_restXmlSubmitMultiRegionAccessPointRoutesCommand: (
727
+ output: __HttpResponse,
728
+ context: __SerdeContext
729
+ ) => Promise<SubmitMultiRegionAccessPointRoutesCommandOutput>;
706
730
  export declare const deserializeAws_restXmlUpdateJobPriorityCommand: (
707
731
  output: __HttpResponse,
708
732
  context: __SerdeContext
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-s3-control",
3
3
  "description": "AWS SDK for JavaScript S3 Control Client for Node.js, Browser and React Native",
4
- "version": "3.218.0",
4
+ "version": "3.219.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",