aws-sdk-ec2 1.449.0 → 1.451.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.
@@ -2676,14 +2676,13 @@ module Aws::EC2
2676
2676
  # @return [String]
2677
2677
  #
2678
2678
  # @!attribute [rw] certificate_s3_object_key
2679
- # The key of the Amazon S3 object ey where the certificate,
2680
- # certificate chain, and encrypted private key bundle is stored. The
2681
- # object key is formated as follows: `role_arn`/`certificate_arn`.
2679
+ # The key of the Amazon S3 object where the certificate, certificate
2680
+ # chain, and encrypted private key bundle are stored. The object key
2681
+ # is formatted as follows: `role_arn`/`certificate_arn`.
2682
2682
  # @return [String]
2683
2683
  #
2684
2684
  # @!attribute [rw] encryption_kms_key_id
2685
- # The ID of the KMS customer master key (CMK) used to encrypt the
2686
- # private key.
2685
+ # The ID of the KMS key used to encrypt the private key.
2687
2686
  # @return [String]
2688
2687
  #
2689
2688
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/AssociatedRole AWS API Documentation
@@ -4188,6 +4187,8 @@ module Aws::EC2
4188
4187
  #
4189
4188
  # @!attribute [rw] spot_fleet_request_ids
4190
4189
  # The IDs of the Spot Fleet requests.
4190
+ #
4191
+ # Constraint: You can specify up to 100 IDs in a single request.
4191
4192
  # @return [Array<String>]
4192
4193
  #
4193
4194
  # @!attribute [rw] terminate_instances
@@ -7685,7 +7686,7 @@ module Aws::EC2
7685
7686
  #
7686
7687
  #
7687
7688
  #
7688
- # [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/errors-overview.html.html
7689
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/errors-overview.html
7689
7690
  # @return [String]
7690
7691
  #
7691
7692
  # @!attribute [rw] error_message
@@ -7695,7 +7696,7 @@ module Aws::EC2
7695
7696
  #
7696
7697
  #
7697
7698
  #
7698
- # [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/errors-overview.html.html
7699
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/errors-overview.html
7699
7700
  # @return [String]
7700
7701
  #
7701
7702
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateFleetError AWS API Documentation
@@ -8933,12 +8934,10 @@ module Aws::EC2
8933
8934
  # The tags to apply to the launch template on creation. To tag the
8934
8935
  # launch template, the resource type must be `launch-template`.
8935
8936
  #
8936
- # <note markdown="1"> To specify the tags for the resources that are created when an
8937
+ # To specify the tags for the resources that are created when an
8937
8938
  # instance is launched, you must use the `TagSpecifications` parameter
8938
8939
  # in the [launch template data][1] structure.
8939
8940
  #
8940
- # </note>
8941
- #
8942
8941
  #
8943
8942
  #
8944
8943
  # [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_RequestLaunchTemplateData.html
@@ -8998,24 +8997,29 @@ module Aws::EC2
8998
8997
  # @!attribute [rw] launch_template_id
8999
8998
  # The ID of the launch template.
9000
8999
  #
9001
- # You must specify either the `LaunchTemplateId` or the
9002
- # `LaunchTemplateName`, but not both.
9000
+ # You must specify either the launch template ID or the launch
9001
+ # template name, but not both.
9003
9002
  # @return [String]
9004
9003
  #
9005
9004
  # @!attribute [rw] launch_template_name
9006
9005
  # The name of the launch template.
9007
9006
  #
9008
- # You must specify the `LaunchTemplateName` or the `LaunchTemplateId`,
9009
- # but not both.
9007
+ # You must specify either the launch template ID or the launch
9008
+ # template name, but not both.
9010
9009
  # @return [String]
9011
9010
  #
9012
9011
  # @!attribute [rw] source_version
