@aws-sdk/client-ec2 3.1037.0 → 3.1039.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.
Files changed (116) hide show
  1. package/dist-cjs/index.js +17 -17
  2. package/dist-es/waiters/waitForImageAvailable.js +1 -1
  3. package/dist-es/waiters/waitForImageExists.js +2 -2
  4. package/dist-es/waiters/waitForInstanceExists.js +2 -2
  5. package/dist-es/waiters/waitForInstanceRunning.js +2 -2
  6. package/dist-es/waiters/waitForInstanceStatusOk.js +1 -1
  7. package/dist-es/waiters/waitForInstanceStopped.js +1 -1
  8. package/dist-es/waiters/waitForInstanceTerminated.js +1 -1
  9. package/dist-es/waiters/waitForInternetGatewayExists.js +1 -1
  10. package/dist-es/waiters/waitForKeyPairExists.js +2 -2
  11. package/dist-es/waiters/waitForNatGatewayAvailable.js +1 -1
  12. package/dist-es/waiters/waitForNatGatewayDeleted.js +1 -1
  13. package/dist-es/waiters/waitForNetworkInterfaceAvailable.js +1 -1
  14. package/dist-es/waiters/waitForPasswordDataAvailable.js +1 -1
  15. package/dist-es/waiters/waitForSecondaryNetworkCreateComplete.js +1 -1
  16. package/dist-es/waiters/waitForSecondarySubnetCreateComplete.js +1 -1
  17. package/dist-es/waiters/waitForSecurityGroupExists.js +1 -1
  18. package/dist-es/waiters/waitForSnapshotCompleted.js +1 -1
  19. package/dist-es/waiters/waitForSpotInstanceRequestFulfilled.js +1 -1
  20. package/dist-es/waiters/waitForSubnetAvailable.js +1 -1
  21. package/dist-es/waiters/waitForVolumeAvailable.js +1 -1
  22. package/dist-es/waiters/waitForVolumeDeleted.js +2 -2
  23. package/dist-es/waiters/waitForVolumeInUse.js +1 -1
  24. package/dist-es/waiters/waitForVpcAvailable.js +1 -1
  25. package/dist-es/waiters/waitForVpcExists.js +2 -2
  26. package/dist-es/waiters/waitForVpcPeeringConnectionDeleted.js +1 -1
  27. package/dist-es/waiters/waitForVpcPeeringConnectionExists.js +1 -1
  28. package/dist-types/EC2.d.ts +44 -43
  29. package/dist-types/ts3.4/EC2.d.ts +50 -43
  30. package/dist-types/ts3.4/waiters/waitForBundleTaskComplete.d.ts +9 -3
  31. package/dist-types/ts3.4/waiters/waitForConversionTaskCancelled.d.ts +9 -3
  32. package/dist-types/ts3.4/waiters/waitForConversionTaskCompleted.d.ts +9 -3
  33. package/dist-types/ts3.4/waiters/waitForConversionTaskDeleted.d.ts +9 -3
  34. package/dist-types/ts3.4/waiters/waitForCustomerGatewayAvailable.d.ts +9 -3
  35. package/dist-types/ts3.4/waiters/waitForExportTaskCancelled.d.ts +9 -3
  36. package/dist-types/ts3.4/waiters/waitForExportTaskCompleted.d.ts +9 -3
  37. package/dist-types/ts3.4/waiters/waitForImageAvailable.d.ts +7 -3
  38. package/dist-types/ts3.4/waiters/waitForImageExists.d.ts +7 -3
  39. package/dist-types/ts3.4/waiters/waitForImageUsageReportAvailable.d.ts +9 -3
  40. package/dist-types/ts3.4/waiters/waitForInstanceExists.d.ts +9 -3
  41. package/dist-types/ts3.4/waiters/waitForInstanceRunning.d.ts +9 -3
  42. package/dist-types/ts3.4/waiters/waitForInstanceStatusOk.d.ts +9 -3
  43. package/dist-types/ts3.4/waiters/waitForInstanceStopped.d.ts +9 -3
  44. package/dist-types/ts3.4/waiters/waitForInstanceTerminated.d.ts +9 -3
  45. package/dist-types/ts3.4/waiters/waitForInternetGatewayExists.d.ts +9 -3
  46. package/dist-types/ts3.4/waiters/waitForKeyPairExists.d.ts +7 -3
  47. package/dist-types/ts3.4/waiters/waitForNatGatewayAvailable.d.ts +9 -3
  48. package/dist-types/ts3.4/waiters/waitForNatGatewayDeleted.d.ts +11 -3
  49. package/dist-types/ts3.4/waiters/waitForNetworkInterfaceAvailable.d.ts +9 -3
  50. package/dist-types/ts3.4/waiters/waitForPasswordDataAvailable.d.ts +7 -3
  51. package/dist-types/ts3.4/waiters/waitForSecondaryNetworkCreateComplete.d.ts +9 -3
  52. package/dist-types/ts3.4/waiters/waitForSecondaryNetworkDeleteComplete.d.ts +9 -3
  53. package/dist-types/ts3.4/waiters/waitForSecondarySubnetCreateComplete.d.ts +9 -3
  54. package/dist-types/ts3.4/waiters/waitForSecondarySubnetDeleteComplete.d.ts +9 -3
  55. package/dist-types/ts3.4/waiters/waitForSecurityGroupExists.d.ts +9 -3
  56. package/dist-types/ts3.4/waiters/waitForSecurityGroupVpcAssociationAssociated.d.ts +11 -3
  57. package/dist-types/ts3.4/waiters/waitForSecurityGroupVpcAssociationDisassociated.d.ts +11 -3
  58. package/dist-types/ts3.4/waiters/waitForSnapshotCompleted.d.ts +9 -3
  59. package/dist-types/ts3.4/waiters/waitForSnapshotImported.d.ts +9 -3
  60. package/dist-types/ts3.4/waiters/waitForSpotInstanceRequestFulfilled.d.ts +9 -3
  61. package/dist-types/ts3.4/waiters/waitForStoreImageTaskComplete.d.ts +9 -3
  62. package/dist-types/ts3.4/waiters/waitForSubnetAvailable.d.ts +7 -3
  63. package/dist-types/ts3.4/waiters/waitForSystemStatusOk.d.ts +9 -3
  64. package/dist-types/ts3.4/waiters/waitForVolumeAvailable.d.ts +7 -3
  65. package/dist-types/ts3.4/waiters/waitForVolumeDeleted.d.ts +7 -3
  66. package/dist-types/ts3.4/waiters/waitForVolumeInUse.d.ts +7 -3
  67. package/dist-types/ts3.4/waiters/waitForVpcAvailable.d.ts +7 -3
  68. package/dist-types/ts3.4/waiters/waitForVpcExists.d.ts +7 -3
  69. package/dist-types/ts3.4/waiters/waitForVpcPeeringConnectionDeleted.d.ts +11 -3
  70. package/dist-types/ts3.4/waiters/waitForVpcPeeringConnectionExists.d.ts +9 -3
  71. package/dist-types/ts3.4/waiters/waitForVpnConnectionAvailable.d.ts +9 -3
  72. package/dist-types/ts3.4/waiters/waitForVpnConnectionDeleted.d.ts +9 -3
  73. package/dist-types/waiters/waitForBundleTaskComplete.d.ts +4 -3
  74. package/dist-types/waiters/waitForConversionTaskCancelled.d.ts +4 -3
  75. package/dist-types/waiters/waitForConversionTaskCompleted.d.ts +4 -3
  76. package/dist-types/waiters/waitForConversionTaskDeleted.d.ts +4 -3
  77. package/dist-types/waiters/waitForCustomerGatewayAvailable.d.ts +4 -3
  78. package/dist-types/waiters/waitForExportTaskCancelled.d.ts +4 -3
  79. package/dist-types/waiters/waitForExportTaskCompleted.d.ts +4 -3
  80. package/dist-types/waiters/waitForImageAvailable.d.ts +4 -3
  81. package/dist-types/waiters/waitForImageExists.d.ts +4 -3
  82. package/dist-types/waiters/waitForImageUsageReportAvailable.d.ts +4 -3
  83. package/dist-types/waiters/waitForInstanceExists.d.ts +4 -3
  84. package/dist-types/waiters/waitForInstanceRunning.d.ts +4 -3
  85. package/dist-types/waiters/waitForInstanceStatusOk.d.ts +4 -3
  86. package/dist-types/waiters/waitForInstanceStopped.d.ts +4 -3
  87. package/dist-types/waiters/waitForInstanceTerminated.d.ts +4 -3
  88. package/dist-types/waiters/waitForInternetGatewayExists.d.ts +4 -3
  89. package/dist-types/waiters/waitForKeyPairExists.d.ts +4 -3
  90. package/dist-types/waiters/waitForNatGatewayAvailable.d.ts +4 -3
  91. package/dist-types/waiters/waitForNatGatewayDeleted.d.ts +4 -3
  92. package/dist-types/waiters/waitForNetworkInterfaceAvailable.d.ts +4 -3
  93. package/dist-types/waiters/waitForPasswordDataAvailable.d.ts +4 -3
  94. package/dist-types/waiters/waitForSecondaryNetworkCreateComplete.d.ts +4 -3
  95. package/dist-types/waiters/waitForSecondaryNetworkDeleteComplete.d.ts +4 -3
  96. package/dist-types/waiters/waitForSecondarySubnetCreateComplete.d.ts +4 -3
  97. package/dist-types/waiters/waitForSecondarySubnetDeleteComplete.d.ts +4 -3
  98. package/dist-types/waiters/waitForSecurityGroupExists.d.ts +4 -3
  99. package/dist-types/waiters/waitForSecurityGroupVpcAssociationAssociated.d.ts +4 -3
  100. package/dist-types/waiters/waitForSecurityGroupVpcAssociationDisassociated.d.ts +4 -3
  101. package/dist-types/waiters/waitForSnapshotCompleted.d.ts +4 -3
  102. package/dist-types/waiters/waitForSnapshotImported.d.ts +4 -3
  103. package/dist-types/waiters/waitForSpotInstanceRequestFulfilled.d.ts +4 -3
  104. package/dist-types/waiters/waitForStoreImageTaskComplete.d.ts +4 -3
  105. package/dist-types/waiters/waitForSubnetAvailable.d.ts +4 -3
  106. package/dist-types/waiters/waitForSystemStatusOk.d.ts +4 -3
  107. package/dist-types/waiters/waitForVolumeAvailable.d.ts +4 -3
  108. package/dist-types/waiters/waitForVolumeDeleted.d.ts +4 -3
  109. package/dist-types/waiters/waitForVolumeInUse.d.ts +4 -3
  110. package/dist-types/waiters/waitForVpcAvailable.d.ts +4 -3
  111. package/dist-types/waiters/waitForVpcExists.d.ts +4 -3
  112. package/dist-types/waiters/waitForVpcPeeringConnectionDeleted.d.ts +4 -3
  113. package/dist-types/waiters/waitForVpcPeeringConnectionExists.d.ts +4 -3
  114. package/dist-types/waiters/waitForVpnConnectionAvailable.d.ts +4 -3
  115. package/dist-types/waiters/waitForVpnConnectionDeleted.d.ts +4 -3
  116. package/package.json +8 -8
