aws-sdk-ec2 1.233.0 → 1.234.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f0da339a81ce955d4eff0fcfbcfea49048e85b0fdf227a8637731228746f8ec4
4
- data.tar.gz: 486397d90c2ebb9adf7fe642eda8b26e32d582d1c1fb8dfac161e03bda27629e
3
+ metadata.gz: 9fc2bc517e83c77f5b914b532b2d9aac4e7d2eac63c7d88ea166a86bc89409d5
4
+ data.tar.gz: f468658ae701343f57ff870627dd44810d8284c3efa0d00f9852c8aa1658bf0e
5
5
  SHA512:
6
- metadata.gz: 8dd8049994bdedeb41dc8e93d34df65b2ebd69c9fbad83ca8b41424c72453de2ef851b6062a5cd389d8e36142ac64eb26b464efe9c838e5e0b277f3ccc020ccf
7
- data.tar.gz: 152d1fbb23b0ebf379c12116ae46dd645697b32c89899e6d2e3b60cb18597ac50d97da7d06f43bb99cb4f2db96dd1922bb6481f8cc33a25ea42a229561892ef3
6
+ metadata.gz: bfe9349b3facc8b70b620fe8727c55904d90d47e7408a65bb234995dfe2bec4b39e16e68286c47513d721f3c7c4b9cf028b6373e7fdc406a20983740ad61dbee
7
+ data.tar.gz: 9f7124dae07e9f225032c65aca337a7f9d907914dad29e6cda79ebc3734c6001c896ac43f0a5c54a9aa3dd4583b40b3b3a1a0ac28cda8fe39aaf4500e1b8cff1
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.234.0 (2021-04-09)
5
+ ------------------
6
+
7
+ * Feature - Add paginator support to DescribeStoreImageTasks and update documentation.
8
+
4
9
  1.233.0 (2021-04-06)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.233.0
1
+ 1.234.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.233.0'
75
+ GEM_VERSION = '1.234.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
+ #
1685
1688
  # @option params [required, String] :ipv_6_cidr_block
1686
1689
  # The IPv6 CIDR block for your subnet. The subnet must have a /64 prefix
1687
1690
  # length.
1688
1691
  #
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
- # ipv_6_cidr_block: "String", # required
1701
1700
  # subnet_id: "SubnetId", # required
1701
+ # ipv_6_cidr_block: "String", # required
1702
1702
  # })
1703
1703
  #
1704
1704
  # @example Response structure
@@ -5420,7 +5420,7 @@ module Aws::EC2
5420
5420
  #
5421
5421
  # For information about the supported operating systems, image formats,
5422
5422
  # and known limitations for the types of instances you can export, see
5423
- # [Exporting an Instance as a VM Using VM Import/Export][1] in the *VM
5423
+ # [Exporting an instance as a VM Using VM Import/Export][1] in the *VM
5424
5424
  # Import/Export User Guide*.
5425
5425
  #
5426
5426
  #
@@ -8483,12 +8483,6 @@ module Aws::EC2
8483
8483
  # @option params [String] :availability_zone_id
8484
8484
  # The AZ ID or the Local Zone ID of the subnet.
8485
8485
  #
8486
- # @option params [required, String] :cidr_block
8487
- # The IPv4 network range for the subnet, in CIDR notation. For example,
8488
- # `10.0.0.0/24`. We modify the specified CIDR block to its canonical
8489
- # form; for example, if you specify `100.68.0.18/18`, we modify it to
8490
- # `100.68.0.0/18`.
8491
- #
8492
8486
  # @option params [String] :ipv_6_cidr_block
8493
8487
  # The IPv6 network range for the subnet, in CIDR notation. The subnet
8494
8488
  # size must use a /64 prefix length.
@@ -8507,6 +8501,12 @@ module Aws::EC2
8507
8501
  # If you have the required permissions, the error response is
8508
8502
  # `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
8509
8503
  #
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
8510
  # @return [Types::CreateSubnetResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
8511
8511
  #
8512
8512
  # * {Types::CreateSubnetResult#subnet #subnet} => Types::Subnet
@@ -8550,11 +8550,11 @@ module Aws::EC2
8550
8550
  # ],
8551
8551
  # availability_zone: "String",