9013
- # The version number of the launch template version on which to base
9014
- # the new version. The new version inherits the same launch parameters
9015
- # as the source version, except for parameters that you specify in
9016
- # `LaunchTemplateData`. Snapshots applied to the block device mapping
9017
- # are ignored when creating a new version unless they are explicitly
9018
- # included.
9012
+ # The version of the launch template on which to base the new version.
9013
+ # Snapshots applied to the block device mapping are ignored when
9014
+ # creating a new version unless they are explicitly included.
9015
+ #
9016
+ # If you specify this parameter, the new version inherits the launch
9017
+ # parameters from the source version. If you specify additional launch
9018
+ # parameters for the new version, they overwrite any corresponding
9019
+ # launch parameters inherited from the source version.
9020
+ #
9021
+ # If you omit this parameter, the new version contains only the launch
9022
+ # parameters that you specify for the new version.
9019
9023
  # @return [String]
9020
9024
  #
9021
9025
  # @!attribute [rw] version_description
@@ -13706,6 +13710,9 @@ module Aws::EC2
13706
13710
  #
13707
13711
  # @!attribute [rw] fleet_ids
13708
13712
  # The IDs of the EC2 Fleets.
13713
+ #
13714
+ # Constraints: In a single request, you can specify up to 25 `instant`
13715
+ # fleet IDs and up to 100 `maintain` or `request` fleet IDs.
13709
13716
  # @return [Array<String>]
13710
13717
  #
13711
13718
  # @!attribute [rw] terminate_instances
@@ -14122,15 +14129,15 @@ module Aws::EC2
14122
14129
  # @!attribute [rw] launch_template_id
14123
14130
  # The ID of the launch template.
14124
14131
  #
14125
- # You must specify either the `LaunchTemplateId` or the
14126
- # `LaunchTemplateName`, but not both.
14132
+ # You must specify either the launch template ID or the launch
14133
+ # template name, but not both.
14127
14134
  # @return [String]
14128
14135
  #
14129
14136
  # @!attribute [rw] launch_template_name
14130
14137
  # The name of the launch template.
14131
14138
  #
14132
- # You must specify either the `LaunchTemplateName` or the
14133
- # `LaunchTemplateId`, but not both.
14139
+ # You must specify either the launch template ID or the launch
14140
+ # template name, but not both.
14134
14141
  # @return [String]
14135
14142
  #
14136
14143
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteLaunchTemplateRequest AWS API Documentation
@@ -14165,15 +14172,15 @@ module Aws::EC2
14165
14172
  # @!attribute [rw] launch_template_id
14166
14173
  # The ID of the launch template.
14167
14174
  #
14168
- # You must specify either the `LaunchTemplateId` or the
14169
- # `LaunchTemplateName`, but not both.
14175
+ # You must specify either the launch template ID or the launch
14176
+ # template name, but not both.
14170
14177
  # @return [String]
14171
14178
  #
14172
14179
  # @!attribute [rw] launch_template_name
14173
14180
  # The name of the launch template.
14174
14181
  #
14175
- # You must specify either the `LaunchTemplateName` or the
14176
- # `LaunchTemplateId`, but not both.
14182
+ # You must specify either the launch template ID or the launch
14183
+ # template name, but not both.
14177
14184
  # @return [String]
14178
14185
  #
14179
14186
  # @!attribute [rw] versions
@@ -20040,16 +20047,34 @@ module Aws::EC2
20040
20047
  #
20041
20048
  # @!attribute [rw] location_type
20042
20049
  # The location type.
20050
+ #
20051
+ # * `availability-zone` - The Availability Zone. When you specify a
20052
+ # location filter, it must be an Availability Zone for the current
20053
+ # Region.
20054
+ #
20055
+ # * `availability-zone-id` - The AZ ID. When you specify a location
20056
+ # filter, it must be an AZ ID for the current Region.
20057
+ #
20058
+ # * `outpost` - The Outpost ARN. When you specify a location filter,
20059
+ # it must be an Outpost ARN for the current Region.
20060
+ #
20061
+ # * `region` - The current Region. If you specify a location filter,
20062
+ # it must match the current Region.
20043
20063
  # @return [String]
20044
20064
  #
20045
20065
  # @!attribute [rw] filters
