aws-sdk-ec2 1.236.0 → 1.237.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b1806cace49f57fdcf345360b447e743fd9f22108dc591279a63699d20910603
4
- data.tar.gz: 8752518103e09a39fb72e63b0413bf272d50791f5e4fab11ccd69ee67574b5fc
3
+ metadata.gz: 0f6c58e0da7b507d81dd6852d3fcec4f0edfb35eaf7a3fd55ccf245633e8efd1
4
+ data.tar.gz: 1f259fc185d7611436725cb4e24312ad18af1d02c15e11dfcdb0fa927492979d
5
5
  SHA512:
6
- metadata.gz: '093162402d22cf4a4cfd216cb1c8dda797103a7cd4886594a475a59de74b72024887041fcd3414e0711579570d9dd1c106784c5f57c6af659838963dc232853c'
7
- data.tar.gz: deb75648232854c3e200487f9215f1fdc4ab99a459115036c2f6c00402f93b897bee9f240a9c22d8a328474da8fcaf8d4532e9db63fdbaffc1c22f9d31ac3dd6
6
+ metadata.gz: 5ee401faf6ccc17d2661d4abdb74bc5bb61f4549a8a6c5f6fe0ecf0b15b5b6992bdc297e24275ba30431da22d891e7ee88751fc38e989629d6dca331e97961f4
7
+ data.tar.gz: 23bdb3cc114a4637fbb42ff644a24fcb442933885ed07eb024658f86ab16ca0304cdd560e4e186d8fec0b0b1428746574ab70b282d89827614f2290dd9bad53b
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.237.0 (2021-05-24)
5
+ ------------------
6
+
7
+ * Feature - This release adds support for creating and managing EC2 On-Demand Capacity Reservations on Outposts.
8
+
4
9
  1.236.0 (2021-05-12)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.236.0
1
+ 1.237.0
data/lib/aws-sdk-ec2.rb CHANGED
@@ -72,6 +72,6 @@ require_relative 'aws-sdk-ec2/customizations'
72
72
  # @!group service
73
73
  module Aws::EC2
74
74
 
75
- GEM_VERSION = '1.236.0'
75
+ GEM_VERSION = '1.237.0'
76
76
 
77
77
  end
@@ -1682,13 +1682,13 @@ module Aws::EC2
1682
1682
  # single IPv6 CIDR block with your subnet. An IPv6 CIDR block must have
1683
1683
  # a prefix length of /64.
1684
1684
  #
1685
- # @option params [required, String] :subnet_id
1686
- # The ID of your subnet.
1687
- #
1688
1685
  # @option params [required, String] :ipv_6_cidr_block
1689
1686
  # The IPv6 CIDR block for your subnet. The subnet must have a /64 prefix
1690
1687
  # length.
1691
1688
  #
1689
+ # @option params [required, String] :subnet_id
1690
+ # The ID of your subnet.
1691
+ #
1692
1692
  # @return [Types::AssociateSubnetCidrBlockResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1693
1693
  #
1694
1694
  # * {Types::AssociateSubnetCidrBlockResult#ipv_6_cidr_block_association #ipv_6_cidr_block_association} => Types::SubnetIpv6CidrBlockAssociation
@@ -1697,8 +1697,8 @@ module Aws::EC2
1697
1697
  # @example Request syntax with placeholder values
1698
1698
  #
1699
1699
  # resp = client.associate_subnet_cidr_block({
1700
- # subnet_id: "SubnetId", # required
1701
1700
  # ipv_6_cidr_block: "String", # required
1701
+ # subnet_id: "SubnetId", # required
1702
1702
  # })
1703
1703
  #
1704
1704
  # @example Response structure
@@ -3848,6 +3848,10 @@ module Aws::EC2
3848
3848
  # If you have the required permissions, the error response is
3849
3849
  # `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
3850
3850
  #
3851
+ # @option params [String] :outpost_arn
3852
+ # The Amazon Resource Name (ARN) of the Outpost on which to create the
3853
+ # Capacity Reservation.
3854
+ #
3851
3855
  # @return [Types::CreateCapacityReservationResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
3852
3856
  #
3853
3857
  # * {Types::CreateCapacityReservationResult#capacity_reservation #capacity_reservation} => Types::CapacityReservation