8552
8552
  # availability_zone_id: "String",
8553
- # cidr_block: "String", # required
8554
8553
  # ipv_6_cidr_block: "String",
8555
8554
  # outpost_arn: "String",
8556
8555
  # vpc_id: "VpcId", # required
8557
8556
  # dry_run: false,
8557
+ # cidr_block: "String", # required
8558
8558
  # })
8559
8559
  #
8560
8560
  # @example Response structure
@@ -14620,6 +14620,9 @@ module Aws::EC2
14620
14620
  # constraints, or instance limit constraints. Failed requests are
14621
14621
  # retained for 60 minutes.
14622
14622
  #
14623
+ # * `start-date` - The date and time at which the Capacity Reservation
14624
+ # was started.
14625
+ #
14623
14626
  # * `end-date` - The date and time at which the Capacity Reservation
14624
14627
  # expires. When a Capacity Reservation expires, the reserved capacity
14625
14628
  # is released and you can no longer launch instances into it. The
@@ -18347,7 +18350,7 @@ module Aws::EC2
18347
18350
  # * `memory-info.size-in-mib` - The memory size.
18348
18351
  #
18349
18352
  # * `network-info.efa-info.maximum-efa-interfaces` - The maximum number
18350
- # of Elastic Fabric Adapters (EFAs) per instance. (`true` \| `false`).
18353
+ # of Elastic Fabric Adapters (EFAs) per instance.
18351
18354
  #
18352
18355
  # * `network-info.efa-supported` - Indicates whether the instance type
18353
18356
  # supports Elastic Fabric Adapter (EFA) (`true` \| `false`).
@@ -24633,11 +24636,10 @@ module Aws::EC2
24633
24636
  # Instance pricing history][1] in the *Amazon EC2 User Guide for Linux
24634
24637
  # Instances*.
24635
24638
  #
24636
- # When you specify a start and end time, this operation returns the
24637
- # prices of the instance types within the time range that you specified
24638
- # and the time when the price changed. The price is valid within the
24639
- # time period that you specified; the response merely indicates the last
24640
- # time that the price changed.
24639
+ # When you specify a start and end time, the operation returns the
24640
+ # prices of the instance types within that time range. It also returns
24641
+ # the last price change before the start time, which is the effective
24642
+ # price as of the start time.
24641
24643
  #
24642
24644
  #
24643
24645
  #
@@ -24926,6 +24928,8 @@ module Aws::EC2
24926
24928
  # * {Types::DescribeStoreImageTasksResult#store_image_task_results #store_image_task_results} => Array<Types::StoreImageTaskResult>
24927
24929
  # * {Types::DescribeStoreImageTasksResult#next_token #next_token} => String
24928
24930
  #
24931
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
24932
+ #
24929
24933
  # @example Request syntax with placeholder values
24930
24934
  #
24931
24935
  # resp = client.describe_store_image_tasks({
@@ -29702,8 +29706,8 @@ module Aws::EC2
29702
29706
  end
29703
29707
 
29704
29708
  # Exports an Amazon Machine Image (AMI) to a VM file. For more
29705
- # information, see [Exporting a VM Directory from an Amazon Machine
29706
- # Image (AMI)][1] in the *VM Import/Export User Guide*.
29709
+ # information, see [Exporting a VM directly from an Amazon Machine Image
29710
+ # (AMI)][1] in the *VM Import/Export User Guide*.
29707
29711
  #
29708
29712
  #
29709
29713
  #
@@ -31471,9 +31475,10 @@ module Aws::EC2
31471
31475
  end
31472
31476
 
31473
31477
  # Import single or multi-volume disk images or EBS snapshots into an
31474
- # Amazon Machine Image (AMI). For more information, see [Importing a VM
31475
- # as an Image Using VM Import/Export][1] in the *VM Import/Export User
31476
- # Guide*.
31478
+ # Amazon Machine Image (AMI).
31479
+ #
31480
+ # For more information, see [Importing a VM as an image using VM
31481
+ # Import/Export][1] in the *VM Import/Export User Guide*.
31477
31482
  #
31478
31483
  #
31479
31484
  #
@@ -31697,16 +31702,22 @@ module Aws::EC2
31697
31702
  end
