@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
@@ -1,11 +1,17 @@
1
1
  import { WaiterConfiguration, WaiterResult } from "@smithy/util-waiter";
2
- import { DescribeVpnConnectionsCommandInput } from "../commands/DescribeVpnConnectionsCommand";
2
+ import {
3
+ DescribeVpnConnectionsCommandInput,
4
+ DescribeVpnConnectionsCommandOutput,
5
+ } from "../commands/DescribeVpnConnectionsCommand";
3
6
  import { EC2Client } from "../EC2Client";
7
+ import { EC2ServiceException } from "../models/EC2ServiceException";
4
8
  export declare const waitForVpnConnectionAvailable: (
5
9
  params: WaiterConfiguration<EC2Client>,
6
10
  input: DescribeVpnConnectionsCommandInput
7
- ) => Promise<WaiterResult>;
11
+ ) => Promise<
12
+ WaiterResult<DescribeVpnConnectionsCommandOutput | EC2ServiceException>
13
+ >;
8
14
  export declare const waitUntilVpnConnectionAvailable: (
9
15
  params: WaiterConfiguration<EC2Client>,
10
16
  input: DescribeVpnConnectionsCommandInput
11
- ) => Promise<WaiterResult>;
17
+ ) => Promise<WaiterResult<DescribeVpnConnectionsCommandOutput>>;
@@ -1,11 +1,17 @@
1
1
  import { WaiterConfiguration, WaiterResult } from "@smithy/util-waiter";
2
- import { DescribeVpnConnectionsCommandInput } from "../commands/DescribeVpnConnectionsCommand";
2
+ import {
3
+ DescribeVpnConnectionsCommandInput,
4
+ DescribeVpnConnectionsCommandOutput,
5
+ } from "../commands/DescribeVpnConnectionsCommand";
3
6
  import { EC2Client } from "../EC2Client";
7
+ import { EC2ServiceException } from "../models/EC2ServiceException";
4
8
  export declare const waitForVpnConnectionDeleted: (
5
9
  params: WaiterConfiguration<EC2Client>,
6
10
  input: DescribeVpnConnectionsCommandInput
7
- ) => Promise<WaiterResult>;
11
+ ) => Promise<
12
+ WaiterResult<DescribeVpnConnectionsCommandOutput | EC2ServiceException>
13
+ >;
8
14
  export declare const waitUntilVpnConnectionDeleted: (
9
15
  params: WaiterConfiguration<EC2Client>,
10
16
  input: DescribeVpnConnectionsCommandInput
11
- ) => Promise<WaiterResult>;
17
+ ) => Promise<WaiterResult<DescribeVpnConnectionsCommandOutput>>;
@@ -1,14 +1,15 @@
1
1
  import { type WaiterConfiguration, type WaiterResult } from "@smithy/util-waiter";
2
- import { type DescribeBundleTasksCommandInput } from "../commands/DescribeBundleTasksCommand";
2
+ import { type DescribeBundleTasksCommandInput, type DescribeBundleTasksCommandOutput } from "../commands/DescribeBundleTasksCommand";
3
3
  import type { EC2Client } from "../EC2Client";
4
+ import type { EC2ServiceException } from "../models/EC2ServiceException";
4
5
  /**
5
6
  *
6
7
  * @deprecated Use waitUntilBundleTaskComplete instead. waitForBundleTaskComplete does not throw error in non-success cases.
7
8
  */
8
- export declare const waitForBundleTaskComplete: (params: WaiterConfiguration<EC2Client>, input: DescribeBundleTasksCommandInput) => Promise<WaiterResult>;
9
+ export declare const waitForBundleTaskComplete: (params: WaiterConfiguration<EC2Client>, input: DescribeBundleTasksCommandInput) => Promise<WaiterResult<DescribeBundleTasksCommandOutput | EC2ServiceException>>;
9
10
  /**
10
11
  *
11
12
  * @param params - Waiter configuration options.
12
13
  * @param input - The input to DescribeBundleTasksCommand for polling.
13
14
  */
14
- export declare const waitUntilBundleTaskComplete: (params: WaiterConfiguration<EC2Client>, input: DescribeBundleTasksCommandInput) => Promise<WaiterResult>;
15
+ export declare const waitUntilBundleTaskComplete: (params: WaiterConfiguration<EC2Client>, input: DescribeBundleTasksCommandInput) => Promise<WaiterResult<DescribeBundleTasksCommandOutput>>;
@@ -1,14 +1,15 @@
1
1
  import { type WaiterConfiguration, type WaiterResult } from "@smithy/util-waiter";
2
- import { type DescribeConversionTasksCommandInput } from "../commands/DescribeConversionTasksCommand";
2
+ import { type DescribeConversionTasksCommandInput, type DescribeConversionTasksCommandOutput } from "../commands/DescribeConversionTasksCommand";
3
3
  import type { EC2Client } from "../EC2Client";
4
+ import type { EC2ServiceException } from "../models/EC2ServiceException";
4
5
  /**
5
6
  *
6
7
  * @deprecated Use waitUntilConversionTaskCancelled instead. waitForConversionTaskCancelled does not throw error in non-success cases.
7
8
  */
8
- export declare const waitForConversionTaskCancelled: (params: WaiterConfiguration<EC2Client>, input: DescribeConversionTasksCommandInput) => Promise<WaiterResult>;
9
+ export declare const waitForConversionTaskCancelled: (params: WaiterConfiguration<EC2Client>, input: DescribeConversionTasksCommandInput) => Promise<WaiterResult<DescribeConversionTasksCommandOutput | EC2ServiceException>>;
9
10
  /**
10
11
  *
11
12
  * @param params - Waiter configuration options.
12
13
  * @param input - The input to DescribeConversionTasksCommand for polling.
13
14
  */
14
- export declare const waitUntilConversionTaskCancelled: (params: WaiterConfiguration<EC2Client>, input: DescribeConversionTasksCommandInput) => Promise<WaiterResult>;
15
+ export declare const waitUntilConversionTaskCancelled: (params: WaiterConfiguration<EC2Client>, input: DescribeConversionTasksCommandInput) => Promise<WaiterResult<DescribeConversionTasksCommandOutput>>;
@@ -1,14 +1,15 @@
1
1
  import { type WaiterConfiguration, type WaiterResult } from "@smithy/util-waiter";