@@ -3058,6 +3058,7 @@ import {
3058
3058
  WithdrawByoipCidrCommandOutput,
3059
3059
  } from "./commands/WithdrawByoipCidrCommand";
3060
3060
  import { EC2Client } from "./EC2Client";
3061
+ import { EC2ServiceException } from "./models/EC2ServiceException";
3061
3062
  export interface EC2 {
3062
3063
  acceptAddressTransfer(
3063
3064
  args: AcceptAddressTransferCommandInput,
@@ -15511,7 +15512,7 @@ export interface EC2 {
15511
15512
  WaiterConfiguration<EC2>,
15512
15513
  Exclude<keyof WaiterConfiguration<EC2>, "client">
15513
15514
  >
15514
- ): Promise<WaiterResult>;
15515
+ ): Promise<WaiterResult<DescribeBundleTasksCommandOutput>>;
15515
15516
  waitUntilConversionTaskCancelled(
15516
15517
  args: DescribeConversionTasksCommandInput,
15517
15518
  waiterConfig:
@@ -15520,7 +15521,7 @@ export interface EC2 {
15520
15521
  WaiterConfiguration<EC2>,
15521
15522
  Exclude<keyof WaiterConfiguration<EC2>, "client">
15522
15523
  >
15523
- ): Promise<WaiterResult>;
15524
+ ): Promise<WaiterResult<DescribeConversionTasksCommandOutput>>;
15524
15525
  waitUntilConversionTaskCompleted(
15525
15526
  args: DescribeConversionTasksCommandInput,
15526
15527
  waiterConfig:
@@ -15529,7 +15530,7 @@ export interface EC2 {
15529
15530
  WaiterConfiguration<EC2>,
15530
15531
  Exclude<keyof WaiterConfiguration<EC2>, "client">
15531
15532
  >
15532
- ): Promise<WaiterResult>;
15533
+ ): Promise<WaiterResult<DescribeConversionTasksCommandOutput>>;
15533
15534
  waitUntilConversionTaskDeleted(
15534
15535
  args: DescribeConversionTasksCommandInput,
15535
15536
  waiterConfig:
@@ -15538,7 +15539,7 @@ export interface EC2 {
15538
15539
  WaiterConfiguration<EC2>,
15539
15540
  Exclude<keyof WaiterConfiguration<EC2>, "client">
15540
15541
  >
15541
- ): Promise<WaiterResult>;
15542
+ ): Promise<WaiterResult<DescribeConversionTasksCommandOutput>>;
15542
15543
  waitUntilCustomerGatewayAvailable(
15543
15544
  args: DescribeCustomerGatewaysCommandInput,
15544
15545
  waiterConfig:
@@ -15547,7 +15548,7 @@ export interface EC2 {
15547
15548
  WaiterConfiguration<EC2>,
15548
15549
  Exclude<keyof WaiterConfiguration<EC2>, "client">
15549
15550
  >
15550
- ): Promise<WaiterResult>;
15551
+ ): Promise<WaiterResult<DescribeCustomerGatewaysCommandOutput>>;
15551
15552
  waitUntilExportTaskCancelled(
15552
15553
  args: DescribeExportTasksCommandInput,
15553
15554
  waiterConfig:
@@ -15556,7 +15557,7 @@ export interface EC2 {
15556
15557
  WaiterConfiguration<EC2>,
15557
15558
  Exclude<keyof WaiterConfiguration<EC2>, "client">
15558
15559
  >
15559
- ): Promise<WaiterResult>;
15560
+ ): Promise<WaiterResult<DescribeExportTasksCommandOutput>>;
15560
15561
  waitUntilExportTaskCompleted(
15561
15562
  args: DescribeExportTasksCommandInput,
15562
15563
  waiterConfig:
@@ -15565,7 +15566,7 @@ export interface EC2 {
15565
15566
  WaiterConfiguration<EC2>,
15566
15567
  Exclude<keyof WaiterConfiguration<EC2>, "client">
15567
15568
  >
15568
- ): Promise<WaiterResult>;
15569
+ ): Promise<WaiterResult<DescribeExportTasksCommandOutput>>;
15569
15570
  waitUntilImageAvailable(
15570
15571
  args: DescribeImagesCommandInput,
15571
15572
  waiterConfig:
@@ -15574,7 +15575,7 @@ export interface EC2 {
15574
15575
  WaiterConfiguration<EC2>,
15575
15576
  Exclude<keyof WaiterConfiguration<EC2>, "client">
15576
15577
  >
15577
- ): Promise<WaiterResult>;
15578
+ ): Promise<WaiterResult<DescribeImagesCommandOutput>>;
15578
15579
  waitUntilImageExists(
15579
15580
  args: DescribeImagesCommandInput,
15580
15581
  waiterConfig:
@@ -15583,7 +15584,7 @@ export interface EC2 {
15583
15584
  WaiterConfiguration<EC2>,
15584
15585
  Exclude<keyof WaiterConfiguration<EC2>, "client">
15585
15586
  >
15586
- ): Promise<WaiterResult>;
15587
+ ): Promise<WaiterResult<DescribeImagesCommandOutput>>;
15587
15588
  waitUntilImageUsageReportAvailable(
15588
15589
  args: DescribeImageUsageReportsCommandInput,
15589
15590
  waiterConfig:
@@ -15592,7 +15593,7 @@ export interface EC2 {
15592
15593
  WaiterConfiguration<EC2>,
15593
15594
  Exclude<keyof WaiterConfiguration<EC2>, "client">
15594
15595
  >
15595
- ): Promise<WaiterResult>;
15596
+ ): Promise<WaiterResult<DescribeImageUsageReportsCommandOutput>>;
15596
15597
  waitUntilSnapshotImported(
15597
15598
  args: DescribeImportSnapshotTasksCommandInput,
15598
15599
  waiterConfig:
@@ -15601,7 +15602,7 @@ export interface EC2 {
15601
15602
  WaiterConfiguration<EC2>,
15602
15603
  Exclude<keyof WaiterConfiguration<EC2>, "client">
15603
15604
  >
15604
- ): Promise<WaiterResult>;
15605
+ ): Promise<WaiterResult<DescribeImportSnapshotTasksCommandOutput>>;
15605
15606
  waitUntilInstanceExists(
15606
15607
  args: DescribeInstancesCommandInput,
15607
15608
  waiterConfig:
@@ -15610,7 +15611,7 @@ export interface EC2 {
15610
15611
  WaiterConfiguration<EC2>,
15611
15612
  Exclude<keyof WaiterConfiguration<EC2>, "client">
15612
15613
  >
15613
- ): Promise<WaiterResult>;
15614
+ ): Promise<WaiterResult<DescribeInstancesCommandOutput>>;
15614
15615
  waitUntilInstanceRunning(
15615
15616
  args: DescribeInstancesCommandInput,
15616
15617
  waiterConfig:
@@ -15619,7 +15620,7 @@ export interface EC2 {
15619
15620
  WaiterConfiguration<EC2>,
15620
15621
  Exclude<keyof WaiterConfiguration<EC2>, "client">
15621
15622
  >
15622
- ): Promise<WaiterResult>;
15623
+ ): Promise<WaiterResult<DescribeInstancesCommandOutput>>;
15623
15624
  waitUntilInstanceStopped(
15624
15625
  args: DescribeInstancesCommandInput,
15625
15626
  waiterConfig:
@@ -15628,7 +15629,7 @@ export interface EC2 {
15628
15629
  WaiterConfiguration<EC2>,
15629
15630
  Exclude<keyof WaiterConfiguration<EC2>, "client">
15630
15631
  >
15631
- ): Promise<WaiterResult>;
15632
+ ): Promise<WaiterResult<DescribeInstancesCommandOutput>>;
15632
15633
  waitUntilInstanceTerminated(
15633
15634
  args: DescribeInstancesCommandInput,
15634
15635
  waiterConfig:
@@ -15637,7 +15638,7 @@ export interface EC2 {
15637
15638
  WaiterConfiguration<EC2>,
15638
15639
  Exclude<keyof WaiterConfiguration<EC2>, "client">
15639
15640
  >
15640
- ): Promise<WaiterResult>;
15641
+ ): Promise<WaiterResult<DescribeInstancesCommandOutput>>;
15641
15642
  waitUntilInstanceStatusOk(
15642
15643
  args: DescribeInstanceStatusCommandInput,
15643
15644
  waiterConfig:
@@ -15646,7 +15647,7 @@ export interface EC2 {
15646
15647
  WaiterConfiguration<EC2>,
15647
15648
  Exclude<keyof WaiterConfiguration<EC2>, "client">
15648
15649
  >
15649
- ): Promise<WaiterResult>;
15650
+ ): Promise<WaiterResult<DescribeInstanceStatusCommandOutput>>;
15650
15651
  waitUntilSystemStatusOk(
15651
15652
  args: DescribeInstanceStatusCommandInput,
15652
15653
  waiterConfig:
@@ -15655,7 +15656,7 @@ export interface EC2 {
15655
15656
  WaiterConfiguration<EC2>,
15656
15657
  Exclude<keyof WaiterConfiguration<EC2>, "client">
15657
15658
  >
15658
- ): Promise<WaiterResult>;
15659
+ ): Promise<WaiterResult<DescribeInstanceStatusCommandOutput>>;
15659
15660
  waitUntilInternetGatewayExists(
15660
15661
  args: DescribeInternetGatewaysCommandInput,
15661
15662
  waiterConfig:
@@ -15664,7 +15665,7 @@ export interface EC2 {
15664
15665
  WaiterConfiguration<EC2>,
15665
15666
  Exclude<keyof WaiterConfiguration<EC2>, "client">
15666
15667
  >
15667
- ): Promise<WaiterResult>;
15668
+ ): Promise<WaiterResult<DescribeInternetGatewaysCommandOutput>>;
15668
15669
  waitUntilKeyPairExists(
15669
15670
  args: DescribeKeyPairsCommandInput,
15670
15671
  waiterConfig:
@@ -15673,7 +15674,7 @@ export interface EC2 {
15673
15674
  WaiterConfiguration<EC2>,
15674
15675
  Exclude<keyof WaiterConfiguration<EC2>, "client">
15675
15676
  >
15676
- ): Promise<WaiterResult>;
15677
+ ): Promise<WaiterResult<DescribeKeyPairsCommandOutput>>;
15677
15678
  waitUntilNatGatewayAvailable(
15678
15679
  args: DescribeNatGatewaysCommandInput,
15679
15680
  waiterConfig:
@@ -15682,7 +15683,7 @@ export interface EC2 {
15682
15683
  WaiterConfiguration<EC2>,
15683
15684
  Exclude<keyof WaiterConfiguration<EC2>, "client">
15684
15685
  >
15685
- ): Promise<WaiterResult>;
15686
+ ): Promise<WaiterResult<DescribeNatGatewaysCommandOutput>>;
15686
15687
  waitUntilNatGatewayDeleted(
15687
15688
  args: DescribeNatGatewaysCommandInput,
15688
15689
  waiterConfig:
@@ -15691,7 +15692,9 @@ export interface EC2 {
15691
15692
  WaiterConfiguration<EC2>,
15692
15693
  Exclude<keyof WaiterConfiguration<EC2>, "client">
15693
15694
  >
15694
- ): Promise<WaiterResult>;
15695
+ ): Promise<
15696
+ WaiterResult<DescribeNatGatewaysCommandOutput | EC2ServiceException>
15697
+ >;
15695
15698
  waitUntilNetworkInterfaceAvailable(
15696
15699
  args: DescribeNetworkInterfacesCommandInput,
15697
15700
  waiterConfig:
@@ -15700,7 +15703,7 @@ export interface EC2 {
15700
15703
  WaiterConfiguration<EC2>,
15701
15704
  Exclude<keyof WaiterConfiguration<EC2>, "client">
15702
15705
  >
15703
- ): Promise<WaiterResult>;
15706
+ ): Promise<WaiterResult<DescribeNetworkInterfacesCommandOutput>>;
15704
15707
  waitUntilSecondaryNetworkCreateComplete(
15705
15708
  args: DescribeSecondaryNetworksCommandInput,
15706
15709
  waiterConfig:
@@ -15709,7 +15712,7 @@ export interface EC2 {
15709
15712
  WaiterConfiguration<EC2>,
15710
15713
  Exclude<keyof WaiterConfiguration<EC2>, "client">
15711
15714
  >
15712
- ): Promise<WaiterResult>;
15715
+ ): Promise<WaiterResult<DescribeSecondaryNetworksCommandOutput>>;
15713
15716
  waitUntilSecondaryNetworkDeleteComplete(
15714
15717
  args: DescribeSecondaryNetworksCommandInput,
15715
15718
  waiterConfig:
@@ -15718,7 +15721,7 @@ export interface EC2 {
15718
15721
  WaiterConfiguration<EC2>,
15719
15722
  Exclude<keyof WaiterConfiguration<EC2>, "client">
15720
15723
  >
15721
- ): Promise<WaiterResult>;
15724
+ ): Promise<WaiterResult<DescribeSecondaryNetworksCommandOutput>>;
15722
15725
  waitUntilSecondarySubnetCreateComplete(
15723
15726
  args: DescribeSecondarySubnetsCommandInput,
15724
15727
  waiterConfig:
@@ -15727,7 +15730,7 @@ export interface EC2 {
15727
15730
  WaiterConfiguration<EC2>,
15728
15731
  Exclude<keyof WaiterConfiguration<EC2>, "client">
15729
15732
  >
15730
- ): Promise<WaiterResult>;
15733
+ ): Promise<WaiterResult<DescribeSecondarySubnetsCommandOutput>>;
15731
15734
  waitUntilSecondarySubnetDeleteComplete(
15732
15735
  args: DescribeSecondarySubnetsCommandInput,
15733
15736
  waiterConfig:
@@ -15736,7 +15739,7 @@ export interface EC2 {
15736
15739
  WaiterConfiguration<EC2>,
15737
15740
  Exclude<keyof WaiterConfiguration<EC2>, "client">
15738
15741
  >
15739
- ): Promise<WaiterResult>;
15742
+ ): Promise<WaiterResult<DescribeSecondarySubnetsCommandOutput>>;
15740
15743
  waitUntilSecurityGroupExists(
15741
15744
  args: DescribeSecurityGroupsCommandInput,
15742
15745
  waiterConfig:
@@ -15745,7 +15748,7 @@ export interface EC2 {
15745
15748
  WaiterConfiguration<EC2>,
15746
15749
  Exclude<keyof WaiterConfiguration<EC2>, "client">
15747
15750
  >
15748
- ): Promise<WaiterResult>;
15751
+ ): Promise<WaiterResult<DescribeSecurityGroupsCommandOutput>>;
15749
15752
  waitUntilSecurityGroupVpcAssociationAssociated(
15750
15753
  args: DescribeSecurityGroupVpcAssociationsCommandInput,
15751
15754
  waiterConfig:
@@ -15754,7 +15757,7 @@ export interface EC2 {
15754
15757
  WaiterConfiguration<EC2>,
15755
15758
  Exclude<keyof WaiterConfiguration<EC2>, "client">
15756
15759
  >
15757
- ): Promise<WaiterResult>;
15760
+ ): Promise<WaiterResult<DescribeSecurityGroupVpcAssociationsCommandOutput>>;
15758
15761
  waitUntilSecurityGroupVpcAssociationDisassociated(
15759
15762
  args: DescribeSecurityGroupVpcAssociationsCommandInput,
15760
15763
  waiterConfig:
@@ -15763,7 +15766,7 @@ export interface EC2 {
15763
15766
  WaiterConfiguration<EC2>,
15764
15767
  Exclude<keyof WaiterConfiguration<EC2>, "client">
15765
15768
  >
15766
- ): Promise<WaiterResult>;
15769
+ ): Promise<WaiterResult<DescribeSecurityGroupVpcAssociationsCommandOutput>>;
15767
15770
  waitUntilSnapshotCompleted(
15768
15771
  args: DescribeSnapshotsCommandInput,
15769
15772
  waiterConfig:
@@ -15772,7 +15775,7 @@ export interface EC2 {
15772
15775
  WaiterConfiguration<EC2>,
15773
15776
  Exclude<keyof WaiterConfiguration<EC2>, "client">
15774
15777
  >
15775
- ): Promise<WaiterResult>;
15778
+ ): Promise<WaiterResult<DescribeSnapshotsCommandOutput>>;
15776
15779
  waitUntilSpotInstanceRequestFulfilled(
15777
15780
  args: DescribeSpotInstanceRequestsCommandInput,
15778
15781
  waiterConfig:
@@ -15781,7 +15784,7 @@ export interface EC2 {
15781
15784
  WaiterConfiguration<EC2>,
15782
15785
  Exclude<keyof WaiterConfiguration<EC2>, "client">
15783
15786
  >
15784
- ): Promise<WaiterResult>;
15787
+ ): Promise<WaiterResult<DescribeSpotInstanceRequestsCommandOutput>>;
15785
15788
  waitUntilStoreImageTaskComplete(
15786
15789
  args: DescribeStoreImageTasksCommandInput,
15787
15790
  waiterConfig:
@@ -15790,7 +15793,7 @@ export interface EC2 {
15790
15793
  WaiterConfiguration<EC2>,
15791
15794
  Exclude<keyof WaiterConfiguration<EC2>, "client">
15792
15795
  >
15793
- ): Promise<WaiterResult>;
15796
+ ): Promise<WaiterResult<DescribeStoreImageTasksCommandOutput>>;
15794
15797
  waitUntilSubnetAvailable(
15795
15798
  args: DescribeSubnetsCommandInput,
15796
15799
  waiterConfig:
@@ -15799,7 +15802,7 @@ export interface EC2 {
15799
15802
  WaiterConfiguration<EC2>,
15800
15803
  Exclude<keyof WaiterConfiguration<EC2>, "client">
15801
15804
  >
15802
- ): Promise<WaiterResult>;
15805
+ ): Promise<WaiterResult<DescribeSubnetsCommandOutput>>;
15803
15806
  waitUntilVolumeAvailable(
15804
15807
  args: DescribeVolumesCommandInput,
15805
15808
  waiterConfig:
@@ -15808,7 +15811,7 @@ export interface EC2 {
15808
15811
  WaiterConfiguration<EC2>,
15809
15812
  Exclude<keyof WaiterConfiguration<EC2>, "client">
15810
15813
  >
15811
- ): Promise<WaiterResult>;
15814
+ ): Promise<WaiterResult<DescribeVolumesCommandOutput>>;
15812
15815
  waitUntilVolumeDeleted(
15813
15816
  args: DescribeVolumesCommandInput,
15814
15817
  waiterConfig:
@@ -15817,7 +15820,7 @@ export interface EC2 {
15817
15820
  WaiterConfiguration<EC2>,
15818
15821
  Exclude<keyof WaiterConfiguration<EC2>, "client">
15819
15822
  >
15820
- ): Promise<WaiterResult>;
15823
+ ): Promise<WaiterResult<DescribeVolumesCommandOutput | EC2ServiceException>>;
15821
15824
  waitUntilVolumeInUse(
15822
15825
  args: DescribeVolumesCommandInput,
15823
15826
  waiterConfig:
@@ -15826,7 +15829,7 @@ export interface EC2 {
15826
15829
  WaiterConfiguration<EC2>,
15827
15830
  Exclude<keyof WaiterConfiguration<EC2>, "client">
15828
15831
  >
15829
- ): Promise<WaiterResult>;
15832
+ ): Promise<WaiterResult<DescribeVolumesCommandOutput>>;
15830
15833
  waitUntilVpcPeeringConnectionDeleted(
15831
15834
  args: DescribeVpcPeeringConnectionsCommandInput,
15832
15835
  waiterConfig:
@@ -15835,7 +15838,11 @@ export interface EC2 {
15835
15838
  WaiterConfiguration<EC2>,
15836
15839
  Exclude<keyof WaiterConfiguration<EC2>, "client">
15837
15840
  >
15838
- ): Promise<WaiterResult>;
15841
+ ): Promise<
15842
+ WaiterResult<
15843
+ DescribeVpcPeeringConnectionsCommandOutput | EC2ServiceException
15844
+ >
15845
+ >;
15839
15846
  waitUntilVpcPeeringConnectionExists(
15840
15847
  args: DescribeVpcPeeringConnectionsCommandInput,
15841
15848
  waiterConfig:
@@ -15844,7 +15851,7 @@ export interface EC2 {
15844
15851
  WaiterConfiguration<EC2>,
15845
15852
  Exclude<keyof WaiterConfiguration<EC2>, "client">
15846
15853
  >
15847
- ): Promise<WaiterResult>;
15854
+ ): Promise<WaiterResult<DescribeVpcPeeringConnectionsCommandOutput>>;
15848
15855
  waitUntilVpcAvailable(
15849
15856
  args: DescribeVpcsCommandInput,
15850
15857
  waiterConfig:
@@ -15853,7 +15860,7 @@ export interface EC2 {
15853
15860
  WaiterConfiguration<EC2>,
15854
15861
  Exclude<keyof WaiterConfiguration<EC2>, "client">
15855
15862
  >
15856
- ): Promise<WaiterResult>;
15863
+ ): Promise<WaiterResult<DescribeVpcsCommandOutput>>;
15857
15864
  waitUntilVpcExists(
15858
15865
  args: DescribeVpcsCommandInput,
15859
15866
  waiterConfig:
@@ -15862,7 +15869,7 @@ export interface EC2 {
15862
15869
  WaiterConfiguration<EC2>,
15863
15870
  Exclude<keyof WaiterConfiguration<EC2>, "client">
15864
15871
  >
15865
- ): Promise<WaiterResult>;
15872
+ ): Promise<WaiterResult<DescribeVpcsCommandOutput>>;
15866
15873
  waitUntilVpnConnectionAvailable(
15867
15874
  args: DescribeVpnConnectionsCommandInput,
15868
15875
  waiterConfig:
@@ -15871,7 +15878,7 @@ export interface EC2 {
15871
15878
  WaiterConfiguration<EC2>,
15872
15879
  Exclude<keyof WaiterConfiguration<EC2>, "client">
15873
15880
  >
15874
- ): Promise<WaiterResult>;
15881
+ ): Promise<WaiterResult<DescribeVpnConnectionsCommandOutput>>;
15875
15882
  waitUntilVpnConnectionDeleted(
15876
15883
  args: DescribeVpnConnectionsCommandInput,
15877
15884
  waiterConfig:
@@ -15880,7 +15887,7 @@ export interface EC2 {
15880
15887
  WaiterConfiguration<EC2>,
15881
15888
  Exclude<keyof WaiterConfiguration<EC2>, "client">
15882
15889
  >
15883
- ): Promise<WaiterResult>;
15890
+ ): Promise<WaiterResult<DescribeVpnConnectionsCommandOutput>>;
15884
15891
  waitUntilPasswordDataAvailable(
15885
15892
  args: GetPasswordDataCommandInput,
15886
15893
  waiterConfig:
@@ -15889,6 +15896,6 @@ export interface EC2 {
15889
15896
  WaiterConfiguration<EC2>,
15890
15897
  Exclude<keyof WaiterConfiguration<EC2>, "client">
15891
15898
  >
15892
- ): Promise<WaiterResult>;
15899
+ ): Promise<WaiterResult<GetPasswordDataCommandOutput>>;
15893
15900
  }
