Module Values.GetResourcePoliciesResponseSource

Retrieves the resource policies for the specified resources that you own and have shared. Always check the NextToken response parameter for a null value when calling a paginated operation. These operations can occasionally return an empty set of results even when there are more results available. The NextToken response parameter value is null only when there are no more results to display.

Sourcetype nonrec t = {
  1. policies : PolicyList.t option;
    (*

    An array of resource policy documents in JSON format.

    *)
  2. nextToken : String_.t option;
    (*

    If present, this value indicates that more output is available than is included in the current response. Use this value in the NextToken request parameter in a subsequent call to the operation to get the next part of the output. You should repeat this until the NextToken response element comes back as null. This indicates that this is the last page of results.

    *)
}
Sourcetype nonrec error = [
  1. | `InvalidNextTokenException of InvalidNextTokenException.t
  2. | `InvalidParameterException of InvalidParameterException.t
  3. | `MalformedArnException of MalformedArnException.t
  4. | `ResourceArnNotFoundException of ResourceArnNotFoundException.t
  5. | `ServerInternalException of ServerInternalException.t
  6. | `ServiceUnavailableException of ServiceUnavailableException.t
  7. | `Unknown_operation_error of string * string option
]
Sourceval make : ?policies:??? -> ?nextToken:??? -> unit -> t
Sourceval error_of_json : string -> Yojson.Safe.t -> [> `InvalidNextTokenException of InvalidNextTokenException.t | `InvalidParameterException of InvalidParameterException.t | `MalformedArnException of MalformedArnException.t | `ResourceArnNotFoundException of ResourceArnNotFoundException.t | `ServerInternalException of ServerInternalException.t | `ServiceUnavailableException of ServiceUnavailableException.t | `Unknown_operation_error of string * string option ]
Sourceval error_of_xml : string -> Awso.Xml.t -> [> `InvalidNextTokenException of InvalidNextTokenException.t | `InvalidParameterException of InvalidParameterException.t | `MalformedArnException of MalformedArnException.t | `ResourceArnNotFoundException of ResourceArnNotFoundException.t | `ServerInternalException of ServerInternalException.t | `ServiceUnavailableException of ServiceUnavailableException.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 [> `String of Policy.t ] list | `String of String_.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