31698
31703
 
31699
31704
  # Creates an import instance task using metadata from the specified disk
31700
- # image. `ImportInstance` only supports single-volume VMs. To import
31701
- # multi-volume VMs, use ImportImage. For more information, see
31702
- # [Importing a Virtual Machine Using the Amazon EC2 CLI][1].
31705
+ # image.
31706
+ #
31707
+ # This API action supports only single-volume VMs. To import
31708
+ # multi-volume VMs, use ImportImage instead.
31709
+ #
31710
+ # This API action is not supported by the AWS Command Line Interface
31711
+ # (AWS CLI). For information about using the Amazon EC2 CLI, which is
31712
+ # deprecated, see [Importing a VM to Amazon EC2][1] in the *Amazon EC2
31713
+ # CLI Reference* PDF file.
31703
31714
  #
31704
31715
  # For information about the import manifest referenced by this API
31705
31716
  # action, see [VM Import Manifest][2].
31706
31717
  #
31707
31718
  #
31708
31719
  #
31709
- # [1]: https://docs.aws.amazon.com/AWSEC2/latest/CommandLineReference/ec2-cli-vmimport-export.html
31720
+ # [1]: https://awsdocs.s3.amazonaws.com/EC2/ec2-clt.pdf#UsingVirtualMachinesinAmazonEC2
31710
31721
  # [2]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/manifest.html
31711
31722
  #
31712
31723
  # @option params [String] :description
@@ -31895,6 +31906,13 @@ module Aws::EC2
31895
31906
 
31896
31907
  # Imports a disk into an EBS snapshot.
31897
31908
  #
31909
+ # For more information, see [Importing a disk as a snapshot using VM
31910
+ # Import/Export][1] in the *VM Import/Export User Guide*.
31911
+ #
31912
+ #
31913
+ #
31914
+ # [1]: https://docs.aws.amazon.com/vm-import/latest/userguide/vmimport-import-snapshot.html
31915
+ #
31898
31916
  # @option params [Types::ClientData] :client_data
31899
31917
  # The client-specific data.
31900
31918
  #
@@ -32041,14 +32059,23 @@ module Aws::EC2
32041
32059
  end
32042
32060
 
32043
32061
  # Creates an import volume task using metadata from the specified disk
32044
- # image.For more information, see [Importing Disks to Amazon EBS][1].
32062
+ # image.
32063
+ #
32064
+ # This API action supports only single-volume VMs. To import
32065
+ # multi-volume VMs, use ImportImage instead. To import a disk to a
32066
+ # snapshot, use ImportSnapshot instead.
32067
+ #
32068
+ # This API action is not supported by the AWS Command Line Interface
32069
+ # (AWS CLI). For information about using the Amazon EC2 CLI, which is
32070
+ # deprecated, see [Importing Disks to Amazon EBS][1] in the *Amazon EC2
32071
+ # CLI Reference* PDF file.
32045
32072
  #
32046
32073
  # For information about the import manifest referenced by this API
32047
32074
  # action, see [VM Import Manifest][2].
32048
32075
  #
32049
32076
  #
32050
32077
  #
32051
- # [1]: https://docs.aws.amazon.com/AWSEC2/latest/CommandLineReference/importing-your-volumes-into-amazon-ebs.html
32078
+ # [1]: https://awsdocs.s3.amazonaws.com/EC2/ec2-clt.pdf#importing-your-volumes-into-amazon-ebs
32052
32079
  # [2]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/manifest.html
32053
32080
  #
32054
32081
  # @option params [required, String] :availability_zone
@@ -33199,10 +33226,10 @@ module Aws::EC2
33199
33226
  # option with a PV instance can make it unreachable.
33200
33227
  #
33201
33228
  # @option params [Array<String>] :groups
33202
- # \[EC2-VPC\] Changes the security groups of the instance. You must
33203
- # specify at least one security group, even if it's just the default
33204
- # security group for the VPC. You must specify the security group ID,
33205
- # not the security group name.
33229
+ # \[EC2-VPC\] Replaces the security groups of the instance with the
33230
+ # specified security groups. You must specify at least one security
33231
+ # group, even if it's just the default security group for the VPC. You
33232
+ # must specify the security group ID, not the security group name.
33206
33233
  #
