@aws-sdk/client-ec2 3.115.0 → 3.119.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +27 -0
- package/dist-cjs/commands/DescribeClientVpnRoutesCommand.js +1 -2
- package/dist-cjs/commands/DescribePrincipalIdFormatCommand.js +2 -1
- package/dist-cjs/commands/GetEbsDefaultKmsKeyIdCommand.js +2 -1
- package/dist-cjs/commands/ReplaceTransitGatewayRouteCommand.js +1 -2
- package/dist-cjs/models/models_1.js +8 -9
- package/dist-cjs/models/models_2.js +12 -12
- package/dist-cjs/models/models_3.js +12 -12
- package/dist-cjs/models/models_4.js +12 -12
- package/dist-cjs/models/models_5.js +12 -12
- package/dist-cjs/models/models_6.js +8 -2
- package/dist-cjs/protocols/Aws_ec2.js +7 -0
- package/dist-es/commands/DescribeClientVpnRoutesCommand.js +1 -2
- package/dist-es/commands/DescribePrincipalIdFormatCommand.js +2 -1
- package/dist-es/commands/GetEbsDefaultKmsKeyIdCommand.js +2 -1
- package/dist-es/commands/ReplaceTransitGatewayRouteCommand.js +1 -2
- package/dist-es/models/models_1.js +5 -4
- package/dist-es/models/models_2.js +4 -4
- package/dist-es/models/models_3.js +4 -4
- package/dist-es/models/models_4.js +4 -4
- package/dist-es/models/models_5.js +4 -4
- package/dist-es/models/models_6.js +4 -0
- package/dist-es/protocols/Aws_ec2.js +7 -0
- package/dist-types/EC2.d.ts +12 -10
- package/dist-types/commands/CreateRouteCommand.d.ts +2 -2
- package/dist-types/commands/CreateTransitGatewayPeeringAttachmentCommand.d.ts +2 -3
- package/dist-types/commands/DescribeClientVpnRoutesCommand.d.ts +1 -2
- package/dist-types/commands/DescribePrincipalIdFormatCommand.d.ts +2 -1
- package/dist-types/commands/GetEbsDefaultKmsKeyIdCommand.d.ts +2 -1
- package/dist-types/commands/ReleaseAddressCommand.d.ts +3 -0
- package/dist-types/commands/ReplaceRouteCommand.d.ts +5 -5
- package/dist-types/commands/ReplaceTransitGatewayRouteCommand.d.ts +1 -2
- package/dist-types/models/models_0.d.ts +7 -5
- package/dist-types/models/models_1.d.ts +67 -33
- package/dist-types/models/models_2.d.ts +16 -43
- package/dist-types/models/models_3.d.ts +122 -86
- package/dist-types/models/models_4.d.ts +17 -13
- package/dist-types/models/models_5.d.ts +14 -34
- package/dist-types/models/models_6.d.ts +30 -0
- package/dist-types/ts3.4/commands/DescribeClientVpnRoutesCommand.d.ts +1 -2
- package/dist-types/ts3.4/commands/DescribePrincipalIdFormatCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/GetEbsDefaultKmsKeyIdCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/ReplaceTransitGatewayRouteCommand.d.ts +1 -2
- package/dist-types/ts3.4/models/models_1.d.ts +8 -9
- package/dist-types/ts3.4/models/models_2.d.ts +10 -17
- package/dist-types/ts3.4/models/models_3.d.ts +16 -10
- package/dist-types/ts3.4/models/models_4.d.ts +11 -9
- package/dist-types/ts3.4/models/models_5.d.ts +8 -16
- package/dist-types/ts3.4/models/models_6.d.ts +16 -0
- package/package.json +7 -7
|
@@ -825,6 +825,11 @@ export var CreateNetworkInterfacePermissionResult;
|
|
|
825
825
|
(function (CreateNetworkInterfacePermissionResult) {
|
|
826
826
|
CreateNetworkInterfacePermissionResult.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
827
827
|
})(CreateNetworkInterfacePermissionResult || (CreateNetworkInterfacePermissionResult = {}));
|
|
828
|
+
export var SpreadLevel;
|
|
829
|
+
(function (SpreadLevel) {
|
|
830
|
+
SpreadLevel["host"] = "host";
|
|
831
|
+
SpreadLevel["rack"] = "rack";
|
|
832
|
+
})(SpreadLevel || (SpreadLevel = {}));
|
|
828
833
|
export var CreatePlacementGroupRequest;
|
|
829
834
|
(function (CreatePlacementGroupRequest) {
|
|
830
835
|
CreatePlacementGroupRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -1088,7 +1093,3 @@ export var CreateTransitGatewayResult;
|
|
|
1088
1093
|
(function (CreateTransitGatewayResult) {
|
|
1089
1094
|
CreateTransitGatewayResult.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
1090
1095
|
})(CreateTransitGatewayResult || (CreateTransitGatewayResult = {}));
|
|
1091
|
-
export var CreateTransitGatewayConnectRequestOptions;
|
|
1092
|
-
(function (CreateTransitGatewayConnectRequestOptions) {
|
|
1093
|
-
CreateTransitGatewayConnectRequestOptions.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
1094
|
-
})(CreateTransitGatewayConnectRequestOptions || (CreateTransitGatewayConnectRequestOptions = {}));
|
|
@@ -1,4 +1,8 @@
|
|
|
1
1
|
import { __assign } from "tslib";
|
|
2
|
+
export var CreateTransitGatewayConnectRequestOptions;
|
|
3
|
+
(function (CreateTransitGatewayConnectRequestOptions) {
|
|
4
|
+
CreateTransitGatewayConnectRequestOptions.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
5
|
+
})(CreateTransitGatewayConnectRequestOptions || (CreateTransitGatewayConnectRequestOptions = {}));
|
|
2
6
|
export var CreateTransitGatewayConnectRequest;
|
|
3
7
|
(function (CreateTransitGatewayConnectRequest) {
|
|
4
8
|
CreateTransitGatewayConnectRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -1161,7 +1165,3 @@ export var DescribeClientVpnEndpointsResult;
|
|
|
1161
1165
|
(function (DescribeClientVpnEndpointsResult) {
|
|
1162
1166
|
DescribeClientVpnEndpointsResult.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
1163
1167
|
})(DescribeClientVpnEndpointsResult || (DescribeClientVpnEndpointsResult = {}));
|
|
1164
|
-
export var DescribeClientVpnRoutesRequest;
|
|
1165
|
-
(function (DescribeClientVpnRoutesRequest) {
|
|
1166
|
-
DescribeClientVpnRoutesRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
1167
|
-
})(DescribeClientVpnRoutesRequest || (DescribeClientVpnRoutesRequest = {}));
|
|
@@ -1,4 +1,8 @@
|
|
|
1
1
|
import { __assign } from "tslib";
|
|
2
|
+
export var DescribeClientVpnRoutesRequest;
|
|
3
|
+
(function (DescribeClientVpnRoutesRequest) {
|
|
4
|
+
DescribeClientVpnRoutesRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
5
|
+
})(DescribeClientVpnRoutesRequest || (DescribeClientVpnRoutesRequest = {}));
|
|
2
6
|
export var ClientVpnRoute;
|
|
3
7
|
(function (ClientVpnRoute) {
|
|
4
8
|
ClientVpnRoute.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -1075,7 +1079,3 @@ export var PrincipalIdFormat;
|
|
|
1075
1079
|
(function (PrincipalIdFormat) {
|
|
1076
1080
|
PrincipalIdFormat.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
1077
1081
|
})(PrincipalIdFormat || (PrincipalIdFormat = {}));
|
|
1078
|
-
export var DescribePrincipalIdFormatResult;
|
|
1079
|
-
(function (DescribePrincipalIdFormatResult) {
|
|
1080
|
-
DescribePrincipalIdFormatResult.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
1081
|
-
})(DescribePrincipalIdFormatResult || (DescribePrincipalIdFormatResult = {}));
|
|
@@ -1,4 +1,8 @@
|
|
|
1
1
|
import { __assign } from "tslib";
|
|
2
|
+
export var DescribePrincipalIdFormatResult;
|
|
3
|
+
(function (DescribePrincipalIdFormatResult) {
|
|
4
|
+
DescribePrincipalIdFormatResult.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
5
|
+
})(DescribePrincipalIdFormatResult || (DescribePrincipalIdFormatResult = {}));
|
|
2
6
|
export var DescribePublicIpv4PoolsRequest;
|
|
3
7
|
(function (DescribePublicIpv4PoolsRequest) {
|
|
4
8
|
DescribePublicIpv4PoolsRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -1155,7 +1159,3 @@ export var GetEbsDefaultKmsKeyIdRequest;
|
|
|
1155
1159
|
(function (GetEbsDefaultKmsKeyIdRequest) {
|
|
1156
1160
|
GetEbsDefaultKmsKeyIdRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
1157
1161
|
})(GetEbsDefaultKmsKeyIdRequest || (GetEbsDefaultKmsKeyIdRequest = {}));
|
|
1158
|
-
export var GetEbsDefaultKmsKeyIdResult;
|
|
1159
|
-
(function (GetEbsDefaultKmsKeyIdResult) {
|
|
1160
|
-
GetEbsDefaultKmsKeyIdResult.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
1161
|
-
})(GetEbsDefaultKmsKeyIdResult || (GetEbsDefaultKmsKeyIdResult = {}));
|
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
import { __assign } from "tslib";
|
|
2
2
|
import { SENSITIVE_STRING } from "@aws-sdk/smithy-client";
|
|
3
|
+
export var GetEbsDefaultKmsKeyIdResult;
|
|
4
|
+
(function (GetEbsDefaultKmsKeyIdResult) {
|
|
5
|
+
GetEbsDefaultKmsKeyIdResult.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
6
|
+
})(GetEbsDefaultKmsKeyIdResult || (GetEbsDefaultKmsKeyIdResult = {}));
|
|
3
7
|
export var GetEbsEncryptionByDefaultRequest;
|
|
4
8
|
(function (GetEbsEncryptionByDefaultRequest) {
|
|
5
9
|
GetEbsEncryptionByDefaultRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -1197,7 +1201,3 @@ export var ReplaceRouteTableAssociationResult;
|
|
|
1197
1201
|
(function (ReplaceRouteTableAssociationResult) {
|
|
1198
1202
|
ReplaceRouteTableAssociationResult.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
1199
1203
|
})(ReplaceRouteTableAssociationResult || (ReplaceRouteTableAssociationResult = {}));
|
|
1200
|
-
export var ReplaceTransitGatewayRouteRequest;
|
|
1201
|
-
(function (ReplaceTransitGatewayRouteRequest) {
|
|
1202
|
-
ReplaceTransitGatewayRouteRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
1203
|
-
})(ReplaceTransitGatewayRouteRequest || (ReplaceTransitGatewayRouteRequest = {}));
|
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
import { __assign } from "tslib";
|
|
2
2
|
import { SENSITIVE_STRING } from "@aws-sdk/smithy-client";
|
|
3
|
+
export var ReplaceTransitGatewayRouteRequest;
|
|
4
|
+
(function (ReplaceTransitGatewayRouteRequest) {
|
|
5
|
+
ReplaceTransitGatewayRouteRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
6
|
+
})(ReplaceTransitGatewayRouteRequest || (ReplaceTransitGatewayRouteRequest = {}));
|
|
3
7
|
export var ReplaceTransitGatewayRouteResult;
|
|
4
8
|
(function (ReplaceTransitGatewayRouteResult) {
|
|
5
9
|
ReplaceTransitGatewayRouteResult.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -31926,6 +31926,9 @@ var serializeAws_ec2CreatePlacementGroupRequest = function (input, context) {
|
|
|
31926
31926
|
entries[loc] = value;
|
|
31927
31927
|
});
|
|
31928
31928
|
}
|
|
31929
|
+
if (input.SpreadLevel !== undefined && input.SpreadLevel !== null) {
|
|
31930
|
+
entries["SpreadLevel"] = input.SpreadLevel;
|
|
31931
|
+
}
|
|
31929
31932
|
return entries;
|
|
31930
31933
|
};
|
|
31931
31934
|
var serializeAws_ec2CreatePublicIpv4PoolRequest = function (input, context) {
|
|
@@ -66443,6 +66446,7 @@ var deserializeAws_ec2PlacementGroup = function (output, context) {
|
|
|
66443
66446
|
GroupId: undefined,
|
|
66444
66447
|
Tags: undefined,
|
|
66445
66448
|
GroupArn: undefined,
|
|
66449
|
+
SpreadLevel: undefined,
|
|
66446
66450
|
};
|
|
66447
66451
|
if (output["groupName"] !== undefined) {
|
|
66448
66452
|
contents.GroupName = __expectString(output["groupName"]);
|
|
@@ -66468,6 +66472,9 @@ var deserializeAws_ec2PlacementGroup = function (output, context) {
|
|
|
66468
66472
|
if (output["groupArn"] !== undefined) {
|
|
66469
66473
|
contents.GroupArn = __expectString(output["groupArn"]);
|
|
66470
66474
|
}
|
|
66475
|
+
if (output["spreadLevel"] !== undefined) {
|
|
66476
|
+
contents.SpreadLevel = __expectString(output["spreadLevel"]);
|
|
66477
|
+
}
|
|
66471
66478
|
return contents;
|
|
66472
66479
|
};
|
|
66473
66480
|
var deserializeAws_ec2PlacementGroupInfo = function (output, context) {
|
package/dist-types/EC2.d.ts
CHANGED
|
@@ -1604,8 +1604,8 @@ export declare class EC2 extends EC2Client {
|
|
|
1604
1604
|
createRestoreImageTask(args: CreateRestoreImageTaskCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateRestoreImageTaskCommandOutput) => void): void;
|
|
1605
1605
|
/**
|
|
1606
1606
|
* <p>Creates a route in a route table within a VPC.</p>
|
|
1607
|
-
* <p>You must specify
|
|
1608
|
-
*
|
|
1607
|
+
* <p>You must specify either a destination CIDR block or a prefix list ID. You must also specify
|
|
1608
|
+
* exactly one of the resources from the parameter list.</p>
|
|
1609
1609
|
* <p>When determining how to route traffic, we use the route with the most specific match.
|
|
1610
1610
|
* For example, traffic is destined for the IPv4 address <code>192.0.2.3</code>, and the
|
|
1611
1611
|
* route table includes the following two IPv4 routes:</p>
|
|
@@ -1850,9 +1850,8 @@ export declare class EC2 extends EC2Client {
|
|
|
1850
1850
|
createTransitGatewayMulticastDomain(args: CreateTransitGatewayMulticastDomainCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateTransitGatewayMulticastDomainCommandOutput) => void): void;
|
|
1851
1851
|
/**
|
|
1852
1852
|
* <p>Requests a transit gateway peering attachment between the specified transit gateway
|
|
1853
|
-
* (requester) and a peer transit gateway (accepter). The transit
|
|
1854
|
-
*
|
|
1855
|
-
* Amazon Web Services account.</p>
|
|
1853
|
+
* (requester) and a peer transit gateway (accepter). The peer transit gateway can be in
|
|
1854
|
+
* your account or a different Amazon Web Services account.</p>
|
|
1856
1855
|
* <p>After you create the peering attachment, the owner of the accepter transit gateway
|
|
1857
1856
|
* must accept the attachment request.</p>
|
|
1858
1857
|
*/
|
|
@@ -5524,6 +5523,9 @@ export declare class EC2 extends EC2Client {
|
|
|
5524
5523
|
* <code>AuthFailure</code> error if the address is already allocated to another Amazon Web Services account.</p>
|
|
5525
5524
|
* <p>[EC2-VPC] After you release an Elastic IP address for use in a VPC, you might be able to recover it.
|
|
5526
5525
|
* For more information, see <a>AllocateAddress</a>.</p>
|
|
5526
|
+
* <p>For more
|
|
5527
|
+
* information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/elastic-ip-addresses-eip.html">Elastic IP
|
|
5528
|
+
* Addresses</a> in the <i>Amazon Elastic Compute Cloud User Guide</i>.</p>
|
|
5527
5529
|
*/
|
|
5528
5530
|
releaseAddress(args: ReleaseAddressCommandInput, options?: __HttpHandlerOptions): Promise<ReleaseAddressCommandOutput>;
|
|
5529
5531
|
releaseAddress(args: ReleaseAddressCommandInput, cb: (err: any, data?: ReleaseAddressCommandOutput) => void): void;
|
|
@@ -5577,11 +5579,11 @@ export declare class EC2 extends EC2Client {
|
|
|
5577
5579
|
replaceNetworkAclEntry(args: ReplaceNetworkAclEntryCommandInput, cb: (err: any, data?: ReplaceNetworkAclEntryCommandOutput) => void): void;
|
|
5578
5580
|
replaceNetworkAclEntry(args: ReplaceNetworkAclEntryCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ReplaceNetworkAclEntryCommandOutput) => void): void;
|
|
5579
5581
|
/**
|
|
5580
|
-
* <p>Replaces an existing route within a route table in a VPC
|
|
5581
|
-
*
|
|
5582
|
-
*
|
|
5583
|
-
*
|
|
5584
|
-
*
|
|
5582
|
+
* <p>Replaces an existing route within a route table in a VPC.</p>
|
|
5583
|
+
* <p>You must specify either a destination CIDR block or a prefix list ID. You must also specify
|
|
5584
|
+
* exactly one of the resources from the parameter list, or reset the local route to its default
|
|
5585
|
+
* target.</p>
|
|
5586
|
+
* <p>For more information, see <a href="https://docs.aws.amazon.com/vpc/latest/userguide/VPC_Route_Tables.html">Route tables</a> in the
|
|
5585
5587
|
* <i>Amazon Virtual Private Cloud User Guide</i>.</p>
|
|
5586
5588
|
*/
|
|
5587
5589
|
replaceRoute(args: ReplaceRouteCommandInput, options?: __HttpHandlerOptions): Promise<ReplaceRouteCommandOutput>;
|
|
@@ -8,8 +8,8 @@ export interface CreateRouteCommandOutput extends CreateRouteResult, __MetadataB
|
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
10
|
* <p>Creates a route in a route table within a VPC.</p>
|
|
11
|
-
* <p>You must specify
|
|
12
|
-
*
|
|
11
|
+
* <p>You must specify either a destination CIDR block or a prefix list ID. You must also specify
|
|
12
|
+
* exactly one of the resources from the parameter list.</p>
|
|
13
13
|
* <p>When determining how to route traffic, we use the route with the most specific match.
|
|
14
14
|
* For example, traffic is destined for the IPv4 address <code>192.0.2.3</code>, and the
|
|
15
15
|
* route table includes the following two IPv4 routes:</p>
|
|
@@ -8,9 +8,8 @@ export interface CreateTransitGatewayPeeringAttachmentCommandOutput extends Crea
|
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
10
|
* <p>Requests a transit gateway peering attachment between the specified transit gateway
|
|
11
|
-
* (requester) and a peer transit gateway (accepter). The transit
|
|
12
|
-
*
|
|
13
|
-
* Amazon Web Services account.</p>
|
|
11
|
+
* (requester) and a peer transit gateway (accepter). The peer transit gateway can be in
|
|
12
|
+
* your account or a different Amazon Web Services account.</p>
|
|
14
13
|
* <p>After you create the peering attachment, the owner of the accepter transit gateway
|
|
15
14
|
* must accept the attachment request.</p>
|
|
16
15
|
* @example
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
2
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
3
|
import { EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EC2Client";
|
|
4
|
-
import { DescribeClientVpnRoutesRequest } from "../models/
|
|
5
|
-
import { DescribeClientVpnRoutesResult } from "../models/models_3";
|
|
4
|
+
import { DescribeClientVpnRoutesRequest, DescribeClientVpnRoutesResult } from "../models/models_3";
|
|
6
5
|
export interface DescribeClientVpnRoutesCommandInput extends DescribeClientVpnRoutesRequest {
|
|
7
6
|
}
|
|
8
7
|
export interface DescribeClientVpnRoutesCommandOutput extends DescribeClientVpnRoutesResult, __MetadataBearer {
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
2
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
3
|
import { EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EC2Client";
|
|
4
|
-
import { DescribePrincipalIdFormatRequest
|
|
4
|
+
import { DescribePrincipalIdFormatRequest } from "../models/models_3";
|
|
5
|
+
import { DescribePrincipalIdFormatResult } from "../models/models_4";
|
|
5
6
|
export interface DescribePrincipalIdFormatCommandInput extends DescribePrincipalIdFormatRequest {
|
|
6
7
|
}
|
|
7
8
|
export interface DescribePrincipalIdFormatCommandOutput extends DescribePrincipalIdFormatResult, __MetadataBearer {
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
2
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
3
|
import { EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EC2Client";
|
|
4
|
-
import { GetEbsDefaultKmsKeyIdRequest
|
|
4
|
+
import { GetEbsDefaultKmsKeyIdRequest } from "../models/models_4";
|
|
5
|
+
import { GetEbsDefaultKmsKeyIdResult } from "../models/models_5";
|
|
5
6
|
export interface GetEbsDefaultKmsKeyIdCommandInput extends GetEbsDefaultKmsKeyIdRequest {
|
|
6
7
|
}
|
|
7
8
|
export interface GetEbsDefaultKmsKeyIdCommandOutput extends GetEbsDefaultKmsKeyIdResult, __MetadataBearer {
|
|
@@ -19,6 +19,9 @@ export interface ReleaseAddressCommandOutput extends __MetadataBearer {
|
|
|
19
19
|
* <code>AuthFailure</code> error if the address is already allocated to another Amazon Web Services account.</p>
|
|
20
20
|
* <p>[EC2-VPC] After you release an Elastic IP address for use in a VPC, you might be able to recover it.
|
|
21
21
|
* For more information, see <a>AllocateAddress</a>.</p>
|
|
22
|
+
* <p>For more
|
|
23
|
+
* information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/elastic-ip-addresses-eip.html">Elastic IP
|
|
24
|
+
* Addresses</a> in the <i>Amazon Elastic Compute Cloud User Guide</i>.</p>
|
|
22
25
|
* @example
|
|
23
26
|
* Use a bare-bones client and the command you need to make an API call.
|
|
24
27
|
* ```javascript
|
|
@@ -7,11 +7,11 @@ export interface ReplaceRouteCommandInput extends ReplaceRouteRequest {
|
|
|
7
7
|
export interface ReplaceRouteCommandOutput extends __MetadataBearer {
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
|
-
* <p>Replaces an existing route within a route table in a VPC
|
|
11
|
-
*
|
|
12
|
-
*
|
|
13
|
-
*
|
|
14
|
-
*
|
|
10
|
+
* <p>Replaces an existing route within a route table in a VPC.</p>
|
|
11
|
+
* <p>You must specify either a destination CIDR block or a prefix list ID. You must also specify
|
|
12
|
+
* exactly one of the resources from the parameter list, or reset the local route to its default
|
|
13
|
+
* target.</p>
|
|
14
|
+
* <p>For more information, see <a href="https://docs.aws.amazon.com/vpc/latest/userguide/VPC_Route_Tables.html">Route tables</a> in the
|
|
15
15
|
* <i>Amazon Virtual Private Cloud User Guide</i>.</p>
|
|
16
16
|
* @example
|
|
17
17
|
* Use a bare-bones client and the command you need to make an API call.
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
2
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
3
|
import { EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EC2Client";
|
|
4
|
-
import { ReplaceTransitGatewayRouteRequest } from "../models/
|
|
5
|
-
import { ReplaceTransitGatewayRouteResult } from "../models/models_6";
|
|
4
|
+
import { ReplaceTransitGatewayRouteRequest, ReplaceTransitGatewayRouteResult } from "../models/models_6";
|
|
6
5
|
export interface ReplaceTransitGatewayRouteCommandInput extends ReplaceTransitGatewayRouteRequest {
|
|
7
6
|
}
|
|
8
7
|
export interface ReplaceTransitGatewayRouteCommandOutput extends ReplaceTransitGatewayRouteResult, __MetadataBearer {
|
|
@@ -1087,7 +1087,7 @@ export interface PathComponent {
|
|
|
1087
1087
|
*/
|
|
1088
1088
|
AdditionalDetails?: AdditionalDetail[];
|
|
1089
1089
|
/**
|
|
1090
|
-
* <p>
|
|
1090
|
+
* <p>The transit gateway.</p>
|
|
1091
1091
|
*/
|
|
1092
1092
|
TransitGateway?: AnalysisComponent;
|
|
1093
1093
|
/**
|
|
@@ -4967,8 +4967,9 @@ export interface CreateCapacityReservationRequest {
|
|
|
4967
4967
|
*/
|
|
4968
4968
|
EbsOptimized?: boolean;
|
|
4969
4969
|
/**
|
|
4970
|
-
* <p>
|
|
4971
|
-
*
|
|
4970
|
+
* <p>
|
|
4971
|
+
* <i>Deprecated.</i>
|
|
4972
|
+
* </p>
|
|
4972
4973
|
*/
|
|
4973
4974
|
EphemeralStorage?: boolean;
|
|
4974
4975
|
/**
|
|
@@ -5113,8 +5114,9 @@ export interface CapacityReservation {
|
|
|
5113
5114
|
*/
|
|
5114
5115
|
EbsOptimized?: boolean;
|
|
5115
5116
|
/**
|
|
5116
|
-
* <p>
|
|
5117
|
-
*
|
|
5117
|
+
* <p>
|
|
5118
|
+
* <i>Deprecated.</i>
|
|
5119
|
+
* </p>
|
|
5118
5120
|
*/
|
|
5119
5121
|
EphemeralStorage?: boolean;
|
|
5120
5122
|
/**
|
|
@@ -296,10 +296,11 @@ export interface InstanceRequirementsRequest {
|
|
|
296
296
|
* <p>For instance types with hard disk drive (HDD) storage, specify <code>hdd</code>.</p>
|
|
297
297
|
* </li>
|
|
298
298
|
* <li>
|
|
299
|
-
* <p>For instance types with solid state drive (
|
|
299
|
+
* <p>For instance types with solid state drive (SSD) storage, specify
|
|
300
|
+
* <code>ssd</code>.</p>
|
|
300
301
|
* </li>
|
|
301
302
|
* </ul>
|
|
302
|
-
* <p>Default: <code>hdd</code> and <code>
|
|
303
|
+
* <p>Default: <code>hdd</code> and <code>ssd</code>
|
|
303
304
|
* </p>
|
|
304
305
|
*/
|
|
305
306
|
LocalStorageTypes?: (LocalStorageType | string)[];
|
|
@@ -1297,10 +1298,11 @@ export interface InstanceRequirements {
|
|
|
1297
1298
|
* <p>For instance types with hard disk drive (HDD) storage, specify <code>hdd</code>.</p>
|
|
1298
1299
|
* </li>
|
|
1299
1300
|
* <li>
|
|
1300
|
-
* <p>For instance types with solid state drive (
|
|
1301
|
+
* <p>For instance types with solid state drive (SSD) storage, specify
|
|
1302
|
+
* <code>ssd</code>.</p>
|
|
1301
1303
|
* </li>
|
|
1302
1304
|
* </ul>
|
|
1303
|
-
* <p>Default: <code>hdd</code> and <code>
|
|
1305
|
+
* <p>Default: <code>hdd</code> and <code>ssd</code>
|
|
1304
1306
|
* </p>
|
|
1305
1307
|
*/
|
|
1306
1308
|
LocalStorageTypes?: (LocalStorageType | string)[];
|
|
@@ -3699,14 +3701,16 @@ export declare namespace LaunchTemplatePrivateDnsNameOptionsRequest {
|
|
|
3699
3701
|
const filterSensitiveLog: (obj: LaunchTemplatePrivateDnsNameOptionsRequest) => any;
|
|
3700
3702
|
}
|
|
3701
3703
|
/**
|
|
3702
|
-
* <p>The tags specification for the launch
|
|
3704
|
+
* <p>The tags specification for the resources that are created during instance launch.</p>
|
|
3703
3705
|
*/
|
|
3704
3706
|
export interface LaunchTemplateTagSpecificationRequest {
|
|
3705
3707
|
/**
|
|
3706
|
-
* <p>The type of resource to tag
|
|
3707
|
-
*
|
|
3708
|
-
*
|
|
3709
|
-
*
|
|
3708
|
+
* <p>The type of resource to tag.</p>
|
|
3709
|
+
* <p>The <code>Valid Values</code> are all the resource types that can be tagged. However, when creating
|
|
3710
|
+
* a launch template, you can specify tags for the following resource types only: <code>instance</code> | <code>volume</code> | <code>elastic-gpu</code> |
|
|
3711
|
+
* <code>network-interface</code> | <code>spot-instances-request</code>
|
|
3712
|
+
* </p>
|
|
3713
|
+
* <p>To tag a resource after it has been created, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateTags.html">CreateTags</a>.</p>
|
|
3710
3714
|
*/
|
|
3711
3715
|
ResourceType?: ResourceType | string;
|
|
3712
3716
|
/**
|
|
@@ -3819,9 +3823,30 @@ export interface RequestLaunchTemplateData {
|
|
|
3819
3823
|
*/
|
|
3820
3824
|
UserData?: string;
|
|
3821
3825
|
/**
|
|
3822
|
-
* <p>The tags to apply to the resources
|
|
3823
|
-
*
|
|
3824
|
-
*
|
|
3826
|
+
* <p>The tags to apply to the resources that are created during instance launch.</p>
|
|
3827
|
+
* <p>You can specify tags for the following resources only:</p>
|
|
3828
|
+
* <ul>
|
|
3829
|
+
* <li>
|
|
3830
|
+
* <p>Instances</p>
|
|
3831
|
+
* </li>
|
|
3832
|
+
* <li>
|
|
3833
|
+
* <p>Volumes</p>
|
|
3834
|
+
* </li>
|
|
3835
|
+
* <li>
|
|
3836
|
+
* <p>Elastic graphics</p>
|
|
3837
|
+
* </li>
|
|
3838
|
+
* <li>
|
|
3839
|
+
* <p>Spot Instance requests</p>
|
|
3840
|
+
* </li>
|
|
3841
|
+
* <li>
|
|
3842
|
+
* <p>Network interfaces</p>
|
|
3843
|
+
* </li>
|
|
3844
|
+
* </ul>
|
|
3845
|
+
* <p>To tag a resource after it has been created, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateTags.html">CreateTags</a>.</p>
|
|
3846
|
+
* <note>
|
|
3847
|
+
* <p>To tag the launch template itself, you must use the
|
|
3848
|
+
* <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateLaunchTemplate.html">TagSpecification</a> parameter.</p>
|
|
3849
|
+
* </note>
|
|
3825
3850
|
*/
|
|
3826
3851
|
TagSpecifications?: LaunchTemplateTagSpecificationRequest[];
|
|
3827
3852
|
/**
|
|
@@ -3848,8 +3873,7 @@ export interface RequestLaunchTemplateData {
|
|
|
3848
3873
|
*/
|
|
3849
3874
|
InstanceMarketOptions?: LaunchTemplateInstanceMarketOptionsRequest;
|
|
3850
3875
|
/**
|
|
3851
|
-
* <p>The credit option for CPU usage of the instance. Valid for
|
|
3852
|
-
* only.</p>
|
|
3876
|
+
* <p>The credit option for CPU usage of the instance. Valid only for T instances.</p>
|
|
3853
3877
|
*/
|
|
3854
3878
|
CreditSpecification?: CreditSpecificationRequest;
|
|
3855
3879
|
/**
|
|
@@ -3944,7 +3968,11 @@ export interface CreateLaunchTemplateRequest {
|
|
|
3944
3968
|
*/
|
|
3945
3969
|
LaunchTemplateData: RequestLaunchTemplateData | undefined;
|
|
3946
3970
|
/**
|
|
3947
|
-
* <p>The tags to apply to the launch template
|
|
3971
|
+
* <p>The tags to apply to the launch template on creation. To tag the launch template, the resource type must be <code>launch-template</code>.</p>
|
|
3972
|
+
* <note>
|
|
3973
|
+
* <p>To specify the tags for the resources that are created when an instance is launched, you must use the <code>TagSpecifications</code> parameter in the
|
|
3974
|
+
* <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_RequestLaunchTemplateData.html">launch template data</a> structure.</p>
|
|
3975
|
+
* </note>
|
|
3948
3976
|
*/
|
|
3949
3977
|
TagSpecifications?: TagSpecification[];
|
|
3950
3978
|
}
|
|
@@ -4729,11 +4757,11 @@ export declare namespace LaunchTemplatePrivateDnsNameOptions {
|
|
|
4729
4757
|
const filterSensitiveLog: (obj: LaunchTemplatePrivateDnsNameOptions) => any;
|
|
4730
4758
|
}
|
|
4731
4759
|
/**
|
|
4732
|
-
* <p>The
|
|
4760
|
+
* <p>The tags specification for the launch template.</p>
|
|
4733
4761
|
*/
|
|
4734
4762
|
export interface LaunchTemplateTagSpecification {
|
|
4735
4763
|
/**
|
|
4736
|
-
* <p>The type of resource.</p>
|
|
4764
|
+
* <p>The type of resource to tag.</p>
|
|
4737
4765
|
*/
|
|
4738
4766
|
ResourceType?: ResourceType | string;
|
|
4739
4767
|
/**
|
|
@@ -4810,7 +4838,7 @@ export interface ResponseLaunchTemplateData {
|
|
|
4810
4838
|
*/
|
|
4811
4839
|
UserData?: string;
|
|
4812
4840
|
/**
|
|
4813
|
-
* <p>The tags.</p>
|
|
4841
|
+
* <p>The tags that are applied to the resources that are created during instance launch.</p>
|
|
4814
4842
|
*/
|
|
4815
4843
|
TagSpecifications?: LaunchTemplateTagSpecification[];
|
|
4816
4844
|
/**
|
|
@@ -6386,6 +6414,10 @@ export declare namespace CreateNetworkInterfacePermissionResult {
|
|
|
6386
6414
|
*/
|
|
6387
6415
|
const filterSensitiveLog: (obj: CreateNetworkInterfacePermissionResult) => any;
|
|
6388
6416
|
}
|
|
6417
|
+
export declare enum SpreadLevel {
|
|
6418
|
+
host = "host",
|
|
6419
|
+
rack = "rack"
|
|
6420
|
+
}
|
|
6389
6421
|
export declare type PlacementStrategy = "cluster" | "partition" | "spread";
|
|
6390
6422
|
export interface CreatePlacementGroupRequest {
|
|
6391
6423
|
/**
|
|
@@ -6413,6 +6445,18 @@ export interface CreatePlacementGroupRequest {
|
|
|
6413
6445
|
* <p>The tags to apply to the new placement group.</p>
|
|
6414
6446
|
*/
|
|
6415
6447
|
TagSpecifications?: TagSpecification[];
|
|
6448
|
+
/**
|
|
6449
|
+
* <p>Determines how placement groups spread instances. </p>
|
|
6450
|
+
* <ul>
|
|
6451
|
+
* <li>
|
|
6452
|
+
* <p>Host – You can use <code>host</code> only with Outpost placement groups.</p>
|
|
6453
|
+
* </li>
|
|
6454
|
+
* <li>
|
|
6455
|
+
* <p>Rack – No usage restrictions.</p>
|
|
6456
|
+
* </li>
|
|
6457
|
+
* </ul>
|
|
6458
|
+
*/
|
|
6459
|
+
SpreadLevel?: SpreadLevel | string;
|
|
6416
6460
|
}
|
|
6417
6461
|
export declare namespace CreatePlacementGroupRequest {
|
|
6418
6462
|
/**
|
|
@@ -6454,6 +6498,11 @@ export interface PlacementGroup {
|
|
|
6454
6498
|
* <p>The Amazon Resource Name (ARN) of the placement group.</p>
|
|
6455
6499
|
*/
|
|
6456
6500
|
GroupArn?: string;
|
|
6501
|
+
/**
|
|
6502
|
+
* <p> The spread level for the placement group. <i>Only</i> Outpost placement
|
|
6503
|
+
* groups can be spread across hosts. </p>
|
|
6504
|
+
*/
|
|
6505
|
+
SpreadLevel?: SpreadLevel | string;
|
|
6457
6506
|
}
|
|
6458
6507
|
export declare namespace PlacementGroup {
|
|
6459
6508
|
/**
|
|
@@ -8424,18 +8473,3 @@ export declare namespace CreateTransitGatewayResult {
|
|
|
8424
8473
|
const filterSensitiveLog: (obj: CreateTransitGatewayResult) => any;
|
|
8425
8474
|
}
|
|
8426
8475
|
export declare type ProtocolValue = "gre";
|
|
8427
|
-
/**
|
|
8428
|
-
* <p>The options for a Connect attachment.</p>
|
|
8429
|
-
*/
|
|
8430
|
-
export interface CreateTransitGatewayConnectRequestOptions {
|
|
8431
|
-
/**
|
|
8432
|
-
* <p>The tunnel protocol.</p>
|
|
8433
|
-
*/
|
|
8434
|
-
Protocol: ProtocolValue | string | undefined;
|
|
8435
|
-
}
|
|
8436
|
-
export declare namespace CreateTransitGatewayConnectRequestOptions {
|
|
8437
|
-
/**
|
|
8438
|
-
* @internal
|
|
8439
|
-
*/
|
|
8440
|
-
const filterSensitiveLog: (obj: CreateTransitGatewayConnectRequestOptions) => any;
|
|
8441
|
-
}
|
|
@@ -1,5 +1,20 @@
|
|
|
1
1
|
import { AccountAttribute, AccountAttributeName, Address, AddressAttribute, AddressAttributeName, ApplianceModeSupportValue, BundleTask, ByoipCidr, CapacityReservation, CapacityReservationFleetState, CarrierGateway, ClientVpnAuthenticationType, ClientVpnAuthorizationRuleStatus, ClientVpnEndpointStatus, ClientVpnRouteStatus, DnsSupportValue, FleetCapacityReservation, FleetCapacityReservationTenancy, FleetInstanceMatchCriteria, GatewayType, InstanceEventWindowState, Ipv6SupportValue, Tag, TagSpecification, Tenancy, TransitGatewayAttachmentResourceType, TransitGatewayAttachmentState, TransitGatewayPeeringAttachment, TransitGatewayVpcAttachment, TransportProtocol, UnsuccessfulItem, VolumeAttachment, Vpc, VpcAttachment, VpcPeeringConnection } from "./models_0";
|
|
2
|
-
import {
|
|
2
|
+
import { GroupIdentifier, Ipam, IpamPool, IpamScope, LaunchTemplate, LocalGatewayRoute, LocalGatewayRouteTableVpcAssociation, ManagedPrefixList, ProtocolValue, SubnetCidrReservation, TransitGateway, VolumeType } from "./models_1";
|
|
3
|
+
/**
|
|
4
|
+
* <p>The options for a Connect attachment.</p>
|
|
5
|
+
*/
|
|
6
|
+
export interface CreateTransitGatewayConnectRequestOptions {
|
|
7
|
+
/**
|
|
8
|
+
* <p>The tunnel protocol.</p>
|
|
9
|
+
*/
|
|
10
|
+
Protocol: ProtocolValue | string | undefined;
|
|
11
|
+
}
|
|
12
|
+
export declare namespace CreateTransitGatewayConnectRequestOptions {
|
|
13
|
+
/**
|
|
14
|
+
* @internal
|
|
15
|
+
*/
|
|
16
|
+
const filterSensitiveLog: (obj: CreateTransitGatewayConnectRequestOptions) => any;
|
|
17
|
+
}
|
|
3
18
|
export interface CreateTransitGatewayConnectRequest {
|
|
4
19
|
/**
|
|
5
20
|
* <p>The ID of the transit gateway attachment. You can specify a VPC attachment or Amazon Web Services Direct Connect attachment.</p>
|
|
@@ -6785,45 +6800,3 @@ export declare namespace DescribeClientVpnEndpointsResult {
|
|
|
6785
6800
|
*/
|
|
6786
6801
|
const filterSensitiveLog: (obj: DescribeClientVpnEndpointsResult) => any;
|
|
6787
6802
|
}
|
|
6788
|
-
export interface DescribeClientVpnRoutesRequest {
|
|
6789
|
-
/**
|
|
6790
|
-
* <p>The ID of the Client VPN endpoint.</p>
|
|
6791
|
-
*/
|
|
6792
|
-
ClientVpnEndpointId: string | undefined;
|
|
6793
|
-
/**
|
|
6794
|
-
* <p>One or more filters. Filter names and values are case-sensitive.</p>
|
|
6795
|
-
* <ul>
|
|
6796
|
-
* <li>
|
|
6797
|
-
* <p>
|
|
6798
|
-
* <code>destination-cidr</code> - The CIDR of the route destination.</p>
|
|
6799
|
-
* </li>
|
|
6800
|
-
* <li>
|
|
6801
|
-
* <p>
|
|
6802
|
-
* <code>origin</code> - How the route was associated with the Client VPN endpoint (<code>associate</code> | <code>add-route</code>).</p>
|
|
6803
|
-
* </li>
|
|
6804
|
-
* <li>
|
|
6805
|
-
* <p>
|
|
6806
|
-
* <code>target-subnet</code> - The ID of the subnet through which traffic is routed.</p>
|
|
6807
|
-
* </li>
|
|
6808
|
-
* </ul>
|
|
6809
|
-
*/
|
|
6810
|
-
Filters?: Filter[];
|
|
6811
|
-
/**
|
|
6812
|
-
* <p>The maximum number of results to return for the request in a single page. The remaining results can be seen by sending another request with the nextToken value.</p>
|
|
6813
|
-
*/
|
|
6814
|
-
MaxResults?: number;
|
|
6815
|
-
/**
|
|
6816
|
-
* <p>The token to retrieve the next page of results.</p>
|
|
6817
|
-
*/
|
|
6818
|
-
NextToken?: string;
|
|
6819
|
-
/**
|
|
6820
|
-
* <p>Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>. Otherwise, it is <code>UnauthorizedOperation</code>.</p>
|
|
6821
|
-
*/
|
|
6822
|
-
DryRun?: boolean;
|
|
6823
|
-
}
|
|
6824
|
-
export declare namespace DescribeClientVpnRoutesRequest {
|
|
6825
|
-
/**
|
|
6826
|
-
* @internal
|
|
6827
|
-
*/
|
|
6828
|
-
const filterSensitiveLog: (obj: DescribeClientVpnRoutesRequest) => any;
|
|
6829
|
-
}
|