20046
20066
  # One or more filters. Filter names and values are case-sensitive.
20047
20067
  #
20048
- # * `location` - This depends on the location type. For example, if
20049
- # the location type is `region` (default), the location is the
20050
- # Region code (for example, `us-east-2`.)
20068
+ # * `instance-type` - The instance type. For a list of possible
20069
+ # values, see [Instance][1].
20070
+ #
20071
+ # * `location` - The location. For a list of possible identifiers, see
20072
+ # [Regions and Zones][2].
20051
20073
  #
20052
- # * `instance-type` - The instance type. For example, `c5.2xlarge`.
20074
+ #
20075
+ #
20076
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_Instance.html
20077
+ # [2]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using-regions-availability-zones.html
20053
20078
  # @return [Array<Types::Filter>]
20054
20079
  #
20055
20080
  # @!attribute [rw] max_results
@@ -20081,7 +20106,7 @@ module Aws::EC2
20081
20106
  end
20082
20107
 
20083
20108
  # @!attribute [rw] instance_type_offerings
20084
- # The instance types offered.
20109
+ # The instance types offered in the location.
20085
20110
  # @return [Array<Types::InstanceTypeOffering>]
20086
20111
  #
20087
20112
  # @!attribute [rw] next_token
@@ -20106,12 +20131,7 @@ module Aws::EC2
20106
20131
  # @return [Boolean]
20107
20132
  #
20108
20133
  # @!attribute [rw] instance_types
20109
- # The instance types. For more information, see [Instance types][1] in
20110
- # the *Amazon EC2 User Guide*.
20111
- #
20112
- #
20113
- #
20114
- # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-types.html
20134
+ # The instance types.
20115
20135
  # @return [Array<String>]
20116
20136
  #
20117
20137
  # @!attribute [rw] filters
@@ -20306,12 +20326,7 @@ module Aws::EC2
20306
20326
  end
20307
20327
 
20308
20328
  # @!attribute [rw] instance_types
20309
- # The instance type. For more information, see [Instance types][1] in
20310
- # the *Amazon EC2 User Guide*.
20311
- #
20312
- #
20313
- #
20314
- # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-types.html
20329
+ # The instance type.
20315
20330
  # @return [Array<Types::InstanceTypeInfo>]
20316
20331
  #
20317
20332
  # @!attribute [rw] next_token
@@ -21382,8 +21397,8 @@ module Aws::EC2
21382
21397
  # The ID of the launch template.
21383
21398
  #
21384
21399
  # To describe one or more versions of a specified launch template, you
21385
- # must specify either the `LaunchTemplateId` or the
21386
- # `LaunchTemplateName`, but not both.
21400
+ # must specify either the launch template ID or the launch template
21401
+ # name, but not both.
21387
21402
  #
21388
21403
  # To describe all the latest or default launch template versions in
21389
21404
  # your account, you must omit this parameter.
@@ -21393,8 +21408,8 @@ module Aws::EC2
21393
21408
  # The name of the launch template.
21394
21409
  #
21395
21410
  # To describe one or more versions of a specified launch template, you
21396
- # must specify either the `LaunchTemplateName` or the
21397
- # `LaunchTemplateId`, but not both.
21411
+ # must specify either the launch template name or the launch template
21412
+ # ID, but not both.
21398
21413
  #
21399
21414
  # To describe all the latest or default launch template versions in
21400
21415
  # your account, you must omit this parameter.
@@ -23052,7 +23067,7 @@ module Aws::EC2
23052
23067
  end
23053
23068
 
23054
23069
  # @!attribute [rw] network_interfaces
23055
- # Information about one or more network interfaces.
23070
+ # Information about the network interfaces.
23056
23071
  # @return [Array<Types::NetworkInterface>]
23057
23072
  #
23058
23073
  # @!attribute [rw] next_token
@@ -25468,16 +25483,8 @@ module Aws::EC2
25468
25483
  #
25469
25484
  # * `resource-id` - The ID of the resource.
25470
25485
  #
