CmdID / aws / aws s3control
aws s3control update-access-grants-location
Updates the IAM role of a registered location in your S3 Access Grants instance. AWS CLI reference
3 options Its page in the AWS CLI reference
Options
--access-grants-location-idThe ID of the registered location that you are updating.--account-idThe Amazon Web Services account ID of the S3 Access Grants instance.--iam-role-arnThe Amazon Resource Name (ARN) of the IAM role for the registered location.