쿠키 기본 설정 선택

당사는 사이트와 서비스를 제공하는 데 필요한 필수 쿠키 및 유사한 도구를 사용합니다. 고객이 사이트를 어떻게 사용하는지 파악하고 개선할 수 있도록 성능 쿠키를 사용해 익명의 통계를 수집합니다. 필수 쿠키는 비활성화할 수 없지만 '사용자 지정' 또는 ‘거부’를 클릭하여 성능 쿠키를 거부할 수 있습니다.

사용자가 동의하는 경우 AWS와 승인된 제3자도 쿠키를 사용하여 유용한 사이트 기능을 제공하고, 사용자의 기본 설정을 기억하고, 관련 광고를 비롯한 관련 콘텐츠를 표시합니다. 필수가 아닌 모든 쿠키를 수락하거나 거부하려면 ‘수락’ 또는 ‘거부’를 클릭하세요. 더 자세한 내용을 선택하려면 ‘사용자 정의’를 클릭하세요.

SubmitMultiRegionAccessPointRoutes - Amazon Simple Storage Service
이 페이지는 귀하의 언어로 번역되지 않았습니다. 번역 요청

SubmitMultiRegionAccessPointRoutes

Note

This operation is not supported by directory buckets.

Submits an updated route configuration for a Multi-Region Access Point. This API operation updates the routing status for the specified Regions from active to passive, or from passive to active. A value of 0 indicates a passive status, which means that traffic won't be routed to the specified Region. A value of 100 indicates an active status, which means that traffic will be routed to the specified Region. At least one Region must be active at all times.

When the routing configuration is changed, any in-progress operations (uploads, copies, deletes, and so on) to formerly active Regions will continue to run to their final completion state (success or failure). The routing configurations of any Regions that aren’t specified remain unchanged.

Note

Updated routing configurations might not be immediately applied. It can take up to 2 minutes for your changes to take effect.

To submit routing control changes and failover requests, use the Amazon S3 failover control infrastructure endpoints in these five AWS Regions:

  • us-east-1

  • us-west-2

  • ap-southeast-2

  • ap-northeast-1

  • eu-west-1

Request Syntax

PATCH /v20180820/mrap/instances/mrap+/routes HTTP/1.1 Host: s3-control.amazonaws.com x-amz-account-id: AccountId <?xml version="1.0" encoding="UTF-8"?> <SubmitMultiRegionAccessPointRoutesRequest xmlns="http://awss3control.amazonaws.com/doc/2018-08-20/"> <RouteUpdates> <Route> <Bucket>string</Bucket> <Region>string</Region> <TrafficDialPercentage>integer</TrafficDialPercentage> </Route> </RouteUpdates> </SubmitMultiRegionAccessPointRoutesRequest>

URI Request Parameters

The request uses the following URI parameters.

mrap

The Multi-Region Access Point ARN.

Length Constraints: Maximum length of 200.

Pattern: ^[a-zA-Z0-9\:.-]{3,200}$

Required: Yes

x-amz-account-id

The AWS account ID for the owner of the Multi-Region Access Point.

Length Constraints: Maximum length of 64.

Pattern: ^\d{12}$

Required: Yes

Request Body

The request accepts the following data in XML format.

SubmitMultiRegionAccessPointRoutesRequest

Root level tag for the SubmitMultiRegionAccessPointRoutesRequest parameters.

Required: Yes

RouteUpdates

The different routes that make up the new route configuration. Active routes return a value of 100, and passive routes return a value of 0.

Type: Array of MultiRegionAccessPointRoute data types

Required: Yes

Response Syntax

HTTP/1.1 200

Response Elements

If the action is successful, the service sends back an HTTP 200 response with an empty HTTP body.

Examples

Sample request for initiating failover

In the following example, the request to submit these routing changes to initiate a failover is sent to the failover control infrastructure in the us-east-1 Region. In this example, the eu-north-1 Region is set to active, and the ap-northeast-3 Region is set to passive. In other words, the ap-northeast-3 Region is failed over to the eu-north-1 Region.

PATCH /v20180820/mrap/instances/<Multi-Region Access Point>/routes HTTP/1.1 Host: example-account-id.s3-control.us-east-1.amazonaws.com <SubmitMultiRegionAccessPointRoutesRequest> <RouteUpdates> <Route> <Region>eu-north-1</Region> <Bucket>example-bucket-eu-north-1</Bucket> <TrafficDialPercentage>100</TrafficDialPercentage> </Route> <Route> <Region>ap-northeast-3</Region> <Bucket>example-bucket-ap-northeast-3</Bucket> <TrafficDialPercentage>0</TrafficDialPercentage> </Route> </RouteUpdates> </SubmitMultiRegionAccessPointRoutesRequest>

Sample request for setting a Region to active status

The following request updates the route configuration of the eu-north-1 Region to active. The request is sent to the failover control infrastructure in the eu-west-1 Region.

PATCH /v20180820/mrap/instances/<Multi-Region Access Point>/routes HTTP/1.1 Host: example-account-id.s3-control.eu-west-1.amazonaws.com <SubmitMultiRegionAccessPointRoutesRequest> <RouteUpdates> <Route> <Region>eu-north-1<Region> <Bucket>example-bucket-eu-north-1</Bucket> <TrafficDialPercentage>100</TrafficDialPercentage> </Route> </RouteUpdates> </SubmitMultiRegionAccessPointRoutesRequest>

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following:

프라이버시사이트 이용 약관쿠키 기본 설정
© 2025, Amazon Web Services, Inc. 또는 계열사. All rights reserved.