Module Values.GetAccessGrantsLocationResultSource

Retrieves the details of a particular location registered in your S3 Access Grants instance. Permissions You must have the s3:GetAccessGrantsLocation permission to use this operation.

Sourcetype nonrec t = {
  1. createdAt : CreationTimestamp.t option;
    (*

    The date and time when you registered the location.

    *)
  2. accessGrantsLocationId : AccessGrantsLocationId.t option;
    (*

    The ID of the registered location to which you are granting access. 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.

    *)
  3. accessGrantsLocationArn : AccessGrantsLocationArn.t option;
    (*

    The Amazon Resource Name (ARN) of the registered location.

    *)
  4. locationScope : S3Prefix.t option;
    (*

    The S3 URI path to the registered location. The location scope can be the default S3 location s3://, the S3 path to a bucket, or the S3 path to a bucket and prefix. A prefix in S3 is a string of characters at the beginning of an object key name used to organize the objects that you store in your S3 buckets. For example, object key names that start with the engineering/ prefix or object key names that start with the marketing/campaigns/ prefix.

    *)
  5. iAMRoleArn : IAMRoleArn.t option;
    (*

    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.

    *)
}
Sourcetype nonrec error = [
  1. | `Unknown_operation_error of string * string option
]
Sourceval make : ?createdAt:??? -> ?accessGrantsLocationId:??? -> ?accessGrantsLocationArn:??? -> ?locationScope:??? -> ?iAMRoleArn:??? -> unit -> t
Sourceval error_of_json : 'a -> Yojson.Safe.t -> [> `Unknown_operation_error of 'a * string option ]
Sourceval error_of_xml : 'a -> Awso.Xml.t -> [> `Unknown_operation_error of 'a * string option ]
Sourceval error_to_json : error -> Yojson.Safe.t
Sourceval to_value : t -> [> `Structure of (string * [> `String of AccessGrantsLocationId.t | `Timestamp of CreationTimestamp.t ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t