25471
- # * `resource-type` - The resource type (`customer-gateway` \|
25472
- # `dedicated-host` \| `dhcp-options` \| `elastic-ip` \| `fleet` \|
25473
- # `fpga-image` \| `host-reservation` \| `image` \| `instance` \|
25474
- # `internet-gateway` \| `key-pair` \| `launch-template` \|
25475
- # `natgateway` \| `network-acl` \| `network-interface` \|
25476
- # `placement-group` \| `reserved-instances` \| `route-table` \|
25477
- # `security-group` \| `snapshot` \| `spot-instances-request` \|
25478
- # `subnet` \| `volume` \| `vpc` \| `vpc-endpoint` \|
25479
- # `vpc-endpoint-service` \| `vpc-peering-connection` \|
25480
- # `vpn-connection` \| `vpn-gateway`).
25486
+ # * `resource-type` - The resource type. For a list of possible
25487
+ # values, see [TagSpecification][1].
25481
25488
  #
25482
25489
  # * `tag`:&lt;key&gt; - The key/value combination of the tag. For
25483
25490
  # example, specify "tag:Owner" for the filter name and "TeamA"
@@ -25485,6 +25492,10 @@ module Aws::EC2
25485
25492
  # "Owner=TeamA".
25486
25493
  #
25487
25494
  # * `value` - The tag value.
25495
+ #
25496
+ #
25497
+ #
25498
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_TagSpecification.html
25488
25499
  # @return [Array<Types::Filter>]
25489
25500
  #
25490
25501
  # @!attribute [rw] max_results
@@ -28925,6 +28936,39 @@ module Aws::EC2
28925
28936
  include Aws::Structure
28926
28937
  end
28927
28938
 
28939
+ # @!attribute [rw] image_id
28940
+ # The ID of the AMI.
28941
+ # @return [String]
28942
+ #
28943
+ # @!attribute [rw] dry_run
28944
+ # Checks whether you have the required permissions for the action,
28945
+ # without actually making the request, and provides an error response.
28946
+ # If you have the required permissions, the error response is
28947
+ # `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
28948
+ # @return [Boolean]
28949
+ #
28950
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DisableImageDeregistrationProtectionRequest AWS API Documentation
28951
+ #
28952
+ class DisableImageDeregistrationProtectionRequest < Struct.new(
28953
+ :image_id,
28954
+ :dry_run)
28955
+ SENSITIVE = []
28956
+ include Aws::Structure
28957
+ end
28958
+
28959
+ # @!attribute [rw] return
28960
+ # Returns `true` if the request succeeds; otherwise, it returns an
28961
+ # error.
28962
+ # @return [String]
28963
+ #
28964
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DisableImageDeregistrationProtectionResult AWS API Documentation
28965
+ #
28966
+ class DisableImageDeregistrationProtectionResult < Struct.new(
28967
+ :return)
28968
+ SENSITIVE = []
28969
+ include Aws::Structure
28970
+ end
28971
+
28928
28972
  # @!attribute [rw] image_id
28929
28973
  # The ID of the AMI.
28930
28974
  # @return [String]
@@ -31202,6 +31246,45 @@ module Aws::EC2
31202
31246
  include Aws::Structure
31203
31247
  end
31204
31248
 
31249
+ # @!attribute [rw] image_id
31250
+ # The ID of the AMI.
31251
+ # @return [String]
31252
+ #
31253
+ # @!attribute [rw] with_cooldown
31254
+ # If `true`, enforces deregistration protection for 24 hours after
31255
+ # deregistration protection is disabled.
31256
+ # @return [Boolean]
31257
+ #
31258
+ # @!attribute [rw] dry_run
31259
+ # Checks whether you have the required permissions for the action,
31260
+ # without actually making the request, and provides an error response.
31261
+ # If you have the required permissions, the error response is
31262
+ # `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
31263
+ # @return [Boolean]
31264
+ #
31265
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/EnableImageDeregistrationProtectionRequest AWS API Documentation
31266
+ #
31267
+ class EnableImageDeregistrationProtectionRequest < Struct.new(
31268
+ :image_id,
31269
+ :with_cooldown,
31270
+ :dry_run)
31271
+ SENSITIVE = []
31272
+ include Aws::Structure
31273
+ end
31274
+
31275
+ # @!attribute [rw] return
31276
+ # Returns `true` if the request succeeds; otherwise, it returns an
31277
+ # error.
31278
+ # @return [String]
31279
+ #
31280
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/EnableImageDeregistrationProtectionResult AWS API Documentation
31281
+ #
31282
+ class EnableImageDeregistrationProtectionResult < Struct.new(
31283
+ :return)
31284
+ SENSITIVE = []
31285
+ include Aws::Structure
31286
+ end
31287
+
31205
31288
  # @!attribute [rw] image_id