15894
15901
  export declare class EC2 extends EC2Client implements EC2 {}
@@ -1,11 +1,17 @@
1
1
  import { WaiterConfiguration, WaiterResult } from "@smithy/util-waiter";
2
- import { DescribeBundleTasksCommandInput } from "../commands/DescribeBundleTasksCommand";
2
+ import {
3
+ DescribeBundleTasksCommandInput,
4
+ DescribeBundleTasksCommandOutput,
5
+ } from "../commands/DescribeBundleTasksCommand";
3
6
  import { EC2Client } from "../EC2Client";
7
+ import { EC2ServiceException } from "../models/EC2ServiceException";
4
8
  export declare const waitForBundleTaskComplete: (
5
9
  params: WaiterConfiguration<EC2Client>,
6
10
  input: DescribeBundleTasksCommandInput
7
- ) => Promise<WaiterResult>;
11
+ ) => Promise<
12
+ WaiterResult<DescribeBundleTasksCommandOutput | EC2ServiceException>
13
+ >;
8
14
  export declare const waitUntilBundleTaskComplete: (
9
15
  params: WaiterConfiguration<EC2Client>,
10
16
  input: DescribeBundleTasksCommandInput
11
- ) => Promise<WaiterResult>;
17
+ ) => Promise<WaiterResult<DescribeBundleTasksCommandOutput>>;
@@ -1,11 +1,17 @@
1
1
  import { WaiterConfiguration, WaiterResult } from "@smithy/util-waiter";