2
- import { type DescribeConversionTasksCommandInput } from "../commands/DescribeConversionTasksCommand";
2
+ import { type DescribeConversionTasksCommandInput, type DescribeConversionTasksCommandOutput } from "../commands/DescribeConversionTasksCommand";
3
3
  import type { EC2Client } from "../EC2Client";
4
+ import type { EC2ServiceException } from "../models/EC2ServiceException";
4
5
  /**
5
6
  *
6
7
  * @deprecated Use waitUntilConversionTaskCompleted instead. waitForConversionTaskCompleted does not throw error in non-success cases.
7
8
  */
8
- export declare const waitForConversionTaskCompleted: (params: WaiterConfiguration<EC2Client>, input: DescribeConversionTasksCommandInput) => Promise<WaiterResult>;
9
+ export declare const waitForConversionTaskCompleted: (params: WaiterConfiguration<EC2Client>, input: DescribeConversionTasksCommandInput) => Promise<WaiterResult<DescribeConversionTasksCommandOutput | EC2ServiceException>>;
9
10
  /**
10
11
  *
11
12
  * @param params - Waiter configuration options.
12
13
  * @param input - The input to DescribeConversionTasksCommand for polling.
13
14
  */
14
- export declare const waitUntilConversionTaskCompleted: (params: WaiterConfiguration<EC2Client>, input: DescribeConversionTasksCommandInput) => Promise<WaiterResult>;
15
+ export declare const waitUntilConversionTaskCompleted: (params: WaiterConfiguration<EC2Client>, input: DescribeConversionTasksCommandInput) => Promise<WaiterResult<DescribeConversionTasksCommandOutput>>;
@@ -1,14 +1,15 @@
1
1
  import { type WaiterConfiguration, type WaiterResult } from "@smithy/util-waiter";
2
- import { type DescribeConversionTasksCommandInput } from "../commands/DescribeConversionTasksCommand";
2
+ import { type DescribeConversionTasksCommandInput, type DescribeConversionTasksCommandOutput } from "../commands/DescribeConversionTasksCommand";
3
3
  import type { EC2Client } from "../EC2Client";
4
+ import type { EC2ServiceException } from "../models/EC2ServiceException";
4
5
  /**
5
6
  *
6
7
  * @deprecated Use waitUntilConversionTaskDeleted instead. waitForConversionTaskDeleted does not throw error in non-success cases.
7
8
  */
8
- export declare const waitForConversionTaskDeleted: (params: WaiterConfiguration<EC2Client>, input: DescribeConversionTasksCommandInput) => Promise<WaiterResult>;
9
+ export declare const waitForConversionTaskDeleted: (params: WaiterConfiguration<EC2Client>, input: DescribeConversionTasksCommandInput) => Promise<WaiterResult<DescribeConversionTasksCommandOutput | EC2ServiceException>>;
9
10
  /**
10
11
  *
11
12
  * @param params - Waiter configuration options.
12
13
  * @param input - The input to DescribeConversionTasksCommand for polling.
13
14
  */
14
- export declare const waitUntilConversionTaskDeleted: (params: WaiterConfiguration<EC2Client>, input: DescribeConversionTasksCommandInput) => Promise<WaiterResult>;
15
+ export declare const waitUntilConversionTaskDeleted: (params: WaiterConfiguration<EC2Client>, input: DescribeConversionTasksCommandInput) => Promise<WaiterResult<DescribeConversionTasksCommandOutput>>;
@@ -1,14 +1,15 @@
1
1
  import { type WaiterConfiguration, type WaiterResult } from "@smithy/util-waiter";
2
- import { type DescribeCustomerGatewaysCommandInput } from "../commands/DescribeCustomerGatewaysCommand";
2
+ import { type DescribeCustomerGatewaysCommandInput, type DescribeCustomerGatewaysCommandOutput } from "../commands/DescribeCustomerGatewaysCommand";
3
3
  import type { EC2Client } from "../EC2Client";
4
+ import type { EC2ServiceException } from "../models/EC2ServiceException";
4
5
  /**
5
6
  *
6
7
  * @deprecated Use waitUntilCustomerGatewayAvailable instead. waitForCustomerGatewayAvailable does not throw error in non-success cases.
7
8
  */
8
- export declare const waitForCustomerGatewayAvailable: (params: WaiterConfiguration<EC2Client>, input: DescribeCustomerGatewaysCommandInput) => Promise<WaiterResult>;
9
+ export declare const waitForCustomerGatewayAvailable: (params: WaiterConfiguration<EC2Client>, input: DescribeCustomerGatewaysCommandInput) => Promise<WaiterResult<DescribeCustomerGatewaysCommandOutput | EC2ServiceException>>;
9
10
  /**
10
11
  *
11
12
  * @param params - Waiter configuration options.
12
13
  * @param input - The input to DescribeCustomerGatewaysCommand for polling.
13
14
  */
14
- export declare const waitUntilCustomerGatewayAvailable: (params: WaiterConfiguration<EC2Client>, input: DescribeCustomerGatewaysCommandInput) => Promise<WaiterResult>;
15
+ export declare const waitUntilCustomerGatewayAvailable: (params: WaiterConfiguration<EC2Client>, input: DescribeCustomerGatewaysCommandInput) => Promise<WaiterResult<DescribeCustomerGatewaysCommandOutput>>;
@@ -1,14 +1,15 @@
1
1
  import { type WaiterConfiguration, type WaiterResult } from "@smithy/util-waiter";
2
- import { type DescribeExportTasksCommandInput } from "../commands/DescribeExportTasksCommand";
2
+ import { type DescribeExportTasksCommandInput, type DescribeExportTasksCommandOutput } from "../commands/DescribeExportTasksCommand";
3
3
  import type { EC2Client } from "../EC2Client";
4
+ import type { EC2ServiceException } from "../models/EC2ServiceException";
4
5
  /**
5
6
  *
6
7
  * @deprecated Use waitUntilExportTaskCancelled instead. waitForExportTaskCancelled does not throw error in non-success cases.
7
8
  */
8
- export declare const waitForExportTaskCancelled: (params: WaiterConfiguration<EC2Client>, input: DescribeExportTasksCommandInput) => Promise<WaiterResult>;
9
+ export declare const waitForExportTaskCancelled: (params: WaiterConfiguration<EC2Client>, input: DescribeExportTasksCommandInput) => Promise<WaiterResult<DescribeExportTasksCommandOutput | EC2ServiceException>>;
9
10
  /**
10
11
  *
11
12
  * @param params - Waiter configuration options.
12
13
  * @param input - The input to DescribeExportTasksCommand for polling.
13
14
  */
