Skip to content

Create Multi Region Access Point

s3control_create_multi_region_access_point R Documentation

This operation is not supported by directory buckets

Description

This operation is not supported by directory buckets.

Creates a Multi-Region Access Point and associates it with the specified buckets. For more information about creating Multi-Region Access Points, see Creating Multi-Region Access Points in the Amazon S3 User Guide.

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.

This request is asynchronous, meaning that you might receive a response before the command has completed. When this request provides a response, it provides a token that you can use to monitor the status of the request with describe_multi_region_access_point_operation.

The following actions are related to create_multi_region_access_point:

  • delete_multi_region_access_point

  • describe_multi_region_access_point_operation

  • get_multi_region_access_point

  • list_multi_region_access_points

Usage

s3control_create_multi_region_access_point(AccountId, ClientToken,
  Details)

Arguments

AccountId

[required] The Amazon Web Services account ID for the owner of the Multi-Region Access Point. The owner of the Multi-Region Access Point also must own the underlying buckets.

ClientToken

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

Details

[required] A container element containing details about the Multi-Region Access Point.

Value

A list with the following syntax:

list(
  RequestTokenARN = "string"
)

Request syntax

svc$create_multi_region_access_point(
  AccountId = "string",
  ClientToken = "string",
  Details = list(
    Name = "string",
    PublicAccessBlock = list(
      BlockPublicAcls = TRUE|FALSE,
      IgnorePublicAcls = TRUE|FALSE,
      BlockPublicPolicy = TRUE|FALSE,
      RestrictPublicBuckets = TRUE|FALSE
    ),
    Regions = list(
      list(
        Bucket = "string",
        BucketAccountId = "string"
      )
    )
  )
)