@jjrawlins/cdk-ami-builder 0.0.118 → 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.
Files changed (71) hide show
  1. package/.jsii +11 -11
  2. package/cdkamibuilder/jsii/jsii.go +2 -2
  3. package/cdkamibuilder/version +1 -1
  4. package/lib/ImagePipeline/ImagePipeline.js +1 -1
  5. package/lib/Lambdas/CheckStateMachineStatus/CheckStateMachineStatus-function.js +1 -1
  6. package/lib/Lambdas/StartStateMachine/StartStateMachine-function.js +1 -1
  7. package/node_modules/@aws-sdk/client-ec2/dist-cjs/index.js +112 -112
  8. package/node_modules/@aws-sdk/client-ec2/dist-es/waiters/waitForBundleTaskComplete.js +3 -3
  9. package/node_modules/@aws-sdk/client-ec2/dist-es/waiters/waitForConversionTaskCancelled.js +2 -2
  10. package/node_modules/@aws-sdk/client-ec2/dist-es/waiters/waitForConversionTaskCompleted.js +4 -4
  11. package/node_modules/@aws-sdk/client-ec2/dist-es/waiters/waitForConversionTaskDeleted.js +2 -2
  12. package/node_modules/@aws-sdk/client-ec2/dist-es/waiters/waitForCustomerGatewayAvailable.js +4 -4
  13. package/node_modules/@aws-sdk/client-ec2/dist-es/waiters/waitForExportTaskCancelled.js +2 -2
  14. package/node_modules/@aws-sdk/client-ec2/dist-es/waiters/waitForExportTaskCompleted.js +2 -2
  15. package/node_modules/@aws-sdk/client-ec2/dist-es/waiters/waitForImageAvailable.js +3 -3
  16. package/node_modules/@aws-sdk/client-ec2/dist-es/waiters/waitForImageExists.js +2 -2
  17. package/node_modules/@aws-sdk/client-ec2/dist-es/waiters/waitForImageUsageReportAvailable.js +3 -3
  18. package/node_modules/@aws-sdk/client-ec2/dist-es/waiters/waitForInstanceExists.js +2 -2
  19. package/node_modules/@aws-sdk/client-ec2/dist-es/waiters/waitForInstanceRunning.js +5 -5
  20. package/node_modules/@aws-sdk/client-ec2/dist-es/waiters/waitForInstanceStatusOk.js +2 -2
  21. package/node_modules/@aws-sdk/client-ec2/dist-es/waiters/waitForInstanceStopped.js +4 -4
  22. package/node_modules/@aws-sdk/client-ec2/dist-es/waiters/waitForInstanceTerminated.js +4 -4
  23. package/node_modules/@aws-sdk/client-ec2/dist-es/waiters/waitForInternetGatewayExists.js +2 -2
  24. package/node_modules/@aws-sdk/client-ec2/dist-es/waiters/waitForKeyPairExists.js +2 -2
  25. package/node_modules/@aws-sdk/client-ec2/dist-es/waiters/waitForNatGatewayAvailable.js +5 -5
  26. package/node_modules/@aws-sdk/client-ec2/dist-es/waiters/waitForNatGatewayDeleted.js +2 -2
  27. package/node_modules/@aws-sdk/client-ec2/dist-es/waiters/waitForNetworkInterfaceAvailable.js +2 -2
  28. package/node_modules/@aws-sdk/client-ec2/dist-es/waiters/waitForPasswordDataAvailable.js +2 -2
  29. package/node_modules/@aws-sdk/client-ec2/dist-es/waiters/waitForSecurityGroupExists.js +2 -2
  30. package/node_modules/@aws-sdk/client-ec2/dist-es/waiters/waitForSecurityGroupVpcAssociationAssociated.js +4 -4
  31. package/node_modules/@aws-sdk/client-ec2/dist-es/waiters/waitForSecurityGroupVpcAssociationDisassociated.js +5 -5
  32. package/node_modules/@aws-sdk/client-ec2/dist-es/waiters/waitForSnapshotCompleted.js +3 -3
  33. package/node_modules/@aws-sdk/client-ec2/dist-es/waiters/waitForSnapshotImported.js +3 -3
  34. package/node_modules/@aws-sdk/client-ec2/dist-es/waiters/waitForSpotInstanceRequestFulfilled.js +7 -7
  35. package/node_modules/@aws-sdk/client-ec2/dist-es/waiters/waitForStoreImageTaskComplete.js +4 -4
  36. package/node_modules/@aws-sdk/client-ec2/dist-es/waiters/waitForSubnetAvailable.js +2 -2
  37. package/node_modules/@aws-sdk/client-ec2/dist-es/waiters/waitForSystemStatusOk.js +2 -2
  38. package/node_modules/@aws-sdk/client-ec2/dist-es/waiters/waitForVolumeAvailable.js +3 -3
  39. package/node_modules/@aws-sdk/client-ec2/dist-es/waiters/waitForVolumeDeleted.js +2 -2
  40. package/node_modules/@aws-sdk/client-ec2/dist-es/waiters/waitForVolumeInUse.js +3 -3
  41. package/node_modules/@aws-sdk/client-ec2/dist-es/waiters/waitForVpcAvailable.js +2 -2
  42. package/node_modules/@aws-sdk/client-ec2/dist-es/waiters/waitForVpcExists.js +1 -1
  43. package/node_modules/@aws-sdk/client-ec2/dist-es/waiters/waitForVpcPeeringConnectionDeleted.js +2 -2
  44. package/node_modules/@aws-sdk/client-ec2/dist-es/waiters/waitForVpcPeeringConnectionExists.js +1 -1
  45. package/node_modules/@aws-sdk/client-ec2/dist-es/waiters/waitForVpnConnectionAvailable.js +4 -4
  46. package/node_modules/@aws-sdk/client-ec2/dist-es/waiters/waitForVpnConnectionDeleted.js +3 -3
  47. package/node_modules/@aws-sdk/client-ec2/package.json +2 -2
  48. package/node_modules/@aws-sdk/client-ecs/dist-cjs/index.js +14 -14
  49. package/node_modules/@aws-sdk/client-ecs/dist-es/waiters/waitForServicesInactive.js +3 -3
  50. package/node_modules/@aws-sdk/client-ecs/dist-es/waiters/waitForServicesStable.js +5 -5
  51. package/node_modules/@aws-sdk/client-ecs/dist-es/waiters/waitForTasksRunning.js +4 -4
  52. package/node_modules/@aws-sdk/client-ecs/dist-es/waiters/waitForTasksStopped.js +2 -2
  53. package/node_modules/@aws-sdk/client-ecs/package.json +2 -2
  54. package/node_modules/@aws-sdk/client-kms/package.json +2 -2
  55. package/node_modules/@aws-sdk/client-s3/dist-cjs/index.js +4 -4
  56. package/node_modules/@aws-sdk/client-s3/dist-es/waiters/waitForBucketExists.js +1 -1
  57. package/node_modules/@aws-sdk/client-s3/dist-es/waiters/waitForBucketNotExists.js +1 -1
  58. package/node_modules/@aws-sdk/client-s3/dist-es/waiters/waitForObjectExists.js +1 -1
  59. package/node_modules/@aws-sdk/client-s3/dist-es/waiters/waitForObjectNotExists.js +1 -1
  60. package/node_modules/@aws-sdk/client-s3/package.json +2 -2
  61. package/node_modules/@aws-sdk/client-secrets-manager/package.json +2 -2
  62. package/node_modules/@aws-sdk/client-sfn/package.json +2 -2
  63. package/node_modules/@aws-sdk/client-sns/package.json +2 -2
  64. package/node_modules/@aws-sdk/client-sqs/package.json +2 -2
  65. package/node_modules/@aws-sdk/client-ssm/dist-cjs/index.js +9 -9
  66. package/node_modules/@aws-sdk/client-ssm/dist-es/waiters/waitForCommandExecuted.js +9 -9
  67. package/node_modules/@aws-sdk/client-ssm/package.json +2 -2
  68. package/node_modules/@aws-sdk/credential-provider-ini/package.json +2 -2
  69. package/node_modules/@aws-sdk/credential-provider-login/package.json +1 -1
  70. package/node_modules/@aws-sdk/credential-provider-node/package.json +2 -2
  71. package/package.json +10 -10