14
- export declare const waitUntilExportTaskCancelled: (params: WaiterConfiguration<EC2Client>, input: DescribeExportTasksCommandInput) => Promise<WaiterResult>;
15
+ export declare const waitUntilExportTaskCancelled: (params: WaiterConfiguration<EC2Client>, input: DescribeExportTasksCommandInput) => Promise<WaiterResult<DescribeExportTasksCommandOutput>>;
@@ -1,14 +1,15 @@
1
1
  import { type WaiterConfiguration, type WaiterResult } from "@smithy/util-waiter";
2
- import { type DescribeExportTasksCommandInput } from "../commands/DescribeExportTasksCommand";
2
+ import { type DescribeExportTasksCommandInput, type DescribeExportTasksCommandOutput } from "../commands/DescribeExportTasksCommand";
3
3
  import type { EC2Client } from "../EC2Client";
4
+ import type { EC2ServiceException } from "../models/EC2ServiceException";
4
5
  /**
5
6
  *
6
7
  * @deprecated Use waitUntilExportTaskCompleted instead. waitForExportTaskCompleted does not throw error in non-success cases.
7
8
  */
8
- export declare const waitForExportTaskCompleted: (params: WaiterConfiguration<EC2Client>, input: DescribeExportTasksCommandInput) => Promise<WaiterResult>;
9
+ export declare const waitForExportTaskCompleted: (params: WaiterConfiguration<EC2Client>, input: DescribeExportTasksCommandInput) => Promise<WaiterResult<DescribeExportTasksCommandOutput | EC2ServiceException>>;
9
10
  /**
10
11
  *
11
12
  * @param params - Waiter configuration options.
12
13
  * @param input - The input to DescribeExportTasksCommand for polling.
13
14
  */
14
- export declare const waitUntilExportTaskCompleted: (params: WaiterConfiguration<EC2Client>, input: DescribeExportTasksCommandInput) => Promise<WaiterResult>;
15
+ export declare const waitUntilExportTaskCompleted: (params: WaiterConfiguration<EC2Client>, input: DescribeExportTasksCommandInput) => Promise<WaiterResult<DescribeExportTasksCommandOutput>>;
@@ -1,14 +1,15 @@
1
1
  import { type WaiterConfiguration, type WaiterResult } from "@smithy/util-waiter";
2
- import { type DescribeImagesCommandInput } from "../commands/DescribeImagesCommand";
2
+ import { type DescribeImagesCommandInput, type DescribeImagesCommandOutput } from "../commands/DescribeImagesCommand";
3
3
  import type { EC2Client } from "../EC2Client";
4
+ import type { EC2ServiceException } from "../models/EC2ServiceException";
4
5
  /**
5
6
  *
6
7
  * @deprecated Use waitUntilImageAvailable instead. waitForImageAvailable does not throw error in non-success cases.
7
8
  */
8
- export declare const waitForImageAvailable: (params: WaiterConfiguration<EC2Client>, input: DescribeImagesCommandInput) => Promise<WaiterResult>;
9
+ export declare const waitForImageAvailable: (params: WaiterConfiguration<EC2Client>, input: DescribeImagesCommandInput) => Promise<WaiterResult<DescribeImagesCommandOutput | EC2ServiceException>>;
9
10
  /**
10
11
  *
11
12
  * @param params - Waiter configuration options.
12
13
  * @param input - The input to DescribeImagesCommand for polling.
13
14
  */
14
- export declare const waitUntilImageAvailable: (params: WaiterConfiguration<EC2Client>, input: DescribeImagesCommandInput) => Promise<WaiterResult>;
15
+ export declare const waitUntilImageAvailable: (params: WaiterConfiguration<EC2Client>, input: DescribeImagesCommandInput) => Promise<WaiterResult<DescribeImagesCommandOutput>>;
@@ -1,14 +1,15 @@
1
1
  import { type WaiterConfiguration, type WaiterResult } from "@smithy/util-waiter";
2
- import { type DescribeImagesCommandInput } from "../commands/DescribeImagesCommand";
2
+ import { type DescribeImagesCommandInput, type DescribeImagesCommandOutput } from "../commands/DescribeImagesCommand";
3
3
  import type { EC2Client } from "../EC2Client";
4
+ import type { EC2ServiceException } from "../models/EC2ServiceException";
4
5
  /**
5
6
  *
6
7
  * @deprecated Use waitUntilImageExists instead. waitForImageExists does not throw error in non-success cases.
7
8
  */
8
- export declare const waitForImageExists: (params: WaiterConfiguration<EC2Client>, input: DescribeImagesCommandInput) => Promise<WaiterResult>;
9
+ export declare const waitForImageExists: (params: WaiterConfiguration<EC2Client>, input: DescribeImagesCommandInput) => Promise<WaiterResult<DescribeImagesCommandOutput | EC2ServiceException>>;
9
10
  /**
10
11
  *
11
12
  * @param params - Waiter configuration options.
12
13
  * @param input - The input to DescribeImagesCommand for polling.
13
14
  */
14
- export declare const waitUntilImageExists: (params: WaiterConfiguration<EC2Client>, input: DescribeImagesCommandInput) => Promise<WaiterResult>;
15
+ export declare const waitUntilImageExists: (params: WaiterConfiguration<EC2Client>, input: DescribeImagesCommandInput) => Promise<WaiterResult<DescribeImagesCommandOutput>>;
@@ -1,14 +1,15 @@
1
1
  import { type WaiterConfiguration, type WaiterResult } from "@smithy/util-waiter";
2
- import { type DescribeImageUsageReportsCommandInput } from "../commands/DescribeImageUsageReportsCommand";
2
+ import { type DescribeImageUsageReportsCommandInput, type DescribeImageUsageReportsCommandOutput } from "../commands/DescribeImageUsageReportsCommand";
3
3
  import type { EC2Client } from "../EC2Client";
4
+ import type { EC2ServiceException } from "../models/EC2ServiceException";
4
5
  /**
5
6
  *
6
7
  * @deprecated Use waitUntilImageUsageReportAvailable instead. waitForImageUsageReportAvailable does not throw error in non-success cases.
7
8
  */