33207
33234
  # @option params [required, String] :instance_id
33208
33235
  # The ID of the instance.
@@ -33877,15 +33904,12 @@ module Aws::EC2
33877
33904
  # The ID of the network interface.
33878
33905
  #
33879
33906
  # @option params [Types::AttributeBooleanValue] :source_dest_check
33880
- # Indicates whether source/destination checking is enabled. A value of
33881
- # `true` means checking is enabled, and `false` means checking is
33882
- # disabled. This value must be `false` for a NAT instance to perform
33883
- # NAT. For more information, see [NAT Instances][1] in the *Amazon
33884
- # Virtual Private Cloud User Guide*.
33885
- #
33886
- #
33887
- #
33888
- # [1]: https://docs.aws.amazon.com/AmazonVPC/latest/UserGuide/VPC_NAT_Instance.html
33907
+ # Enable or disable source/destination checks, which ensure that the
33908
+ # instance is either the source or the destination of any traffic that
33909
+ # it receives. If the value is `true`, source/destination checks are
33910
+ # enabled; otherwise, they are disabled. The default value is `true`.
33911
+ # You must disable source/destination checks if the instance runs
33912
+ # services such as network address translation, routing, or firewalls.
33889
33913
  #
33890
33914
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
33891
33915
  #
@@ -38452,7 +38476,7 @@ module Aws::EC2
38452
38476
  # launch_group: "String",
38453
38477
  # launch_specification: {
38454
38478
  # security_group_ids: ["SecurityGroupId"],
38455
- # security_groups: ["SecurityGroupName"],
38479
+ # security_groups: ["String"],
38456
38480
  # addressing_type: "String",
38457
38481
  # block_device_mappings: [
38458
38482
  # {
@@ -41845,7 +41869,7 @@ module Aws::EC2
41845
41869
  params: params,
41846
41870
  config: config)
41847
41871
  context[:gem_name] = 'aws-sdk-ec2'
41848
- context[:gem_version] = '1.233.0'
41872
+ context[:gem_version] = '1.234.0'
41849
41873
  Seahorse::Client::Request.new(handlers, context)
41850
41874
  end
41851
41875
 
@@ -2560,8 +2560,8 @@ module Aws::EC2
2560
2560
  AssociateRouteTableResult.add_member(:association_state, Shapes::ShapeRef.new(shape: RouteTableAssociationState, location_name: "associationState"))
2561
2561
  AssociateRouteTableResult.struct_class = Types::AssociateRouteTableResult
2562
2562
 
2563
- AssociateSubnetCidrBlockRequest.add_member(:ipv_6_cidr_block, Shapes::ShapeRef.new(shape: String, required: true, location_name: "ipv6CidrBlock"))
2564
2563
  AssociateSubnetCidrBlockRequest.add_member(:subnet_id, Shapes::ShapeRef.new(shape: SubnetId, required: true, location_name: "subnetId"))
2564
+ AssociateSubnetCidrBlockRequest.add_member(:ipv_6_cidr_block, Shapes::ShapeRef.new(shape: String, required: true, location_name: "ipv6CidrBlock"))
2565
2565
  AssociateSubnetCidrBlockRequest.struct_class = Types::AssociateSubnetCidrBlockRequest
2566
2566
 
2567
2567
  AssociateSubnetCidrBlockResult.add_member(:ipv_6_cidr_block_association, Shapes::ShapeRef.new(shape: SubnetIpv6CidrBlockAssociation, location_name: "ipv6CidrBlockAssociation"))
@@ -3647,11 +3647,11 @@ module Aws::EC2
3647
3647
  CreateSubnetRequest.add_member(:tag_specifications, Shapes::ShapeRef.new(shape: TagSpecificationList, location_name: "TagSpecification"))
3648
3648
  CreateSubnetRequest.add_member(:availability_zone, Shapes::ShapeRef.new(shape: String, location_name: "AvailabilityZone"))
3649
3649
  CreateSubnetRequest.add_member(:availability_zone_id, Shapes::ShapeRef.new(shape: String, location_name: "AvailabilityZoneId"))
