Skip to content

Commit 504891a

Browse files
author
awstools
committed
feat(client-ec2): Documentation updates for Amazon EC2.
1 parent d907155 commit 504891a

35 files changed

+294
-61
lines changed

clients/client-ec2/src/EC2.ts

Lines changed: 95 additions & 7 deletions
Large diffs are not rendered by default.

clients/client-ec2/src/commands/AllocateAddressCommand.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,9 @@ export interface AllocateAddressCommandOutput extends AllocateAddressResult, __M
3838
* 5 Elastic IP addresses for EC2-Classic per Region and 5 Elastic IP addresses for EC2-VPC per Region.</p>
3939
* <p>For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/elastic-ip-addresses-eip.html">Elastic IP Addresses</a> in the <i>Amazon Elastic Compute Cloud User Guide</i>.</p>
4040
* <p>You can allocate a carrier IP address which is a public IP address from a telecommunication carrier, to a network interface which resides in a subnet in a Wavelength Zone (for example an EC2 instance). </p>
41+
* <note>
42+
* <p>We are retiring EC2-Classic on August 15, 2022. We recommend that you migrate from EC2-Classic to a VPC. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/vpc-migrate.html">Migrate from EC2-Classic to a VPC</a> in the <i>Amazon Elastic Compute Cloud User Guide</i>.</p>
43+
* </note>
4144
* @example
4245
* Use a bare-bones client and the command you need to make an API call.
4346
* ```javascript

clients/client-ec2/src/commands/AssociateAddressCommand.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,10 @@ export interface AssociateAddressCommandOutput extends AssociateAddressResult, _
5353
* Addresses</i> section of <a href="http://aws.amazon.com/ec2/pricing/">Amazon EC2
5454
* Pricing</a>.</p>
5555
* </important>
56+
*
57+
* <note>
58+
* <p>We are retiring EC2-Classic on August 15, 2022. We recommend that you migrate from EC2-Classic to a VPC. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/vpc-migrate.html">Migrate from EC2-Classic to a VPC</a> in the <i>Amazon Elastic Compute Cloud User Guide</i>.</p>
59+
* </note>
5660
* @example
5761
* Use a bare-bones client and the command you need to make an API call.
5862
* ```javascript

clients/client-ec2/src/commands/AttachClassicLinkVpcCommand.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,10 @@ export interface AttachClassicLinkVpcCommandInput extends AttachClassicLinkVpcRe
2828
export interface AttachClassicLinkVpcCommandOutput extends AttachClassicLinkVpcResult, __MetadataBearer {}
2929