8
- export declare const waitForImageUsageReportAvailable: (params: WaiterConfiguration<EC2Client>, input: DescribeImageUsageReportsCommandInput) => Promise<WaiterResult>;
9
+ export declare const waitForImageUsageReportAvailable: (params: WaiterConfiguration<EC2Client>, input: DescribeImageUsageReportsCommandInput) => Promise<WaiterResult<DescribeImageUsageReportsCommandOutput | EC2ServiceException>>;
9
10
  /**
10
11
  *
11
12
  * @param params - Waiter configuration options.
12
13
  * @param input - The input to DescribeImageUsageReportsCommand for polling.
13
14
  */
14
- export declare const waitUntilImageUsageReportAvailable: (params: WaiterConfiguration<EC2Client>, input: DescribeImageUsageReportsCommandInput) => Promise<WaiterResult>;
15
+ export declare const waitUntilImageUsageReportAvailable: (params: WaiterConfiguration<EC2Client>, input: DescribeImageUsageReportsCommandInput) => Promise<WaiterResult<DescribeImageUsageReportsCommandOutput>>;
@@ -1,14 +1,15 @@
1
1
  import { type WaiterConfiguration, type WaiterResult } from "@smithy/util-waiter";
2
- import { type DescribeInstancesCommandInput } from "../commands/DescribeInstancesCommand";
2
+ import { type DescribeInstancesCommandInput, type DescribeInstancesCommandOutput } from "../commands/DescribeInstancesCommand";
3
3
  import type { EC2Client } from "../EC2Client";
4
+ import type { EC2ServiceException } from "../models/EC2ServiceException";
4
5
  /**
5
6
  *
6
7
  * @deprecated Use waitUntilInstanceExists instead. waitForInstanceExists does not throw error in non-success cases.
7
8
  */
8
- export declare const waitForInstanceExists: (params: WaiterConfiguration<EC2Client>, input: DescribeInstancesCommandInput) => Promise<WaiterResult>;
9
+ export declare const waitForInstanceExists: (params: WaiterConfiguration<EC2Client>, input: DescribeInstancesCommandInput) => Promise<WaiterResult<DescribeInstancesCommandOutput | EC2ServiceException>>;
9
10
  /**
10
11
  *
11
12
  * @param params - Waiter configuration options.
12
13
  * @param input - The input to DescribeInstancesCommand for polling.
13
14
  */
14
- export declare const waitUntilInstanceExists: (params: WaiterConfiguration<EC2Client>, input: DescribeInstancesCommandInput) => Promise<WaiterResult>;
15
+ export declare const waitUntilInstanceExists: (params: WaiterConfiguration<EC2Client>, input: DescribeInstancesCommandInput) => Promise<WaiterResult<DescribeInstancesCommandOutput>>;
@@ -1,14 +1,15 @@
1
1
  import { type WaiterConfiguration, type WaiterResult } from "@smithy/util-waiter";
2
- import { type DescribeInstancesCommandInput } from "../commands/DescribeInstancesCommand";
2
+ import { type DescribeInstancesCommandInput, type DescribeInstancesCommandOutput } from "../commands/DescribeInstancesCommand";
3
3
  import type { EC2Client } from "../EC2Client";
4
+ import type { EC2ServiceException } from "../models/EC2ServiceException";
4
5
  /**
5
6
  *
6
7
  * @deprecated Use waitUntilInstanceRunning instead. waitForInstanceRunning does not throw error in non-success cases.
7
8
  */
8
- export declare const waitForInstanceRunning: (params: WaiterConfiguration<EC2Client>, input: DescribeInstancesCommandInput) => Promise<WaiterResult>;
9
+ export declare const waitForInstanceRunning: (params: WaiterConfiguration<EC2Client>, input: DescribeInstancesCommandInput) => Promise<WaiterResult<DescribeInstancesCommandOutput | EC2ServiceException>>;
9
10
  /**
10
11
  *
11
12
  * @param params - Waiter configuration options.
12
13
  * @param input - The input to DescribeInstancesCommand for polling.
13
14
  */
14
- export declare const waitUntilInstanceRunning: (params: WaiterConfiguration<EC2Client>, input: DescribeInstancesCommandInput) => Promise<WaiterResult>;
15
+ export declare const waitUntilInstanceRunning: (params: WaiterConfiguration<EC2Client>, input: DescribeInstancesCommandInput) => Promise<WaiterResult<DescribeInstancesCommandOutput>>;
@@ -1,14 +1,15 @@
1
1
  import { type WaiterConfiguration, type WaiterResult } from "@smithy/util-waiter";
2
- import { type DescribeInstanceStatusCommandInput } from "../commands/DescribeInstanceStatusCommand";
2
+ import { type DescribeInstanceStatusCommandInput, type DescribeInstanceStatusCommandOutput } from "../commands/DescribeInstanceStatusCommand";
3
3
  import type { EC2Client } from "../EC2Client";
4
+ import type { EC2ServiceException } from "../models/EC2ServiceException";
4
5
  /**
5
6
  *
6
7
  * @deprecated Use waitUntilInstanceStatusOk instead. waitForInstanceStatusOk does not throw error in non-success cases.
7
8
  */
8
- export declare const waitForInstanceStatusOk: (params: WaiterConfiguration<EC2Client>, input: DescribeInstanceStatusCommandInput) => Promise<WaiterResult>;
9
+ export declare const waitForInstanceStatusOk: (params: WaiterConfiguration<EC2Client>, input: DescribeInstanceStatusCommandInput) => Promise<WaiterResult<DescribeInstanceStatusCommandOutput | EC2ServiceException>>;
9
10
  /**
10
11
  *
11
12
  * @param params - Waiter configuration options.
12
13
  * @param input - The input to DescribeInstanceStatusCommand for polling.
13
14
  */
14
- export declare const waitUntilInstanceStatusOk: (params: WaiterConfiguration<EC2Client>, input: DescribeInstanceStatusCommandInput) => Promise<WaiterResult>;
15
+ export declare const waitUntilInstanceStatusOk: (params: WaiterConfiguration<EC2Client>, input: DescribeInstanceStatusCommandInput) => Promise<WaiterResult<DescribeInstanceStatusCommandOutput>>;
@@ -1,14 +1,15 @@
1
1
  import { type WaiterConfiguration, type WaiterResult } from "@smithy/util-waiter";
2
- import { type DescribeInstancesCommandInput } from "../commands/DescribeInstancesCommand";
2
+ import { type DescribeInstancesCommandInput, type DescribeInstancesCommandOutput } from "../commands/DescribeInstancesCommand";
3
3
  import type { EC2Client } from "../EC2Client";