@@ -3879,6 +3883,7 @@ module Aws::EC2
3879
3883
  # },
3880
3884
  # ],
3881
3885
  # dry_run: false,
3886
+ # outpost_arn: "OutpostArn",
3882
3887
  # })
3883
3888
  #
3884
3889
  # @example Response structure
@@ -3904,6 +3909,7 @@ module Aws::EC2
3904
3909
  # resp.capacity_reservation.tags #=> Array
3905
3910
  # resp.capacity_reservation.tags[0].key #=> String
3906
3911
  # resp.capacity_reservation.tags[0].value #=> String
3912
+ # resp.capacity_reservation.outpost_arn #=> String
3907
3913
  #
3908
3914
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateCapacityReservation AWS API Documentation
3909
3915
  #
@@ -8483,6 +8489,12 @@ module Aws::EC2
8483
8489
  # @option params [String] :availability_zone_id
8484
8490
  # The AZ ID or the Local Zone ID of the subnet.
8485
8491
  #
8492
+ # @option params [required, String] :cidr_block
8493
+ # The IPv4 network range for the subnet, in CIDR notation. For example,
8494
+ # `10.0.0.0/24`. We modify the specified CIDR block to its canonical
8495
+ # form; for example, if you specify `100.68.0.18/18`, we modify it to
8496
+ # `100.68.0.0/18`.
8497
+ #
8486
8498
  # @option params [String] :ipv_6_cidr_block
8487
8499
  # The IPv6 network range for the subnet, in CIDR notation. The subnet
8488
8500
  # size must use a /64 prefix length.
@@ -8501,12 +8513,6 @@ module Aws::EC2
8501
8513
  # If you have the required permissions, the error response is
8502
8514
  # `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
8503
8515
  #
8504
- # @option params [required, String] :cidr_block
8505
- # The IPv4 network range for the subnet, in CIDR notation. For example,
8506
- # `10.0.0.0/24`. We modify the specified CIDR block to its canonical
8507
- # form; for example, if you specify `100.68.0.18/18`, we modify it to
8508
- # `100.68.0.0/18`.
8509
- #
8510
8516
  # @return [Types::CreateSubnetResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
8511
8517
  #
8512
8518
  # * {Types::CreateSubnetResult#subnet #subnet} => Types::Subnet
@@ -8550,11 +8556,11 @@ module Aws::EC2
8550
8556
  # ],
8551
8557
  # availability_zone: "String",
8552
8558
  # availability_zone_id: "String",
8559
+ # cidr_block: "String", # required
8553
8560
  # ipv_6_cidr_block: "String",
8554
8561
  # outpost_arn: "String",
8555
8562
  # vpc_id: "VpcId", # required
8556
8563
  # dry_run: false,
8557
- # cidr_block: "String", # required
8558
8564
  # })
8559
8565
  #
8560
8566
  # @example Response structure
@@ -14599,6 +14605,9 @@ module Aws::EC2
14599
14605
  # * `dedicated` - The Capacity Reservation is created on single-tenant
14600
14606
  # hardware that is dedicated to a single AWS account.
14601
14607
  #
14608
+ # * `outpost-arn` - The Amazon Resource Name (ARN) of the Outpost on
14609
+ # which the Capacity Reservation was created.
14610
+ #
14602
14611
  # * `state` - The current state of the Capacity Reservation. A Capacity
14603
14612
  # Reservation can be in one of the following states:
14604
14613
  #
@@ -14707,6 +14716,7 @@ module Aws::EC2
14707
14716
  # resp.capacity_reservations[0].tags #=> Array
14708
14717
  # resp.capacity_reservations[0].tags[0].key #=> String
14709
14718
  # resp.capacity_reservations[0].tags[0].value #=> String
14719
+ # resp.capacity_reservations[0].outpost_arn #=> String
14710
14720
  #
14711
14721
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeCapacityReservations AWS API Documentation
14712
14722
  #
@@ -22160,11 +22170,12 @@ module Aws::EC2
22160
22170
  # holders and are for use with Amazon VPC (`Linux/UNIX` \| `Linux/UNIX
22161
22171
  # (Amazon VPC)` \| `SUSE Linux` \| `SUSE Linux (Amazon VPC)` \| `Red
