Module Values_1.CreatePolicyVersionResponseSource

The output of the CreatePolicyVersion operation.

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

    The policy ARN.

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

    The JSON document that describes the policy.

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

    The policy version ID.

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

    Specifies whether the policy version is the default.

    *)
}
Sourcetype nonrec error = [
  1. | `InternalFailureException of Values_0.InternalFailureException.t
  2. | `InvalidRequestException of Values_0.InvalidRequestException.t
  3. | `MalformedPolicyException of Values_0.MalformedPolicyException.t
  4. | `ResourceNotFoundException of Values_0.ResourceNotFoundException.t
  5. | `ServiceUnavailableException of Values_0.ServiceUnavailableException.t
  6. | `ThrottlingException of Values_0.ThrottlingException.t
  7. | `UnauthorizedException of Values_0.UnauthorizedException.t
  8. | `VersionsLimitExceededException of Values_0.VersionsLimitExceededException.t
  9. | `Unknown_operation_error of string * string option
]
Sourceval make : ?policyArn:??? -> ?policyDocument:??? -> ?policyVersionId:??? -> ?isDefaultVersion:??? -> unit -> t
Sourceval error_of_json : string -> Yojson.Safe.t -> [> `InternalFailureException of Values_0.InternalFailureException.t | `InvalidRequestException of Values_0.InvalidRequestException.t | `MalformedPolicyException of Values_0.MalformedPolicyException.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 | `VersionsLimitExceededException of Values_0.VersionsLimitExceededException.t ]
Sourceval error_of_xml : string -> Awso.Xml.t -> [> `InternalFailureException of Values_0.InternalFailureException.t | `InvalidRequestException of Values_0.InvalidRequestException.t | `MalformedPolicyException of Values_0.MalformedPolicyException.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 | `VersionsLimitExceededException of Values_0.VersionsLimitExceededException.t ]
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 ]) 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