aws-sdk-ec2 1.376.0 → 1.378.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 552f5cf8bbe99756eb823ec8448a2a0513ea683c5865024e1bc13aa8b6e59ed7
4
- data.tar.gz: 6d581a524ad76692fa82da6069747cd1b762baec56bd67e876437a81dbedb7b5
3
+ metadata.gz: 49ce598ae374951a83089efa75251ccf2150f1fe5649cafd19206e620fd5b77a
4
+ data.tar.gz: b14891af8276b413e33cf33a511ba68b7a9f5679d27e0c8246f91c59d54a762f
5
5
  SHA512:
6
- metadata.gz: ab115979f26f6afa790e717477862ec312d50e34fc45e8c380b366b33714b3b53b0ea769f1dd234c9dee2b9ce0bfca9a0b0eec6f1579e5f639deb0d8cdd79daf
7
- data.tar.gz: 4e0975dadcf2dceba21390833350c572c49d067bf696a80271b838a5b4ce8801ddaee5d5ed4cc6409fff6dbc944701e8c4ab32db4d5e5ec2b9c2b318646bf764
6
+ metadata.gz: 3eb2daafff19788d20a6126ccb8e7e25c74d24c1f6c43c757f3ab80b83fe8eb7e1469f5e479129018c2c0517fec6d6f7de8193428199fae2a01efb4f659a29cf
7
+ data.tar.gz: 699c0e25aca1436d095fa14cd103ed8fb82eaadd3d8a6912c173f636563927fb6b67f8e36ed7641d6e2ba7f87c01326ecce99df1cd932e6f1e82da32c88c8e4b
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.378.0 (2023-05-03)
5
+ ------------------
6
+
7
+ * Feature - Adds an SDK paginator for GetNetworkInsightsAccessScopeAnalysisFindings
8
+
9
+ 1.377.0 (2023-04-27)
10
+ ------------------
11
+
12
+ * Feature - This release adds support for AMD SEV-SNP on EC2 instances.
13
+
4
14
  1.376.0 (2023-04-24)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.376.0
1
+ 1.378.0
@@ -4211,7 +4211,7 @@ module Aws::EC2
4211
4211
  # `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
4212
4212
  #
4213
4213
  # @option params [required, Array<String>] :spot_instance_request_ids
4214
- # One or more Spot Instance request IDs.
4214
+ # The IDs of the Spot Instance requests.
4215
4215
  #
4216
4216
  # @return [Types::CancelSpotInstanceRequestsResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
4217
4217
  #
@@ -8123,6 +8123,7 @@ module Aws::EC2
8123
8123
  # cpu_options: {
8124
8124
  # core_count: 1,
8125
8125
  # threads_per_core: 1,
8126
+ # amd_sev_snp: "enabled", # accepts enabled, disabled
8126
8127
  # },
8127
8128
  # capacity_reservation_specification: {
8128
8129
  # capacity_reservation_preference: "open", # accepts open, none
@@ -8506,6 +8507,7 @@ module Aws::EC2
8506
8507
  # cpu_options: {
8507
8508
  # core_count: 1,
8508
8509
  # threads_per_core: 1,
8510
+ # amd_sev_snp: "enabled", # accepts enabled, disabled
8509
8511
  # },
8510
8512
  # capacity_reservation_specification: {
8511
8513
  # capacity_reservation_preference: "open", # accepts open, none
@@ -8688,6 +8690,7 @@ module Aws::EC2
8688
8690
  # resp.launch_template_version.launch_template_data.credit_specification.cpu_credits #=> String
8689
8691
  # resp.launch_template_version.launch_template_data.cpu_options.core_count #=> Integer
8690
8692
  # resp.launch_template_version.launch_template_data.cpu_options.threads_per_core #=> Integer
8693
+ # resp.launch_template_version.launch_template_data.cpu_options.amd_sev_snp #=> String, one of "enabled", "disabled"
8691
8694
  # resp.launch_template_version.launch_template_data.capacity_reservation_specification.capacity_reservation_preference #=> String, one of "open", "none"
8692
8695
  # resp.launch_template_version.launch_template_data.capacity_reservation_specification.capacity_reservation_target.capacity_reservation_id #=> String
8693
8696
  # resp.launch_template_version.launch_template_data.capacity_reservation_specification.capacity_reservation_target.capacity_reservation_resource_group_arn #=> String
@@ -24044,8 +24047,8 @@ module Aws::EC2
24044
24047
  # @option params [Array<Types::Filter>] :filters
24045
24048
  # One or more filters. Filter names and values are case-sensitive.
24046
24049
  #
24047
- # * `auto-recovery-supported` - Indicates whether auto recovery is
24048
- # supported (`true` \| `false`).
24050
+ # * `auto-recovery-supported` - Indicates whether Amazon CloudWatch
24051
+ # action based recovery is supported (`true` \| `false`).
24049
24052
  #
24050
24053
  # * `bare-metal` - Indicates whether it is a bare metal instance type
24051
24054
  # (`true` \| `false`).
@@ -24241,6 +24244,8 @@ module Aws::EC2
24241
24244
  # resp.instance_types[0].processor_info.supported_architectures #=> Array
24242
24245
  # resp.instance_types[0].processor_info.supported_architectures[0] #=> String, one of "i386", "x86_64", "arm64", "x86_64_mac", "arm64_mac"
