@aws-sdk/client-ec2 3.816.0 → 3.818.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/README.md +8 -0
- package/dist-cjs/index.js +317 -126
- package/dist-cjs/runtimeConfig.js +4 -1
- package/dist-es/EC2.js +2 -0
- package/dist-es/commands/DescribeVpnConnectionsCommand.js +1 -1
- package/dist-es/commands/GetActiveVpnTunnelStatusCommand.js +22 -0
- package/dist-es/commands/index.js +1 -0
- package/dist-es/models/models_0.js +5 -0
- package/dist-es/models/models_1.js +55 -0
- package/dist-es/models/models_5.js +0 -7
- package/dist-es/models/models_6.js +7 -0
- package/dist-es/protocols/Aws_ec2.js +155 -44
- package/dist-es/runtimeConfig.js +4 -1
- package/dist-types/EC2.d.ts +7 -0
- package/dist-types/EC2Client.d.ts +3 -2
- package/dist-types/commands/CopyFpgaImageCommand.d.ts +1 -1
- package/dist-types/commands/CreateCapacityReservationFleetCommand.d.ts +2 -2
- package/dist-types/commands/CreateFleetCommand.d.ts +4 -4
- package/dist-types/commands/CreateLaunchTemplateCommand.d.ts +1 -1
- package/dist-types/commands/CreateLaunchTemplateVersionCommand.d.ts +2 -2
- package/dist-types/commands/CreateVpcEndpointCommand.d.ts +2 -1
- package/dist-types/commands/CreateVpcEndpointConnectionNotificationCommand.d.ts +1 -2
- package/dist-types/commands/CreateVpnConnectionCommand.d.ts +2 -0
- package/dist-types/commands/DescribeCapacityReservationFleetsCommand.d.ts +1 -1
- package/dist-types/commands/DescribeClientVpnConnectionsCommand.d.ts +2 -1
- package/dist-types/commands/DescribeClientVpnEndpointsCommand.d.ts +1 -2
- package/dist-types/commands/DescribeFleetsCommand.d.ts +4 -4
- package/dist-types/commands/DescribeInstanceImageMetadataCommand.d.ts +1 -1
- package/dist-types/commands/DescribeInstanceTypeOfferingsCommand.d.ts +1 -1
- package/dist-types/commands/DescribeInstanceTypesCommand.d.ts +2 -2
- package/dist-types/commands/DescribeInstancesCommand.d.ts +1 -1
- package/dist-types/commands/DescribeKeyPairsCommand.d.ts +2 -1
- package/dist-types/commands/DescribeLaunchTemplateVersionsCommand.d.ts +1 -1
- package/dist-types/commands/DescribeLaunchTemplatesCommand.d.ts +1 -2
- package/dist-types/commands/DescribeReservedInstancesCommand.d.ts +1 -1
- package/dist-types/commands/DescribeReservedInstancesModificationsCommand.d.ts +1 -1
- package/dist-types/commands/DescribeReservedInstancesOfferingsCommand.d.ts +2 -2
- package/dist-types/commands/DescribeSpotFleetRequestsCommand.d.ts +2 -2
- package/dist-types/commands/DescribeSpotInstanceRequestsCommand.d.ts +1 -1
- package/dist-types/commands/DescribeSpotPriceHistoryCommand.d.ts +2 -2
- package/dist-types/commands/DescribeVpnConnectionsCommand.d.ts +2 -1
- package/dist-types/commands/GetActiveVpnTunnelStatusCommand.d.ts +84 -0
- package/dist-types/commands/GetLaunchTemplateDataCommand.d.ts +1 -1
- package/dist-types/commands/GetTransitGatewayPolicyTableAssociationsCommand.d.ts +2 -1
- package/dist-types/commands/GetTransitGatewayPolicyTableEntriesCommand.d.ts +1 -2
- package/dist-types/commands/GetVpnConnectionDeviceSampleConfigurationCommand.d.ts +1 -0
- package/dist-types/commands/ImportInstanceCommand.d.ts +1 -1
- package/dist-types/commands/ModifyFleetCommand.d.ts +1 -1
- package/dist-types/commands/ModifyReservedInstancesCommand.d.ts +1 -1
- package/dist-types/commands/ModifySpotFleetRequestCommand.d.ts +1 -1
- package/dist-types/commands/ModifyVpnConnectionCommand.d.ts +1 -0
- package/dist-types/commands/ModifyVpnConnectionOptionsCommand.d.ts +1 -0
- package/dist-types/commands/ModifyVpnTunnelCertificateCommand.d.ts +1 -0
- package/dist-types/commands/ModifyVpnTunnelOptionsCommand.d.ts +2 -0
- package/dist-types/commands/ReleaseHostsCommand.d.ts +1 -1
- package/dist-types/commands/ReleaseIpamPoolAllocationCommand.d.ts +1 -1
- package/dist-types/commands/RequestSpotFleetCommand.d.ts +2 -2
- package/dist-types/commands/RequestSpotInstancesCommand.d.ts +2 -2
- package/dist-types/commands/RunInstancesCommand.d.ts +2 -2
- package/dist-types/commands/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +64 -48
- package/dist-types/models/models_1.d.ts +103 -28
- package/dist-types/models/models_2.d.ts +29 -58
- package/dist-types/models/models_3.d.ts +68 -57
- package/dist-types/models/models_4.d.ts +59 -72
- package/dist-types/models/models_5.d.ts +73 -106
- package/dist-types/models/models_6.d.ts +132 -100
- package/dist-types/models/models_7.d.ts +112 -65
- package/dist-types/models/models_8.d.ts +66 -3
- package/dist-types/protocols/Aws_ec2.d.ts +9 -0
- package/dist-types/ts3.4/EC2.d.ts +17 -0
- package/dist-types/ts3.4/EC2Client.d.ts +6 -0
- package/dist-types/ts3.4/commands/CopyFpgaImageCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/CreateVpcEndpointCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/CreateVpcEndpointConnectionNotificationCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/DescribeClientVpnConnectionsCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/DescribeClientVpnEndpointsCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/DescribeKeyPairsCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/DescribeLaunchTemplatesCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/DescribeVpnConnectionsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetActiveVpnTunnelStatusCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetTransitGatewayPolicyTableAssociationsCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/GetTransitGatewayPolicyTableEntriesCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/ReleaseHostsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ReleaseIpamPoolAllocationCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +18 -11
- package/dist-types/ts3.4/models/models_1.d.ts +66 -7
- package/dist-types/ts3.4/models/models_2.d.ts +7 -14
- package/dist-types/ts3.4/models/models_3.d.ts +15 -11
- package/dist-types/ts3.4/models/models_4.d.ts +13 -12
- package/dist-types/ts3.4/models/models_5.d.ts +13 -13
- package/dist-types/ts3.4/models/models_6.d.ts +21 -23
- package/dist-types/ts3.4/models/models_7.d.ts +26 -17
- package/dist-types/ts3.4/models/models_8.d.ts +18 -1
- package/dist-types/ts3.4/protocols/Aws_ec2.d.ts +12 -0
- package/package.json +2 -2
|
@@ -22,6 +22,7 @@ import {
|
|
|
22
22
|
TransitGatewayAttachmentResourceType,
|
|
23
23
|
TransitGatewayMulticastDomainAssociations,
|
|
24
24
|
TransitGatewayPeeringAttachment,
|
|
25
|
+
TransitGatewayPolicyTableAssociation,
|
|
25
26
|
TransitGatewayVpcAttachment,
|
|
26
27
|
UnsuccessfulItem,
|
|
27
28
|
VerifiedAccessInstance,
|
|
@@ -152,10 +153,32 @@ import {
|
|
|
152
153
|
InstanceFamilyCreditSpecification,
|
|
153
154
|
IpamResourceCidr,
|
|
154
155
|
Purchase,
|
|
155
|
-
TransitGatewayPolicyRule,
|
|
156
156
|
TransitGatewayPropagationState,
|
|
157
157
|
UnlimitedSupportedInstanceFamily,
|
|
158
158
|
} from "./models_6";
|
|
159
|
+
export interface GetTransitGatewayPolicyTableAssociationsResult {
|
|
160
|
+
Associations?: TransitGatewayPolicyTableAssociation[] | undefined;
|
|
161
|
+
NextToken?: string | undefined;
|
|
162
|
+
}
|
|
163
|
+
export interface GetTransitGatewayPolicyTableEntriesRequest {
|
|
164
|
+
TransitGatewayPolicyTableId: string | undefined;
|
|
165
|
+
Filters?: Filter[] | undefined;
|
|
166
|
+
MaxResults?: number | undefined;
|
|
167
|
+
NextToken?: string | undefined;
|
|
168
|
+
DryRun?: boolean | undefined;
|
|
169
|
+
}
|
|
170
|
+
export interface TransitGatewayPolicyRuleMetaData {
|
|
171
|
+
MetaDataKey?: string | undefined;
|
|
172
|
+
MetaDataValue?: string | undefined;
|
|
173
|
+
}
|
|
174
|
+
export interface TransitGatewayPolicyRule {
|
|
175
|
+
SourceCidrBlock?: string | undefined;
|
|
176
|
+
SourcePortRange?: string | undefined;
|
|
177
|
+
DestinationCidrBlock?: string | undefined;
|
|
178
|
+
DestinationPortRange?: string | undefined;
|
|
179
|
+
Protocol?: string | undefined;
|
|
180
|
+
MetaData?: TransitGatewayPolicyRuleMetaData | undefined;
|
|
181
|
+
}
|
|
159
182
|
export interface TransitGatewayPolicyTableEntry {
|
|
160
183
|
PolicyRuleNumber?: string | undefined;
|
|
161
184
|
PolicyRule?: TransitGatewayPolicyRule | undefined;
|
|
@@ -251,6 +274,7 @@ export interface GetVpnConnectionDeviceSampleConfigurationRequest {
|
|
|
251
274
|
VpnConnectionId: string | undefined;
|
|
252
275
|
VpnConnectionDeviceTypeId: string | undefined;
|
|
253
276
|
InternetKeyExchangeVersion?: string | undefined;
|
|
277
|
+
SampleType?: string | undefined;
|
|
254
278
|
DryRun?: boolean | undefined;
|
|
255
279
|
}
|
|
256
280
|
export interface GetVpnConnectionDeviceSampleConfigurationResult {
|
|
@@ -1570,6 +1594,7 @@ export interface ModifyVpnTunnelOptionsRequest {
|
|
|
1570
1594
|
TunnelOptions: ModifyVpnTunnelOptionsSpecification | undefined;
|
|
1571
1595
|
DryRun?: boolean | undefined;
|
|
1572
1596
|
SkipTunnelReplacement?: boolean | undefined;
|
|
1597
|
+
PreSharedKeyStorage?: string | undefined;
|
|
1573
1598
|
}
|
|
1574
1599
|
export interface ModifyVpnTunnelOptionsResult {
|
|
1575
1600
|
VpnConnection?: VpnConnection | undefined;
|
|
@@ -1863,22 +1888,6 @@ export interface ReleaseAddressRequest {
|
|
|
1863
1888
|
NetworkBorderGroup?: string | undefined;
|
|
1864
1889
|
DryRun?: boolean | undefined;
|
|
1865
1890
|
}
|
|
1866
|
-
export interface ReleaseHostsRequest {
|
|
1867
|
-
HostIds: string[] | undefined;
|
|
1868
|
-
}
|
|
1869
|
-
export interface ReleaseHostsResult {
|
|
1870
|
-
Successful?: string[] | undefined;
|
|
1871
|
-
Unsuccessful?: UnsuccessfulItem[] | undefined;
|
|
1872
|
-
}
|
|
1873
|
-
export interface ReleaseIpamPoolAllocationRequest {
|
|
1874
|
-
DryRun?: boolean | undefined;
|
|
1875
|
-
IpamPoolId: string | undefined;
|
|
1876
|
-
Cidr: string | undefined;
|
|
1877
|
-
IpamPoolAllocationId: string | undefined;
|
|
1878
|
-
}
|
|
1879
|
-
export interface ReleaseIpamPoolAllocationResult {
|
|
1880
|
-
Success?: boolean | undefined;
|
|
1881
|
-
}
|
|
1882
1891
|
export declare const GetVpnConnectionDeviceSampleConfigurationResultFilterSensitiveLog: (
|
|
1883
1892
|
obj: GetVpnConnectionDeviceSampleConfigurationResult
|
|
1884
1893
|
) => any;
|
|
@@ -11,6 +11,7 @@ import {
|
|
|
11
11
|
RouteTableAssociationState,
|
|
12
12
|
TagSpecification,
|
|
13
13
|
TransitGatewayAttachmentResourceType,
|
|
14
|
+
UnsuccessfulItem,
|
|
14
15
|
} from "./models_0";
|
|
15
16
|
import {
|
|
16
17
|
_InstanceType,
|
|
@@ -21,7 +22,6 @@ import {
|
|
|
21
22
|
HostnameType,
|
|
22
23
|
InstanceBandwidthWeighting,
|
|
23
24
|
InstanceInterruptionBehavior,
|
|
24
|
-
InstanceIpv6Address,
|
|
25
25
|
MarketType,
|
|
26
26
|
OperatorRequest,
|
|
27
27
|
Placement,
|
|
@@ -30,6 +30,7 @@ import {
|
|
|
30
30
|
} from "./models_1";
|
|
31
31
|
import {
|
|
32
32
|
IcmpTypeCode,
|
|
33
|
+
InstanceIpv6Address,
|
|
33
34
|
LocalGatewayRoute,
|
|
34
35
|
ManagedPrefixList,
|
|
35
36
|
RuleAction,
|
|
@@ -62,6 +63,22 @@ import {
|
|
|
62
63
|
InstanceMonitoring,
|
|
63
64
|
Status,
|
|
64
65
|
} from "./models_7";
|
|
66
|
+
export interface ReleaseHostsRequest {
|
|
67
|
+
HostIds: string[] | undefined;
|
|
68
|
+
}
|
|
69
|
+
export interface ReleaseHostsResult {
|
|
70
|
+
Successful?: string[] | undefined;
|
|
71
|
+
Unsuccessful?: UnsuccessfulItem[] | undefined;
|
|
72
|
+
}
|
|
73
|
+
export interface ReleaseIpamPoolAllocationRequest {
|
|
74
|
+
DryRun?: boolean | undefined;
|
|
75
|
+
IpamPoolId: string | undefined;
|
|
76
|
+
Cidr: string | undefined;
|
|
77
|
+
IpamPoolAllocationId: string | undefined;
|
|
78
|
+
}
|
|
79
|
+
export interface ReleaseIpamPoolAllocationResult {
|
|
80
|
+
Success?: boolean | undefined;
|
|
81
|
+
}
|
|
65
82
|
export interface ReplaceIamInstanceProfileAssociationRequest {
|
|
66
83
|
IamInstanceProfile: IamInstanceProfileSpecification | undefined;
|
|
67
84
|
AssociationId: string | undefined;
|
|
@@ -1903,6 +1903,10 @@ import {
|
|
|
1903
1903
|
ExportVerifiedAccessInstanceClientConfigurationCommandInput,
|
|
1904
1904
|
ExportVerifiedAccessInstanceClientConfigurationCommandOutput,
|
|
1905
1905
|
} from "../commands/ExportVerifiedAccessInstanceClientConfigurationCommand";
|
|
1906
|
+
import {
|
|
1907
|
+
GetActiveVpnTunnelStatusCommandInput,
|
|
1908
|
+
GetActiveVpnTunnelStatusCommandOutput,
|
|
1909
|
+
} from "../commands/GetActiveVpnTunnelStatusCommand";
|
|
1906
1910
|
import {
|
|
1907
1911
|
GetAllowedImagesSettingsCommandInput,
|
|
1908
1912
|
GetAllowedImagesSettingsCommandOutput,
|
|
@@ -4643,6 +4647,10 @@ export declare const se_ExportVerifiedAccessInstanceClientConfigurationCommand:
|
|
|
4643
4647
|
input: ExportVerifiedAccessInstanceClientConfigurationCommandInput,
|
|
4644
4648
|
context: __SerdeContext
|
|
4645
4649
|
) => Promise<__HttpRequest>;
|
|
4650
|
+
export declare const se_GetActiveVpnTunnelStatusCommand: (
|
|
4651
|
+
input: GetActiveVpnTunnelStatusCommandInput,
|
|
4652
|
+
context: __SerdeContext
|
|
4653
|
+
) => Promise<__HttpRequest>;
|
|
4646
4654
|
export declare const se_GetAllowedImagesSettingsCommand: (
|
|
4647
4655
|
input: GetAllowedImagesSettingsCommandInput,
|
|
4648
4656
|
context: __SerdeContext
|
|
@@ -7383,6 +7391,10 @@ export declare const de_ExportVerifiedAccessInstanceClientConfigurationCommand:
|
|
|
7383
7391
|
output: __HttpResponse,
|
|
7384
7392
|
context: __SerdeContext
|
|
7385
7393
|
) => Promise<ExportVerifiedAccessInstanceClientConfigurationCommandOutput>;
|
|
7394
|
+
export declare const de_GetActiveVpnTunnelStatusCommand: (
|
|
7395
|
+
output: __HttpResponse,
|
|
7396
|
+
context: __SerdeContext
|
|
7397
|
+
) => Promise<GetActiveVpnTunnelStatusCommandOutput>;
|
|
7386
7398
|
export declare const de_GetAllowedImagesSettingsCommand: (
|
|
7387
7399
|
output: __HttpResponse,
|
|
7388
7400
|
context: __SerdeContext
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-ec2",
|
|
3
3
|
"description": "AWS SDK for JavaScript Ec2 Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.818.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-ec2",
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
23
23
|
"@aws-sdk/core": "3.816.0",
|
|
24
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
24
|
+
"@aws-sdk/credential-provider-node": "3.817.0",
|
|
25
25
|
"@aws-sdk/middleware-host-header": "3.804.0",
|
|
26
26
|
"@aws-sdk/middleware-logger": "3.804.0",
|
|
27
27
|
"@aws-sdk/middleware-recursion-detection": "3.804.0",
|