4
+ import type { EC2ServiceException } from "../models/EC2ServiceException";
4
5
  /**
5
6
  *
6
7
  * @deprecated Use waitUntilInstanceStopped instead. waitForInstanceStopped does not throw error in non-success cases.
7
8
  */
8
- export declare const waitForInstanceStopped: (params: WaiterConfiguration<EC2Client>, input: DescribeInstancesCommandInput) => Promise<WaiterResult>;
9
+ export declare const waitForInstanceStopped: (params: WaiterConfiguration<EC2Client>, input: DescribeInstancesCommandInput) => Promise<WaiterResult<DescribeInstancesCommandOutput | EC2ServiceException>>;
9
10
  /**
10
11
  *
11
12
  * @param params - Waiter configuration options.
12
13
  * @param input - The input to DescribeInstancesCommand for polling.
13
14
  */
14
- export declare const waitUntilInstanceStopped: (params: WaiterConfiguration<EC2Client>, input: DescribeInstancesCommandInput) => Promise<WaiterResult>;
15
+ export declare const waitUntilInstanceStopped: (params: WaiterConfiguration<EC2Client>, input: DescribeInstancesCommandInput) => Promise<WaiterResult<DescribeInstancesCommandOutput>>;
@@ -1,14 +1,15 @@
1
1
  import { type WaiterConfiguration, type WaiterResult } from "@smithy/util-waiter";
2
- import { type DescribeInstancesCommandInput } from "../commands/DescribeInstancesCommand";
2
+ import { type DescribeInstancesCommandInput, type DescribeInstancesCommandOutput } from "../commands/DescribeInstancesCommand";
3
3
  import type { EC2Client } from "../EC2Client";
4
+ import type { EC2ServiceException } from "../models/EC2ServiceException";
4
5
  /**
5
6
  *
6
7
  * @deprecated Use waitUntilInstanceTerminated instead. waitForInstanceTerminated does not throw error in non-success cases.
7
8
  */
8
- export declare const waitForInstanceTerminated: (params: WaiterConfiguration<EC2Client>, input: DescribeInstancesCommandInput) => Promise<WaiterResult>;
9
+ export declare const waitForInstanceTerminated: (params: WaiterConfiguration<EC2Client>, input: DescribeInstancesCommandInput) => Promise<WaiterResult<DescribeInstancesCommandOutput | EC2ServiceException>>;
9
10
  /**
10
11
  *
11
12
  * @param params - Waiter configuration options.
12
13
  * @param input - The input to DescribeInstancesCommand for polling.
13
14
  */
14
- export declare const waitUntilInstanceTerminated: (params: WaiterConfiguration<EC2Client>, input: DescribeInstancesCommandInput) => Promise<WaiterResult>;
15
+ export declare const waitUntilInstanceTerminated: (params: WaiterConfiguration<EC2Client>, input: DescribeInstancesCommandInput) => Promise<WaiterResult<DescribeInstancesCommandOutput>>;
@@ -1,14 +1,15 @@
1
1
  import { type WaiterConfiguration, type WaiterResult } from "@smithy/util-waiter";
2
- import { type DescribeInternetGatewaysCommandInput } from "../commands/DescribeInternetGatewaysCommand";
2
+ import { type DescribeInternetGatewaysCommandInput, type DescribeInternetGatewaysCommandOutput } from "../commands/DescribeInternetGatewaysCommand";
3
3
  import type { EC2Client } from "../EC2Client";
4
+ import type { EC2ServiceException } from "../models/EC2ServiceException";
4
5
  /**
5
6
  *
6
7
  * @deprecated Use waitUntilInternetGatewayExists instead. waitForInternetGatewayExists does not throw error in non-success cases.
7
8
  */
8
- export declare const waitForInternetGatewayExists: (params: WaiterConfiguration<EC2Client>, input: DescribeInternetGatewaysCommandInput) => Promise<WaiterResult>;
9
+ export declare const waitForInternetGatewayExists: (params: WaiterConfiguration<EC2Client>, input: DescribeInternetGatewaysCommandInput) => Promise<WaiterResult<DescribeInternetGatewaysCommandOutput | EC2ServiceException>>;
9
10
  /**
10
11
  *
11
12
  * @param params - Waiter configuration options.
12
13
  * @param input - The input to DescribeInternetGatewaysCommand for polling.
13
14
  */
14
- export declare const waitUntilInternetGatewayExists: (params: WaiterConfiguration<EC2Client>, input: DescribeInternetGatewaysCommandInput) => Promise<WaiterResult>;
15
+ export declare const waitUntilInternetGatewayExists: (params: WaiterConfiguration<EC2Client>, input: DescribeInternetGatewaysCommandInput) => Promise<WaiterResult<DescribeInternetGatewaysCommandOutput>>;
@@ -1,14 +1,15 @@
1
1
  import { type WaiterConfiguration, type WaiterResult } from "@smithy/util-waiter";
2
- import { type DescribeKeyPairsCommandInput } from "../commands/DescribeKeyPairsCommand";
2
+ import { type DescribeKeyPairsCommandInput, type DescribeKeyPairsCommandOutput } from "../commands/DescribeKeyPairsCommand";
3
3
  import type { EC2Client } from "../EC2Client";
4
+ import type { EC2ServiceException } from "../models/EC2ServiceException";
4
5
  /**
5
6
  *
6
7
  * @deprecated Use waitUntilKeyPairExists instead. waitForKeyPairExists does not throw error in non-success cases.
7
8
  */
8
- export declare const waitForKeyPairExists: (params: WaiterConfiguration<EC2Client>, input: DescribeKeyPairsCommandInput) => Promise<WaiterResult>;
9
+ export declare const waitForKeyPairExists: (params: WaiterConfiguration<EC2Client>, input: DescribeKeyPairsCommandInput) => Promise<WaiterResult<DescribeKeyPairsCommandOutput | EC2ServiceException>>;
9
10
  /**
10
11
  *
11
12
  * @param params - Waiter configuration options.
12
13
  * @param input - The input to DescribeKeyPairsCommand for polling.
13
14
  */
