Module Values_1.GetPolicyVersionResponseSource

The output from the GetPolicyVersion operation.

Sourcetype nonrec t = {
  1. policyArn : Values_0.PolicyArn.t option;
    (*

    The policy ARN.

    *)
  2. policyName : Values_0.PolicyName.t option;
    (*

    The policy name.

    *)
  3. policyDocument : Values_0.PolicyDocument.t option;
    (*

    The JSON document that describes the policy.

    *)
  4. policyVersionId : Values_0.PolicyVersionId.t option;
    (*

    The policy version ID.

    *)
  5. isDefaultVersion : Values_0.IsDefaultVersion.t option;
    (*

    Specifies whether the policy version is the default.

    *)
  6. creationDate : Values_0.DateType.t option;
    (*

    The date the policy was created.

    *)
  7. lastModifiedDate : Values_0.DateType.t option;
    (*

    The date the policy was last modified.

    *)
  8. generationId : Values_0.GenerationId.t option;
    (*

    The generation ID of the policy version.

    *)
}
Sourcetype nonrec error = [
  1. | `InternalFailureException of Values_0.InternalFailureException.t
  2. | `InvalidRequestException of Values_0.InvalidRequestException.t
  3. | `ResourceNotFoundException of Values_0.ResourceNotFoundException.t
  4. | `ServiceUnavailableException of Values_0.ServiceUnavailableException.t
  5. | `ThrottlingException of Values_0.ThrottlingException.t
  6. | `UnauthorizedException of Values_0.UnauthorizedException.t
  7. | `Unknown_operation_error of string * string option
]
Sourceval make : ?policyArn:??? -> ?policyName:??? -> ?policyDocument:??? -> ?policyVersionId:??? -> ?isDefaultVersion:??? -> ?creationDate:??? -> ?lastModifiedDate:??? -> ?generationId:??? -> unit -> t
Sourceval error_of_json : string -> Yojson.Safe.t -> [> `InternalFailureException of Values_0.InternalFailureException.t | `InvalidRequestException of Values_0.InvalidRequestException.t | `ResourceNotFoundException of Values_0.ResourceNotFoundException.t | `ServiceUnavailableException of Values_0.ServiceUnavailableException.t | `ThrottlingException of Values_0.ThrottlingException.t | `UnauthorizedException of Values_0.UnauthorizedException.t | `Unknown_operation_error of string * string option ]
Sourceval error_of_xml : string -> Awso.Xml.t -> [> `InternalFailureException of Values_0.InternalFailureException.t | `InvalidRequestException of Values_0.InvalidRequestException.t | `ResourceNotFoundException of Values_0.ResourceNotFoundException.t | `ServiceUnavailableException of Values_0.ServiceUnavailableException.t | `ThrottlingException of Values_0.ThrottlingException.t | `UnauthorizedException of Values_0.UnauthorizedException.t | `Unknown_operation_error of string * string option ]
Sourceval error_to_json : error -> Yojson.Safe.t
Sourceval to_value : t -> [> `Structure of (string * [> `Boolean of Values_0.IsDefaultVersion.t | `String of Values_0.PolicyArn.t | `Timestamp of Values_0.DateType.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