31206
31289
  # The ID of the AMI.
31207
31290
  # @return [String]
@@ -37307,6 +37390,25 @@ module Aws::EC2
37307
37390
  # [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateImage.html
37308
37391
  # @return [String]
37309
37392
  #
37393
+ # @!attribute [rw] deregistration_protection
37394
+ # Indicates whether deregistration protection is enabled for the AMI.
37395
+ # @return [String]
37396
+ #
37397
+ # @!attribute [rw] last_launched_time
37398
+ # The date and time, in [ISO 8601 date-time format][1], when the AMI
37399
+ # was last used to launch an EC2 instance. When the AMI is used to
37400
+ # launch an instance, there is a 24-hour delay before that usage is
37401
+ # reported.
37402
+ #
37403
+ # <note markdown="1"> `lastLaunchedTime` data is available starting April 2017.
37404
+ #
37405
+ # </note>
37406
+ #
37407
+ #
37408
+ #
37409
+ # [1]: http://www.iso.org/iso/iso8601
37410
+ # @return [String]
37411
+ #
37310
37412
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/Image AWS API Documentation
37311
37413
  #
37312
37414
  class Image < Struct.new(
@@ -37340,7 +37442,9 @@ module Aws::EC2
37340
37442
  :tpm_support,
37341
37443
  :deprecation_time,
37342
37444
  :imds_support,
37343
- :source_instance_id)
37445
+ :source_instance_id,
37446
+ :deregistration_protection,
37447
+ :last_launched_time)
37344
37448
  SENSITIVE = []
37345
37449
  include Aws::Structure
37346
37450
  end
@@ -37432,6 +37536,10 @@ module Aws::EC2
37432
37536
  # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/configuring-IMDS-new-instances.html#configure-IMDS-new-instances-ami-configuration
37433
37537
  # @return [Types::AttributeValue]
37434
37538
  #
37539
+ # @!attribute [rw] deregistration_protection
37540
+ # Indicates whether deregistration protection is enabled for the AMI.
37541
+ # @return [Types::AttributeValue]
37542
+ #
37435
37543
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ImageAttribute AWS API Documentation
37436
37544
  #
37437
37545
  class ImageAttribute < Struct.new(
@@ -37447,7 +37555,8 @@ module Aws::EC2
37447
37555
  :tpm_support,
37448
37556
  :uefi_data,
37449
37557
  :last_launched_time,
37450
- :imds_support)
37558
+ :imds_support,
37559
+ :deregistration_protection)
37451
37560
  SENSITIVE = []
37452
37561
  include Aws::Structure
37453
37562
  end
@@ -45237,31 +45346,29 @@ module Aws::EC2
45237
45346
  include Aws::Structure
45238
45347
  end
45239
45348
 
45240
- # The launch template to use. You must specify either the launch
45241
- # template ID or launch template name in the request, but not both.
45349
+ # Describes the launch template to use.
45242
45350
  #
45243
45351
  # @!attribute [rw] launch_template_id
45244
45352
  # The ID of the launch template.
45245
45353
  #
45246
- # You must specify the `LaunchTemplateId` or the `LaunchTemplateName`,
45247
- # but not both.
45354
+ # You must specify either the launch template ID or the launch
45355
+ # template name, but not both.
45248
45356
  # @return [String]
