Module Values_1.CreatePolicyRequestSource

The input for the CreatePolicy operation.

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

    The policy name.

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

    The JSON document that describes the policy. policyDocument must have a minimum length of 1, with a maximum length of 2048, excluding whitespace.

    *)
  3. tags : Values_0.TagList.t option;
    (*

    Metadata which can be used to manage the policy. For URI Request parameters use format: ...key1=value1&key2=value2... For the CLI command-line parameter use format: &&tags "key1=value1&key2=value2..." For the cli-input-json file use format: "tags": "key1=value1&key2=value2..."

    *)
}
Sourceval context_ : string
Sourceval make : ?tags:??? -> policyName:Values_0.PolicyName.t -> policyDocument:Values_0.PolicyDocument.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `List of [> `Structure of (string * [> `String of string ]) list ] list | `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