14
- export declare const waitUntilKeyPairExists: (params: WaiterConfiguration<EC2Client>, input: DescribeKeyPairsCommandInput) => Promise<WaiterResult>;
15
+ export declare const waitUntilKeyPairExists: (params: WaiterConfiguration<EC2Client>, input: DescribeKeyPairsCommandInput) => Promise<WaiterResult<DescribeKeyPairsCommandOutput>>;
@@ -1,14 +1,15 @@
1
1
  import { type WaiterConfiguration, type WaiterResult } from "@smithy/util-waiter";
2
- import { type DescribeNatGatewaysCommandInput } from "../commands/DescribeNatGatewaysCommand";
2
+ import { type DescribeNatGatewaysCommandInput, type DescribeNatGatewaysCommandOutput } from "../commands/DescribeNatGatewaysCommand";
3
3
  import type { EC2Client } from "../EC2Client";
4
+ import type { EC2ServiceException } from "../models/EC2ServiceException";
4
5
  /**
5
6
  *
6
7
  * @deprecated Use waitUntilNatGatewayAvailable instead. waitForNatGatewayAvailable does not throw error in non-success cases.
7
8
  */
8
- export declare const waitForNatGatewayAvailable: (params: WaiterConfiguration<EC2Client>, input: DescribeNatGatewaysCommandInput) => Promise<WaiterResult>;
9
+ export declare const waitForNatGatewayAvailable: (params: WaiterConfiguration<EC2Client>, input: DescribeNatGatewaysCommandInput) => Promise<WaiterResult<DescribeNatGatewaysCommandOutput | EC2ServiceException>>;
9
10
  /**
10
11
  *
11
12
  * @param params - Waiter configuration options.
12
13
  * @param input - The input to DescribeNatGatewaysCommand for polling.
13
14
  */
14
- export declare const waitUntilNatGatewayAvailable: (params: WaiterConfiguration<EC2Client>, input: DescribeNatGatewaysCommandInput) => Promise<WaiterResult>;
15
+ export declare const waitUntilNatGatewayAvailable: (params: WaiterConfiguration<EC2Client>, input: DescribeNatGatewaysCommandInput) => Promise<WaiterResult<DescribeNatGatewaysCommandOutput>>;
@@ -1,14 +1,15 @@
1
1
  import { type WaiterConfiguration, type WaiterResult } from "@smithy/util-waiter";
2
- import { type DescribeNatGatewaysCommandInput } from "../commands/DescribeNatGatewaysCommand";
2
+ import { type DescribeNatGatewaysCommandInput, type DescribeNatGatewaysCommandOutput } from "../commands/DescribeNatGatewaysCommand";
3
3
  import type { EC2Client } from "../EC2Client";
4
+ import type { EC2ServiceException } from "../models/EC2ServiceException";
4
5
  /**
5
6
  *
6
7
  * @deprecated Use waitUntilNatGatewayDeleted instead. waitForNatGatewayDeleted does not throw error in non-success cases.
7
8
  */
8
- export declare const waitForNatGatewayDeleted: (params: WaiterConfiguration<EC2Client>, input: DescribeNatGatewaysCommandInput) => Promise<WaiterResult>;
9
+ export declare const waitForNatGatewayDeleted: (params: WaiterConfiguration<EC2Client>, input: DescribeNatGatewaysCommandInput) => Promise<WaiterResult<DescribeNatGatewaysCommandOutput | EC2ServiceException>>;
9
10
  /**
10
11
  *
11
12
  * @param params - Waiter configuration options.
12
13
  * @param input - The input to DescribeNatGatewaysCommand for polling.
13
14
  */
14
- export declare const waitUntilNatGatewayDeleted: (params: WaiterConfiguration<EC2Client>, input: DescribeNatGatewaysCommandInput) => Promise<WaiterResult>;
15
+ export declare const waitUntilNatGatewayDeleted: (params: WaiterConfiguration<EC2Client>, input: DescribeNatGatewaysCommandInput) => Promise<WaiterResult<DescribeNatGatewaysCommandOutput | EC2ServiceException>>;
@@ -1,14 +1,15 @@
1
1
  import { type WaiterConfiguration, type WaiterResult } from "@smithy/util-waiter";
2
- import { type DescribeNetworkInterfacesCommandInput } from "../commands/DescribeNetworkInterfacesCommand";
2
+ import { type DescribeNetworkInterfacesCommandInput, type DescribeNetworkInterfacesCommandOutput } from "../commands/DescribeNetworkInterfacesCommand";
3
3
  import type { EC2Client } from "../EC2Client";
4
+ import type { EC2ServiceException } from "../models/EC2ServiceException";
4
5
  /**
5
6
  *
6
7
  * @deprecated Use waitUntilNetworkInterfaceAvailable instead. waitForNetworkInterfaceAvailable does not throw error in non-success cases.
7
8
  */
8
- export declare const waitForNetworkInterfaceAvailable: (params: WaiterConfiguration<EC2Client>, input: DescribeNetworkInterfacesCommandInput) => Promise<WaiterResult>;
9
+ export declare const waitForNetworkInterfaceAvailable: (params: WaiterConfiguration<EC2Client>, input: DescribeNetworkInterfacesCommandInput) => Promise<WaiterResult<DescribeNetworkInterfacesCommandOutput | EC2ServiceException>>;
9
10
  /**
10
11
  *
11
12
  * @param params - Waiter configuration options.
12
13
  * @param input - The input to DescribeNetworkInterfacesCommand for polling.
13
14
  */
14
- export declare const waitUntilNetworkInterfaceAvailable: (params: WaiterConfiguration<EC2Client>, input: DescribeNetworkInterfacesCommandInput) => Promise<WaiterResult>;
15
+ export declare const waitUntilNetworkInterfaceAvailable: (params: WaiterConfiguration<EC2Client>, input: DescribeNetworkInterfacesCommandInput) => Promise<WaiterResult<DescribeNetworkInterfacesCommandOutput>>;
@@ -1,14 +1,15 @@
1
1
  import { type WaiterConfiguration, type WaiterResult } from "@smithy/util-waiter";
2
- import { type GetPasswordDataCommandInput } from "../commands/GetPasswordDataCommand";
2
+ import { type GetPasswordDataCommandInput, type GetPasswordDataCommandOutput } from "../commands/GetPasswordDataCommand";
3
3
  import type { EC2Client } from "../EC2Client";
4
+ import type { EC2ServiceException } from "../models/EC2ServiceException";
4
5
  /**
5
6
  *
6
7
  * @deprecated Use waitUntilPasswordDataAvailable instead. waitForPasswordDataAvailable does not throw error in non-success cases.
7
8
  */
