Skip to content

Commit 4e3290e

Browse files
author
awstools
committed
feat(client-ec2): This release simplifies the auto-recovery configuration process enabling customers to set the recovery behavior to disabled or default
1 parent 3c918da commit 4e3290e

39 files changed

+81294
-80485
lines changed

clients/client-ec2/src/EC2.ts

Lines changed: 121 additions & 65 deletions
Large diffs are not rendered by default.

clients/client-ec2/src/EC2Client.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1449,6 +1449,10 @@ import {
14491449
ModifyInstanceEventWindowCommandInput,
14501450
ModifyInstanceEventWindowCommandOutput,
14511451
} from "./commands/ModifyInstanceEventWindowCommand";
1452+
import {
1453+
ModifyInstanceMaintenanceOptionsCommandInput,
1454+
ModifyInstanceMaintenanceOptionsCommandOutput,
1455+
} from "./commands/ModifyInstanceMaintenanceOptionsCommand";
14521456
import {
14531457
ModifyInstanceMetadataOptionsCommandInput,
14541458
ModifyInstanceMetadataOptionsCommandOutput,
@@ -2207,6 +2211,7 @@ export type ServiceInputTypes =
22072211
| ModifyInstanceCreditSpecificationCommandInput
22082212
| ModifyInstanceEventStartTimeCommandInput
22092213
| ModifyInstanceEventWindowCommandInput
2214+
| ModifyInstanceMaintenanceOptionsCommandInput
22102215
| ModifyInstanceMetadataOptionsCommandInput
22112216
| ModifyInstancePlacementCommandInput
22122217
| ModifyIpamCommandInput
@@ -2730,6 +2735,7 @@ export type ServiceOutputTypes =
27302735
| ModifyInstanceCreditSpecificationCommandOutput
27312736
| ModifyInstanceEventStartTimeCommandOutput
27322737
| ModifyInstanceEventWindowCommandOutput
2738+
| ModifyInstanceMaintenanceOptionsCommandOutput
27332739
| ModifyInstanceMetadataOptionsCommandOutput
27342740
| ModifyInstancePlacementCommandOutput
27352741
| ModifyIpamCommandOutput

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@ export interface CreateLaunchTemplateVersionCommandOutput extends CreateLaunchTe
2626
* launch template from which to base the new version.</p>
2727
* <p>Launch template versions are numbered in the order in which they are created. You
2828
* cannot specify, change, or replace the numbering of launch template versions.</p>
29-
* <p>For
30-
* more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-launch-templates.html#manage-launch-template-versions">Managing launch template versions</a>in the <i>Amazon Elastic Compute Cloud User Guide</i>.</p>
29+
* <p>For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-launch-templates.html#manage-launch-template-versions">Managing launch template versions</a>in the
30+
* <i>Amazon Elastic Compute Cloud User Guide</i>.</p>
3131
* @example
3232
* Use a bare-bones client and the command you need to make an API call.
3333
* ```javascript

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,8 @@ import {
1212
} from "@aws-sdk/types";
1313

1414
import { EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EC2Client";
15-
import { CreateTransitGatewayConnectRequest, CreateTransitGatewayConnectResult } from "../models/models_1";
15+
import { CreateTransitGatewayConnectRequest } from "../models/models_1";
16+
import { CreateTransitGatewayConnectResult } from "../models/models_2";
1617
import {
1718
deserializeAws_ec2CreateTransitGatewayConnectCommand,
1819
serializeAws_ec2CreateTransitGatewayConnectCommand,

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,8 @@ export interface DeleteLaunchTemplateCommandInput extends DeleteLaunchTemplateRe
2222
export interface DeleteLaunchTemplateCommandOutput extends DeleteLaunchTemplateResult, __MetadataBearer {}
2323

2424
/**
25-
* <p>Deletes a launch template. Deleting a launch template deletes all of its versions.</p>
25+
* <p>Deletes a launch template. Deleting a launch template deletes all of its
26+
* versions.</p>
2627
* @example
2728
* Use a bare-bones client and the command you need to make an API call.
2829
* ```javascript

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,8 @@ import {
1212
} from "@aws-sdk/types";
1313

1414
import { EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EC2Client";
15-
import { DescribeCoipPoolsRequest, DescribeCoipPoolsResult } from "../models/models_2";
15+
import { DescribeCoipPoolsRequest } from "../models/models_2";
16+
import { DescribeCoipPoolsResult } from "../models/models_3";
1617
import {
1718
deserializeAws_ec2DescribeCoipPoolsCommand,
1819
serializeAws_ec2DescribeCoipPoolsCommand,

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

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,7 @@ import {
1212
} from "@aws-sdk/types";
1313

1414
import { EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EC2Client";
15-
import { DescribeConversionTasksRequest } from "../models/models_2";
16-
import { DescribeConversionTasksResult } from "../models/models_3";
15+
import { DescribeConversionTasksRequest, DescribeConversionTasksResult } from "../models/models_3";
1716
import {
1817
deserializeAws_ec2DescribeConversionTasksCommand,
1918
serializeAws_ec2DescribeConversionTasksCommand,

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,8 @@ export interface DescribeInstanceStatusCommandOutput extends DescribeInstanceSta
4040
* <b>Scheduled events</b> - Amazon EC2 can schedule
4141
* events (such as reboot, stop, or terminate) for your instances related to
4242
* hardware issues, software updates, or system maintenance. For more information,
43-
* see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/monitoring-instances-status-check_sched.html">Scheduled events for your instances</a> in the <i>Amazon EC2 User Guide</i>.</p>
43+
* see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/monitoring-instances-status-check_sched.html">Scheduled events for your instances</a> in the <i>Amazon EC2 User
44+
* Guide</i>.</p>
4445
* </li>
4546
* <li>
4647
* <p>

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

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -23,13 +23,14 @@ export interface DescribeInstancesCommandOutput extends DescribeInstancesResult,
2323

2424
/**
2525
* <p>Describes the specified instances or all instances.</p>
26-
* <p>If you specify instance IDs, the output includes information for only the specified instances.
27-
* If you specify filters, the output includes information for only those instances that meet the filter criteria.
28-
* If you do not specify instance IDs or filters, the output includes information for all instances,
29-
* which can affect performance. We recommend that you use pagination to ensure that the operation
30-
* returns quickly and successfully.</p>
31-
* <p>If you specify an instance ID that is not valid, an error is returned. If you
32-
* specify an instance that you do not own, it is not included in the output.</p>
26+
* <p>If you specify instance IDs, the output includes information for only the specified
27+
* instances. If you specify filters, the output includes information for only those
28+
* instances that meet the filter criteria. If you do not specify instance IDs or filters,
29+
* the output includes information for all instances, which can affect performance. We
30+
* recommend that you use pagination to ensure that the operation returns quickly and
31+
* successfully.</p>
32+
* <p>If you specify an instance ID that is not valid, an error is returned. If you specify
33+
* an instance that you do not own, it is not included in the output.</p>
3334
* <p>Recently terminated instances might appear in the returned results. This interval is
3435
* usually less than one hour.</p>
3536
* <p>If you describe instances in the rare case where an Availability Zone is experiencing

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ import {
1212
} from "@aws-sdk/types";
1313

1414
import { EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EC2Client";
15-
import { DescribeReplaceRootVolumeTasksRequest, DescribeReplaceRootVolumeTasksResult } from "../models/models_3";
15+
import { DescribeReplaceRootVolumeTasksRequest, DescribeReplaceRootVolumeTasksResult } from "../models/models_4";
1616
import {
1717
deserializeAws_ec2DescribeReplaceRootVolumeTasksCommand,
1818
serializeAws_ec2DescribeReplaceRootVolumeTasksCommand,

0 commit comments

Comments
 (0)