3650
- CreateSubnetRequest.add_member(:cidr_block, Shapes::ShapeRef.new(shape: String, required: true, location_name: "CidrBlock"))
3651
3650
  CreateSubnetRequest.add_member(:ipv_6_cidr_block, Shapes::ShapeRef.new(shape: String, location_name: "Ipv6CidrBlock"))
3652
3651
  CreateSubnetRequest.add_member(:outpost_arn, Shapes::ShapeRef.new(shape: String, location_name: "OutpostArn"))
3653
3652
  CreateSubnetRequest.add_member(:vpc_id, Shapes::ShapeRef.new(shape: VpcId, required: true, location_name: "VpcId"))
3654
3653
  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
3655
  CreateSubnetRequest.struct_class = Types::CreateSubnetRequest
3656
3656
 
3657
3657
  CreateSubnetResult.add_member(:subnet, Shapes::ShapeRef.new(shape: Subnet, location_name: "subnet"))
@@ -9223,7 +9223,7 @@ module Aws::EC2
9223
9223
 
9224
9224
  RequestSpotLaunchSpecificationSecurityGroupIdList.member = Shapes::ShapeRef.new(shape: SecurityGroupId, location_name: "item")
9225
9225
 
9226
- RequestSpotLaunchSpecificationSecurityGroupList.member = Shapes::ShapeRef.new(shape: SecurityGroupName, location_name: "item")
9226
+ RequestSpotLaunchSpecificationSecurityGroupList.member = Shapes::ShapeRef.new(shape: String, location_name: "item")
9227
9227
 
9228
9228
  Reservation.add_member(:groups, Shapes::ShapeRef.new(shape: GroupIdentifierList, location_name: "groupSet"))
9229
9229
  Reservation.add_member(:instances, Shapes::ShapeRef.new(shape: InstanceList, location_name: "instancesSet"))
@@ -13527,6 +13527,12 @@ module Aws::EC2
13527
13527
  o.http_request_uri = "/"
13528
13528
  o.input = Shapes::ShapeRef.new(shape: DescribeStoreImageTasksRequest)
13529
13529
  o.output = Shapes::ShapeRef.new(shape: DescribeStoreImageTasksResult)
13530
+ o[:pager] = Aws::Pager.new(
13531
+ limit_key: "max_results",
13532
+ tokens: {
13533
+ "next_token" => "next_token"
13534
+ }
13535
+ )
13530
13536
  end)
13531
13537
 