8
- export declare const waitForPasswordDataAvailable: (params: WaiterConfiguration<EC2Client>, input: GetPasswordDataCommandInput) => Promise<WaiterResult>;
9
+ export declare const waitForPasswordDataAvailable: (params: WaiterConfiguration<EC2Client>, input: GetPasswordDataCommandInput) => Promise<WaiterResult<GetPasswordDataCommandOutput | EC2ServiceException>>;
9
10
  /**
10
11
  *
11
12
  * @param params - Waiter configuration options.
12
13
  * @param input - The input to GetPasswordDataCommand for polling.
13
14
  */
14
- export declare const waitUntilPasswordDataAvailable: (params: WaiterConfiguration<EC2Client>, input: GetPasswordDataCommandInput) => Promise<WaiterResult>;
15
+ export declare const waitUntilPasswordDataAvailable: (params: WaiterConfiguration<EC2Client>, input: GetPasswordDataCommandInput) => Promise<WaiterResult<GetPasswordDataCommandOutput>>;
@@ -1,14 +1,15 @@
1
1
  import { type WaiterConfiguration, type WaiterResult } from "@smithy/util-waiter";
2
- import { type DescribeSecondaryNetworksCommandInput } from "../commands/DescribeSecondaryNetworksCommand";
2
+ import { type DescribeSecondaryNetworksCommandInput, type DescribeSecondaryNetworksCommandOutput } from "../commands/DescribeSecondaryNetworksCommand";
3
3
  import type { EC2Client } from "../EC2Client";
4
+ import type { EC2ServiceException } from "../models/EC2ServiceException";
4
5
  /**
5
6
  *
6
7
  * @deprecated Use waitUntilSecondaryNetworkCreateComplete instead. waitForSecondaryNetworkCreateComplete does not throw error in non-success cases.
7
8
  */
8
- export declare const waitForSecondaryNetworkCreateComplete: (params: WaiterConfiguration<EC2Client>, input: DescribeSecondaryNetworksCommandInput) => Promise<WaiterResult>;
9
+ export declare const waitForSecondaryNetworkCreateComplete: (params: WaiterConfiguration<EC2Client>, input: DescribeSecondaryNetworksCommandInput) => Promise<WaiterResult<DescribeSecondaryNetworksCommandOutput | EC2ServiceException>>;
9
10
  /**
10
11
  *
11
12
  * @param params - Waiter configuration options.
12
13
  * @param input - The input to DescribeSecondaryNetworksCommand for polling.
13
14
  */
14
- export declare const waitUntilSecondaryNetworkCreateComplete: (params: WaiterConfiguration<EC2Client>, input: DescribeSecondaryNetworksCommandInput) => Promise<WaiterResult>;
15
+ export declare const waitUntilSecondaryNetworkCreateComplete: (params: WaiterConfiguration<EC2Client>, input: DescribeSecondaryNetworksCommandInput) => Promise<WaiterResult<DescribeSecondaryNetworksCommandOutput>>;
@@ -1,14 +1,15 @@
1
1
  import { type WaiterConfiguration, type WaiterResult } from "@smithy/util-waiter";
2
- import { type DescribeSecondaryNetworksCommandInput } from "../commands/DescribeSecondaryNetworksCommand";
2
+ import { type DescribeSecondaryNetworksCommandInput, type DescribeSecondaryNetworksCommandOutput } from "../commands/DescribeSecondaryNetworksCommand";
3
3
  import type { EC2Client } from "../EC2Client";
4
+ import type { EC2ServiceException } from "../models/EC2ServiceException";
4
5
  /**
5
6
  *
6
7
  * @deprecated Use waitUntilSecondaryNetworkDeleteComplete instead. waitForSecondaryNetworkDeleteComplete does not throw error in non-success cases.
7
8
  */
8
- export declare const waitForSecondaryNetworkDeleteComplete: (params: WaiterConfiguration<EC2Client>, input: DescribeSecondaryNetworksCommandInput) => Promise<WaiterResult>;
9
+ export declare const waitForSecondaryNetworkDeleteComplete: (params: WaiterConfiguration<EC2Client>, input: DescribeSecondaryNetworksCommandInput) => Promise<WaiterResult<DescribeSecondaryNetworksCommandOutput | EC2ServiceException>>;
9
10
  /**
10
11
  *
11
12
  * @param params - Waiter configuration options.
12
13
  * @param input - The input to DescribeSecondaryNetworksCommand for polling.
13
14
  */
14
- export declare const waitUntilSecondaryNetworkDeleteComplete: (params: WaiterConfiguration<EC2Client>, input: DescribeSecondaryNetworksCommandInput) => Promise<WaiterResult>;
15
+ export declare const waitUntilSecondaryNetworkDeleteComplete: (params: WaiterConfiguration<EC2Client>, input: DescribeSecondaryNetworksCommandInput) => Promise<WaiterResult<DescribeSecondaryNetworksCommandOutput>>;
@@ -1,14 +1,15 @@
1
1
  import { type WaiterConfiguration, type WaiterResult } from "@smithy/util-waiter";
2
- import { type DescribeSecondarySubnetsCommandInput } from "../commands/DescribeSecondarySubnetsCommand";
2
+ import { type DescribeSecondarySubnetsCommandInput, type DescribeSecondarySubnetsCommandOutput } from "../commands/DescribeSecondarySubnetsCommand";
3
3
  import type { EC2Client } from "../EC2Client";
4
+ import type { EC2ServiceException } from "../models/EC2ServiceException";
4
5
  /**
5
6
  *
6
7
  * @deprecated Use waitUntilSecondarySubnetCreateComplete instead. waitForSecondarySubnetCreateComplete does not throw error in non-success cases.
7
8
  */
8
- export declare const waitForSecondarySubnetCreateComplete: (params: WaiterConfiguration<EC2Client>, input: DescribeSecondarySubnetsCommandInput) => Promise<WaiterResult>;
9
+ export declare const waitForSecondarySubnetCreateComplete: (params: WaiterConfiguration<EC2Client>, input: DescribeSecondarySubnetsCommandInput) => Promise<WaiterResult<DescribeSecondarySubnetsCommandOutput | EC2ServiceException>>;
9
10
  /**
10
11
  *
11
12
  * @param params - Waiter configuration options.
12
13
  * @param input - The input to DescribeSecondarySubnetsCommand for polling.
13
14
  */
