Skip to content

Commit 89baffe

Browse files
author
awstools
committed
feat(client-ec2): This release adds a new spread placement group to EC2 Placement Groups: host level spread, which spread instances between physical hosts, available to Outpost customers only. CreatePlacementGroup and DescribePlacementGroups APIs were updated with a new parameter: SpreadLevel to support this feature.
1 parent af6b52c commit 89baffe

18 files changed

+397
-294
lines changed

clients/client-ec2/src/EC2.ts

Lines changed: 12 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -5825,8 +5825,8 @@ export class EC2 extends EC2Client {
58255825

58265826
/**
58275827
* <p>Creates a route in a route table within a VPC.</p>
5828-
* <p>You must specify one of the following targets: internet gateway or virtual private
5829-
* gateway, NAT instance, NAT gateway, VPC peering connection, network interface, egress-only internet gateway, or transit gateway.</p>
5828+
* <p>You must specify either a destination CIDR block or a prefix list ID. You must also specify
5829+
* exactly one of the resources from the parameter list.</p>
58305830
* <p>When determining how to route traffic, we use the route with the most specific match.
58315831
* For example, traffic is destined for the IPv4 address <code>192.0.2.3</code>, and the
58325832
* route table includes the following two IPv4 routes:</p>
@@ -6524,9 +6524,8 @@ export class EC2 extends EC2Client {
65246524

65256525
/**
65266526
* <p>Requests a transit gateway peering attachment between the specified transit gateway
6527-
* (requester) and a peer transit gateway (accepter). The transit gateways must be in
6528-
* different Regions. The peer transit gateway can be in your account or a different
6529-
* Amazon Web Services account.</p>
6527+
* (requester) and a peer transit gateway (accepter). The peer transit gateway can be in
6528+
* your account or a different Amazon Web Services account.</p>
65306529
* <p>After you create the peering attachment, the owner of the accepter transit gateway
65316530
* must accept the attachment request.</p>
65326531
*/
@@ -19941,6 +19940,9 @@ export class EC2 extends EC2Client {
1994119940
* <code>AuthFailure</code> error if the address is already allocated to another Amazon Web Services account.</p>
1994219941
* <p>[EC2-VPC] After you release an Elastic IP address for use in a VPC, you might be able to recover it.
1994319942
* For more information, see <a>AllocateAddress</a>.</p>
19943+
* <p>For more
19944+
* information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/elastic-ip-addresses-eip.html">Elastic IP
19945+
* Addresses</a> in the <i>Amazon Elastic Compute Cloud User Guide</i>.</p>
1994419946
*/
1994519947
public releaseAddress(
1994619948
args: ReleaseAddressCommandInput,
@@ -20147,11 +20149,11 @@ export class EC2 extends EC2Client {
2014720149
}
2014820150

2014920151
/**
20150-
* <p>Replaces an existing route within a route table in a VPC. You must provide only one of
20151-
* the following: internet gateway, virtual private gateway, NAT instance, NAT gateway, VPC
20152-
* peering connection, network interface, egress-only internet gateway, or transit
20153-
* gateway.</p>
20154-
* <p>For more information, see <a href="https://docs.aws.amazon.com/vpc/latest/userguide/VPC_Route_Tables.html">Route tables</a> in the
20152+
* <p>Replaces an existing route within a route table in a VPC.</p>
20153+
* <p>You must specify either a destination CIDR block or a prefix list ID. You must also specify
20154+
* exactly one of the resources from the parameter list, or reset the local route to its default
20155+
* target.</p>
20156+
* <p>For more information, see <a href="https://docs.aws.amazon.com/vpc/latest/userguide/VPC_Route_Tables.html">Route tables</a> in the
2015520157
* <i>Amazon Virtual Private Cloud User Guide</i>.</p>
2015620158
*/
2015720159
public replaceRoute(

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@ export interface CreateRouteCommandOutput extends CreateRouteResult, __MetadataB
2121

2222
/**
2323
* <p>Creates a route in a route table within a VPC.</p>
24-
* <p>You must specify one of the following targets: internet gateway or virtual private
25-
* gateway, NAT instance, NAT gateway, VPC peering connection, network interface, egress-only internet gateway, or transit gateway.</p>
24+
* <p>You must specify either a destination CIDR block or a prefix list ID. You must also specify
25+
* exactly one of the resources from the parameter list.</p>
2626
* <p>When determining how to route traffic, we use the route with the most specific match.
2727
* For example, traffic is destined for the IPv4 address <code>192.0.2.3</code>, and the
2828
* route table includes the following two IPv4 routes:</p>

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

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,8 @@ export interface CreateTransitGatewayPeeringAttachmentCommandOutput
3030

3131
/**
3232
* <p>Requests a transit gateway peering attachment between the specified transit gateway
33-
* (requester) and a peer transit gateway (accepter). The transit gateways must be in
34-
* different Regions. The peer transit gateway can be in your account or a different
35-
* Amazon Web Services account.</p>
33+
* (requester) and a peer transit gateway (accepter). The peer transit gateway can be in
34+
* your account or a different Amazon Web Services account.</p>
3635
* <p>After you create the peering attachment, the owner of the accepter transit gateway
3736
* must accept the attachment request.</p>
3837
* @example

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

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

1515
import { EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EC2Client";
16-
import { DescribeClientVpnRoutesRequest } from "../models/models_2";
17-
import { DescribeClientVpnRoutesResult } from "../models/models_3";
16+
import { DescribeClientVpnRoutesRequest, DescribeClientVpnRoutesResult } from "../models/models_3";
1817
import {
1918
deserializeAws_ec2DescribeClientVpnRoutesCommand,
2019
serializeAws_ec2DescribeClientVpnRoutesCommand,

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

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

1515
import { EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EC2Client";
16-
import { DescribePrincipalIdFormatRequest, DescribePrincipalIdFormatResult } from "../models/models_3";
16+
import { DescribePrincipalIdFormatRequest } from "../models/models_3";
17+
import { DescribePrincipalIdFormatResult } from "../models/models_4";
1718
import {
1819
deserializeAws_ec2DescribePrincipalIdFormatCommand,
1920
serializeAws_ec2DescribePrincipalIdFormatCommand,

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

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

1515
import { EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EC2Client";
16-
import { GetEbsDefaultKmsKeyIdRequest, GetEbsDefaultKmsKeyIdResult } from "../models/models_4";
16+
import { GetEbsDefaultKmsKeyIdRequest } from "../models/models_4";
17+
import { GetEbsDefaultKmsKeyIdResult } from "../models/models_5";
1718
import {
1819
deserializeAws_ec2GetEbsDefaultKmsKeyIdCommand,
1920
serializeAws_ec2GetEbsDefaultKmsKeyIdCommand,

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,9 @@ export interface ReleaseAddressCommandOutput extends __MetadataBearer {}
3232
* <code>AuthFailure</code> error if the address is already allocated to another Amazon Web Services account.</p>
3333
* <p>[EC2-VPC] After you release an Elastic IP address for use in a VPC, you might be able to recover it.
3434
* For more information, see <a>AllocateAddress</a>.</p>
35+
* <p>For more
36+
* information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/elastic-ip-addresses-eip.html">Elastic IP
37+
* Addresses</a> in the <i>Amazon Elastic Compute Cloud User Guide</i>.</p>
3538
* @example
3639
* Use a bare-bones client and the command you need to make an API call.
3740
* ```javascript

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

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,11 @@ export interface ReplaceRouteCommandInput extends ReplaceRouteRequest {}
2020
export interface ReplaceRouteCommandOutput extends __MetadataBearer {}
2121

2222
/**
23-
* <p>Replaces an existing route within a route table in a VPC. You must provide only one of
24-
* the following: internet gateway, virtual private gateway, NAT instance, NAT gateway, VPC
25-
* peering connection, network interface, egress-only internet gateway, or transit
26-
* gateway.</p>
27-
* <p>For more information, see <a href="https://docs.aws.amazon.com/vpc/latest/userguide/VPC_Route_Tables.html">Route tables</a> in the
23+
* <p>Replaces an existing route within a route table in a VPC.</p>
24+
* <p>You must specify either a destination CIDR block or a prefix list ID. You must also specify
25+
* exactly one of the resources from the parameter list, or reset the local route to its default
26+
* target.</p>
27+
* <p>For more information, see <a href="https://docs.aws.amazon.com/vpc/latest/userguide/VPC_Route_Tables.html">Route tables</a> in the
2828
* <i>Amazon Virtual Private Cloud User Guide</i>.</p>
2929
* @example
3030
* Use a bare-bones client and the command you need to make an API call.

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

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

1515
import { EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EC2Client";
16-
import { ReplaceTransitGatewayRouteRequest } from "../models/models_5";
17-
import { ReplaceTransitGatewayRouteResult } from "../models/models_6";
16+
import { ReplaceTransitGatewayRouteRequest, ReplaceTransitGatewayRouteResult } from "../models/models_6";
1817
import {
1918
deserializeAws_ec2ReplaceTransitGatewayRouteCommand,
2019
serializeAws_ec2ReplaceTransitGatewayRouteCommand,

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

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1400,7 +1400,7 @@ export interface PathComponent {
14001400
AdditionalDetails?: AdditionalDetail[];
14011401

14021402
/**
1403-
* <p>Describes a path component.</p>
1403+
* <p>The transit gateway.</p>
14041404
*/
14051405
TransitGateway?: AnalysisComponent;
14061406

@@ -6364,8 +6364,9 @@ export interface CreateCapacityReservationRequest {
63646364
EbsOptimized?: boolean;
63656365

63666366
/**
6367-
* <p>Indicates whether the Capacity Reservation supports instances with temporary, block-level
6368-
* storage.</p>
6367+
* <p>
6368+
* <i>Deprecated.</i>
6369+
* </p>
63696370
*/
63706371
EphemeralStorage?: boolean;
63716372

@@ -6533,8 +6534,9 @@ export interface CapacityReservation {
65336534
EbsOptimized?: boolean;
65346535

65356536
/**
6536-
* <p>Indicates whether the Capacity Reservation supports instances with temporary, block-level
6537-
* storage.</p>
6537+
* <p>
6538+
* <i>Deprecated.</i>
6539+
* </p>
65386540
*/
65396541
EphemeralStorage?: boolean;
65406542

0 commit comments

Comments
 (0)