24243
24246
  # resp.instance_types[0].processor_info.sustained_clock_speed_in_ghz #=> Float
24247
+ # resp.instance_types[0].processor_info.supported_features #=> Array
24248
+ # resp.instance_types[0].processor_info.supported_features[0] #=> String, one of "amd-sev-snp"
24244
24249
  # resp.instance_types[0].v_cpu_info.default_v_cpus #=> Integer
24245
24250
  # resp.instance_types[0].v_cpu_info.default_cores #=> Integer
24246
24251
  # resp.instance_types[0].v_cpu_info.default_threads_per_core #=> Integer
@@ -24374,12 +24379,6 @@ module Aws::EC2
24374
24379
  #
24375
24380
  # * `dns-name` - The public DNS name of the instance.
24376
24381
  #
24377
- # * `group-id` - The ID of the security group for the instance.
24378
- # EC2-Classic only.
24379
- #
24380
- # * `group-name` - The name of the security group for the instance.
24381
- # EC2-Classic only.
24382
- #
24383
24382
  # * `hibernation-options.configured` - A Boolean that indicates whether
24384
24383
  # the instance is enabled for hibernation. A value of `true` means
24385
24384
  # that the instance is enabled for hibernation.
@@ -24859,6 +24858,7 @@ module Aws::EC2
24859
24858
  # resp.reservations[0].instances[0].virtualization_type #=> String, one of "hvm", "paravirtual"
24860
24859
  # resp.reservations[0].instances[0].cpu_options.core_count #=> Integer
24861
24860
  # resp.reservations[0].instances[0].cpu_options.threads_per_core #=> Integer
24861
+ # resp.reservations[0].instances[0].cpu_options.amd_sev_snp #=> String, one of "enabled", "disabled"
24862
24862
  # resp.reservations[0].instances[0].capacity_reservation_id #=> String
24863
24863
  # resp.reservations[0].instances[0].capacity_reservation_specification.capacity_reservation_preference #=> String, one of "open", "none"
24864
24864
  # resp.reservations[0].instances[0].capacity_reservation_specification.capacity_reservation_target.capacity_reservation_id #=> String
@@ -25912,6 +25912,7 @@ module Aws::EC2
25912
25912
  # resp.launch_template_versions[0].launch_template_data.credit_specification.cpu_credits #=> String
25913
25913
  # resp.launch_template_versions[0].launch_template_data.cpu_options.core_count #=> Integer
25914
25914
  # resp.launch_template_versions[0].launch_template_data.cpu_options.threads_per_core #=> Integer
25915
+ # resp.launch_template_versions[0].launch_template_data.cpu_options.amd_sev_snp #=> String, one of "enabled", "disabled"
25915
25916
  # resp.launch_template_versions[0].launch_template_data.capacity_reservation_specification.capacity_reservation_preference #=> String, one of "open", "none"
25916
25917
  # resp.launch_template_versions[0].launch_template_data.capacity_reservation_specification.capacity_reservation_target.capacity_reservation_id #=> String
25917
25918
  # resp.launch_template_versions[0].launch_template_data.capacity_reservation_specification.capacity_reservation_target.capacity_reservation_resource_group_arn #=> String
@@ -29384,17 +29385,12 @@ module Aws::EC2
29384
29385
  # `Availability Zone`).
29385
29386
  #
29386
29387
  # * `product-description` - The Reserved Instance product platform
29387
- # description. Instances that include `(Amazon VPC)` in the product
29388
- # platform description will only be displayed to EC2-Classic account
29389
- # holders and are for use with Amazon VPC (`Linux/UNIX` \| `Linux/UNIX
29390
- # (Amazon VPC)` \| `SUSE Linux` \| `SUSE Linux (Amazon VPC)` \| `Red
29391
- # Hat Enterprise Linux` \| `Red Hat Enterprise Linux (Amazon VPC)` \|
29392
- # `Red Hat Enterprise Linux with HA (Amazon VPC)` \| `Windows` \|
29393
- # `Windows (Amazon VPC)` \| `Windows with SQL Server Standard` \|
29394
- # `Windows with SQL Server Standard (Amazon VPC)` \| `Windows with SQL
29395
- # Server Web` \| `Windows with SQL Server Web (Amazon VPC)` \|
29396
- # `Windows with SQL Server Enterprise` \| `Windows with SQL Server
29397
- # Enterprise (Amazon VPC)`).
29388
+ # description (`Linux/UNIX` \| `Linux with SQL Server Standard` \|
29389
+ # `Linux with SQL Server Web` \| `Linux with SQL Server Enterprise` \|
29390
+ # `SUSE Linux` \| `Red Hat Enterprise Linux` \| `Red Hat Enterprise
29391
+ # Linux with HA` \| `Windows` \| `Windows with SQL Server Standard` \|
29392
+ # `Windows with SQL Server Web` \| `Windows with SQL Server
29393
+ # Enterprise`).
29398
29394
  #
29399
29395
  # * `reserved-instances-id` - The ID of the Reserved Instance.
29400
29396
  #
@@ -29621,9 +29617,6 @@ module Aws::EC2
29621
29617
  # * `modification-result.target-configuration.instance-type` - The
