aws-sdk-ec2 1.228.0 → 1.229.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 +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-ec2.rb +1 -1
- data/lib/aws-sdk-ec2/client.rb +32 -10
- data/lib/aws-sdk-ec2/client_api.rb +11 -1
- data/lib/aws-sdk-ec2/image.rb +12 -1
- data/lib/aws-sdk-ec2/instance.rb +18 -14
- data/lib/aws-sdk-ec2/placement_group.rb +2 -0
- data/lib/aws-sdk-ec2/resource.rb +10 -0
- data/lib/aws-sdk-ec2/subnet.rb +2 -0
- data/lib/aws-sdk-ec2/types.rb +79 -31
- data/lib/aws-sdk-ec2/vpc.rb +2 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 77ea25f833ca62eb916ca573ad6e6732865239bb79939ee9c3cb93efd5d97680
|
4
|
+
data.tar.gz: f60bd86857692960d172963785be4ac5f2a2849812603f86e9875417331bc9ed
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 418f596612a0bad2a33bbbc427398388325aaa796c5aa1a4c307b638f7e04505cb2c4a5048786b3760500d1869bfe77e702d929c9740cd979ee551d11f9c13a8
|
7
|
+
data.tar.gz: aaa28fd3a9aaa012cee7b8b4699bed7937dc1fea9179ec278c823ebbd465e6bf223e0d489dce93b9143e6e815aafeaeb0d220512f749a533fd99937097cdc95a
|
data/CHANGELOG.md
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.229.0
|
data/lib/aws-sdk-ec2.rb
CHANGED
data/lib/aws-sdk-ec2/client.rb
CHANGED
@@ -6302,15 +6302,15 @@ module Aws::EC2
|
|
6302
6302
|
# @option params [required, String] :local_gateway_route_table_id
|
6303
6303
|
# The ID of the local gateway route table.
|
6304
6304
|
#
|
6305
|
-
# @option params [required, String] :local_gateway_virtual_interface_group_id
|
6306
|
-
# The ID of the virtual interface group.
|
6307
|
-
#
|
6308
6305
|
# @option params [Boolean] :dry_run
|
6309
6306
|
# Checks whether you have the required permissions for the action,
|
6310
6307
|
# without actually making the request, and provides an error response.
|
6311
6308
|
# If you have the required permissions, the error response is
|
6312
6309
|
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
6313
6310
|
#
|
6311
|
+
# @option params [required, String] :local_gateway_virtual_interface_group_id
|
6312
|
+
# The ID of the virtual interface group.
|
6313
|
+
#
|
6314
6314
|
# @return [Types::CreateLocalGatewayRouteResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
6315
6315
|
#
|
6316
6316
|
# * {Types::CreateLocalGatewayRouteResult#route #route} => Types::LocalGatewayRoute
|
@@ -6320,8 +6320,8 @@ module Aws::EC2
|
|
6320
6320
|
# resp = client.create_local_gateway_route({
|
6321
6321
|
# destination_cidr_block: "String", # required
|
6322
6322
|
# local_gateway_route_table_id: "LocalGatewayRoutetableId", # required
|
6323
|
-
# local_gateway_virtual_interface_group_id: "LocalGatewayVirtualInterfaceGroupId", # required
|
6324
6323
|
# dry_run: false,
|
6324
|
+
# local_gateway_virtual_interface_group_id: "LocalGatewayVirtualInterfaceGroupId", # required
|
6325
6325
|
# })
|
6326
6326
|
#
|
6327
6327
|
# @example Response structure
|
@@ -16965,6 +16965,7 @@ module Aws::EC2
|
|
16965
16965
|
# * {Types::ImageAttribute#kernel_id #kernel_id} => Types::AttributeValue
|
16966
16966
|
# * {Types::ImageAttribute#ramdisk_id #ramdisk_id} => Types::AttributeValue
|
16967
16967
|
# * {Types::ImageAttribute#sriov_net_support #sriov_net_support} => Types::AttributeValue
|
16968
|
+
# * {Types::ImageAttribute#boot_mode #boot_mode} => Types::AttributeValue
|
16968
16969
|
#
|
16969
16970
|
#
|
16970
16971
|
# @example Example: To describe the launch permissions for an AMI
|
@@ -16989,7 +16990,7 @@ module Aws::EC2
|
|
16989
16990
|
# @example Request syntax with placeholder values
|
16990
16991
|
#
|
16991
16992
|
# resp = client.describe_image_attribute({
|
16992
|
-
# attribute: "description", # required, accepts description, kernel, ramdisk, launchPermission, productCodes, blockDeviceMapping, sriovNetSupport
|
16993
|
+
# attribute: "description", # required, accepts description, kernel, ramdisk, launchPermission, productCodes, blockDeviceMapping, sriovNetSupport, bootMode
|
16993
16994
|
# image_id: "ImageId", # required
|
16994
16995
|
# dry_run: false,
|
16995
16996
|
# })
|
@@ -17020,6 +17021,7 @@ module Aws::EC2
|
|
17020
17021
|
# resp.kernel_id #=> <Hash,Array,String,Numeric,Boolean,IO,Set,nil>
|
17021
17022
|
# resp.ramdisk_id #=> <Hash,Array,String,Numeric,Boolean,IO,Set,nil>
|
17022
17023
|
# resp.sriov_net_support #=> <Hash,Array,String,Numeric,Boolean,IO,Set,nil>
|
17024
|
+
# resp.boot_mode #=> <Hash,Array,String,Numeric,Boolean,IO,Set,nil>
|
17023
17025
|
#
|
17024
17026
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeImageAttribute AWS API Documentation
|
17025
17027
|
#
|
@@ -17266,6 +17268,7 @@ module Aws::EC2
|
|
17266
17268
|
# resp.images[0].tags[0].key #=> String
|
17267
17269
|
# resp.images[0].tags[0].value #=> String
|
17268
17270
|
# resp.images[0].virtualization_type #=> String, one of "hvm", "paravirtual"
|
17271
|
+
# resp.images[0].boot_mode #=> String, one of "legacy-bios", "uefi"
|
17269
17272
|
#
|
17270
17273
|
#
|
17271
17274
|
# The following waiters are defined for this operation (see {Client#wait_until} for detailed usage):
|
@@ -18141,6 +18144,8 @@ module Aws::EC2
|
|
18141
18144
|
# * `processor-info.sustained-clock-speed-in-ghz` - The CPU clock speed,
|
18142
18145
|
# in GHz.
|
18143
18146
|
#
|
18147
|
+
# * `supported-boot-mode` - The boot mode (`legacy-bios` \| `uefi`).
|
18148
|
+
#
|
18144
18149
|
# * `supported-root-device-type` - The root device type (`ebs` \|
|
18145
18150
|
# `instance-store`).
|
18146
18151
|
#
|
@@ -18271,6 +18276,8 @@ module Aws::EC2
|
|
18271
18276
|
# resp.instance_types[0].burstable_performance_supported #=> Boolean
|
18272
18277
|
# resp.instance_types[0].dedicated_hosts_supported #=> Boolean
|
18273
18278
|
# resp.instance_types[0].auto_recovery_supported #=> Boolean
|
18279
|
+
# resp.instance_types[0].supported_boot_modes #=> Array
|
18280
|
+
# resp.instance_types[0].supported_boot_modes[0] #=> String, one of "legacy-bios", "uefi"
|
18274
18281
|
# resp.next_token #=> String
|
18275
18282
|
#
|
18276
18283
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeInstanceTypes AWS API Documentation
|
@@ -18502,6 +18509,8 @@ module Aws::EC2
|
|
18502
18509
|
# * `network-interface.vpc-id` - The ID of the VPC for the network
|
18503
18510
|
# interface.
|
18504
18511
|
#
|
18512
|
+
# * `outpost-arn` - The Amazon Resource Name (ARN) of the Outpost.
|
18513
|
+
#
|
18505
18514
|
# * `owner-id` - The AWS account ID of the instance owner.
|
18506
18515
|
#
|
18507
18516
|
# * `placement-group-name` - The name of the placement group for the
|
@@ -18810,6 +18819,7 @@ module Aws::EC2
|
|
18810
18819
|
# resp.reservations[0].instances[0].metadata_options.http_put_response_hop_limit #=> Integer
|
18811
18820
|
# resp.reservations[0].instances[0].metadata_options.http_endpoint #=> String, one of "disabled", "enabled"
|
18812
18821
|
# resp.reservations[0].instances[0].enclave_options.enabled #=> Boolean
|
18822
|
+
# resp.reservations[0].instances[0].boot_mode #=> String, one of "legacy-bios", "uefi"
|
18813
18823
|
# resp.reservations[0].owner_id #=> String
|
18814
18824
|
# resp.reservations[0].requester_id #=> String
|
18815
18825
|
# resp.reservations[0].reservation_id #=> String
|
@@ -32553,10 +32563,12 @@ module Aws::EC2
|
|
32553
32563
|
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Using_ChangingAttributesWhileInstanceStopped.html
|
32554
32564
|
#
|
32555
32565
|
# @option params [Types::AttributeBooleanValue] :source_dest_check
|
32556
|
-
#
|
32557
|
-
#
|
32558
|
-
#
|
32559
|
-
#
|
32566
|
+
# Enable or disable source/destination checks, which ensure that the
|
32567
|
+
# instance is either the source or the destination of any traffic that
|
32568
|
+
# it receives. If the value is `true`, source/destination checks are
|
32569
|
+
# enabled; otherwise, they are disabled. The default value is `true`.
|
32570
|
+
# You must disable source/destination checks if the instance runs
|
32571
|
+
# services such as network address translation, routing, or firewalls.
|
32560
32572
|
#
|
32561
32573
|
# @option params [String] :attribute
|
32562
32574
|
# The name of the attribute.
|
@@ -36151,6 +36163,14 @@ module Aws::EC2
|
|
36151
36163
|
#
|
36152
36164
|
# Default: `paravirtual`
|
36153
36165
|
#
|
36166
|
+
# @option params [String] :boot_mode
|
36167
|
+
# The boot mode of the AMI. For more information, see [Boot modes][1] in
|
36168
|
+
# the *Amazon Elastic Compute Cloud User Guide*.
|
36169
|
+
#
|
36170
|
+
#
|
36171
|
+
#
|
36172
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ami-boot.html
|
36173
|
+
#
|
36154
36174
|
# @return [Types::RegisterImageResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
36155
36175
|
#
|
36156
36176
|
# * {Types::RegisterImageResult#image_id #image_id} => String
|
@@ -36188,6 +36208,7 @@ module Aws::EC2
|
|
36188
36208
|
# root_device_name: "String",
|
36189
36209
|
# sriov_net_support: "String",
|
36190
36210
|
# virtualization_type: "String",
|
36211
|
+
# boot_mode: "legacy-bios", # accepts legacy-bios, uefi
|
36191
36212
|
# })
|
36192
36213
|
#
|
36193
36214
|
# @example Response structure
|
@@ -39564,6 +39585,7 @@ module Aws::EC2
|
|
39564
39585
|
# resp.instances[0].metadata_options.http_put_response_hop_limit #=> Integer
|
39565
39586
|
# resp.instances[0].metadata_options.http_endpoint #=> String, one of "disabled", "enabled"
|
39566
39587
|
# resp.instances[0].enclave_options.enabled #=> Boolean
|
39588
|
+
# resp.instances[0].boot_mode #=> String, one of "legacy-bios", "uefi"
|
39567
39589
|
# resp.owner_id #=> String
|
39568
39590
|
# resp.requester_id #=> String
|
39569
39591
|
# resp.reservation_id #=> String
|
@@ -41236,7 +41258,7 @@ module Aws::EC2
|
|
41236
41258
|
params: params,
|
41237
41259
|
config: config)
|
41238
41260
|
context[:gem_name] = 'aws-sdk-ec2'
|
41239
|
-
context[:gem_version] = '1.
|
41261
|
+
context[:gem_version] = '1.229.0'
|
41240
41262
|
Seahorse::Client::Request.new(handlers, context)
|
41241
41263
|
end
|
41242
41264
|
|
@@ -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')
|
@@ -2712,6 +2715,8 @@ module Aws::EC2
|
|
2712
2715
|
|
2713
2716
|
BlockDeviceMappingRequestList.member = Shapes::ShapeRef.new(shape: BlockDeviceMapping, location_name: "BlockDeviceMapping")
|
2714
2717
|
|
2718
|
+
BootModeTypeList.member = Shapes::ShapeRef.new(shape: BootModeType, location_name: "item")
|
2719
|
+
|
2715
2720
|
BundleIdStringList.member = Shapes::ShapeRef.new(shape: BundleId, location_name: "BundleId")
|
2716
2721
|
|
2717
2722
|
BundleInstanceRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location_name: "InstanceId"))
|
@@ -3383,8 +3388,8 @@ module Aws::EC2
|
|
3383
3388
|
|
3384
3389
|
CreateLocalGatewayRouteRequest.add_member(:destination_cidr_block, Shapes::ShapeRef.new(shape: String, required: true, location_name: "DestinationCidrBlock"))
|
3385
3390
|
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
3391
|
CreateLocalGatewayRouteRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "DryRun"))
|
3392
|
+
CreateLocalGatewayRouteRequest.add_member(:local_gateway_virtual_interface_group_id, Shapes::ShapeRef.new(shape: LocalGatewayVirtualInterfaceGroupId, required: true, location_name: "LocalGatewayVirtualInterfaceGroupId"))
|
3388
3393
|
CreateLocalGatewayRouteRequest.struct_class = Types::CreateLocalGatewayRouteRequest
|
3389
3394
|
|
3390
3395
|
CreateLocalGatewayRouteResult.add_member(:route, Shapes::ShapeRef.new(shape: LocalGatewayRoute, location_name: "route"))
|
@@ -6708,6 +6713,7 @@ module Aws::EC2
|
|
6708
6713
|
Image.add_member(:state_reason, Shapes::ShapeRef.new(shape: StateReason, location_name: "stateReason"))
|
6709
6714
|
Image.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "tagSet"))
|
6710
6715
|
Image.add_member(:virtualization_type, Shapes::ShapeRef.new(shape: VirtualizationType, location_name: "virtualizationType"))
|
6716
|
+
Image.add_member(:boot_mode, Shapes::ShapeRef.new(shape: BootModeValues, location_name: "bootMode"))
|
6711
6717
|
Image.struct_class = Types::Image
|
6712
6718
|
|
6713
6719
|
ImageAttribute.add_member(:block_device_mappings, Shapes::ShapeRef.new(shape: BlockDeviceMappingList, location_name: "blockDeviceMapping"))
|
@@ -6718,6 +6724,7 @@ module Aws::EC2
|
|
6718
6724
|
ImageAttribute.add_member(:kernel_id, Shapes::ShapeRef.new(shape: AttributeValue, location_name: "kernel"))
|
6719
6725
|
ImageAttribute.add_member(:ramdisk_id, Shapes::ShapeRef.new(shape: AttributeValue, location_name: "ramdisk"))
|
6720
6726
|
ImageAttribute.add_member(:sriov_net_support, Shapes::ShapeRef.new(shape: AttributeValue, location_name: "sriovNetSupport"))
|
6727
|
+
ImageAttribute.add_member(:boot_mode, Shapes::ShapeRef.new(shape: AttributeValue, location_name: "bootMode"))
|
6721
6728
|
ImageAttribute.struct_class = Types::ImageAttribute
|
6722
6729
|
|
6723
6730
|
ImageDiskContainer.add_member(:description, Shapes::ShapeRef.new(shape: String, location_name: "Description"))
|
@@ -6962,6 +6969,7 @@ module Aws::EC2
|
|
6962
6969
|
Instance.add_member(:licenses, Shapes::ShapeRef.new(shape: LicenseList, location_name: "licenseSet"))
|
6963
6970
|
Instance.add_member(:metadata_options, Shapes::ShapeRef.new(shape: InstanceMetadataOptionsResponse, location_name: "metadataOptions"))
|
6964
6971
|
Instance.add_member(:enclave_options, Shapes::ShapeRef.new(shape: EnclaveOptions, location_name: "enclaveOptions"))
|
6972
|
+
Instance.add_member(:boot_mode, Shapes::ShapeRef.new(shape: BootModeValues, location_name: "bootMode"))
|
6965
6973
|
Instance.struct_class = Types::Instance
|
6966
6974
|
|
6967
6975
|
InstanceAttribute.add_member(:groups, Shapes::ShapeRef.new(shape: GroupIdentifierList, location_name: "groupSet"))
|
@@ -7208,6 +7216,7 @@ module Aws::EC2
|
|
7208
7216
|
InstanceTypeInfo.add_member(:burstable_performance_supported, Shapes::ShapeRef.new(shape: BurstablePerformanceFlag, location_name: "burstablePerformanceSupported"))
|
7209
7217
|
InstanceTypeInfo.add_member(:dedicated_hosts_supported, Shapes::ShapeRef.new(shape: DedicatedHostFlag, location_name: "dedicatedHostsSupported"))
|
7210
7218
|
InstanceTypeInfo.add_member(:auto_recovery_supported, Shapes::ShapeRef.new(shape: AutoRecoveryFlag, location_name: "autoRecoverySupported"))
|
7219
|
+
InstanceTypeInfo.add_member(:supported_boot_modes, Shapes::ShapeRef.new(shape: BootModeTypeList, location_name: "supportedBootModes"))
|
7211
7220
|
InstanceTypeInfo.struct_class = Types::InstanceTypeInfo
|
7212
7221
|
|
7213
7222
|
InstanceTypeInfoList.member = Shapes::ShapeRef.new(shape: InstanceTypeInfo, location_name: "item")
|
@@ -8827,6 +8836,7 @@ module Aws::EC2
|
|
8827
8836
|
RegisterImageRequest.add_member(:root_device_name, Shapes::ShapeRef.new(shape: String, location_name: "rootDeviceName"))
|
8828
8837
|
RegisterImageRequest.add_member(:sriov_net_support, Shapes::ShapeRef.new(shape: String, location_name: "sriovNetSupport"))
|
8829
8838
|
RegisterImageRequest.add_member(:virtualization_type, Shapes::ShapeRef.new(shape: String, location_name: "virtualizationType"))
|
8839
|
+
RegisterImageRequest.add_member(:boot_mode, Shapes::ShapeRef.new(shape: BootModeValues, location_name: "BootMode"))
|
8830
8840
|
RegisterImageRequest.struct_class = Types::RegisterImageRequest
|
8831
8841
|
|
8832
8842
|
RegisterImageResult.add_member(:image_id, Shapes::ShapeRef.new(shape: String, location_name: "imageId"))
|
data/lib/aws-sdk-ec2/image.rb
CHANGED
@@ -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,7 +489,7 @@ 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 ({})
|
data/lib/aws-sdk-ec2/instance.rb
CHANGED
@@ -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
|
@@ -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
@@ -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
|
data/lib/aws-sdk-ec2/subnet.rb
CHANGED
@@ -1141,6 +1141,8 @@ module Aws::EC2
|
|
1141
1141
|
# * `network-interface.vpc-id` - The ID of the VPC for the network
|
1142
1142
|
# interface.
|
1143
1143
|
#
|
1144
|
+
# * `outpost-arn` - The Amazon Resource Name (ARN) of the Outpost.
|
1145
|
+
#
|
1144
1146
|
# * `owner-id` - The AWS account ID of the instance owner.
|
1145
1147
|
#
|
1146
1148
|
# * `placement-group-name` - The name of the placement group for the
|
data/lib/aws-sdk-ec2/types.rb
CHANGED
@@ -7541,8 +7541,8 @@ module Aws::EC2
|
|
7541
7541
|
# {
|
7542
7542
|
# destination_cidr_block: "String", # required
|
7543
7543
|
# local_gateway_route_table_id: "LocalGatewayRoutetableId", # required
|
7544
|
-
# local_gateway_virtual_interface_group_id: "LocalGatewayVirtualInterfaceGroupId", # required
|
7545
7544
|
# dry_run: false,
|
7545
|
+
# local_gateway_virtual_interface_group_id: "LocalGatewayVirtualInterfaceGroupId", # required
|
7546
7546
|
# }
|
7547
7547
|
#
|
7548
7548
|
# @!attribute [rw] destination_cidr_block
|
@@ -7554,10 +7554,6 @@ module Aws::EC2
|
|
7554
7554
|
# The ID of the local gateway route table.
|
7555
7555
|
# @return [String]
|
7556
7556
|
#
|
7557
|
-
# @!attribute [rw] local_gateway_virtual_interface_group_id
|
7558
|
-
# The ID of the virtual interface group.
|
7559
|
-
# @return [String]
|
7560
|
-
#
|
7561
7557
|
# @!attribute [rw] dry_run
|
7562
7558
|
# Checks whether you have the required permissions for the action,
|
7563
7559
|
# without actually making the request, and provides an error response.
|
@@ -7565,13 +7561,17 @@ module Aws::EC2
|
|
7565
7561
|
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
7566
7562
|
# @return [Boolean]
|
7567
7563
|
#
|
7564
|
+
# @!attribute [rw] local_gateway_virtual_interface_group_id
|
7565
|
+
# The ID of the virtual interface group.
|
7566
|
+
# @return [String]
|
7567
|
+
#
|
7568
7568
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateLocalGatewayRouteRequest AWS API Documentation
|
7569
7569
|
#
|
7570
7570
|
class CreateLocalGatewayRouteRequest < Struct.new(
|
7571
7571
|
:destination_cidr_block,
|
7572
7572
|
:local_gateway_route_table_id,
|
7573
|
-
:
|
7574
|
-
:
|
7573
|
+
:dry_run,
|
7574
|
+
:local_gateway_virtual_interface_group_id)
|
7575
7575
|
SENSITIVE = []
|
7576
7576
|
include Aws::Structure
|
7577
7577
|
end
|
@@ -16843,7 +16843,7 @@ module Aws::EC2
|
|
16843
16843
|
# data as a hash:
|
16844
16844
|
#
|
16845
16845
|
# {
|
16846
|
-
# attribute: "description", # required, accepts description, kernel, ramdisk, launchPermission, productCodes, blockDeviceMapping, sriovNetSupport
|
16846
|
+
# attribute: "description", # required, accepts description, kernel, ramdisk, launchPermission, productCodes, blockDeviceMapping, sriovNetSupport, bootMode
|
16847
16847
|
# image_id: "ImageId", # required
|
16848
16848
|
# dry_run: false,
|
16849
16849
|
# }
|
@@ -17686,6 +17686,8 @@ module Aws::EC2
|
|
17686
17686
|
# * `processor-info.sustained-clock-speed-in-ghz` - The CPU clock
|
17687
17687
|
# speed, in GHz.
|
17688
17688
|
#
|
17689
|
+
# * `supported-boot-mode` - The boot mode (`legacy-bios` \| `uefi`).
|
17690
|
+
#
|
17689
17691
|
# * `supported-root-device-type` - The root device type (`ebs` \|
|
17690
17692
|
# `instance-store`).
|
17691
17693
|
#
|
@@ -17975,6 +17977,8 @@ module Aws::EC2
|
|
17975
17977
|
# * `network-interface.vpc-id` - The ID of the VPC for the network
|
17976
17978
|
# interface.
|
17977
17979
|
#
|
17980
|
+
# * `outpost-arn` - The Amazon Resource Name (ARN) of the Outpost.
|
17981
|
+
#
|
17978
17982
|
# * `owner-id` - The AWS account ID of the instance owner.
|
17979
17983
|
#
|
17980
17984
|
# * `placement-group-name` - The name of the placement group for the
|
@@ -28338,6 +28342,9 @@ module Aws::EC2
|
|
28338
28342
|
# @!attribute [rw] overrides
|
28339
28343
|
# Any parameters that you specify override the same parameters in the
|
28340
28344
|
# launch template.
|
28345
|
+
#
|
28346
|
+
# For fleets of type `request` and `maintain`, a maximum of 300 items
|
28347
|
+
# is allowed across all launch templates.
|
28341
28348
|
# @return [Array<Types::FleetLaunchTemplateOverridesRequest>]
|
28342
28349
|
#
|
28343
28350
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/FleetLaunchTemplateConfigRequest AWS API Documentation
|
@@ -31192,6 +31199,15 @@ module Aws::EC2
|
|
31192
31199
|
# The type of virtualization of the AMI.
|
31193
31200
|
# @return [String]
|
31194
31201
|
#
|
31202
|
+
# @!attribute [rw] boot_mode
|
31203
|
+
# The boot mode of the image. For more information, see [Boot
|
31204
|
+
# modes][1] in the *Amazon Elastic Compute Cloud User Guide*.
|
31205
|
+
#
|
31206
|
+
#
|
31207
|
+
#
|
31208
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ami-boot.html
|
31209
|
+
# @return [String]
|
31210
|
+
#
|
31195
31211
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/Image AWS API Documentation
|
31196
31212
|
#
|
31197
31213
|
class Image < Struct.new(
|
@@ -31220,7 +31236,8 @@ module Aws::EC2
|
|
31220
31236
|
:sriov_net_support,
|
31221
31237
|
:state_reason,
|
31222
31238
|
:tags,
|
31223
|
-
:virtualization_type
|
31239
|
+
:virtualization_type,
|
31240
|
+
:boot_mode)
|
31224
31241
|
SENSITIVE = []
|
31225
31242
|
include Aws::Structure
|
31226
31243
|
end
|
@@ -31260,6 +31277,10 @@ module Aws::EC2
|
|
31260
31277
|
# Function interface is enabled.
|
31261
31278
|
# @return [Types::AttributeValue]
|
31262
31279
|
#
|
31280
|
+
# @!attribute [rw] boot_mode
|
31281
|
+
# Describes a value for a resource attribute that is a String.
|
31282
|
+
# @return [Types::AttributeValue]
|
31283
|
+
#
|
31263
31284
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ImageAttribute AWS API Documentation
|
31264
31285
|
#
|
31265
31286
|
class ImageAttribute < Struct.new(
|
@@ -31270,7 +31291,8 @@ module Aws::EC2
|
|
31270
31291
|
:description,
|
31271
31292
|
:kernel_id,
|
31272
31293
|
:ramdisk_id,
|
31273
|
-
:sriov_net_support
|
31294
|
+
:sriov_net_support,
|
31295
|
+
:boot_mode)
|
31274
31296
|
SENSITIVE = []
|
31275
31297
|
include Aws::Structure
|
31276
31298
|
end
|
@@ -32636,16 +32658,7 @@ module Aws::EC2
|
|
32636
32658
|
# @return [Array<Types::GroupIdentifier>]
|
32637
32659
|
#
|
32638
32660
|
# @!attribute [rw] source_dest_check
|
32639
|
-
#
|
32640
|
-
# NAT. This controls whether source/destination checking is enabled on
|
32641
|
-
# the instance. A value of `true` means that checking is enabled, and
|
32642
|
-
# `false` means that checking is disabled. The value must be `false`
|
32643
|
-
# for the instance to perform NAT. For more information, see [NAT
|
32644
|
-
# instances][1] in the *Amazon VPC User Guide*.
|
32645
|
-
#
|
32646
|
-
#
|
32647
|
-
#
|
32648
|
-
# [1]: https://docs.aws.amazon.com/AmazonVPC/latest/UserGuide/VPC_NAT_Instance.html
|
32661
|
+
# Indicates whether source/destination checking is enabled.
|
32649
32662
|
# @return [Boolean]
|
32650
32663
|
#
|
32651
32664
|
# @!attribute [rw] spot_instance_request_id
|
@@ -32697,6 +32710,15 @@ module Aws::EC2
|
|
32697
32710
|
# Indicates whether the instance is enabled for AWS Nitro Enclaves.
|
32698
32711
|
# @return [Types::EnclaveOptions]
|
32699
32712
|
#
|
32713
|
+
# @!attribute [rw] boot_mode
|
32714
|
+
# The boot mode of the instance. For more information, see [Boot
|
32715
|
+
# modes][1] in the *Amazon EC2 User Guide*.
|
32716
|
+
#
|
32717
|
+
#
|
32718
|
+
#
|
32719
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ami-boot.html
|
32720
|
+
# @return [String]
|
32721
|
+
#
|
32700
32722
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/Instance AWS API Documentation
|
32701
32723
|
#
|
32702
32724
|
class Instance < Struct.new(
|
@@ -32747,7 +32769,8 @@ module Aws::EC2
|
|
32747
32769
|
:hibernation_options,
|
32748
32770
|
:licenses,
|
32749
32771
|
:metadata_options,
|
32750
|
-
:enclave_options
|
32772
|
+
:enclave_options,
|
32773
|
+
:boot_mode)
|
32751
32774
|
SENSITIVE = []
|
32752
32775
|
include Aws::Structure
|
32753
32776
|
end
|
@@ -32812,10 +32835,12 @@ module Aws::EC2
|
|
32812
32835
|
# @return [Types::AttributeValue]
|
32813
32836
|
#
|
32814
32837
|
# @!attribute [rw] source_dest_check
|
32815
|
-
#
|
32816
|
-
#
|
32817
|
-
#
|
32818
|
-
#
|
32838
|
+
# Enable or disable source/destination checks, which ensure that the
|
32839
|
+
# instance is either the source or the destination of any traffic that
|
32840
|
+
# it receives. If the value is `true`, source/destination checks are
|
32841
|
+
# enabled; otherwise, they are disabled. The default value is `true`.
|
32842
|
+
# You must disable source/destination checks if the instance runs
|
32843
|
+
# services such as network address translation, routing, or firewalls.
|
32819
32844
|
# @return [Types::AttributeBooleanValue]
|
32820
32845
|
#
|
32821
32846
|
# @!attribute [rw] sriov_net_support
|
@@ -34022,6 +34047,15 @@ module Aws::EC2
|
|
34022
34047
|
# Indicates whether auto recovery is supported.
|
34023
34048
|
# @return [Boolean]
|
34024
34049
|
#
|
34050
|
+
# @!attribute [rw] supported_boot_modes
|
34051
|
+
# The supported boot modes. For more information, see [Boot modes][1]
|
34052
|
+
# in the *Amazon EC2 User Guide*.
|
34053
|
+
#
|
34054
|
+
#
|
34055
|
+
#
|
34056
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ami-boot.html
|
34057
|
+
# @return [Array<String>]
|
34058
|
+
#
|
34025
34059
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/InstanceTypeInfo AWS API Documentation
|
34026
34060
|
#
|
34027
34061
|
class InstanceTypeInfo < Struct.new(
|
@@ -34047,7 +34081,8 @@ module Aws::EC2
|
|
34047
34081
|
:hibernation_supported,
|
34048
34082
|
:burstable_performance_supported,
|
34049
34083
|
:dedicated_hosts_supported,
|
34050
|
-
:auto_recovery_supported
|
34084
|
+
:auto_recovery_supported,
|
34085
|
+
:supported_boot_modes)
|
34051
34086
|
SENSITIVE = []
|
34052
34087
|
include Aws::Structure
|
34053
34088
|
end
|
@@ -37706,10 +37741,12 @@ module Aws::EC2
|
|
37706
37741
|
# }
|
37707
37742
|
#
|
37708
37743
|
# @!attribute [rw] source_dest_check
|
37709
|
-
#
|
37710
|
-
#
|
37711
|
-
#
|
37712
|
-
#
|
37744
|
+
# Enable or disable source/destination checks, which ensure that the
|
37745
|
+
# instance is either the source or the destination of any traffic that
|
37746
|
+
# it receives. If the value is `true`, source/destination checks are
|
37747
|
+
# enabled; otherwise, they are disabled. The default value is `true`.
|
37748
|
+
# You must disable source/destination checks if the instance runs
|
37749
|
+
# services such as network address translation, routing, or firewalls.
|
37713
37750
|
# @return [Types::AttributeBooleanValue]
|
37714
37751
|
#
|
37715
37752
|
# @!attribute [rw] attribute
|
@@ -43171,6 +43208,7 @@ module Aws::EC2
|
|
43171
43208
|
# root_device_name: "String",
|
43172
43209
|
# sriov_net_support: "String",
|
43173
43210
|
# virtualization_type: "String",
|
43211
|
+
# boot_mode: "legacy-bios", # accepts legacy-bios, uefi
|
43174
43212
|
# }
|
43175
43213
|
#
|
43176
43214
|
# @!attribute [rw] image_location
|
@@ -43273,6 +43311,15 @@ module Aws::EC2
|
|
43273
43311
|
# Default: `paravirtual`
|
43274
43312
|
# @return [String]
|
43275
43313
|
#
|
43314
|
+
# @!attribute [rw] boot_mode
|
43315
|
+
# The boot mode of the AMI. For more information, see [Boot modes][1]
|
43316
|
+
# in the *Amazon Elastic Compute Cloud User Guide*.
|
43317
|
+
#
|
43318
|
+
#
|
43319
|
+
#
|
43320
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ami-boot.html
|
43321
|
+
# @return [String]
|
43322
|
+
#
|
43276
43323
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/RegisterImageRequest AWS API Documentation
|
43277
43324
|
#
|
43278
43325
|
class RegisterImageRequest < Struct.new(
|
@@ -43288,7 +43335,8 @@ module Aws::EC2
|
|
43288
43335
|
:ramdisk_id,
|
43289
43336
|
:root_device_name,
|
43290
43337
|
:sriov_net_support,
|
43291
|
-
:virtualization_type
|
43338
|
+
:virtualization_type,
|
43339
|
+
:boot_mode)
|
43292
43340
|
SENSITIVE = []
|
43293
43341
|
include Aws::Structure
|
43294
43342
|
end
|
data/lib/aws-sdk-ec2/vpc.rb
CHANGED
@@ -1128,6 +1128,8 @@ module Aws::EC2
|
|
1128
1128
|
# * `network-interface.vpc-id` - The ID of the VPC for the network
|
1129
1129
|
# interface.
|
1130
1130
|
#
|
1131
|
+
# * `outpost-arn` - The Amazon Resource Name (ARN) of the Outpost.
|
1132
|
+
#
|
1131
1133
|
# * `owner-id` - The AWS account ID of the instance owner.
|
1132
1134
|
#
|
1133
1135
|
# * `placement-group-name` - The name of the placement group for the
|
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.
|
4
|
+
version: 1.229.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-03-
|
11
|
+
date: 2021-03-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sigv4
|