Module Values.GetTrafficPolicyResponseSource

Fetch attributes of a traffic policy resource.

Sourcetype nonrec t = {
  1. trafficPolicyName : TrafficPolicyName.t option;
    (*

    A user-friendly name for the traffic policy resource.

    *)
  2. trafficPolicyId : TrafficPolicyId.t option;
    (*

    The identifier of the traffic policy resource.

    *)
  3. trafficPolicyArn : TrafficPolicyArn.t option;
    (*

    The Amazon Resource Name (ARN) of the traffic policy resource.

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

    The list of conditions which are in the traffic policy resource.

    *)
  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. defaultAction : AcceptAction.t option;
    (*

    The default action of the traffic policy.

    *)
  7. createdTimestamp : Timestamp.t option;
    (*

    The timestamp of when the traffic policy was created.

    *)
  8. lastUpdatedTimestamp : Timestamp.t option;
    (*

    The timestamp of when the traffic policy was last updated.

    *)
}
Sourcetype nonrec error = [
  1. | `ResourceNotFoundException of ResourceNotFoundException.t
  2. | `ValidationException of ValidationException.t
  3. | `Unknown_operation_error of string * string option
]
Sourceval make : ?trafficPolicyName:??? -> ?trafficPolicyId:??? -> ?trafficPolicyArn:??? -> ?policyStatements:??? -> ?maxMessageSizeBytes:??? -> ?defaultAction:??? -> ?createdTimestamp:??? -> ?lastUpdatedTimestamp:??? -> unit -> t
Sourceval error_of_json : string -> Yojson.Safe.t -> [> `ResourceNotFoundException of ResourceNotFoundException.t | `Unknown_operation_error of string * string option | `ValidationException of ValidationException.t ]
Sourceval error_of_xml : string -> Awso.Xml.t -> [> `ResourceNotFoundException of ResourceNotFoundException.t | `Unknown_operation_error of string * string option | `ValidationException of ValidationException.t ]
Sourceval error_to_json : error -> Yojson.Safe.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 TrafficPolicyName.t | `Timestamp of Timestamp.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