2
- import { DescribeConversionTasksCommandInput } from "../commands/DescribeConversionTasksCommand";
2
+ import {
3
+ DescribeConversionTasksCommandInput,
4
+ DescribeConversionTasksCommandOutput,
5
+ } from "../commands/DescribeConversionTasksCommand";
3
6
  import { EC2Client } from "../EC2Client";
7
+ import { EC2ServiceException } from "../models/EC2ServiceException";
4
8
  export declare const waitForConversionTaskCancelled: (
5
9
  params: WaiterConfiguration<EC2Client>,
6
10
  input: DescribeConversionTasksCommandInput
7
- ) => Promise<WaiterResult>;
11
+ ) => Promise<
12
+ WaiterResult<DescribeConversionTasksCommandOutput | EC2ServiceException>
13
+ >;
8
14
  export declare const waitUntilConversionTaskCancelled: (
9
15
  params: WaiterConfiguration<EC2Client>,
10
16
  input: DescribeConversionTasksCommandInput
11
- ) => Promise<WaiterResult>;
17
+ ) => Promise<WaiterResult<DescribeConversionTasksCommandOutput>>;
@@ -1,11 +1,17 @@
1
1
  import { WaiterConfiguration, WaiterResult } from "@smithy/util-waiter";
2
- import { DescribeConversionTasksCommandInput } from "../commands/DescribeConversionTasksCommand";
2
+ import {
3
+ DescribeConversionTasksCommandInput,
4
+ DescribeConversionTasksCommandOutput,
5
+ } from "../commands/DescribeConversionTasksCommand";
3
6
  import { EC2Client } from "../EC2Client";