29622
29618
  # instance type of the new Reserved Instances.
29623
29619
  #
29624
- # * `modification-result.target-configuration.platform` - The network
29625
- # platform of the new Reserved Instances (`EC2-Classic` \| `EC2-VPC`).
29626
- #
29627
29620
  # * `reserved-instances-id` - The ID of the Reserved Instances modified.
29628
29621
  #
29629
29622
  # * `reserved-instances-modification-id` - The ID of the modification
@@ -29735,17 +29728,12 @@ module Aws::EC2
29735
29728
  # the Reserved Instance Marketplace are listed.
29736
29729
  #
29737
29730
  # * `product-description` - The Reserved Instance product platform
29738
- # description. Instances that include `(Amazon VPC)` in the product
29739
- # platform description will only be displayed to EC2-Classic account
29740
- # holders and are for use with Amazon VPC. (`Linux/UNIX` \|
29741
- # `Linux/UNIX (Amazon VPC)` \| `SUSE Linux` \| `SUSE Linux (Amazon
29742
- # VPC)` \| `Red Hat Enterprise Linux` \| `Red Hat Enterprise Linux
29743
- # (Amazon VPC)` \| `Red Hat Enterprise Linux with HA (Amazon VPC)` \|
29744
- # `Windows` \| `Windows (Amazon VPC)` \| `Windows with SQL Server
29745
- # Standard` \| `Windows with SQL Server Standard (Amazon VPC)` \|
29746
- # `Windows with SQL Server Web` \| ` Windows with SQL Server Web
29747
- # (Amazon VPC)` \| `Windows with SQL Server Enterprise` \| `Windows
29748
- # with SQL Server Enterprise (Amazon VPC)`)
29731
+ # description (`Linux/UNIX` \| `Linux with SQL Server Standard` \|
29732
+ # `Linux with SQL Server Web` \| `Linux with SQL Server Enterprise` \|
29733
+ # `SUSE Linux` \| `Red Hat Enterprise Linux` \| `Red Hat Enterprise
29734
+ # Linux with HA` \| `Windows` \| `Windows with SQL Server Standard` \|
29735
+ # `Windows with SQL Server Web` \| `Windows with SQL Server
29736
+ # Enterprise`).
29749
29737
  #
29750
29738
  # * `reserved-instances-offering-id` - The Reserved Instances offering
29751
29739
  # ID.
@@ -30137,9 +30125,6 @@ module Aws::EC2
30137
30125
  #
30138
30126
  # * `instance-type` - The instance type (for example, `c4.large`).
30139
30127
  #
30140
- # * `network-platform` - The network platform (`EC2-Classic` or
30141
- # `EC2-VPC`).
30142
- #
30143
30128
  # * `platform` - The platform (`Linux/UNIX` or `Windows`).
30144
30129
  #
30145
30130
  # @option params [required, Types::SlotDateTimeRangeRequest] :first_slot_start_time_range
@@ -30298,9 +30283,6 @@ module Aws::EC2
30298
30283
  #
30299
30284
  # * `instance-type` - The instance type (for example, `c4.large`).
30300
30285
  #
30301
- # * `network-platform` - The network platform (`EC2-Classic` or
30302
- # `EC2-VPC`).
30303
- #
30304
30286
  # * `platform` - The platform (`Linux/UNIX` or `Windows`).
30305
30287
  #
30306
30288
  # @option params [Integer] :max_results
@@ -31867,7 +31849,7 @@ module Aws::EC2
31867
31849
  # [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeInstances
31868
31850
  #
31869
31851
  # @option params [Array<Types::Filter>] :filters
31870
- # One or more filters.
31852
+ # The filters.
31871
31853
  #
31872
31854
  # * `availability-zone-group` - The Availability Zone group.
31873
31855
  #
@@ -31995,7 +31977,7 @@ module Aws::EC2
31995
31977
  # `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
31996
31978
  #
31997
31979
  # @option params [Array<String>] :spot_instance_request_ids
31998
- # One or more Spot Instance request IDs.
31980
+ # The IDs of the Spot Instance requests.
31999
31981
  #
32000
31982
  # @option params [String] :next_token
32001
31983
  # The token returned from a previous paginated request. Pagination
@@ -32199,7 +32181,7 @@ module Aws::EC2
32199
32181
  # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using-spot-instances-history.html
32200
32182
  #
32201
32183
  # @option params [Array<Types::Filter>] :filters
32202
- # One or more filters.
32184
+ # The filters.
32203
32185
  #
32204
32186
  # * `availability-zone` - The Availability Zone for which prices should
32205
32187
  # be returned.
@@ -40832,6 +40814,7 @@ module Aws::EC2
40832
40814
  # resp.launch_template_data.credit_specification.cpu_credits #=> String
40833
40815
  # resp.launch_template_data.cpu_options.core_count #=> Integer
40834
40816
  # resp.launch_template_data.cpu_options.threads_per_core #=> Integer
40817
+ # resp.launch_template_data.cpu_options.amd_sev_snp #=> String, one of "enabled", "disabled"
40835
40818
  # resp.launch_template_data.capacity_reservation_specification.capacity_reservation_preference #=> String, one of "open", "none"
40836
40819
  # resp.launch_template_data.capacity_reservation_specification.capacity_reservation_target.capacity_reservation_id #=> String
