@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.
- package/dist-cjs/S3Control.js +30 -0
- package/dist-cjs/commands/GetMultiRegionAccessPointRoutesCommand.js +52 -0
- package/dist-cjs/commands/SubmitMultiRegionAccessPointRoutesCommand.js +52 -0
- package/dist-cjs/commands/index.js +2 -0
- package/dist-cjs/endpoint/ruleset.js +19 -19
- package/dist-cjs/models/models_0.js +22 -2
- package/dist-cjs/protocols/Aws_restXml.js +191 -9
- package/dist-es/S3Control.js +30 -0
- package/dist-es/commands/GetMultiRegionAccessPointRoutesCommand.js +48 -0
- package/dist-es/commands/SubmitMultiRegionAccessPointRoutesCommand.js +48 -0
- package/dist-es/commands/index.js +2 -0
- package/dist-es/endpoint/ruleset.js +19 -19
- package/dist-es/models/models_0.js +15 -0
- package/dist-es/protocols/Aws_restXml.js +184 -6
- package/dist-types/S3Control.d.ts +113 -16
- package/dist-types/S3ControlClient.d.ts +4 -2
- package/dist-types/commands/GetBucketVersioningCommand.d.ts +6 -5
- package/dist-types/commands/GetMultiRegionAccessPointRoutesCommand.d.ts +70 -0
- package/dist-types/commands/PutBucketVersioningCommand.d.ts +14 -11
- package/dist-types/commands/SubmitMultiRegionAccessPointRoutesCommand.d.ts +83 -0
- package/dist-types/commands/index.d.ts +2 -0
- package/dist-types/models/models_0.d.ts +112 -13
- package/dist-types/protocols/Aws_restXml.d.ts +6 -0
- package/dist-types/ts3.4/S3Control.d.ts +40 -0
- package/dist-types/ts3.4/S3ControlClient.d.ts +12 -0
- package/dist-types/ts3.4/commands/GetMultiRegionAccessPointRoutesCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/SubmitMultiRegionAccessPointRoutesCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/index.d.ts +2 -0
- package/dist-types/ts3.4/models/models_0.d.ts +34 -0
- package/dist-types/ts3.4/protocols/Aws_restXml.d.ts +24 -0
- package/package.json +1 -1
|
@@ -35,6 +35,7 @@ import { GetJobTaggingCommandInput, GetJobTaggingCommandOutput } from "./command
|
|
|
35
35
|
import { GetMultiRegionAccessPointCommandInput, GetMultiRegionAccessPointCommandOutput } from "./commands/GetMultiRegionAccessPointCommand";
|
|
36
36
|
import { GetMultiRegionAccessPointPolicyCommandInput, GetMultiRegionAccessPointPolicyCommandOutput } from "./commands/GetMultiRegionAccessPointPolicyCommand";
|
|
37
37
|
import { GetMultiRegionAccessPointPolicyStatusCommandInput, GetMultiRegionAccessPointPolicyStatusCommandOutput } from "./commands/GetMultiRegionAccessPointPolicyStatusCommand";
|
|
38
|
+
import { GetMultiRegionAccessPointRoutesCommandInput, GetMultiRegionAccessPointRoutesCommandOutput } from "./commands/GetMultiRegionAccessPointRoutesCommand";
|
|
38
39
|
import { GetPublicAccessBlockCommandInput, GetPublicAccessBlockCommandOutput } from "./commands/GetPublicAccessBlockCommand";
|
|
39
40
|
import { GetStorageLensConfigurationCommandInput, GetStorageLensConfigurationCommandOutput } from "./commands/GetStorageLensConfigurationCommand";
|
|
40
41
|
import { GetStorageLensConfigurationTaggingCommandInput, GetStorageLensConfigurationTaggingCommandOutput } from "./commands/GetStorageLensConfigurationTaggingCommand";
|
|
@@ -56,6 +57,7 @@ import { PutMultiRegionAccessPointPolicyCommandInput, PutMultiRegionAccessPointP
|
|
|
56
57
|
import { PutPublicAccessBlockCommandInput, PutPublicAccessBlockCommandOutput } from "./commands/PutPublicAccessBlockCommand";
|
|
57
58
|
import { PutStorageLensConfigurationCommandInput, PutStorageLensConfigurationCommandOutput } from "./commands/PutStorageLensConfigurationCommand";
|
|
58
59
|
import { PutStorageLensConfigurationTaggingCommandInput, PutStorageLensConfigurationTaggingCommandOutput } from "./commands/PutStorageLensConfigurationTaggingCommand";
|
|
60
|
+
import { SubmitMultiRegionAccessPointRoutesCommandInput, SubmitMultiRegionAccessPointRoutesCommandOutput } from "./commands/SubmitMultiRegionAccessPointRoutesCommand";
|
|
59
61
|
import { UpdateJobPriorityCommandInput, UpdateJobPriorityCommandOutput } from "./commands/UpdateJobPriorityCommand";
|
|
60
62
|
import { UpdateJobStatusCommandInput, UpdateJobStatusCommandOutput } from "./commands/UpdateJobStatusCommand";
|
|
61
63
|
import { S3ControlClient } from "./S3ControlClient";
|
|
@@ -983,12 +985,12 @@ export declare class S3Control extends S3ControlClient {
|
|
|
983
985
|
getBucketTagging(args: GetBucketTaggingCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetBucketTaggingCommandOutput) => void): void;
|
|
984
986
|
/**
|
|
985
987
|
* <note>
|
|
986
|
-
* <p>This operation returns the versioning state only for S3 on Outposts buckets. To return
|
|
987
|
-
* state for an S3 bucket, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetBucketVersioning.html">GetBucketVersioning</a> in
|
|
988
|
+
* <p>This operation returns the versioning state only for S3 on Outposts buckets. To return
|
|
989
|
+
* the versioning state for an S3 bucket, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetBucketVersioning.html">GetBucketVersioning</a> in
|
|
988
990
|
* the <i>Amazon S3 API Reference</i>. </p>
|
|
989
991
|
* </note>
|
|
990
|
-
* <p>Returns the versioning state for an S3 on Outposts bucket. With versioning, you can save
|
|
991
|
-
* distinct copies of your data and recover from unintended user actions and
|
|
992
|
+
* <p>Returns the versioning state for an S3 on Outposts bucket. With versioning, you can save
|
|
993
|
+
* multiple distinct copies of your data and recover from unintended user actions and
|
|
992
994
|
* application failures.</p>
|
|
993
995
|
* <p>If you've never set versioning on your bucket, it has no versioning state. In that case,
|
|
994
996
|
* the <code>GetBucketVersioning</code> request does not return a versioning state
|
|
@@ -996,7 +998,8 @@ export declare class S3Control extends S3ControlClient {
|
|
|
996
998
|
* <p>For more information about versioning, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/Versioning.html">Versioning</a> in the <i>Amazon S3
|
|
997
999
|
* User Guide</i>.</p>
|
|
998
1000
|
* <p>All Amazon S3 on Outposts REST API requests for this action require an additional parameter of <code>x-amz-outpost-id</code> to be passed with the request. In addition, you must use an S3 on Outposts endpoint hostname prefix instead of <code>s3-control</code>. For an example of the request syntax for Amazon S3 on Outposts that uses the S3 on Outposts endpoint hostname prefix and the <code>x-amz-outpost-id</code> derived by using the access point ARN, see the <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_GetBucketVersioning.html#API_control_GetBucketVersioning_Examples">Examples</a> section.</p>
|
|
999
|
-
* <p>The following operations are related to <code>GetBucketVersioning</code> for
|
|
1001
|
+
* <p>The following operations are related to <code>GetBucketVersioning</code> for
|
|
1002
|
+
* S3 on Outposts.</p>
|
|
1000
1003
|
* <ul>
|
|
1001
1004
|
* <li>
|
|
1002
1005
|
* <p>
|
|
@@ -1126,6 +1129,45 @@ export declare class S3Control extends S3ControlClient {
|
|
|
1126
1129
|
getMultiRegionAccessPointPolicyStatus(args: GetMultiRegionAccessPointPolicyStatusCommandInput, options?: __HttpHandlerOptions): Promise<GetMultiRegionAccessPointPolicyStatusCommandOutput>;
|
|
1127
1130
|
getMultiRegionAccessPointPolicyStatus(args: GetMultiRegionAccessPointPolicyStatusCommandInput, cb: (err: any, data?: GetMultiRegionAccessPointPolicyStatusCommandOutput) => void): void;
|
|
1128
1131
|
getMultiRegionAccessPointPolicyStatus(args: GetMultiRegionAccessPointPolicyStatusCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetMultiRegionAccessPointPolicyStatusCommandOutput) => void): void;
|
|
1132
|
+
/**
|
|
1133
|
+
* <p>Returns the routing configuration for a Multi-Region Access Point, indicating which Regions are active or
|
|
1134
|
+
* passive.</p>
|
|
1135
|
+
* <p>To obtain routing control changes and failover requests, use the Amazon S3 failover control
|
|
1136
|
+
* infrastructure endpoints in these five Amazon Web Services Regions:</p>
|
|
1137
|
+
* <ul>
|
|
1138
|
+
* <li>
|
|
1139
|
+
* <p>
|
|
1140
|
+
* <code>us-east-1</code>
|
|
1141
|
+
* </p>
|
|
1142
|
+
* </li>
|
|
1143
|
+
* <li>
|
|
1144
|
+
* <p>
|
|
1145
|
+
* <code>us-west-2</code>
|
|
1146
|
+
* </p>
|
|
1147
|
+
* </li>
|
|
1148
|
+
* <li>
|
|
1149
|
+
* <p>
|
|
1150
|
+
* <code>ap-southeast-2</code>
|
|
1151
|
+
* </p>
|
|
1152
|
+
* </li>
|
|
1153
|
+
* <li>
|
|
1154
|
+
* <p>
|
|
1155
|
+
* <code>ap-northeast-1</code>
|
|
1156
|
+
* </p>
|
|
1157
|
+
* </li>
|
|
1158
|
+
* <li>
|
|
1159
|
+
* <p>
|
|
1160
|
+
* <code>eu-west-1</code>
|
|
1161
|
+
* </p>
|
|
1162
|
+
* </li>
|
|
1163
|
+
* </ul>
|
|
1164
|
+
* <note>
|
|
1165
|
+
* <p>Your Amazon S3 bucket does not need to be in these five Regions.</p>
|
|
1166
|
+
* </note>
|
|
1167
|
+
*/
|
|
1168
|
+
getMultiRegionAccessPointRoutes(args: GetMultiRegionAccessPointRoutesCommandInput, options?: __HttpHandlerOptions): Promise<GetMultiRegionAccessPointRoutesCommandOutput>;
|
|
1169
|
+
getMultiRegionAccessPointRoutes(args: GetMultiRegionAccessPointRoutesCommandInput, cb: (err: any, data?: GetMultiRegionAccessPointRoutesCommandOutput) => void): void;
|
|
1170
|
+
getMultiRegionAccessPointRoutes(args: GetMultiRegionAccessPointRoutesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetMultiRegionAccessPointRoutesCommandOutput) => void): void;
|
|
1129
1171
|
/**
|
|
1130
1172
|
* <p>Retrieves the <code>PublicAccessBlock</code> configuration for an Amazon Web Services account. For
|
|
1131
1173
|
* more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/access-control-block-public-access.html"> Using Amazon S3 block
|
|
@@ -1554,15 +1596,15 @@ export declare class S3Control extends S3ControlClient {
|
|
|
1554
1596
|
* versioning state for an S3 bucket, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutBucketVersioning.html">PutBucketVersioning</a> in
|
|
1555
1597
|
* the <i>Amazon S3 API Reference</i>. </p>
|
|
1556
1598
|
* </note>
|
|
1557
|
-
* <p>Sets the versioning state for an S3 on Outposts bucket. With versioning, you can save
|
|
1558
|
-
* distinct copies of your data and recover from unintended user actions and
|
|
1599
|
+
* <p>Sets the versioning state for an S3 on Outposts bucket. With versioning, you can save
|
|
1600
|
+
* multiple distinct copies of your data and recover from unintended user actions and
|
|
1559
1601
|
* application failures.</p>
|
|
1560
1602
|
* <p>You can set the versioning state to one of the following:</p>
|
|
1561
1603
|
* <ul>
|
|
1562
1604
|
* <li>
|
|
1563
1605
|
* <p>
|
|
1564
|
-
* <b>Enabled</b> - Enables versioning for the objects in
|
|
1565
|
-
* All objects added to the bucket receive a unique version ID.</p>
|
|
1606
|
+
* <b>Enabled</b> - Enables versioning for the objects in
|
|
1607
|
+
* the bucket. All objects added to the bucket receive a unique version ID.</p>
|
|
1566
1608
|
* </li>
|
|
1567
1609
|
* <li>
|
|
1568
1610
|
* <p>
|
|
@@ -1571,8 +1613,8 @@ export declare class S3Control extends S3ControlClient {
|
|
|
1571
1613
|
* <code>null</code>.</p>
|
|
1572
1614
|
* </li>
|
|
1573
1615
|
* </ul>
|
|
1574
|
-
* <p>If you've never set versioning on your bucket, it has no versioning state. In that
|
|
1575
|
-
*
|
|
1616
|
+
* <p>If you've never set versioning on your bucket, it has no versioning state. In that case,
|
|
1617
|
+
* a <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_GetBucketVersioning.html">
|
|
1576
1618
|
* GetBucketVersioning</a> request does not return a versioning state value.</p>
|
|
1577
1619
|
* <p>When you enable S3 Versioning, for each object in your bucket, you have a current
|
|
1578
1620
|
* version and zero or more noncurrent versions. You can configure your bucket S3 Lifecycle
|
|
@@ -1580,12 +1622,15 @@ export declare class S3Control extends S3ControlClient {
|
|
|
1580
1622
|
* see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/S3OutpostsLifecycleManaging.html"> Creating and managing
|
|
1581
1623
|
* a lifecycle configuration for your S3 on Outposts bucket</a> in the <i>Amazon S3
|
|
1582
1624
|
* User Guide</i>.</p>
|
|
1583
|
-
* <p>If you have an object expiration lifecycle policy in your non-versioned bucket and you
|
|
1584
|
-
*
|
|
1585
|
-
*
|
|
1586
|
-
*
|
|
1625
|
+
* <p>If you have an object expiration lifecycle policy in your non-versioned bucket and you
|
|
1626
|
+
* want to maintain the same permanent delete behavior when you enable versioning, you must
|
|
1627
|
+
* add a noncurrent expiration policy. The noncurrent expiration lifecycle policy will manage
|
|
1628
|
+
* the deletes of the noncurrent object versions in the version-enabled bucket. For more
|
|
1629
|
+
* information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/Versioning.html">Versioning</a> in the <i>Amazon S3
|
|
1630
|
+
* User Guide</i>.</p>
|
|
1587
1631
|
* <p>All Amazon S3 on Outposts REST API requests for this action require an additional parameter of <code>x-amz-outpost-id</code> to be passed with the request. In addition, you must use an S3 on Outposts endpoint hostname prefix instead of <code>s3-control</code>. For an example of the request syntax for Amazon S3 on Outposts that uses the S3 on Outposts endpoint hostname prefix and the <code>x-amz-outpost-id</code> derived by using the access point ARN, see the <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_PutBucketVersioning.html#API_control_PutBucketVersioning_Examples">Examples</a> section.</p>
|
|
1588
|
-
* <p>The following operations are related to <code>PutBucketVersioning</code> for
|
|
1632
|
+
* <p>The following operations are related to <code>PutBucketVersioning</code> for
|
|
1633
|
+
* S3 on Outposts.</p>
|
|
1589
1634
|
* <ul>
|
|
1590
1635
|
* <li>
|
|
1591
1636
|
* <p>
|
|
@@ -1750,6 +1795,58 @@ export declare class S3Control extends S3ControlClient {
|
|
|
1750
1795
|
putStorageLensConfigurationTagging(args: PutStorageLensConfigurationTaggingCommandInput, options?: __HttpHandlerOptions): Promise<PutStorageLensConfigurationTaggingCommandOutput>;
|
|
1751
1796
|
putStorageLensConfigurationTagging(args: PutStorageLensConfigurationTaggingCommandInput, cb: (err: any, data?: PutStorageLensConfigurationTaggingCommandOutput) => void): void;
|
|
1752
1797
|
putStorageLensConfigurationTagging(args: PutStorageLensConfigurationTaggingCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutStorageLensConfigurationTaggingCommandOutput) => void): void;
|
|
1798
|
+
/**
|
|
1799
|
+
* <p>Submits an updated route configuration for a Multi-Region Access Point. This API operation updates the
|
|
1800
|
+
* routing status for the specified Regions from active to passive, or from passive to active.
|
|
1801
|
+
* A value of <code>0</code> indicates a passive status, which means that traffic won't be
|
|
1802
|
+
* routed to the specified Region. A value of <code>100</code> indicates an active status,
|
|
1803
|
+
* which means that traffic will be routed to the specified Region. At least one Region must be active at all times.</p>
|
|
1804
|
+
* <p>When
|
|
1805
|
+
* the routing configuration is changed, any in-progress operations (uploads, copies, deletes,
|
|
1806
|
+
* and so on) to formerly active Regions will continue to run to their
|
|
1807
|
+
* final completion state (success or failure). The routing configurations of any Regions that
|
|
1808
|
+
* aren’t specified remain unchanged.</p>
|
|
1809
|
+
* <note>
|
|
1810
|
+
* <p>Updated routing configurations might not be immediately applied.
|
|
1811
|
+
* It
|
|
1812
|
+
* can take up to 2 minutes for your changes to take effect.</p>
|
|
1813
|
+
* </note>
|
|
1814
|
+
* <p>To submit routing control changes and failover requests, use the Amazon S3 failover control
|
|
1815
|
+
* infrastructure endpoints in these five Amazon Web Services Regions:</p>
|
|
1816
|
+
* <ul>
|
|
1817
|
+
* <li>
|
|
1818
|
+
* <p>
|
|
1819
|
+
* <code>us-east-1</code>
|
|
1820
|
+
* </p>
|
|
1821
|
+
* </li>
|
|
1822
|
+
* <li>
|
|
1823
|
+
* <p>
|
|
1824
|
+
* <code>us-west-2</code>
|
|
1825
|
+
* </p>
|
|
1826
|
+
* </li>
|
|
1827
|
+
* <li>
|
|
1828
|
+
* <p>
|
|
1829
|
+
* <code>ap-southeast-2</code>
|
|
1830
|
+
* </p>
|
|
1831
|
+
* </li>
|
|
1832
|
+
* <li>
|
|
1833
|
+
* <p>
|
|
1834
|
+
* <code>ap-northeast-1</code>
|
|
1835
|
+
* </p>
|
|
1836
|
+
* </li>
|
|
1837
|
+
* <li>
|
|
1838
|
+
* <p>
|
|
1839
|
+
* <code>eu-west-1</code>
|
|
1840
|
+
* </p>
|
|
1841
|
+
* </li>
|
|
1842
|
+
* </ul>
|
|
1843
|
+
* <note>
|
|
1844
|
+
* <p>Your Amazon S3 bucket does not need to be in these five Regions.</p>
|
|
1845
|
+
* </note>
|
|
1846
|
+
*/
|
|
1847
|
+
submitMultiRegionAccessPointRoutes(args: SubmitMultiRegionAccessPointRoutesCommandInput, options?: __HttpHandlerOptions): Promise<SubmitMultiRegionAccessPointRoutesCommandOutput>;
|
|
1848
|
+
submitMultiRegionAccessPointRoutes(args: SubmitMultiRegionAccessPointRoutesCommandInput, cb: (err: any, data?: SubmitMultiRegionAccessPointRoutesCommandOutput) => void): void;
|
|
1849
|
+
submitMultiRegionAccessPointRoutes(args: SubmitMultiRegionAccessPointRoutesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: SubmitMultiRegionAccessPointRoutesCommandOutput) => void): void;
|
|
1753
1850
|
/**
|
|
1754
1851
|
* <p>Updates an existing S3 Batch Operations job's priority. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/batch-ops.html">S3 Batch Operations</a> in the <i>Amazon S3 User Guide</i>.</p>
|
|
1755
1852
|
* <p></p>
|
|
@@ -46,6 +46,7 @@ import { GetJobTaggingCommandInput, GetJobTaggingCommandOutput } from "./command
|
|
|
46
46
|
import { GetMultiRegionAccessPointCommandInput, GetMultiRegionAccessPointCommandOutput } from "./commands/GetMultiRegionAccessPointCommand";
|
|
47
47
|
import { GetMultiRegionAccessPointPolicyCommandInput, GetMultiRegionAccessPointPolicyCommandOutput } from "./commands/GetMultiRegionAccessPointPolicyCommand";
|
|
48
48
|
import { GetMultiRegionAccessPointPolicyStatusCommandInput, GetMultiRegionAccessPointPolicyStatusCommandOutput } from "./commands/GetMultiRegionAccessPointPolicyStatusCommand";
|
|
49
|
+
import { GetMultiRegionAccessPointRoutesCommandInput, GetMultiRegionAccessPointRoutesCommandOutput } from "./commands/GetMultiRegionAccessPointRoutesCommand";
|
|
49
50
|
import { GetPublicAccessBlockCommandInput, GetPublicAccessBlockCommandOutput } from "./commands/GetPublicAccessBlockCommand";
|
|
50
51
|
import { GetStorageLensConfigurationCommandInput, GetStorageLensConfigurationCommandOutput } from "./commands/GetStorageLensConfigurationCommand";
|
|
51
52
|
import { GetStorageLensConfigurationTaggingCommandInput, GetStorageLensConfigurationTaggingCommandOutput } from "./commands/GetStorageLensConfigurationTaggingCommand";
|
|
@@ -67,11 +68,12 @@ import { PutMultiRegionAccessPointPolicyCommandInput, PutMultiRegionAccessPointP
|
|
|
67
68
|
import { PutPublicAccessBlockCommandInput, PutPublicAccessBlockCommandOutput } from "./commands/PutPublicAccessBlockCommand";
|
|
68
69
|
import { PutStorageLensConfigurationCommandInput, PutStorageLensConfigurationCommandOutput } from "./commands/PutStorageLensConfigurationCommand";
|
|
69
70
|
import { PutStorageLensConfigurationTaggingCommandInput, PutStorageLensConfigurationTaggingCommandOutput } from "./commands/PutStorageLensConfigurationTaggingCommand";
|
|
71
|
+
import { SubmitMultiRegionAccessPointRoutesCommandInput, SubmitMultiRegionAccessPointRoutesCommandOutput } from "./commands/SubmitMultiRegionAccessPointRoutesCommand";
|
|
70
72
|
import { UpdateJobPriorityCommandInput, UpdateJobPriorityCommandOutput } from "./commands/UpdateJobPriorityCommand";
|
|
71
73
|
import { UpdateJobStatusCommandInput, UpdateJobStatusCommandOutput } from "./commands/UpdateJobStatusCommand";
|
|
72
74
|
import { ClientInputEndpointParameters, ClientResolvedEndpointParameters, EndpointParameters } from "./endpoint/EndpointParameters";
|
|
73
|
-
export declare type ServiceInputTypes = CreateAccessPointCommandInput | CreateAccessPointForObjectLambdaCommandInput | CreateBucketCommandInput | CreateJobCommandInput | CreateMultiRegionAccessPointCommandInput | DeleteAccessPointCommandInput | DeleteAccessPointForObjectLambdaCommandInput | DeleteAccessPointPolicyCommandInput | DeleteAccessPointPolicyForObjectLambdaCommandInput | DeleteBucketCommandInput | DeleteBucketLifecycleConfigurationCommandInput | DeleteBucketPolicyCommandInput | DeleteBucketTaggingCommandInput | DeleteJobTaggingCommandInput | DeleteMultiRegionAccessPointCommandInput | DeletePublicAccessBlockCommandInput | DeleteStorageLensConfigurationCommandInput | DeleteStorageLensConfigurationTaggingCommandInput | DescribeJobCommandInput | DescribeMultiRegionAccessPointOperationCommandInput | GetAccessPointCommandInput | GetAccessPointConfigurationForObjectLambdaCommandInput | GetAccessPointForObjectLambdaCommandInput | GetAccessPointPolicyCommandInput | GetAccessPointPolicyForObjectLambdaCommandInput | GetAccessPointPolicyStatusCommandInput | GetAccessPointPolicyStatusForObjectLambdaCommandInput | GetBucketCommandInput | GetBucketLifecycleConfigurationCommandInput | GetBucketPolicyCommandInput | GetBucketTaggingCommandInput | GetBucketVersioningCommandInput | GetJobTaggingCommandInput | GetMultiRegionAccessPointCommandInput | GetMultiRegionAccessPointPolicyCommandInput | GetMultiRegionAccessPointPolicyStatusCommandInput | GetPublicAccessBlockCommandInput | GetStorageLensConfigurationCommandInput | GetStorageLensConfigurationTaggingCommandInput | ListAccessPointsCommandInput | ListAccessPointsForObjectLambdaCommandInput | ListJobsCommandInput | ListMultiRegionAccessPointsCommandInput | ListRegionalBucketsCommandInput | ListStorageLensConfigurationsCommandInput | PutAccessPointConfigurationForObjectLambdaCommandInput | PutAccessPointPolicyCommandInput | PutAccessPointPolicyForObjectLambdaCommandInput | PutBucketLifecycleConfigurationCommandInput | PutBucketPolicyCommandInput | PutBucketTaggingCommandInput | PutBucketVersioningCommandInput | PutJobTaggingCommandInput | PutMultiRegionAccessPointPolicyCommandInput | PutPublicAccessBlockCommandInput | PutStorageLensConfigurationCommandInput | PutStorageLensConfigurationTaggingCommandInput | UpdateJobPriorityCommandInput | UpdateJobStatusCommandInput;
|
|
74
|
-
export declare type ServiceOutputTypes = CreateAccessPointCommandOutput | CreateAccessPointForObjectLambdaCommandOutput | CreateBucketCommandOutput | CreateJobCommandOutput | CreateMultiRegionAccessPointCommandOutput | DeleteAccessPointCommandOutput | DeleteAccessPointForObjectLambdaCommandOutput | DeleteAccessPointPolicyCommandOutput | DeleteAccessPointPolicyForObjectLambdaCommandOutput | DeleteBucketCommandOutput | DeleteBucketLifecycleConfigurationCommandOutput | DeleteBucketPolicyCommandOutput | DeleteBucketTaggingCommandOutput | DeleteJobTaggingCommandOutput | DeleteMultiRegionAccessPointCommandOutput | DeletePublicAccessBlockCommandOutput | DeleteStorageLensConfigurationCommandOutput | DeleteStorageLensConfigurationTaggingCommandOutput | DescribeJobCommandOutput | DescribeMultiRegionAccessPointOperationCommandOutput | GetAccessPointCommandOutput | GetAccessPointConfigurationForObjectLambdaCommandOutput | GetAccessPointForObjectLambdaCommandOutput | GetAccessPointPolicyCommandOutput | GetAccessPointPolicyForObjectLambdaCommandOutput | GetAccessPointPolicyStatusCommandOutput | GetAccessPointPolicyStatusForObjectLambdaCommandOutput | GetBucketCommandOutput | GetBucketLifecycleConfigurationCommandOutput | GetBucketPolicyCommandOutput | GetBucketTaggingCommandOutput | GetBucketVersioningCommandOutput | GetJobTaggingCommandOutput | GetMultiRegionAccessPointCommandOutput | GetMultiRegionAccessPointPolicyCommandOutput | GetMultiRegionAccessPointPolicyStatusCommandOutput | GetPublicAccessBlockCommandOutput | GetStorageLensConfigurationCommandOutput | GetStorageLensConfigurationTaggingCommandOutput | ListAccessPointsCommandOutput | ListAccessPointsForObjectLambdaCommandOutput | ListJobsCommandOutput | ListMultiRegionAccessPointsCommandOutput | ListRegionalBucketsCommandOutput | ListStorageLensConfigurationsCommandOutput | PutAccessPointConfigurationForObjectLambdaCommandOutput | PutAccessPointPolicyCommandOutput | PutAccessPointPolicyForObjectLambdaCommandOutput | PutBucketLifecycleConfigurationCommandOutput | PutBucketPolicyCommandOutput | PutBucketTaggingCommandOutput | PutBucketVersioningCommandOutput | PutJobTaggingCommandOutput | PutMultiRegionAccessPointPolicyCommandOutput | PutPublicAccessBlockCommandOutput | PutStorageLensConfigurationCommandOutput | PutStorageLensConfigurationTaggingCommandOutput | UpdateJobPriorityCommandOutput | UpdateJobStatusCommandOutput;
|
|
75
|
+
export declare type ServiceInputTypes = CreateAccessPointCommandInput | CreateAccessPointForObjectLambdaCommandInput | CreateBucketCommandInput | CreateJobCommandInput | CreateMultiRegionAccessPointCommandInput | DeleteAccessPointCommandInput | DeleteAccessPointForObjectLambdaCommandInput | DeleteAccessPointPolicyCommandInput | DeleteAccessPointPolicyForObjectLambdaCommandInput | DeleteBucketCommandInput | DeleteBucketLifecycleConfigurationCommandInput | DeleteBucketPolicyCommandInput | DeleteBucketTaggingCommandInput | DeleteJobTaggingCommandInput | DeleteMultiRegionAccessPointCommandInput | DeletePublicAccessBlockCommandInput | DeleteStorageLensConfigurationCommandInput | DeleteStorageLensConfigurationTaggingCommandInput | DescribeJobCommandInput | DescribeMultiRegionAccessPointOperationCommandInput | GetAccessPointCommandInput | GetAccessPointConfigurationForObjectLambdaCommandInput | GetAccessPointForObjectLambdaCommandInput | GetAccessPointPolicyCommandInput | GetAccessPointPolicyForObjectLambdaCommandInput | GetAccessPointPolicyStatusCommandInput | GetAccessPointPolicyStatusForObjectLambdaCommandInput | GetBucketCommandInput | GetBucketLifecycleConfigurationCommandInput | GetBucketPolicyCommandInput | GetBucketTaggingCommandInput | GetBucketVersioningCommandInput | GetJobTaggingCommandInput | GetMultiRegionAccessPointCommandInput | GetMultiRegionAccessPointPolicyCommandInput | GetMultiRegionAccessPointPolicyStatusCommandInput | GetMultiRegionAccessPointRoutesCommandInput | GetPublicAccessBlockCommandInput | GetStorageLensConfigurationCommandInput | GetStorageLensConfigurationTaggingCommandInput | ListAccessPointsCommandInput | ListAccessPointsForObjectLambdaCommandInput | ListJobsCommandInput | ListMultiRegionAccessPointsCommandInput | ListRegionalBucketsCommandInput | ListStorageLensConfigurationsCommandInput | PutAccessPointConfigurationForObjectLambdaCommandInput | PutAccessPointPolicyCommandInput | PutAccessPointPolicyForObjectLambdaCommandInput | PutBucketLifecycleConfigurationCommandInput | PutBucketPolicyCommandInput | PutBucketTaggingCommandInput | PutBucketVersioningCommandInput | PutJobTaggingCommandInput | PutMultiRegionAccessPointPolicyCommandInput | PutPublicAccessBlockCommandInput | PutStorageLensConfigurationCommandInput | PutStorageLensConfigurationTaggingCommandInput | SubmitMultiRegionAccessPointRoutesCommandInput | UpdateJobPriorityCommandInput | UpdateJobStatusCommandInput;
|
|
76
|
+
export declare type ServiceOutputTypes = CreateAccessPointCommandOutput | CreateAccessPointForObjectLambdaCommandOutput | CreateBucketCommandOutput | CreateJobCommandOutput | CreateMultiRegionAccessPointCommandOutput | DeleteAccessPointCommandOutput | DeleteAccessPointForObjectLambdaCommandOutput | DeleteAccessPointPolicyCommandOutput | DeleteAccessPointPolicyForObjectLambdaCommandOutput | DeleteBucketCommandOutput | DeleteBucketLifecycleConfigurationCommandOutput | DeleteBucketPolicyCommandOutput | DeleteBucketTaggingCommandOutput | DeleteJobTaggingCommandOutput | DeleteMultiRegionAccessPointCommandOutput | DeletePublicAccessBlockCommandOutput | DeleteStorageLensConfigurationCommandOutput | DeleteStorageLensConfigurationTaggingCommandOutput | DescribeJobCommandOutput | DescribeMultiRegionAccessPointOperationCommandOutput | GetAccessPointCommandOutput | GetAccessPointConfigurationForObjectLambdaCommandOutput | GetAccessPointForObjectLambdaCommandOutput | GetAccessPointPolicyCommandOutput | GetAccessPointPolicyForObjectLambdaCommandOutput | GetAccessPointPolicyStatusCommandOutput | GetAccessPointPolicyStatusForObjectLambdaCommandOutput | GetBucketCommandOutput | GetBucketLifecycleConfigurationCommandOutput | GetBucketPolicyCommandOutput | GetBucketTaggingCommandOutput | GetBucketVersioningCommandOutput | GetJobTaggingCommandOutput | GetMultiRegionAccessPointCommandOutput | GetMultiRegionAccessPointPolicyCommandOutput | GetMultiRegionAccessPointPolicyStatusCommandOutput | GetMultiRegionAccessPointRoutesCommandOutput | GetPublicAccessBlockCommandOutput | GetStorageLensConfigurationCommandOutput | GetStorageLensConfigurationTaggingCommandOutput | ListAccessPointsCommandOutput | ListAccessPointsForObjectLambdaCommandOutput | ListJobsCommandOutput | ListMultiRegionAccessPointsCommandOutput | ListRegionalBucketsCommandOutput | ListStorageLensConfigurationsCommandOutput | PutAccessPointConfigurationForObjectLambdaCommandOutput | PutAccessPointPolicyCommandOutput | PutAccessPointPolicyForObjectLambdaCommandOutput | PutBucketLifecycleConfigurationCommandOutput | PutBucketPolicyCommandOutput | PutBucketTaggingCommandOutput | PutBucketVersioningCommandOutput | PutJobTaggingCommandOutput | PutMultiRegionAccessPointPolicyCommandOutput | PutPublicAccessBlockCommandOutput | PutStorageLensConfigurationCommandOutput | PutStorageLensConfigurationTaggingCommandOutput | SubmitMultiRegionAccessPointRoutesCommandOutput | UpdateJobPriorityCommandOutput | UpdateJobStatusCommandOutput;
|
|
75
77
|
export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
|
|
76
78
|
/**
|
|
77
79
|
* The HTTP handler to use. Fetch in browser and Https in Nodejs.
|
|
@@ -9,12 +9,12 @@ export interface GetBucketVersioningCommandOutput extends GetBucketVersioningRes
|
|
|
9
9
|
}
|
|
10
10
|
/**
|
|
11
11
|
* <note>
|
|
12
|
-
* <p>This operation returns the versioning state only for S3 on Outposts buckets. To return
|
|
13
|
-
* state for an S3 bucket, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetBucketVersioning.html">GetBucketVersioning</a> in
|
|
12
|
+
* <p>This operation returns the versioning state only for S3 on Outposts buckets. To return
|
|
13
|
+
* the versioning state for an S3 bucket, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetBucketVersioning.html">GetBucketVersioning</a> in
|
|
14
14
|
* the <i>Amazon S3 API Reference</i>. </p>
|
|
15
15
|
* </note>
|
|
16
|
-
* <p>Returns the versioning state for an S3 on Outposts bucket. With versioning, you can save
|
|
17
|
-
* distinct copies of your data and recover from unintended user actions and
|
|
16
|
+
* <p>Returns the versioning state for an S3 on Outposts bucket. With versioning, you can save
|
|
17
|
+
* multiple distinct copies of your data and recover from unintended user actions and
|
|
18
18
|
* application failures.</p>
|
|
19
19
|
* <p>If you've never set versioning on your bucket, it has no versioning state. In that case,
|
|
20
20
|
* the <code>GetBucketVersioning</code> request does not return a versioning state
|
|
@@ -22,7 +22,8 @@ export interface GetBucketVersioningCommandOutput extends GetBucketVersioningRes
|
|
|
22
22
|
* <p>For more information about versioning, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/Versioning.html">Versioning</a> in the <i>Amazon S3
|
|
23
23
|
* User Guide</i>.</p>
|
|
24
24
|
* <p>All Amazon S3 on Outposts REST API requests for this action require an additional parameter of <code>x-amz-outpost-id</code> to be passed with the request. In addition, you must use an S3 on Outposts endpoint hostname prefix instead of <code>s3-control</code>. For an example of the request syntax for Amazon S3 on Outposts that uses the S3 on Outposts endpoint hostname prefix and the <code>x-amz-outpost-id</code> derived by using the access point ARN, see the <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_GetBucketVersioning.html#API_control_GetBucketVersioning_Examples">Examples</a> section.</p>
|
|
25
|
-
* <p>The following operations are related to <code>GetBucketVersioning</code> for
|
|
25
|
+
* <p>The following operations are related to <code>GetBucketVersioning</code> for
|
|
26
|
+
* S3 on Outposts.</p>
|
|
26
27
|
* <ul>
|
|
27
28
|
* <li>
|
|
28
29
|
* <p>
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
|
+
import { GetMultiRegionAccessPointRoutesRequest, GetMultiRegionAccessPointRoutesResult } from "../models/models_0";
|
|
5
|
+
import { S3ControlClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../S3ControlClient";
|
|
6
|
+
export interface GetMultiRegionAccessPointRoutesCommandInput extends GetMultiRegionAccessPointRoutesRequest {
|
|
7
|
+
}
|
|
8
|
+
export interface GetMultiRegionAccessPointRoutesCommandOutput extends GetMultiRegionAccessPointRoutesResult, __MetadataBearer {
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* <p>Returns the routing configuration for a Multi-Region Access Point, indicating which Regions are active or
|
|
12
|
+
* passive.</p>
|
|
13
|
+
* <p>To obtain routing control changes and failover requests, use the Amazon S3 failover control
|
|
14
|
+
* infrastructure endpoints in these five Amazon Web Services Regions:</p>
|
|
15
|
+
* <ul>
|
|
16
|
+
* <li>
|
|
17
|
+
* <p>
|
|
18
|
+
* <code>us-east-1</code>
|
|
19
|
+
* </p>
|
|
20
|
+
* </li>
|
|
21
|
+
* <li>
|
|
22
|
+
* <p>
|
|
23
|
+
* <code>us-west-2</code>
|
|
24
|
+
* </p>
|
|
25
|
+
* </li>
|
|
26
|
+
* <li>
|
|
27
|
+
* <p>
|
|
28
|
+
* <code>ap-southeast-2</code>
|
|
29
|
+
* </p>
|
|
30
|
+
* </li>
|
|
31
|
+
* <li>
|
|
32
|
+
* <p>
|
|
33
|
+
* <code>ap-northeast-1</code>
|
|
34
|
+
* </p>
|
|
35
|
+
* </li>
|
|
36
|
+
* <li>
|
|
37
|
+
* <p>
|
|
38
|
+
* <code>eu-west-1</code>
|
|
39
|
+
* </p>
|
|
40
|
+
* </li>
|
|
41
|
+
* </ul>
|
|
42
|
+
* <note>
|
|
43
|
+
* <p>Your Amazon S3 bucket does not need to be in these five Regions.</p>
|
|
44
|
+
* </note>
|
|
45
|
+
* @example
|
|
46
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
47
|
+
* ```javascript
|
|
48
|
+
* import { S3ControlClient, GetMultiRegionAccessPointRoutesCommand } from "@aws-sdk/client-s3-control"; // ES Modules import
|
|
49
|
+
* // const { S3ControlClient, GetMultiRegionAccessPointRoutesCommand } = require("@aws-sdk/client-s3-control"); // CommonJS import
|
|
50
|
+
* const client = new S3ControlClient(config);
|
|
51
|
+
* const command = new GetMultiRegionAccessPointRoutesCommand(input);
|
|
52
|
+
* const response = await client.send(command);
|
|
53
|
+
* ```
|
|
54
|
+
*
|
|
55
|
+
* @see {@link GetMultiRegionAccessPointRoutesCommandInput} for command's `input` shape.
|
|
56
|
+
* @see {@link GetMultiRegionAccessPointRoutesCommandOutput} for command's `response` shape.
|
|
57
|
+
* @see {@link S3ControlClientResolvedConfig | config} for S3ControlClient's `config` shape.
|
|
58
|
+
*
|
|
59
|
+
*/
|
|
60
|
+
export declare class GetMultiRegionAccessPointRoutesCommand extends $Command<GetMultiRegionAccessPointRoutesCommandInput, GetMultiRegionAccessPointRoutesCommandOutput, S3ControlClientResolvedConfig> {
|
|
61
|
+
readonly input: GetMultiRegionAccessPointRoutesCommandInput;
|
|
62
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
63
|
+
constructor(input: GetMultiRegionAccessPointRoutesCommandInput);
|
|
64
|
+
/**
|
|
65
|
+
* @internal
|
|
66
|
+
*/
|
|
67
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: S3ControlClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetMultiRegionAccessPointRoutesCommandInput, GetMultiRegionAccessPointRoutesCommandOutput>;
|
|
68
|
+
private serialize;
|
|
69
|
+
private deserialize;
|
|
70
|
+
}
|
|
@@ -13,15 +13,15 @@ export interface PutBucketVersioningCommandOutput extends __MetadataBearer {
|
|
|
13
13
|
* versioning state for an S3 bucket, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutBucketVersioning.html">PutBucketVersioning</a> in
|
|
14
14
|
* the <i>Amazon S3 API Reference</i>. </p>
|
|
15
15
|
* </note>
|
|
16
|
-
* <p>Sets the versioning state for an S3 on Outposts bucket. With versioning, you can save
|
|
17
|
-
* distinct copies of your data and recover from unintended user actions and
|
|
16
|
+
* <p>Sets the versioning state for an S3 on Outposts bucket. With versioning, you can save
|
|
17
|
+
* multiple distinct copies of your data and recover from unintended user actions and
|
|
18
18
|
* application failures.</p>
|
|
19
19
|
* <p>You can set the versioning state to one of the following:</p>
|
|
20
20
|
* <ul>
|
|
21
21
|
* <li>
|
|
22
22
|
* <p>
|
|
23
|
-
* <b>Enabled</b> - Enables versioning for the objects in
|
|
24
|
-
* All objects added to the bucket receive a unique version ID.</p>
|
|
23
|
+
* <b>Enabled</b> - Enables versioning for the objects in
|
|
24
|
+
* the bucket. All objects added to the bucket receive a unique version ID.</p>
|
|
25
25
|
* </li>
|
|
26
26
|
* <li>
|
|
27
27
|
* <p>
|
|
@@ -30,8 +30,8 @@ export interface PutBucketVersioningCommandOutput extends __MetadataBearer {
|
|
|
30
30
|
* <code>null</code>.</p>
|
|
31
31
|
* </li>
|
|
32
32
|
* </ul>
|
|
33
|
-
* <p>If you've never set versioning on your bucket, it has no versioning state. In that
|
|
34
|
-
*
|
|
33
|
+
* <p>If you've never set versioning on your bucket, it has no versioning state. In that case,
|
|
34
|
+
* a <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_GetBucketVersioning.html">
|
|
35
35
|
* GetBucketVersioning</a> request does not return a versioning state value.</p>
|
|
36
36
|
* <p>When you enable S3 Versioning, for each object in your bucket, you have a current
|
|
37
37
|
* version and zero or more noncurrent versions. You can configure your bucket S3 Lifecycle
|
|
@@ -39,12 +39,15 @@ export interface PutBucketVersioningCommandOutput extends __MetadataBearer {
|
|
|
39
39
|
* see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/S3OutpostsLifecycleManaging.html"> Creating and managing
|
|
40
40
|
* a lifecycle configuration for your S3 on Outposts bucket</a> in the <i>Amazon S3
|
|
41
41
|
* User Guide</i>.</p>
|
|
42
|
-
* <p>If you have an object expiration lifecycle policy in your non-versioned bucket and you
|
|
43
|
-
*
|
|
44
|
-
*
|
|
45
|
-
*
|
|
42
|
+
* <p>If you have an object expiration lifecycle policy in your non-versioned bucket and you
|
|
43
|
+
* want to maintain the same permanent delete behavior when you enable versioning, you must
|
|
44
|
+
* add a noncurrent expiration policy. The noncurrent expiration lifecycle policy will manage
|
|
45
|
+
* the deletes of the noncurrent object versions in the version-enabled bucket. For more
|
|
46
|
+
* information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/Versioning.html">Versioning</a> in the <i>Amazon S3
|
|
47
|
+
* User Guide</i>.</p>
|
|
46
48
|
* <p>All Amazon S3 on Outposts REST API requests for this action require an additional parameter of <code>x-amz-outpost-id</code> to be passed with the request. In addition, you must use an S3 on Outposts endpoint hostname prefix instead of <code>s3-control</code>. For an example of the request syntax for Amazon S3 on Outposts that uses the S3 on Outposts endpoint hostname prefix and the <code>x-amz-outpost-id</code> derived by using the access point ARN, see the <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_PutBucketVersioning.html#API_control_PutBucketVersioning_Examples">Examples</a> section.</p>
|
|
47
|
-
* <p>The following operations are related to <code>PutBucketVersioning</code> for
|
|
49
|
+
* <p>The following operations are related to <code>PutBucketVersioning</code> for
|
|
50
|
+
* S3 on Outposts.</p>
|
|
48
51
|
* <ul>
|
|
49
52
|
* <li>
|
|
50
53
|
* <p>
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
|
+
import { SubmitMultiRegionAccessPointRoutesRequest, SubmitMultiRegionAccessPointRoutesResult } from "../models/models_0";
|
|
5
|
+
import { S3ControlClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../S3ControlClient";
|
|
6
|
+
export interface SubmitMultiRegionAccessPointRoutesCommandInput extends SubmitMultiRegionAccessPointRoutesRequest {
|
|
7
|
+
}
|
|
8
|
+
export interface SubmitMultiRegionAccessPointRoutesCommandOutput extends SubmitMultiRegionAccessPointRoutesResult, __MetadataBearer {
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* <p>Submits an updated route configuration for a Multi-Region Access Point. This API operation updates the
|
|
12
|
+
* routing status for the specified Regions from active to passive, or from passive to active.
|
|
13
|
+
* A value of <code>0</code> indicates a passive status, which means that traffic won't be
|
|
14
|
+
* routed to the specified Region. A value of <code>100</code> indicates an active status,
|
|
15
|
+
* which means that traffic will be routed to the specified Region. At least one Region must be active at all times.</p>
|
|
16
|
+
* <p>When
|
|
17
|
+
* the routing configuration is changed, any in-progress operations (uploads, copies, deletes,
|
|
18
|
+
* and so on) to formerly active Regions will continue to run to their
|
|
19
|
+
* final completion state (success or failure). The routing configurations of any Regions that
|
|
20
|
+
* aren’t specified remain unchanged.</p>
|
|
21
|
+
* <note>
|
|
22
|
+
* <p>Updated routing configurations might not be immediately applied.
|
|
23
|
+
* It
|
|
24
|
+
* can take up to 2 minutes for your changes to take effect.</p>
|
|
25
|
+
* </note>
|
|
26
|
+
* <p>To submit routing control changes and failover requests, use the Amazon S3 failover control
|
|
27
|
+
* infrastructure endpoints in these five Amazon Web Services Regions:</p>
|
|
28
|
+
* <ul>
|
|
29
|
+
* <li>
|
|
30
|
+
* <p>
|
|
31
|
+
* <code>us-east-1</code>
|
|
32
|
+
* </p>
|
|
33
|
+
* </li>
|
|
34
|
+
* <li>
|
|
35
|
+
* <p>
|
|
36
|
+
* <code>us-west-2</code>
|
|
37
|
+
* </p>
|
|
38
|
+
* </li>
|
|
39
|
+
* <li>
|
|
40
|
+
* <p>
|
|
41
|
+
* <code>ap-southeast-2</code>
|
|
42
|
+
* </p>
|
|
43
|
+
* </li>
|
|
44
|
+
* <li>
|
|
45
|
+
* <p>
|
|
46
|
+
* <code>ap-northeast-1</code>
|
|
47
|
+
* </p>
|
|
48
|
+
* </li>
|
|
49
|
+
* <li>
|
|
50
|
+
* <p>
|
|
51
|
+
* <code>eu-west-1</code>
|
|
52
|
+
* </p>
|
|
53
|
+
* </li>
|
|
54
|
+
* </ul>
|
|
55
|
+
* <note>
|
|
56
|
+
* <p>Your Amazon S3 bucket does not need to be in these five Regions.</p>
|
|
57
|
+
* </note>
|
|
58
|
+
* @example
|
|
59
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
60
|
+
* ```javascript
|
|
61
|
+
* import { S3ControlClient, SubmitMultiRegionAccessPointRoutesCommand } from "@aws-sdk/client-s3-control"; // ES Modules import
|
|
62
|
+
* // const { S3ControlClient, SubmitMultiRegionAccessPointRoutesCommand } = require("@aws-sdk/client-s3-control"); // CommonJS import
|
|
63
|
+
* const client = new S3ControlClient(config);
|
|
64
|
+
* const command = new SubmitMultiRegionAccessPointRoutesCommand(input);
|
|
65
|
+
* const response = await client.send(command);
|
|
66
|
+
* ```
|
|
67
|
+
*
|
|
68
|
+
* @see {@link SubmitMultiRegionAccessPointRoutesCommandInput} for command's `input` shape.
|
|
69
|
+
* @see {@link SubmitMultiRegionAccessPointRoutesCommandOutput} for command's `response` shape.
|
|
70
|
+
* @see {@link S3ControlClientResolvedConfig | config} for S3ControlClient's `config` shape.
|
|
71
|
+
*
|
|
72
|
+
*/
|
|
73
|
+
export declare class SubmitMultiRegionAccessPointRoutesCommand extends $Command<SubmitMultiRegionAccessPointRoutesCommandInput, SubmitMultiRegionAccessPointRoutesCommandOutput, S3ControlClientResolvedConfig> {
|
|
74
|
+
readonly input: SubmitMultiRegionAccessPointRoutesCommandInput;
|
|
75
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
76
|
+
constructor(input: SubmitMultiRegionAccessPointRoutesCommandInput);
|
|
77
|
+
/**
|
|
78
|
+
* @internal
|
|
79
|
+
*/
|
|
80
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: S3ControlClientResolvedConfig, options?: __HttpHandlerOptions): Handler<SubmitMultiRegionAccessPointRoutesCommandInput, SubmitMultiRegionAccessPointRoutesCommandOutput>;
|
|
81
|
+
private serialize;
|
|
82
|
+
private deserialize;
|
|
83
|
+
}
|
|
@@ -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";
|