45249
45357
  #
45250
45358
  # @!attribute [rw] launch_template_name
45251
45359
  # The name of the launch template.
45252
45360
  #
45253
- # You must specify the `LaunchTemplateName` or the `LaunchTemplateId`,
45254
- # but not both.
45361
+ # You must specify either the launch template ID or the launch
45362
+ # template name, but not both.
45255
45363
  # @return [String]
45256
45364
  #
45257
45365
  # @!attribute [rw] version
45258
45366
  # The launch template version number, `$Latest`, or `$Default`.
45259
45367
  #
45260
- # If the value is `$Latest`, Amazon EC2 uses the latest version of the
45261
- # launch template.
45368
+ # A value of `$Latest` uses the latest version of the launch template.
45262
45369
  #
45263
- # If the value is `$Default`, Amazon EC2 uses the default version of
45264
- # the launch template.
45370
+ # A value of `$Default` uses the default version of the launch
45371
+ # template.
45265
45372
  #
45266
45373
  # Default: The default version of the launch template.
45267
45374
  # @return [String]
@@ -47897,11 +48004,11 @@ module Aws::EC2
47897
48004
  # @return [String]
47898
48005
  #
47899
48006
  # @!attribute [rw] http_put_response_hop_limit
47900
- # The maximum number of hops that the metadata token can travel.
47901
- #
47902
- # Minimum: `1`
48007
+ # The maximum number of hops that the metadata token can travel. To
48008
+ # indicate no preference, specify `-1`.
47903
48009
  #
47904
- # Maximum: `64`
48010
+ # Possible values: Integers from `1` to `64`, and `-1` to indicate no
48011
+ # preference
47905
48012
  # @return [Integer]
47906
48013
  #
47907
48014
  # @!attribute [rw] http_endpoint
@@ -48480,15 +48587,15 @@ module Aws::EC2
48480
48587
  # @!attribute [rw] launch_template_id
48481
48588
  # The ID of the launch template.
48482
48589
  #
48483
- # You must specify either the `LaunchTemplateId` or the
48484
- # `LaunchTemplateName`, but not both.
48590
+ # You must specify either the launch template ID or the launch
48591
+ # template name, but not both.
48485
48592
  # @return [String]
48486
48593
  #
48487
48594
  # @!attribute [rw] launch_template_name
48488
48595
  # The name of the launch template.
48489
48596
  #
48490
- # You must specify either the `LaunchTemplateName` or the
48491
- # `LaunchTemplateId`, but not both.
48597
+ # You must specify either the launch template ID or the launch
48598
+ # template name, but not both.
48492
48599
  # @return [String]
48493
48600
  #
48494
48601
  # @!attribute [rw] default_version
@@ -56177,9 +56284,7 @@ module Aws::EC2
56177
56284
  # @return [Array<Types::LaunchTemplateBlockDeviceMappingRequest>]
56178
56285
  #
56179
56286
  # @!attribute [rw] network_interfaces
56180
- # One or more network interfaces. If you specify a network interface,
56181
- # you must specify any security groups and subnets as part of the
56182
- # network interface.
56287
+ # The network interfaces for the instance.
56183
56288
  # @return [Array<Types::LaunchTemplateInstanceNetworkInterfaceSpecificationRequest>]
56184
56289
  #
56185
56290
  # @!attribute [rw] image_id
@@ -56338,17 +56443,20 @@ module Aws::EC2
56338
56443
  # @return [Array<Types::LaunchTemplateElasticInferenceAccelerator>]
56339
56444
  #
56340
56445
  # @!attribute [rw] security_group_ids
56341
- # One or more security group IDs. You can create a security group
56342
- # using [CreateSecurityGroup][1].
56343
- #
56344
- #
56446
+ # The IDs of the security groups.
56345
56447
  #
56346
- # [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateSecurityGroup.html
56448
+ # If you specify a network interface, you must specify any security
56449
+ # groups as part of the network interface instead of using this
56450
+ # parameter.
56347
56451
  # @return [Array<String>]
