Module Values_7.CreateTransitGatewayMeteringPolicyEntryRequestSource

Creates an entry in a transit gateway metering policy to define traffic measurement rules.

Sourcetype nonrec t = {
  1. transitGatewayMeteringPolicyId : Values_1.TransitGatewayMeteringPolicyId.t;
    (*

    The ID of the transit gateway metering policy to add the entry to.

    *)
  2. policyRuleNumber : Values_0.Integer.t;
    (*

    The rule number for the metering policy entry. Rules are processed in order from lowest to highest number.

    *)
  3. sourceTransitGatewayAttachmentId : Values_0.TransitGatewayAttachmentId.t option;
    (*

    The ID of the source transit gateway attachment for traffic matching.

    *)
  4. sourceTransitGatewayAttachmentType : Values_0.TransitGatewayAttachmentResourceType.t option;
    (*

    The type of the source transit gateway attachment for traffic matching. Note that the tgw-peering resource type has been deprecated. To configure metering policies for Connect, use the transport attachment type.

    *)
  5. sourceCidrBlock : Values_0.String_.t option;
    (*

    The source CIDR block for traffic matching.

    *)
  6. sourcePortRange : Values_0.String_.t option;
    (*

    The source port range for traffic matching.

    *)
  7. destinationTransitGatewayAttachmentId : Values_0.TransitGatewayAttachmentId.t option;
    (*

    The ID of the destination transit gateway attachment for traffic matching.

    *)
  8. destinationTransitGatewayAttachmentType : Values_0.TransitGatewayAttachmentResourceType.t option;
    (*

    The type of the destination transit gateway attachment for traffic matching. Note that the tgw-peering resource type has been deprecated. To configure metering policies for Connect, use the transport attachment type.

    *)
  9. destinationCidrBlock : Values_0.String_.t option;
    (*

    The destination CIDR block for traffic matching.

    *)
  10. destinationPortRange : Values_0.String_.t option;
    (*

    The destination port range for traffic matching.

    *)
  11. protocol : Values_0.String_.t option;
    (*

    The protocol for traffic matching (1, 6, 17, etc.).

    *)
  12. meteredAccount : Values_1.TransitGatewayMeteringPayerType.t;
    (*

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

    *)
  13. dryRun : Values_0.Boolean.t option;
    (*

    Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

    *)
}
Sourceval context_ : string
Sourceval make : ?sourceTransitGatewayAttachmentId:??? -> ?sourceTransitGatewayAttachmentType:??? -> ?sourceCidrBlock:??? -> ?sourcePortRange:??? -> ?destinationTransitGatewayAttachmentId:??? -> ?destinationTransitGatewayAttachmentType:??? -> ?destinationCidrBlock:??? -> ?destinationPortRange:??? -> ?protocol:??? -> ?dryRun:??? -> transitGatewayMeteringPolicyId:Values_1.TransitGatewayMeteringPolicyId.t -> policyRuleNumber:Values_0.Integer.t -> meteredAccount:Values_1.TransitGatewayMeteringPayerType.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Boolean of Values_0.Boolean.t | `Enum of string | `Integer of Values_0.Integer.t | `String of Values_1.TransitGatewayMeteringPolicyId.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