14
- export declare const waitUntilSecondarySubnetCreateComplete: (params: WaiterConfiguration<EC2Client>, input: DescribeSecondarySubnetsCommandInput) => Promise<WaiterResult>;
15
+ export declare const waitUntilSecondarySubnetCreateComplete: (params: WaiterConfiguration<EC2Client>, input: DescribeSecondarySubnetsCommandInput) => Promise<WaiterResult<DescribeSecondarySubnetsCommandOutput>>;
@@ -1,14 +1,15 @@
1
1
  import { type WaiterConfiguration, type WaiterResult } from "@smithy/util-waiter";
2
- import { type DescribeSecondarySubnetsCommandInput } from "../commands/DescribeSecondarySubnetsCommand";
2
+ import { type DescribeSecondarySubnetsCommandInput, type DescribeSecondarySubnetsCommandOutput } from "../commands/DescribeSecondarySubnetsCommand";
3
3
  import type { EC2Client } from "../EC2Client";
4
+ import type { EC2ServiceException } from "../models/EC2ServiceException";
4
5
  /**
5
6
  *
6
7
  * @deprecated Use waitUntilSecondarySubnetDeleteComplete instead. waitForSecondarySubnetDeleteComplete does not throw error in non-success cases.
7
8
  */
8
- export declare const waitForSecondarySubnetDeleteComplete: (params: WaiterConfiguration<EC2Client>, input: DescribeSecondarySubnetsCommandInput) => Promise<WaiterResult>;
9
+ export declare const waitForSecondarySubnetDeleteComplete: (params: WaiterConfiguration<EC2Client>, input: DescribeSecondarySubnetsCommandInput) => Promise<WaiterResult<DescribeSecondarySubnetsCommandOutput | EC2ServiceException>>;
9
10
  /**
10
11
  *
11
12
  * @param params - Waiter configuration options.
12
13
  * @param input - The input to DescribeSecondarySubnetsCommand for polling.
13
14
  */
14
- export declare const waitUntilSecondarySubnetDeleteComplete: (params: WaiterConfiguration<EC2Client>, input: DescribeSecondarySubnetsCommandInput) => Promise<WaiterResult>;
15
+ export declare const waitUntilSecondarySubnetDeleteComplete: (params: WaiterConfiguration<EC2Client>, input: DescribeSecondarySubnetsCommandInput) => Promise<WaiterResult<DescribeSecondarySubnetsCommandOutput>>;
@@ -1,14 +1,15 @@
1
1
  import { type WaiterConfiguration, type WaiterResult } from "@smithy/util-waiter";
2
- import { type DescribeSecurityGroupsCommandInput } from "../commands/DescribeSecurityGroupsCommand";
2
+ import { type DescribeSecurityGroupsCommandInput, type DescribeSecurityGroupsCommandOutput } from "../commands/DescribeSecurityGroupsCommand";
3
3
  import type { EC2Client } from "../EC2Client";
4
+ import type { EC2ServiceException } from "../models/EC2ServiceException";
4
5
  /**
5
6
  *
6
7
  * @deprecated Use waitUntilSecurityGroupExists instead. waitForSecurityGroupExists does not throw error in non-success cases.
7
8
  */
8
- export declare const waitForSecurityGroupExists: (params: WaiterConfiguration<EC2Client>, input: DescribeSecurityGroupsCommandInput) => Promise<WaiterResult>;
9
+ export declare const waitForSecurityGroupExists: (params: WaiterConfiguration<EC2Client>, input: DescribeSecurityGroupsCommandInput) => Promise<WaiterResult<DescribeSecurityGroupsCommandOutput | EC2ServiceException>>;
9
10
  /**
10
11
  *
11
12
  * @param params - Waiter configuration options.
12
13
  * @param input - The input to DescribeSecurityGroupsCommand for polling.
13
14
  */
14
- export declare const waitUntilSecurityGroupExists: (params: WaiterConfiguration<EC2Client>, input: DescribeSecurityGroupsCommandInput) => Promise<WaiterResult>;
15
+ export declare const waitUntilSecurityGroupExists: (params: WaiterConfiguration<EC2Client>, input: DescribeSecurityGroupsCommandInput) => Promise<WaiterResult<DescribeSecurityGroupsCommandOutput>>;
@@ -1,14 +1,15 @@
1
1
  import { type WaiterConfiguration, type WaiterResult } from "@smithy/util-waiter";
2
- import { type DescribeSecurityGroupVpcAssociationsCommandInput } from "../commands/DescribeSecurityGroupVpcAssociationsCommand";
2
+ import { type DescribeSecurityGroupVpcAssociationsCommandInput, type DescribeSecurityGroupVpcAssociationsCommandOutput } from "../commands/DescribeSecurityGroupVpcAssociationsCommand";
3
3
  import type { EC2Client } from "../EC2Client";
4
+ import type { EC2ServiceException } from "../models/EC2ServiceException";
4
5
  /**
5
6
  *
6
7
  * @deprecated Use waitUntilSecurityGroupVpcAssociationAssociated instead. waitForSecurityGroupVpcAssociationAssociated does not throw error in non-success cases.
7
8
  */
8
- export declare const waitForSecurityGroupVpcAssociationAssociated: (params: WaiterConfiguration<EC2Client>, input: DescribeSecurityGroupVpcAssociationsCommandInput) => Promise<WaiterResult>;
9
+ export declare const waitForSecurityGroupVpcAssociationAssociated: (params: WaiterConfiguration<EC2Client>, input: DescribeSecurityGroupVpcAssociationsCommandInput) => Promise<WaiterResult<DescribeSecurityGroupVpcAssociationsCommandOutput | EC2ServiceException>>;
9
10
  /**
10
11
  *
11
12
  * @param params - Waiter configuration options.
12
13
  * @param input - The input to DescribeSecurityGroupVpcAssociationsCommand for polling.
13
14
  */
14
- export declare const waitUntilSecurityGroupVpcAssociationAssociated: (params: WaiterConfiguration<EC2Client>, input: DescribeSecurityGroupVpcAssociationsCommandInput) => Promise<WaiterResult>;
15
+ export declare const waitUntilSecurityGroupVpcAssociationAssociated: (params: WaiterConfiguration<EC2Client>, input: DescribeSecurityGroupVpcAssociationsCommandInput) => Promise<WaiterResult<DescribeSecurityGroupVpcAssociationsCommandOutput>>;