7
+ import { EC2ServiceException } from "../models/EC2ServiceException";
4
8
  export declare const waitForConversionTaskCompleted: (
5
9
  params: WaiterConfiguration<EC2Client>,
6
10
  input: DescribeConversionTasksCommandInput
7
- ) => Promise<WaiterResult>;
11
+ ) => Promise<
12
+ WaiterResult<DescribeConversionTasksCommandOutput | EC2ServiceException>
13
+ >;
8
14
  export declare const waitUntilConversionTaskCompleted: (
9
15
  params: WaiterConfiguration<EC2Client>,
10
16
  input: DescribeConversionTasksCommandInput
11
- ) => Promise<WaiterResult>;
17
+ ) => Promise<WaiterResult<DescribeConversionTasksCommandOutput>>;
@@ -1,11 +1,17 @@
1
1
  import { WaiterConfiguration, WaiterResult } from "@smithy/util-waiter";
2
- import { DescribeConversionTasksCommandInput } from "../commands/DescribeConversionTasksCommand";
2
+ import {
3
+ DescribeConversionTasksCommandInput,
4
+ DescribeConversionTasksCommandOutput,
5
+ } from "../commands/DescribeConversionTasksCommand";
3
6
  import { EC2Client } from "../EC2Client";
7
+ import { EC2ServiceException } from "../models/EC2ServiceException";
4
8
  export declare const waitForConversionTaskDeleted: (
5
9
  params: WaiterConfiguration<EC2Client>,
6
10
  input: DescribeConversionTasksCommandInput
7
- ) => Promise<WaiterResult>;
11
+ ) => Promise<
12
+ WaiterResult<DescribeConversionTasksCommandOutput | EC2ServiceException>
13
+ >;
8
14
  export declare const waitUntilConversionTaskDeleted: (
9
15
  params: WaiterConfiguration<EC2Client>,
10
16
  input: DescribeConversionTasksCommandInput
11
- ) => Promise<WaiterResult>;
17
+ ) => Promise<WaiterResult<DescribeConversionTasksCommandOutput>>;
@@ -1,11 +1,17 @@
1
1
  import { WaiterConfiguration, WaiterResult } from "@smithy/util-waiter";
