Skip to content

Commit 599725a

Browse files
authored
fix(client-ec2): update ec2 model (#1982)
1 parent ebd7b2b commit 599725a

File tree

60 files changed

+3120
-3299
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

60 files changed

+3120
-3299
lines changed

clients/client-ec2/EC2.ts

+46-161
Large diffs are not rendered by default.

clients/client-ec2/EC2Client.ts

-18
Original file line numberDiff line numberDiff line change
@@ -499,10 +499,6 @@ import {
499499
DescribeAccountAttributesCommandInput,
500500
DescribeAccountAttributesCommandOutput,
501501
} from "./commands/DescribeAccountAttributesCommand";
502-
import {
503-
DescribeAddressesAttributeCommandInput,
504-
DescribeAddressesAttributeCommandOutput,
505-
} from "./commands/DescribeAddressesAttributeCommand";
506502
import { DescribeAddressesCommandInput, DescribeAddressesCommandOutput } from "./commands/DescribeAddressesCommand";
507503
import {
508504
DescribeAggregateIdFormatCommandInput,
@@ -1117,10 +1113,6 @@ import { ImportInstanceCommandInput, ImportInstanceCommandOutput } from "./comma
11171113
import { ImportKeyPairCommandInput, ImportKeyPairCommandOutput } from "./commands/ImportKeyPairCommand";
11181114
import { ImportSnapshotCommandInput, ImportSnapshotCommandOutput } from "./commands/ImportSnapshotCommand";
11191115
import { ImportVolumeCommandInput, ImportVolumeCommandOutput } from "./commands/ImportVolumeCommand";
1120-
import {
1121-
ModifyAddressAttributeCommandInput,
1122-
ModifyAddressAttributeCommandOutput,
1123-
} from "./commands/ModifyAddressAttributeCommand";
11241116
import {
11251117
ModifyAvailabilityZoneGroupCommandInput,
11261118
ModifyAvailabilityZoneGroupCommandOutput,
@@ -1353,10 +1345,6 @@ import {
13531345
RequestSpotInstancesCommandInput,
13541346
RequestSpotInstancesCommandOutput,
13551347
} from "./commands/RequestSpotInstancesCommand";
1356-
import {
1357-
ResetAddressAttributeCommandInput,
1358-
ResetAddressAttributeCommandOutput,
1359-
} from "./commands/ResetAddressAttributeCommand";
13601348
import {
13611349
ResetEbsDefaultKmsKeyIdCommandInput,
13621350
ResetEbsDefaultKmsKeyIdCommandOutput,
@@ -1669,7 +1657,6 @@ export type ServiceInputTypes =
16691657
| DeregisterTransitGatewayMulticastGroupMembersCommandInput
16701658
| DeregisterTransitGatewayMulticastGroupSourcesCommandInput
16711659
| DescribeAccountAttributesCommandInput
1672-
| DescribeAddressesAttributeCommandInput
16731660
| DescribeAddressesCommandInput
16741661
| DescribeAggregateIdFormatCommandInput
16751662
| DescribeAvailabilityZonesCommandInput
@@ -1846,7 +1833,6 @@ export type ServiceInputTypes =
18461833
| ImportKeyPairCommandInput
18471834
| ImportSnapshotCommandInput
18481835
| ImportVolumeCommandInput
1849-
| ModifyAddressAttributeCommandInput
18501836
| ModifyAvailabilityZoneGroupCommandInput
18511837
| ModifyCapacityReservationCommandInput
18521838
| ModifyClientVpnEndpointCommandInput
@@ -1917,7 +1903,6 @@ export type ServiceInputTypes =
19171903
| ReportInstanceStatusCommandInput
19181904
| RequestSpotFleetCommandInput
19191905
| RequestSpotInstancesCommandInput
1920-
| ResetAddressAttributeCommandInput
19211906
| ResetEbsDefaultKmsKeyIdCommandInput
19221907
| ResetFpgaImageAttributeCommandInput
19231908
| ResetImageAttributeCommandInput
@@ -2111,7 +2096,6 @@ export type ServiceOutputTypes =
21112096
| DeregisterTransitGatewayMulticastGroupMembersCommandOutput
21122097
| DeregisterTransitGatewayMulticastGroupSourcesCommandOutput
21132098
| DescribeAccountAttributesCommandOutput
2114-
| DescribeAddressesAttributeCommandOutput
21152099
| DescribeAddressesCommandOutput
21162100
| DescribeAggregateIdFormatCommandOutput
21172101
| DescribeAvailabilityZonesCommandOutput
@@ -2288,7 +2272,6 @@ export type ServiceOutputTypes =
22882272
| ImportKeyPairCommandOutput
22892273
| ImportSnapshotCommandOutput
22902274
| ImportVolumeCommandOutput
2291-
| ModifyAddressAttributeCommandOutput
22922275
| ModifyAvailabilityZoneGroupCommandOutput
22932276
| ModifyCapacityReservationCommandOutput
22942277
| ModifyClientVpnEndpointCommandOutput
@@ -2359,7 +2342,6 @@ export type ServiceOutputTypes =
23592342
| ReportInstanceStatusCommandOutput
23602343
| RequestSpotFleetCommandOutput
23612344
| RequestSpotInstancesCommandOutput
2362-
| ResetAddressAttributeCommandOutput
23632345
| ResetEbsDefaultKmsKeyIdCommandOutput
23642346
| ResetFpgaImageAttributeCommandOutput
23652347
| ResetImageAttributeCommandOutput

clients/client-ec2/commands/CancelReservedInstancesListingCommand.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ export type CancelReservedInstancesListingCommandOutput = CancelReservedInstance
2424
* <p>Cancels the specified Reserved Instance listing in the Reserved Instance Marketplace.</p>
2525
* <p>For more information, see
2626
* <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ri-market-general.html">Reserved Instance Marketplace</a>
27-
* in the <i>Amazon Elastic Compute Cloud User Guide</i>.</p>
27+
* in the <i>Amazon EC2 User Guide</i>.</p>
2828
*/
2929
export class CancelReservedInstancesListingCommand extends $Command<
3030
CancelReservedInstancesListingCommandInput,

clients/client-ec2/commands/CreateCapacityReservationCommand.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ export type CreateCapacityReservationCommandOutput = CreateCapacityReservationRe
2525
* <p>Capacity Reservations enable you to reserve capacity for your Amazon EC2 instances in a specific Availability Zone for any duration. This
2626
* gives you the flexibility to selectively add capacity reservations and still get the Regional RI discounts for that usage.
2727
* By creating Capacity Reservations, you ensure that you always have access to Amazon EC2 capacity when you need it, for as long as you need it.
28-
* For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-capacity-reservations.html">Capacity Reservations</a> in the <i>Amazon Elastic Compute Cloud User Guide</i>.</p>
28+
* For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-capacity-reservations.html">Capacity Reservations</a> in the <i>Amazon EC2 User Guide</i>.</p>
2929
*
3030
* <p>Your request to create a Capacity Reservation could fail if Amazon EC2 does not have sufficient capacity to
3131
* fulfill the request. If your request fails due to Amazon EC2 capacity constraints, either try
@@ -37,7 +37,7 @@ export type CreateCapacityReservationCommandOutput = CreateCapacityReservationRe
3737
* limit for the selected instance type. If your request fails due to limit constraints,
3838
* increase your On-Demand Instance limit for the required instance type and try again. For
3939
* more information about increasing your instance limits, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-resource-limits.html">Amazon EC2 Service
40-
* Limits</a> in the <i>Amazon Elastic Compute Cloud User Guide</i>.</p>
40+
* Quotas</a> in the <i>Amazon EC2 User Guide</i>.</p>
4141
*/
4242
export class CreateCapacityReservationCommand extends $Command<
4343
CreateCapacityReservationCommandInput,

clients/client-ec2/commands/CreateFleetCommand.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ export type CreateFleetCommandOutput = CreateFleetResult & __MetadataBearer;
2121
* <p>Launches an EC2 Fleet.</p>
2222
* <p>You can create a single EC2 Fleet that includes multiple launch specifications that vary by
2323
* instance type, AMI, Availability Zone, or subnet.</p>
24-
* <p>For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-fleet.html">Launching an EC2 Fleet</a> in the <i>Amazon Elastic Compute Cloud User Guide</i>.</p>
24+
* <p>For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-fleet.html">Launching an EC2 Fleet</a> in the <i>Amazon EC2 User Guide</i>.</p>
2525
*/
2626
export class CreateFleetCommand extends $Command<
2727
CreateFleetCommandInput,

clients/client-ec2/commands/CreatePlacementGroupCommand.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ export type CreatePlacementGroupCommandOutput = CreatePlacementGroupResult & __M
3030
* partitions, where instances in one partition do not share the same hardware with
3131
* instances in another partition.</p>
3232
* <p>For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/placement-groups.html">Placement groups</a> in the
33-
* <i>Amazon Elastic Compute Cloud User Guide</i>.</p>
33+
* <i>Amazon EC2 User Guide</i>.</p>
3434
*/
3535
export class CreatePlacementGroupCommand extends $Command<
3636
CreatePlacementGroupCommandInput,

clients/client-ec2/commands/CreateReservedInstancesListingCommand.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ export type CreateReservedInstancesListingCommandOutput = CreateReservedInstance
3636
* view the details of your Standard Reserved Instance listing, you can use the
3737
* <a>DescribeReservedInstancesListings</a> operation.</p>
3838
* <p>For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ri-market-general.html">Reserved Instance Marketplace</a> in the
39-
* <i>Amazon Elastic Compute Cloud User Guide</i>.</p>
39+
* <i>Amazon EC2 User Guide</i>.</p>
4040
*/
4141
export class CreateReservedInstancesListingCommand extends $Command<
4242
CreateReservedInstancesListingCommandInput,

clients/client-ec2/commands/DeleteFleetsCommand.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ export type DeleteFleetsCommandOutput = DeleteFleetsResult & __MetadataBearer;
4444
* </ul>
4545
*
4646
* <p>For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/manage-ec2-fleet.html#delete-fleet">Deleting an EC2
47-
* Fleet</a> in the <i>Amazon Elastic Compute Cloud User Guide</i>.</p>
47+
* Fleet</a> in the <i>Amazon EC2 User Guide</i>.</p>
4848
*/
4949
export class DeleteFleetsCommand extends $Command<
5050
DeleteFleetsCommandInput,

clients/client-ec2/commands/DeleteNetworkInsightsAnalysisCommand.ts

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
import { EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EC2Client";
2-
import { DeleteNetworkInsightsAnalysisRequest } from "../models/models_1";
3-
import { DeleteNetworkInsightsAnalysisResult } from "../models/models_2";
2+
import { DeleteNetworkInsightsAnalysisRequest, DeleteNetworkInsightsAnalysisResult } from "../models/models_1";
43
import {
54
deserializeAws_ec2DeleteNetworkInsightsAnalysisCommand,
65
serializeAws_ec2DeleteNetworkInsightsAnalysisCommand,

clients/client-ec2/commands/DeleteNetworkInsightsPathCommand.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EC2Client";
2-
import { DeleteNetworkInsightsPathRequest, DeleteNetworkInsightsPathResult } from "../models/models_2";
2+
import { DeleteNetworkInsightsPathRequest, DeleteNetworkInsightsPathResult } from "../models/models_1";
33
import {
44
deserializeAws_ec2DeleteNetworkInsightsPathCommand,
55
serializeAws_ec2DeleteNetworkInsightsPathCommand,

clients/client-ec2/commands/DeletePlacementGroupCommand.ts

+1-2
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,7 @@ export type DeletePlacementGroupCommandOutput = __MetadataBearer;
2323
/**
2424
* <p>Deletes the specified placement group. You must terminate all instances in the
2525
* placement group before you can delete the placement group. For more information, see
26-
* <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/placement-groups.html">Placement groups</a> in the <i>Amazon Elastic Compute Cloud User
27-
* Guide</i>.</p>
26+
* <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/placement-groups.html">Placement groups</a> in the <i>Amazon EC2 User Guide</i>.</p>
2827
*/
2928
export class DeletePlacementGroupCommand extends $Command<
3029
DeletePlacementGroupCommandInput,

clients/client-ec2/commands/DescribeAddressesAttributeCommand.ts

-80
This file was deleted.

clients/client-ec2/commands/DescribeFleetHistoryCommand.ts

+1
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ export type DescribeFleetHistoryCommandOutput = DescribeFleetHistoryResult & __M
2525
* <p>EC2 Fleet events are delayed by up to 30 seconds before they can be described. This ensures
2626
* that you can query by the last evaluated time and not miss a recorded event. EC2 Fleet events
2727
* are available for 48 hours.</p>
28+
* <p>For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-fleet.html#monitor-ec2-fleet">Monitoring your EC2 Fleet</a> in the <i>Amazon EC2 User Guide</i>.</p>
2829
*/
2930
export class DescribeFleetHistoryCommand extends $Command<
3031
DescribeFleetHistoryCommandInput,

clients/client-ec2/commands/DescribeFleetInstancesCommand.ts

+1
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ export type DescribeFleetInstancesCommandOutput = DescribeFleetInstancesResult &
2222

2323
/**
2424
* <p>Describes the running instances for the specified EC2 Fleet.</p>
25+
* <p>For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-fleet.html#monitor-ec2-fleet">Monitoring your EC2 Fleet</a> in the <i>Amazon EC2 User Guide</i>.</p>
2526
*/
2627
export class DescribeFleetInstancesCommand extends $Command<
2728
DescribeFleetInstancesCommandInput,

clients/client-ec2/commands/DescribeFleetsCommand.ts

+1
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ export type DescribeFleetsCommandOutput = DescribeFleetsResult & __MetadataBeare
1919

2020
/**
2121
* <p>Describes the specified EC2 Fleets or all of your EC2 Fleets.</p>
22+
* <p>For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-fleet.html#monitor-ec2-fleet">Monitoring your EC2 Fleet</a> in the <i>Amazon EC2 User Guide</i>.</p>
2223
*/
2324
export class DescribeFleetsCommand extends $Command<
2425
DescribeFleetsCommandInput,

clients/client-ec2/commands/DescribeHostReservationOfferingsCommand.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@ export type DescribeHostReservationOfferingsCommandOutput = DescribeHostReservat
2626
* offerings that might not match the instance family and Region of your Dedicated Hosts.
2727
* When purchasing an offering, ensure that the instance family and Region of the offering
2828
* matches that of the Dedicated Hosts with which it is to be associated. For more
29-
* information about supported instance types, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/dedicated-hosts-overview.html">Dedicated Hosts
30-
* Overview</a> in the <i>Amazon Elastic Compute Cloud User Guide</i>. </p>
29+
* information about supported instance types, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/dedicated-hosts-overview.html">Dedicated Hosts</a>
30+
* in the <i>Amazon EC2 User Guide</i>. </p>
3131
*/
3232
export class DescribeHostReservationOfferingsCommand extends $Command<
3333
DescribeHostReservationOfferingsCommandInput,

clients/client-ec2/commands/DescribeInstanceCreditSpecificationsCommand.ts

+1-2
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,7 @@ export type DescribeInstanceCreditSpecificationsCommandOutput = DescribeInstance
4444
* IDs in the affected zone, or do not specify any instance IDs at all, the call fails. If
4545
* you specify only instance IDs in an unaffected zone, the call works normally.</p>
4646
* <p>For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/burstable-performance-instances.html">Burstable
47-
* performance instances</a> in the <i>Amazon Elastic Compute Cloud User
48-
* Guide</i>.</p>
47+
* performance instances</a> in the <i>Amazon EC2 User Guide</i>.</p>
4948
*/
5049
export class DescribeInstanceCreditSpecificationsCommand extends $Command<
5150
DescribeInstanceCreditSpecificationsCommandInput,

clients/client-ec2/commands/DescribeInstanceStatusCommand.ts

+3-6
Original file line numberDiff line numberDiff line change
@@ -31,24 +31,21 @@ export type DescribeInstanceStatusCommandOutput = DescribeInstanceStatusResult &
3131
* <b>Status checks</b> - Amazon EC2 performs status
3232
* checks on running EC2 instances to identify hardware and software issues. For
3333
* more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/monitoring-system-instance-status-check.html">Status checks for your instances</a> and <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/TroubleshootingInstances.html">Troubleshooting
34-
* instances with failed status checks</a> in the <i>Amazon Elastic
35-
* Compute Cloud User Guide</i>.</p>
34+
* instances with failed status checks</a> in the <i>Amazon EC2 User Guide</i>.</p>
3635
* </li>
3736
* <li>
3837
* <p>
3938
* <b>Scheduled events</b> - Amazon EC2 can schedule
4039
* events (such as reboot, stop, or terminate) for your instances related to
4140
* hardware issues, software updates, or system maintenance. For more information,
42-
* 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 Elastic
43-
* Compute Cloud User Guide</i>.</p>
41+
* 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>
4442
* </li>
4543
* <li>
4644
* <p>
4745
* <b>Instance state</b> - You can manage your instances
4846
* from the moment you launch them through their termination. For more information,
4947
* see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-lifecycle.html">Instance
50-
* lifecycle</a> in the <i>Amazon Elastic Compute Cloud User
51-
* Guide</i>.</p>
48+
* lifecycle</a> in the <i>Amazon EC2 User Guide</i>.</p>
5249
* </li>
5350
* </ul>
5451
*/

clients/client-ec2/commands/DescribePlacementGroupsCommand.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ export type DescribePlacementGroupsCommandOutput = DescribePlacementGroupsResult
2323
/**
2424
* <p>Describes the specified placement groups or all of your placement groups. For more
2525
* information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/placement-groups.html">Placement groups</a> in the
26-
* <i>Amazon Elastic Compute Cloud User Guide</i>.</p>
26+
* <i>Amazon EC2 User Guide</i>.</p>
2727
*/
2828
export class DescribePlacementGroupsCommand extends $Command<
2929
DescribePlacementGroupsCommandInput,

clients/client-ec2/commands/DescribeReservedInstancesCommand.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ export type DescribeReservedInstancesCommandOutput = DescribeReservedInstancesRe
2323
/**
2424
* <p>Describes one or more of the Reserved Instances that you purchased.</p>
2525
* <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
26-
* Instances</a> in the <i>Amazon Elastic Compute Cloud User Guide</i>.</p>
26+
* Instances</a> in the <i>Amazon EC2 User Guide</i>.</p>
2727
*/
2828
export class DescribeReservedInstancesCommand extends $Command<
2929
DescribeReservedInstancesCommandInput,

0 commit comments

Comments
 (0)