40837
40820
  # resp.launch_template_data.capacity_reservation_specification.capacity_reservation_target.capacity_reservation_resource_group_arn #=> String
@@ -41035,6 +41018,8 @@ module Aws::EC2
41035
41018
  # * {Types::GetNetworkInsightsAccessScopeAnalysisFindingsResult#analysis_findings #analysis_findings} => Array&lt;Types::AccessScopeAnalysisFinding&gt;
41036
41019
  # * {Types::GetNetworkInsightsAccessScopeAnalysisFindingsResult#next_token #next_token} => String
41037
41020
  #
41021
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
41022
+ #
41038
41023
  # @example Request syntax with placeholder values
41039
41024
  #
41040
41025
  # resp = client.get_network_insights_access_scope_analysis_findings({
@@ -44795,9 +44780,9 @@ module Aws::EC2
44795
44780
  #
44796
44781
  # <b>Note: </b>Using this action to change the security groups
44797
44782
  # associated with an elastic network interface (ENI) attached to an
44798
- # instance in a VPC can result in an error if the instance has more than
44799
- # one ENI. To change the security groups associated with an ENI attached
44800
- # to an instance that has multiple ENIs, we recommend that you use the
44783
+ # instance can result in an error if the instance has more than one ENI.
44784
+ # To change the security groups associated with an ENI attached to an
44785
+ # instance that has multiple ENIs, we recommend that you use the
44801
44786
  # ModifyNetworkInterfaceAttribute action.
44802
44787
  #
44803
44788
  # To modify some attributes, the instance must be stopped. For more
@@ -44866,10 +44851,9 @@ module Aws::EC2
44866
44851
  # option with a PV instance can make it unreachable.
44867
44852
  #
44868
44853
  # @option params [Array<String>] :groups
44869
- # \[EC2-VPC\] Replaces the security groups of the instance with the
44870
- # specified security groups. You must specify at least one security
44871
- # group, even if it's just the default security group for the VPC. You
44872
- # must specify the security group ID, not the security group name.
44854
+ # Replaces the security groups of the instance with the specified
44855
+ # security groups. You must specify the ID of at least one security
44856
+ # group, even if it's just the default security group for the VPC.
44873
44857
  #
44874
44858
  # @option params [required, String] :instance_id
44875
44859
  # The ID of the instance.
@@ -46410,17 +46394,9 @@ module Aws::EC2
46410
46394
  # For more information, see [Modifying Reserved Instances][1] in the
46411
46395
  # *Amazon EC2 User Guide*.
46412
46396
  #
46413
- # <note markdown="1"> We are retiring EC2-Classic. We recommend that you migrate from
46414
- # EC2-Classic to a VPC. For more information, see [Migrate from
46415
- # EC2-Classic to a VPC][2] in the *Amazon Elastic Compute Cloud User
46416
- # Guide*.
46417
- #
46418
- # </note>
46419
- #
46420
46397
  #
46421
46398
  #
46422
46399
  # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ri-modifying.html
46423
- # [2]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/vpc-migrate.html
46424
46400
  #
46425
46401
  # @option params [required, Array<String>] :reserved_instances_ids
46426
46402
  # The IDs of the Reserved Instances to modify.
@@ -49877,18 +49853,10 @@ module Aws::EC2
49877
49853
  # For more information, see [Reserved Instances][1] and [Reserved
49878
49854
  # Instance Marketplace][2] in the *Amazon EC2 User Guide*.
49879
49855
  #
49880
- # <note markdown="1"> We are retiring EC2-Classic. We recommend that you migrate from
49881
- # EC2-Classic to a VPC. For more information, see [Migrate from
49882
- # EC2-Classic to a VPC][3] in the *Amazon Elastic Compute Cloud User
49883
- # Guide*.
49884
- #
49885
- # </note>
49886
- #
49887
49856
  #
49888
49857
  #
49889
49858
  # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/concepts-on-demand-reserved-instances.html
49890
49859
  # [2]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ri-market-general.html
49891
- # [3]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/vpc-migrate.html
49892
49860
  #
49893
49861
  # @option params [required, Integer] :instance_count
49894
49862
  # The number of Reserved Instances to purchase.
@@ -52104,18 +52072,10 @@ module Aws::EC2
52104
52072
  # Spot Instances, see [Which is the best Spot request method to use?][2]
52105
52073
  # in the *Amazon EC2 User Guide for Linux Instances*.
52106
52074
  #
52107
- # <note markdown="1"> We are retiring EC2-Classic. We recommend that you migrate from
52108
- # EC2-Classic to a VPC. For more information, see [Migrate from
52109
- # EC2-Classic to a VPC][3] in the *Amazon EC2 User Guide for Linux
52110
- # Instances*.
52111
- #
52112
- # </note>
52113
- #
52114
52075
  #
52115
52076
  #
52116
52077
  # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/spot-requests.html
52117
52078
  # [2]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/spot-best-practices.html#which-spot-request-method-to-use
52118
- # [3]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/vpc-migrate.html
52119
52079
  #
52120
52080
  # @option params [String] :availability_zone_group
52121
52081
  # The user-specified name for a logical grouping of requests.
@@ -53496,32 +53456,24 @@ module Aws::EC2
53496
53456
  # You can specify a number of options, or leave the default options. The
