@jjrawlins/cdk-ami-builder 0.0.117 → 0.0.119
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/.jsii +11 -11
- package/cdkamibuilder/jsii/jsii.go +2 -2
- package/cdkamibuilder/version +1 -1
- package/lib/ImagePipeline/ImagePipeline.js +1 -1
- package/lib/Lambdas/CheckStateMachineStatus/CheckStateMachineStatus-function.js +1 -1
- package/lib/Lambdas/StartStateMachine/StartStateMachine-function.js +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-cjs/index.js +112 -112
- package/node_modules/@aws-sdk/client-ec2/dist-es/waiters/waitForBundleTaskComplete.js +3 -3
- package/node_modules/@aws-sdk/client-ec2/dist-es/waiters/waitForConversionTaskCancelled.js +2 -2
- package/node_modules/@aws-sdk/client-ec2/dist-es/waiters/waitForConversionTaskCompleted.js +4 -4
- package/node_modules/@aws-sdk/client-ec2/dist-es/waiters/waitForConversionTaskDeleted.js +2 -2
- package/node_modules/@aws-sdk/client-ec2/dist-es/waiters/waitForCustomerGatewayAvailable.js +4 -4
- package/node_modules/@aws-sdk/client-ec2/dist-es/waiters/waitForExportTaskCancelled.js +2 -2
- package/node_modules/@aws-sdk/client-ec2/dist-es/waiters/waitForExportTaskCompleted.js +2 -2
- package/node_modules/@aws-sdk/client-ec2/dist-es/waiters/waitForImageAvailable.js +3 -3
- package/node_modules/@aws-sdk/client-ec2/dist-es/waiters/waitForImageExists.js +2 -2
- package/node_modules/@aws-sdk/client-ec2/dist-es/waiters/waitForImageUsageReportAvailable.js +3 -3
- package/node_modules/@aws-sdk/client-ec2/dist-es/waiters/waitForInstanceExists.js +2 -2
- package/node_modules/@aws-sdk/client-ec2/dist-es/waiters/waitForInstanceRunning.js +5 -5
- package/node_modules/@aws-sdk/client-ec2/dist-es/waiters/waitForInstanceStatusOk.js +2 -2
- package/node_modules/@aws-sdk/client-ec2/dist-es/waiters/waitForInstanceStopped.js +4 -4
- package/node_modules/@aws-sdk/client-ec2/dist-es/waiters/waitForInstanceTerminated.js +4 -4
- package/node_modules/@aws-sdk/client-ec2/dist-es/waiters/waitForInternetGatewayExists.js +2 -2
- package/node_modules/@aws-sdk/client-ec2/dist-es/waiters/waitForKeyPairExists.js +2 -2
- package/node_modules/@aws-sdk/client-ec2/dist-es/waiters/waitForNatGatewayAvailable.js +5 -5
- package/node_modules/@aws-sdk/client-ec2/dist-es/waiters/waitForNatGatewayDeleted.js +2 -2
- package/node_modules/@aws-sdk/client-ec2/dist-es/waiters/waitForNetworkInterfaceAvailable.js +2 -2
- package/node_modules/@aws-sdk/client-ec2/dist-es/waiters/waitForPasswordDataAvailable.js +2 -2
- package/node_modules/@aws-sdk/client-ec2/dist-es/waiters/waitForSecurityGroupExists.js +2 -2
- package/node_modules/@aws-sdk/client-ec2/dist-es/waiters/waitForSecurityGroupVpcAssociationAssociated.js +4 -4
- package/node_modules/@aws-sdk/client-ec2/dist-es/waiters/waitForSecurityGroupVpcAssociationDisassociated.js +5 -5
- package/node_modules/@aws-sdk/client-ec2/dist-es/waiters/waitForSnapshotCompleted.js +3 -3
- package/node_modules/@aws-sdk/client-ec2/dist-es/waiters/waitForSnapshotImported.js +3 -3
- package/node_modules/@aws-sdk/client-ec2/dist-es/waiters/waitForSpotInstanceRequestFulfilled.js +7 -7
- package/node_modules/@aws-sdk/client-ec2/dist-es/waiters/waitForStoreImageTaskComplete.js +4 -4
- package/node_modules/@aws-sdk/client-ec2/dist-es/waiters/waitForSubnetAvailable.js +2 -2
- package/node_modules/@aws-sdk/client-ec2/dist-es/waiters/waitForSystemStatusOk.js +2 -2
- package/node_modules/@aws-sdk/client-ec2/dist-es/waiters/waitForVolumeAvailable.js +3 -3
- package/node_modules/@aws-sdk/client-ec2/dist-es/waiters/waitForVolumeDeleted.js +2 -2
- package/node_modules/@aws-sdk/client-ec2/dist-es/waiters/waitForVolumeInUse.js +3 -3
- package/node_modules/@aws-sdk/client-ec2/dist-es/waiters/waitForVpcAvailable.js +2 -2
- package/node_modules/@aws-sdk/client-ec2/dist-es/waiters/waitForVpcExists.js +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-es/waiters/waitForVpcPeeringConnectionDeleted.js +2 -2
- package/node_modules/@aws-sdk/client-ec2/dist-es/waiters/waitForVpcPeeringConnectionExists.js +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-es/waiters/waitForVpnConnectionAvailable.js +4 -4
- package/node_modules/@aws-sdk/client-ec2/dist-es/waiters/waitForVpnConnectionDeleted.js +3 -3
- package/node_modules/@aws-sdk/client-ec2/package.json +2 -2
- package/node_modules/@aws-sdk/client-ecs/dist-cjs/index.js +14 -14
- package/node_modules/@aws-sdk/client-ecs/dist-es/waiters/waitForServicesInactive.js +3 -3
- package/node_modules/@aws-sdk/client-ecs/dist-es/waiters/waitForServicesStable.js +5 -5
- package/node_modules/@aws-sdk/client-ecs/dist-es/waiters/waitForTasksRunning.js +4 -4
- package/node_modules/@aws-sdk/client-ecs/dist-es/waiters/waitForTasksStopped.js +2 -2
- package/node_modules/@aws-sdk/client-ecs/package.json +2 -2
- package/node_modules/@aws-sdk/client-kms/package.json +2 -2
- package/node_modules/@aws-sdk/client-s3/dist-cjs/index.js +4 -4
- package/node_modules/@aws-sdk/client-s3/dist-es/waiters/waitForBucketExists.js +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-es/waiters/waitForBucketNotExists.js +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-es/waiters/waitForObjectExists.js +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-es/waiters/waitForObjectNotExists.js +1 -1
- package/node_modules/@aws-sdk/client-s3/package.json +2 -2
- package/node_modules/@aws-sdk/client-secrets-manager/package.json +2 -2
- package/node_modules/@aws-sdk/client-sfn/package.json +2 -2
- package/node_modules/@aws-sdk/client-sns/package.json +2 -2
- package/node_modules/@aws-sdk/client-sqs/package.json +2 -2
- package/node_modules/@aws-sdk/client-ssm/dist-cjs/index.js +9 -9
- package/node_modules/@aws-sdk/client-ssm/dist-es/waiters/waitForCommandExecuted.js +9 -9
- package/node_modules/@aws-sdk/client-ssm/package.json +2 -2
- package/node_modules/@aws-sdk/credential-provider-ini/package.json +2 -2
- package/node_modules/@aws-sdk/credential-provider-login/package.json +1 -1
- package/node_modules/@aws-sdk/credential-provider-node/package.json +2 -2
- package/package.json +10 -10
|
@@ -3,10 +3,10 @@ import { DescribeBundleTasksCommand } from "../commands/DescribeBundleTasksComma
|
|
|
3
3
|
const checkState = async (client, input) => {
|
|
4
4
|
let reason;
|
|
5
5
|
try {
|
|
6
|
-
|
|
6
|
+
let result = await client.send(new DescribeBundleTasksCommand(input));
|
|
7
7
|
reason = result;
|
|
8
8
|
try {
|
|
9
|
-
|
|
9
|
+
const returnComparator = () => {
|
|
10
10
|
let flat_1 = [].concat(...result.BundleTasks);
|
|
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.BundleTasks);
|
|
28
28
|
let projection_3 = flat_1.map((element_2) => {
|
|
29
29
|
return element_2.State;
|
|
@@ -3,10 +3,10 @@ import { DescribeConversionTasksCommand, } from "../commands/DescribeConversionT
|
|
|
3
3
|
const checkState = async (client, input) => {
|
|
4
4
|
let reason;
|
|
5
5
|
try {
|
|
6
|
-
|
|
6
|
+
let result = await client.send(new DescribeConversionTasksCommand(input));
|
|
7
7
|
reason = result;
|
|
8
8
|
try {
|
|
9
|
-
|
|
9
|
+
const returnComparator = () => {
|
|
10
10
|
let flat_1 = [].concat(...result.ConversionTasks);
|
|
11
11
|
let projection_3 = flat_1.map((element_2) => {
|
|
12
12
|
return element_2.State;
|
|
@@ -3,10 +3,10 @@ import { DescribeConversionTasksCommand, } from "../commands/DescribeConversionT
|
|
|
3
3
|
const checkState = async (client, input) => {
|
|
4
4
|
let reason;
|
|
5
5
|
try {
|
|
6
|
-
|
|
6
|
+
let result = await client.send(new DescribeConversionTasksCommand(input));
|
|
7
7
|
reason = result;
|
|
8
8
|
try {
|
|
9
|
-
|
|
9
|
+
const returnComparator = () => {
|
|
10
10
|
let flat_1 = [].concat(...result.ConversionTasks);
|
|
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.ConversionTasks);
|
|
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.ConversionTasks);
|
|
43
43
|
let projection_3 = flat_1.map((element_2) => {
|
|
44
44
|
return element_2.State;
|
|
@@ -3,10 +3,10 @@ import { DescribeConversionTasksCommand, } from "../commands/DescribeConversionT
|
|
|
3
3
|
const checkState = async (client, input) => {
|
|
4
4
|
let reason;
|
|
5
5
|
try {
|
|
6
|
-
|
|
6
|
+
let result = await client.send(new DescribeConversionTasksCommand(input));
|
|
7
7
|
reason = result;
|
|
8
8
|
try {
|
|
9
|
-
|
|
9
|
+
const returnComparator = () => {
|
|
10
10
|
let flat_1 = [].concat(...result.ConversionTasks);
|
|
11
11
|
let projection_3 = flat_1.map((element_2) => {
|
|
12
12
|
return element_2.State;
|
|
@@ -3,10 +3,10 @@ import { DescribeCustomerGatewaysCommand, } from "../commands/DescribeCustomerGa
|
|
|
3
3
|
const checkState = async (client, input) => {
|
|
4
4
|
let reason;
|
|
5
5
|
try {
|
|
6
|
-
|
|
6
|
+
let result = await client.send(new DescribeCustomerGatewaysCommand(input));
|
|
7
7
|
reason = result;
|
|
8
8
|
try {
|
|
9
|
-
|
|
9
|
+
const returnComparator = () => {
|
|
10
10
|
let flat_1 = [].concat(...result.CustomerGateways);
|
|
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.CustomerGateways);
|
|
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.CustomerGateways);
|
|
43
43
|
let projection_3 = flat_1.map((element_2) => {
|
|
44
44
|
return element_2.State;
|
|
@@ -3,10 +3,10 @@ import { DescribeExportTasksCommand } from "../commands/DescribeExportTasksComma
|
|
|
3
3
|
const checkState = async (client, input) => {
|
|
4
4
|
let reason;
|
|
5
5
|
try {
|
|
6
|
-
|
|
6
|
+
let result = await client.send(new DescribeExportTasksCommand(input));
|
|
7
7
|
reason = result;
|
|
8
8
|
try {
|
|
9
|
-
|
|
9
|
+
const returnComparator = () => {
|
|
10
10
|
let flat_1 = [].concat(...result.ExportTasks);
|
|
11
11
|
let projection_3 = flat_1.map((element_2) => {
|
|
12
12
|
return element_2.State;
|
|
@@ -3,10 +3,10 @@ import { DescribeExportTasksCommand } from "../commands/DescribeExportTasksComma
|
|
|
3
3
|
const checkState = async (client, input) => {
|
|
4
4
|
let reason;
|
|
5
5
|
try {
|
|
6
|
-
|
|
6
|
+
let result = await client.send(new DescribeExportTasksCommand(input));
|
|
7
7
|
reason = result;
|
|
8
8
|
try {
|
|
9
|
-
|
|
9
|
+
const returnComparator = () => {
|
|
10
10
|
let flat_1 = [].concat(...result.ExportTasks);
|
|
11
11
|
let projection_3 = flat_1.map((element_2) => {
|
|
12
12
|
return element_2.State;
|
|
@@ -3,10 +3,10 @@ import { DescribeImagesCommand } from "../commands/DescribeImagesCommand";
|
|
|
3
3
|
const checkState = async (client, input) => {
|
|
4
4
|
let reason;
|
|
5
5
|
try {
|
|
6
|
-
|
|
6
|
+
let result = await client.send(new DescribeImagesCommand(input));
|
|
7
7
|
reason = result;
|
|
8
8
|
try {
|
|
9
|
-
|
|
9
|
+
const returnComparator = () => {
|
|
10
10
|
let flat_1 = [].concat(...result.Images);
|
|
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.Images);
|
|
28
28
|
let projection_3 = flat_1.map((element_2) => {
|
|
29
29
|
return element_2.State;
|
|
@@ -3,10 +3,10 @@ import { DescribeImagesCommand } from "../commands/DescribeImagesCommand";
|
|
|
3
3
|
const checkState = async (client, input) => {
|
|
4
4
|
let reason;
|
|
5
5
|
try {
|
|
6
|
-
|
|
6
|
+
let result = await client.send(new DescribeImagesCommand(input));
|
|
7
7
|
reason = result;
|
|
8
8
|
try {
|
|
9
|
-
|
|
9
|
+
const returnComparator = () => {
|
|
10
10
|
let flat_1 = [].concat(...result.Images);
|
|
11
11
|
return (flat_1.length > 0.0);
|
|
12
12
|
};
|
package/node_modules/@aws-sdk/client-ec2/dist-es/waiters/waitForImageUsageReportAvailable.js
CHANGED
|
@@ -3,10 +3,10 @@ import { DescribeImageUsageReportsCommand, } from "../commands/DescribeImageUsag
|
|
|
3
3
|
const checkState = async (client, input) => {
|
|
4
4
|
let reason;
|
|
5
5
|
try {
|
|
6
|
-
|
|
6
|
+
let result = await client.send(new DescribeImageUsageReportsCommand(input));
|
|
7
7
|
reason = result;
|
|
8
8
|
try {
|
|
9
|
-
|
|
9
|
+
const returnComparator = () => {
|
|
10
10
|
let flat_1 = [].concat(...result.ImageUsageReports);
|
|
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.ImageUsageReports);
|
|
28
28
|
let projection_3 = flat_1.map((element_2) => {
|
|
29
29
|
return element_2.State;
|
|
@@ -3,10 +3,10 @@ import { DescribeInstancesCommand } from "../commands/DescribeInstancesCommand";
|
|
|
3
3
|
const checkState = async (client, input) => {
|
|
4
4
|
let reason;
|
|
5
5
|
try {
|
|
6
|
-
|
|
6
|
+
let result = await client.send(new DescribeInstancesCommand(input));
|
|
7
7
|
reason = result;
|
|
8
8
|
try {
|
|
9
|
-
|
|
9
|
+
const returnComparator = () => {
|
|
10
10
|
let flat_1 = [].concat(...result.Reservations);
|
|
11
11
|
return (flat_1.length > 0.0);
|
|
12
12
|
};
|
|
@@ -3,10 +3,10 @@ import { DescribeInstancesCommand } from "../commands/DescribeInstancesCommand";
|
|
|
3
3
|
const checkState = async (client, input) => {
|
|
4
4
|
let reason;
|
|
5
5
|
try {
|
|
6
|
-
|
|
6
|
+
let result = await client.send(new DescribeInstancesCommand(input));
|
|
7
7
|
reason = result;
|
|
8
8
|
try {
|
|
9
|
-
|
|
9
|
+
const returnComparator = () => {
|
|
10
10
|
let flat_1 = [].concat(...result.Reservations);
|
|
11
11
|
let projection_3 = flat_1.map((element_2) => {
|
|
12
12
|
return element_2.Instances;
|
|
@@ -27,7 +27,7 @@ const checkState = async (client, input) => {
|
|
|
27
27
|
}
|
|
28
28
|
catch (e) { }
|
|
29
29
|
try {
|
|
30
|
-
|
|
30
|
+
const returnComparator = () => {
|
|
31
31
|
let flat_1 = [].concat(...result.Reservations);
|
|
32
32
|
let projection_3 = flat_1.map((element_2) => {
|
|
33
33
|
return element_2.Instances;
|
|
@@ -46,7 +46,7 @@ const checkState = async (client, input) => {
|
|
|
46
46
|
}
|
|
47
47
|
catch (e) { }
|
|
48
48
|
try {
|
|
49
|
-
|
|
49
|
+
const returnComparator = () => {
|
|
50
50
|
let flat_1 = [].concat(...result.Reservations);
|
|
51
51
|
let projection_3 = flat_1.map((element_2) => {
|
|
52
52
|
return element_2.Instances;
|
|
@@ -65,7 +65,7 @@ const checkState = async (client, input) => {
|
|
|
65
65
|
}
|
|
66
66
|
catch (e) { }
|
|
67
67
|
try {
|
|
68
|
-
|
|
68
|
+
const returnComparator = () => {
|
|
69
69
|
let flat_1 = [].concat(...result.Reservations);
|
|
70
70
|
let projection_3 = flat_1.map((element_2) => {
|
|
71
71
|
return element_2.Instances;
|
|
@@ -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.InstanceStatus.Status;
|
|
@@ -3,10 +3,10 @@ import { DescribeInstancesCommand } from "../commands/DescribeInstancesCommand";
|
|
|
3
3
|
const checkState = async (client, input) => {
|
|
4
4
|
let reason;
|
|
5
5
|
try {
|
|
6
|
-
|
|
6
|
+
let result = await client.send(new DescribeInstancesCommand(input));
|
|
7
7
|
reason = result;
|
|
8
8
|
try {
|
|
9
|
-
|
|
9
|
+
const returnComparator = () => {
|
|
10
10
|
let flat_1 = [].concat(...result.Reservations);
|
|
11
11
|
let projection_3 = flat_1.map((element_2) => {
|
|
12
12
|
return element_2.Instances;
|
|
@@ -27,7 +27,7 @@ const checkState = async (client, input) => {
|
|
|
27
27
|
}
|
|
28
28
|
catch (e) { }
|
|
29
29
|
try {
|
|
30
|
-
|
|
30
|
+
const returnComparator = () => {
|
|
31
31
|
let flat_1 = [].concat(...result.Reservations);
|
|
32
32
|
let projection_3 = flat_1.map((element_2) => {
|
|
33
33
|
return element_2.Instances;
|
|
@@ -46,7 +46,7 @@ const checkState = async (client, input) => {
|
|
|
46
46
|
}
|
|
47
47
|
catch (e) { }
|
|
48
48
|
try {
|
|
49
|
-
|
|
49
|
+
const returnComparator = () => {
|
|
50
50
|
let flat_1 = [].concat(...result.Reservations);
|
|
51
51
|
let projection_3 = flat_1.map((element_2) => {
|
|
52
52
|
return element_2.Instances;
|
|
@@ -3,10 +3,10 @@ import { DescribeInstancesCommand } from "../commands/DescribeInstancesCommand";
|
|
|
3
3
|
const checkState = async (client, input) => {
|
|
4
4
|
let reason;
|
|
5
5
|
try {
|
|
6
|
-
|
|
6
|
+
let result = await client.send(new DescribeInstancesCommand(input));
|
|
7
7
|
reason = result;
|
|
8
8
|
try {
|
|
9
|
-
|
|
9
|
+
const returnComparator = () => {
|
|
10
10
|
let flat_1 = [].concat(...result.Reservations);
|
|
11
11
|
let projection_3 = flat_1.map((element_2) => {
|
|
12
12
|
return element_2.Instances;
|
|
@@ -27,7 +27,7 @@ const checkState = async (client, input) => {
|
|
|
27
27
|
}
|
|
28
28
|
catch (e) { }
|
|
29
29
|
try {
|
|
30
|
-
|
|
30
|
+
const returnComparator = () => {
|
|
31
31
|
let flat_1 = [].concat(...result.Reservations);
|
|
32
32
|
let projection_3 = flat_1.map((element_2) => {
|
|
33
33
|
return element_2.Instances;
|
|
@@ -46,7 +46,7 @@ const checkState = async (client, input) => {
|
|
|
46
46
|
}
|
|
47
47
|
catch (e) { }
|
|
48
48
|
try {
|
|
49
|
-
|
|
49
|
+
const returnComparator = () => {
|
|
50
50
|
let flat_1 = [].concat(...result.Reservations);
|
|
51
51
|
let projection_3 = flat_1.map((element_2) => {
|
|
52
52
|
return element_2.Instances;
|
|
@@ -3,10 +3,10 @@ import { DescribeInternetGatewaysCommand, } from "../commands/DescribeInternetGa
|
|
|
3
3
|
const checkState = async (client, input) => {
|
|
4
4
|
let reason;
|
|
5
5
|
try {
|
|
6
|
-
|
|
6
|
+
let result = await client.send(new DescribeInternetGatewaysCommand(input));
|
|
7
7
|
reason = result;
|
|
8
8
|
try {
|
|
9
|
-
|
|
9
|
+
const returnComparator = () => {
|
|
10
10
|
let flat_1 = [].concat(...result.InternetGateways);
|
|
11
11
|
let projection_3 = flat_1.map((element_2) => {
|
|
12
12
|
return element_2.InternetGatewayId;
|
|
@@ -3,10 +3,10 @@ import { DescribeKeyPairsCommand } from "../commands/DescribeKeyPairsCommand";
|
|
|
3
3
|
const checkState = async (client, input) => {
|
|
4
4
|
let reason;
|
|
5
5
|
try {
|
|
6
|
-
|
|
6
|
+
let result = await client.send(new DescribeKeyPairsCommand(input));
|
|
7
7
|
reason = result;
|
|
8
8
|
try {
|
|
9
|
-
|
|
9
|
+
const returnComparator = () => {
|
|
10
10
|
let flat_1 = [].concat(...result.KeyPairs);
|
|
11
11
|
let projection_3 = flat_1.map((element_2) => {
|
|
12
12
|
return element_2.KeyName;
|
|
@@ -3,10 +3,10 @@ import { DescribeNatGatewaysCommand } from "../commands/DescribeNatGatewaysComma
|
|
|
3
3
|
const checkState = async (client, input) => {
|
|
4
4
|
let reason;
|
|
5
5
|
try {
|
|
6
|
-
|
|
6
|
+
let result = await client.send(new DescribeNatGatewaysCommand(input));
|
|
7
7
|
reason = result;
|
|
8
8
|
try {
|
|
9
|
-
|
|
9
|
+
const returnComparator = () => {
|
|
10
10
|
let flat_1 = [].concat(...result.NatGateways);
|
|
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.NatGateways);
|
|
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.NatGateways);
|
|
43
43
|
let projection_3 = flat_1.map((element_2) => {
|
|
44
44
|
return element_2.State;
|
|
@@ -53,7 +53,7 @@ const checkState = async (client, input) => {
|
|
|
53
53
|
}
|
|
54
54
|
catch (e) { }
|
|
55
55
|
try {
|
|
56
|
-
|
|
56
|
+
const returnComparator = () => {
|
|
57
57
|
let flat_1 = [].concat(...result.NatGateways);
|
|
58
58
|
let projection_3 = flat_1.map((element_2) => {
|
|
59
59
|
return element_2.State;
|
|
@@ -3,10 +3,10 @@ import { DescribeNatGatewaysCommand } from "../commands/DescribeNatGatewaysComma
|
|
|
3
3
|
const checkState = async (client, input) => {
|
|
4
4
|
let reason;
|
|
5
5
|
try {
|
|
6
|
-
|
|
6
|
+
let result = await client.send(new DescribeNatGatewaysCommand(input));
|
|
7
7
|
reason = result;
|
|
8
8
|
try {
|
|
9
|
-
|
|
9
|
+
const returnComparator = () => {
|
|
10
10
|
let flat_1 = [].concat(...result.NatGateways);
|
|
11
11
|
let projection_3 = flat_1.map((element_2) => {
|
|
12
12
|
return element_2.State;
|
package/node_modules/@aws-sdk/client-ec2/dist-es/waiters/waitForNetworkInterfaceAvailable.js
CHANGED
|
@@ -3,10 +3,10 @@ import { DescribeNetworkInterfacesCommand, } from "../commands/DescribeNetworkIn
|
|
|
3
3
|
const checkState = async (client, input) => {
|
|
4
4
|
let reason;
|
|
5
5
|
try {
|
|
6
|
-
|
|
6
|
+
let result = await client.send(new DescribeNetworkInterfacesCommand(input));
|
|
7
7
|
reason = result;
|
|
8
8
|
try {
|
|
9
|
-
|
|
9
|
+
const returnComparator = () => {
|
|
10
10
|
let flat_1 = [].concat(...result.NetworkInterfaces);
|
|
11
11
|
let projection_3 = flat_1.map((element_2) => {
|
|
12
12
|
return element_2.Status;
|
|
@@ -3,10 +3,10 @@ import { GetPasswordDataCommand } from "../commands/GetPasswordDataCommand";
|
|
|
3
3
|
const checkState = async (client, input) => {
|
|
4
4
|
let reason;
|
|
5
5
|
try {
|
|
6
|
-
|
|
6
|
+
let result = await client.send(new GetPasswordDataCommand(input));
|
|
7
7
|
reason = result;
|
|
8
8
|
try {
|
|
9
|
-
|
|
9
|
+
const returnComparator = () => {
|
|
10
10
|
return (result.PasswordData.length > 0.0);
|
|
11
11
|
};
|
|
12
12
|
if (returnComparator() == true) {
|
|
@@ -3,10 +3,10 @@ import { DescribeSecurityGroupsCommand, } from "../commands/DescribeSecurityGrou
|
|
|
3
3
|
const checkState = async (client, input) => {
|
|
4
4
|
let reason;
|
|
5
5
|
try {
|
|
6
|
-
|
|
6
|
+
let result = await client.send(new DescribeSecurityGroupsCommand(input));
|
|
7
7
|
reason = result;
|
|
8
8
|
try {
|
|
9
|
-
|
|
9
|
+
const returnComparator = () => {
|
|
10
10
|
let flat_1 = [].concat(...result.SecurityGroups);
|
|
11
11
|
let projection_3 = flat_1.map((element_2) => {
|
|
12
12
|
return element_2.GroupId;
|
|
@@ -3,10 +3,10 @@ import { DescribeSecurityGroupVpcAssociationsCommand, } from "../commands/Descri
|
|
|
3
3
|
const checkState = async (client, input) => {
|
|
4
4
|
let reason;
|
|
5
5
|
try {
|
|
6
|
-
|
|
6
|
+
let result = await client.send(new DescribeSecurityGroupVpcAssociationsCommand(input));
|
|
7
7
|
reason = result;
|
|
8
8
|
try {
|
|
9
|
-
|
|
9
|
+
const returnComparator = () => {
|
|
10
10
|
let flat_1 = [].concat(...result.SecurityGroupVpcAssociations);
|
|
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.SecurityGroupVpcAssociations);
|
|
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.SecurityGroupVpcAssociations);
|
|
43
43
|
let projection_3 = flat_1.map((element_2) => {
|
|
44
44
|
return element_2.State;
|
|
@@ -3,10 +3,10 @@ import { DescribeSecurityGroupVpcAssociationsCommand, } from "../commands/Descri
|
|
|
3
3
|
const checkState = async (client, input) => {
|
|
4
4
|
let reason;
|
|
5
5
|
try {
|
|
6
|
-
|
|
6
|
+
let result = await client.send(new DescribeSecurityGroupVpcAssociationsCommand(input));
|
|
7
7
|
reason = result;
|
|
8
8
|
try {
|
|
9
|
-
|
|
9
|
+
const returnComparator = () => {
|
|
10
10
|
let flat_1 = [].concat(...result.SecurityGroupVpcAssociations);
|
|
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.SecurityGroupVpcAssociations);
|
|
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.SecurityGroupVpcAssociations);
|
|
43
43
|
let projection_3 = flat_1.map((element_2) => {
|
|
44
44
|
return element_2.State;
|
|
@@ -53,7 +53,7 @@ const checkState = async (client, input) => {
|
|
|
53
53
|
}
|
|
54
54
|
catch (e) { }
|
|
55
55
|
try {
|
|
56
|
-
|
|
56
|
+
const returnComparator = () => {
|
|
57
57
|
let flat_1 = [].concat(...result.SecurityGroupVpcAssociations);
|
|
58
58
|
return (flat_1.length == 0.0);
|
|
59
59
|
};
|
|
@@ -3,10 +3,10 @@ import { DescribeSnapshotsCommand } from "../commands/DescribeSnapshotsCommand";
|
|
|
3
3
|
const checkState = async (client, input) => {
|
|
4
4
|
let reason;
|
|
5
5
|
try {
|
|
6
|
-
|
|
6
|
+
let result = await client.send(new DescribeSnapshotsCommand(input));
|
|
7
7
|
reason = result;
|
|
8
8
|
try {
|
|
9
|
-
|
|
9
|
+
const returnComparator = () => {
|
|
10
10
|
let flat_1 = [].concat(...result.Snapshots);
|
|
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.Snapshots);
|
|
28
28
|
let projection_3 = flat_1.map((element_2) => {
|
|
29
29
|
return element_2.State;
|
|
@@ -3,10 +3,10 @@ import { DescribeImportSnapshotTasksCommand, } from "../commands/DescribeImportS
|
|
|
3
3
|
const checkState = async (client, input) => {
|
|
4
4
|
let reason;
|
|
5
5
|
try {
|
|
6
|
-
|
|
6
|
+
let result = await client.send(new DescribeImportSnapshotTasksCommand(input));
|
|
7
7
|
reason = result;
|
|
8
8
|
try {
|
|
9
|
-
|
|
9
|
+
const returnComparator = () => {
|
|
10
10
|
let flat_1 = [].concat(...result.ImportSnapshotTasks);
|
|
11
11
|
let projection_3 = flat_1.map((element_2) => {
|
|
12
12
|
return element_2.SnapshotTaskDetail.Status;
|
|
@@ -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.ImportSnapshotTasks);
|
|
28
28
|
let projection_3 = flat_1.map((element_2) => {
|
|
29
29
|
return element_2.SnapshotTaskDetail.Status;
|
package/node_modules/@aws-sdk/client-ec2/dist-es/waiters/waitForSpotInstanceRequestFulfilled.js
CHANGED
|
@@ -3,10 +3,10 @@ import { DescribeSpotInstanceRequestsCommand, } from "../commands/DescribeSpotIn
|
|
|
3
3
|
const checkState = async (client, input) => {
|
|
4
4
|
let reason;
|
|
5
5
|
try {
|
|
6
|
-
|
|
6
|
+
let result = await client.send(new DescribeSpotInstanceRequestsCommand(input));
|
|
7
7
|
reason = result;
|
|
8
8
|
try {
|
|
9
|
-
|
|
9
|
+
const returnComparator = () => {
|
|
10
10
|
let flat_1 = [].concat(...result.SpotInstanceRequests);
|
|
11
11
|
let projection_3 = flat_1.map((element_2) => {
|
|
12
12
|
return element_2.Status.Code;
|
|
@@ -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.SpotInstanceRequests);
|
|
28
28
|
let projection_3 = flat_1.map((element_2) => {
|
|
29
29
|
return element_2.Status.Code;
|
|
@@ -40,7 +40,7 @@ const checkState = async (client, input) => {
|
|
|
40
40
|
}
|
|
41
41
|
catch (e) { }
|
|
42
42
|
try {
|
|
43
|
-
|
|
43
|
+
const returnComparator = () => {
|
|
44
44
|
let flat_1 = [].concat(...result.SpotInstanceRequests);
|
|
45
45
|
let projection_3 = flat_1.map((element_2) => {
|
|
46
46
|
return element_2.Status.Code;
|
|
@@ -55,7 +55,7 @@ const checkState = async (client, input) => {
|
|
|
55
55
|
}
|
|
56
56
|
catch (e) { }
|
|
57
57
|
try {
|
|
58
|
-
|
|
58
|
+
const returnComparator = () => {
|
|
59
59
|
let flat_1 = [].concat(...result.SpotInstanceRequests);
|
|
60
60
|
let projection_3 = flat_1.map((element_2) => {
|
|
61
61
|
return element_2.Status.Code;
|
|
@@ -70,7 +70,7 @@ const checkState = async (client, input) => {
|
|
|
70
70
|
}
|
|
71
71
|
catch (e) { }
|
|
72
72
|
try {
|
|
73
|
-
|
|
73
|
+
const returnComparator = () => {
|
|
74
74
|
let flat_1 = [].concat(...result.SpotInstanceRequests);
|
|
75
75
|
let projection_3 = flat_1.map((element_2) => {
|
|
76
76
|
return element_2.Status.Code;
|
|
@@ -85,7 +85,7 @@ const checkState = async (client, input) => {
|
|
|
85
85
|
}
|
|
86
86
|
catch (e) { }
|
|
87
87
|
try {
|
|
88
|
-
|
|
88
|
+
const returnComparator = () => {
|
|
89
89
|
let flat_1 = [].concat(...result.SpotInstanceRequests);
|
|
90
90
|
let projection_3 = flat_1.map((element_2) => {
|
|
91
91
|
return element_2.Status.Code;
|