Skip to content

Put Multi Region Access Point Policy

s3control_put_multi_region_access_point_policy R Documentation

This operation is not supported by directory buckets

Description

This operation is not supported by directory buckets.

Associates an access control policy with the specified Multi-Region Access Point. Each Multi-Region Access Point can have only one policy, so a request made to this action replaces any existing policy that is associated with the specified Multi-Region Access Point.

This action will always be routed to the US West (Oregon) Region. For more information about the restrictions around working with Multi-Region Access Points, see Multi-Region Access Point restrictions and limitations in the Amazon S3 User Guide.

The following actions are related to put_multi_region_access_point_policy:

  • get_multi_region_access_point_policy

  • get_multi_region_access_point_policy_status

Usage

s3control_put_multi_region_access_point_policy(AccountId, ClientToken,
  Details)

Arguments

AccountId

[required] The Amazon Web Services account ID for the owner of the Multi-Region Access Point.

ClientToken

[required] An idempotency token used to identify the request and guarantee that requests are unique.

Details

[required] A container element containing the details of the policy for the Multi-Region Access Point.

Value

A list with the following syntax:

list(
  RequestTokenARN = "string"
)

Request syntax

svc$put_multi_region_access_point_policy(
  AccountId = "string",
  ClientToken = "string",
  Details = list(
    Name = "string",
    Policy = "string"
  )
)