Update Access Grants Location
s3control_update_access_grants_location | R 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.
Permissions¶
You must have the s3:UpdateAccessGrantsLocation
permission to use this
operation.
Additional Permissions¶
You must also have the following permission: iam:PassRole
Usage¶
s3control_update_access_grants_location(AccountId,
AccessGrantsLocationId, IAMRoleArn)
Arguments¶
AccountId |
[required] The Amazon Web Services account ID of the S3 Access Grants instance. |
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 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 If you are passing the |
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. |
Value¶
A list with the following syntax:
list(
CreatedAt = as.POSIXct(
"2015-01-01"
),
AccessGrantsLocationId = "string",
AccessGrantsLocationArn = "string",
LocationScope = "string",
IAMRoleArn = "string"
)
Request syntax¶
svc$update_access_grants_location(
AccountId = "string",
AccessGrantsLocationId = "string",
IAMRoleArn = "string"
)