Module Values.GetAccessGrantsInstanceForPrefixResultSource

Retrieve the S3 Access Grants instance that contains a particular prefix. Permissions You must have the s3:GetAccessGrantsInstanceForPrefix permission for the caller account to use this operation. Additional Permissions The prefix owner account must grant you the following permissions to their S3 Access Grants instance: s3:GetAccessGrantsInstanceForPrefix.

Sourcetype nonrec t = {
  1. accessGrantsInstanceArn : AccessGrantsInstanceArn.t option;
    (*

    The Amazon Resource Name (ARN) of the S3 Access Grants instance.

    *)
  2. accessGrantsInstanceId : AccessGrantsInstanceId.t option;
    (*

    The ID of the S3 Access Grants instance. The ID is default. You can have one S3 Access Grants instance per Region per account.

    *)
}
Sourcetype nonrec error = [
  1. | `Unknown_operation_error of string * string option
]
Sourceval make : ?accessGrantsInstanceArn:??? -> ?accessGrantsInstanceId:??? -> 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 AccessGrantsInstanceArn.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