2
- import { DescribeCustomerGatewaysCommandInput } from "../commands/DescribeCustomerGatewaysCommand";
2
+ import {
3
+ DescribeCustomerGatewaysCommandInput,
4
+ DescribeCustomerGatewaysCommandOutput,
5
+ } from "../commands/DescribeCustomerGatewaysCommand";
3
6
  import { EC2Client } from "../EC2Client";
7
+ import { EC2ServiceException } from "../models/EC2ServiceException";
4
8
  export declare const waitForCustomerGatewayAvailable: (
5
9
  params: WaiterConfiguration<EC2Client>,
6
10
  input: DescribeCustomerGatewaysCommandInput
7
- ) => Promise<WaiterResult>;
11
+ ) => Promise<
12
+ WaiterResult<DescribeCustomerGatewaysCommandOutput | EC2ServiceException>
13
+ >;
8
14
  export declare const waitUntilCustomerGatewayAvailable: (
9
15
  params: WaiterConfiguration<EC2Client>,
10
16
  input: DescribeCustomerGatewaysCommandInput
11
- ) => Promise<WaiterResult>;
17
+ ) => Promise<WaiterResult<DescribeCustomerGatewaysCommandOutput>>;
@@ -1,11 +1,17 @@
1
1
  import { WaiterConfiguration, WaiterResult } from "@smithy/util-waiter";