22162
22172
  # Hat Enterprise Linux` \| `Red Hat Enterprise Linux (Amazon VPC)` \|
22163
- # `Windows` \| `Windows (Amazon VPC)` \| `Windows with SQL Server
22164
- # Standard` \| `Windows with SQL Server Standard (Amazon VPC)` \|
22165
- # `Windows with SQL Server Web` \| `Windows with SQL Server Web
22166
- # (Amazon VPC)` \| `Windows with SQL Server Enterprise` \| `Windows
22167
- # with SQL Server Enterprise (Amazon VPC)`).
22173
+ # `Red Hat Enterprise Linux with HA (Amazon VPC)` \| `Windows` \|
22174
+ # `Windows (Amazon VPC)` \| `Windows with SQL Server Standard` \|
22175
+ # `Windows with SQL Server Standard (Amazon VPC)` \| `Windows with SQL
22176
+ # Server Web` \| `Windows with SQL Server Web (Amazon VPC)` \|
22177
+ # `Windows with SQL Server Enterprise` \| `Windows with SQL Server
22178
+ # Enterprise (Amazon VPC)`).
22168
22179
  #
22169
22180
  # * `reserved-instances-id` - The ID of the Reserved Instance.
22170
22181
  #
@@ -22510,11 +22521,12 @@ module Aws::EC2
22510
22521
  # holders and are for use with Amazon VPC. (`Linux/UNIX` \|
22511
22522
  # `Linux/UNIX (Amazon VPC)` \| `SUSE Linux` \| `SUSE Linux (Amazon
22512
22523
  # VPC)` \| `Red Hat Enterprise Linux` \| `Red Hat Enterprise Linux
22513
- # (Amazon VPC)` \| `Windows` \| `Windows (Amazon VPC)` \| `Windows
22514
- # with SQL Server Standard` \| `Windows with SQL Server Standard
22515
- # (Amazon VPC)` \| `Windows with SQL Server Web` \| ` Windows with SQL
22516
- # Server Web (Amazon VPC)` \| `Windows with SQL Server Enterprise` \|
22517
- # `Windows with SQL Server Enterprise (Amazon VPC)`)
22524
+ # (Amazon VPC)` \| `Red Hat Enterprise Linux with HA (Amazon VPC)` \|
22525
+ # `Windows` \| `Windows (Amazon VPC)` \| `Windows with SQL Server
22526
+ # Standard` \| `Windows with SQL Server Standard (Amazon VPC)` \|
22527
+ # `Windows with SQL Server Web` \| ` Windows with SQL Server Web
22528
+ # (Amazon VPC)` \| `Windows with SQL Server Enterprise` \| `Windows
22529
+ # with SQL Server Enterprise (Amazon VPC)`)
22518
22530
  #
22519
22531
  # * `reserved-instances-offering-id` - The Reserved Instances offering
22520
22532
  # ID.
@@ -41869,7 +41881,7 @@ module Aws::EC2
41869
41881
  params: params,
41870
41882
  config: config)
41871
41883
  context[:gem_name] = 'aws-sdk-ec2'
41872
- context[:gem_version] = '1.236.0'
41884
+ context[:gem_version] = '1.237.0'
41873
41885
  Seahorse::Client::Request.new(handlers, context)
41874
41886
  end
41875
41887
 
@@ -1597,6 +1597,7 @@ module Aws::EC2
1597
1597
  OnDemandOptions = Shapes::StructureShape.new(name: 'OnDemandOptions')
1598
1598
  OnDemandOptionsRequest = Shapes::StructureShape.new(name: 'OnDemandOptionsRequest')
1599
1599
  OperationType = Shapes::StringShape.new(name: 'OperationType')
1600
+ OutpostArn = Shapes::StringShape.new(name: 'OutpostArn')
1600
1601
  OwnerStringList = Shapes::ListShape.new(name: 'OwnerStringList')
1601
1602
  PartitionLoadFrequency = Shapes::StringShape.new(name: 'PartitionLoadFrequency')
1602
1603
  PathComponent = Shapes::StructureShape.new(name: 'PathComponent')
@@ -2560,8 +2561,8 @@ module Aws::EC2
2560
2561
  AssociateRouteTableResult.add_member(:association_state, Shapes::ShapeRef.new(shape: RouteTableAssociationState, location_name: "associationState"))
