s3control_update_access_grants_location: Updates the IAM role of a registered location in your S3...

View source: R/s3control_operations.R

s3control_update_access_grants_locationR Documentation

Updates the IAM role of a registered location in your S3 Access Grants instance

Description

Updates the IAM role of a registered location in your S3 Access Grants instance.

See https://www.paws-r-sdk.com/docs/s3control_update_access_grants_location/ for full documentation.

Usage

s3control_update_access_grants_location(
  AccountId,
  AccessGrantsLocationId,
  IAMRoleArn
)

Arguments

AccountId

[required] The ID of the Amazon Web Services account that is making this request.

AccessGrantsLocationId

[required] The ID of the registered location that you are updating. S3 Access Grants assigns this ID when you register the location. S3 Access Grants assigns the ID default to the default location ⁠s3://⁠ and assigns an auto-generated ID to other locations that you register.

The ID of the registered location to which you are granting access. S3 Access Grants assigned this ID when you registered the location. S3 Access Grants assigns the ID default to the default location ⁠s3://⁠ and assigns an auto-generated ID to other locations that you register.

If you are passing the default location, you cannot create an access grant for the entire default location. You must also specify a bucket or a bucket and prefix in the Subprefix field.

IAMRoleArn

[required] The Amazon Resource Name (ARN) of the IAM role for the registered location. S3 Access Grants assumes this role to manage access to the registered location.


paws.storage documentation built on May 29, 2024, 2:03 a.m.