2
- import { DescribeExportTasksCommandInput } from "../commands/DescribeExportTasksCommand";
2
+ import {
3
+ DescribeExportTasksCommandInput,
4
+ DescribeExportTasksCommandOutput,
5
+ } from "../commands/DescribeExportTasksCommand";
3
6
  import { EC2Client } from "../EC2Client";
7
+ import { EC2ServiceException } from "../models/EC2ServiceException";
4
8
  export declare const waitForExportTaskCancelled: (
5
9
  params: WaiterConfiguration<EC2Client>,
6
10
  input: DescribeExportTasksCommandInput
7
- ) => Promise<WaiterResult>;
11
+ ) => Promise<
12
+ WaiterResult<DescribeExportTasksCommandOutput | EC2ServiceException>
13
+ >;
8
14
  export declare const waitUntilExportTaskCancelled: (
9
15
  params: WaiterConfiguration<EC2Client>,
10
16
  input: DescribeExportTasksCommandInput
11
- ) => Promise<WaiterResult>;
17
+ ) => Promise<WaiterResult<DescribeExportTasksCommandOutput>>;
@@ -1,11 +1,17 @@
1
1
  import { WaiterConfiguration, WaiterResult } from "@smithy/util-waiter";
2
- import { DescribeExportTasksCommandInput } from "../commands/DescribeExportTasksCommand";
2
+ import {
3
+ DescribeExportTasksCommandInput,
4
+ DescribeExportTasksCommandOutput,
5
+ } from "../commands/DescribeExportTasksCommand";
3
6
  import { EC2Client } from "../EC2Client";
7
+ import { EC2ServiceException } from "../models/EC2ServiceException";
4
8
  export declare const waitForExportTaskCompleted: (
5
9
  params: WaiterConfiguration<EC2Client>,
6
10
  input: DescribeExportTasksCommandInput
7
- ) => Promise<WaiterResult>;
11
+ ) => Promise<
12
+ WaiterResult<DescribeExportTasksCommandOutput | EC2ServiceException>
13
+ >;
8
14
  export declare const waitUntilExportTaskCompleted: (
9
15
  params: WaiterConfiguration<EC2Client>,
10
16
  input: DescribeExportTasksCommandInput
11
- ) => Promise<WaiterResult>;
17
+ ) => Promise<WaiterResult<DescribeExportTasksCommandOutput>>;
@@ -1,11 +1,15 @@
1
1
  import { WaiterConfiguration, WaiterResult } from "@smithy/util-waiter";
