Skip to content

Get Multi Region Access Point Policy

s3control_get_multi_region_access_point_policy R Documentation

This operation is not supported by directory buckets

Description

This operation is not supported by directory buckets.

Returns the access control policy of 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 get_multi_region_access_point_policy:

  • get_multi_region_access_point_policy_status

  • put_multi_region_access_point_policy

Usage

s3control_get_multi_region_access_point_policy(AccountId, Name)

Arguments

AccountId

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

Name

[required] Specifies the Multi-Region Access Point. The name of the Multi-Region Access Point is different from the alias. For more information about the distinction between the name and the alias of an Multi-Region Access Point, see Rules for naming Amazon S3 Multi-Region Access Points in the Amazon S3 User Guide.

Value

A list with the following syntax:

list(
  Policy = list(
    Established = list(
      Policy = "string"
    ),
    Proposed = list(
      Policy = "string"
    )
  )
)

Request syntax

svc$get_multi_region_access_point_policy(
  AccountId = "string",
  Name = "string"
)