@@ -40162,10 +40162,10 @@ const paginateSearchTransitGatewayMulticastGroups = core.createPaginator(EC2Clie
40162
40162
  const checkState$C = async (client, input) => {
40163
40163
  let reason;
40164
40164
  try {
40165
- const result = await client.send(new DescribeBundleTasksCommand(input));
40165
+ let result = await client.send(new DescribeBundleTasksCommand(input));
40166
40166
  reason = result;
40167
40167
  try {
40168
- let returnComparator = () => {
40168
+ const returnComparator = () => {
40169
40169
  let flat_1 = [].concat(...result.BundleTasks);
40170
40170
  let projection_3 = flat_1.map((element_2) => {
40171
40171
  return element_2.State;
@@ -40182,7 +40182,7 @@ const checkState$C = async (client, input) => {
40182
40182
  }
40183
40183
  catch (e) { }
40184
40184
  try {
40185
- let returnComparator = () => {
40185
+ const returnComparator = () => {
40186
40186
  let flat_1 = [].concat(...result.BundleTasks);
40187
40187
  let projection_3 = flat_1.map((element_2) => {
40188
40188
  return element_2.State;
@@ -40215,10 +40215,10 @@ const waitUntilBundleTaskComplete = async (params, input) => {
40215
40215
  const checkState$B = async (client, input) => {
40216
40216
  let reason;
40217
40217
  try {
40218
- const result = await client.send(new DescribeConversionTasksCommand(input));
40218
+ let result = await client.send(new DescribeConversionTasksCommand(input));
40219
40219
  reason = result;
40220
40220
  try {
40221
- let returnComparator = () => {
40221
+ const returnComparator = () => {
40222
40222
  let flat_1 = [].concat(...result.ConversionTasks);
40223
40223
  let projection_3 = flat_1.map((element_2) => {
40224
40224
  return element_2.State;
@@ -40253,10 +40253,10 @@ const waitUntilConversionTaskCancelled = async (params, input) => {
40253
40253
  const checkState$A = async (client, input) => {
40254
40254
  let reason;
40255
40255
  try {
40256
- const result = await client.send(new DescribeConversionTasksCommand(input));
40256
+ let result = await client.send(new DescribeConversionTasksCommand(input));
40257
40257
  reason = result;
40258
40258
  try {
40259
- let returnComparator = () => {
40259
+ const returnComparator = () => {
40260
40260
  let flat_1 = [].concat(...result.ConversionTasks);
40261
40261
  let projection_3 = flat_1.map((element_2) => {
40262
40262
  return element_2.State;
@@ -40273,7 +40273,7 @@ const checkState$A = async (client, input) => {
40273
40273
  }
40274
40274
  catch (e) { }
40275
40275
  try {
40276
- let returnComparator = () => {
40276
+ const returnComparator = () => {
40277
40277
  let flat_1 = [].concat(...result.ConversionTasks);
40278
40278
  let projection_3 = flat_1.map((element_2) => {
40279
40279
  return element_2.State;
@@ -40288,7 +40288,7 @@ const checkState$A = async (client, input) => {
40288
40288
  }
40289
40289
  catch (e) { }
40290
40290
  try {
40291
- let returnComparator = () => {
40291
+ const returnComparator = () => {
40292
40292
  let flat_1 = [].concat(...result.ConversionTasks);
40293
40293
  let projection_3 = flat_1.map((element_2) => {
40294
40294
  return element_2.State;
@@ -40321,10 +40321,10 @@ const waitUntilConversionTaskCompleted = async (params, input) => {
40321
40321
  const checkState$z = async (client, input) => {
40322
40322
  let reason;
40323
40323
  try {
40324
- const result = await client.send(new DescribeConversionTasksCommand(input));
40324
+ let result = await client.send(new DescribeConversionTasksCommand(input));
40325
40325
  reason = result;
40326
40326
  try {
40327
- let returnComparator = () => {
40327
+ const returnComparator = () => {
40328
40328
  let flat_1 = [].concat(...result.ConversionTasks);
40329
40329
  let projection_3 = flat_1.map((element_2) => {
40330
40330
  return element_2.State;
@@ -40359,10 +40359,10 @@ const waitUntilConversionTaskDeleted = async (params, input) => {
40359
40359
  const checkState$y = async (client, input) => {
40360
40360
  let reason;
40361
40361
  try {
40362
- const result = await client.send(new DescribeCustomerGatewaysCommand(input));
40362
+ let result = await client.send(new DescribeCustomerGatewaysCommand(input));
40363
40363
  reason = result;
40364
40364
  try {
40365
- let returnComparator = () => {
40365
+ const returnComparator = () => {
40366
40366
  let flat_1 = [].concat(...result.CustomerGateways);
40367
40367
  let projection_3 = flat_1.map((element_2) => {
40368
40368
  return element_2.State;
@@ -40379,7 +40379,7 @@ const checkState$y = async (client, input) => {
40379
40379
  }
40380
40380
  catch (e) { }
40381
40381
  try {
40382
- let returnComparator = () => {
40382
+ const returnComparator = () => {
40383
40383
  let flat_1 = [].concat(...result.CustomerGateways);
40384
40384
  let projection_3 = flat_1.map((element_2) => {
40385
40385
  return element_2.State;
@@ -40394,7 +40394,7 @@ const checkState$y = async (client, input) => {
40394
40394
  }
40395
40395
  catch (e) { }
40396
40396
  try {
40397
- let returnComparator = () => {
40397
+ const returnComparator = () => {
40398
40398
  let flat_1 = [].concat(...result.CustomerGateways);
40399
40399
  let projection_3 = flat_1.map((element_2) => {
40400
40400
  return element_2.State;
@@ -40427,10 +40427,10 @@ const waitUntilCustomerGatewayAvailable = async (params, input) => {
40427
40427
  const checkState$x = async (client, input) => {
40428
40428
  let reason;
40429
40429
  try {
40430
- const result = await client.send(new DescribeExportTasksCommand(input));
40430
+ let result = await client.send(new DescribeExportTasksCommand(input));
40431
40431
  reason = result;
40432
40432
  try {
40433
- let returnComparator = () => {
40433
+ const returnComparator = () => {
40434
40434
  let flat_1 = [].concat(...result.ExportTasks);
40435
40435
  let projection_3 = flat_1.map((element_2) => {
40436
40436
  return element_2.State;
@@ -40465,10 +40465,10 @@ const waitUntilExportTaskCancelled = async (params, input) => {
40465
40465
  const checkState$w = async (client, input) => {
40466
40466
  let reason;
40467
40467
  try {
40468
- const result = await client.send(new DescribeExportTasksCommand(input));
40468
+ let result = await client.send(new DescribeExportTasksCommand(input));
40469
40469
  reason = result;
40470
40470
  try {
40471
- let returnComparator = () => {
40471
+ const returnComparator = () => {
40472
40472
  let flat_1 = [].concat(...result.ExportTasks);
40473
40473
  let projection_3 = flat_1.map((element_2) => {
40474
40474
  return element_2.State;
@@ -40503,10 +40503,10 @@ const waitUntilExportTaskCompleted = async (params, input) => {
40503
40503
  const checkState$v = async (client, input) => {
40504
40504
  let reason;
40505
40505
  try {
40506
- const result = await client.send(new DescribeImagesCommand(input));
40506
+ let result = await client.send(new DescribeImagesCommand(input));
40507
40507
  reason = result;
40508
40508
  try {
40509
- let returnComparator = () => {
40509
+ const returnComparator = () => {
40510
40510
  let flat_1 = [].concat(...result.Images);
40511
40511
  let projection_3 = flat_1.map((element_2) => {
40512
40512
  return element_2.State;
@@ -40523,7 +40523,7 @@ const checkState$v = async (client, input) => {
40523
40523
  }
40524
40524
  catch (e) { }
40525
40525
  try {
40526
- let returnComparator = () => {
40526
+ const returnComparator = () => {
40527
40527
  let flat_1 = [].concat(...result.Images);
40528
40528
  let projection_3 = flat_1.map((element_2) => {
40529
40529
  return element_2.State;
@@ -40556,10 +40556,10 @@ const waitUntilImageAvailable = async (params, input) => {
40556
40556
  const checkState$u = async (client, input) => {
40557
40557
  let reason;
40558
40558
  try {
40559
- const result = await client.send(new DescribeImagesCommand(input));
40559
+ let result = await client.send(new DescribeImagesCommand(input));
40560
40560
  reason = result;
40561
40561
  try {
40562
- let returnComparator = () => {
40562
+ const returnComparator = () => {
40563
40563
  let flat_1 = [].concat(...result.Images);
40564
40564
  return (flat_1.length > 0.0);
40565
40565
  };
@@ -40590,10 +40590,10 @@ const waitUntilImageExists = async (params, input) => {
40590
40590
  const checkState$t = async (client, input) => {
40591
40591
  let reason;
40592
40592
  try {
40593
- const result = await client.send(new DescribeImageUsageReportsCommand(input));
40593
+ let result = await client.send(new DescribeImageUsageReportsCommand(input));
40594
40594
  reason = result;
40595
40595
  try {
40596
- let returnComparator = () => {
40596
+ const returnComparator = () => {
40597
40597
  let flat_1 = [].concat(...result.ImageUsageReports);
40598
40598
  let projection_3 = flat_1.map((element_2) => {
40599
40599
  return element_2.State;
@@ -40610,7 +40610,7 @@ const checkState$t = async (client, input) => {
40610
40610
  }
40611
40611
  catch (e) { }
40612
40612
  try {
40613
- let returnComparator = () => {
40613
+ const returnComparator = () => {
40614
40614
  let flat_1 = [].concat(...result.ImageUsageReports);
40615
40615
  let projection_3 = flat_1.map((element_2) => {
40616
40616
  return element_2.State;
@@ -40643,10 +40643,10 @@ const waitUntilImageUsageReportAvailable = async (params, input) => {
40643
40643
  const checkState$s = async (client, input) => {
40644
40644
  let reason;
40645
40645
  try {
40646
- const result = await client.send(new DescribeImportSnapshotTasksCommand(input));
40646
+ let result = await client.send(new DescribeImportSnapshotTasksCommand(input));
40647
40647
  reason = result;
40648
40648
  try {
40649
- let returnComparator = () => {
40649
+ const returnComparator = () => {
40650
40650
  let flat_1 = [].concat(...result.ImportSnapshotTasks);
40651
40651
  let projection_3 = flat_1.map((element_2) => {
40652
40652
  return element_2.SnapshotTaskDetail.Status;
@@ -40663,7 +40663,7 @@ const checkState$s = async (client, input) => {
40663
40663
  }
40664
40664
  catch (e) { }
40665
40665
  try {
40666
- let returnComparator = () => {
40666
+ const returnComparator = () => {
40667
40667
  let flat_1 = [].concat(...result.ImportSnapshotTasks);
40668
40668
  let projection_3 = flat_1.map((element_2) => {
40669
40669
  return element_2.SnapshotTaskDetail.Status;
@@ -40696,10 +40696,10 @@ const waitUntilSnapshotImported = async (params, input) => {
40696
40696
  const checkState$r = async (client, input) => {
40697
40697
  let reason;
40698
40698
  try {
40699
- const result = await client.send(new DescribeInstancesCommand(input));
40699
+ let result = await client.send(new DescribeInstancesCommand(input));
40700
40700
  reason = result;
40701
40701
  try {
40702
- let returnComparator = () => {
40702
+ const returnComparator = () => {
40703
40703
  let flat_1 = [].concat(...result.Reservations);
40704
40704
  return (flat_1.length > 0.0);
40705
40705
  };
@@ -40730,10 +40730,10 @@ const waitUntilInstanceExists = async (params, input) => {
40730
40730
  const checkState$q = async (client, input) => {
40731
40731
  let reason;
40732
40732
  try {
40733
- const result = await client.send(new DescribeInstancesCommand(input));
40733
+ let result = await client.send(new DescribeInstancesCommand(input));
40734
40734
  reason = result;
40735
40735
  try {
40736
- let returnComparator = () => {
40736
+ const returnComparator = () => {
40737
40737
  let flat_1 = [].concat(...result.Reservations);
40738
40738
  let projection_3 = flat_1.map((element_2) => {
40739
40739
  return element_2.Instances;
@@ -40754,7 +40754,7 @@ const checkState$q = async (client, input) => {
40754
40754
  }
40755
40755
  catch (e) { }
40756
40756
  try {
40757
- let returnComparator = () => {
40757
+ const returnComparator = () => {
40758
40758
  let flat_1 = [].concat(...result.Reservations);
40759
40759
  let projection_3 = flat_1.map((element_2) => {
40760
40760
  return element_2.Instances;
@@ -40773,7 +40773,7 @@ const checkState$q = async (client, input) => {
40773
40773
  }
40774
40774
  catch (e) { }
40775
40775
  try {
40776
- let returnComparator = () => {
40776
+ const returnComparator = () => {
40777
40777
  let flat_1 = [].concat(...result.Reservations);
40778
40778
  let projection_3 = flat_1.map((element_2) => {
40779
40779
  return element_2.Instances;
@@ -40792,7 +40792,7 @@ const checkState$q = async (client, input) => {
40792
40792
  }
40793
40793
  catch (e) { }
40794
40794
  try {
40795
- let returnComparator = () => {
40795
+ const returnComparator = () => {
40796
40796
  let flat_1 = [].concat(...result.Reservations);
40797
40797
  let projection_3 = flat_1.map((element_2) => {
40798
40798
  return element_2.Instances;
@@ -40832,10 +40832,10 @@ const waitUntilInstanceRunning = async (params, input) => {
40832
40832
  const checkState$p = async (client, input) => {
40833
40833
  let reason;
40834
40834
  try {
40835
- const result = await client.send(new DescribeInstancesCommand(input));
40835
+ let result = await client.send(new DescribeInstancesCommand(input));
40836
40836
  reason = result;
40837
40837
  try {
40838
- let returnComparator = () => {
40838
+ const returnComparator = () => {
40839
40839
  let flat_1 = [].concat(...result.Reservations);
40840
40840
  let projection_3 = flat_1.map((element_2) => {
40841
40841
  return element_2.Instances;
@@ -40856,7 +40856,7 @@ const checkState$p = async (client, input) => {
40856
40856
  }
40857
40857
  catch (e) { }
40858
40858
  try {
40859
- let returnComparator = () => {
40859
+ const returnComparator = () => {
40860
40860
  let flat_1 = [].concat(...result.Reservations);
40861
40861
  let projection_3 = flat_1.map((element_2) => {
40862
40862
  return element_2.Instances;
@@ -40875,7 +40875,7 @@ const checkState$p = async (client, input) => {
40875
40875
  }
40876
40876
  catch (e) { }
40877
40877
  try {
40878
- let returnComparator = () => {
40878
+ const returnComparator = () => {
40879
40879
  let flat_1 = [].concat(...result.Reservations);
40880
40880
  let projection_3 = flat_1.map((element_2) => {
40881
40881
  return element_2.Instances;
@@ -40912,10 +40912,10 @@ const waitUntilInstanceStopped = async (params, input) => {
40912
40912
  const checkState$o = async (client, input) => {
40913
40913
  let reason;
40914
40914
  try {
40915
- const result = await client.send(new DescribeInstancesCommand(input));
40915
+ let result = await client.send(new DescribeInstancesCommand(input));
40916
40916
  reason = result;
40917
40917
  try {
40918
- let returnComparator = () => {
40918
+ const returnComparator = () => {
40919
40919
  let flat_1 = [].concat(...result.Reservations);
40920
40920
  let projection_3 = flat_1.map((element_2) => {
40921
40921
  return element_2.Instances;
@@ -40936,7 +40936,7 @@ const checkState$o = async (client, input) => {
40936
40936
  }
40937
40937
  catch (e) { }
40938
40938
  try {
40939
- let returnComparator = () => {
40939
+ const returnComparator = () => {
40940
40940
  let flat_1 = [].concat(...result.Reservations);
40941
40941
  let projection_3 = flat_1.map((element_2) => {
40942
40942
  return element_2.Instances;
@@ -40955,7 +40955,7 @@ const checkState$o = async (client, input) => {
40955
40955
  }
40956
40956
  catch (e) { }
40957
40957
  try {
40958
- let returnComparator = () => {
40958
+ const returnComparator = () => {
40959
40959
  let flat_1 = [].concat(...result.Reservations);
40960
40960
  let projection_3 = flat_1.map((element_2) => {
40961
40961
  return element_2.Instances;
@@ -40992,10 +40992,10 @@ const waitUntilInstanceTerminated = async (params, input) => {
40992
40992
  const checkState$n = async (client, input) => {
40993
40993
  let reason;
40994
40994
  try {
40995
- const result = await client.send(new DescribeInstanceStatusCommand(input));
40995
+ let result = await client.send(new DescribeInstanceStatusCommand(input));
40996
40996
  reason = result;
40997
40997
  try {
40998
- let returnComparator = () => {
40998
+ const returnComparator = () => {
40999
40999
  let flat_1 = [].concat(...result.InstanceStatuses);
41000
41000
  let projection_3 = flat_1.map((element_2) => {
41001
41001
  return element_2.InstanceStatus.Status;
@@ -41033,10 +41033,10 @@ const waitUntilInstanceStatusOk = async (params, input) => {
41033
41033
  const checkState$m = async (client, input) => {
41034
41034
  let reason;
41035
41035
  try {
41036
- const result = await client.send(new DescribeInstanceStatusCommand(input));
41036
+ let result = await client.send(new DescribeInstanceStatusCommand(input));
41037
41037
  reason = result;
41038
41038
  try {
41039
- let returnComparator = () => {
41039
+ const returnComparator = () => {
41040
41040
  let flat_1 = [].concat(...result.InstanceStatuses);
41041
41041
  let projection_3 = flat_1.map((element_2) => {
41042
41042
  return element_2.SystemStatus.Status;
@@ -41071,10 +41071,10 @@ const waitUntilSystemStatusOk = async (params, input) => {
41071
41071
  const checkState$l = async (client, input) => {
41072
41072
  let reason;
41073
41073
  try {
41074
- const result = await client.send(new DescribeInternetGatewaysCommand(input));
41074
+ let result = await client.send(new DescribeInternetGatewaysCommand(input));
41075
41075
  reason = result;
41076
41076
  try {
41077
- let returnComparator = () => {
41077
+ const returnComparator = () => {
41078
41078
  let flat_1 = [].concat(...result.InternetGateways);
41079
41079
  let projection_3 = flat_1.map((element_2) => {
41080
41080
  return element_2.InternetGatewayId;
@@ -41108,10 +41108,10 @@ const waitUntilInternetGatewayExists = async (params, input) => {
41108
41108
  const checkState$k = async (client, input) => {
41109
41109
  let reason;
41110
41110
  try {
41111
- const result = await client.send(new DescribeKeyPairsCommand(input));
41111
+ let result = await client.send(new DescribeKeyPairsCommand(input));
41112
41112
  reason = result;
41113
41113
  try {
41114
- let returnComparator = () => {
41114
+ const returnComparator = () => {
41115
41115
  let flat_1 = [].concat(...result.KeyPairs);
41116
41116
  let projection_3 = flat_1.map((element_2) => {
41117
41117
  return element_2.KeyName;
@@ -41145,10 +41145,10 @@ const waitUntilKeyPairExists = async (params, input) => {
41145
41145
  const checkState$j = async (client, input) => {
41146
41146
  let reason;
41147
41147
  try {
41148
- const result = await client.send(new DescribeNatGatewaysCommand(input));
41148
+ let result = await client.send(new DescribeNatGatewaysCommand(input));
41149
41149
  reason = result;
41150
41150
  try {
41151
- let returnComparator = () => {
41151
+ const returnComparator = () => {
41152
41152
  let flat_1 = [].concat(...result.NatGateways);
41153
41153
  let projection_3 = flat_1.map((element_2) => {
41154
41154
  return element_2.State;
@@ -41165,7 +41165,7 @@ const checkState$j = async (client, input) => {
41165
41165
  }
41166
41166
  catch (e) { }
41167
41167
  try {
41168
- let returnComparator = () => {
41168
+ const returnComparator = () => {
41169
41169
  let flat_1 = [].concat(...result.NatGateways);
41170
41170
  let projection_3 = flat_1.map((element_2) => {
41171
41171
  return element_2.State;
@@ -41180,7 +41180,7 @@ const checkState$j = async (client, input) => {
41180
41180
  }
41181
41181
  catch (e) { }
41182
41182
  try {
41183
- let returnComparator = () => {
41183
+ const returnComparator = () => {
41184
41184
  let flat_1 = [].concat(...result.NatGateways);
41185
41185
  let projection_3 = flat_1.map((element_2) => {
41186
41186
  return element_2.State;
@@ -41195,7 +41195,7 @@ const checkState$j = async (client, input) => {
41195
41195
  }
41196
41196
  catch (e) { }
41197
41197
  try {
41198
- let returnComparator = () => {
41198
+ const returnComparator = () => {
41199
41199
  let flat_1 = [].concat(...result.NatGateways);
41200
41200
  let projection_3 = flat_1.map((element_2) => {
41201
41201
  return element_2.State;
@@ -41231,10 +41231,10 @@ const waitUntilNatGatewayAvailable = async (params, input) => {
41231
41231
  const checkState$i = async (client, input) => {
41232
41232
  let reason;
41233
41233
  try {
41234
- const result = await client.send(new DescribeNatGatewaysCommand(input));
41234
+ let result = await client.send(new DescribeNatGatewaysCommand(input));
41235
41235
  reason = result;
41236
41236
  try {
41237
- let returnComparator = () => {
41237
+ const returnComparator = () => {
41238
41238
  let flat_1 = [].concat(...result.NatGateways);
41239
41239
  let projection_3 = flat_1.map((element_2) => {
41240
41240
  return element_2.State;
@@ -41272,10 +41272,10 @@ const waitUntilNatGatewayDeleted = async (params, input) => {
41272
41272
  const checkState$h = async (client, input) => {
41273
41273
  let reason;
41274
41274
  try {
41275
- const result = await client.send(new DescribeNetworkInterfacesCommand(input));
41275
+ let result = await client.send(new DescribeNetworkInterfacesCommand(input));
41276
41276
  reason = result;
41277
41277
  try {
41278
- let returnComparator = () => {
41278
+ const returnComparator = () => {
41279
41279
  let flat_1 = [].concat(...result.NetworkInterfaces);
41280
41280
  let projection_3 = flat_1.map((element_2) => {
41281
41281
  return element_2.Status;
@@ -41313,10 +41313,10 @@ const waitUntilNetworkInterfaceAvailable = async (params, input) => {
41313
41313
  const checkState$g = async (client, input) => {
41314
41314
  let reason;
41315
41315
  try {
41316
- const result = await client.send(new DescribeSecurityGroupsCommand(input));
41316
+ let result = await client.send(new DescribeSecurityGroupsCommand(input));
41317
41317
  reason = result;
41318
41318
  try {
41319
- let returnComparator = () => {
41319
+ const returnComparator = () => {
41320
41320
  let flat_1 = [].concat(...result.SecurityGroups);
41321
41321
  let projection_3 = flat_1.map((element_2) => {
41322
41322
  return element_2.GroupId;
@@ -41350,10 +41350,10 @@ const waitUntilSecurityGroupExists = async (params, input) => {
41350
41350
  const checkState$f = async (client, input) => {
41351
41351
  let reason;
41352
41352
  try {
41353
- const result = await client.send(new DescribeSecurityGroupVpcAssociationsCommand(input));
41353
+ let result = await client.send(new DescribeSecurityGroupVpcAssociationsCommand(input));
41354
41354
  reason = result;
41355
41355
  try {
41356
- let returnComparator = () => {
41356
+ const returnComparator = () => {
41357
41357
  let flat_1 = [].concat(...result.SecurityGroupVpcAssociations);
41358
41358
  let projection_3 = flat_1.map((element_2) => {
41359
41359
  return element_2.State;
@@ -41370,7 +41370,7 @@ const checkState$f = async (client, input) => {
41370
41370
  }
41371
41371
  catch (e) { }
41372
41372
  try {
41373
- let returnComparator = () => {
41373
+ const returnComparator = () => {
41374
41374
  let flat_1 = [].concat(...result.SecurityGroupVpcAssociations);
41375
41375
  let projection_3 = flat_1.map((element_2) => {
41376
41376
  return element_2.State;
@@ -41385,7 +41385,7 @@ const checkState$f = async (client, input) => {
41385
41385
  }
41386
41386
  catch (e) { }
41387
41387
  try {
41388
- let returnComparator = () => {
41388
+ const returnComparator = () => {
41389
41389
  let flat_1 = [].concat(...result.SecurityGroupVpcAssociations);
41390
41390
  let projection_3 = flat_1.map((element_2) => {
41391
41391
  return element_2.State;
@@ -41418,10 +41418,10 @@ const waitUntilSecurityGroupVpcAssociationAssociated = async (params, input) =>
41418
41418
  const checkState$e = async (client, input) => {
41419
41419
  let reason;
41420
41420
  try {
41421
- const result = await client.send(new DescribeSecurityGroupVpcAssociationsCommand(input));
41421
+ let result = await client.send(new DescribeSecurityGroupVpcAssociationsCommand(input));
41422
41422
  reason = result;
41423
41423
  try {
41424
- let returnComparator = () => {
41424
+ const returnComparator = () => {
41425
41425
  let flat_1 = [].concat(...result.SecurityGroupVpcAssociations);
41426
41426
  let projection_3 = flat_1.map((element_2) => {
41427
41427
  return element_2.State;
@@ -41438,7 +41438,7 @@ const checkState$e = async (client, input) => {
41438
41438
  }
41439
41439
  catch (e) { }
41440
41440
  try {
41441
- let returnComparator = () => {
41441
+ const returnComparator = () => {
41442
41442
  let flat_1 = [].concat(...result.SecurityGroupVpcAssociations);
41443
41443
  let projection_3 = flat_1.map((element_2) => {
41444
41444
  return element_2.State;
@@ -41453,7 +41453,7 @@ const checkState$e = async (client, input) => {
41453
41453
  }
41454
41454
  catch (e) { }
41455
41455
  try {
41456
- let returnComparator = () => {
41456
+ const returnComparator = () => {
41457
41457
  let flat_1 = [].concat(...result.SecurityGroupVpcAssociations);
41458
41458
  let projection_3 = flat_1.map((element_2) => {
41459
41459
  return element_2.State;
@@ -41468,7 +41468,7 @@ const checkState$e = async (client, input) => {
41468
41468
  }
41469
41469
  catch (e) { }
41470
41470
  try {
41471
- let returnComparator = () => {
41471
+ const returnComparator = () => {
41472
41472
  let flat_1 = [].concat(...result.SecurityGroupVpcAssociations);
41473
41473
  return (flat_1.length == 0.0);
41474
41474
  };
@@ -41496,10 +41496,10 @@ const waitUntilSecurityGroupVpcAssociationDisassociated = async (params, input)
41496
41496
  const checkState$d = async (client, input) => {
41497
41497
  let reason;
41498
41498
  try {
41499
- const result = await client.send(new DescribeSnapshotsCommand(input));
41499
+ let result = await client.send(new DescribeSnapshotsCommand(input));
41500
41500
  reason = result;
41501
41501
  try {
41502
- let returnComparator = () => {
41502
+ const returnComparator = () => {
41503
41503
  let flat_1 = [].concat(...result.Snapshots);
41504
41504
  let projection_3 = flat_1.map((element_2) => {
41505
41505
  return element_2.State;
@@ -41516,7 +41516,7 @@ const checkState$d = async (client, input) => {
41516
41516
  }
41517
41517
  catch (e) { }
41518
41518
  try {
41519
- let returnComparator = () => {
41519
+ const returnComparator = () => {
41520
41520
  let flat_1 = [].concat(...result.Snapshots);
41521
41521
  let projection_3 = flat_1.map((element_2) => {
41522
41522
  return element_2.State;
@@ -41549,10 +41549,10 @@ const waitUntilSnapshotCompleted = async (params, input) => {
41549
41549
  const checkState$c = async (client, input) => {
41550
41550
  let reason;
41551
41551
  try {
41552
- const result = await client.send(new DescribeSpotInstanceRequestsCommand(input));
41552
+ let result = await client.send(new DescribeSpotInstanceRequestsCommand(input));
41553
41553
  reason = result;
41554
41554
  try {
41555
- let returnComparator = () => {
41555
+ const returnComparator = () => {
41556
41556
  let flat_1 = [].concat(...result.SpotInstanceRequests);
41557
41557
  let projection_3 = flat_1.map((element_2) => {
41558
41558
  return element_2.Status.Code;
@@ -41569,7 +41569,7 @@ const checkState$c = async (client, input) => {
41569
41569
  }
41570
41570
  catch (e) { }
41571
41571
  try {
41572
- let returnComparator = () => {
41572
+ const returnComparator = () => {
41573
41573
  let flat_1 = [].concat(...result.SpotInstanceRequests);
41574
41574
  let projection_3 = flat_1.map((element_2) => {
41575
41575
  return element_2.Status.Code;
@@ -41586,7 +41586,7 @@ const checkState$c = async (client, input) => {
41586
41586
  }
41587
41587
  catch (e) { }
41588
41588
  try {
41589
- let returnComparator = () => {
41589
+ const returnComparator = () => {
41590
41590
  let flat_1 = [].concat(...result.SpotInstanceRequests);
41591
41591
  let projection_3 = flat_1.map((element_2) => {
41592
41592
  return element_2.Status.Code;
@@ -41601,7 +41601,7 @@ const checkState$c = async (client, input) => {
41601
41601
  }
41602
41602
  catch (e) { }
41603
41603
  try {
41604
- let returnComparator = () => {
41604
+ const returnComparator = () => {
41605
41605
  let flat_1 = [].concat(...result.SpotInstanceRequests);
41606
41606
  let projection_3 = flat_1.map((element_2) => {
41607
41607
  return element_2.Status.Code;
@@ -41616,7 +41616,7 @@ const checkState$c = async (client, input) => {
41616
41616
  }
41617
41617
  catch (e) { }
41618
41618
  try {
41619
- let returnComparator = () => {
41619
+ const returnComparator = () => {
41620
41620
  let flat_1 = [].concat(...result.SpotInstanceRequests);
41621
41621
  let projection_3 = flat_1.map((element_2) => {
41622
41622
  return element_2.Status.Code;
@@ -41631,7 +41631,7 @@ const checkState$c = async (client, input) => {
41631
41631
  }
41632
41632
  catch (e) { }
41633
41633
  try {
41634
- let returnComparator = () => {
41634
+ const returnComparator = () => {
41635
41635
  let flat_1 = [].concat(...result.SpotInstanceRequests);
41636
41636
  let projection_3 = flat_1.map((element_2) => {
41637
41637
  return element_2.Status.Code;
@@ -41667,10 +41667,10 @@ const waitUntilSpotInstanceRequestFulfilled = async (params, input) => {
41667
41667
  const checkState$b = async (client, input) => {
41668
41668
  let reason;
41669
41669
  try {
41670
- const result = await client.send(new DescribeStoreImageTasksCommand(input));
41670
+ let result = await client.send(new DescribeStoreImageTasksCommand(input));
41671
41671
  reason = result;
41672
41672
  try {
41673
- let returnComparator = () => {
41673
+ const returnComparator = () => {
41674
41674
  let flat_1 = [].concat(...result.StoreImageTaskResults);
41675
41675
  let projection_3 = flat_1.map((element_2) => {
41676
41676
  return element_2.StoreTaskState;
@@ -41687,7 +41687,7 @@ const checkState$b = async (client, input) => {
41687
41687
  }
41688
41688
  catch (e) { }
41689
41689
  try {
41690
- let returnComparator = () => {
41690
+ const returnComparator = () => {
41691
41691
  let flat_1 = [].concat(...result.StoreImageTaskResults);
41692
41692
  let projection_3 = flat_1.map((element_2) => {
41693
41693
  return element_2.StoreTaskState;
@@ -41702,7 +41702,7 @@ const checkState$b = async (client, input) => {
41702
41702
  }
41703
41703
  catch (e) { }
41704
41704
  try {
41705
- let returnComparator = () => {
41705
+ const returnComparator = () => {
41706
41706
  let flat_1 = [].concat(...result.StoreImageTaskResults);
41707
41707
  let projection_3 = flat_1.map((element_2) => {
41708
41708
  return element_2.StoreTaskState;
@@ -41735,10 +41735,10 @@ const waitUntilStoreImageTaskComplete = async (params, input) => {
41735
41735
  const checkState$a = async (client, input) => {
41736
41736
  let reason;
41737
41737
  try {
41738
- const result = await client.send(new DescribeSubnetsCommand(input));
41738
+ let result = await client.send(new DescribeSubnetsCommand(input));
41739
41739
  reason = result;
41740
41740
  try {
41741
- let returnComparator = () => {
41741
+ const returnComparator = () => {
41742
41742
  let flat_1 = [].concat(...result.Subnets);
41743
41743
  let projection_3 = flat_1.map((element_2) => {
41744
41744
  return element_2.State;
@@ -41773,10 +41773,10 @@ const waitUntilSubnetAvailable = async (params, input) => {
41773
41773
  const checkState$9 = async (client, input) => {
41774
41774
  let reason;
41775
41775
  try {
41776
- const result = await client.send(new DescribeVolumesCommand(input));
41776
+ let result = await client.send(new DescribeVolumesCommand(input));
41777
41777
  reason = result;
41778
41778
  try {
41779
- let returnComparator = () => {
41779
+ const returnComparator = () => {
41780
41780
  let flat_1 = [].concat(...result.Volumes);
41781
41781
  let projection_3 = flat_1.map((element_2) => {
41782
41782
  return element_2.State;
@@ -41793,7 +41793,7 @@ const checkState$9 = async (client, input) => {
41793
41793
  }
41794
41794
  catch (e) { }
41795
41795
  try {
41796
- let returnComparator = () => {
41796
+ const returnComparator = () => {
41797
41797
  let flat_1 = [].concat(...result.Volumes);
41798
41798
  let projection_3 = flat_1.map((element_2) => {
41799
41799
  return element_2.State;
@@ -41826,10 +41826,10 @@ const waitUntilVolumeAvailable = async (params, input) => {
41826
41826
  const checkState$8 = async (client, input) => {
41827
41827
  let reason;
41828
41828
  try {
41829
- const result = await client.send(new DescribeVolumesCommand(input));
41829
+ let result = await client.send(new DescribeVolumesCommand(input));
41830
41830
  reason = result;
41831
41831
  try {
41832
- let returnComparator = () => {
41832
+ const returnComparator = () => {
41833
41833
  let flat_1 = [].concat(...result.Volumes);
41834
41834
  let projection_3 = flat_1.map((element_2) => {
41835
41835
  return element_2.State;
@@ -41867,10 +41867,10 @@ const waitUntilVolumeDeleted = async (params, input) => {
41867
41867
  const checkState$7 = async (client, input) => {
41868
41868
  let reason;
41869
41869
  try {
41870
- const result = await client.send(new DescribeVolumesCommand(input));
41870
+ let result = await client.send(new DescribeVolumesCommand(input));
41871
41871
  reason = result;
41872
41872
  try {
41873
- let returnComparator = () => {
41873
+ const returnComparator = () => {
41874
41874
  let flat_1 = [].concat(...result.Volumes);
41875
41875
  let projection_3 = flat_1.map((element_2) => {
41876
41876
  return element_2.State;
@@ -41887,7 +41887,7 @@ const checkState$7 = async (client, input) => {
41887
41887
  }
41888
41888
  catch (e) { }
41889
41889
  try {
41890
- let returnComparator = () => {
41890
+ const returnComparator = () => {
41891
41891
  let flat_1 = [].concat(...result.Volumes);
41892
41892
  let projection_3 = flat_1.map((element_2) => {
41893
41893
  return element_2.State;
@@ -41920,10 +41920,10 @@ const waitUntilVolumeInUse = async (params, input) => {
41920
41920
  const checkState$6 = async (client, input) => {
41921
41921
  let reason;
41922
41922
  try {
41923
- const result = await client.send(new DescribeVpcPeeringConnectionsCommand(input));
41923
+ let result = await client.send(new DescribeVpcPeeringConnectionsCommand(input));
41924
41924
  reason = result;
41925
41925
  try {
41926
- let returnComparator = () => {
41926
+ const returnComparator = () => {
41927
41927
  let flat_1 = [].concat(...result.VpcPeeringConnections);
41928
41928
  let projection_3 = flat_1.map((element_2) => {
41929
41929
  return element_2.Status.Code;
@@ -41961,7 +41961,7 @@ const waitUntilVpcPeeringConnectionDeleted = async (params, input) => {
41961
41961
  const checkState$5 = async (client, input) => {
41962
41962
  let reason;
41963
41963
  try {
41964
- const result = await client.send(new DescribeVpcPeeringConnectionsCommand(input));
41964
+ let result = await client.send(new DescribeVpcPeeringConnectionsCommand(input));
41965
41965
  reason = result;
41966
41966
  return { state: utilWaiter.WaiterState.SUCCESS, reason };
41967
41967
  }
@@ -41986,10 +41986,10 @@ const waitUntilVpcPeeringConnectionExists = async (params, input) => {
41986
41986
  const checkState$4 = async (client, input) => {
41987
41987
  let reason;
41988
41988
  try {
41989
- const result = await client.send(new DescribeVpcsCommand(input));
41989
+ let result = await client.send(new DescribeVpcsCommand(input));
41990
41990
  reason = result;
41991
41991
  try {
41992
- let returnComparator = () => {
41992
+ const returnComparator = () => {
41993
41993
  let flat_1 = [].concat(...result.Vpcs);
41994
41994
  let projection_3 = flat_1.map((element_2) => {
41995
41995
  return element_2.State;
@@ -42024,7 +42024,7 @@ const waitUntilVpcAvailable = async (params, input) => {
42024
42024
  const checkState$3 = async (client, input) => {
42025
42025
  let reason;
42026
42026
  try {
42027
- const result = await client.send(new DescribeVpcsCommand(input));
42027
+ let result = await client.send(new DescribeVpcsCommand(input));
42028
42028
  reason = result;
42029
42029
  return { state: utilWaiter.WaiterState.SUCCESS, reason };
42030
42030
  }
@@ -42049,10 +42049,10 @@ const waitUntilVpcExists = async (params, input) => {
42049
42049
  const checkState$2 = async (client, input) => {
42050
42050
  let reason;
42051
42051
  try {
42052
- const result = await client.send(new DescribeVpnConnectionsCommand(input));
42052
+ let result = await client.send(new DescribeVpnConnectionsCommand(input));
42053
42053
  reason = result;
42054
42054
  try {
42055
- let returnComparator = () => {
42055
+ const returnComparator = () => {
42056
42056
  let flat_1 = [].concat(...result.VpnConnections);
42057
42057
  let projection_3 = flat_1.map((element_2) => {
42058
42058
  return element_2.State;
@@ -42069,7 +42069,7 @@ const checkState$2 = async (client, input) => {
42069
42069
  }
42070
42070
  catch (e) { }
42071
42071
  try {
42072
- let returnComparator = () => {
42072
+ const returnComparator = () => {
42073
42073
  let flat_1 = [].concat(...result.VpnConnections);
42074
42074
  let projection_3 = flat_1.map((element_2) => {
42075
42075
  return element_2.State;
@@ -42084,7 +42084,7 @@ const checkState$2 = async (client, input) => {
42084
42084
  }
42085
42085
  catch (e) { }
42086
42086
  try {
42087
- let returnComparator = () => {
42087
+ const returnComparator = () => {
42088
42088
  let flat_1 = [].concat(...result.VpnConnections);
42089
42089
  let projection_3 = flat_1.map((element_2) => {
42090
42090
  return element_2.State;
@@ -42117,10 +42117,10 @@ const waitUntilVpnConnectionAvailable = async (params, input) => {
42117
42117
  const checkState$1 = async (client, input) => {
42118
42118
  let reason;
42119
42119
  try {
42120
- const result = await client.send(new DescribeVpnConnectionsCommand(input));
42120
+ let result = await client.send(new DescribeVpnConnectionsCommand(input));
42121
42121
  reason = result;
42122
42122
  try {
42123
- let returnComparator = () => {
42123
+ const returnComparator = () => {
42124
42124
  let flat_1 = [].concat(...result.VpnConnections);
42125
42125
  let projection_3 = flat_1.map((element_2) => {
42126
42126
  return element_2.State;
@@ -42137,7 +42137,7 @@ const checkState$1 = async (client, input) => {
42137
42137
  }
42138
42138
  catch (e) { }
42139
42139
  try {
42140
- let returnComparator = () => {
42140
+ const returnComparator = () => {
42141
42141
  let flat_1 = [].concat(...result.VpnConnections);
42142
42142
  let projection_3 = flat_1.map((element_2) => {
42143
42143
  return element_2.State;
@@ -42170,10 +42170,10 @@ const waitUntilVpnConnectionDeleted = async (params, input) => {
42170
42170
  const checkState = async (client, input) => {
42171
42171
  let reason;
42172
42172
  try {
42173
- const result = await client.send(new GetPasswordDataCommand(input));
42173
+ let result = await client.send(new GetPasswordDataCommand(input));
42174
42174
  reason = result;
42175
42175
  try {
42176
- let returnComparator = () => {
42176
+ const returnComparator = () => {
42177
42177
  return (result.PasswordData.length > 0.0);
42178
42178
  };
42179
42179
  if (returnComparator() == true) {