Module Values.UpdateTrafficPolicyRequestSource

Update attributes of an already provisioned traffic policy resource.

Sourcetype nonrec t = {
  1. trafficPolicyId : TrafficPolicyId.t;
    (*

    The identifier of the traffic policy that you want to update.

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

    A user-friendly name for the traffic policy resource.

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

    The list of conditions to be updated for filtering email traffic.

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

    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.

    *)
}
Sourceval context_ : string
Sourceval make : ?trafficPolicyName:??? -> ?policyStatements:??? -> ?defaultAction:??? -> ?maxMessageSizeBytes:??? -> trafficPolicyId:TrafficPolicyId.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 ]) list ] list | `String of TrafficPolicyId.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