2561
2562
  AssociateRouteTableResult.struct_class = Types::AssociateRouteTableResult
2562
2563
 
2563
- AssociateSubnetCidrBlockRequest.add_member(:subnet_id, Shapes::ShapeRef.new(shape: SubnetId, required: true, location_name: "subnetId"))
2564
2564
  AssociateSubnetCidrBlockRequest.add_member(:ipv_6_cidr_block, Shapes::ShapeRef.new(shape: String, required: true, location_name: "ipv6CidrBlock"))
2565
+ AssociateSubnetCidrBlockRequest.add_member(:subnet_id, Shapes::ShapeRef.new(shape: SubnetId, required: true, location_name: "subnetId"))
2565
2566
  AssociateSubnetCidrBlockRequest.struct_class = Types::AssociateSubnetCidrBlockRequest
2566
2567
 
2567
2568
  AssociateSubnetCidrBlockResult.add_member(:ipv_6_cidr_block_association, Shapes::ShapeRef.new(shape: SubnetIpv6CidrBlockAssociation, location_name: "ipv6CidrBlockAssociation"))
@@ -2891,6 +2892,7 @@ module Aws::EC2
2891
2892
  CapacityReservation.add_member(:instance_match_criteria, Shapes::ShapeRef.new(shape: InstanceMatchCriteria, location_name: "instanceMatchCriteria"))
2892
2893
  CapacityReservation.add_member(:create_date, Shapes::ShapeRef.new(shape: DateTime, location_name: "createDate"))
2893
2894
  CapacityReservation.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "tagSet"))
2895
+ CapacityReservation.add_member(:outpost_arn, Shapes::ShapeRef.new(shape: OutpostArn, location_name: "outpostArn"))
2894
2896
  CapacityReservation.struct_class = Types::CapacityReservation
2895
2897
 
2896
2898
  CapacityReservationGroup.add_member(:group_arn, Shapes::ShapeRef.new(shape: String, location_name: "groupArn"))
@@ -3211,6 +3213,7 @@ module Aws::EC2
3211
3213
  CreateCapacityReservationRequest.add_member(:instance_match_criteria, Shapes::ShapeRef.new(shape: InstanceMatchCriteria, location_name: "InstanceMatchCriteria"))
3212
3214
  CreateCapacityReservationRequest.add_member(:tag_specifications, Shapes::ShapeRef.new(shape: TagSpecificationList, location_name: "TagSpecifications"))
3213
3215
  CreateCapacityReservationRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "DryRun"))
3216
+ CreateCapacityReservationRequest.add_member(:outpost_arn, Shapes::ShapeRef.new(shape: OutpostArn, location_name: "OutpostArn"))
3214
3217
  CreateCapacityReservationRequest.struct_class = Types::CreateCapacityReservationRequest
3215
3218
 
3216
3219
  CreateCapacityReservationResult.add_member(:capacity_reservation, Shapes::ShapeRef.new(shape: CapacityReservation, location_name: "capacityReservation"))
@@ -3647,11 +3650,11 @@ module Aws::EC2
3647
3650
  CreateSubnetRequest.add_member(:tag_specifications, Shapes::ShapeRef.new(shape: TagSpecificationList, location_name: "TagSpecification"))
3648
3651
  CreateSubnetRequest.add_member(:availability_zone, Shapes::ShapeRef.new(shape: String, location_name: "AvailabilityZone"))
3649
3652
  CreateSubnetRequest.add_member(:availability_zone_id, Shapes::ShapeRef.new(shape: String, location_name: "AvailabilityZoneId"))
3653
+ CreateSubnetRequest.add_member(:cidr_block, Shapes::ShapeRef.new(shape: String, required: true, location_name: "CidrBlock"))
3650
3654
  CreateSubnetRequest.add_member(:ipv_6_cidr_block, Shapes::ShapeRef.new(shape: String, location_name: "Ipv6CidrBlock"))
3651
3655
  CreateSubnetRequest.add_member(:outpost_arn, Shapes::ShapeRef.new(shape: String, location_name: "OutpostArn"))
3652
3656
  CreateSubnetRequest.add_member(:vpc_id, Shapes::ShapeRef.new(shape: VpcId, required: true, location_name: "VpcId"))
