Module Values.GetUserPolicyResponseSource

Contains the response to a successful GetUserPolicy request.

Sourcetype getUserPolicyResult = {
  1. userName : ExistingUserNameType.t option;
    (*

    The user the policy is associated with.

    *)
  2. policyName : PolicyNameType.t option;
    (*

    The name of the policy.

    *)
  3. policyDocument : PolicyDocumentType.t option;
    (*

    The policy document. IAM stores policies in JSON format. However, resources that were created using CloudFormation templates can be formatted in YAML. CloudFormation always converts a YAML policy to JSON format before submitting it to IAM.

    *)
}
Sourceand responseMetaData = unit
Sourceand t = {
  1. getUserPolicyResult : getUserPolicyResult;
  2. responseMetaData : responseMetaData;
}
Sourcetype error = [
  1. | `NoSuchEntityException of NoSuchEntityException.t
  2. | `ServiceFailureException of ServiceFailureException.t
  3. | `Unknown_operation_error of string * string option
]
Sourceval context_ : string
Sourceval make : ?userName:??? -> ?policyName:??? -> ?policyDocument:??? -> unit -> t
Sourceval error_of_json : string -> Yojson.Safe.t -> [> `NoSuchEntityException of NoSuchEntityException.t | `ServiceFailureException of ServiceFailureException.t | `Unknown_operation_error of string * string option ]
Sourceval error_of_xml : string -> Awso.Xml.t -> [> `NoSuchEntityException of NoSuchEntityException.t | `ServiceFailureException of ServiceFailureException.t | `Unknown_operation_error of string * string option ]
Sourceval error_to_json : error -> Yojson.Safe.t
Sourceval to_value : t -> [> `Structure of (string * [> `Structure of (string * [> `String of ExistingUserNameType.t ]) list ]) 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