13532
13538
  api.add_operation(:describe_subnets, Seahorse::Model::Operation.new.tap do |o|
@@ -973,10 +973,10 @@ module Aws::EC2
973
973
  # This option is supported only for HVM instances. Specifying this
974
974
  # option with a PV instance can make it unreachable.
975
975
  # @option options [Array<String>] :groups
976
- # \[EC2-VPC\] Changes the security groups of the instance. You must
977
- # specify at least one security group, even if it's just the default
978
- # security group for the VPC. You must specify the security group ID,
979
- # not the security group name.
976
+ # \[EC2-VPC\] Replaces the security groups of the instance with the
977
+ # specified security groups. You must specify at least one security
978
+ # group, even if it's just the default security group for the VPC. You
979
+ # must specify the security group ID, not the security group name.
980
980
  # @option options [Types::AttributeValue] :instance_initiated_shutdown_behavior
981
981
  # Specifies whether an instance stops or terminates when you initiate
982
982
  # shutdown from the instance (using the operating system command for
@@ -120,7 +120,7 @@ module Aws::EC2
120
120
  data[:requester_managed]
121
121
  end
122
122
 
123
- # Indicates whether traffic to or from the instance is validated.
123
+ # Indicates whether source/destination checking is enabled.
124
124
  # @return [Boolean]
125
125
  def source_dest_check
126
126
  data[:source_dest_check]
@@ -535,15 +535,12 @@ module Aws::EC2
535
535
  # one group, even if it's just the default security group in the VPC.
536
536
  # You must specify the ID of the security group, not the name.
537
537
  # @option options [Types::AttributeBooleanValue] :source_dest_check
538
- # Indicates whether source/destination checking is enabled. A value of
539
- # `true` means checking is enabled, and `false` means checking is
540
- # disabled. This value must be `false` for a NAT instance to perform
541
- # NAT. For more information, see [NAT Instances][1] in the *Amazon
542
- # Virtual Private Cloud User Guide*.
543
- #
544
- #
545
- #
546
- # [1]: https://docs.aws.amazon.com/AmazonVPC/latest/UserGuide/VPC_NAT_Instance.html
538
+ # Enable or disable source/destination checks, which ensure that the
539
+ # instance is either the source or the destination of any traffic that
540
+ # it receives. If the value is `true`, source/destination checks are
541
+ # enabled; otherwise, they are disabled. The default value is `true`.
542
+ # You must disable source/destination checks if the instance runs
543
+ # services such as network address translation, routing, or firewalls.
547
544
  # @return [EmptyStructure]
548
545
  def modify_attribute(options = {})
549
546
  options = options.merge(network_interface_id: @id)
@@ -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
1027
1026
  # ipv_6_cidr_block: "String",
1028
1027
  # outpost_arn: "String",
1029
1028
  # vpc_id: "VpcId", # required
1030
1029
  # 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,11 +1052,6 @@ 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`.
1060
1055
  # @option options [String] :ipv_6_cidr_block
1061
1056
  # The IPv6 network range for the subnet, in CIDR notation. The subnet
1062
1057
  # size must use a /64 prefix length.
@@ -1071,6 +1066,11 @@ module Aws::EC2
1071
1066
  # without actually making the request, and provides an error response.
1072
1067
  # If you have the required permissions, the error response is
1073
1068
  # `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
- # ipv_6_cidr_block: "String", # required
1651
1650
  # subnet_id: "SubnetId", # required
1651
+ # ipv_6_cidr_block: "String", # required
1652
1652
  # }
1653
1653
  #
1654
+ # @!attribute [rw] subnet_id
1655
+ # The ID of your subnet.
1656
+ # @return [String]
1657
+ #
1654
1658
  # @!attribute [rw] ipv_6_cidr_block
1655
1659
  # The IPv6 CIDR block for your subnet. The subnet must have a /64
1656
1660
  # prefix length.
1657
1661
  # @return [String]
1658
1662
  #
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
- :ipv_6_cidr_block,
1667
- :subnet_id)
1666
+ :subnet_id,
1667
+ :ipv_6_cidr_block)
1668
1668
  SENSITIVE = []
1669
1669
  include Aws::Structure
1670
1670
  end
@@ -9231,11 +9231,11 @@ module Aws::EC2
9231
9231
  # ],
9232
9232
  # availability_zone: "String",
9233
9233
  # availability_zone_id: "String",
9234
- # cidr_block: "String", # required
9235
9234
  # ipv_6_cidr_block: "String",
9236
9235
  # outpost_arn: "String",
9237
9236
  # vpc_id: "VpcId", # required
9238
9237
  # dry_run: false,
9238
+ # cidr_block: "String", # required
9239
9239
  # }
9240
9240
  #
9241
9241
  # @!attribute [rw] tag_specifications
@@ -9266,13 +9266,6 @@ module Aws::EC2
9266
9266
  # The AZ ID or the Local Zone ID of the subnet.
9267
9267
  # @return [String]
9268
9268
  #
9269
- # @!attribute [rw] cidr_block
9270
- # The IPv4 network range for the subnet, in CIDR notation. For
9271
- # example, `10.0.0.0/24`. We modify the specified CIDR block to its
9272
- # canonical form; for example, if you specify `100.68.0.18/18`, we
9273
- # modify it to `100.68.0.0/18`.
9274
- # @return [String]
9275
- #
9276
9269
  # @!attribute [rw] ipv_6_cidr_block
9277
9270
  # The IPv6 network range for the subnet, in CIDR notation. The subnet
9278
9271
  # size must use a /64 prefix length.
@@ -9295,17 +9288,24 @@ module Aws::EC2
9295
9288
  # `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
9296
9289
  # @return [Boolean]
9297
9290
  #
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
9298
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateSubnetRequest AWS API Documentation
9299
9299
  #