3653
3657
  CreateSubnetRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "dryRun"))
3654
- CreateSubnetRequest.add_member(:cidr_block, Shapes::ShapeRef.new(shape: String, required: true, location_name: "CidrBlock"))
3655
3658
  CreateSubnetRequest.struct_class = Types::CreateSubnetRequest
3656
3659
 
3657
3660
  CreateSubnetResult.add_member(:subnet, Shapes::ShapeRef.new(shape: Subnet, location_name: "subnet"))
@@ -1023,11 +1023,11 @@ module Aws::EC2
1023
1023
  # ],
1024
1024
  # availability_zone: "String",
1025
1025
  # availability_zone_id: "String",
1026
+ # cidr_block: "String", # required
1026
1027
  # ipv_6_cidr_block: "String",
1027
1028
  # outpost_arn: "String",
1028
1029
  # vpc_id: "VpcId", # required
1029
1030
  # dry_run: false,
1030
- # cidr_block: "String", # required
1031
1031
  # })
1032
1032
  # @param [Hash] options ({})
1033
1033
  # @option options [Array<Types::TagSpecification>] :tag_specifications
@@ -1052,6 +1052,11 @@ module Aws::EC2
1052
1052
  # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using-regions-availability-zones.html#concepts-available-regions
1053
1053
  # @option options [String] :availability_zone_id
1054
1054
  # The AZ ID or the Local Zone ID of the subnet.
1055
+ # @option options [required, String] :cidr_block
1056
+ # The IPv4 network range for the subnet, in CIDR notation. For example,
1057
+ # `10.0.0.0/24`. We modify the specified CIDR block to its canonical
1058
+ # form; for example, if you specify `100.68.0.18/18`, we modify it to
1059
+ # `100.68.0.0/18`.
1055
1060
  # @option options [String] :ipv_6_cidr_block
1056
1061
  # The IPv6 network range for the subnet, in CIDR notation. The subnet
1057
1062
  # size must use a /64 prefix length.
@@ -1066,11 +1071,6 @@ module Aws::EC2
1066
1071
  # without actually making the request, and provides an error response.
1067
1072
  # If you have the required permissions, the error response is
1068
1073
  # `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
1069
- # @option options [required, String] :cidr_block
1070
- # The IPv4 network range for the subnet, in CIDR notation. For example,
1071
- # `10.0.0.0/24`. We modify the specified CIDR block to its canonical
1072
- # form; for example, if you specify `100.68.0.18/18`, we modify it to
1073
- # `100.68.0.0/18`.
1074
1074
  # @return [Subnet]
1075
1075
  def create_subnet(options = {})
1076
1076
  resp = @client.create_subnet(options)
@@ -1647,24 +1647,24 @@ module Aws::EC2
1647
1647
  # data as a hash:
1648
1648
  #
1649
1649
  # {
1650
- # subnet_id: "SubnetId", # required
1651
1650
  # ipv_6_cidr_block: "String", # required
1651
+ # subnet_id: "SubnetId", # required
1652
1652
  # }
1653
1653
  #
1654
- # @!attribute [rw] subnet_id
1655
- # The ID of your subnet.
1656
- # @return [String]
1657
- #
1658
1654
  # @!attribute [rw] ipv_6_cidr_block
1659
1655
  # The IPv6 CIDR block for your subnet. The subnet must have a /64
1660
1656
  # prefix length.
1661
1657
  # @return [String]
1662
1658
  #
1659
+ # @!attribute [rw] subnet_id
1660
+ # The ID of your subnet.
1661
+ # @return [String]
1662
+ #
1663
1663
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/AssociateSubnetCidrBlockRequest AWS API Documentation
1664
1664
  #
1665
1665
  class AssociateSubnetCidrBlockRequest < Struct.new(
1666
- :subnet_id,
1667
- :ipv_6_cidr_block)
1666
+ :ipv_6_cidr_block,
1667
+ :subnet_id)
1668
1668
  SENSITIVE = []
1669
1669
  include Aws::Structure
1670
1670
  end
@@ -3588,6 +3588,11 @@ module Aws::EC2
3588
3588
  # Any tags assigned to the Capacity Reservation.
3589
3589
  # @return [Array<Types::Tag>]
