Module Values_2.TransitGatewayMeteringPolicyEntrySource

Describes an entry in a transit gateway metering policy.

Sourcetype nonrec t = {
  1. policyRuleNumber : Values_0.String_.t option;
    (*

    The rule number of the metering policy entry.

    *)
  2. meteredAccount : Values_1.TransitGatewayMeteringPayerType.t option;
    (*

    The Amazon Web Services account ID to which the metered traffic is attributed.

    *)
  3. state : Values_1.TransitGatewayMeteringPolicyEntryState.t option;
    (*

    The state of the metering policy entry.

    *)
  4. updatedAt : Values_0.MillisecondDateTime.t option;
    (*

    The date and time when the metering policy entry was last updated.

    *)
  5. updateEffectiveAt : Values_0.MillisecondDateTime.t option;
    (*

    The date and time when the metering policy entry update becomes effective.

    *)
  6. meteringPolicyRule : Values_1.TransitGatewayMeteringPolicyRule.t option;
    (*

    The metering policy rule that defines traffic matching criteria.

    *)
}
Sourceval make : ?policyRuleNumber:??? -> ?meteredAccount:??? -> ?state:??? -> ?updatedAt:??? -> ?updateEffectiveAt:??? -> ?meteringPolicyRule:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `String of Values_0.String_.t | `Structure of (string * [> `Enum of string | `String of Values_0.TransitGatewayAttachmentId.t ]) list | `Timestamp of Values_0.MillisecondDateTime.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