Skip to content

Commit 1baa7ea

Browse files
author
awstools
committed
feat(client-ec2): DescribeInstanceStatus now returns health information on EBS volumes attached to Nitro instances
1 parent 614d98e commit 1baa7ea

17 files changed

+462
-262
lines changed

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

+10-19
Original file line numberDiff line numberDiff line change
@@ -28,25 +28,16 @@ export interface CopyImageCommandInput extends CopyImageRequest {}
2828
export interface CopyImageCommandOutput extends CopyImageResult, __MetadataBearer {}
2929

3030
/**
31-
* <p>Initiates the copy of an AMI. You can copy an AMI from one Region to another, or from a
32-
* Region to an Outpost. You can't copy an AMI from an Outpost to a Region, from one Outpost
33-
* to another, or within the same Outpost. To copy an AMI to another partition, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateStoreImageTask.html">CreateStoreImageTask</a>.</p>
34-
* <p>To copy an AMI from one Region to another, specify the source Region using the
35-
* <b>SourceRegion</b> parameter, and specify the
36-
* destination Region using its endpoint. Copies of encrypted backing snapshots for
37-
* the AMI are encrypted. Copies of unencrypted backing snapshots remain unencrypted,
38-
* unless you set <code>Encrypted</code> during the copy operation. You cannot
39-
* create an unencrypted copy of an encrypted backing snapshot.</p>
40-
* <p>To copy an AMI from a Region to an Outpost, specify the source Region using the
41-
* <b>SourceRegion</b> parameter, and specify the
42-
* ARN of the destination Outpost using <b>DestinationOutpostArn</b>.
43-
* Backing snapshots copied to an Outpost are encrypted by default using the default
44-
* encryption key for the Region, or a different key that you specify in the request using
45-
* <b>KmsKeyId</b>. Outposts do not support unencrypted
46-
* snapshots. For more information, <a href="https://docs.aws.amazon.com/ebs/latest/userguide/snapshots-outposts.html#ami">
47-
* Amazon EBS local snapshots on Outposts</a> in the <i>Amazon EBS User Guide</i>.</p>
48-
* <p>For more information about the prerequisites and limits when copying an AMI, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/CopyingAMIs.html">Copy an AMI</a> in the
49-
* <i>Amazon EC2 User Guide</i>.</p>
31+
* <p>Initiates an AMI copy operation. You can copy an AMI from one Region to another, or from a
32+
* Region to an Outpost. You can't copy an AMI from an Outpost to a Region, from one Outpost to
33+
* another, or within the same Outpost. To copy an AMI to another partition, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateStoreImageTask.html">CreateStoreImageTask</a>.</p>
34+
* <p>When you copy an AMI from one Region to another, the destination Region is the
35+
* current Region.</p>
36+
* <p>When you copy an AMI from a Region to an Outpost, specify the ARN of the Outpost as
37+
* the destination. Backing snapshots copied to an Outpost are encrypted by default using
38+
* the default encryption key for the Region or the key that you specify. Outposts do not
39+
* support unencrypted snapshots.</p>
40+
* <p>For information about the prerequisites when copying an AMI, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/CopyingAMIs.html">Copy an AMI</a> in the <i>Amazon EC2 User Guide</i>.</p>
5041
* @example
5142
* Use a bare-bones client and the command you need to make an API call.
5243
* ```javascript

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ export interface DeleteSecurityGroupCommandOutput extends __MetadataBearer {}
3030
/**
3131
* <p>Deletes a security group.</p>
3232
* <p>If you attempt to delete a security group that is associated with an instance or network interface or is
33-
* referenced by another security group, the operation fails with
33+
* referenced by another security group in the same VPC, the operation fails with
3434
* <code>DependencyViolation</code>.</p>
3535
* @example
3636
* Use a bare-bones client and the command you need to make an API call.

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

+10
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,16 @@ export interface DescribeInstanceStatusCommandOutput extends DescribeInstanceSta
127127
* // ],
128128
* // Status: "ok" || "impaired" || "insufficient-data" || "not-applicable" || "initializing",
129129
* // },
130+
* // AttachedEbsStatus: { // EbsStatusSummary
131+
* // Details: [ // EbsStatusDetailsList
132+
* // { // EbsStatusDetails
133+
* // ImpairedSince: new Date("TIMESTAMP"),
134+
* // Name: "reachability",
135+
* // Status: "passed" || "failed" || "insufficient-data" || "initializing",
136+
* // },
137+
* // ],
138+
* // Status: "ok" || "impaired" || "insufficient-data" || "not-applicable" || "initializing",
139+
* // },
130140
* // },
131141
* // ],
132142
* // NextToken: "STRING_VALUE",

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ export interface DescribeStaleSecurityGroupsCommandOutput extends DescribeStaleS
2929

3030
/**
3131
* <p>Describes the stale security group rules for security groups in a specified VPC.
32-
* Rules are stale when they reference a deleted security group in the same VPC or peered VPC. Rules can also be stale if they reference a security group in a peer VPC for which the VPC peering connection has
32+
* Rules are stale when they reference a deleted security group in a peered VPC. Rules can also be stale if they reference a security group in a peer VPC for which the VPC peering connection has
3333
* been deleted.</p>
3434
* @example
3535
* Use a bare-bones client and the command you need to make an API call.

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

+9-3
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,15 @@ export interface DisableSnapshotBlockPublicAccessCommandOutput
3636
* <p>Disables the <i>block public access for snapshots</i> setting at
3737
* the account level for the specified Amazon Web Services Region. After you disable block public
3838
* access for snapshots in a Region, users can publicly share snapshots in that Region.</p>
39-
* <p>If block public access is enabled in <code>block-all-sharing</code> mode, and
40-
* you disable block public access, all snapshots that were previously publicly shared
41-
* are no longer treated as private and they become publicly accessible again.</p>
39+
* <important>
40+
* <p>Enabling block public access for snapshots in <i>block-all-sharing</i>
41+
* mode does not change the permissions for snapshots that are already publicly shared.
42+
* Instead, it prevents these snapshots from be publicly visible and publicly accessible.
43+
* Therefore, the attributes for these snapshots still indicate that they are publicly
44+
* shared, even though they are not publicly available.</p>
45+
* <p>If you disable block public access , these snapshots will become publicly available
46+
* again.</p>
47+
* </important>
4248
* <p>For more information, see <a href="https://docs.aws.amazon.com/ebs/latest/userguide/block-public-access-snapshots.html">
4349
* Block public access for snapshots</a> in the <i>Amazon EBS User Guide</i> .</p>
4450
* <p></p>

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

+9-4
Original file line numberDiff line numberDiff line change
@@ -39,10 +39,15 @@ export interface EnableSnapshotBlockPublicAccessCommandOutput
3939
* for snapshots in that Region. Snapshots that are already publicly shared are either
4040
* treated as private or they remain publicly shared, depending on the
4141
* <b>State</b> that you specify.</p>
42-
* <p>If block public access is enabled in <code>block-all-sharing</code> mode, and
43-
* you change the mode to <code>block-new-sharing</code>, all snapshots that were
44-
* previously publicly shared are no longer treated as private and they become publicly
45-
* accessible again.</p>
42+
* <important>
43+
* <p>Enabling block public access for snapshots in <i>block all sharing</i>
44+
* mode does not change the permissions for snapshots that are already publicly shared.
45+
* Instead, it prevents these snapshots from be publicly visible and publicly accessible.
46+
* Therefore, the attributes for these snapshots still indicate that they are publicly
47+
* shared, even though they are not publicly available.</p>
48+
* <p>If you later disable block public access or change the mode to <i>block new
49+
* sharing</i>, these snapshots will become publicly available again.</p>
50+
* </important>
4651
* <p>For more information, see <a href="https://docs.aws.amazon.com/ebs/latest/userguide/block-public-access-snapshots.html">
4752
* Block public access for snapshots</a> in the <i>Amazon EBS User Guide</i>.</p>
4853
* @example

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

+1-2
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
66

77
import { EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EC2Client";
88
import { commonParams } from "../endpoint/EndpointParameters";
9-
import { GetInstanceMetadataDefaultsRequest } from "../models/models_5";
10-
import { GetInstanceMetadataDefaultsResult } from "../models/models_6";
9+
import { GetInstanceMetadataDefaultsRequest, GetInstanceMetadataDefaultsResult } from "../models/models_6";
1110
import { de_GetInstanceMetadataDefaultsCommand, se_GetInstanceMetadataDefaultsCommand } from "../protocols/Aws_ec2";
1211

1312
/**

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

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,11 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
66

77
import { EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EC2Client";
88
import { commonParams } from "../endpoint/EndpointParameters";
9+
import { ModifyVpnConnectionOptionsRequest } from "../models/models_6";
910
import {
10-
ModifyVpnConnectionOptionsRequest,
1111
ModifyVpnConnectionOptionsResult,
1212
ModifyVpnConnectionOptionsResultFilterSensitiveLog,
13-
} from "../models/models_6";
13+
} from "../models/models_7";
1414
import { de_ModifyVpnConnectionOptionsCommand, se_ModifyVpnConnectionOptionsCommand } from "../protocols/Aws_ec2";
1515

1616
/**

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
66

77
import { EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EC2Client";
88
import { commonParams } from "../endpoint/EndpointParameters";
9-
import { ModifyVpnTunnelCertificateRequest } from "../models/models_6";
109
import {
10+
ModifyVpnTunnelCertificateRequest,
1111
ModifyVpnTunnelCertificateResult,
1212
ModifyVpnTunnelCertificateResultFilterSensitiveLog,
1313
} from "../models/models_7";

clients/client-ec2/src/models/models_0.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -7935,8 +7935,8 @@ export interface CopyImageRequest {
79357935
* <p>Specifies whether the destination snapshots of the copied image should be encrypted. You
79367936
* can encrypt a copy of an unencrypted snapshot, but you cannot create an unencrypted copy of an
79377937
* encrypted snapshot. The default KMS key for Amazon EBS is used unless you specify a non-default
7938-
* Key Management Service (KMS) KMS key using <code>KmsKeyId</code>. For more information, see <a href="https://docs.aws.amazon.com/ebs/latest/userguide/ebs-encryption.html">Amazon EBS encryption</a> in the
7939-
* <i>Amazon EBS User Guide</i>.</p>
7938+
* Key Management Service (KMS) KMS key using <code>KmsKeyId</code>. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/AMIEncryption.html">Use encryption with
7939+
* EBS-backed AMIs</a> in the <i>Amazon EC2 User Guide</i>.</p>
79407940
* @public
79417941
*/
79427942
Encrypted?: boolean;

clients/client-ec2/src/models/models_1.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -7968,7 +7968,7 @@ export interface RequestLaunchTemplateData {
79687968
NetworkInterfaces?: LaunchTemplateInstanceNetworkInterfaceSpecificationRequest[];
79697969

79707970
/**
7971-
* <p>The ID of the AMI in the format <code>ami-17characters00000</code>.</p>
7971+
* <p>The ID of the AMI in the format <code>ami-0ac394d6a3example</code>.</p>
79727972
* <p>Alternatively, you can specify a Systems Manager parameter, using one of the following
79737973
* formats. The Systems Manager parameter will resolve to an AMI ID on launch.</p>
79747974
* <p>To reference a public parameter:</p>

0 commit comments

Comments
 (0)