Module Values.CreateTrafficPolicyRequestSource

Provision a new traffic policy resource.

Sourcetype nonrec t = {
  1. clientToken : IdempotencyToken.t option;
    (*

    A unique token that Amazon SES uses to recognize subsequent retries of the same request.

    *)
  2. trafficPolicyName : TrafficPolicyName.t;
    (*

    A user-friendly name for the traffic policy resource.

    *)
  3. policyStatements : PolicyStatementList.t;
    (*

    Conditional statements for filtering email traffic.

    *)
  4. defaultAction : AcceptAction.t;
    (*

    Default action instructs the traffic policy to either Allow or Deny (block) messages that fall outside of (or not addressed by) the conditions of your policy statements

    *)
  5. maxMessageSizeBytes : MaxMessageSizeBytes.t option;
    (*

    The maximum message size in bytes of email which is allowed in by this traffic policy—anything larger will be blocked.

    *)
  6. tags : TagList.t option;
    (*

    The tags used to organize, track, or control access for the resource. For example, { "tags": {"key1":"value1", "key2":"value2"} }.

    *)
}
Sourceval context_ : string
Sourceval make : ?clientToken:??? -> ?maxMessageSizeBytes:??? -> ?tags:??? -> trafficPolicyName:TrafficPolicyName.t -> policyStatements:PolicyStatementList.t -> defaultAction:AcceptAction.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `Integer of MaxMessageSizeBytes.t | `List of [> `Structure of (string * [> `Enum of string | `List of [> `Structure of (string * [> `Structure of (string * [> `Enum of string | `List of [> `String of String_.t ] list | `Structure of (string * [> `Enum of string | `Structure of (string * [> `Enum of string | `List of [> `String of AddressListArn.t ] list | `String of AnalyzerArn.t ]) list ]) list ]) list ]) list ] list | `String of TagKey.t ]) list ] list | `String of IdempotencyToken.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