aws-sdk-ec2 1.336.0 → 1.338.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 +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-ec2/client.rb +154 -102
- data/lib/aws-sdk-ec2/client_api.rb +3 -1
- data/lib/aws-sdk-ec2/instance.rb +8 -1
- data/lib/aws-sdk-ec2/network_interface.rb +3 -3
- data/lib/aws-sdk-ec2/resource.rb +46 -29
- data/lib/aws-sdk-ec2/security_group.rb +7 -3
- data/lib/aws-sdk-ec2/subnet.rb +42 -24
- data/lib/aws-sdk-ec2/types.rb +136 -86
- data/lib/aws-sdk-ec2/vpc.rb +1 -1
- data/lib/aws-sdk-ec2.rb +1 -1
- 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: e575e9ace2a43b04a701cd39559a21aff78923a910a45fa171a4ac829024c98e
|
4
|
+
data.tar.gz: '0239a7f28f67e8ba750be2688f8583b0b72ac2bf255b5887dbbf667d99ede0f9'
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0cdba61d102f5e8ebd7deee3777e20e3201d45f23e54e444524aac2915f9b6c5eab5345b97d88e0972046e757a4cd80652f97915775f54e05d279574fb241dbc
|
7
|
+
data.tar.gz: 8d74a66e12125da12d73cfc6d81285ea5ef01ce34fd573565f34f95516a174c979e398267b52af2134fda636c087c4896546f010829a76f80e812d471ecd411b
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,16 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.338.0 (2022-09-23)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Letting external AWS customers provide ImageId as a Launch Template override in FleetLaunchTemplateOverridesRequest
|
8
|
+
|
9
|
+
1.337.0 (2022-09-22)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Documentation updates for Amazon EC2.
|
13
|
+
|
4
14
|
1.336.0 (2022-09-20)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.338.0
|
data/lib/aws-sdk-ec2/client.rb
CHANGED
@@ -764,10 +764,10 @@ module Aws::EC2
|
|
764
764
|
# from a telecommunication carrier, to a network interface which resides
|
765
765
|
# in a subnet in a Wavelength Zone (for example an EC2 instance).
|
766
766
|
#
|
767
|
-
# <note markdown="1"> We are retiring EC2-Classic
|
768
|
-
#
|
769
|
-
#
|
770
|
-
#
|
767
|
+
# <note markdown="1"> We are retiring EC2-Classic. We recommend that you migrate from
|
768
|
+
# EC2-Classic to a VPC. For more information, see [Migrate from
|
769
|
+
# EC2-Classic to a VPC][3] in the *Amazon Elastic Compute Cloud User
|
770
|
+
# Guide*.
|
771
771
|
#
|
772
772
|
# </note>
|
773
773
|
#
|
@@ -1084,6 +1084,8 @@ module Aws::EC2
|
|
1084
1084
|
#
|
1085
1085
|
# @option params [Array<String>] :disallowed_cidrs
|
1086
1086
|
# Exclude a particular CIDR range from being returned by the pool.
|
1087
|
+
# Disallowed CIDRs are only allowed if using netmask length for
|
1088
|
+
# allocation.
|
1087
1089
|
#
|
1088
1090
|
# @return [Types::AllocateIpamPoolCidrResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1089
1091
|
#
|
@@ -1201,9 +1203,8 @@ module Aws::EC2
|
|
1201
1203
|
# specifying specific IPv6 addresses.
|
1202
1204
|
#
|
1203
1205
|
# @option params [Array<String>] :ipv_6_addresses
|
1204
|
-
#
|
1205
|
-
#
|
1206
|
-
# of IPv6 addresses.
|
1206
|
+
# The IPv6 addresses to be assigned to the network interface. You can't
|
1207
|
+
# use this option if you're specifying a number of IPv6 addresses.
|
1207
1208
|
#
|
1208
1209
|
# @option params [Integer] :ipv_6_prefix_count
|
1209
1210
|
# The number of IPv6 prefixes that Amazon Web Services automatically
|
@@ -1295,9 +1296,9 @@ module Aws::EC2
|
|
1295
1296
|
# The ID of the network interface.
|
1296
1297
|
#
|
1297
1298
|
# @option params [Array<String>] :private_ip_addresses
|
1298
|
-
#
|
1299
|
-
#
|
1300
|
-
#
|
1299
|
+
# The IP addresses to be assigned as a secondary private IP address to
|
1300
|
+
# the network interface. You can't specify this parameter when also
|
1301
|
+
# specifying a number of secondary IP addresses.
|
1301
1302
|
#
|
1302
1303
|
# If you don't specify an IP address, Amazon EC2 automatically selects
|
1303
1304
|
# an IP address within the subnet range.
|
@@ -1410,10 +1411,10 @@ module Aws::EC2
|
|
1410
1411
|
# For more information, see the *Elastic IP Addresses* section of
|
1411
1412
|
# [Amazon EC2 Pricing][2].
|
1412
1413
|
#
|
1413
|
-
# <note markdown="1"> We are retiring EC2-Classic
|
1414
|
-
#
|
1415
|
-
#
|
1416
|
-
#
|
1414
|
+
# <note markdown="1"> We are retiring EC2-Classic. We recommend that you migrate from
|
1415
|
+
# EC2-Classic to a VPC. For more information, see [Migrate from
|
1416
|
+
# EC2-Classic to a VPC][3] in the *Amazon Elastic Compute Cloud User
|
1417
|
+
# Guide*.
|
1417
1418
|
#
|
1418
1419
|
# </note>
|
1419
1420
|
#
|
@@ -1672,7 +1673,7 @@ module Aws::EC2
|
|
1672
1673
|
#
|
1673
1674
|
# When the IAM role is associated with the ACM certificate, the
|
1674
1675
|
# certificate, certificate chain, and encrypted private key are placed
|
1675
|
-
# in an Amazon S3
|
1676
|
+
# in an Amazon S3 location that only the associated IAM role can access.
|
1676
1677
|
# The private key of the certificate is encrypted with an Amazon Web
|
1677
1678
|
# Services managed key that has an attached attestation-based key
|
1678
1679
|
# policy.
|
@@ -2994,10 +2995,10 @@ module Aws::EC2
|
|
2994
2995
|
# For more information about VPC security group quotas, see [Amazon VPC
|
2995
2996
|
# quotas][1].
|
2996
2997
|
#
|
2997
|
-
# <note markdown="1"> We are retiring EC2-Classic
|
2998
|
-
#
|
2999
|
-
#
|
3000
|
-
#
|
2998
|
+
# <note markdown="1"> We are retiring EC2-Classic. We recommend that you migrate from
|
2999
|
+
# EC2-Classic to a VPC. For more information, see [Migrate from
|
3000
|
+
# EC2-Classic to a VPC][2] in the *Amazon Elastic Compute Cloud User
|
3001
|
+
# Guide*.
|
3001
3002
|
#
|
3002
3003
|
# </note>
|
3003
3004
|
#
|
@@ -3030,7 +3031,8 @@ module Aws::EC2
|
|
3030
3031
|
# @option params [String] :group_name
|
3031
3032
|
# \[EC2-Classic, default VPC\] The name of the security group. You must
|
3032
3033
|
# specify either the security group ID or the security group name in the
|
3033
|
-
# request.
|
3034
|
+
# request. For security groups in a nondefault VPC, you must specify the
|
3035
|
+
# security group ID.
|
3034
3036
|
#
|
3035
3037
|
# @option params [Array<Types::IpPermission>] :ip_permissions
|
3036
3038
|
# The sets of IP permissions.
|
@@ -5899,6 +5901,7 @@ module Aws::EC2
|
|
5899
5901
|
# max: 1,
|
5900
5902
|
# },
|
5901
5903
|
# },
|
5904
|
+
# image_id: "ImageId",
|
5902
5905
|
# },
|
5903
5906
|
# ],
|
5904
5907
|
# },
|
@@ -5979,6 +5982,7 @@ module Aws::EC2
|
|
5979
5982
|
# resp.errors[0].launch_template_and_overrides.overrides.instance_requirements.accelerator_names[0] #=> String, one of "a100", "v100", "k80", "t4", "m60", "radeon-pro-v520", "vu9p", "inferentia", "k520"
|
5980
5983
|
# resp.errors[0].launch_template_and_overrides.overrides.instance_requirements.accelerator_total_memory_mi_b.min #=> Integer
|
5981
5984
|
# resp.errors[0].launch_template_and_overrides.overrides.instance_requirements.accelerator_total_memory_mi_b.max #=> Integer
|
5985
|
+
# resp.errors[0].launch_template_and_overrides.overrides.image_id #=> String
|
5982
5986
|
# resp.errors[0].lifecycle #=> String, one of "spot", "on-demand"
|
5983
5987
|
# resp.errors[0].error_code #=> String
|
5984
5988
|
# resp.errors[0].error_message #=> String
|
@@ -6029,6 +6033,7 @@ module Aws::EC2
|
|
6029
6033
|
# resp.instances[0].launch_template_and_overrides.overrides.instance_requirements.accelerator_names[0] #=> String, one of "a100", "v100", "k80", "t4", "m60", "radeon-pro-v520", "vu9p", "inferentia", "k520"
|
6030
6034
|
# resp.instances[0].launch_template_and_overrides.overrides.instance_requirements.accelerator_total_memory_mi_b.min #=> Integer
|
6031
6035
|
# resp.instances[0].launch_template_and_overrides.overrides.instance_requirements.accelerator_total_memory_mi_b.max #=> Integer
|
6036
|
+
# resp.instances[0].launch_template_and_overrides.overrides.image_id #=> String
|
6032
6037
|
# resp.instances[0].lifecycle #=> String, one of "spot", "on-demand"
|
6033
6038
|
# resp.instances[0].instance_ids #=> Array
|
6034
6039
|
# resp.instances[0].instance_ids[0] #=> String
|
@@ -9244,12 +9249,18 @@ module Aws::EC2
|
|
9244
9249
|
|
9245
9250
|
# Creates a network interface in the specified subnet.
|
9246
9251
|
#
|
9247
|
-
#
|
9248
|
-
#
|
9252
|
+
# The number of IP addresses you can assign to a network interface
|
9253
|
+
# varies by instance type. For more information, see [IP Addresses Per
|
9254
|
+
# ENI Per Instance Type][1] in the *Amazon Virtual Private Cloud User
|
9255
|
+
# Guide*.
|
9256
|
+
#
|
9257
|
+
# For more information about network interfaces, see [Elastic network
|
9258
|
+
# interfaces][2] in the *Amazon Elastic Compute Cloud User Guide*.
|
9249
9259
|
#
|
9250
9260
|
#
|
9251
9261
|
#
|
9252
|
-
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using-eni.html
|
9262
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using-eni.html#AvailableIpPerENI
|
9263
|
+
# [2]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using-eni.html
|
9253
9264
|
#
|
9254
9265
|
# @option params [String] :description
|
9255
9266
|
# A description for the network interface.
|
@@ -9266,14 +9277,21 @@ module Aws::EC2
|
|
9266
9277
|
# @option params [Integer] :ipv_6_address_count
|
9267
9278
|
# The number of IPv6 addresses to assign to a network interface. Amazon
|
9268
9279
|
# EC2 automatically selects the IPv6 addresses from the subnet range.
|
9269
|
-
#
|
9270
|
-
#
|
9271
|
-
#
|
9280
|
+
#
|
9281
|
+
# You can't specify a count of IPv6 addresses using this parameter if
|
9282
|
+
# you've specified one of the following: specific IPv6 addresses,
|
9283
|
+
# specific IPv6 prefixes, or a count of IPv6 prefixes.
|
9284
|
+
#
|
9285
|
+
# If your subnet has the `AssignIpv6AddressOnCreation` attribute set,
|
9286
|
+
# you can override that setting by specifying 0 as the IPv6 address
|
9287
|
+
# count.
|
9272
9288
|
#
|
9273
9289
|
# @option params [Array<Types::InstanceIpv6Address>] :ipv_6_addresses
|
9274
|
-
#
|
9275
|
-
#
|
9276
|
-
#
|
9290
|
+
# The IPv6 addresses from the IPv6 CIDR block range of your subnet.
|
9291
|
+
#
|
9292
|
+
# You can't specify IPv6 addresses using this parameter if you've
|
9293
|
+
# specified one of the following: a count of IPv6 addresses, specific
|
9294
|
+
# IPv6 prefixes, or a count of IPv6 prefixes.
|
9277
9295
|
#
|
9278
9296
|
# @option params [String] :private_ip_address
|
9279
9297
|
# The primary private IPv4 address of the network interface. If you
|
@@ -9283,7 +9301,11 @@ module Aws::EC2
|
|
9283
9301
|
# primary (only one IP address can be designated as primary).
|
9284
9302
|
#
|
9285
9303
|
# @option params [Array<Types::PrivateIpAddressSpecification>] :private_ip_addresses
|
9286
|
-
#
|
9304
|
+
# The private IPv4 addresses.
|
9305
|
+
#
|
9306
|
+
# You can't specify private IPv4 addresses if you've specified one of
|
9307
|
+
# the following: a count of private IPv4 addresses, specific IPv4
|
9308
|
+
# prefixes, or a count of IPv4 prefixes.
|
9287
9309
|
#
|
9288
9310
|
# @option params [Integer] :secondary_private_ip_address_count
|
9289
9311
|
# The number of secondary private IPv4 addresses to assign to a network
|
@@ -9292,32 +9314,39 @@ module Aws::EC2
|
|
9292
9314
|
# range. You can't specify this option and specify more than one
|
9293
9315
|
# private IP address using `privateIpAddresses`.
|
9294
9316
|
#
|
9295
|
-
#
|
9296
|
-
#
|
9297
|
-
#
|
9298
|
-
# Guide*.
|
9299
|
-
#
|
9300
|
-
#
|
9301
|
-
#
|
9302
|
-
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using-eni.html#AvailableIpPerENI
|
9317
|
+
# You can't specify a count of private IPv4 addresses if you've
|
9318
|
+
# specified one of the following: specific private IPv4 addresses,
|
9319
|
+
# specific IPv4 prefixes, or a count of IPv4 prefixes.
|
9303
9320
|
#
|
9304
9321
|
# @option params [Array<Types::Ipv4PrefixSpecificationRequest>] :ipv_4_prefixes
|
9305
|
-
#
|
9306
|
-
#
|
9322
|
+
# The IPv4 prefixes assigned to the network interface.
|
9323
|
+
#
|
9324
|
+
# You can't specify IPv4 prefixes if you've specified one of the
|
9325
|
+
# following: a count of IPv4 prefixes, specific private IPv4 addresses,
|
9326
|
+
# or a count of private IPv4 addresses.
|
9307
9327
|
#
|
9308
9328
|
# @option params [Integer] :ipv_4_prefix_count
|
9309
9329
|
# The number of IPv4 prefixes that Amazon Web Services automatically
|
9310
|
-
# assigns to the network interface.
|
9311
|
-
#
|
9330
|
+
# assigns to the network interface.
|
9331
|
+
#
|
9332
|
+
# You can't specify a count of IPv4 prefixes if you've specified one
|
9333
|
+
# of the following: specific IPv4 prefixes, specific private IPv4
|
9334
|
+
# addresses, or a count of private IPv4 addresses.
|
9312
9335
|
#
|
9313
9336
|
# @option params [Array<Types::Ipv6PrefixSpecificationRequest>] :ipv_6_prefixes
|
9314
|
-
#
|
9315
|
-
#
|
9337
|
+
# The IPv6 prefixes assigned to the network interface.
|
9338
|
+
#
|
9339
|
+
# You can't specify IPv6 prefixes if you've specified one of the
|
9340
|
+
# following: a count of IPv6 prefixes, specific IPv6 addresses, or a
|
9341
|
+
# count of IPv6 addresses.
|
9316
9342
|
#
|
9317
9343
|
# @option params [Integer] :ipv_6_prefix_count
|
9318
9344
|
# The number of IPv6 prefixes that Amazon Web Services automatically
|
9319
|
-
# assigns to the network interface.
|
9320
|
-
#
|
9345
|
+
# assigns to the network interface.
|
9346
|
+
#
|
9347
|
+
# You can't specify a count of IPv6 prefixes if you've specified one
|
9348
|
+
# of the following: specific IPv6 prefixes, specific IPv6 addresses, or
|
9349
|
+
# a count of IPv6 addresses.
|
9321
9350
|
#
|
9322
9351
|
# @option params [String] :interface_type
|
9323
9352
|
# The type of network interface. The default is `interface`.
|
@@ -10287,10 +10316,10 @@ module Aws::EC2
|
|
10287
10316
|
# For more information about VPC security group limits, see [Amazon VPC
|
10288
10317
|
# Limits][3].
|
10289
10318
|
#
|
10290
|
-
# <note markdown="1"> We are retiring EC2-Classic
|
10291
|
-
#
|
10292
|
-
#
|
10293
|
-
#
|
10319
|
+
# <note markdown="1"> We are retiring EC2-Classic. We recommend that you migrate from
|
10320
|
+
# EC2-Classic to a VPC. For more information, see [Migrate from
|
10321
|
+
# EC2-Classic to a VPC][4] in the *Amazon Elastic Compute Cloud User
|
10322
|
+
# Guide*.
|
10294
10323
|
#
|
10295
10324
|
# </note>
|
10296
10325
|
#
|
@@ -10573,8 +10602,11 @@ module Aws::EC2
|
|
10573
10602
|
# Creates crash-consistent snapshots of multiple EBS volumes and stores
|
10574
10603
|
# the data in S3. Volumes are chosen by specifying an instance. Any
|
10575
10604
|
# attached volumes will produce one snapshot each that is
|
10576
|
-
# crash-consistent across the instance.
|
10577
|
-
#
|
10605
|
+
# crash-consistent across the instance.
|
10606
|
+
#
|
10607
|
+
# You can include all of the volumes currently attached to the instance,
|
10608
|
+
# or you can exclude the root volume or specific data (non-root) volumes
|
10609
|
+
# from the multi-volume snapshot set.
|
10578
10610
|
#
|
10579
10611
|
# You can create multi-volume snapshots of instances in a Region and
|
10580
10612
|
# instances on an Outpost. If you create snapshots from an instance in a
|
@@ -15616,10 +15648,10 @@ module Aws::EC2
|
|
15616
15648
|
# fails with `InvalidGroup.InUse` in EC2-Classic or
|
15617
15649
|
# `DependencyViolation` in EC2-VPC.
|
15618
15650
|
#
|
15619
|
-
# <note markdown="1"> We are retiring EC2-Classic
|
15620
|
-
#
|
15621
|
-
#
|
15622
|
-
#
|
15651
|
+
# <note markdown="1"> We are retiring EC2-Classic. We recommend that you migrate from
|
15652
|
+
# EC2-Classic to a VPC. For more information, see [Migrate from
|
15653
|
+
# EC2-Classic to a VPC][1] in the *Amazon Elastic Compute Cloud User
|
15654
|
+
# Guide*.
|
15623
15655
|
#
|
15624
15656
|
# </note>
|
15625
15657
|
#
|
@@ -15632,7 +15664,9 @@ module Aws::EC2
|
|
15632
15664
|
#
|
15633
15665
|
# @option params [String] :group_name
|
15634
15666
|
# \[EC2-Classic, default VPC\] The name of the security group. You can
|
15635
|
-
# specify either the security group name or the security group ID.
|
15667
|
+
# specify either the security group name or the security group ID. For
|
15668
|
+
# security groups in a nondefault VPC, you must specify the security
|
15669
|
+
# group ID.
|
15636
15670
|
#
|
15637
15671
|
# @option params [Boolean] :dry_run
|
15638
15672
|
# Checks whether you have the required permissions for the action,
|
@@ -17467,10 +17501,10 @@ module Aws::EC2
|
|
17467
17501
|
# in a VPC. For more information, see [Elastic IP Addresses][1] in the
|
17468
17502
|
# *Amazon Elastic Compute Cloud User Guide*.
|
17469
17503
|
#
|
17470
|
-
# <note markdown="1"> We are retiring EC2-Classic
|
17471
|
-
#
|
17472
|
-
#
|
17473
|
-
#
|
17504
|
+
# <note markdown="1"> We are retiring EC2-Classic. We recommend that you migrate from
|
17505
|
+
# EC2-Classic to a VPC. For more information, see [Migrate from
|
17506
|
+
# EC2-Classic to a VPC][2] in the *Amazon Elastic Compute Cloud User
|
17507
|
+
# Guide*.
|
17474
17508
|
#
|
17475
17509
|
# </note>
|
17476
17510
|
#
|
@@ -20087,6 +20121,7 @@ module Aws::EC2
|
|
20087
20121
|
# resp.fleets[0].launch_template_configs[0].overrides[0].instance_requirements.accelerator_names[0] #=> String, one of "a100", "v100", "k80", "t4", "m60", "radeon-pro-v520", "vu9p", "inferentia", "k520"
|
20088
20122
|
# resp.fleets[0].launch_template_configs[0].overrides[0].instance_requirements.accelerator_total_memory_mi_b.min #=> Integer
|
20089
20123
|
# resp.fleets[0].launch_template_configs[0].overrides[0].instance_requirements.accelerator_total_memory_mi_b.max #=> Integer
|
20124
|
+
# resp.fleets[0].launch_template_configs[0].overrides[0].image_id #=> String
|
20090
20125
|
# resp.fleets[0].target_capacity_specification.total_target_capacity #=> Integer
|
20091
20126
|
# resp.fleets[0].target_capacity_specification.on_demand_target_capacity #=> Integer
|
20092
20127
|
# resp.fleets[0].target_capacity_specification.spot_target_capacity #=> Integer
|
@@ -20162,6 +20197,7 @@ module Aws::EC2
|
|
20162
20197
|
# resp.fleets[0].errors[0].launch_template_and_overrides.overrides.instance_requirements.accelerator_names[0] #=> String, one of "a100", "v100", "k80", "t4", "m60", "radeon-pro-v520", "vu9p", "inferentia", "k520"
|
20163
20198
|
# resp.fleets[0].errors[0].launch_template_and_overrides.overrides.instance_requirements.accelerator_total_memory_mi_b.min #=> Integer
|
20164
20199
|
# resp.fleets[0].errors[0].launch_template_and_overrides.overrides.instance_requirements.accelerator_total_memory_mi_b.max #=> Integer
|
20200
|
+
# resp.fleets[0].errors[0].launch_template_and_overrides.overrides.image_id #=> String
|
20165
20201
|
# resp.fleets[0].errors[0].lifecycle #=> String, one of "spot", "on-demand"
|
20166
20202
|
# resp.fleets[0].errors[0].error_code #=> String
|
20167
20203
|
# resp.fleets[0].errors[0].error_message #=> String
|
@@ -20212,6 +20248,7 @@ module Aws::EC2
|
|
20212
20248
|
# resp.fleets[0].instances[0].launch_template_and_overrides.overrides.instance_requirements.accelerator_names[0] #=> String, one of "a100", "v100", "k80", "t4", "m60", "radeon-pro-v520", "vu9p", "inferentia", "k520"
|
20213
20249
|
# resp.fleets[0].instances[0].launch_template_and_overrides.overrides.instance_requirements.accelerator_total_memory_mi_b.min #=> Integer
|
20214
20250
|
# resp.fleets[0].instances[0].launch_template_and_overrides.overrides.instance_requirements.accelerator_total_memory_mi_b.max #=> Integer
|
20251
|
+
# resp.fleets[0].instances[0].launch_template_and_overrides.overrides.image_id #=> String
|
20215
20252
|
# resp.fleets[0].instances[0].lifecycle #=> String, one of "spot", "on-demand"
|
20216
20253
|
# resp.fleets[0].instances[0].instance_ids #=> Array
|
20217
20254
|
# resp.fleets[0].instances[0].instance_ids[0] #=> String
|
@@ -21272,13 +21309,12 @@ module Aws::EC2
|
|
21272
21309
|
# regardless of ownership.
|
21273
21310
|
#
|
21274
21311
|
# @option params [Boolean] :include_deprecated
|
21275
|
-
#
|
21276
|
-
#
|
21277
|
-
#
|
21312
|
+
# Specifies whether to include deprecated AMIs.
|
21313
|
+
#
|
21314
|
+
# Default: No deprecated AMIs are included in the response.
|
21278
21315
|
#
|
21279
21316
|
# <note markdown="1"> If you are the AMI owner, all deprecated AMIs appear in the response
|
21280
|
-
# regardless of
|
21281
|
-
# parameter.
|
21317
|
+
# regardless of what you specify for this parameter.
|
21282
21318
|
#
|
21283
21319
|
# </note>
|
21284
21320
|
#
|
@@ -26236,7 +26272,7 @@ module Aws::EC2
|
|
26236
26272
|
# Describes the permissions for your network interfaces.
|
26237
26273
|
#
|
26238
26274
|
# @option params [Array<String>] :network_interface_permission_ids
|
26239
|
-
#
|
26275
|
+
# The network interface permission IDs.
|
26240
26276
|
#
|
26241
26277
|
# @option params [Array<Types::Filter>] :filters
|
26242
26278
|
# One or more filters.
|
@@ -26433,7 +26469,7 @@ module Aws::EC2
|
|
26433
26469
|
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
26434
26470
|
#
|
26435
26471
|
# @option params [Array<String>] :network_interface_ids
|
26436
|
-
#
|
26472
|
+
# The network interface IDs.
|
26437
26473
|
#
|
26438
26474
|
# Default: Describes all your network interfaces.
|
26439
26475
|
#
|
@@ -28353,10 +28389,10 @@ module Aws::EC2
|
|
28353
28389
|
# and [Security groups for your VPC][2] in the *Amazon Virtual Private
|
28354
28390
|
# Cloud User Guide*.
|
28355
28391
|
#
|
28356
|
-
# <note markdown="1"> We are retiring EC2-Classic
|
28357
|
-
#
|
28358
|
-
#
|
28359
|
-
#
|
28392
|
+
# <note markdown="1"> We are retiring EC2-Classic. We recommend that you migrate from
|
28393
|
+
# EC2-Classic to a VPC. For more information, see [Migrate from
|
28394
|
+
# EC2-Classic to a VPC][3] in the *Amazon Elastic Compute Cloud User
|
28395
|
+
# Guide*.
|
28360
28396
|
#
|
28361
28397
|
# </note>
|
28362
28398
|
#
|
@@ -34609,10 +34645,10 @@ module Aws::EC2
|
|
34609
34645
|
# in a VPC. For more information, see [Elastic IP Addresses][1] in the
|
34610
34646
|
# *Amazon Elastic Compute Cloud User Guide*.
|
34611
34647
|
#
|
34612
|
-
# <note markdown="1"> We are retiring EC2-Classic
|
34613
|
-
#
|
34614
|
-
#
|
34615
|
-
#
|
34648
|
+
# <note markdown="1"> We are retiring EC2-Classic. We recommend that you migrate from
|
34649
|
+
# EC2-Classic to a VPC. For more information, see [Migrate from
|
34650
|
+
# EC2-Classic to a VPC][2] in the *Amazon Elastic Compute Cloud User
|
34651
|
+
# Guide*.
|
34616
34652
|
#
|
34617
34653
|
# </note>
|
34618
34654
|
#
|
@@ -39111,6 +39147,11 @@ module Aws::EC2
|
|
39111
39147
|
# Import single or multi-volume disk images or EBS snapshots into an
|
39112
39148
|
# Amazon Machine Image (AMI).
|
39113
39149
|
#
|
39150
|
+
# Amazon Web Services VM Import/Export strongly recommends specifying a
|
39151
|
+
# value for either the `--license-type` or `--usage-operation` parameter
|
39152
|
+
# when you create a new VM Import task. This ensures your operating
|
39153
|
+
# system is licensed appropriately and your billing is optimized.
|
39154
|
+
#
|
39114
39155
|
# For more information, see [Importing a VM as an image using VM
|
39115
39156
|
# Import/Export][1] in the *VM Import/Export User Guide*.
|
39116
39157
|
#
|
@@ -39200,11 +39241,12 @@ module Aws::EC2
|
|
39200
39241
|
# The license type to be used for the Amazon Machine Image (AMI) after
|
39201
39242
|
# importing.
|
39202
39243
|
#
|
39203
|
-
#
|
39204
|
-
#
|
39205
|
-
#
|
39206
|
-
#
|
39207
|
-
#
|
39244
|
+
# Specify `AWS` to replace the source-system license with an Amazon Web
|
39245
|
+
# Services license or `BYOL` to retain the source-system license.
|
39246
|
+
# Leaving this parameter undefined is the same as choosing `AWS` when
|
39247
|
+
# importing a Windows Server operating system, and the same as choosing
|
39248
|
+
# `BYOL` when importing a Windows client operating system (such as
|
39249
|
+
# Windows 10) or a Linux operating system.
|
39208
39250
|
#
|
39209
39251
|
# To use `BYOL`, you must have existing licenses with rights to use
|
39210
39252
|
# these licenses in a third party cloud, such as Amazon Web Services.
|
@@ -40616,6 +40658,7 @@ module Aws::EC2
|
|
40616
40658
|
# max: 1,
|
40617
40659
|
# },
|
40618
40660
|
# },
|
40661
|
+
# image_id: "ImageId",
|
40619
40662
|
# },
|
40620
40663
|
# ],
|
40621
40664
|
# },
|
@@ -41136,7 +41179,14 @@ module Aws::EC2
|
|
41136
41179
|
# services such as network address translation, routing, or firewalls.
|
41137
41180
|
#
|
41138
41181
|
# @option params [String] :attribute
|
41139
|
-
# The name of the attribute.
|
41182
|
+
# The name of the attribute to modify.
|
41183
|
+
#
|
41184
|
+
# You can modify the following attributes only: `disableApiTermination`
|
41185
|
+
# \| `instanceType` \| `kernel` \| `ramdisk` \|
|
41186
|
+
# `instanceInitiatedShutdownBehavior` \| `blockDeviceMapping` \|
|
41187
|
+
# `userData` \| `sourceDestCheck` \| `groupSet` \| `ebsOptimized` \|
|
41188
|
+
# `sriovNetSupport` \| `enaSupport` \| `nvmeSupport` \| `disableApiStop`
|
41189
|
+
# \| `enclaveOptions`
|
41140
41190
|
#
|
41141
41191
|
# @option params [Array<Types::InstanceBlockDeviceMappingSpecification>] :block_device_mappings
|
41142
41192
|
# Modifies the `DeleteOnTermination` attribute for volumes that are
|
@@ -45080,10 +45130,10 @@ module Aws::EC2
|
|
45080
45130
|
# IP address that was originally allocated for use in the EC2-VPC
|
45081
45131
|
# platform to the EC2-Classic platform.
|
45082
45132
|
#
|
45083
|
-
# <note markdown="1"> We are retiring EC2-Classic
|
45084
|
-
#
|
45085
|
-
#
|
45086
|
-
#
|
45133
|
+
# <note markdown="1"> We are retiring EC2-Classic. We recommend that you migrate from
|
45134
|
+
# EC2-Classic to a VPC. For more information, see [Migrate from
|
45135
|
+
# EC2-Classic to a VPC][1] in the *Amazon Elastic Compute Cloud User
|
45136
|
+
# Guide*.
|
45087
45137
|
#
|
45088
45138
|
# </note>
|
45089
45139
|
#
|
@@ -46424,10 +46474,10 @@ module Aws::EC2
|
|
46424
46474
|
# with. To disassociate an Elastic IP address without releasing it, use
|
46425
46475
|
# DisassociateAddress.
|
46426
46476
|
#
|
46427
|
-
# <note markdown="1"> We are retiring EC2-Classic
|
46428
|
-
#
|
46429
|
-
#
|
46430
|
-
#
|
46477
|
+
# <note markdown="1"> We are retiring EC2-Classic. We recommend that you migrate from
|
46478
|
+
# EC2-Classic to a VPC. For more information, see [Migrate from
|
46479
|
+
# EC2-Classic to a VPC][1] in the *Amazon Elastic Compute Cloud User
|
46480
|
+
# Guide*.
|
46431
46481
|
#
|
46432
46482
|
# </note>
|
46433
46483
|
#
|
@@ -48374,10 +48424,10 @@ module Aws::EC2
|
|
48374
48424
|
# The Elastic IP address must not be associated with an instance or
|
48375
48425
|
# network interface.
|
48376
48426
|
#
|
48377
|
-
# <note markdown="1"> We are retiring EC2-Classic
|
48378
|
-
#
|
48379
|
-
#
|
48380
|
-
#
|
48427
|
+
# <note markdown="1"> We are retiring EC2-Classic. We recommend that you migrate from
|
48428
|
+
# EC2-Classic to a VPC. For more information, see [Migrate from
|
48429
|
+
# EC2-Classic to a VPC][1] in the *Amazon Elastic Compute Cloud User
|
48430
|
+
# Guide*.
|
48381
48431
|
#
|
48382
48432
|
# </note>
|
48383
48433
|
#
|
@@ -48878,10 +48928,10 @@ module Aws::EC2
|
|
48878
48928
|
# Rule changes are propagated to instances within the security group as
|
48879
48929
|
# quickly as possible. However, a small delay might occur.
|
48880
48930
|
#
|
48881
|
-
# <note markdown="1"> We are retiring EC2-Classic
|
48882
|
-
#
|
48883
|
-
#
|
48884
|
-
#
|
48931
|
+
# <note markdown="1"> We are retiring EC2-Classic. We recommend that you migrate from
|
48932
|
+
# EC2-Classic to a VPC. For more information, see [Migrate from
|
48933
|
+
# EC2-Classic to a VPC][1] in the *Amazon Elastic Compute Cloud User
|
48934
|
+
# Guide*.
|
48885
48935
|
#
|
48886
48936
|
# </note>
|
48887
48937
|
#
|
@@ -48905,7 +48955,8 @@ module Aws::EC2
|
|
48905
48955
|
# @option params [String] :group_name
|
48906
48956
|
# \[EC2-Classic, default VPC\] The name of the security group. You must
|
48907
48957
|
# specify either the security group ID or the security group name in the
|
48908
|
-
# request.
|
48958
|
+
# request. For security groups in a nondefault VPC, you must specify the
|
48959
|
+
# security group ID.
|
48909
48960
|
#
|
48910
48961
|
# @option params [Array<Types::IpPermission>] :ip_permissions
|
48911
48962
|
# The sets of IP permissions. You can't specify a source security group
|
@@ -51652,7 +51703,7 @@ module Aws::EC2
|
|
51652
51703
|
# The IPv6 addresses to unassign from the network interface.
|
51653
51704
|
#
|
51654
51705
|
# @option params [Array<String>] :ipv_6_prefixes
|
51655
|
-
#
|
51706
|
+
# The IPv6 prefixes to unassign from the network interface.
|
51656
51707
|
#
|
51657
51708
|
# @option params [required, String] :network_interface_id
|
51658
51709
|
# The ID of the network interface.
|
@@ -51919,7 +51970,8 @@ module Aws::EC2
|
|
51919
51970
|
# @option params [String] :group_name
|
51920
51971
|
# \[EC2-Classic, default VPC\] The name of the security group. You must
|
51921
51972
|
# specify either the security group ID or the security group name in the
|
51922
|
-
# request.
|
51973
|
+
# request. For security groups in a nondefault VPC, you must specify the
|
51974
|
+
# security group ID.
|
51923
51975
|
#
|
51924
51976
|
# @option params [Array<Types::IpPermission>] :ip_permissions
|
51925
51977
|
# The IP permissions for the security group rule. You must specify
|
@@ -52081,7 +52133,7 @@ module Aws::EC2
|
|
52081
52133
|
params: params,
|
52082
52134
|
config: config)
|
52083
52135
|
context[:gem_name] = 'aws-sdk-ec2'
|
52084
|
-
context[:gem_version] = '1.
|
52136
|
+
context[:gem_version] = '1.338.0'
|
52085
52137
|
Seahorse::Client::Request.new(handlers, context)
|
52086
52138
|
end
|
52087
52139
|
|
@@ -7190,7 +7190,7 @@ module Aws::EC2
|
|
7190
7190
|
EbsBlockDevice.add_member(:snapshot_id, Shapes::ShapeRef.new(shape: SnapshotId, location_name: "snapshotId"))
|
7191
7191
|
EbsBlockDevice.add_member(:volume_size, Shapes::ShapeRef.new(shape: Integer, location_name: "volumeSize"))
|
7192
7192
|
EbsBlockDevice.add_member(:volume_type, Shapes::ShapeRef.new(shape: VolumeType, location_name: "volumeType"))
|
7193
|
-
EbsBlockDevice.add_member(:kms_key_id, Shapes::ShapeRef.new(shape: String, location_name: "
|
7193
|
+
EbsBlockDevice.add_member(:kms_key_id, Shapes::ShapeRef.new(shape: String, location_name: "kmsKeyId"))
|
7194
7194
|
EbsBlockDevice.add_member(:throughput, Shapes::ShapeRef.new(shape: Integer, location_name: "throughput"))
|
7195
7195
|
EbsBlockDevice.add_member(:outpost_arn, Shapes::ShapeRef.new(shape: String, location_name: "outpostArn"))
|
7196
7196
|
EbsBlockDevice.add_member(:encrypted, Shapes::ShapeRef.new(shape: Boolean, location_name: "encrypted"))
|
@@ -7670,6 +7670,7 @@ module Aws::EC2
|
|
7670
7670
|
FleetLaunchTemplateOverrides.add_member(:priority, Shapes::ShapeRef.new(shape: Double, location_name: "priority"))
|
7671
7671
|
FleetLaunchTemplateOverrides.add_member(:placement, Shapes::ShapeRef.new(shape: PlacementResponse, location_name: "placement"))
|
7672
7672
|
FleetLaunchTemplateOverrides.add_member(:instance_requirements, Shapes::ShapeRef.new(shape: InstanceRequirements, location_name: "instanceRequirements"))
|
7673
|
+
FleetLaunchTemplateOverrides.add_member(:image_id, Shapes::ShapeRef.new(shape: ImageId, location_name: "imageId"))
|
7673
7674
|
FleetLaunchTemplateOverrides.struct_class = Types::FleetLaunchTemplateOverrides
|
7674
7675
|
|
7675
7676
|
FleetLaunchTemplateOverridesList.member = Shapes::ShapeRef.new(shape: FleetLaunchTemplateOverrides, location_name: "item")
|
@@ -7684,6 +7685,7 @@ module Aws::EC2
|
|
7684
7685
|
FleetLaunchTemplateOverridesRequest.add_member(:priority, Shapes::ShapeRef.new(shape: Double, location_name: "Priority"))
|
7685
7686
|
FleetLaunchTemplateOverridesRequest.add_member(:placement, Shapes::ShapeRef.new(shape: Placement, location_name: "Placement"))
|
7686
7687
|
FleetLaunchTemplateOverridesRequest.add_member(:instance_requirements, Shapes::ShapeRef.new(shape: InstanceRequirementsRequest, location_name: "InstanceRequirements"))
|
7688
|
+
FleetLaunchTemplateOverridesRequest.add_member(:image_id, Shapes::ShapeRef.new(shape: ImageId, location_name: "ImageId"))
|
7687
7689
|
FleetLaunchTemplateOverridesRequest.struct_class = Types::FleetLaunchTemplateOverridesRequest
|
7688
7690
|
|
7689
7691
|
FleetLaunchTemplateSpecification.add_member(:launch_template_id, Shapes::ShapeRef.new(shape: String, location_name: "launchTemplateId"))
|
data/lib/aws-sdk-ec2/instance.rb
CHANGED
@@ -1010,7 +1010,14 @@ module Aws::EC2
|
|
1010
1010
|
# You must disable source/destination checks if the instance runs
|
1011
1011
|
# services such as network address translation, routing, or firewalls.
|
1012
1012
|
# @option options [String] :attribute
|
1013
|
-
# The name of the attribute.
|
1013
|
+
# The name of the attribute to modify.
|
1014
|
+
#
|
1015
|
+
# You can modify the following attributes only: `disableApiTermination`
|
1016
|
+
# \| `instanceType` \| `kernel` \| `ramdisk` \|
|
1017
|
+
# `instanceInitiatedShutdownBehavior` \| `blockDeviceMapping` \|
|
1018
|
+
# `userData` \| `sourceDestCheck` \| `groupSet` \| `ebsOptimized` \|
|
1019
|
+
# `sriovNetSupport` \| `enaSupport` \| `nvmeSupport` \| `disableApiStop`
|
1020
|
+
# \| `enclaveOptions`
|
1014
1021
|
# @option options [Array<Types::InstanceBlockDeviceMappingSpecification>] :block_device_mappings
|
1015
1022
|
# Modifies the `DeleteOnTermination` attribute for volumes that are
|
1016
1023
|
# currently attached. The volume must be owned by the caller. If no
|
@@ -337,9 +337,9 @@ module Aws::EC2
|
|
337
337
|
# another network interface or instance to be reassigned to the
|
338
338
|
# specified network interface.
|
339
339
|
# @option options [Array<String>] :private_ip_addresses
|
340
|
-
#
|
341
|
-
#
|
342
|
-
#
|
340
|
+
# The IP addresses to be assigned as a secondary private IP address to
|
341
|
+
# the network interface. You can't specify this parameter when also
|
342
|
+
# specifying a number of secondary IP addresses.
|
343
343
|
#
|
344
344
|
# If you don't specify an IP address, Amazon EC2 automatically selects
|
345
345
|
# an IP address within the subnet range.
|