9300
9300
  class CreateSubnetRequest < Struct.new(
9301
9301
  :tag_specifications,
9302
9302
  :availability_zone,
9303
9303
  :availability_zone_id,
9304
- :cidr_block,
9305
9304
  :ipv_6_cidr_block,
9306
9305
  :outpost_arn,
9307
9306
  :vpc_id,
9308
- :dry_run)
9307
+ :dry_run,
9308
+ :cidr_block)
9309
9309
  SENSITIVE = []
9310
9310
  include Aws::Structure
9311
9311
  end
@@ -14694,6 +14694,9 @@ module Aws::EC2
14694
14694
  # constraints, or instance limit constraints. Failed requests are
14695
14695
  # retained for 60 minutes.
14696
14696
  #
14697
+ # * `start-date` - The date and time at which the Capacity Reservation
14698
+ # was started.
14699
+ #
14697
14700
  # * `end-date` - The date and time at which the Capacity Reservation
14698
14701
  # expires. When a Capacity Reservation expires, the reserved
14699
14702
  # capacity is released and you can no longer launch instances into
@@ -17917,8 +17920,7 @@ module Aws::EC2
17917
17920
  # * `memory-info.size-in-mib` - The memory size.
17918
17921
  #
17919
17922
  # * `network-info.efa-info.maximum-efa-interfaces` - The maximum
17920
- # number of Elastic Fabric Adapters (EFAs) per instance. (`true` \|
17921
- # `false`).
17923
+ # number of Elastic Fabric Adapters (EFAs) per instance.
17922
17924
  #
17923
17925
  # * `network-info.efa-supported` - Indicates whether the instance type
17924
17926
  # supports Elastic Fabric Adapter (EFA) (`true` \| `false`).
@@ -28896,7 +28898,7 @@ module Aws::EC2
28896
28898
  # If the Spot `AllocationStrategy` is set to
28897
28899
  # `capacity-optimized-prioritized`, EC2 Fleet uses priority on a
28898
28900
  # best-effort basis to determine which launch template override to use
28899
- # first in fulfilling Spot capacity, but optimizes for capacity first.
28901
+ # in fulfilling Spot capacity, but optimizes for capacity first.
28900
28902
  #
28901
28903
  # Valid values are whole numbers starting at `0`. The lower the
28902
28904
  # number, the higher the priority. If no number is set, the override
@@ -28981,7 +28983,7 @@ module Aws::EC2
28981
28983
  # If the Spot `AllocationStrategy` is set to
28982
28984
  # `capacity-optimized-prioritized`, EC2 Fleet uses priority on a
28983
28985
  # best-effort basis to determine which launch template override to use
28984
- # first in fulfilling Spot capacity, but optimizes for capacity first.
28986
+ # in fulfilling Spot capacity, but optimizes for capacity first.
28985
28987
  #
28986
28988
  # Valid values are whole numbers starting at `0`. The lower the
28987
28989
  # number, the higher the priority. If no number is set, the launch
@@ -33944,8 +33946,7 @@ module Aws::EC2
33944
33946
  # @return [Array<Types::InstancePrivateIpAddress>]
33945
33947
  #
33946
33948
  # @!attribute [rw] source_dest_check
33947
- # Indicates whether to validate network traffic to or from this
33948
- # network interface.
33949
+ # Indicates whether source/destination checking is enabled.
33949
33950
  # @return [Boolean]
33950
33951
  #
33951
33952
  # @!attribute [rw] status
@@ -36470,7 +36471,7 @@ module Aws::EC2
36470
36471
  # If the Spot `AllocationStrategy` is set to
36471
36472
  # `capacityOptimizedPrioritized`, Spot Fleet uses priority on a
36472
36473
  # best-effort basis to determine which launch template override to use
36473
- # first in fulfilling Spot capacity, but optimizes for capacity first.
36474
+ # in fulfilling Spot capacity, but optimizes for capacity first.
36474
36475
  #
36475
36476
  # Valid values are whole numbers starting at `0`. The lower the
36476
36477
  # number, the higher the priority. If no number is set, the launch
@@ -38432,10 +38433,10 @@ module Aws::EC2
38432
38433
  # @return [Types::AttributeBooleanValue]
38433
38434
  #
38434
38435
  # @!attribute [rw] groups
