@aws-sdk/client-ec2 3.958.0 → 3.962.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/dist-cjs/index.js +112 -112
- package/dist-es/waiters/waitForBundleTaskComplete.js +3 -3
- package/dist-es/waiters/waitForConversionTaskCancelled.js +2 -2
- package/dist-es/waiters/waitForConversionTaskCompleted.js +4 -4
- package/dist-es/waiters/waitForConversionTaskDeleted.js +2 -2
- package/dist-es/waiters/waitForCustomerGatewayAvailable.js +4 -4
- package/dist-es/waiters/waitForExportTaskCancelled.js +2 -2
- package/dist-es/waiters/waitForExportTaskCompleted.js +2 -2
- package/dist-es/waiters/waitForImageAvailable.js +3 -3
- package/dist-es/waiters/waitForImageExists.js +2 -2
- package/dist-es/waiters/waitForImageUsageReportAvailable.js +3 -3
- package/dist-es/waiters/waitForInstanceExists.js +2 -2
- package/dist-es/waiters/waitForInstanceRunning.js +5 -5
- package/dist-es/waiters/waitForInstanceStatusOk.js +2 -2
- package/dist-es/waiters/waitForInstanceStopped.js +4 -4
- package/dist-es/waiters/waitForInstanceTerminated.js +4 -4
- package/dist-es/waiters/waitForInternetGatewayExists.js +2 -2
- package/dist-es/waiters/waitForKeyPairExists.js +2 -2
- package/dist-es/waiters/waitForNatGatewayAvailable.js +5 -5
- package/dist-es/waiters/waitForNatGatewayDeleted.js +2 -2
- package/dist-es/waiters/waitForNetworkInterfaceAvailable.js +2 -2
- package/dist-es/waiters/waitForPasswordDataAvailable.js +2 -2
- package/dist-es/waiters/waitForSecurityGroupExists.js +2 -2
- package/dist-es/waiters/waitForSecurityGroupVpcAssociationAssociated.js +4 -4
- package/dist-es/waiters/waitForSecurityGroupVpcAssociationDisassociated.js +5 -5
- package/dist-es/waiters/waitForSnapshotCompleted.js +3 -3
- package/dist-es/waiters/waitForSnapshotImported.js +3 -3
- package/dist-es/waiters/waitForSpotInstanceRequestFulfilled.js +7 -7
- package/dist-es/waiters/waitForStoreImageTaskComplete.js +4 -4
- package/dist-es/waiters/waitForSubnetAvailable.js +2 -2
- package/dist-es/waiters/waitForSystemStatusOk.js +2 -2
- package/dist-es/waiters/waitForVolumeAvailable.js +3 -3
- package/dist-es/waiters/waitForVolumeDeleted.js +2 -2
- package/dist-es/waiters/waitForVolumeInUse.js +3 -3
- package/dist-es/waiters/waitForVpcAvailable.js +2 -2
- package/dist-es/waiters/waitForVpcExists.js +1 -1
- package/dist-es/waiters/waitForVpcPeeringConnectionDeleted.js +2 -2
- package/dist-es/waiters/waitForVpcPeeringConnectionExists.js +1 -1
- package/dist-es/waiters/waitForVpnConnectionAvailable.js +4 -4
- package/dist-es/waiters/waitForVpnConnectionDeleted.js +3 -3
- package/package.json +2 -2
|
@@ -3,10 +3,10 @@ import { DescribeStoreImageTasksCommand, } from "../commands/DescribeStoreImageT
|
|
|
3
3
|
const checkState = async (client, input) => {
|
|
4
4
|
let reason;
|
|
5
5
|
try {
|
|
6
|
-
|
|
6
|
+
let result = await client.send(new DescribeStoreImageTasksCommand(input));
|
|
7
7
|
reason = result;
|
|
8
8
|
try {
|
|
9
|
-
|
|
9
|
+
const returnComparator = () => {
|
|
10
10
|
let flat_1 = [].concat(...result.StoreImageTaskResults);
|
|
11
11
|
let projection_3 = flat_1.map((element_2) => {
|
|
12
12
|
return element_2.StoreTaskState;
|
|
@@ -23,7 +23,7 @@ const checkState = async (client, input) => {
|
|
|
23
23
|
}
|
|
24
24
|
catch (e) { }
|
|
25
25
|
try {
|
|
26
|
-
|
|
26
|
+
const returnComparator = () => {
|
|
27
27
|
let flat_1 = [].concat(...result.StoreImageTaskResults);
|
|
28
28
|
let projection_3 = flat_1.map((element_2) => {
|
|
29
29
|
return element_2.StoreTaskState;
|
|
@@ -38,7 +38,7 @@ const checkState = async (client, input) => {
|
|
|
38
38
|
}
|
|
39
39
|
catch (e) { }
|
|
40
40
|
try {
|
|
41
|
-
|
|
41
|
+
const returnComparator = () => {
|
|
42
42
|
let flat_1 = [].concat(...result.StoreImageTaskResults);
|
|
43
43
|
let projection_3 = flat_1.map((element_2) => {
|
|
44
44
|
return element_2.StoreTaskState;
|
|
@@ -3,10 +3,10 @@ import { DescribeSubnetsCommand } from "../commands/DescribeSubnetsCommand";
|
|
|
3
3
|
const checkState = async (client, input) => {
|
|
4
4
|
let reason;
|
|
5
5
|
try {
|
|
6
|
-
|
|
6
|
+
let result = await client.send(new DescribeSubnetsCommand(input));
|
|
7
7
|
reason = result;
|
|
8
8
|
try {
|
|
9
|
-
|
|
9
|
+
const returnComparator = () => {
|
|
10
10
|
let flat_1 = [].concat(...result.Subnets);
|
|
11
11
|
let projection_3 = flat_1.map((element_2) => {
|
|
12
12
|
return element_2.State;
|
|
@@ -3,10 +3,10 @@ import { DescribeInstanceStatusCommand, } from "../commands/DescribeInstanceStat
|
|
|
3
3
|
const checkState = async (client, input) => {
|
|
4
4
|
let reason;
|
|
5
5
|
try {
|
|
6
|
-
|
|
6
|
+
let result = await client.send(new DescribeInstanceStatusCommand(input));
|
|
7
7
|
reason = result;
|
|
8
8
|
try {
|
|
9
|
-
|
|
9
|
+
const returnComparator = () => {
|
|
10
10
|
let flat_1 = [].concat(...result.InstanceStatuses);
|
|
11
11
|
let projection_3 = flat_1.map((element_2) => {
|
|
12
12
|
return element_2.SystemStatus.Status;
|
|
@@ -3,10 +3,10 @@ import { DescribeVolumesCommand } from "../commands/DescribeVolumesCommand";
|
|
|
3
3
|
const checkState = async (client, input) => {
|
|
4
4
|
let reason;
|
|
5
5
|
try {
|
|
6
|
-
|
|
6
|
+
let result = await client.send(new DescribeVolumesCommand(input));
|
|
7
7
|
reason = result;
|
|
8
8
|
try {
|
|
9
|
-
|
|
9
|
+
const returnComparator = () => {
|
|
10
10
|
let flat_1 = [].concat(...result.Volumes);
|
|
11
11
|
let projection_3 = flat_1.map((element_2) => {
|
|
12
12
|
return element_2.State;
|
|
@@ -23,7 +23,7 @@ const checkState = async (client, input) => {
|
|
|
23
23
|
}
|
|
24
24
|
catch (e) { }
|
|
25
25
|
try {
|
|
26
|
-
|
|
26
|
+
const returnComparator = () => {
|
|
27
27
|
let flat_1 = [].concat(...result.Volumes);
|
|
28
28
|
let projection_3 = flat_1.map((element_2) => {
|
|
29
29
|
return element_2.State;
|
|
@@ -3,10 +3,10 @@ import { DescribeVolumesCommand } from "../commands/DescribeVolumesCommand";
|
|
|
3
3
|
const checkState = async (client, input) => {
|
|
4
4
|
let reason;
|
|
5
5
|
try {
|
|
6
|
-
|
|
6
|
+
let result = await client.send(new DescribeVolumesCommand(input));
|
|
7
7
|
reason = result;
|
|
8
8
|
try {
|
|
9
|
-
|
|
9
|
+
const returnComparator = () => {
|
|
10
10
|
let flat_1 = [].concat(...result.Volumes);
|
|
11
11
|
let projection_3 = flat_1.map((element_2) => {
|
|
12
12
|
return element_2.State;
|
|
@@ -3,10 +3,10 @@ import { DescribeVolumesCommand } from "../commands/DescribeVolumesCommand";
|
|
|
3
3
|
const checkState = async (client, input) => {
|
|
4
4
|
let reason;
|
|
5
5
|
try {
|
|
6
|
-
|
|
6
|
+
let result = await client.send(new DescribeVolumesCommand(input));
|
|
7
7
|
reason = result;
|
|
8
8
|
try {
|
|
9
|
-
|
|
9
|
+
const returnComparator = () => {
|
|
10
10
|
let flat_1 = [].concat(...result.Volumes);
|
|
11
11
|
let projection_3 = flat_1.map((element_2) => {
|
|
12
12
|
return element_2.State;
|
|
@@ -23,7 +23,7 @@ const checkState = async (client, input) => {
|
|
|
23
23
|
}
|
|
24
24
|
catch (e) { }
|
|
25
25
|
try {
|
|
26
|
-
|
|
26
|
+
const returnComparator = () => {
|
|
27
27
|
let flat_1 = [].concat(...result.Volumes);
|
|
28
28
|
let projection_3 = flat_1.map((element_2) => {
|
|
29
29
|
return element_2.State;
|
|
@@ -3,10 +3,10 @@ import { DescribeVpcsCommand } from "../commands/DescribeVpcsCommand";
|
|
|
3
3
|
const checkState = async (client, input) => {
|
|
4
4
|
let reason;
|
|
5
5
|
try {
|
|
6
|
-
|
|
6
|
+
let result = await client.send(new DescribeVpcsCommand(input));
|
|
7
7
|
reason = result;
|
|
8
8
|
try {
|
|
9
|
-
|
|
9
|
+
const returnComparator = () => {
|
|
10
10
|
let flat_1 = [].concat(...result.Vpcs);
|
|
11
11
|
let projection_3 = flat_1.map((element_2) => {
|
|
12
12
|
return element_2.State;
|
|
@@ -3,7 +3,7 @@ import { DescribeVpcsCommand } from "../commands/DescribeVpcsCommand";
|
|
|
3
3
|
const checkState = async (client, input) => {
|
|
4
4
|
let reason;
|
|
5
5
|
try {
|
|
6
|
-
|
|
6
|
+
let result = await client.send(new DescribeVpcsCommand(input));
|
|
7
7
|
reason = result;
|
|
8
8
|
return { state: WaiterState.SUCCESS, reason };
|
|
9
9
|
}
|
|
@@ -3,10 +3,10 @@ import { DescribeVpcPeeringConnectionsCommand, } from "../commands/DescribeVpcPe
|
|
|
3
3
|
const checkState = async (client, input) => {
|
|
4
4
|
let reason;
|
|
5
5
|
try {
|
|
6
|
-
|
|
6
|
+
let result = await client.send(new DescribeVpcPeeringConnectionsCommand(input));
|
|
7
7
|
reason = result;
|
|
8
8
|
try {
|
|
9
|
-
|
|
9
|
+
const returnComparator = () => {
|
|
10
10
|
let flat_1 = [].concat(...result.VpcPeeringConnections);
|
|
11
11
|
let projection_3 = flat_1.map((element_2) => {
|
|
12
12
|
return element_2.Status.Code;
|
|
@@ -3,7 +3,7 @@ import { DescribeVpcPeeringConnectionsCommand, } from "../commands/DescribeVpcPe
|
|
|
3
3
|
const checkState = async (client, input) => {
|
|
4
4
|
let reason;
|
|
5
5
|
try {
|
|
6
|
-
|
|
6
|
+
let result = await client.send(new DescribeVpcPeeringConnectionsCommand(input));
|
|
7
7
|
reason = result;
|
|
8
8
|
return { state: WaiterState.SUCCESS, reason };
|
|
9
9
|
}
|
|
@@ -3,10 +3,10 @@ import { DescribeVpnConnectionsCommand, } from "../commands/DescribeVpnConnectio
|
|
|
3
3
|
const checkState = async (client, input) => {
|
|
4
4
|
let reason;
|
|
5
5
|
try {
|
|
6
|
-
|
|
6
|
+
let result = await client.send(new DescribeVpnConnectionsCommand(input));
|
|
7
7
|
reason = result;
|
|
8
8
|
try {
|
|
9
|
-
|
|
9
|
+
const returnComparator = () => {
|
|
10
10
|
let flat_1 = [].concat(...result.VpnConnections);
|
|
11
11
|
let projection_3 = flat_1.map((element_2) => {
|
|
12
12
|
return element_2.State;
|
|
@@ -23,7 +23,7 @@ const checkState = async (client, input) => {
|
|
|
23
23
|
}
|
|
24
24
|
catch (e) { }
|
|
25
25
|
try {
|
|
26
|
-
|
|
26
|
+
const returnComparator = () => {
|
|
27
27
|
let flat_1 = [].concat(...result.VpnConnections);
|
|
28
28
|
let projection_3 = flat_1.map((element_2) => {
|
|
29
29
|
return element_2.State;
|
|
@@ -38,7 +38,7 @@ const checkState = async (client, input) => {
|
|
|
38
38
|
}
|
|
39
39
|
catch (e) { }
|
|
40
40
|
try {
|
|
41
|
-
|
|
41
|
+
const returnComparator = () => {
|
|
42
42
|
let flat_1 = [].concat(...result.VpnConnections);
|
|
43
43
|
let projection_3 = flat_1.map((element_2) => {
|
|
44
44
|
return element_2.State;
|
|
@@ -3,10 +3,10 @@ import { DescribeVpnConnectionsCommand, } from "../commands/DescribeVpnConnectio
|
|
|
3
3
|
const checkState = async (client, input) => {
|
|
4
4
|
let reason;
|
|
5
5
|
try {
|
|
6
|
-
|
|
6
|
+
let result = await client.send(new DescribeVpnConnectionsCommand(input));
|
|
7
7
|
reason = result;
|
|
8
8
|
try {
|
|
9
|
-
|
|
9
|
+
const returnComparator = () => {
|
|
10
10
|
let flat_1 = [].concat(...result.VpnConnections);
|
|
11
11
|
let projection_3 = flat_1.map((element_2) => {
|
|
12
12
|
return element_2.State;
|
|
@@ -23,7 +23,7 @@ const checkState = async (client, input) => {
|
|
|
23
23
|
}
|
|
24
24
|
catch (e) { }
|
|
25
25
|
try {
|
|
26
|
-
|
|
26
|
+
const returnComparator = () => {
|
|
27
27
|
let flat_1 = [].concat(...result.VpnConnections);
|
|
28
28
|
let projection_3 = flat_1.map((element_2) => {
|
|
29
29
|
return element_2.State;
|
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.962.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-ec2",
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
24
24
|
"@aws-sdk/core": "3.957.0",
|
|
25
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
25
|
+
"@aws-sdk/credential-provider-node": "3.962.0",
|
|
26
26
|
"@aws-sdk/middleware-host-header": "3.957.0",
|
|
27
27
|
"@aws-sdk/middleware-logger": "3.957.0",
|
|
28
28
|
"@aws-sdk/middleware-recursion-detection": "3.957.0",
|