53497
53457
  # following rules apply:
53498
53458
  #
53499
- # * \[EC2-VPC\] If you don't specify a subnet ID, we choose a default
53500
- # subnet from your default VPC for you. If you don't have a default
53501
- # VPC, you must specify a subnet ID in the request.
53502
- #
53503
- # * \[EC2-Classic\] If don't specify an Availability Zone, we choose
53504
- # one for you.
53459
+ # * If you don't specify a subnet ID, we choose a default subnet from
53460
+ # your default VPC for you. If you don't have a default VPC, you must
53461
+ # specify a subnet ID in the request.
53505
53462
  #
53506
- # * Some instance types must be launched into a VPC. If you do not have
53507
- # a default VPC, or if you do not specify a subnet ID, the request
53508
- # fails. For more information, see [Instance types available only in a
53509
- # VPC][1].
53510
- #
53511
- # * \[EC2-VPC\] All instances have a network interface with a primary
53512
- # private IPv4 address. If you don't specify this address, we choose
53513
- # one from the IPv4 range of your subnet.
53463
+ # * All instances have a network interface with a primary private IPv4
53464
+ # address. If you don't specify this address, we choose one from the
53465
+ # IPv4 range of your subnet.
53514
53466
  #
53515
53467
  # * Not all instance types support IPv6 addresses. For more information,
53516
- # see [Instance types][2].
53468
+ # see [Instance types][1].
53517
53469
  #
53518
53470
  # * If you don't specify a security group ID, we use the default
53519
- # security group. For more information, see [Security groups][3].
53471
+ # security group. For more information, see [Security groups][2].
53520
53472
  #
53521
53473
  # * If any of the AMIs have a product code attached for which the user
53522
53474
  # has not subscribed, the request fails.
53523
53475
  #
53524
- # You can create a [launch template][4], which is a resource that
53476
+ # You can create a [launch template][3], which is a resource that
53525
53477
  # contains the parameters to launch an instance. When you launch an
53526
53478
  # instance using RunInstances, you can specify the launch template
53527
53479
  # instead of specifying the launch parameters.
@@ -53534,33 +53486,25 @@ module Aws::EC2
53534
53486
  # You can check the state of your instance using DescribeInstances. You
53535
53487
  # can tag instances and EBS volumes during launch, after launch, or
53536
53488
  # both. For more information, see CreateTags and [Tagging your Amazon
53537
- # EC2 resources][5].
53489
+ # EC2 resources][4].
53538
53490
  #
53539
53491
  # Linux instances have access to the public key of the key pair at boot.
53540
53492
  # You can use this key to provide secure access to the instance. Amazon
53541
53493
  # EC2 public images use this feature to provide secure access without
53542
- # passwords. For more information, see [Key pairs][6].
53494
+ # passwords. For more information, see [Key pairs][5].
53543
53495
  #
53544
53496
  # For troubleshooting, see [What to do if an instance immediately
53545
- # terminates][7], and [Troubleshooting connecting to your instance][8].
53546
- #
53547
- # <note markdown="1"> We are retiring EC2-Classic. We recommend that you migrate from
53548
- # EC2-Classic to a VPC. For more information, see [Migrate from
53549
- # EC2-Classic to a VPC][9] in the *Amazon EC2 User Guide*.
53550
- #
53551
- # </note>
53497
+ # terminates][6], and [Troubleshooting connecting to your instance][7].
53552
53498
  #
53553
53499
  #
53554
53500
  #
53555
- # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using-vpc.html#vpc-only-instance-types
53556
- # [2]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-types.html
53557
- # [3]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using-network-security.html
53558
- # [4]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-launch-templates.html
53559
- # [5]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Using_Tags.html
53560
- # [6]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-key-pairs.html
53561
- # [7]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Using_InstanceStraightToTerminated.html
53562
- # [8]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/TroubleshootingInstancesConnecting.html
53563
- # [9]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/vpc-migrate.html
53501
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-types.html
53502
+ # [2]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using-network-security.html
53503
+ # [3]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-launch-templates.html
53504
+ # [4]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Using_Tags.html
53505
+ # [5]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-key-pairs.html
53506
+ # [6]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Using_InstanceStraightToTerminated.html
53507
+ # [7]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/TroubleshootingInstancesConnecting.html
53564
53508
  #
53565
53509
  # @option params [Array<Types::BlockDeviceMapping>] :block_device_mappings
53566
53510
  # The block device mapping, which defines the EBS volumes and instance
@@ -53587,22 +53531,21 @@ module Aws::EC2
53587
53531
  # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-types.html
53588
53532
  #
53589
53533
  # @option params [Integer] :ipv_6_address_count
53590
- # \[EC2-VPC\] The number of IPv6 addresses to associate with the primary
53591
- # network interface. Amazon EC2 chooses the IPv6 addresses from the
53592
- # range of your subnet. You cannot specify this option and the option to
53593
- # assign specific IPv6 addresses in the same request. You can specify
53594
- # this option if you've specified a minimum number of instances to
53595
- # launch.
53534
+ # The number of IPv6 addresses to associate with the primary network
53535
+ # interface. Amazon EC2 chooses the IPv6 addresses from the range of
53536
+ # your subnet. You cannot specify this option and the option to assign
53537
+ # specific IPv6 addresses in the same request. You can specify this
53538
+ # option if you've specified a minimum number of instances to launch.
53596
53539
  #