38435
- # \[EC2-VPC\] Changes the security groups of the instance. You must
38436
- # specify at least one security group, even if it's just the default
38437
- # security group for the VPC. You must specify the security group ID,
38438
- # not the security group name.
38436
+ # \[EC2-VPC\] Replaces the security groups of the instance with the
38437
+ # specified security groups. You must specify at least one security
38438
+ # group, even if it's just the default security group for the VPC.
38439
+ # You must specify the security group ID, not the security group name.
38439
38440
  # @return [Array<String>]
38440
38441
  #
38441
38442
  # @!attribute [rw] instance_id
@@ -39048,15 +39049,12 @@ module Aws::EC2
39048
39049
  # @return [String]
39049
39050
  #
39050
39051
  # @!attribute [rw] source_dest_check
39051
- # Indicates whether source/destination checking is enabled. A value of
39052
- # `true` means checking is enabled, and `false` means checking is
39053
- # disabled. This value must be `false` for a NAT instance to perform
39054
- # NAT. For more information, see [NAT Instances][1] in the *Amazon
39055
- # Virtual Private Cloud User Guide*.
39056
- #
39057
- #
39058
- #
39059
- # [1]: https://docs.aws.amazon.com/AmazonVPC/latest/UserGuide/VPC_NAT_Instance.html
39052
+ # Enable or disable source/destination checks, which ensure that the
39053
+ # instance is either the source or the destination of any traffic that
39054
+ # it receives. If the value is `true`, source/destination checks are
39055
+ # enabled; otherwise, they are disabled. The default value is `true`.
39056
+ # You must disable source/destination checks if the instance runs
39057
+ # services such as network address translation, routing, or firewalls.
39060
39058
  # @return [Types::AttributeBooleanValue]
39061
39059
  #
39062
39060
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyNetworkInterfaceAttributeRequest AWS API Documentation
@@ -41744,7 +41742,7 @@ module Aws::EC2
41744
41742
  # @return [Boolean]
41745
41743
  #
41746
41744
  # @!attribute [rw] source_dest_check
41747
- # Indicates whether traffic to or from the instance is validated.
41745
+ # Indicates whether source/destination checking is enabled.
41748
41746
  # @return [Boolean]
41749
41747
  #
41750
41748
  # @!attribute [rw] status
@@ -45677,7 +45675,7 @@ module Aws::EC2
45677
45675
  # launch_group: "String",
45678
45676
  # launch_specification: {
45679
45677
  # security_group_ids: ["SecurityGroupId"],
45680
- # security_groups: ["SecurityGroupName"],
45678
+ # security_groups: ["String"],
45681
45679
  # addressing_type: "String",
45682
45680
  # block_device_mappings: [
45683
45681
  # {
@@ -45938,7 +45936,7 @@ module Aws::EC2
45938
45936
  #
45939
45937
  # {
45940
45938
  # security_group_ids: ["SecurityGroupId"],
45941
- # security_groups: ["SecurityGroupName"],
45939
+ # security_groups: ["String"],
45942
45940
  # addressing_type: "String",
45943
45941
  # block_device_mappings: [
45944
45942
  # {
@@ -46084,9 +46082,7 @@ module Aws::EC2
46084
46082
  # @return [String]
46085
46083
  #
46086
46084
  # @!attribute [rw] subnet_id
46087
- # The IDs of the subnets in which to launch the instance. To specify
46088
- # multiple subnets, separate them using commas; for example,
46089
- # "subnet-1234abcdeexample1, subnet-0987cdef6example2".
46085
+ # The ID of the subnet in which to launch the instance.
46090
46086
  # @return [String]
46091
46087
  #
46092
46088
  # @!attribute [rw] user_data
@@ -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
484
483
  # ipv_6_cidr_block: "String",
485
484
  # outpost_arn: "String",
486
485
  # 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,11 +508,6 @@ 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`.
516
511
  # @option options [String] :ipv_6_cidr_block
517
512
  # The IPv6 network range for the subnet, in CIDR notation. The subnet
518
513
  # size must use a /64 prefix length.
@@ -525,6 +520,11 @@ module Aws::EC2
525
520
  # without actually making the request, and provides an error response.
526
521
  # If you have the required permissions, the error response is
527
522
  # `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.233.0
4
+ version: 1.234.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-04-06 00:00:00.000000000 Z
11
+ date: 2021-04-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sigv4