aws-sdk-ec2 1.228.0 → 1.233.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -480,10 +480,10 @@ module Aws::EC2
480
480
  # ],
481
481
  # availability_zone: "String",
482
482
  # availability_zone_id: "String",
483
+ # cidr_block: "String", # required
483
484
  # ipv_6_cidr_block: "String",
484
485
  # outpost_arn: "String",
485
486
  # dry_run: false,
486
- # cidr_block: "String", # required
487
487
  # })
488
488
  # @param [Hash] options ({})
489
489
  # @option options [Array<Types::TagSpecification>] :tag_specifications
@@ -508,6 +508,11 @@ module Aws::EC2
508
508
  # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using-regions-availability-zones.html#concepts-available-regions
509
509
  # @option options [String] :availability_zone_id
510
510
  # The AZ ID or the Local Zone ID of the subnet.
511
+ # @option options [required, String] :cidr_block
512
+ # The IPv4 network range for the subnet, in CIDR notation. For example,
513
+ # `10.0.0.0/24`. We modify the specified CIDR block to its canonical
514
+ # form; for example, if you specify `100.68.0.18/18`, we modify it to
515
+ # `100.68.0.0/18`.
511
516
  # @option options [String] :ipv_6_cidr_block
512
517
  # The IPv6 network range for the subnet, in CIDR notation. The subnet
513
518
  # size must use a /64 prefix length.
@@ -520,11 +525,6 @@ module Aws::EC2
520
525
  # without actually making the request, and provides an error response.
521
526
  # If you have the required permissions, the error response is
522
527
  # `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
523
- # @option options [required, String] :cidr_block
524
- # The IPv4 network range for the subnet, in CIDR notation. For example,
525
- # `10.0.0.0/24`. We modify the specified CIDR block to its canonical
526
- # form; for example, if you specify `100.68.0.18/18`, we modify it to
527
- # `100.68.0.0/18`.
528
528
  # @return [Subnet]
529
529
  def create_subnet(options = {})
530
530
  options = options.merge(vpc_id: @id)
@@ -1128,6 +1128,8 @@ module Aws::EC2
1128
1128
  # * `network-interface.vpc-id` - The ID of the VPC for the network
1129
1129
  # interface.
1130
1130
  #
1131
+ # * `outpost-arn` - The Amazon Resource Name (ARN) of the Outpost.
1132
+ #
1131
1133
  # * `owner-id` - The AWS account ID of the instance owner.
1132
1134
  #
1133
1135
  # * `placement-group-name` - The name of the placement group for the
@@ -1935,6 +1937,8 @@ module Aws::EC2
1935
1937
  # * `ipv6-cidr-block-association.state` - The state of an IPv6 CIDR
1936
1938
  # block associated with the subnet.
1937
1939
  #
1940
+ # * `outpost-arn` - The Amazon Resource Name (ARN) of the Outpost.
1941
+ #
1938
1942
  # * `owner-id` - The ID of the AWS account that owns the subnet.
1939
1943
  #
1940
1944
  # * `state` - The state of the subnet (`pending` \| `available`).
@@ -932,7 +932,7 @@ module Aws::EC2
932
932
  "argument" => "length(security_groups[].group_id) > `0`"
933
933
  },
934
934
  {
935
- "expected" => "InvalidGroupNotFound",
935
+ "expected" => "InvalidGroup.NotFound",
936
936
  "matcher" => "error",
937
937
  "state" => "retry"
938
938
  }
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-ec2
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.228.0
4
+ version: 1.233.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-03-19 00:00:00.000000000 Z
11
+ date: 2021-04-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sigv4