53597
53540
  # You cannot specify this option and the network interfaces option in
53598
53541
  # the same request.
53599
53542
  #
53600
53543
  # @option params [Array<Types::InstanceIpv6Address>] :ipv_6_addresses
53601
- # \[EC2-VPC\] The IPv6 addresses from the range of the subnet to
53602
- # associate with the primary network interface. You cannot specify this
53603
- # option and the option to assign a number of IPv6 addresses in the same
53604
- # request. You cannot specify this option if you've specified a minimum
53605
- # number of instances to launch.
53544
+ # The IPv6 addresses from the range of the subnet to associate with the
53545
+ # primary network interface. You cannot specify this option and the
53546
+ # option to assign a number of IPv6 addresses in the same request. You
53547
+ # cannot specify this option if you've specified a minimum number of
53548
+ # instances to launch.
53606
53549
  #
53607
53550
  # You cannot specify this option and the network interfaces option in
53608
53551
  # the same request.
@@ -53691,7 +53634,7 @@ module Aws::EC2
53691
53634
  # [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateSecurityGroup.html
53692
53635
  #
53693
53636
  # @option params [Array<String>] :security_groups
53694
- # \[EC2-Classic, default VPC\] The names of the security groups.
53637
+ # \[Default VPC\] The names of the security groups.
53695
53638
  #
53696
53639
  # If you specify a network interface, you must specify any security
53697
53640
  # groups as part of the network interface.
@@ -53699,7 +53642,7 @@ module Aws::EC2
53699
53642
  # Default: Amazon EC2 uses the default security group.
53700
53643
  #
53701
53644
  # @option params [String] :subnet_id
53702
- # \[EC2-VPC\] The ID of the subnet to launch the instance into.
53645
+ # The ID of the subnet to launch the instance into.
53703
53646
  #
53704
53647
  # If you specify a network interface, you must specify any subnets as
53705
53648
  # part of the network interface.
@@ -53783,8 +53726,8 @@ module Aws::EC2
53783
53726
  # as part of the network interface.
53784
53727
  #
53785
53728
  # @option params [String] :private_ip_address
53786
- # \[EC2-VPC\] The primary IPv4 address. You must specify a value from
53787
- # the IPv4 address range of the subnet.
53729
+ # The primary IPv4 address. You must specify a value from the IPv4
53730
+ # address range of the subnet.
53788
53731
  #
53789
53732
  # Only one private IP address can be designated as primary. You can't
53790
53733
  # specify this option if you've specified the option to designate a
@@ -54138,6 +54081,7 @@ module Aws::EC2
54138
54081
  # cpu_options: {
54139
54082
  # core_count: 1,
54140
54083
  # threads_per_core: 1,
54084
+ # amd_sev_snp: "enabled", # accepts enabled, disabled
54141
54085
  # },
54142
54086
  # capacity_reservation_specification: {
54143
54087
  # capacity_reservation_preference: "open", # accepts open, none
@@ -54294,6 +54238,7 @@ module Aws::EC2
54294
54238
  # resp.instances[0].virtualization_type #=> String, one of "hvm", "paravirtual"
54295
54239
  # resp.instances[0].cpu_options.core_count #=> Integer
54296
54240
  # resp.instances[0].cpu_options.threads_per_core #=> Integer
54241
+ # resp.instances[0].cpu_options.amd_sev_snp #=> String, one of "enabled", "disabled"
54297
54242
  # resp.instances[0].capacity_reservation_id #=> String
54298
54243
  # resp.instances[0].capacity_reservation_specification.capacity_reservation_preference #=> String, one of "open", "none"
54299
54244
  # resp.instances[0].capacity_reservation_specification.capacity_reservation_target.capacity_reservation_id #=> String
@@ -56836,7 +56781,7 @@ module Aws::EC2
56836
56781
  params: params,
56837
56782
  config: config)
56838
56783
  context[:gem_name] = 'aws-sdk-ec2'
56839
- context[:gem_version] = '1.376.0'
56784
+ context[:gem_version] = '1.378.0'
56840
56785
  Seahorse::Client::Request.new(handlers, context)
56841
56786
  end
56842
56787
 
@@ -92,6 +92,7 @@ module Aws::EC2
92
92
  AllowsMultipleInstanceTypes = Shapes::StringShape.new(name: 'AllowsMultipleInstanceTypes')
93
93
  AlternatePathHint = Shapes::StructureShape.new(name: 'AlternatePathHint')
94
94
  AlternatePathHintList = Shapes::ListShape.new(name: 'AlternatePathHintList')
95
+ AmdSevSnpSpecification = Shapes::StringShape.new(name: 'AmdSevSnpSpecification')
95
96
  AnalysisAclRule = Shapes::StructureShape.new(name: 'AnalysisAclRule')
96
97
  AnalysisComponent = Shapes::StructureShape.new(name: 'AnalysisComponent')
97
98
  AnalysisComponentList = Shapes::ListShape.new(name: 'AnalysisComponentList')
@@ -2644,6 +2645,8 @@ module Aws::EC2
2644
2645
  SuccessfulQueuedPurchaseDeletion = Shapes::StructureShape.new(name: 'SuccessfulQueuedPurchaseDeletion')
