Values.UpdateAccessGrantsLocationResultSourceUpdates 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
type nonrec t = {createdAt : CreationTimestamp.t option;The date and time when you registered the location.
*)accessGrantsLocationId : AccessGrantsLocationId.t option;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.
*)accessGrantsLocationArn : AccessGrantsLocationArn.t option;The Amazon Resource Name (ARN) of the registered location that you are updating.
*)locationScope : S3Prefix.t option;The S3 URI path of the location that you are updating. You cannot update the scope of the registered location. The location scope can be the default S3 location s3://, the S3 path to a bucket s3://<bucket>, or the S3 path to a bucket and prefix s3://<bucket>/<prefix>.
*)iAMRoleArn : IAMRoleArn.t option;The Amazon Resource Name (ARN) of the IAM role of the registered location. S3 Access Grants assumes this role to manage access to the registered location.
*)}val error_of_json :
'a ->
Yojson.Safe.t ->
[> `Unknown_operation_error of 'a * string option ]val to_value :
t ->
[> `Structure of
(string
* [> `String of AccessGrantsLocationId.t
| `Timestamp of CreationTimestamp.t ])
list ]