56348
56452
  #
56349
56453
  # @!attribute [rw] security_groups
56350
- # One or more security group names. For a nondefault VPC, you must use
56454
+ # The names of the security groups. For a nondefault VPC, you must use
56351
56455
  # security group IDs instead.
56456
+ #
56457
+ # If you specify a network interface, you must specify any security
56458
+ # groups as part of the network interface instead of using this
56459
+ # parameter.
56352
56460
  # @return [Array<String>]
56353
56461
  #
56354
56462
  # @!attribute [rw] instance_market_options
@@ -58835,7 +58943,8 @@ module Aws::EC2
58835
58943
  # using [CreateSecurityGroup][1].
58836
58944
  #
58837
58945
  # If you specify a network interface, you must specify any security
58838
- # groups as part of the network interface.
58946
+ # groups as part of the network interface instead of using this
58947
+ # parameter.
58839
58948
  #
58840
58949
  #
58841
58950
  #
@@ -58846,7 +58955,8 @@ module Aws::EC2
58846
58955
  # \[Default VPC\] The names of the security groups.
58847
58956
  #
58848
58957
  # If you specify a network interface, you must specify any security
58849
- # groups as part of the network interface.
58958
+ # groups as part of the network interface instead of using this
58959
+ # parameter.
58850
58960
  #
58851
58961
  # Default: Amazon EC2 uses the default security group.
58852
58962
  # @return [Array<String>]
@@ -58855,7 +58965,7 @@ module Aws::EC2
58855
58965
  # The ID of the subnet to launch the instance into.
58856
58966
  #
58857
58967
  # If you specify a network interface, you must specify any subnets as
58858
- # part of the network interface.
58968
+ # part of the network interface instead of using this parameter.
58859
58969
  # @return [String]
58860
58970
  #
58861
58971
  # @!attribute [rw] user_data
@@ -58941,9 +59051,7 @@ module Aws::EC2
58941
59051
  # @return [String]
58942
59052
  #
58943
59053
  # @!attribute [rw] network_interfaces
58944
- # The network interfaces to associate with the instance. If you
58945
- # specify a network interface, you must specify any security groups
58946
- # and subnets as part of the network interface.
59054
+ # The network interfaces to associate with the instance.
58947
59055
  # @return [Array<Types::InstanceNetworkInterfaceSpecification>]
58948
59056
  #
58949
59057
  # @!attribute [rw] private_ip_address
@@ -58961,35 +59069,25 @@ module Aws::EC2
58961
59069
  # @return [String]
58962
59070
  #
58963
59071
  # @!attribute [rw] elastic_gpu_specification
58964
- # Deprecated.
59072
+ # An elastic GPU to associate with the instance.
58965
59073
  #
58966
- # <note markdown="1"> Amazon Elastic Graphics reached end of life on January 8, 2024. For
58967
- # workloads that require graphics acceleration, we recommend that you
58968
- # use Amazon EC2 G4ad, G4dn, or G5 instances.
59074
+ # <note markdown="1"> Amazon Elastic Graphics reached end of life on January 8, 2024.
58969
59075
  #
58970
59076
  # </note>
58971
59077
  # @return [Array<Types::ElasticGpuSpecification>]
58972
59078
  #
58973
59079
  # @!attribute [rw] elastic_inference_accelerators
58974
59080
  # An elastic inference accelerator to associate with the instance.
58975
- # Elastic inference accelerators are a resource you can attach to your
58976
- # Amazon EC2 instances to accelerate your Deep Learning (DL) inference
58977
- # workloads.
58978
- #
58979
- # You cannot specify accelerators from different generations in the
58980
- # same request.
58981
59081
  #