2645
2646
  SuccessfulQueuedPurchaseDeletionSet = Shapes::ListShape.new(name: 'SuccessfulQueuedPurchaseDeletionSet')
2646
2647
  SummaryStatus = Shapes::StringShape.new(name: 'SummaryStatus')
2648
+ SupportedAdditionalProcessorFeature = Shapes::StringShape.new(name: 'SupportedAdditionalProcessorFeature')
2649
+ SupportedAdditionalProcessorFeatureList = Shapes::ListShape.new(name: 'SupportedAdditionalProcessorFeatureList')
2647
2650
  SupportedIpAddressTypes = Shapes::ListShape.new(name: 'SupportedIpAddressTypes')
2648
2651
  Tag = Shapes::StructureShape.new(name: 'Tag')
2649
2652
  TagDescription = Shapes::StructureShape.new(name: 'TagDescription')
@@ -4231,10 +4234,12 @@ module Aws::EC2
4231
4234
 
4232
4235
  CpuOptions.add_member(:core_count, Shapes::ShapeRef.new(shape: Integer, location_name: "coreCount"))
4233
4236
  CpuOptions.add_member(:threads_per_core, Shapes::ShapeRef.new(shape: Integer, location_name: "threadsPerCore"))
4237
+ CpuOptions.add_member(:amd_sev_snp, Shapes::ShapeRef.new(shape: AmdSevSnpSpecification, location_name: "amdSevSnp"))
4234
4238
  CpuOptions.struct_class = Types::CpuOptions
4235
4239
 
4236
4240
  CpuOptionsRequest.add_member(:core_count, Shapes::ShapeRef.new(shape: Integer, location_name: "CoreCount"))
4237
4241
  CpuOptionsRequest.add_member(:threads_per_core, Shapes::ShapeRef.new(shape: Integer, location_name: "ThreadsPerCore"))
4242
+ CpuOptionsRequest.add_member(:amd_sev_snp, Shapes::ShapeRef.new(shape: AmdSevSnpSpecification, location_name: "AmdSevSnp"))
4238
4243
  CpuOptionsRequest.struct_class = Types::CpuOptionsRequest
4239
4244
 
4240
4245
  CreateCapacityReservationFleetRequest.add_member(:allocation_strategy, Shapes::ShapeRef.new(shape: String, location_name: "AllocationStrategy"))
@@ -10207,10 +10212,12 @@ module Aws::EC2
10207
10212
 
10208
10213
  LaunchTemplateCpuOptions.add_member(:core_count, Shapes::ShapeRef.new(shape: Integer, location_name: "coreCount"))
10209
10214
  LaunchTemplateCpuOptions.add_member(:threads_per_core, Shapes::ShapeRef.new(shape: Integer, location_name: "threadsPerCore"))
10215
+ LaunchTemplateCpuOptions.add_member(:amd_sev_snp, Shapes::ShapeRef.new(shape: AmdSevSnpSpecification, location_name: "amdSevSnp"))
10210
10216
  LaunchTemplateCpuOptions.struct_class = Types::LaunchTemplateCpuOptions
10211
10217
 
10212
10218
  LaunchTemplateCpuOptionsRequest.add_member(:core_count, Shapes::ShapeRef.new(shape: Integer, location_name: "CoreCount"))
10213
10219
  LaunchTemplateCpuOptionsRequest.add_member(:threads_per_core, Shapes::ShapeRef.new(shape: Integer, location_name: "ThreadsPerCore"))
10220
+ LaunchTemplateCpuOptionsRequest.add_member(:amd_sev_snp, Shapes::ShapeRef.new(shape: AmdSevSnpSpecification, location_name: "AmdSevSnp"))
10214
10221
  LaunchTemplateCpuOptionsRequest.struct_class = Types::LaunchTemplateCpuOptionsRequest
10215
10222
 
10216
10223
  LaunchTemplateEbsBlockDevice.add_member(:encrypted, Shapes::ShapeRef.new(shape: Boolean, location_name: "encrypted"))
@@ -11993,6 +12000,7 @@ module Aws::EC2
11993
12000
 
11994
12001
  ProcessorInfo.add_member(:supported_architectures, Shapes::ShapeRef.new(shape: ArchitectureTypeList, location_name: "supportedArchitectures"))
11995
12002
  ProcessorInfo.add_member(:sustained_clock_speed_in_ghz, Shapes::ShapeRef.new(shape: ProcessorSustainedClockSpeed, location_name: "sustainedClockSpeedInGhz"))
12003
+ ProcessorInfo.add_member(:supported_features, Shapes::ShapeRef.new(shape: SupportedAdditionalProcessorFeatureList, location_name: "supportedFeatures"))
11996
12004
  ProcessorInfo.struct_class = Types::ProcessorInfo
11997
12005
 
11998
12006
  ProductCode.add_member(:product_code_id, Shapes::ShapeRef.new(shape: String, location_name: "productCode"))
@@ -13639,6 +13647,8 @@ module Aws::EC2
13639
13647
 
13640
13648
  SuccessfulQueuedPurchaseDeletionSet.member = Shapes::ShapeRef.new(shape: SuccessfulQueuedPurchaseDeletion, location_name: "item")
