Module Values_2.GetResourcePoliciesResponseSource

Retrieves the resource policies set on individual resources by Resource Access Manager during cross-account permission grants. Also retrieves the Data Catalog resource policy. If you enabled metadata encryption in Data Catalog settings, and you do not have permission on the KMS key, the operation can't return the Data Catalog resource policy.

Sourcetype nonrec t = {
  1. getResourcePoliciesResponseList : GetResourcePoliciesResponseList.t option;
    (*

    A list of the individual resource policies and the account-level resource policy.

    *)
  2. nextToken : Values_1.Token.t option;
    (*

    A continuation token, if the returned list does not contain the last resource policy available.

    *)
}
Sourcetype nonrec error = [
  1. | `GlueEncryptionException of Values_0.GlueEncryptionException.t
  2. | `InternalServiceException of Values_0.InternalServiceException.t
  3. | `InvalidInputException of Values_0.InvalidInputException.t
  4. | `OperationTimeoutException of Values_0.OperationTimeoutException.t
  5. | `Unknown_operation_error of string * string option
]
Sourceval make : ?getResourcePoliciesResponseList:??? -> ?nextToken:??? -> unit -> t
Sourceval error_of_json : string -> Yojson.Safe.t -> [> `GlueEncryptionException of Values_0.GlueEncryptionException.t | `InternalServiceException of Values_0.InternalServiceException.t | `InvalidInputException of Values_0.InvalidInputException.t | `OperationTimeoutException of Values_0.OperationTimeoutException.t | `Unknown_operation_error of string * string option ]
Sourceval error_of_xml : string -> Awso.Xml.t -> [> `GlueEncryptionException of Values_0.GlueEncryptionException.t | `InternalServiceException of Values_0.InternalServiceException.t | `InvalidInputException of Values_0.InvalidInputException.t | `OperationTimeoutException of Values_0.OperationTimeoutException.t | `Unknown_operation_error of string * string option ]
Sourceval error_to_json : error -> Yojson.Safe.t
Sourceval to_value : t -> [> `Structure of (string * [> `List of [> `Structure of (string * [> `String of PolicyJsonString.t | `Timestamp of Values_0.Timestamp.t ]) list ] list | `String of Values_1.Token.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