You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat(client-ec2): This release allows IMDS support to be set to v2-only on an existing AMI, so that all future instances launched from that AMI will use IMDSv2 by default.
Copy file name to clipboardExpand all lines: clients/client-ec2/src/EC2.ts
+30-22
Original file line number
Diff line number
Diff line change
@@ -4691,9 +4691,9 @@ export class EC2 extends EC2Client {
4691
4691
4692
4692
/**
4693
4693
* <p>Cancels the specified Spot Fleet requests.</p>
4694
-
* <p>After you cancel a Spot Fleet request, the Spot Fleet launches no new Spot Instances.
4695
-
* You must specify whether the Spot Fleet should also terminate its Spot Instances. If you
4696
-
* terminate the instances, the Spot Fleet request enters the
4694
+
* <p>After you cancel a Spot Fleet request, the Spot Fleet launches no new instances.</p>
4695
+
* <p>You must also specify whether a canceled Spot Fleet request should terminate its instances. If you
4696
+
* choose to terminate the instances, the Spot Fleet request enters the
4697
4697
* <code>cancelled_terminating</code> state. Otherwise, the Spot Fleet request enters
4698
4698
* the <code>cancelled_running</code> state and the instances continue to run until they
4699
4699
* are interrupted or you terminate them manually.</p>
@@ -8265,9 +8265,9 @@ export class EC2 extends EC2Client {
8265
8265
}
8266
8266
8267
8267
/**
8268
-
* <p>Deletes the specified EC2 Fleet.</p>
8268
+
* <p>Deletes the specified EC2 Fleets.</p>
8269
8269
* <p>After you delete an EC2 Fleet, it launches no new instances.</p>
8270
-
* <p>You must specify whether a deleted EC2 Fleet should also terminate its instances. If you
8270
+
* <p>You must also specify whether a deleted EC2 Fleet should terminate its instances. If you
8271
8271
* choose to terminate the instances, the EC2 Fleet enters the <code>deleted_terminating</code>
8272
8272
* state. Otherwise, the EC2 Fleet enters the <code>deleted_running</code> state, and the instances
8273
8273
* continue to run until they are interrupted or you terminate them manually.</p>
@@ -14318,12 +14318,12 @@ export class EC2 extends EC2Client {
14318
14318
* with a filter to look for instances where the instance lifecycle is
14319
14319
* <code>spot</code>.</p>
14320
14320
* <p>We recommend that you set <code>MaxResults</code> to a value between 5 and 1000 to
14321
-
* limit the number of results returned. This paginates the output, which makes the list
14322
-
* more manageable and returns the results faster. If the list of results exceeds your
14323
-
* <code>MaxResults</code> value, then that number of results is returned along with a
14321
+
* limit the number of items returned. This paginates the output, which makes the list
14322
+
* more manageable and returns the items faster. If the list of items exceeds your
14323
+
* <code>MaxResults</code> value, then that number of items is returned along with a
14324
14324
* <code>NextToken</code> value that can be passed to a subsequent
14325
14325
* <code>DescribeSpotInstanceRequests</code> request to retrieve the remaining
14326
-
* results.</p>
14326
+
* items.</p>
14327
14327
* <p>Spot Instance requests are deleted four hours after they are canceled and their instances are
14328
14328
* terminated.</p>
14329
14329
*/
@@ -19047,7 +19047,14 @@ export class EC2 extends EC2Client {
19047
19047
}
19048
19048
19049
19049
/**
19050
-
* <p>Import single or multi-volume disk images or EBS snapshots into an Amazon Machine Image (AMI).</p>
19050
+
* <note>
19051
+
* <p>To import your virtual machines (VMs) with a console-based experience, you can use the
19052
+
* <i>Import virtual machine images to Amazon Web Services</i> template in the <a href="https://console.aws.amazon.com/migrationhub/orchestrator">Migration Hub Orchestrator console</a>. For more
19053
+
* information, see the <a href="https://docs.aws.amazon.com/migrationhub-orchestrator/latest/userguide/import-vm-images.html">
19054
+
* <i>Migration Hub Orchestrator User Guide</i>
19055
+
* </a>.</p>
19056
+
* </note>
19057
+
* <p>Import single or multi-volume disk images or EBS snapshots into an Amazon Machine Image (AMI).</p>
19051
19058
* <important>
19052
19059
* <p>Amazon Web Services VM Import/Export strongly recommends specifying a value for either the
19053
19060
* <code>--license-type</code> or <code>--usage-operation</code> parameter when you create a new
@@ -19767,9 +19774,9 @@ export class EC2 extends EC2Client {
19767
19774
}
19768
19775
19769
19776
/**
19770
-
* <p>Modifies the specified attribute of the specified AMI. You can specify only one attribute at a time.
19771
-
* You can use the <code>Attribute</code> parameter to specify the attribute or one of the following parameters:
19772
-
* <code>Description</code> or <code>LaunchPermission</code>.</p>
19777
+
* <p>Modifies the specified attribute of the specified AMI. You can specify only one attribute at a time.</p>
19778
+
* <p>To specify the attribute, you can use the <code>Attribute</code> parameter, or one of the following parameters:
19779
+
* <code>Description</code>, <code>ImdsSupport</code>, or <code>LaunchPermission</code>.</p>
19773
19780
* <p>Images with an Amazon Web Services Marketplace product code cannot be made public.</p>
19774
19781
* <p>To enable the SriovNetSupport enhanced networking attribute of an image, enable SriovNetSupport on an instance
19775
19782
* and create an AMI from the instance.</p>
@@ -21445,15 +21452,16 @@ export class EC2 extends EC2Client {
21445
21452
* addresses when queried from instances in the peer VPC.</p>
21446
21453
* </li>
21447
21454
* </ul>
21448
-
* <p>If the peered VPCs are in the same Amazon Web Services account, you can enable DNS resolution
21449
-
* for queries from the local VPC. This ensures that queries from the local VPC resolve to private IP
21450
-
* addresses in the peer VPC. This option is not available if the peered VPCs are in different
21451
-
* different Amazon Web Services accounts or different Regions. For peered VPCs in different
21452
-
* Amazon Web Services accounts, each Amazon Web Services account owner must initiate a separate request
21453
-
* to modify the peering connection options. For inter-region peering connections, you must use the
21454
-
* Region for the requester VPC to modify the requester VPC peering options and the Region for the
21455
-
* accepter VPC to modify the accepter VPC peering options. To verify which VPCs are the accepter and
21456
-
* the requester for a VPC peering connection, use the <a>DescribeVpcPeeringConnections</a> command.</p>
21455
+
* <p>If the peered VPCs are in the same Amazon Web Services account, you can enable DNS
21456
+
* resolution for queries from the local VPC. This ensures that queries from the local VPC
21457
+
* resolve to private IP addresses in the peer VPC. This option is not available if the
21458
+
* peered VPCs are in different Amazon Web Services accounts or different Regions. For
21459
+
* peered VPCs in different Amazon Web Services accounts, each Amazon Web Services account
21460
+
* owner must initiate a separate request to modify the peering connection options. For
21461
+
* inter-region peering connections, you must use the Region for the requester VPC to
21462
+
* modify the requester VPC peering options and the Region for the accepter VPC to modify
21463
+
* the accepter VPC peering options. To verify which VPCs are the accepter and the
21464
+
* requester for a VPC peering connection, use the <a>DescribeVpcPeeringConnections</a> command.</p>
* <p>Import single or multi-volume disk images or EBS snapshots into an Amazon Machine Image (AMI).</p>
35
+
* <note>
36
+
* <p>To import your virtual machines (VMs) with a console-based experience, you can use the
37
+
* <i>Import virtual machine images to Amazon Web Services</i> template in the <a href="https://console.aws.amazon.com/migrationhub/orchestrator">Migration Hub Orchestrator console</a>. For more
38
+
* information, see the <a href="https://docs.aws.amazon.com/migrationhub-orchestrator/latest/userguide/import-vm-images.html">
39
+
* <i>Migration Hub Orchestrator User Guide</i>
40
+
* </a>.</p>
41
+
* </note>
42
+
* <p>Import single or multi-volume disk images or EBS snapshots into an Amazon Machine Image (AMI).</p>
36
43
* <important>
37
44
* <p>Amazon Web Services VM Import/Export strongly recommends specifying a value for either the
38
45
* <code>--license-type</code> or <code>--usage-operation</code> parameter when you create a new
0 commit comments