aws-sdk-ec2 1.225.0 → 1.230.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 +1267 -0
- data/LICENSE.txt +202 -0
- data/VERSION +1 -0
- data/lib/aws-sdk-ec2.rb +2 -2
- data/lib/aws-sdk-ec2/classic_address.rb +1 -1
- data/lib/aws-sdk-ec2/client.rb +98 -72
- data/lib/aws-sdk-ec2/client_api.rb +21 -5
- data/lib/aws-sdk-ec2/dhcp_options.rb +1 -1
- data/lib/aws-sdk-ec2/errors.rb +1 -1
- data/lib/aws-sdk-ec2/image.rb +17 -6
- data/lib/aws-sdk-ec2/instance.rb +19 -15
- data/lib/aws-sdk-ec2/internet_gateway.rb +1 -1
- data/lib/aws-sdk-ec2/key_pair.rb +1 -1
- data/lib/aws-sdk-ec2/key_pair_info.rb +1 -1
- data/lib/aws-sdk-ec2/nat_gateway.rb +1 -1
- data/lib/aws-sdk-ec2/network_acl.rb +1 -1
- data/lib/aws-sdk-ec2/network_interface.rb +1 -1
- data/lib/aws-sdk-ec2/network_interface_association.rb +1 -1
- data/lib/aws-sdk-ec2/placement_group.rb +3 -1
- data/lib/aws-sdk-ec2/resource.rb +23 -13
- data/lib/aws-sdk-ec2/route.rb +1 -1
- data/lib/aws-sdk-ec2/route_table.rb +1 -1
- data/lib/aws-sdk-ec2/route_table_association.rb +1 -1
- data/lib/aws-sdk-ec2/security_group.rb +1 -1
- data/lib/aws-sdk-ec2/snapshot.rb +1 -1
- data/lib/aws-sdk-ec2/subnet.rb +4 -2
- data/lib/aws-sdk-ec2/tag.rb +1 -1
- data/lib/aws-sdk-ec2/types.rb +247 -119
- data/lib/aws-sdk-ec2/volume.rb +1 -1
- data/lib/aws-sdk-ec2/vpc.rb +9 -7
- data/lib/aws-sdk-ec2/vpc_address.rb +1 -1
- data/lib/aws-sdk-ec2/vpc_peering_connection.rb +1 -1
- data/lib/aws-sdk-ec2/waiters.rb +1 -1
- metadata +8 -5
@@ -3,7 +3,7 @@
|
|
3
3
|
# WARNING ABOUT GENERATED CODE
|
4
4
|
#
|
5
5
|
# This file is generated. See the contributing guide for more information:
|
6
|
-
# https://github.com/aws/aws-sdk-ruby/blob/
|
6
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
7
7
|
#
|
8
8
|
# WARNING ABOUT GENERATED CODE
|
9
9
|
|
@@ -151,6 +151,9 @@ module Aws::EC2
|
|
151
151
|
BlockDeviceMappingList = Shapes::ListShape.new(name: 'BlockDeviceMappingList')
|
152
152
|
BlockDeviceMappingRequestList = Shapes::ListShape.new(name: 'BlockDeviceMappingRequestList')
|
153
153
|
Boolean = Shapes::BooleanShape.new(name: 'Boolean')
|
154
|
+
BootModeType = Shapes::StringShape.new(name: 'BootModeType')
|
155
|
+
BootModeTypeList = Shapes::ListShape.new(name: 'BootModeTypeList')
|
156
|
+
BootModeValues = Shapes::StringShape.new(name: 'BootModeValues')
|
154
157
|
BundleId = Shapes::StringShape.new(name: 'BundleId')
|
155
158
|
BundleIdStringList = Shapes::ListShape.new(name: 'BundleIdStringList')
|
156
159
|
BundleInstanceRequest = Shapes::StructureShape.new(name: 'BundleInstanceRequest')
|
@@ -892,6 +895,7 @@ module Aws::EC2
|
|
892
895
|
EbsNvmeSupport = Shapes::StringShape.new(name: 'EbsNvmeSupport')
|
893
896
|
EbsOptimizedInfo = Shapes::StructureShape.new(name: 'EbsOptimizedInfo')
|
894
897
|
EbsOptimizedSupport = Shapes::StringShape.new(name: 'EbsOptimizedSupport')
|
898
|
+
EfaInfo = Shapes::StructureShape.new(name: 'EfaInfo')
|
895
899
|
EfaSupportedFlag = Shapes::BooleanShape.new(name: 'EfaSupportedFlag')
|
896
900
|
EgressOnlyInternetGateway = Shapes::StructureShape.new(name: 'EgressOnlyInternetGateway')
|
897
901
|
EgressOnlyInternetGatewayId = Shapes::StringShape.new(name: 'EgressOnlyInternetGatewayId')
|
@@ -1404,6 +1408,7 @@ module Aws::EC2
|
|
1404
1408
|
MaxNetworkInterfaces = Shapes::IntegerShape.new(name: 'MaxNetworkInterfaces')
|
1405
1409
|
MaxResults = Shapes::IntegerShape.new(name: 'MaxResults')
|
1406
1410
|
MaximumBandwidthInMbps = Shapes::IntegerShape.new(name: 'MaximumBandwidthInMbps')
|
1411
|
+
MaximumEfaInterfaces = Shapes::IntegerShape.new(name: 'MaximumEfaInterfaces')
|
1407
1412
|
MaximumIops = Shapes::IntegerShape.new(name: 'MaximumIops')
|
1408
1413
|
MaximumNetworkCards = Shapes::IntegerShape.new(name: 'MaximumNetworkCards')
|
1409
1414
|
MaximumThroughputInMBps = Shapes::FloatShape.new(name: 'MaximumThroughputInMBps')
|
@@ -2521,8 +2526,8 @@ module Aws::EC2
|
|
2521
2526
|
AssociateRouteTableResult.add_member(:association_state, Shapes::ShapeRef.new(shape: RouteTableAssociationState, location_name: "associationState"))
|
2522
2527
|
AssociateRouteTableResult.struct_class = Types::AssociateRouteTableResult
|
2523
2528
|
|
2524
|
-
AssociateSubnetCidrBlockRequest.add_member(:ipv_6_cidr_block, Shapes::ShapeRef.new(shape: String, required: true, location_name: "ipv6CidrBlock"))
|
2525
2529
|
AssociateSubnetCidrBlockRequest.add_member(:subnet_id, Shapes::ShapeRef.new(shape: SubnetId, required: true, location_name: "subnetId"))
|
2530
|
+
AssociateSubnetCidrBlockRequest.add_member(:ipv_6_cidr_block, Shapes::ShapeRef.new(shape: String, required: true, location_name: "ipv6CidrBlock"))
|
2526
2531
|
AssociateSubnetCidrBlockRequest.struct_class = Types::AssociateSubnetCidrBlockRequest
|
2527
2532
|
|
2528
2533
|
AssociateSubnetCidrBlockResult.add_member(:ipv_6_cidr_block_association, Shapes::ShapeRef.new(shape: SubnetIpv6CidrBlockAssociation, location_name: "ipv6CidrBlockAssociation"))
|
@@ -2712,6 +2717,8 @@ module Aws::EC2
|
|
2712
2717
|
|
2713
2718
|
BlockDeviceMappingRequestList.member = Shapes::ShapeRef.new(shape: BlockDeviceMapping, location_name: "BlockDeviceMapping")
|
2714
2719
|
|
2720
|
+
BootModeTypeList.member = Shapes::ShapeRef.new(shape: BootModeType, location_name: "item")
|
2721
|
+
|
2715
2722
|
BundleIdStringList.member = Shapes::ShapeRef.new(shape: BundleId, location_name: "BundleId")
|
2716
2723
|
|
2717
2724
|
BundleInstanceRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location_name: "InstanceId"))
|
@@ -3383,8 +3390,8 @@ module Aws::EC2
|
|
3383
3390
|
|
3384
3391
|
CreateLocalGatewayRouteRequest.add_member(:destination_cidr_block, Shapes::ShapeRef.new(shape: String, required: true, location_name: "DestinationCidrBlock"))
|
3385
3392
|
CreateLocalGatewayRouteRequest.add_member(:local_gateway_route_table_id, Shapes::ShapeRef.new(shape: LocalGatewayRoutetableId, required: true, location_name: "LocalGatewayRouteTableId"))
|
3386
|
-
CreateLocalGatewayRouteRequest.add_member(:local_gateway_virtual_interface_group_id, Shapes::ShapeRef.new(shape: LocalGatewayVirtualInterfaceGroupId, required: true, location_name: "LocalGatewayVirtualInterfaceGroupId"))
|
3387
3393
|
CreateLocalGatewayRouteRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "DryRun"))
|
3394
|
+
CreateLocalGatewayRouteRequest.add_member(:local_gateway_virtual_interface_group_id, Shapes::ShapeRef.new(shape: LocalGatewayVirtualInterfaceGroupId, required: true, location_name: "LocalGatewayVirtualInterfaceGroupId"))
|
3388
3395
|
CreateLocalGatewayRouteRequest.struct_class = Types::CreateLocalGatewayRouteRequest
|
3389
3396
|
|
3390
3397
|
CreateLocalGatewayRouteResult.add_member(:route, Shapes::ShapeRef.new(shape: LocalGatewayRoute, location_name: "route"))
|
@@ -3411,11 +3418,11 @@ module Aws::EC2
|
|
3411
3418
|
CreateManagedPrefixListResult.add_member(:prefix_list, Shapes::ShapeRef.new(shape: ManagedPrefixList, location_name: "prefixList"))
|
3412
3419
|
CreateManagedPrefixListResult.struct_class = Types::CreateManagedPrefixListResult
|
3413
3420
|
|
3414
|
-
CreateNatGatewayRequest.add_member(:allocation_id, Shapes::ShapeRef.new(shape: AllocationId, required: true, location_name: "AllocationId"))
|
3415
3421
|
CreateNatGatewayRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: String, location_name: "ClientToken", metadata: {"idempotencyToken"=>true}))
|
3416
3422
|
CreateNatGatewayRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "DryRun"))
|
3417
3423
|
CreateNatGatewayRequest.add_member(:subnet_id, Shapes::ShapeRef.new(shape: SubnetId, required: true, location_name: "SubnetId"))
|
3418
3424
|
CreateNatGatewayRequest.add_member(:tag_specifications, Shapes::ShapeRef.new(shape: TagSpecificationList, location_name: "TagSpecification"))
|
3425
|
+
CreateNatGatewayRequest.add_member(:allocation_id, Shapes::ShapeRef.new(shape: AllocationId, required: true, location_name: "AllocationId"))
|
3419
3426
|
CreateNatGatewayRequest.struct_class = Types::CreateNatGatewayRequest
|
3420
3427
|
|
3421
3428
|
CreateNatGatewayResult.add_member(:client_token, Shapes::ShapeRef.new(shape: String, location_name: "clientToken"))
|
@@ -3569,11 +3576,11 @@ module Aws::EC2
|
|
3569
3576
|
CreateSubnetRequest.add_member(:tag_specifications, Shapes::ShapeRef.new(shape: TagSpecificationList, location_name: "TagSpecification"))
|
3570
3577
|
CreateSubnetRequest.add_member(:availability_zone, Shapes::ShapeRef.new(shape: String, location_name: "AvailabilityZone"))
|
3571
3578
|
CreateSubnetRequest.add_member(:availability_zone_id, Shapes::ShapeRef.new(shape: String, location_name: "AvailabilityZoneId"))
|
3572
|
-
CreateSubnetRequest.add_member(:cidr_block, Shapes::ShapeRef.new(shape: String, required: true, location_name: "CidrBlock"))
|
3573
3579
|
CreateSubnetRequest.add_member(:ipv_6_cidr_block, Shapes::ShapeRef.new(shape: String, location_name: "Ipv6CidrBlock"))
|
3574
3580
|
CreateSubnetRequest.add_member(:outpost_arn, Shapes::ShapeRef.new(shape: String, location_name: "OutpostArn"))
|
3575
3581
|
CreateSubnetRequest.add_member(:vpc_id, Shapes::ShapeRef.new(shape: VpcId, required: true, location_name: "VpcId"))
|
3576
3582
|
CreateSubnetRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "dryRun"))
|
3583
|
+
CreateSubnetRequest.add_member(:cidr_block, Shapes::ShapeRef.new(shape: String, required: true, location_name: "CidrBlock"))
|
3577
3584
|
CreateSubnetRequest.struct_class = Types::CreateSubnetRequest
|
3578
3585
|
|
3579
3586
|
CreateSubnetResult.add_member(:subnet, Shapes::ShapeRef.new(shape: Subnet, location_name: "subnet"))
|
@@ -5854,6 +5861,9 @@ module Aws::EC2
|
|
5854
5861
|
EbsOptimizedInfo.add_member(:maximum_iops, Shapes::ShapeRef.new(shape: MaximumIops, location_name: "maximumIops"))
|
5855
5862
|
EbsOptimizedInfo.struct_class = Types::EbsOptimizedInfo
|
5856
5863
|
|
5864
|
+
EfaInfo.add_member(:maximum_efa_interfaces, Shapes::ShapeRef.new(shape: MaximumEfaInterfaces, location_name: "maximumEfaInterfaces"))
|
5865
|
+
EfaInfo.struct_class = Types::EfaInfo
|
5866
|
+
|
5857
5867
|
EgressOnlyInternetGateway.add_member(:attachments, Shapes::ShapeRef.new(shape: InternetGatewayAttachmentList, location_name: "attachmentSet"))
|
5858
5868
|
EgressOnlyInternetGateway.add_member(:egress_only_internet_gateway_id, Shapes::ShapeRef.new(shape: EgressOnlyInternetGatewayId, location_name: "egressOnlyInternetGatewayId"))
|
5859
5869
|
EgressOnlyInternetGateway.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "tagSet"))
|
@@ -6708,6 +6718,7 @@ module Aws::EC2
|
|
6708
6718
|
Image.add_member(:state_reason, Shapes::ShapeRef.new(shape: StateReason, location_name: "stateReason"))
|
6709
6719
|
Image.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "tagSet"))
|
6710
6720
|
Image.add_member(:virtualization_type, Shapes::ShapeRef.new(shape: VirtualizationType, location_name: "virtualizationType"))
|
6721
|
+
Image.add_member(:boot_mode, Shapes::ShapeRef.new(shape: BootModeValues, location_name: "bootMode"))
|
6711
6722
|
Image.struct_class = Types::Image
|
6712
6723
|
|
6713
6724
|
ImageAttribute.add_member(:block_device_mappings, Shapes::ShapeRef.new(shape: BlockDeviceMappingList, location_name: "blockDeviceMapping"))
|
@@ -6718,6 +6729,7 @@ module Aws::EC2
|
|
6718
6729
|
ImageAttribute.add_member(:kernel_id, Shapes::ShapeRef.new(shape: AttributeValue, location_name: "kernel"))
|
6719
6730
|
ImageAttribute.add_member(:ramdisk_id, Shapes::ShapeRef.new(shape: AttributeValue, location_name: "ramdisk"))
|
6720
6731
|
ImageAttribute.add_member(:sriov_net_support, Shapes::ShapeRef.new(shape: AttributeValue, location_name: "sriovNetSupport"))
|
6732
|
+
ImageAttribute.add_member(:boot_mode, Shapes::ShapeRef.new(shape: AttributeValue, location_name: "bootMode"))
|
6721
6733
|
ImageAttribute.struct_class = Types::ImageAttribute
|
6722
6734
|
|
6723
6735
|
ImageDiskContainer.add_member(:description, Shapes::ShapeRef.new(shape: String, location_name: "Description"))
|
@@ -6962,6 +6974,7 @@ module Aws::EC2
|
|
6962
6974
|
Instance.add_member(:licenses, Shapes::ShapeRef.new(shape: LicenseList, location_name: "licenseSet"))
|
6963
6975
|
Instance.add_member(:metadata_options, Shapes::ShapeRef.new(shape: InstanceMetadataOptionsResponse, location_name: "metadataOptions"))
|
6964
6976
|
Instance.add_member(:enclave_options, Shapes::ShapeRef.new(shape: EnclaveOptions, location_name: "enclaveOptions"))
|
6977
|
+
Instance.add_member(:boot_mode, Shapes::ShapeRef.new(shape: BootModeValues, location_name: "bootMode"))
|
6965
6978
|
Instance.struct_class = Types::Instance
|
6966
6979
|
|
6967
6980
|
InstanceAttribute.add_member(:groups, Shapes::ShapeRef.new(shape: GroupIdentifierList, location_name: "groupSet"))
|
@@ -7208,6 +7221,7 @@ module Aws::EC2
|
|
7208
7221
|
InstanceTypeInfo.add_member(:burstable_performance_supported, Shapes::ShapeRef.new(shape: BurstablePerformanceFlag, location_name: "burstablePerformanceSupported"))
|
7209
7222
|
InstanceTypeInfo.add_member(:dedicated_hosts_supported, Shapes::ShapeRef.new(shape: DedicatedHostFlag, location_name: "dedicatedHostsSupported"))
|
7210
7223
|
InstanceTypeInfo.add_member(:auto_recovery_supported, Shapes::ShapeRef.new(shape: AutoRecoveryFlag, location_name: "autoRecoverySupported"))
|
7224
|
+
InstanceTypeInfo.add_member(:supported_boot_modes, Shapes::ShapeRef.new(shape: BootModeTypeList, location_name: "supportedBootModes"))
|
7211
7225
|
InstanceTypeInfo.struct_class = Types::InstanceTypeInfo
|
7212
7226
|
|
7213
7227
|
InstanceTypeInfoList.member = Shapes::ShapeRef.new(shape: InstanceTypeInfo, location_name: "item")
|
@@ -8311,6 +8325,7 @@ module Aws::EC2
|
|
8311
8325
|
NetworkInfo.add_member(:ipv_6_supported, Shapes::ShapeRef.new(shape: Ipv6Flag, location_name: "ipv6Supported"))
|
8312
8326
|
NetworkInfo.add_member(:ena_support, Shapes::ShapeRef.new(shape: EnaSupport, location_name: "enaSupport"))
|
8313
8327
|
NetworkInfo.add_member(:efa_supported, Shapes::ShapeRef.new(shape: EfaSupportedFlag, location_name: "efaSupported"))
|
8328
|
+
NetworkInfo.add_member(:efa_info, Shapes::ShapeRef.new(shape: EfaInfo, location_name: "efaInfo"))
|
8314
8329
|
NetworkInfo.struct_class = Types::NetworkInfo
|
8315
8330
|
|
8316
8331
|
NetworkInsightsAnalysis.add_member(:network_insights_analysis_id, Shapes::ShapeRef.new(shape: NetworkInsightsAnalysisId, location_name: "networkInsightsAnalysisId"))
|
@@ -8827,6 +8842,7 @@ module Aws::EC2
|
|
8827
8842
|
RegisterImageRequest.add_member(:root_device_name, Shapes::ShapeRef.new(shape: String, location_name: "rootDeviceName"))
|
8828
8843
|
RegisterImageRequest.add_member(:sriov_net_support, Shapes::ShapeRef.new(shape: String, location_name: "sriovNetSupport"))
|
8829
8844
|
RegisterImageRequest.add_member(:virtualization_type, Shapes::ShapeRef.new(shape: String, location_name: "virtualizationType"))
|
8845
|
+
RegisterImageRequest.add_member(:boot_mode, Shapes::ShapeRef.new(shape: BootModeValues, location_name: "BootMode"))
|
8830
8846
|
RegisterImageRequest.struct_class = Types::RegisterImageRequest
|
8831
8847
|
|
8832
8848
|
RegisterImageResult.add_member(:image_id, Shapes::ShapeRef.new(shape: String, location_name: "imageId"))
|
@@ -3,7 +3,7 @@
|
|
3
3
|
# WARNING ABOUT GENERATED CODE
|
4
4
|
#
|
5
5
|
# This file is generated. See the contributing guide for more information:
|
6
|
-
# https://github.com/aws/aws-sdk-ruby/blob/
|
6
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
7
7
|
#
|
8
8
|
# WARNING ABOUT GENERATED CODE
|
9
9
|
|
data/lib/aws-sdk-ec2/errors.rb
CHANGED
@@ -3,7 +3,7 @@
|
|
3
3
|
# WARNING ABOUT GENERATED CODE
|
4
4
|
#
|
5
5
|
# This file is generated. See the contributing guide for more information:
|
6
|
-
# https://github.com/aws/aws-sdk-ruby/blob/
|
6
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
7
7
|
#
|
8
8
|
# WARNING ABOUT GENERATED CODE
|
9
9
|
|
data/lib/aws-sdk-ec2/image.rb
CHANGED
@@ -3,7 +3,7 @@
|
|
3
3
|
# WARNING ABOUT GENERATED CODE
|
4
4
|
#
|
5
5
|
# This file is generated. See the contributing guide for more information:
|
6
|
-
# https://github.com/aws/aws-sdk-ruby/blob/
|
6
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
7
7
|
#
|
8
8
|
# WARNING ABOUT GENERATED CODE
|
9
9
|
|
@@ -211,6 +211,17 @@ module Aws::EC2
|
|
211
211
|
data[:virtualization_type]
|
212
212
|
end
|
213
213
|
|
214
|
+
# The boot mode of the image. For more information, see [Boot modes][1]
|
215
|
+
# in the *Amazon Elastic Compute Cloud User Guide*.
|
216
|
+
#
|
217
|
+
#
|
218
|
+
#
|
219
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ami-boot.html
|
220
|
+
# @return [String]
|
221
|
+
def boot_mode
|
222
|
+
data[:boot_mode]
|
223
|
+
end
|
224
|
+
|
214
225
|
# @!endgroup
|
215
226
|
|
216
227
|
# @return [Client]
|
@@ -478,17 +489,17 @@ module Aws::EC2
|
|
478
489
|
# @example Request syntax with placeholder values
|
479
490
|
#
|
480
491
|
# image.describe_attribute({
|
481
|
-
# attribute: "description", # required, accepts description, kernel, ramdisk, launchPermission, productCodes, blockDeviceMapping, sriovNetSupport
|
492
|
+
# attribute: "description", # required, accepts description, kernel, ramdisk, launchPermission, productCodes, blockDeviceMapping, sriovNetSupport, bootMode
|
482
493
|
# dry_run: false,
|
483
494
|
# })
|
484
495
|
# @param [Hash] options ({})
|
485
496
|
# @option options [required, String] :attribute
|
486
497
|
# The AMI attribute.
|
487
498
|
#
|
488
|
-
# **Note**\:
|
489
|
-
#
|
490
|
-
#
|
491
|
-
#
|
499
|
+
# **Note**\: The `blockDeviceMapping` attribute is deprecated. Using
|
500
|
+
# this attribute returns the `Client.AuthFailure` error. To get
|
501
|
+
# information about the block device mappings for an AMI, use the
|
502
|
+
# DescribeImages action.
|
492
503
|
# @option options [Boolean] :dry_run
|
493
504
|
# Checks whether you have the required permissions for the action,
|
494
505
|
# without actually making the request, and provides an error response.
|
data/lib/aws-sdk-ec2/instance.rb
CHANGED
@@ -3,7 +3,7 @@
|
|
3
3
|
# WARNING ABOUT GENERATED CODE
|
4
4
|
#
|
5
5
|
# This file is generated. See the contributing guide for more information:
|
6
|
-
# https://github.com/aws/aws-sdk-ruby/blob/
|
6
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
7
7
|
#
|
8
8
|
# WARNING ABOUT GENERATED CODE
|
9
9
|
|
@@ -258,16 +258,7 @@ module Aws::EC2
|
|
258
258
|
data[:security_groups]
|
259
259
|
end
|
260
260
|
|
261
|
-
#
|
262
|
-
# NAT. This controls whether source/destination checking is enabled on
|
263
|
-
# the instance. A value of `true` means that checking is enabled, and
|
264
|
-
# `false` means that checking is disabled. The value must be `false` for
|
265
|
-
# the instance to perform NAT. For more information, see [NAT
|
266
|
-
# instances][1] in the *Amazon VPC User Guide*.
|
267
|
-
#
|
268
|
-
#
|
269
|
-
#
|
270
|
-
# [1]: https://docs.aws.amazon.com/AmazonVPC/latest/UserGuide/VPC_NAT_Instance.html
|
261
|
+
# Indicates whether source/destination checking is enabled.
|
271
262
|
# @return [Boolean]
|
272
263
|
def source_dest_check
|
273
264
|
data[:source_dest_check]
|
@@ -346,6 +337,17 @@ module Aws::EC2
|
|
346
337
|
data[:enclave_options]
|
347
338
|
end
|
348
339
|
|
340
|
+
# The boot mode of the instance. For more information, see [Boot
|
341
|
+
# modes][1] in the *Amazon EC2 User Guide*.
|
342
|
+
#
|
343
|
+
#
|
344
|
+
#
|
345
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ami-boot.html
|
346
|
+
# @return [String]
|
347
|
+
def boot_mode
|
348
|
+
data[:boot_mode]
|
349
|
+
end
|
350
|
+
|
349
351
|
# @!endgroup
|
350
352
|
|
351
353
|
# @return [Client]
|
@@ -928,10 +930,12 @@ module Aws::EC2
|
|
928
930
|
# })
|
929
931
|
# @param [Hash] options ({})
|
930
932
|
# @option options [Types::AttributeBooleanValue] :source_dest_check
|
931
|
-
#
|
932
|
-
#
|
933
|
-
#
|
934
|
-
#
|
933
|
+
# Enable or disable source/destination checks, which ensure that the
|
934
|
+
# instance is either the source or the destination of any traffic that
|
935
|
+
# it receives. If the value is `true`, source/destination checks are
|
936
|
+
# enabled; otherwise, they are disabled. The default value is `true`.
|
937
|
+
# You must disable source/destination checks if the instance runs
|
938
|
+
# services such as network address translation, routing, or firewalls.
|
935
939
|
# @option options [String] :attribute
|
936
940
|
# The name of the attribute.
|
937
941
|
# @option options [Array<Types::InstanceBlockDeviceMappingSpecification>] :block_device_mappings
|
@@ -3,7 +3,7 @@
|
|
3
3
|
# WARNING ABOUT GENERATED CODE
|
4
4
|
#
|
5
5
|
# This file is generated. See the contributing guide for more information:
|
6
|
-
# https://github.com/aws/aws-sdk-ruby/blob/
|
6
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
7
7
|
#
|
8
8
|
# WARNING ABOUT GENERATED CODE
|
9
9
|
|
data/lib/aws-sdk-ec2/key_pair.rb
CHANGED
@@ -3,7 +3,7 @@
|
|
3
3
|
# WARNING ABOUT GENERATED CODE
|
4
4
|
#
|
5
5
|
# This file is generated. See the contributing guide for more information:
|
6
|
-
# https://github.com/aws/aws-sdk-ruby/blob/
|
6
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
7
7
|
#
|
8
8
|
# WARNING ABOUT GENERATED CODE
|
9
9
|
|
@@ -3,7 +3,7 @@
|
|
3
3
|
# WARNING ABOUT GENERATED CODE
|
4
4
|
#
|
5
5
|
# This file is generated. See the contributing guide for more information:
|
6
|
-
# https://github.com/aws/aws-sdk-ruby/blob/
|
6
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
7
7
|
#
|
8
8
|
# WARNING ABOUT GENERATED CODE
|
9
9
|
|
@@ -3,7 +3,7 @@
|
|
3
3
|
# WARNING ABOUT GENERATED CODE
|
4
4
|
#
|
5
5
|
# This file is generated. See the contributing guide for more information:
|
6
|
-
# https://github.com/aws/aws-sdk-ruby/blob/
|
6
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
7
7
|
#
|
8
8
|
# WARNING ABOUT GENERATED CODE
|
9
9
|
|
@@ -3,7 +3,7 @@
|
|
3
3
|
# WARNING ABOUT GENERATED CODE
|
4
4
|
#
|
5
5
|
# This file is generated. See the contributing guide for more information:
|
6
|
-
# https://github.com/aws/aws-sdk-ruby/blob/
|
6
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
7
7
|
#
|
8
8
|
# WARNING ABOUT GENERATED CODE
|
9
9
|
|
@@ -3,7 +3,7 @@
|
|
3
3
|
# WARNING ABOUT GENERATED CODE
|
4
4
|
#
|
5
5
|
# This file is generated. See the contributing guide for more information:
|
6
|
-
# https://github.com/aws/aws-sdk-ruby/blob/
|
6
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
7
7
|
#
|
8
8
|
# WARNING ABOUT GENERATED CODE
|
9
9
|
|
@@ -3,7 +3,7 @@
|
|
3
3
|
# WARNING ABOUT GENERATED CODE
|
4
4
|
#
|
5
5
|
# This file is generated. See the contributing guide for more information:
|
6
|
-
# https://github.com/aws/aws-sdk-ruby/blob/
|
6
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
7
7
|
#
|
8
8
|
# WARNING ABOUT GENERATED CODE
|
9
9
|
|
@@ -3,7 +3,7 @@
|
|
3
3
|
# WARNING ABOUT GENERATED CODE
|
4
4
|
#
|
5
5
|
# This file is generated. See the contributing guide for more information:
|
6
|
-
# https://github.com/aws/aws-sdk-ruby/blob/
|
6
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
7
7
|
#
|
8
8
|
# WARNING ABOUT GENERATED CODE
|
9
9
|
|
@@ -430,6 +430,8 @@ module Aws::EC2
|
|
430
430
|
# * `network-interface.vpc-id` - The ID of the VPC for the network
|
431
431
|
# interface.
|
432
432
|
#
|
433
|
+
# * `outpost-arn` - The Amazon Resource Name (ARN) of the Outpost.
|
434
|
+
#
|
433
435
|
# * `owner-id` - The AWS account ID of the instance owner.
|
434
436
|
#
|
435
437
|
# * `placement-group-name` - The name of the placement group for the
|
data/lib/aws-sdk-ec2/resource.rb
CHANGED
@@ -3,7 +3,7 @@
|
|
3
3
|
# WARNING ABOUT GENERATED CODE
|
4
4
|
#
|
5
5
|
# This file is generated. See the contributing guide for more information:
|
6
|
-
# https://github.com/aws/aws-sdk-ruby/blob/
|
6
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
7
7
|
#
|
8
8
|
# WARNING ABOUT GENERATED CODE
|
9
9
|
|
@@ -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.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, 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.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, m5n.large, m5n.xlarge, m5n.2xlarge, m5n.4xlarge, m5n.8xlarge, m5n.12xlarge, m5n.16xlarge, m5n.24xlarge, r5dn.large, r5dn.xlarge, r5dn.2xlarge, r5dn.4xlarge, r5dn.8xlarge, r5dn.12xlarge, r5dn.16xlarge, r5dn.24xlarge, r5n.large, r5n.xlarge, r5n.2xlarge, r5n.4xlarge, r5n.8xlarge, r5n.12xlarge, r5n.16xlarge, r5n.24xlarge, 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, mac1.metal
|
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.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, 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.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, m5n.large, m5n.xlarge, m5n.2xlarge, m5n.4xlarge, m5n.8xlarge, m5n.12xlarge, m5n.16xlarge, m5n.24xlarge, r5dn.large, r5dn.xlarge, r5dn.2xlarge, r5dn.4xlarge, r5dn.8xlarge, r5dn.12xlarge, r5dn.16xlarge, r5dn.24xlarge, r5n.large, r5n.xlarge, r5n.2xlarge, r5n.4xlarge, r5n.8xlarge, r5n.12xlarge, r5n.16xlarge, r5n.24xlarge, 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, mac1.metal, x2gd.medium, x2gd.large, x2gd.xlarge, x2gd.2xlarge, x2gd.4xlarge, x2gd.8xlarge, x2gd.12xlarge, x2gd.16xlarge, x2gd.metal
|
103
103
|
# ipv_6_address_count: 1,
|
104
104
|
# ipv_6_addresses: [
|
105
105
|
# {
|
@@ -620,7 +620,6 @@ module Aws::EC2
|
|
620
620
|
# @example Request syntax with placeholder values
|
621
621
|
#
|
622
622
|
# natgateway = ec2.create_nat_gateway({
|
623
|
-
# allocation_id: "AllocationId", # required
|
624
623
|
# client_token: "String",
|
625
624
|
# dry_run: false,
|
626
625
|
# subnet_id: "SubnetId", # required
|
@@ -635,12 +634,9 @@ module Aws::EC2
|
|
635
634
|
# ],
|
636
635
|
# },
|
637
636
|
# ],
|
637
|
+
# allocation_id: "AllocationId", # required
|
638
638
|
# })
|
639
639
|
# @param [Hash] options ({})
|
640
|
-
# @option options [required, String] :allocation_id
|
641
|
-
# The allocation ID of an Elastic IP address to associate with the NAT
|
642
|
-
# gateway. If the Elastic IP address is associated with another
|
643
|
-
# resource, you must first disassociate it.
|
644
640
|
# @option options [String] :client_token
|
645
641
|
# Unique, case-sensitive identifier that you provide to ensure the
|
646
642
|
# idempotency of the request. For more information, see [How to Ensure
|
@@ -660,6 +656,10 @@ module Aws::EC2
|
|
660
656
|
# The subnet in which to create the NAT gateway.
|
661
657
|
# @option options [Array<Types::TagSpecification>] :tag_specifications
|
662
658
|
# The tags to assign to the NAT gateway.
|
659
|
+
# @option options [required, String] :allocation_id
|
660
|
+
# The allocation ID of an Elastic IP address to associate with the NAT
|
661
|
+
# gateway. If the Elastic IP address is associated with another
|
662
|
+
# resource, you must first disassociate it.
|
663
663
|
# @return [NatGateway]
|
664
664
|
def create_nat_gateway(options = {})
|
665
665
|
resp = @client.create_nat_gateway(options)
|
@@ -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)
|
@@ -1544,6 +1544,7 @@ module Aws::EC2
|
|
1544
1544
|
# root_device_name: "String",
|
1545
1545
|
# sriov_net_support: "String",
|
1546
1546
|
# virtualization_type: "String",
|
1547
|
+
# boot_mode: "legacy-bios", # accepts legacy-bios, uefi
|
1547
1548
|
# })
|
1548
1549
|
# @param [Hash] options ({})
|
1549
1550
|
# @option options [String] :image_location
|
@@ -1618,6 +1619,13 @@ module Aws::EC2
|
|
1618
1619
|
# The type of virtualization (`hvm` \| `paravirtual`).
|
1619
1620
|
#
|
1620
1621
|
# Default: `paravirtual`
|
1622
|
+
# @option options [String] :boot_mode
|
1623
|
+
# The boot mode of the AMI. For more information, see [Boot modes][1] in
|
1624
|
+
# the *Amazon Elastic Compute Cloud User Guide*.
|
1625
|
+
#
|
1626
|
+
#
|
1627
|
+
#
|
1628
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ami-boot.html
|
1621
1629
|
# @return [Image]
|
1622
1630
|
def register_image(options = {})
|
1623
1631
|
resp = @client.register_image(options)
|
@@ -2151,6 +2159,8 @@ module Aws::EC2
|
|
2151
2159
|
# * `network-interface.vpc-id` - The ID of the VPC for the network
|
2152
2160
|
# interface.
|
2153
2161
|
#
|
2162
|
+
# * `outpost-arn` - The Amazon Resource Name (ARN) of the Outpost.
|
2163
|
+
#
|
2154
2164
|
# * `owner-id` - The AWS account ID of the instance owner.
|
2155
2165
|
#
|
2156
2166
|
# * `placement-group-name` - The name of the placement group for the
|