58982
- # <note markdown="1"> Starting April 15, 2023, Amazon Web Services will not onboard new
58983
- # customers to Amazon Elastic Inference (EI), and will help current
58984
- # customers migrate their workloads to options that offer better price
58985
- # and performance. After April 15, 2023, new customers will not be
58986
- # able to launch instances with Amazon EI accelerators in Amazon
58987
- # SageMaker, Amazon ECS, or Amazon EC2. However, customers who have
58988
- # used Amazon EI at least once during the past 30-day period are
58989
- # considered current customers and will be able to continue using the
58990
- # service.
59082
+ # <note markdown="1"> Amazon Elastic Inference (EI) is no longer available to new
59083
+ # customers. For more information, see [Amazon Elastic Inference
59084
+ # FAQs][1].
58991
59085
  #
58992
59086
  # </note>
59087
+ #
59088
+ #
59089
+ #
59090
+ # [1]: http://aws.amazon.com/machine-learning/elastic-inference/faqs/
58993
59091
  # @return [Array<Types::ElasticInferenceAccelerator>]
58994
59092
  #
58995
59093
  # @!attribute [rw] tag_specifications
@@ -59014,10 +59112,9 @@ module Aws::EC2
59014
59112
  # @return [Array<Types::TagSpecification>]
59015
59113
  #
59016
59114
  # @!attribute [rw] launch_template
59017
- # The launch template to use to launch the instances. Any parameters
59018
- # that you specify in RunInstances override the same parameters in the
59019
- # launch template. You can specify either the name or ID of a launch
59020
- # template, but not both.
59115
+ # The launch template. Any additional parameters that you specify for
59116
+ # the new instance overwrite the corresponding parameters included in
59117
+ # the launch template.
59021
59118
  # @return [Types::LaunchTemplateSpecification]
59022
59119
  #
59023
59120
  # @!attribute [rw] instance_market_options
@@ -60115,7 +60212,8 @@ module Aws::EC2
60115
60212
  # @return [Array<Types::Filter>]
60116
60213
  #
60117
60214
  # @!attribute [rw] max_results
60118
- # The maximum number of routes to return.
60215
+ # The maximum number of routes to return. If a value is not provided,
60216
+ # the default is 1000.
60119
60217
  # @return [Integer]
60120
60218
  #
60121
60219
  # @!attribute [rw] dry_run
@@ -61342,6 +61440,10 @@ module Aws::EC2
61342
61440
  #
61343
61441
  # @!attribute [rw] security_groups
61344
61442
  # The security groups.
61443
+ #
61444
+ # If you specify a network interface, you must specify any security
61445
+ # groups as part of the network interface instead of using this
61446
+ # parameter.
61345
61447
  # @return [Array<Types::GroupIdentifier>]
61346
61448
  #
61347
61449
  # @!attribute [rw] addressing_type
@@ -61392,13 +61494,10 @@ module Aws::EC2
61392
61494
  # @return [Types::SpotFleetMonitoring]
61393
61495
  #
61394
61496
  # @!attribute [rw] network_interfaces
61395
- # One or more network interfaces. If you specify a network interface,
61396
- # you must specify subnet IDs and security group IDs using the network
61397
- # interface.
61497
+ # The network interfaces.
61398
61498
  #
61399
- # <note markdown="1"> `SpotFleetLaunchSpecification` currently does not support Elastic
61400
- # Fabric Adapter (EFA). To specify an EFA, you must use
61401
- # [LaunchTemplateConfig][1].
61499
+ # <note markdown="1"> `SpotFleetLaunchSpecification` does not support Elastic Fabric
61500
+ # Adapter (EFA). You must use [LaunchTemplateConfig][1] instead.
61402
61501
  #
61403
61502
  # </note>
61404
61503
  #
@@ -61433,6 +61532,9 @@ module Aws::EC2
61433
61532
  # The IDs of the subnets in which to launch the instances. To specify
61434
61533
  # multiple subnets, separate them using commas; for example,
61435
61534
  # "subnet-1234abcdeexample1, subnet-0987cdef6example2".
61535
+ #
61536
+ # If you specify a network interface, you must specify any subnets as
61537
+ # part of the network interface instead of using this parameter.
61436
61538
  # @return [String]
61437
61539
  #
61438
61540
  # @!attribute [rw] user_data