3590
3590
  #
3591
+ # @!attribute [rw] outpost_arn
3592
+ # The Amazon Resource Name (ARN) of the Outpost on which the Capacity
3593
+ # Reservation was created.
3594
+ # @return [String]
3595
+ #
3591
3596
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CapacityReservation AWS API Documentation
3592
3597
  #
3593
3598
  class CapacityReservation < Struct.new(
@@ -3609,7 +3614,8 @@ module Aws::EC2
3609
3614
  :end_date_type,
3610
3615
  :instance_match_criteria,
3611
3616
  :create_date,
3612
- :tags)
3617
+ :tags,
3618
+ :outpost_arn)
3613
3619
  SENSITIVE = []
3614
3620
  include Aws::Structure
3615
3621
  end
@@ -5385,6 +5391,7 @@ module Aws::EC2
5385
5391
  # },
5386
5392
  # ],
5387
5393
  # dry_run: false,
5394
+ # outpost_arn: "OutpostArn",
5388
5395
  # }
5389
5396
  #
5390
5397
  # @!attribute [rw] client_token
@@ -5507,6 +5514,11 @@ module Aws::EC2
5507
5514
  # `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
5508
5515
  # @return [Boolean]
5509
5516
  #
5517
+ # @!attribute [rw] outpost_arn
5518
+ # The Amazon Resource Name (ARN) of the Outpost on which to create the
5519
+ # Capacity Reservation.
5520
+ # @return [String]
5521
+ #
5510
5522
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateCapacityReservationRequest AWS API Documentation
5511
5523
  #
5512
5524
  class CreateCapacityReservationRequest < Struct.new(
@@ -5523,7 +5535,8 @@ module Aws::EC2
5523
5535
  :end_date_type,
5524
5536
  :instance_match_criteria,
5525
5537
  :tag_specifications,
5526
- :dry_run)
5538
+ :dry_run,
5539
+ :outpost_arn)
5527
5540
  SENSITIVE = []
5528
5541
  include Aws::Structure
5529
5542
  end
@@ -9231,11 +9244,11 @@ module Aws::EC2
9231
9244
  # ],
9232
9245
  # availability_zone: "String",
9233
9246
  # availability_zone_id: "String",
9247
+ # cidr_block: "String", # required
9234
9248
  # ipv_6_cidr_block: "String",
9235
9249
  # outpost_arn: "String",
9236
9250
  # vpc_id: "VpcId", # required
9237
9251
  # dry_run: false,
9238
- # cidr_block: "String", # required
9239
9252
  # }
9240
9253
  #
9241
9254
  # @!attribute [rw] tag_specifications
@@ -9266,6 +9279,13 @@ module Aws::EC2
9266
9279
  # The AZ ID or the Local Zone ID of the subnet.
9267
9280
  # @return [String]
9268
9281
  #
9282
+ # @!attribute [rw] cidr_block
9283
+ # The IPv4 network range for the subnet, in CIDR notation. For
9284
+ # example, `10.0.0.0/24`. We modify the specified CIDR block to its
9285
+ # canonical form; for example, if you specify `100.68.0.18/18`, we
9286
+ # modify it to `100.68.0.0/18`.
9287
+ # @return [String]
9288
+ #
9269
9289
  # @!attribute [rw] ipv_6_cidr_block
9270
9290
  # The IPv6 network range for the subnet, in CIDR notation. The subnet
9271
9291
  # size must use a /64 prefix length.
@@ -9288,24 +9308,17 @@ module Aws::EC2
9288
9308
  # `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
9289
9309
  # @return [Boolean]
9290
9310
  #
9291
- # @!attribute [rw] cidr_block
9292
- # The IPv4 network range for the subnet, in CIDR notation. For
9293
- # example, `10.0.0.0/24`. We modify the specified CIDR block to its
9294
- # canonical form; for example, if you specify `100.68.0.18/18`, we
9295
- # modify it to `100.68.0.0/18`.
9296
- # @return [String]
9297
- #
9298
9311
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateSubnetRequest AWS API Documentation
9299
9312
  #
