Module Values_1.CreatePolicyResponseSource

The output from the CreatePolicy operation.

Sourcetype nonrec t = {
  1. policyName : Values_0.PolicyName.t option;
    (*

    The policy name.

    *)
  2. policyArn : Values_0.PolicyArn.t option;
    (*

    The policy ARN.

    *)
  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.

    *)
}
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. | `ResourceAlreadyExistsException of Values_0.ResourceAlreadyExistsException.t
  5. | `ServiceUnavailableException of Values_0.ServiceUnavailableException.t
  6. | `ThrottlingException of Values_0.ThrottlingException.t
  7. | `UnauthorizedException of Values_0.UnauthorizedException.t
  8. | `Unknown_operation_error of string * string option
]
Sourceval make : ?policyName:??? -> ?policyArn:??? -> ?policyDocument:??? -> ?policyVersionId:??? -> 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 | `ResourceAlreadyExistsException of Values_0.ResourceAlreadyExistsException.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 | `MalformedPolicyException of Values_0.MalformedPolicyException.t | `ResourceAlreadyExistsException of Values_0.ResourceAlreadyExistsException.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 * [> `String of Values_0.PolicyName.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