13641
13649
 
13650
+ SupportedAdditionalProcessorFeatureList.member = Shapes::ShapeRef.new(shape: SupportedAdditionalProcessorFeature, location_name: "item")
13651
+
13642
13652
  SupportedIpAddressTypes.member = Shapes::ShapeRef.new(shape: ServiceConnectivityType, location_name: "item")
13643
13653
 
13644
13654
  Tag.add_member(:key, Shapes::ShapeRef.new(shape: String, location_name: "key"))
@@ -19076,6 +19086,12 @@ module Aws::EC2
19076
19086
  o.http_request_uri = "/"
19077
19087
  o.input = Shapes::ShapeRef.new(shape: GetNetworkInsightsAccessScopeAnalysisFindingsRequest)
19078
19088
  o.output = Shapes::ShapeRef.new(shape: GetNetworkInsightsAccessScopeAnalysisFindingsResult)
19089
+ o[:pager] = Aws::Pager.new(
19090
+ limit_key: "max_results",
19091
+ tokens: {
19092
+ "next_token" => "next_token"
19093
+ }
19094
+ )
19079
19095
  end)
19080
19096
 
19081
19097
  api.add_operation(:get_network_insights_access_scope_content, Seahorse::Model::Operation.new.tap do |o|
@@ -91,15 +91,15 @@ module Aws::EC2
91
91
  data[:platform]
92
92
  end
93
93
 
94
- # (IPv4 only) The private DNS hostname name assigned to the instance.
94
+ # \[IPv4 only\] The private DNS hostname name assigned to the instance.
95
95
  # This DNS hostname can only be used inside the Amazon EC2 network. This
96
96
  # name is not available until the instance enters the `running` state.
97
97
  #
98
- # \[EC2-VPC\] The Amazon-provided DNS server resolves Amazon-provided
99
- # private DNS hostnames if you've enabled DNS resolution and DNS
100
- # hostnames in your VPC. If you are not using the Amazon-provided DNS
101
- # server in your VPC, your custom domain name servers must resolve the
102
- # hostname as appropriate.
98
+ # The Amazon-provided DNS server resolves Amazon-provided private DNS
99
+ # hostnames if you've enabled DNS resolution and DNS hostnames in your
100
+ # VPC. If you are not using the Amazon-provided DNS server in your VPC,
101
+ # your custom domain name servers must resolve the hostname as
102
+ # appropriate.
103
103
  # @return [String]
104
104
  def private_dns_name
105
105
  data[:private_dns_name]
@@ -117,10 +117,9 @@ module Aws::EC2
117
117
  data[:product_codes]
118
118
  end
119
119
 
120
- # (IPv4 only) The public DNS name assigned to the instance. This name is
121
- # not available until the instance enters the `running` state. For
122
- # EC2-VPC, this name is only available if you've enabled DNS hostnames
123
- # for your VPC.
120
+ # \[IPv4 only\] The public DNS name assigned to the instance. This name
121
+ # is not available until the instance enters the `running` state. This
122
+ # name is only available if you've enabled DNS hostnames for your VPC.
124
123
  # @return [String]
125
124
  def public_dns_name
126
125
  data[:public_dns_name]
@@ -155,13 +154,13 @@ module Aws::EC2
155
154
  data[:state_transition_reason]
156
155
  end
157
156
 
158
- # \[EC2-VPC\] The ID of the subnet in which the instance is running.
157
+ # The ID of the subnet in which the instance is running.
159
158
  # @return [String]
160
159
  def subnet_id
161
160
  data[:subnet_id]
162
161
  end
163
162
 
164
- # \[EC2-VPC\] The ID of the VPC in which the instance is running.
163
+ # The ID of the VPC in which the instance is running.
165
164
  # @return [String]
166
165
  def vpc_id
167
166
  data[:vpc_id]
@@ -1075,10 +1074,9 @@ module Aws::EC2
1075
1074
  # This option is supported only for HVM instances. Specifying this
1076
1075
  # option with a PV instance can make it unreachable.
1077
1076
  # @option options [Array<String>] :groups
1078
- # \[EC2-VPC\] Replaces the security groups of the instance with the
1079
- # specified security groups. You must specify at least one security
1080
- # group, even if it's just the default security group for the VPC. You
1081
- # must specify the security group ID, not the security group name.
1077
+ # Replaces the security groups of the instance with the specified
1078
+ # security groups. You must specify the ID of at least one security
1079
+ # group, even if it's just the default security group for the VPC.
1082
1080
  # @option options [Types::AttributeValue] :instance_initiated_shutdown_behavior
1083
1081
  # Specifies whether an instance stops or terminates when you initiate
1084
1082
  # shutdown from the instance (using the operating system command for
@@ -280,12 +280,6 @@ module Aws::EC2
280
280
  #
281
281
  # * `dns-name` - The public DNS name of the instance.
282
282
  #
283
- # * `group-id` - The ID of the security group for the instance.
284
- # EC2-Classic only.
285
- #
286
- # * `group-name` - The name of the security group for the instance.
287
- # EC2-Classic only.
288
- #
289
283
  # * `hibernation-options.configured` - A Boolean that indicates whether
290
284
  # the instance is enabled for hibernation. A value of `true` means
291
285
  # that the instance is enabled for hibernation.