Module Values.GetAccessGrantsInstanceResourcePolicyResultSource

Returns the resource policy of the S3 Access Grants instance. Permissions You must have the s3:GetAccessGrantsInstanceResourcePolicy permission to use this operation.

Sourcetype nonrec t = {
  1. policy : PolicyDocument.t option;
    (*

    The resource policy of the S3 Access Grants instance.

    *)
  2. organization : Organization.t option;
    (*

    The Organization of the resource policy of the S3 Access Grants instance.

    *)
  3. createdAt : CreationTimestamp.t option;
    (*

    The date and time when you created the S3 Access Grants instance resource policy.

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