lib/aws-sdk-ec2/resource.rb in aws-sdk-ec2-1.250.0 vs lib/aws-sdk-ec2/resource.rb in aws-sdk-ec2-1.251.0

- old
+ new

@@ -162,10 +162,22 @@ # secondary_private_ip_address_count: 1, # subnet_id: "String", # associate_carrier_ip_address: false, # interface_type: "String", # network_card_index: 1, + # ipv_4_prefixes: [ + # { + # ipv_4_prefix: "String", + # }, + # ], + # ipv_4_prefix_count: 1, + # ipv_6_prefixes: [ + # { + # ipv_6_prefix: "String", + # }, + # ], + # ipv_6_prefix_count: 1, # }, # ], # private_ip_address: "String", # elastic_gpu_specification: [ # { @@ -646,12 +658,12 @@ # Elastic IP address with a private NAT gateway. If the Elastic IP # address is associated with another resource, you must first # disassociate it. # @option options [String] :client_token # Unique, case-sensitive identifier that you provide to ensure the - # idempotency of the request. For more information, see [How to Ensure - # Idempotency][1]. + # idempotency of the request. For more information, see [How to ensure + # idempotency][1]. # # Constraint: Maximum 64 ASCII characters. # # # @@ -733,10 +745,22 @@ # primary: false, # private_ip_address: "String", # }, # ], # secondary_private_ip_address_count: 1, + # ipv_4_prefixes: [ + # { + # ipv_4_prefix: "String", + # }, + # ], + # ipv_4_prefix_count: 1, + # ipv_6_prefixes: [ + # { + # ipv_6_prefix: "String", + # }, + # ], + # ipv_6_prefix_count: 1, # interface_type: "efa", # accepts efa, branch, trunk # subnet_id: "SubnetId", # required # tag_specifications: [ # { # resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, egress-only-internet-gateway, elastic-ip, elastic-gpu, export-image-task, export-instance-task, fleet, fpga-image, host-reservation, image, import-image-task, import-snapshot-task, instance, instance-event-window, internet-gateway, key-pair, launch-template, local-gateway-route-table-vpc-association, natgateway, network-acl, network-interface, network-insights-analysis, network-insights-path, placement-group, reserved-instances, route-table, security-group, security-group-rule, snapshot, spot-fleet-request, spot-instances-request, subnet, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-connect-peer, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log @@ -791,10 +815,26 @@ # Guide*. # # # # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using-eni.html#AvailableIpPerENI + # @option options [Array<Types::Ipv4PrefixSpecificationRequest>] :ipv_4_prefixes + # One or moreIPv4 Prefix Delegation prefixes assigned to the network + # interface. You cannot use this option if you use the `Ipv4PrefixCount` + # option. + # @option options [Integer] :ipv_4_prefix_count + # The number of IPv4 Prefix Delegation prefixes that AWS automatically + # assigns to the network interface. You cannot use this option if you + # use the `Ipv4 Prefixes` option. + # @option options [Array<Types::Ipv6PrefixSpecificationRequest>] :ipv_6_prefixes + # One or moreIPv6 Prefix Delegation prefixes assigned to the network + # interface. You cannot use this option if you use the `Ipv6PrefixCount` + # option. + # @option options [Integer] :ipv_6_prefix_count + # The number of IPv6 Prefix Delegation prefixes that AWS automatically + # assigns to the network interface. You cannot use this option if you + # use the `Ipv6Prefixes` option. # @option options [String] :interface_type # Indicates the type of network interface. To create an Elastic Fabric # Adapter (EFA), specify `efa`. For more information, see [ Elastic # Fabric Adapter][1] in the *Amazon Elastic Compute Cloud User Guide*. # To create a trunk network interface, specify `efa`. For more @@ -1042,25 +1082,25 @@ # ], # }, # ], # availability_zone: "String", # availability_zone_id: "String", - # cidr_block: "String", # required # ipv_6_cidr_block: "String", # outpost_arn: "String", # vpc_id: "VpcId", # required # dry_run: false, + # cidr_block: "String", # required # }) # @param [Hash] options ({}) # @option options [Array<Types::TagSpecification>] :tag_specifications # The tags to assign to the subnet. # @option options [String] :availability_zone # The Availability Zone or Local Zone for the subnet. # - # Default: AWS selects one for you. If you create more than one subnet - # in your VPC, we do not necessarily select a different zone for each - # subnet. + # Default: Amazon Web Services selects one for you. If you create more + # than one subnet in your VPC, we do not necessarily select a different + # zone for each subnet. # # To create a subnet in a Local Zone, set this value to the Local Zone # ID, for example `us-west-2-lax-1a`. For information about the Regions # that support Local Zones, see [Available Regions][1] in the *Amazon # Elastic Compute Cloud User Guide*. @@ -1071,15 +1111,10 @@ # # # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using-regions-availability-zones.html#concepts-available-regions # @option options [String] :availability_zone_id # The AZ ID or the Local Zone ID of the subnet. - # @option options [required, String] :cidr_block - # The IPv4 network range for the subnet, in CIDR notation. For example, - # `10.0.0.0/24`. We modify the specified CIDR block to its canonical - # form; for example, if you specify `100.68.0.18/18`, we modify it to - # `100.68.0.0/18`. # @option options [String] :ipv_6_cidr_block # The IPv6 network range for the subnet, in CIDR notation. The subnet # size must use a /64 prefix length. # @option options [String] :outpost_arn # The Amazon Resource Name (ARN) of the Outpost. If you specify an @@ -1090,10 +1125,15 @@ # @option options [Boolean] :dry_run # 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`. + # @option options [required, String] :cidr_block + # The IPv4 network range for the subnet, in CIDR notation. For example, + # `10.0.0.0/24`. We modify the specified CIDR block to its canonical + # form; for example, if you specify `100.68.0.18/18`, we modify it to + # `100.68.0.0/18`. # @return [Subnet] def create_subnet(options = {}) resp = @client.create_subnet(options) Subnet.new( id: resp.data.subnet.subnet_id, @@ -1452,13 +1492,13 @@ # 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`. # @option options [String] :peer_owner_id - # The AWS account ID of the owner of the accepter VPC. + # The account ID of the owner of the accepter VPC. # - # Default: Your AWS account ID + # Default: Your account ID # @option options [String] :peer_vpc_id # The ID of the VPC with which you are creating the VPC peering # connection. You must specify this parameter in the request. # @option options [String] :vpc_id # The ID of the requester VPC. You must specify this parameter in the @@ -1782,12 +1822,11 @@ # # * `key` - The key for one of the options (for example, `domain-name`). # # * `value` - The value for one of the options. # - # * `owner-id` - The ID of the AWS account that owns the DHCP options - # set. + # * `owner-id` - The ID of the account that owns the DHCP options set. # # * `tag`\:&lt;key&gt; - The key/value combination of a tag assigned to # the resource. Use the tag key in the filter name and the tag value # as the filter value. For example, to find all resources that have a # tag with the key `Owner` and the value `TeamA`, specify `tag:Owner` @@ -2341,12 +2380,11 @@ # # * `attachment.vpc-id` - The ID of an attached VPC. # # * `internet-gateway-id` - The ID of the Internet gateway. # - # * `owner-id` - The ID of the AWS account that owns the internet - # gateway. + # * `owner-id` - The ID of the account that owns the internet gateway. # # * `tag`\:&lt;key&gt; - The key/value combination of a tag assigned to # the resource. Use the tag key in the filter name and the tag value # as the filter value. For example, to find all resources that have a # tag with the key `Owner` and the value `TeamA`, specify `tag:Owner` @@ -2581,11 +2619,11 @@ # * `entry.rule-number` - The number of an entry (in other words, rule) # in the set of ACL entries. # # * `network-acl-id` - The ID of the network ACL. # - # * `owner-id` - The ID of the AWS account that owns the network ACL. + # * `owner-id` - The ID of the account that owns the network ACL. # # * `tag`\:&lt;key&gt; - The key/value combination of a tag assigned to # the resource. Use the tag key in the filter name and the tag value # as the filter value. For example, to find all resources that have a # tag with the key `Owner` and the value `TeamA`, specify `tag:Owner` @@ -2899,22 +2937,22 @@ # # * `association.main` - Indicates whether the route table is the main # route table for the VPC (`true` \| `false`). Route tables that do # not have an association ID are not returned in the response. # - # * `owner-id` - The ID of the AWS account that owns the route table. + # * `owner-id` - The ID of the account that owns the route table. # # * `route-table-id` - The ID of the route table. # # * `route.destination-cidr-block` - The IPv4 CIDR range specified in a # route in the table. # # * `route.destination-ipv6-cidr-block` - The IPv6 CIDR range specified # in a route in the route table. # - # * `route.destination-prefix-list-id` - The ID (prefix) of the AWS - # service specified in a route in the table. + # * `route.destination-prefix-list-id` - The ID (prefix) of the Amazon + # Web Service specified in a route in the table. # # * `route.egress-only-internet-gateway-id` - The ID of an egress-only # Internet gateway specified in a route in the route table. # # * `route.gateway-id` - The ID of a gateway specified in a route in the @@ -3272,11 +3310,11 @@ # * `ipv6-cidr-block-association.state` - The state of an IPv6 CIDR # block associated with the subnet. # # * `outpost-arn` - The Amazon Resource Name (ARN) of the Outpost. # - # * `owner-id` - The ID of the AWS account that owns the subnet. + # * `owner-id` - The ID of the account that owns the subnet. # # * `state` - The state of the subnet (`pending` \| `available`). # # * `subnet-arn` - The Amazon Resource Name (ARN) of the subnet. # @@ -3540,23 +3578,23 @@ # One or more filters. # # * `accepter-vpc-info.cidr-block` - The IPv4 CIDR block of the accepter # VPC. # - # * `accepter-vpc-info.owner-id` - The AWS account ID of the owner of - # the accepter VPC. + # * `accepter-vpc-info.owner-id` - The ID of the account that owns the + # accepter VPC. # # * `accepter-vpc-info.vpc-id` - The ID of the accepter VPC. # # * `expiration-time` - The expiration date and time for the VPC peering # connection. # # * `requester-vpc-info.cidr-block` - The IPv4 CIDR block of the # requester's VPC. # - # * `requester-vpc-info.owner-id` - The AWS account ID of the owner of - # the requester VPC. + # * `requester-vpc-info.owner-id` - The ID of the account that owns the + # requester VPC. # # * `requester-vpc-info.vpc-id` - The ID of the requester VPC. # # * `status-code` - The status of the VPC peering connection # (`pending-acceptance` \| `failed` \| `expired` \| `provisioning` \| @@ -3646,12 +3684,12 @@ # for an IPv6 CIDR block associated with the VPC. # # * `ipv6-cidr-block-association.state` - The state of an IPv6 CIDR # block associated with the VPC. # - # * `isDefault` - Indicates whether the VPC is the default VPC. + # * `is-default` - Indicates whether the VPC is the default VPC. # - # * `owner-id` - The ID of the AWS account that owns the VPC. + # * `owner-id` - The ID of the account that owns the VPC. # # * `state` - The state of the VPC (`pending` \| `available`). # # * `tag`\:&lt;key&gt; - The key/value combination of a tag assigned to # the resource. Use the tag key in the filter name and the tag value