Module Values_7.CreateSecondarySubnetRequestSource

Creates a secondary subnet in a secondary network. A secondary subnet CIDR block must not overlap with the CIDR block of an existing secondary subnet in the secondary network. After you create a secondary subnet, you can't change its CIDR block. The allowed size for a secondary subnet CIDR block is between /28 netmask (16 IP addresses) and /12 netmask (1,048,576 IP addresses). Amazon reserves the first four IP addresses and the last IP address in each secondary subnet for internal use.

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

    Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see Ensure Idempotency.

    *)
  2. availabilityZone : Values_0.AvailabilityZoneName.t option;
    (*

    The Availability Zone for the secondary subnet. You cannot specify both AvailabilityZone and AvailabilityZoneId in the same request.

    *)
  3. availabilityZoneId : Values_0.AvailabilityZoneId.t option;
    (*

    The ID of the Availability Zone for the secondary subnet. This option is preferred over AvailabilityZone as it provides a consistent identifier across Amazon Web Services accounts. You cannot specify both AvailabilityZone and AvailabilityZoneId in the same request.

    *)
  4. 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.

    *)
  5. ipv4CidrBlock : Values_0.String_.t;
    (*

    The IPv4 CIDR block for the secondary subnet. The CIDR block size must be between /12 and /28.

    *)
  6. secondaryNetworkId : Values_0.SecondaryNetworkId.t;
    (*

    The ID of the secondary network in which to create the secondary subnet.

    *)
  7. tagSpecifications : Values_0.TagSpecificationList.t option;
    (*

    The tags to assign to the secondary subnet.

    *)
}
Sourceval context_ : string
Sourceval make : ?clientToken:??? -> ?availabilityZone:??? -> ?availabilityZoneId:??? -> ?dryRun:??? -> ?tagSpecifications:??? -> ipv4CidrBlock:Values_0.String_.t -> secondaryNetworkId:Values_0.SecondaryNetworkId.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Boolean of Values_0.Boolean.t | `List of [> `Structure of (string * [> `Enum of string | `List of [> `Structure of (string * [> `String of string ]) list ] list ]) list ] list | `String of Values_0.String_.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