3030
/**
31-
* <p>Links an EC2-Classic instance to a ClassicLink-enabled VPC through one or more of the VPC's
31+
* <note>
32+
* <p>We are retiring EC2-Classic on August 15, 2022. We recommend that you migrate from EC2-Classic to a VPC. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/vpc-migrate.html">Migrate from EC2-Classic to a VPC</a> in the <i>Amazon Elastic Compute Cloud User Guide</i>.</p>
33+
* </note>
34+
* <p>Links an EC2-Classic instance to a ClassicLink-enabled VPC through one or more of the VPC's
3235
* security groups. You cannot link an EC2-Classic instance to more than one VPC at a time. You
3336
* can only link an instance that's in the <code>running</code> state. An instance is
3437
* automatically unlinked from a VPC when it's stopped - you can link it to the VPC again when

clients/client-ec2/src/commands/CreateDefaultVpcCommand.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,9 @@ export interface CreateDefaultVpcCommandOutput extends CreateDefaultVpcResult, _
4040
* supports EC2-Classic, see "I really want a default VPC for my existing EC2 account. Is
4141
* that possible?" in the <a href="http://aws.amazon.com/vpc/faqs/#Default_VPCs">Default VPCs
4242
* FAQ</a>.</p>
43+
* <note>
44+
* <p>We are retiring EC2-Classic on August 15, 2022. We recommend that you migrate from EC2-Classic to a VPC. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/vpc-migrate.html">Migrate from EC2-Classic to a VPC</a> in the <i>Amazon Elastic Compute Cloud User Guide</i>.</p>
45+
* </note>
4346
* @example
4447
* Use a bare-bones client and the command you need to make an API call.
4548
* ```javascript

clients/client-ec2/src/commands/DescribeAddressesCommand.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,9 @@ export interface DescribeAddressesCommandOutput extends DescribeAddressesResult,
3131
* <p>Describes the specified Elastic IP addresses or all of your Elastic IP addresses.</p>
3232
* <p>An Elastic IP address is for use in either the EC2-Classic platform or in a VPC.
3333
* For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/elastic-ip-addresses-eip.html">Elastic IP Addresses</a> in the <i>Amazon Elastic Compute Cloud User Guide</i>.</p>
34+
* <note>
35+
* <p>We are retiring EC2-Classic on August 15, 2022. We recommend that you migrate from EC2-Classic to a VPC. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/vpc-migrate.html">Migrate from EC2-Classic to a VPC</a> in the <i>Amazon Elastic Compute Cloud User Guide</i>.</p>
36+
* </note>
3437
* @example
3538
* Use a bare-bones client and the command you need to make an API call.
3639
* ```javascript

clients/client-ec2/src/commands/DescribeClassicLinkInstancesCommand.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,9 @@ export interface DescribeClassicLinkInstancesCommandOutput
3333
* <p>Describes one or more of your linked EC2-Classic instances. This request only returns
3434
* information about EC2-Classic instances linked to a VPC through ClassicLink. You cannot
3535
* use this request to return information about other instances.</p>
36+
* <note>
37+
* <p>We are retiring EC2-Classic on August 15, 2022. We recommend that you migrate from EC2-Classic to a VPC. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/vpc-migrate.html">Migrate from EC2-Classic to a VPC</a> in the <i>Amazon Elastic Compute Cloud User Guide</i>.</p>
38+
* </note>
3639
* @example
3740
* Use a bare-bones client and the command you need to make an API call.
3841
* ```javascript

clients/client-ec2/src/commands/DescribeInstancesCommand.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,9 @@ export interface DescribeInstancesCommandOutput extends DescribeInstancesResult,
4444
* not specify any instance IDs at all, the call fails. If you describe instances and
4545
* specify only instance IDs that are in an unaffected zone, the call works
4646
* normally.</p>
47+
* <note>
48+
* <p>We are retiring EC2-Classic on August 15, 2022. We recommend that you migrate from EC2-Classic to a VPC. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/vpc-migrate.html">Migrate from EC2-Classic to a VPC</a> in the <i>Amazon EC2 User Guide</i>.</p>
49+
* </note>
4750
* @example
4851
* Use a bare-bones client and the command you need to make an API call.
4952
* ```javascript

clients/client-ec2/src/commands/DescribeReservedInstancesCommand.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,9 @@ export interface DescribeReservedInstancesCommandOutput extends DescribeReserved
3131
* <p>Describes one or more of the Reserved Instances that you purchased.</p>
3232
* <p>For more information about Reserved Instances, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/concepts-on-demand-reserved-instances.html">Reserved
3333
* Instances</a> in the <i>Amazon EC2 User Guide</i>.</p>
34+
* <note>
35+
* <p>We are retiring EC2-Classic on August 15, 2022. We recommend that you migrate from EC2-Classic to a VPC. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/vpc-migrate.html">Migrate from EC2-Classic to a VPC</a> in the <i>Amazon Elastic Compute Cloud User Guide</i>.</p>
36+
* </note>
3437
* @example
3538
* Use a bare-bones client and the command you need to make an API call.
3639
* ```javascript

clients/client-ec2/src/commands/DescribeReservedInstancesModificationsCommand.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,9 @@ export interface DescribeReservedInstancesModificationsCommandOutput
3333
/**
3434
* <p>Describes the modifications made to your Reserved Instances. If no parameter is specified, information about all your Reserved Instances modification requests is returned. If a modification ID is specified, only information about the specific modification is returned.</p>
3535
* <p>For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ri-modifying.html">Modifying Reserved Instances</a> in the <i>Amazon EC2 User Guide</i>.</p>
36+
* <note>
37+
* <p>We are retiring EC2-Classic on August 15, 2022. We recommend that you migrate from EC2-Classic to a VPC. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/vpc-migrate.html">Migrate from EC2-Classic to a VPC</a> in the <i>Amazon Elastic Compute Cloud User Guide</i>.</p>
38+
* </note>
3639
* @example
3740
* Use a bare-bones client and the command you need to make an API call.
3841
* ```javascript

0 commit comments

Comments
 (0)