2
- import { DescribeImagesCommandInput } from "../commands/DescribeImagesCommand";
2
+ import {
3
+ DescribeImagesCommandInput,
4
+ DescribeImagesCommandOutput,
5
+ } from "../commands/DescribeImagesCommand";
3
6
  import { EC2Client } from "../EC2Client";
7
+ import { EC2ServiceException } from "../models/EC2ServiceException";
4
8
  export declare const waitForImageAvailable: (
5
9
  params: WaiterConfiguration<EC2Client>,
6
10
  input: DescribeImagesCommandInput
7
- ) => Promise<WaiterResult>;
11
+ ) => Promise<WaiterResult<DescribeImagesCommandOutput | EC2ServiceException>>;
8
12
  export declare const waitUntilImageAvailable: (
9
13
  params: WaiterConfiguration<EC2Client>,
10
14
  input: DescribeImagesCommandInput
11
- ) => Promise<WaiterResult>;
15
+ ) => Promise<WaiterResult<DescribeImagesCommandOutput>>;
@@ -1,11 +1,15 @@
1
1
  import { WaiterConfiguration, WaiterResult } from "@smithy/util-waiter";
2
- import { DescribeImagesCommandInput } from "../commands/DescribeImagesCommand";
2
+ import {
3
+ DescribeImagesCommandInput,
4
+ DescribeImagesCommandOutput,
5
+ } from "../commands/DescribeImagesCommand";
3
6
  import { EC2Client } from "../EC2Client";
7
+ import { EC2ServiceException } from "../models/EC2ServiceException";
4
8
  export declare const waitForImageExists: (
5
9
  params: WaiterConfiguration<EC2Client>,
6
10
  input: DescribeImagesCommandInput
7
- ) => Promise<WaiterResult>;
11
+ ) => Promise<WaiterResult<DescribeImagesCommandOutput | EC2ServiceException>>;
8
12
  export declare const waitUntilImageExists: (
9
13
  params: WaiterConfiguration<EC2Client>,
10
14
  input: DescribeImagesCommandInput
11
- ) => Promise<WaiterResult>;
15
+ ) => Promise<WaiterResult<DescribeImagesCommandOutput>>;
@@ -1,11 +1,17 @@
1
1
  import { WaiterConfiguration, WaiterResult } from "@smithy/util-waiter";
2
- import { DescribeImageUsageReportsCommandInput } from "../commands/DescribeImageUsageReportsCommand";
2
+ import {
3
+ DescribeImageUsageReportsCommandInput,
4
+ DescribeImageUsageReportsCommandOutput,
5
+ } from "../commands/DescribeImageUsageReportsCommand";
3
6
  import { EC2Client } from "../EC2Client";
7
+ import { EC2ServiceException } from "../models/EC2ServiceException";
4
8
  export declare const waitForImageUsageReportAvailable: (
5
9
  params: WaiterConfiguration<EC2Client>,
6
10
  input: DescribeImageUsageReportsCommandInput
7
- ) => Promise<WaiterResult>;
11
+ ) => Promise<
12
+ WaiterResult<DescribeImageUsageReportsCommandOutput | EC2ServiceException>
13
+ >;
8
14
  export declare const waitUntilImageUsageReportAvailable: (
9
15
  params: WaiterConfiguration<EC2Client>,
10
16
  input: DescribeImageUsageReportsCommandInput
11
- ) => Promise<WaiterResult>;
17
+ ) => Promise<WaiterResult<DescribeImageUsageReportsCommandOutput>>;
@@ -1,11 +1,17 @@
1
1
  import { WaiterConfiguration, WaiterResult } from "@smithy/util-waiter";
2
- import { DescribeInstancesCommandInput } from "../commands/DescribeInstancesCommand";
2
+ import {
3
+ DescribeInstancesCommandInput,
4
+ DescribeInstancesCommandOutput,
5
+ } from "../commands/DescribeInstancesCommand";
3
6
  import { EC2Client } from "../EC2Client";
7
+ import { EC2ServiceException } from "../models/EC2ServiceException";
4
8
  export declare const waitForInstanceExists: (
5
9
  params: WaiterConfiguration<EC2Client>,
6
10
  input: DescribeInstancesCommandInput
7
- ) => Promise<WaiterResult>;
11
+ ) => Promise<
12
+ WaiterResult<DescribeInstancesCommandOutput | EC2ServiceException>
13
+ >;
8
14
  export declare const waitUntilInstanceExists: (
9
15
  params: WaiterConfiguration<EC2Client>,
10
16
  input: DescribeInstancesCommandInput
11
- ) => Promise<WaiterResult>;
17
+ ) => Promise<WaiterResult<DescribeInstancesCommandOutput>>;
@@ -1,11 +1,17 @@
1
1
  import { WaiterConfiguration, WaiterResult } from "@smithy/util-waiter";
2
- import { DescribeInstancesCommandInput } from "../commands/DescribeInstancesCommand";
2
+ import {
3
+ DescribeInstancesCommandInput,
4
+ DescribeInstancesCommandOutput,
5
+ } from "../commands/DescribeInstancesCommand";
3
6
  import { EC2Client } from "../EC2Client";
7
+ import { EC2ServiceException } from "../models/EC2ServiceException";
4
8
  export declare const waitForInstanceRunning: (
5
9
  params: WaiterConfiguration<EC2Client>,
6
10
  input: DescribeInstancesCommandInput
7
- ) => Promise<WaiterResult>;
11
+ ) => Promise<
12
+ WaiterResult<DescribeInstancesCommandOutput | EC2ServiceException>
13
+ >;
8
14
  export declare const waitUntilInstanceRunning: (
9
15
  params: WaiterConfiguration<EC2Client>,
10
16
  input: DescribeInstancesCommandInput
11
- ) => Promise<WaiterResult>;
17
+ ) => Promise<WaiterResult<DescribeInstancesCommandOutput>>;