9300
9313
  class CreateSubnetRequest < Struct.new(
9301
9314
  :tag_specifications,
9302
9315
  :availability_zone,
9303
9316
  :availability_zone_id,
9317
+ :cidr_block,
9304
9318
  :ipv_6_cidr_block,
9305
9319
  :outpost_arn,
9306
9320
  :vpc_id,
9307
- :dry_run,
9308
- :cidr_block)
9321
+ :dry_run)
9309
9322
  SENSITIVE = []
9310
9323
  include Aws::Structure
9311
9324
  end
@@ -14673,6 +14686,9 @@ module Aws::EC2
14673
14686
  # single-tenant hardware that is dedicated to a single AWS
14674
14687
  # account.
14675
14688
  #
14689
+ # * `outpost-arn` - The Amazon Resource Name (ARN) of the Outpost on
14690
+ # which the Capacity Reservation was created.
14691
+ #
14676
14692
  # * `state` - The current state of the Capacity Reservation. A
14677
14693
  # Capacity Reservation can be in one of the following states:
14678
14694
  #
@@ -20875,11 +20891,12 @@ module Aws::EC2
20875
20891
  # holders and are for use with Amazon VPC. (`Linux/UNIX` \|
20876
20892
  # `Linux/UNIX (Amazon VPC)` \| `SUSE Linux` \| `SUSE Linux (Amazon
20877
20893
  # VPC)` \| `Red Hat Enterprise Linux` \| `Red Hat Enterprise Linux
20878
- # (Amazon VPC)` \| `Windows` \| `Windows (Amazon VPC)` \| `Windows
20879
- # with SQL Server Standard` \| `Windows with SQL Server Standard
20880
- # (Amazon VPC)` \| `Windows with SQL Server Web` \| ` Windows with
20881
- # SQL Server Web (Amazon VPC)` \| `Windows with SQL Server
20882
- # Enterprise` \| `Windows with SQL Server Enterprise (Amazon VPC)`)
20894
+ # (Amazon VPC)` \| `Red Hat Enterprise Linux with HA (Amazon VPC)`
20895
+ # \| `Windows` \| `Windows (Amazon VPC)` \| `Windows with SQL Server
20896
+ # Standard` \| `Windows with SQL Server Standard (Amazon VPC)` \|
20897
+ # `Windows with SQL Server Web` \| ` Windows with SQL Server Web
20898
+ # (Amazon VPC)` \| `Windows with SQL Server Enterprise` \| `Windows
20899
+ # with SQL Server Enterprise (Amazon VPC)`)
20883
20900
  #
20884
20901
  # * `reserved-instances-offering-id` - The Reserved Instances offering
20885
20902
  # ID.
@@ -21065,11 +21082,12 @@ module Aws::EC2
21065
21082
  # holders and are for use with Amazon VPC (`Linux/UNIX` \|
21066
21083
  # `Linux/UNIX (Amazon VPC)` \| `SUSE Linux` \| `SUSE Linux (Amazon
21067
21084
  # VPC)` \| `Red Hat Enterprise Linux` \| `Red Hat Enterprise Linux
21068
- # (Amazon VPC)` \| `Windows` \| `Windows (Amazon VPC)` \| `Windows
21069
- # with SQL Server Standard` \| `Windows with SQL Server Standard
21070
- # (Amazon VPC)` \| `Windows with SQL Server Web` \| `Windows with
21071
- # SQL Server Web (Amazon VPC)` \| `Windows with SQL Server
21072
- # Enterprise` \| `Windows with SQL Server Enterprise (Amazon VPC)`).
21085
+ # (Amazon VPC)` \| `Red Hat Enterprise Linux with HA (Amazon VPC)`
21086
+ # \| `Windows` \| `Windows (Amazon VPC)` \| `Windows with SQL Server
21087
+ # Standard` \| `Windows with SQL Server Standard (Amazon VPC)` \|
21088
+ # `Windows with SQL Server Web` \| `Windows with SQL Server Web
21089
+ # (Amazon VPC)` \| `Windows with SQL Server Enterprise` \| `Windows
21090
+ # with SQL Server Enterprise (Amazon VPC)`).
21073
21091
  #
21074
21092
  # * `reserved-instances-id` - The ID of the Reserved Instance.
21075
21093
  #
@@ -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)
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.236.0
4
+ version: 1.237.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-05-12 00:00:00.000000000 Z
11
+ date: 2021-05-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sigv4