aws-sdk-ec2 1.279.0 → 1.283.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +20 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-ec2/client.rb +238 -77
- data/lib/aws-sdk-ec2/client_api.rb +68 -1
- data/lib/aws-sdk-ec2/dhcp_options.rb +2 -0
- data/lib/aws-sdk-ec2/image.rb +2 -0
- data/lib/aws-sdk-ec2/instance.rb +18 -2
- data/lib/aws-sdk-ec2/internet_gateway.rb +2 -0
- data/lib/aws-sdk-ec2/nat_gateway.rb +2 -0
- data/lib/aws-sdk-ec2/network_acl.rb +2 -0
- data/lib/aws-sdk-ec2/network_interface.rb +15 -0
- data/lib/aws-sdk-ec2/resource.rb +33 -13
- data/lib/aws-sdk-ec2/route.rb +2 -0
- data/lib/aws-sdk-ec2/route_table.rb +3 -0
- data/lib/aws-sdk-ec2/security_group.rb +2 -0
- data/lib/aws-sdk-ec2/snapshot.rb +2 -0
- data/lib/aws-sdk-ec2/subnet.rb +41 -9
- data/lib/aws-sdk-ec2/tag.rb +2 -0
- data/lib/aws-sdk-ec2/types.rb +548 -118
- data/lib/aws-sdk-ec2/volume.rb +2 -0
- data/lib/aws-sdk-ec2/vpc.rb +16 -4
- data/lib/aws-sdk-ec2.rb +1 -1
- metadata +2 -2
@@ -1229,6 +1229,7 @@ module Aws::EC2
|
|
1229
1229
|
HostReservationIdSet = Shapes::ListShape.new(name: 'HostReservationIdSet')
|
1230
1230
|
HostReservationSet = Shapes::ListShape.new(name: 'HostReservationSet')
|
1231
1231
|
HostTenancy = Shapes::StringShape.new(name: 'HostTenancy')
|
1232
|
+
HostnameType = Shapes::StringShape.new(name: 'HostnameType')
|
1232
1233
|
Hour = Shapes::IntegerShape.new(name: 'Hour')
|
1233
1234
|
HttpTokensState = Shapes::StringShape.new(name: 'HttpTokensState')
|
1234
1235
|
HypervisorType = Shapes::StringShape.new(name: 'HypervisorType')
|
@@ -1507,6 +1508,8 @@ module Aws::EC2
|
|
1507
1508
|
LaunchTemplateOverridesList = Shapes::ListShape.new(name: 'LaunchTemplateOverridesList')
|
1508
1509
|
LaunchTemplatePlacement = Shapes::StructureShape.new(name: 'LaunchTemplatePlacement')
|
1509
1510
|
LaunchTemplatePlacementRequest = Shapes::StructureShape.new(name: 'LaunchTemplatePlacementRequest')
|
1511
|
+
LaunchTemplatePrivateDnsNameOptions = Shapes::StructureShape.new(name: 'LaunchTemplatePrivateDnsNameOptions')
|
1512
|
+
LaunchTemplatePrivateDnsNameOptionsRequest = Shapes::StructureShape.new(name: 'LaunchTemplatePrivateDnsNameOptionsRequest')
|
1510
1513
|
LaunchTemplateSet = Shapes::ListShape.new(name: 'LaunchTemplateSet')
|
1511
1514
|
LaunchTemplateSpecification = Shapes::StructureShape.new(name: 'LaunchTemplateSpecification')
|
1512
1515
|
LaunchTemplateSpotMarketOptions = Shapes::StructureShape.new(name: 'LaunchTemplateSpotMarketOptions')
|
@@ -1629,6 +1632,8 @@ module Aws::EC2
|
|
1629
1632
|
ModifyManagedPrefixListRequest = Shapes::StructureShape.new(name: 'ModifyManagedPrefixListRequest')
|
1630
1633
|
ModifyManagedPrefixListResult = Shapes::StructureShape.new(name: 'ModifyManagedPrefixListResult')
|
1631
1634
|
ModifyNetworkInterfaceAttributeRequest = Shapes::StructureShape.new(name: 'ModifyNetworkInterfaceAttributeRequest')
|
1635
|
+
ModifyPrivateDnsNameOptionsRequest = Shapes::StructureShape.new(name: 'ModifyPrivateDnsNameOptionsRequest')
|
1636
|
+
ModifyPrivateDnsNameOptionsResult = Shapes::StructureShape.new(name: 'ModifyPrivateDnsNameOptionsResult')
|
1632
1637
|
ModifyReservedInstancesRequest = Shapes::StructureShape.new(name: 'ModifyReservedInstancesRequest')
|
1633
1638
|
ModifyReservedInstancesResult = Shapes::StructureShape.new(name: 'ModifyReservedInstancesResult')
|
1634
1639
|
ModifySecurityGroupRulesRequest = Shapes::StructureShape.new(name: 'ModifySecurityGroupRulesRequest')
|
@@ -1835,6 +1840,9 @@ module Aws::EC2
|
|
1835
1840
|
PrivateDnsDetails = Shapes::StructureShape.new(name: 'PrivateDnsDetails')
|
1836
1841
|
PrivateDnsDetailsSet = Shapes::ListShape.new(name: 'PrivateDnsDetailsSet')
|
1837
1842
|
PrivateDnsNameConfiguration = Shapes::StructureShape.new(name: 'PrivateDnsNameConfiguration')
|
1843
|
+
PrivateDnsNameOptionsOnLaunch = Shapes::StructureShape.new(name: 'PrivateDnsNameOptionsOnLaunch')
|
1844
|
+
PrivateDnsNameOptionsRequest = Shapes::StructureShape.new(name: 'PrivateDnsNameOptionsRequest')
|
1845
|
+
PrivateDnsNameOptionsResponse = Shapes::StructureShape.new(name: 'PrivateDnsNameOptionsResponse')
|
1838
1846
|
PrivateIpAddressConfigSet = Shapes::ListShape.new(name: 'PrivateIpAddressConfigSet')
|
1839
1847
|
PrivateIpAddressSpecification = Shapes::StructureShape.new(name: 'PrivateIpAddressSpecification')
|
1840
1848
|
PrivateIpAddressSpecificationList = Shapes::ListShape.new(name: 'PrivateIpAddressSpecificationList')
|
@@ -3602,6 +3610,7 @@ module Aws::EC2
|
|
3602
3610
|
|
3603
3611
|
CreateDefaultSubnetRequest.add_member(:availability_zone, Shapes::ShapeRef.new(shape: String, required: true, location_name: "AvailabilityZone"))
|
3604
3612
|
CreateDefaultSubnetRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "DryRun"))
|
3613
|
+
CreateDefaultSubnetRequest.add_member(:ipv_6_native, Shapes::ShapeRef.new(shape: Boolean, location_name: "Ipv6Native"))
|
3605
3614
|
CreateDefaultSubnetRequest.struct_class = Types::CreateDefaultSubnetRequest
|
3606
3615
|
|
3607
3616
|
CreateDefaultSubnetResult.add_member(:subnet, Shapes::ShapeRef.new(shape: Subnet, location_name: "subnet"))
|
@@ -4008,11 +4017,12 @@ module Aws::EC2
|
|
4008
4017
|
CreateSubnetRequest.add_member(:tag_specifications, Shapes::ShapeRef.new(shape: TagSpecificationList, location_name: "TagSpecification"))
|
4009
4018
|
CreateSubnetRequest.add_member(:availability_zone, Shapes::ShapeRef.new(shape: String, location_name: "AvailabilityZone"))
|
4010
4019
|
CreateSubnetRequest.add_member(:availability_zone_id, Shapes::ShapeRef.new(shape: String, location_name: "AvailabilityZoneId"))
|
4011
|
-
CreateSubnetRequest.add_member(:cidr_block, Shapes::ShapeRef.new(shape: String,
|
4020
|
+
CreateSubnetRequest.add_member(:cidr_block, Shapes::ShapeRef.new(shape: String, location_name: "CidrBlock"))
|
4012
4021
|
CreateSubnetRequest.add_member(:ipv_6_cidr_block, Shapes::ShapeRef.new(shape: String, location_name: "Ipv6CidrBlock"))
|
4013
4022
|
CreateSubnetRequest.add_member(:outpost_arn, Shapes::ShapeRef.new(shape: String, location_name: "OutpostArn"))
|
4014
4023
|
CreateSubnetRequest.add_member(:vpc_id, Shapes::ShapeRef.new(shape: VpcId, required: true, location_name: "VpcId"))
|
4015
4024
|
CreateSubnetRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "dryRun"))
|
4025
|
+
CreateSubnetRequest.add_member(:ipv_6_native, Shapes::ShapeRef.new(shape: Boolean, location_name: "Ipv6Native"))
|
4016
4026
|
CreateSubnetRequest.struct_class = Types::CreateSubnetRequest
|
4017
4027
|
|
4018
4028
|
CreateSubnetResult.add_member(:subnet, Shapes::ShapeRef.new(shape: Subnet, location_name: "subnet"))
|
@@ -7658,6 +7668,8 @@ module Aws::EC2
|
|
7658
7668
|
Instance.add_member(:platform_details, Shapes::ShapeRef.new(shape: String, location_name: "platformDetails"))
|
7659
7669
|
Instance.add_member(:usage_operation, Shapes::ShapeRef.new(shape: String, location_name: "usageOperation"))
|
7660
7670
|
Instance.add_member(:usage_operation_update_time, Shapes::ShapeRef.new(shape: MillisecondDateTime, location_name: "usageOperationUpdateTime"))
|
7671
|
+
Instance.add_member(:private_dns_name_options, Shapes::ShapeRef.new(shape: PrivateDnsNameOptionsResponse, location_name: "privateDnsNameOptions"))
|
7672
|
+
Instance.add_member(:ipv_6_address, Shapes::ShapeRef.new(shape: String, location_name: "ipv6Address"))
|
7661
7673
|
Instance.struct_class = Types::Instance
|
7662
7674
|
|
7663
7675
|
InstanceAttribute.add_member(:groups, Shapes::ShapeRef.new(shape: GroupIdentifierList, location_name: "groupSet"))
|
@@ -8425,6 +8437,16 @@ module Aws::EC2
|
|
8425
8437
|
LaunchTemplatePlacementRequest.add_member(:partition_number, Shapes::ShapeRef.new(shape: Integer, location_name: "PartitionNumber"))
|
8426
8438
|
LaunchTemplatePlacementRequest.struct_class = Types::LaunchTemplatePlacementRequest
|
8427
8439
|
|
8440
|
+
LaunchTemplatePrivateDnsNameOptions.add_member(:hostname_type, Shapes::ShapeRef.new(shape: HostnameType, location_name: "hostnameType"))
|
8441
|
+
LaunchTemplatePrivateDnsNameOptions.add_member(:enable_resource_name_dns_a_record, Shapes::ShapeRef.new(shape: Boolean, location_name: "enableResourceNameDnsARecord"))
|
8442
|
+
LaunchTemplatePrivateDnsNameOptions.add_member(:enable_resource_name_dns_aaaa_record, Shapes::ShapeRef.new(shape: Boolean, location_name: "enableResourceNameDnsAAAARecord"))
|
8443
|
+
LaunchTemplatePrivateDnsNameOptions.struct_class = Types::LaunchTemplatePrivateDnsNameOptions
|
8444
|
+
|
8445
|
+
LaunchTemplatePrivateDnsNameOptionsRequest.add_member(:hostname_type, Shapes::ShapeRef.new(shape: HostnameType, location_name: "HostnameType"))
|
8446
|
+
LaunchTemplatePrivateDnsNameOptionsRequest.add_member(:enable_resource_name_dns_a_record, Shapes::ShapeRef.new(shape: Boolean, location_name: "EnableResourceNameDnsARecord"))
|
8447
|
+
LaunchTemplatePrivateDnsNameOptionsRequest.add_member(:enable_resource_name_dns_aaaa_record, Shapes::ShapeRef.new(shape: Boolean, location_name: "EnableResourceNameDnsAAAARecord"))
|
8448
|
+
LaunchTemplatePrivateDnsNameOptionsRequest.struct_class = Types::LaunchTemplatePrivateDnsNameOptionsRequest
|
8449
|
+
|
8428
8450
|
LaunchTemplateSet.member = Shapes::ShapeRef.new(shape: LaunchTemplate, location_name: "item")
|
8429
8451
|
|
8430
8452
|
LaunchTemplateSpecification.add_member(:launch_template_id, Shapes::ShapeRef.new(shape: LaunchTemplateId, location_name: "LaunchTemplateId"))
|
@@ -8868,6 +8890,16 @@ module Aws::EC2
|
|
8868
8890
|
ModifyNetworkInterfaceAttributeRequest.add_member(:source_dest_check, Shapes::ShapeRef.new(shape: AttributeBooleanValue, location_name: "sourceDestCheck"))
|
8869
8891
|
ModifyNetworkInterfaceAttributeRequest.struct_class = Types::ModifyNetworkInterfaceAttributeRequest
|
8870
8892
|
|
8893
|
+
ModifyPrivateDnsNameOptionsRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "DryRun"))
|
8894
|
+
ModifyPrivateDnsNameOptionsRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, location_name: "InstanceId"))
|
8895
|
+
ModifyPrivateDnsNameOptionsRequest.add_member(:private_dns_hostname_type, Shapes::ShapeRef.new(shape: HostnameType, location_name: "PrivateDnsHostnameType"))
|
8896
|
+
ModifyPrivateDnsNameOptionsRequest.add_member(:enable_resource_name_dns_a_record, Shapes::ShapeRef.new(shape: Boolean, location_name: "EnableResourceNameDnsARecord"))
|
8897
|
+
ModifyPrivateDnsNameOptionsRequest.add_member(:enable_resource_name_dns_aaaa_record, Shapes::ShapeRef.new(shape: Boolean, location_name: "EnableResourceNameDnsAAAARecord"))
|
8898
|
+
ModifyPrivateDnsNameOptionsRequest.struct_class = Types::ModifyPrivateDnsNameOptionsRequest
|
8899
|
+
|
8900
|
+
ModifyPrivateDnsNameOptionsResult.add_member(:return, Shapes::ShapeRef.new(shape: Boolean, location_name: "return"))
|
8901
|
+
ModifyPrivateDnsNameOptionsResult.struct_class = Types::ModifyPrivateDnsNameOptionsResult
|
8902
|
+
|
8871
8903
|
ModifyReservedInstancesRequest.add_member(:reserved_instances_ids, Shapes::ShapeRef.new(shape: ReservedInstancesIdStringList, required: true, location_name: "ReservedInstancesId"))
|
8872
8904
|
ModifyReservedInstancesRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: String, location_name: "clientToken"))
|
8873
8905
|
ModifyReservedInstancesRequest.add_member(:target_configurations, Shapes::ShapeRef.new(shape: ReservedInstancesConfigurationList, required: true, location_name: "ReservedInstancesConfigurationSetItemType"))
|
@@ -8909,6 +8941,10 @@ module Aws::EC2
|
|
8909
8941
|
ModifySubnetAttributeRequest.add_member(:subnet_id, Shapes::ShapeRef.new(shape: SubnetId, required: true, location_name: "subnetId"))
|
8910
8942
|
ModifySubnetAttributeRequest.add_member(:map_customer_owned_ip_on_launch, Shapes::ShapeRef.new(shape: AttributeBooleanValue, location_name: "MapCustomerOwnedIpOnLaunch"))
|
8911
8943
|
ModifySubnetAttributeRequest.add_member(:customer_owned_ipv_4_pool, Shapes::ShapeRef.new(shape: CoipPoolId, location_name: "CustomerOwnedIpv4Pool"))
|
8944
|
+
ModifySubnetAttributeRequest.add_member(:enable_dns_64, Shapes::ShapeRef.new(shape: AttributeBooleanValue, location_name: "EnableDns64"))
|
8945
|
+
ModifySubnetAttributeRequest.add_member(:private_dns_hostname_type_on_launch, Shapes::ShapeRef.new(shape: HostnameType, location_name: "PrivateDnsHostnameTypeOnLaunch"))
|
8946
|
+
ModifySubnetAttributeRequest.add_member(:enable_resource_name_dns_a_record_on_launch, Shapes::ShapeRef.new(shape: AttributeBooleanValue, location_name: "EnableResourceNameDnsARecordOnLaunch"))
|
8947
|
+
ModifySubnetAttributeRequest.add_member(:enable_resource_name_dns_aaaa_record_on_launch, Shapes::ShapeRef.new(shape: AttributeBooleanValue, location_name: "EnableResourceNameDnsAAAARecordOnLaunch"))
|
8912
8948
|
ModifySubnetAttributeRequest.struct_class = Types::ModifySubnetAttributeRequest
|
8913
8949
|
|
8914
8950
|
ModifyTrafficMirrorFilterNetworkServicesRequest.add_member(:traffic_mirror_filter_id, Shapes::ShapeRef.new(shape: TrafficMirrorFilterId, required: true, location_name: "TrafficMirrorFilterId"))
|
@@ -9304,6 +9340,8 @@ module Aws::EC2
|
|
9304
9340
|
NetworkInterface.add_member(:tag_set, Shapes::ShapeRef.new(shape: TagList, location_name: "tagSet"))
|
9305
9341
|
NetworkInterface.add_member(:vpc_id, Shapes::ShapeRef.new(shape: String, location_name: "vpcId"))
|
9306
9342
|
NetworkInterface.add_member(:deny_all_igw_traffic, Shapes::ShapeRef.new(shape: Boolean, location_name: "denyAllIgwTraffic"))
|
9343
|
+
NetworkInterface.add_member(:ipv_6_native, Shapes::ShapeRef.new(shape: Boolean, location_name: "ipv6Native"))
|
9344
|
+
NetworkInterface.add_member(:ipv_6_address, Shapes::ShapeRef.new(shape: String, location_name: "ipv6Address"))
|
9307
9345
|
NetworkInterface.struct_class = Types::NetworkInterface
|
9308
9346
|
|
9309
9347
|
NetworkInterfaceAssociation.add_member(:allocation_id, Shapes::ShapeRef.new(shape: String, location_name: "allocationId"))
|
@@ -9612,6 +9650,21 @@ module Aws::EC2
|
|
9612
9650
|
PrivateDnsNameConfiguration.add_member(:name, Shapes::ShapeRef.new(shape: String, location_name: "name"))
|
9613
9651
|
PrivateDnsNameConfiguration.struct_class = Types::PrivateDnsNameConfiguration
|
9614
9652
|
|
9653
|
+
PrivateDnsNameOptionsOnLaunch.add_member(:hostname_type, Shapes::ShapeRef.new(shape: HostnameType, location_name: "hostnameType"))
|
9654
|
+
PrivateDnsNameOptionsOnLaunch.add_member(:enable_resource_name_dns_a_record, Shapes::ShapeRef.new(shape: Boolean, location_name: "enableResourceNameDnsARecord"))
|
9655
|
+
PrivateDnsNameOptionsOnLaunch.add_member(:enable_resource_name_dns_aaaa_record, Shapes::ShapeRef.new(shape: Boolean, location_name: "enableResourceNameDnsAAAARecord"))
|
9656
|
+
PrivateDnsNameOptionsOnLaunch.struct_class = Types::PrivateDnsNameOptionsOnLaunch
|
9657
|
+
|
9658
|
+
PrivateDnsNameOptionsRequest.add_member(:hostname_type, Shapes::ShapeRef.new(shape: HostnameType, location_name: "HostnameType"))
|
9659
|
+
PrivateDnsNameOptionsRequest.add_member(:enable_resource_name_dns_a_record, Shapes::ShapeRef.new(shape: Boolean, location_name: "EnableResourceNameDnsARecord"))
|
9660
|
+
PrivateDnsNameOptionsRequest.add_member(:enable_resource_name_dns_aaaa_record, Shapes::ShapeRef.new(shape: Boolean, location_name: "EnableResourceNameDnsAAAARecord"))
|
9661
|
+
PrivateDnsNameOptionsRequest.struct_class = Types::PrivateDnsNameOptionsRequest
|
9662
|
+
|
9663
|
+
PrivateDnsNameOptionsResponse.add_member(:hostname_type, Shapes::ShapeRef.new(shape: HostnameType, location_name: "hostnameType"))
|
9664
|
+
PrivateDnsNameOptionsResponse.add_member(:enable_resource_name_dns_a_record, Shapes::ShapeRef.new(shape: Boolean, location_name: "enableResourceNameDnsARecord"))
|
9665
|
+
PrivateDnsNameOptionsResponse.add_member(:enable_resource_name_dns_aaaa_record, Shapes::ShapeRef.new(shape: Boolean, location_name: "enableResourceNameDnsAAAARecord"))
|
9666
|
+
PrivateDnsNameOptionsResponse.struct_class = Types::PrivateDnsNameOptionsResponse
|
9667
|
+
|
9615
9668
|
PrivateIpAddressConfigSet.member = Shapes::ShapeRef.new(shape: ScheduledInstancesPrivateIpAddressConfig, location_name: "PrivateIpAddressConfigSet")
|
9616
9669
|
|
9617
9670
|
PrivateIpAddressSpecification.add_member(:primary, Shapes::ShapeRef.new(shape: Boolean, location_name: "primary"))
|
@@ -9995,6 +10048,7 @@ module Aws::EC2
|
|
9995
10048
|
RequestLaunchTemplateData.add_member(:metadata_options, Shapes::ShapeRef.new(shape: LaunchTemplateInstanceMetadataOptionsRequest, location_name: "MetadataOptions"))
|
9996
10049
|
RequestLaunchTemplateData.add_member(:enclave_options, Shapes::ShapeRef.new(shape: LaunchTemplateEnclaveOptionsRequest, location_name: "EnclaveOptions"))
|
9997
10050
|
RequestLaunchTemplateData.add_member(:instance_requirements, Shapes::ShapeRef.new(shape: InstanceRequirementsRequest, location_name: "InstanceRequirements"))
|
10051
|
+
RequestLaunchTemplateData.add_member(:private_dns_name_options, Shapes::ShapeRef.new(shape: LaunchTemplatePrivateDnsNameOptionsRequest, location_name: "PrivateDnsNameOptions"))
|
9998
10052
|
RequestLaunchTemplateData.struct_class = Types::RequestLaunchTemplateData
|
9999
10053
|
|
10000
10054
|
RequestSpotFleetRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "dryRun"))
|
@@ -10257,6 +10311,7 @@ module Aws::EC2
|
|
10257
10311
|
ResponseLaunchTemplateData.add_member(:metadata_options, Shapes::ShapeRef.new(shape: LaunchTemplateInstanceMetadataOptions, location_name: "metadataOptions"))
|
10258
10312
|
ResponseLaunchTemplateData.add_member(:enclave_options, Shapes::ShapeRef.new(shape: LaunchTemplateEnclaveOptions, location_name: "enclaveOptions"))
|
10259
10313
|
ResponseLaunchTemplateData.add_member(:instance_requirements, Shapes::ShapeRef.new(shape: InstanceRequirements, location_name: "instanceRequirements"))
|
10314
|
+
ResponseLaunchTemplateData.add_member(:private_dns_name_options, Shapes::ShapeRef.new(shape: LaunchTemplatePrivateDnsNameOptions, location_name: "privateDnsNameOptions"))
|
10260
10315
|
ResponseLaunchTemplateData.struct_class = Types::ResponseLaunchTemplateData
|
10261
10316
|
|
10262
10317
|
RestorableByStringList.member = Shapes::ShapeRef.new(shape: String)
|
@@ -10410,6 +10465,7 @@ module Aws::EC2
|
|
10410
10465
|
RunInstancesRequest.add_member(:license_specifications, Shapes::ShapeRef.new(shape: LicenseSpecificationListRequest, location_name: "LicenseSpecification"))
|
10411
10466
|
RunInstancesRequest.add_member(:metadata_options, Shapes::ShapeRef.new(shape: InstanceMetadataOptionsRequest, location_name: "MetadataOptions"))
|
10412
10467
|
RunInstancesRequest.add_member(:enclave_options, Shapes::ShapeRef.new(shape: EnclaveOptionsRequest, location_name: "EnclaveOptions"))
|
10468
|
+
RunInstancesRequest.add_member(:private_dns_name_options, Shapes::ShapeRef.new(shape: PrivateDnsNameOptionsRequest, location_name: "PrivateDnsNameOptions"))
|
10413
10469
|
RunInstancesRequest.struct_class = Types::RunInstancesRequest
|
10414
10470
|
|
10415
10471
|
RunScheduledInstancesRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: String, location_name: "ClientToken", metadata: {"idempotencyToken"=>true}))
|
@@ -11038,6 +11094,9 @@ module Aws::EC2
|
|
11038
11094
|
Subnet.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "tagSet"))
|
11039
11095
|
Subnet.add_member(:subnet_arn, Shapes::ShapeRef.new(shape: String, location_name: "subnetArn"))
|
11040
11096
|
Subnet.add_member(:outpost_arn, Shapes::ShapeRef.new(shape: String, location_name: "outpostArn"))
|
11097
|
+
Subnet.add_member(:enable_dns_64, Shapes::ShapeRef.new(shape: Boolean, location_name: "enableDns64"))
|
11098
|
+
Subnet.add_member(:ipv_6_native, Shapes::ShapeRef.new(shape: Boolean, location_name: "ipv6Native"))
|
11099
|
+
Subnet.add_member(:private_dns_name_options_on_launch, Shapes::ShapeRef.new(shape: PrivateDnsNameOptionsOnLaunch, location_name: "privateDnsNameOptionsOnLaunch"))
|
11041
11100
|
Subnet.struct_class = Types::Subnet
|
11042
11101
|
|
11043
11102
|
SubnetAssociation.add_member(:subnet_id, Shapes::ShapeRef.new(shape: String, location_name: "subnetId"))
|
@@ -15809,6 +15868,14 @@ module Aws::EC2
|
|
15809
15868
|
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
15810
15869
|
end)
|
15811
15870
|
|
15871
|
+
api.add_operation(:modify_private_dns_name_options, Seahorse::Model::Operation.new.tap do |o|
|
15872
|
+
o.name = "ModifyPrivateDnsNameOptions"
|
15873
|
+
o.http_method = "POST"
|
15874
|
+
o.http_request_uri = "/"
|
15875
|
+
o.input = Shapes::ShapeRef.new(shape: ModifyPrivateDnsNameOptionsRequest)
|
15876
|
+
o.output = Shapes::ShapeRef.new(shape: ModifyPrivateDnsNameOptionsResult)
|
15877
|
+
end)
|
15878
|
+
|
15812
15879
|
api.add_operation(:modify_reserved_instances, Seahorse::Model::Operation.new.tap do |o|
|
15813
15880
|
o.name = "ModifyReservedInstances"
|
15814
15881
|
o.http_method = "POST"
|
@@ -273,6 +273,8 @@ module Aws::EC2
|
|
273
273
|
# If you omit this parameter, we delete all user-defined tags for the
|
274
274
|
# specified resources. We do not delete Amazon Web Services-generated
|
275
275
|
# tags (tags that have the `aws:` prefix).
|
276
|
+
#
|
277
|
+
# Constraints: Up to 1000 tags.
|
276
278
|
# @return [Tag::Collection]
|
277
279
|
def delete_tags(options = {})
|
278
280
|
batch = []
|
data/lib/aws-sdk-ec2/image.rb
CHANGED
@@ -463,6 +463,8 @@ module Aws::EC2
|
|
463
463
|
# If you omit this parameter, we delete all user-defined tags for the
|
464
464
|
# specified resources. We do not delete Amazon Web Services-generated
|
465
465
|
# tags (tags that have the `aws:` prefix).
|
466
|
+
#
|
467
|
+
# Constraints: Up to 1000 tags.
|
466
468
|
# @return [Tag::Collection]
|
467
469
|
def delete_tags(options = {})
|
468
470
|
batch = []
|
data/lib/aws-sdk-ec2/instance.rb
CHANGED
@@ -377,6 +377,18 @@ module Aws::EC2
|
|
377
377
|
data[:usage_operation_update_time]
|
378
378
|
end
|
379
379
|
|
380
|
+
# The options for the instance hostname.
|
381
|
+
# @return [Types::PrivateDnsNameOptionsResponse]
|
382
|
+
def private_dns_name_options
|
383
|
+
data[:private_dns_name_options]
|
384
|
+
end
|
385
|
+
|
386
|
+
# The IPv6 address assigned to the instance.
|
387
|
+
# @return [String]
|
388
|
+
def ipv_6_address
|
389
|
+
data[:ipv_6_address]
|
390
|
+
end
|
391
|
+
|
380
392
|
# @!endgroup
|
381
393
|
|
382
394
|
# @return [Client]
|
@@ -826,6 +838,8 @@ module Aws::EC2
|
|
826
838
|
# If you omit this parameter, we delete all user-defined tags for the
|
827
839
|
# specified resources. We do not delete Amazon Web Services-generated
|
828
840
|
# tags (tags that have the `aws:` prefix).
|
841
|
+
#
|
842
|
+
# Constraints: Up to 1000 tags.
|
829
843
|
# @return [Tag::Collection]
|
830
844
|
def delete_tags(options = {})
|
831
845
|
batch = []
|
@@ -977,8 +991,8 @@ module Aws::EC2
|
|
977
991
|
#
|
978
992
|
# To add instance store volumes to an Amazon EBS-backed instance, you
|
979
993
|
# must add them when you launch the instance. For more information, see
|
980
|
-
# [
|
981
|
-
#
|
994
|
+
# [Update the block device mapping when launching an instance][1] in the
|
995
|
+
# *Amazon EC2 User Guide*.
|
982
996
|
#
|
983
997
|
#
|
984
998
|
#
|
@@ -1736,6 +1750,8 @@ module Aws::EC2
|
|
1736
1750
|
# If you omit this parameter, we delete all user-defined tags for the
|
1737
1751
|
# specified resources. We do not delete Amazon Web Services-generated
|
1738
1752
|
# tags (tags that have the `aws:` prefix).
|
1753
|
+
#
|
1754
|
+
# Constraints: Up to 1000 tags.
|
1739
1755
|
# @return [void]
|
1740
1756
|
def batch_delete_tags!(options = {})
|
1741
1757
|
batch_enum.each do |batch|
|
@@ -273,6 +273,8 @@ module Aws::EC2
|
|
273
273
|
# If you omit this parameter, we delete all user-defined tags for the
|
274
274
|
# specified resources. We do not delete Amazon Web Services-generated
|
275
275
|
# tags (tags that have the `aws:` prefix).
|
276
|
+
#
|
277
|
+
# Constraints: Up to 1000 tags.
|
276
278
|
# @return [Tag::Collection]
|
277
279
|
def delete_tags(options = {})
|
278
280
|
batch = []
|
@@ -347,6 +347,8 @@ module Aws::EC2
|
|
347
347
|
# If you omit this parameter, we delete all user-defined tags for the
|
348
348
|
# specified resources. We do not delete Amazon Web Services-generated
|
349
349
|
# tags (tags that have the `aws:` prefix).
|
350
|
+
#
|
351
|
+
# Constraints: Up to 1000 tags.
|
350
352
|
# @return [Tag::Collection]
|
351
353
|
def delete_tags(options = {})
|
352
354
|
batch = []
|
@@ -336,6 +336,8 @@ module Aws::EC2
|
|
336
336
|
# If you omit this parameter, we delete all user-defined tags for the
|
337
337
|
# specified resources. We do not delete Amazon Web Services-generated
|
338
338
|
# tags (tags that have the `aws:` prefix).
|
339
|
+
#
|
340
|
+
# Constraints: Up to 1000 tags.
|
339
341
|
# @return [Tag::Collection]
|
340
342
|
def delete_tags(options = {})
|
341
343
|
batch = []
|
@@ -175,6 +175,19 @@ module Aws::EC2
|
|
175
175
|
data[:deny_all_igw_traffic]
|
176
176
|
end
|
177
177
|
|
178
|
+
# Indicates whether this is an IPv6 only network interface.
|
179
|
+
# @return [Boolean]
|
180
|
+
def ipv_6_native
|
181
|
+
data[:ipv_6_native]
|
182
|
+
end
|
183
|
+
|
184
|
+
# The IPv6 globally unique address associated with the network
|
185
|
+
# interface.
|
186
|
+
# @return [String]
|
187
|
+
def ipv_6_address
|
188
|
+
data[:ipv_6_address]
|
189
|
+
end
|
190
|
+
|
178
191
|
# @!endgroup
|
179
192
|
|
180
193
|
# @return [Client]
|
@@ -441,6 +454,8 @@ module Aws::EC2
|
|
441
454
|
# If you omit this parameter, we delete all user-defined tags for the
|
442
455
|
# specified resources. We do not delete Amazon Web Services-generated
|
443
456
|
# tags (tags that have the `aws:` prefix).
|
457
|
+
#
|
458
|
+
# Constraints: Up to 1000 tags.
|
444
459
|
# @return [Tag::Collection]
|
445
460
|
def delete_tags(options = {})
|
446
461
|
batch = []
|
data/lib/aws-sdk-ec2/resource.rb
CHANGED
@@ -99,7 +99,7 @@ module Aws::EC2
|
|
99
99
|
# },
|
100
100
|
# ],
|
101
101
|
# image_id: "ImageId",
|
102
|
-
# instance_type: "t1.micro", # accepts t1.micro, t2.nano, t2.micro, t2.small, t2.medium, t2.large, t2.xlarge, t2.2xlarge, t3.nano, t3.micro, t3.small, t3.medium, t3.large, t3.xlarge, t3.2xlarge, t3a.nano, t3a.micro, t3a.small, t3a.medium, t3a.large, t3a.xlarge, t3a.2xlarge, t4g.nano, t4g.micro, t4g.small, t4g.medium, t4g.large, t4g.xlarge, t4g.2xlarge, m1.small, m1.medium, m1.large, m1.xlarge, m3.medium, m3.large, m3.xlarge, m3.2xlarge, m4.large, m4.xlarge, m4.2xlarge, m4.4xlarge, m4.10xlarge, m4.16xlarge, m2.xlarge, m2.2xlarge, m2.4xlarge, cr1.8xlarge, r3.large, r3.xlarge, r3.2xlarge, r3.4xlarge, r3.8xlarge, r4.large, r4.xlarge, r4.2xlarge, r4.4xlarge, r4.8xlarge, r4.16xlarge, r5.large, r5.xlarge, r5.2xlarge, r5.4xlarge, r5.8xlarge, r5.12xlarge, r5.16xlarge, r5.24xlarge, r5.metal, r5a.large, r5a.xlarge, r5a.2xlarge, r5a.4xlarge, r5a.8xlarge, r5a.12xlarge, r5a.16xlarge, r5a.24xlarge, r5b.large, r5b.xlarge, r5b.2xlarge, r5b.4xlarge, r5b.8xlarge, r5b.12xlarge, r5b.16xlarge, r5b.24xlarge, r5b.metal, r5d.large, r5d.xlarge, r5d.2xlarge, r5d.4xlarge, r5d.8xlarge, r5d.12xlarge, r5d.16xlarge, r5d.24xlarge, r5d.metal, r5ad.large, r5ad.xlarge, r5ad.2xlarge, r5ad.4xlarge, r5ad.8xlarge, r5ad.12xlarge, r5ad.16xlarge, r5ad.24xlarge, r6g.metal, r6g.medium, r6g.large, r6g.xlarge, r6g.2xlarge, r6g.4xlarge, r6g.8xlarge, r6g.12xlarge, r6g.16xlarge, r6gd.metal, r6gd.medium, r6gd.large, r6gd.xlarge, r6gd.2xlarge, r6gd.4xlarge, r6gd.8xlarge, r6gd.12xlarge, r6gd.16xlarge, x1.16xlarge, x1.32xlarge, x1e.xlarge, x1e.2xlarge, x1e.4xlarge, x1e.8xlarge, x1e.16xlarge, x1e.32xlarge, i2.xlarge, i2.2xlarge, i2.4xlarge, i2.8xlarge, i3.large, i3.xlarge, i3.2xlarge, i3.4xlarge, i3.8xlarge, i3.16xlarge, i3.metal, i3en.large, i3en.xlarge, i3en.2xlarge, i3en.3xlarge, i3en.6xlarge, i3en.12xlarge, i3en.24xlarge, i3en.metal, hi1.4xlarge, hs1.8xlarge, c1.medium, c1.xlarge, c3.large, c3.xlarge, c3.2xlarge, c3.4xlarge, c3.8xlarge, c4.large, c4.xlarge, c4.2xlarge, c4.4xlarge, c4.8xlarge, c5.large, c5.xlarge, c5.2xlarge, c5.4xlarge, c5.9xlarge, c5.12xlarge, c5.18xlarge, c5.24xlarge, c5.metal, c5a.large, c5a.xlarge, c5a.2xlarge, c5a.4xlarge, c5a.8xlarge, c5a.12xlarge, c5a.16xlarge, c5a.24xlarge, c5ad.large, c5ad.xlarge, c5ad.2xlarge, c5ad.4xlarge, c5ad.8xlarge, c5ad.12xlarge, c5ad.16xlarge, c5ad.24xlarge, c5d.large, c5d.xlarge, c5d.2xlarge, c5d.4xlarge, c5d.9xlarge, c5d.12xlarge, c5d.18xlarge, c5d.24xlarge, c5d.metal, c5n.large, c5n.xlarge, c5n.2xlarge, c5n.4xlarge, c5n.9xlarge, c5n.18xlarge, c5n.metal, c6g.metal, c6g.medium, c6g.large, c6g.xlarge, c6g.2xlarge, c6g.4xlarge, c6g.8xlarge, c6g.12xlarge, c6g.16xlarge, c6gd.metal, c6gd.medium, c6gd.large, c6gd.xlarge, c6gd.2xlarge, c6gd.4xlarge, c6gd.8xlarge, c6gd.12xlarge, c6gd.16xlarge, c6gn.medium, c6gn.large, c6gn.xlarge, c6gn.2xlarge, c6gn.4xlarge, c6gn.8xlarge, c6gn.12xlarge, c6gn.16xlarge, cc1.4xlarge, cc2.8xlarge, g2.2xlarge, g2.8xlarge, g3.4xlarge, g3.8xlarge, g3.16xlarge, g3s.xlarge, g4ad.xlarge, g4ad.2xlarge, g4ad.4xlarge, g4ad.8xlarge, g4ad.16xlarge, g4dn.xlarge, g4dn.2xlarge, g4dn.4xlarge, g4dn.8xlarge, g4dn.12xlarge, g4dn.16xlarge, g4dn.metal, cg1.4xlarge, p2.xlarge, p2.8xlarge, p2.16xlarge, p3.2xlarge, p3.8xlarge, p3.16xlarge, p3dn.24xlarge, p4d.24xlarge, d2.xlarge, d2.2xlarge, d2.4xlarge, d2.8xlarge, d3.xlarge, d3.2xlarge, d3.4xlarge, d3.8xlarge, d3en.xlarge, d3en.2xlarge, d3en.4xlarge, d3en.6xlarge, d3en.8xlarge, d3en.12xlarge, dl1.24xlarge, f1.2xlarge, f1.4xlarge, f1.16xlarge, m5.large, m5.xlarge, m5.2xlarge, m5.4xlarge, m5.8xlarge, m5.12xlarge, m5.16xlarge, m5.24xlarge, m5.metal, m5a.large, m5a.xlarge, m5a.2xlarge, m5a.4xlarge, m5a.8xlarge, m5a.12xlarge, m5a.16xlarge, m5a.24xlarge, m5d.large, m5d.xlarge, m5d.2xlarge, m5d.4xlarge, m5d.8xlarge, m5d.12xlarge, m5d.16xlarge, m5d.24xlarge, m5d.metal, m5ad.large, m5ad.xlarge, m5ad.2xlarge, m5ad.4xlarge, m5ad.8xlarge, m5ad.12xlarge, m5ad.16xlarge, m5ad.24xlarge, m5zn.large, m5zn.xlarge, m5zn.2xlarge, m5zn.3xlarge, m5zn.6xlarge, m5zn.12xlarge, m5zn.metal, h1.2xlarge, h1.4xlarge, h1.8xlarge, h1.16xlarge, z1d.large, z1d.xlarge, z1d.2xlarge, z1d.3xlarge, z1d.6xlarge, z1d.12xlarge, z1d.metal, u-6tb1.56xlarge, u-6tb1.112xlarge, u-9tb1.112xlarge, u-12tb1.112xlarge, u-6tb1.metal, u-9tb1.metal, u-12tb1.metal, u-18tb1.metal, u-24tb1.metal, a1.medium, a1.large, a1.xlarge, a1.2xlarge, a1.4xlarge, a1.metal, m5dn.large, m5dn.xlarge, m5dn.2xlarge, m5dn.4xlarge, m5dn.8xlarge, m5dn.12xlarge, m5dn.16xlarge, m5dn.24xlarge, m5dn.metal, m5n.large, m5n.xlarge, m5n.2xlarge, m5n.4xlarge, m5n.8xlarge, m5n.12xlarge, m5n.16xlarge, m5n.24xlarge, m5n.metal, r5dn.large, r5dn.xlarge, r5dn.2xlarge, r5dn.4xlarge, r5dn.8xlarge, r5dn.12xlarge, r5dn.16xlarge, r5dn.24xlarge, r5dn.metal, r5n.large, r5n.xlarge, r5n.2xlarge, r5n.4xlarge, r5n.8xlarge, r5n.12xlarge, r5n.16xlarge, r5n.24xlarge, r5n.metal, inf1.xlarge, inf1.2xlarge, inf1.6xlarge, inf1.24xlarge, m6g.metal, m6g.medium, m6g.large, m6g.xlarge, m6g.2xlarge, m6g.4xlarge, m6g.8xlarge, m6g.12xlarge, m6g.16xlarge, m6gd.metal, m6gd.medium, m6gd.large, m6gd.xlarge, m6gd.2xlarge, m6gd.4xlarge, m6gd.8xlarge, m6gd.12xlarge, m6gd.16xlarge, m6i.large, m6i.xlarge, m6i.2xlarge, m6i.4xlarge, m6i.8xlarge, m6i.12xlarge, m6i.16xlarge, m6i.24xlarge, m6i.32xlarge, mac1.metal, x2gd.medium, x2gd.large, x2gd.xlarge, x2gd.2xlarge, x2gd.4xlarge, x2gd.8xlarge, x2gd.12xlarge, x2gd.16xlarge, x2gd.metal, vt1.3xlarge, vt1.6xlarge, vt1.24xlarge
|
102
|
+
# instance_type: "t1.micro", # accepts t1.micro, t2.nano, t2.micro, t2.small, t2.medium, t2.large, t2.xlarge, t2.2xlarge, t3.nano, t3.micro, t3.small, t3.medium, t3.large, t3.xlarge, t3.2xlarge, t3a.nano, t3a.micro, t3a.small, t3a.medium, t3a.large, t3a.xlarge, t3a.2xlarge, t4g.nano, t4g.micro, t4g.small, t4g.medium, t4g.large, t4g.xlarge, t4g.2xlarge, m1.small, m1.medium, m1.large, m1.xlarge, m3.medium, m3.large, m3.xlarge, m3.2xlarge, m4.large, m4.xlarge, m4.2xlarge, m4.4xlarge, m4.10xlarge, m4.16xlarge, m2.xlarge, m2.2xlarge, m2.4xlarge, cr1.8xlarge, r3.large, r3.xlarge, r3.2xlarge, r3.4xlarge, r3.8xlarge, r4.large, r4.xlarge, r4.2xlarge, r4.4xlarge, r4.8xlarge, r4.16xlarge, r5.large, r5.xlarge, r5.2xlarge, r5.4xlarge, r5.8xlarge, r5.12xlarge, r5.16xlarge, r5.24xlarge, r5.metal, r5a.large, r5a.xlarge, r5a.2xlarge, r5a.4xlarge, r5a.8xlarge, r5a.12xlarge, r5a.16xlarge, r5a.24xlarge, r5b.large, r5b.xlarge, r5b.2xlarge, r5b.4xlarge, r5b.8xlarge, r5b.12xlarge, r5b.16xlarge, r5b.24xlarge, r5b.metal, r5d.large, r5d.xlarge, r5d.2xlarge, r5d.4xlarge, r5d.8xlarge, r5d.12xlarge, r5d.16xlarge, r5d.24xlarge, r5d.metal, r5ad.large, r5ad.xlarge, r5ad.2xlarge, r5ad.4xlarge, r5ad.8xlarge, r5ad.12xlarge, r5ad.16xlarge, r5ad.24xlarge, r6g.metal, r6g.medium, r6g.large, r6g.xlarge, r6g.2xlarge, r6g.4xlarge, r6g.8xlarge, r6g.12xlarge, r6g.16xlarge, r6gd.metal, r6gd.medium, r6gd.large, r6gd.xlarge, r6gd.2xlarge, r6gd.4xlarge, r6gd.8xlarge, r6gd.12xlarge, r6gd.16xlarge, x1.16xlarge, x1.32xlarge, x1e.xlarge, x1e.2xlarge, x1e.4xlarge, x1e.8xlarge, x1e.16xlarge, x1e.32xlarge, i2.xlarge, i2.2xlarge, i2.4xlarge, i2.8xlarge, i3.large, i3.xlarge, i3.2xlarge, i3.4xlarge, i3.8xlarge, i3.16xlarge, i3.metal, i3en.large, i3en.xlarge, i3en.2xlarge, i3en.3xlarge, i3en.6xlarge, i3en.12xlarge, i3en.24xlarge, i3en.metal, hi1.4xlarge, hs1.8xlarge, c1.medium, c1.xlarge, c3.large, c3.xlarge, c3.2xlarge, c3.4xlarge, c3.8xlarge, c4.large, c4.xlarge, c4.2xlarge, c4.4xlarge, c4.8xlarge, c5.large, c5.xlarge, c5.2xlarge, c5.4xlarge, c5.9xlarge, c5.12xlarge, c5.18xlarge, c5.24xlarge, c5.metal, c5a.large, c5a.xlarge, c5a.2xlarge, c5a.4xlarge, c5a.8xlarge, c5a.12xlarge, c5a.16xlarge, c5a.24xlarge, c5ad.large, c5ad.xlarge, c5ad.2xlarge, c5ad.4xlarge, c5ad.8xlarge, c5ad.12xlarge, c5ad.16xlarge, c5ad.24xlarge, c5d.large, c5d.xlarge, c5d.2xlarge, c5d.4xlarge, c5d.9xlarge, c5d.12xlarge, c5d.18xlarge, c5d.24xlarge, c5d.metal, c5n.large, c5n.xlarge, c5n.2xlarge, c5n.4xlarge, c5n.9xlarge, c5n.18xlarge, c5n.metal, c6g.metal, c6g.medium, c6g.large, c6g.xlarge, c6g.2xlarge, c6g.4xlarge, c6g.8xlarge, c6g.12xlarge, c6g.16xlarge, c6gd.metal, c6gd.medium, c6gd.large, c6gd.xlarge, c6gd.2xlarge, c6gd.4xlarge, c6gd.8xlarge, c6gd.12xlarge, c6gd.16xlarge, c6gn.medium, c6gn.large, c6gn.xlarge, c6gn.2xlarge, c6gn.4xlarge, c6gn.8xlarge, c6gn.12xlarge, c6gn.16xlarge, c6i.large, c6i.xlarge, c6i.2xlarge, c6i.4xlarge, c6i.8xlarge, c6i.12xlarge, c6i.16xlarge, c6i.24xlarge, c6i.32xlarge, cc1.4xlarge, cc2.8xlarge, g2.2xlarge, g2.8xlarge, g3.4xlarge, g3.8xlarge, g3.16xlarge, g3s.xlarge, g4ad.xlarge, g4ad.2xlarge, g4ad.4xlarge, g4ad.8xlarge, g4ad.16xlarge, g4dn.xlarge, g4dn.2xlarge, g4dn.4xlarge, g4dn.8xlarge, g4dn.12xlarge, g4dn.16xlarge, g4dn.metal, cg1.4xlarge, p2.xlarge, p2.8xlarge, p2.16xlarge, p3.2xlarge, p3.8xlarge, p3.16xlarge, p3dn.24xlarge, p4d.24xlarge, d2.xlarge, d2.2xlarge, d2.4xlarge, d2.8xlarge, d3.xlarge, d3.2xlarge, d3.4xlarge, d3.8xlarge, d3en.xlarge, d3en.2xlarge, d3en.4xlarge, d3en.6xlarge, d3en.8xlarge, d3en.12xlarge, dl1.24xlarge, f1.2xlarge, f1.4xlarge, f1.16xlarge, m5.large, m5.xlarge, m5.2xlarge, m5.4xlarge, m5.8xlarge, m5.12xlarge, m5.16xlarge, m5.24xlarge, m5.metal, m5a.large, m5a.xlarge, m5a.2xlarge, m5a.4xlarge, m5a.8xlarge, m5a.12xlarge, m5a.16xlarge, m5a.24xlarge, m5d.large, m5d.xlarge, m5d.2xlarge, m5d.4xlarge, m5d.8xlarge, m5d.12xlarge, m5d.16xlarge, m5d.24xlarge, m5d.metal, m5ad.large, m5ad.xlarge, m5ad.2xlarge, m5ad.4xlarge, m5ad.8xlarge, m5ad.12xlarge, m5ad.16xlarge, m5ad.24xlarge, m5zn.large, m5zn.xlarge, m5zn.2xlarge, m5zn.3xlarge, m5zn.6xlarge, m5zn.12xlarge, m5zn.metal, h1.2xlarge, h1.4xlarge, h1.8xlarge, h1.16xlarge, z1d.large, z1d.xlarge, z1d.2xlarge, z1d.3xlarge, z1d.6xlarge, z1d.12xlarge, z1d.metal, u-6tb1.56xlarge, u-6tb1.112xlarge, u-9tb1.112xlarge, u-12tb1.112xlarge, u-6tb1.metal, u-9tb1.metal, u-12tb1.metal, u-18tb1.metal, u-24tb1.metal, a1.medium, a1.large, a1.xlarge, a1.2xlarge, a1.4xlarge, a1.metal, m5dn.large, m5dn.xlarge, m5dn.2xlarge, m5dn.4xlarge, m5dn.8xlarge, m5dn.12xlarge, m5dn.16xlarge, m5dn.24xlarge, m5dn.metal, m5n.large, m5n.xlarge, m5n.2xlarge, m5n.4xlarge, m5n.8xlarge, m5n.12xlarge, m5n.16xlarge, m5n.24xlarge, m5n.metal, r5dn.large, r5dn.xlarge, r5dn.2xlarge, r5dn.4xlarge, r5dn.8xlarge, r5dn.12xlarge, r5dn.16xlarge, r5dn.24xlarge, r5dn.metal, r5n.large, r5n.xlarge, r5n.2xlarge, r5n.4xlarge, r5n.8xlarge, r5n.12xlarge, r5n.16xlarge, r5n.24xlarge, r5n.metal, inf1.xlarge, inf1.2xlarge, inf1.6xlarge, inf1.24xlarge, m6g.metal, m6g.medium, m6g.large, m6g.xlarge, m6g.2xlarge, m6g.4xlarge, m6g.8xlarge, m6g.12xlarge, m6g.16xlarge, m6gd.metal, m6gd.medium, m6gd.large, m6gd.xlarge, m6gd.2xlarge, m6gd.4xlarge, m6gd.8xlarge, m6gd.12xlarge, m6gd.16xlarge, m6i.large, m6i.xlarge, m6i.2xlarge, m6i.4xlarge, m6i.8xlarge, m6i.12xlarge, m6i.16xlarge, m6i.24xlarge, m6i.32xlarge, mac1.metal, x2gd.medium, x2gd.large, x2gd.xlarge, x2gd.2xlarge, x2gd.4xlarge, x2gd.8xlarge, x2gd.12xlarge, x2gd.16xlarge, x2gd.metal, vt1.3xlarge, vt1.6xlarge, vt1.24xlarge, g5.xlarge, g5.2xlarge, g5.4xlarge, g5.8xlarge, g5.12xlarge, g5.16xlarge, g5.24xlarge, g5.48xlarge
|
103
103
|
# ipv_6_address_count: 1,
|
104
104
|
# ipv_6_addresses: [
|
105
105
|
# {
|
@@ -247,6 +247,11 @@ module Aws::EC2
|
|
247
247
|
# enclave_options: {
|
248
248
|
# enabled: false,
|
249
249
|
# },
|
250
|
+
# private_dns_name_options: {
|
251
|
+
# hostname_type: "ip-name", # accepts ip-name, resource-name
|
252
|
+
# enable_resource_name_dns_a_record: false,
|
253
|
+
# enable_resource_name_dns_aaaa_record: false,
|
254
|
+
# },
|
250
255
|
# })
|
251
256
|
# @param [Hash] options ({})
|
252
257
|
# @option options [Array<Types::BlockDeviceMapping>] :block_device_mappings
|
@@ -379,16 +384,16 @@ module Aws::EC2
|
|
379
384
|
# part of the network interface.
|
380
385
|
# @option options [String] :user_data
|
381
386
|
# The user data to make available to the instance. For more information,
|
382
|
-
# see [
|
383
|
-
#
|
384
|
-
# base64-encoding is performed for you, and you can
|
385
|
-
# file. Otherwise, you must provide base64-encoded
|
386
|
-
# limited to 16 KB.
|
387
|
+
# see [Run commands on your Linux instance at launch][1] and [Run
|
388
|
+
# commands on your Windows instance at launch][2]. If you are using a
|
389
|
+
# command line tool, base64-encoding is performed for you, and you can
|
390
|
+
# load the text from a file. Otherwise, you must provide base64-encoded
|
391
|
+
# text. User data is limited to 16 KB.
|
387
392
|
#
|
388
393
|
#
|
389
394
|
#
|
390
395
|
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/user-data.html
|
391
|
-
# [2]: https://docs.aws.amazon.com/AWSEC2/latest/WindowsGuide/ec2-
|
396
|
+
# [2]: https://docs.aws.amazon.com/AWSEC2/latest/WindowsGuide/ec2-windows-user-data.html
|
392
397
|
# @option options [String] :additional_info
|
393
398
|
# Reserved.
|
394
399
|
# @option options [String] :client_token
|
@@ -508,8 +513,8 @@ module Aws::EC2
|
|
508
513
|
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_ModifyInstanceCreditSpecification.html
|
509
514
|
# [2]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/burstable-performance-instances.html
|
510
515
|
# @option options [Types::CpuOptionsRequest] :cpu_options
|
511
|
-
# The CPU options for the instance. For more information, see
|
512
|
-
#
|
516
|
+
# The CPU options for the instance. For more information, see [Optimize
|
517
|
+
# CPU options][1] in the *Amazon EC2 User Guide*.
|
513
518
|
#
|
514
519
|
#
|
515
520
|
#
|
@@ -552,6 +557,9 @@ module Aws::EC2
|
|
552
557
|
#
|
553
558
|
#
|
554
559
|
# [1]: https://docs.aws.amazon.com/enclaves/latest/user/nitro-enclave.html
|
560
|
+
# @option options [Types::PrivateDnsNameOptionsRequest] :private_dns_name_options
|
561
|
+
# The options for the instance hostname. The default values are
|
562
|
+
# inherited from the subnet.
|
555
563
|
# @return [Instance::Collection]
|
556
564
|
def create_instances(options = {})
|
557
565
|
batch = []
|
@@ -1096,11 +1104,12 @@ module Aws::EC2
|
|
1096
1104
|
# ],
|
1097
1105
|
# availability_zone: "String",
|
1098
1106
|
# availability_zone_id: "String",
|
1099
|
-
# cidr_block: "String",
|
1107
|
+
# cidr_block: "String",
|
1100
1108
|
# ipv_6_cidr_block: "String",
|
1101
1109
|
# outpost_arn: "String",
|
1102
1110
|
# vpc_id: "VpcId", # required
|
1103
1111
|
# dry_run: false,
|
1112
|
+
# ipv_6_native: false,
|
1104
1113
|
# })
|
1105
1114
|
# @param [Hash] options ({})
|
1106
1115
|
# @option options [Array<Types::TagSpecification>] :tag_specifications
|
@@ -1125,14 +1134,18 @@ module Aws::EC2
|
|
1125
1134
|
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using-regions-availability-zones.html#concepts-available-regions
|
1126
1135
|
# @option options [String] :availability_zone_id
|
1127
1136
|
# The AZ ID or the Local Zone ID of the subnet.
|
1128
|
-
# @option options [
|
1137
|
+
# @option options [String] :cidr_block
|
1129
1138
|
# The IPv4 network range for the subnet, in CIDR notation. For example,
|
1130
1139
|
# `10.0.0.0/24`. We modify the specified CIDR block to its canonical
|
1131
1140
|
# form; for example, if you specify `100.68.0.18/18`, we modify it to
|
1132
1141
|
# `100.68.0.0/18`.
|
1142
|
+
#
|
1143
|
+
# This parameter is not supported for an IPv6 only subnet.
|
1133
1144
|
# @option options [String] :ipv_6_cidr_block
|
1134
1145
|
# The IPv6 network range for the subnet, in CIDR notation. The subnet
|
1135
1146
|
# size must use a /64 prefix length.
|
1147
|
+
#
|
1148
|
+
# This parameter is required for an IPv6 only subnet.
|
1136
1149
|
# @option options [String] :outpost_arn
|
1137
1150
|
# The Amazon Resource Name (ARN) of the Outpost. If you specify an
|
1138
1151
|
# Outpost ARN, you must also specify the Availability Zone of the
|
@@ -1144,6 +1157,8 @@ module Aws::EC2
|
|
1144
1157
|
# without actually making the request, and provides an error response.
|
1145
1158
|
# If you have the required permissions, the error response is
|
1146
1159
|
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
1160
|
+
# @option options [Boolean] :ipv_6_native
|
1161
|
+
# Indicates whether to create an IPv6 only subnet.
|
1147
1162
|
# @return [Subnet]
|
1148
1163
|
def create_subnet(options = {})
|
1149
1164
|
resp = @client.create_subnet(options)
|
@@ -1220,6 +1235,8 @@ module Aws::EC2
|
|
1220
1235
|
# If you omit this parameter, we delete all user-defined tags for the
|
1221
1236
|
# specified resources. We do not delete Amazon Web Services-generated
|
1222
1237
|
# tags (tags that have the `aws:` prefix).
|
1238
|
+
#
|
1239
|
+
# Constraints: Up to 1000 tags.
|
1223
1240
|
# @return [EmptyStructure]
|
1224
1241
|
def delete_tags(options = {})
|
1225
1242
|
resp = @client.delete_tags(options)
|
@@ -3336,8 +3353,8 @@ module Aws::EC2
|
|
3336
3353
|
# `cidrBlock` as the filter names.
|
3337
3354
|
#
|
3338
3355
|
# * `default-for-az` - Indicates whether this is the default subnet for
|
3339
|
-
# the Availability Zone. You can also use
|
3340
|
-
# name.
|
3356
|
+
# the Availability Zone (`true` \| `false`). You can also use
|
3357
|
+
# `defaultForAz` as the filter name.
|
3341
3358
|
#
|
3342
3359
|
# * `ipv6-cidr-block-association.ipv6-cidr-block` - An IPv6 CIDR block
|
3343
3360
|
# associated with the subnet.
|
@@ -3348,6 +3365,9 @@ module Aws::EC2
|
|
3348
3365
|
# * `ipv6-cidr-block-association.state` - The state of an IPv6 CIDR
|
3349
3366
|
# block associated with the subnet.
|
3350
3367
|
#
|
3368
|
+
# * `ipv6-native` - Indicates whether this is an IPv6 only subnet
|
3369
|
+
# (`true` \| `false`).
|
3370
|
+
#
|
3351
3371
|
# * `outpost-arn` - The Amazon Resource Name (ARN) of the Outpost.
|
3352
3372
|
#
|
3353
3373
|
# * `owner-id` - The ID of the Amazon Web Services account that owns the
|
data/lib/aws-sdk-ec2/route.rb
CHANGED
@@ -137,6 +137,7 @@ module Aws::EC2
|
|
137
137
|
data[:vpc_peering_connection_id]
|
138
138
|
end
|
139
139
|
|
140
|
+
# The Amazon Resource Name (ARN) of the core network.
|
140
141
|
# @return [String]
|
141
142
|
def core_network_arn
|
142
143
|
data[:core_network_arn]
|
@@ -355,6 +356,7 @@ module Aws::EC2
|
|
355
356
|
# @option options [String] :vpc_peering_connection_id
|
356
357
|
# The ID of a VPC peering connection.
|
357
358
|
# @option options [String] :core_network_arn
|
359
|
+
# The Amazon Resource Name (ARN) of the core network.
|
358
360
|
# @return [EmptyStructure]
|
359
361
|
def replace(options = {})
|
360
362
|
options = options.merge(
|
@@ -283,6 +283,7 @@ module Aws::EC2
|
|
283
283
|
# @option options [String] :vpc_peering_connection_id
|
284
284
|
# The ID of a VPC peering connection.
|
285
285
|
# @option options [String] :core_network_arn
|
286
|
+
# The Amazon Resource Name (ARN) of the core network.
|
286
287
|
# @return [Route]
|
287
288
|
def create_route(options = {})
|
288
289
|
options = options.merge(route_table_id: @id)
|
@@ -358,6 +359,8 @@ module Aws::EC2
|
|
358
359
|
# If you omit this parameter, we delete all user-defined tags for the
|
359
360
|
# specified resources. We do not delete Amazon Web Services-generated
|
360
361
|
# tags (tags that have the `aws:` prefix).
|
362
|
+
#
|
363
|
+
# Constraints: Up to 1000 tags.
|
361
364
|
# @return [Tag::Collection]
|
362
365
|
def delete_tags(options = {})
|
363
366
|
batch = []
|
@@ -498,6 +498,8 @@ module Aws::EC2
|
|
498
498
|
# If you omit this parameter, we delete all user-defined tags for the
|
499
499
|
# specified resources. We do not delete Amazon Web Services-generated
|
500
500
|
# tags (tags that have the `aws:` prefix).
|
501
|
+
#
|
502
|
+
# Constraints: Up to 1000 tags.
|
501
503
|
# @return [Tag::Collection]
|
502
504
|
def delete_tags(options = {})
|
503
505
|
batch = []
|
data/lib/aws-sdk-ec2/snapshot.rb
CHANGED
@@ -477,6 +477,8 @@ module Aws::EC2
|
|
477
477
|
# If you omit this parameter, we delete all user-defined tags for the
|
478
478
|
# specified resources. We do not delete Amazon Web Services-generated
|
479
479
|
# tags (tags that have the `aws:` prefix).
|
480
|
+
#
|
481
|
+
# Constraints: Up to 1000 tags.
|
480
482
|
# @return [Tag::Collection]
|
481
483
|
def delete_tags(options = {})
|
482
484
|
batch = []
|