@aws-sdk/client-ec2 3.1037.0 → 3.1038.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 { DescribeInstanceStatusCommandInput } from "../commands/DescribeInstanceStatusCommand";
2
+ import {
3
+ DescribeInstanceStatusCommandInput,
4
+ DescribeInstanceStatusCommandOutput,
5
+ } from "../commands/DescribeInstanceStatusCommand";
3
6
  import { EC2Client } from "../EC2Client";
7
+ import { EC2ServiceException } from "../models/EC2ServiceException";
4
8
  export declare const waitForInstanceStatusOk: (
5
9
  params: WaiterConfiguration<EC2Client>,
6
10
  input: DescribeInstanceStatusCommandInput
7
- ) => Promise<WaiterResult>;
11
+ ) => Promise<
12
+ WaiterResult<DescribeInstanceStatusCommandOutput | EC2ServiceException>
13
+ >;
8
14
  export declare const waitUntilInstanceStatusOk: (
9
15
  params: WaiterConfiguration<EC2Client>,
10
16
  input: DescribeInstanceStatusCommandInput
11
- ) => Promise<WaiterResult>;
17
+ ) => Promise<WaiterResult<DescribeInstanceStatusCommandOutput>>;
@@ -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 waitForInstanceStopped: (
5
9
  params: WaiterConfiguration<EC2Client>,
6
10
  input: DescribeInstancesCommandInput
7
- ) => Promise<WaiterResult>;
11
+ ) => Promise<
12
+ WaiterResult<DescribeInstancesCommandOutput | EC2ServiceException>
13
+ >;
8
14
  export declare const waitUntilInstanceStopped: (
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 waitForInstanceTerminated: (
5
9
  params: WaiterConfiguration<EC2Client>,
6
10
  input: DescribeInstancesCommandInput
7
- ) => Promise<WaiterResult>;
11
+ ) => Promise<
12
+ WaiterResult<DescribeInstancesCommandOutput | EC2ServiceException>
13
+ >;
8
14
  export declare const waitUntilInstanceTerminated: (
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 { DescribeInternetGatewaysCommandInput } from "../commands/DescribeInternetGatewaysCommand";
2
+ import {
3
+ DescribeInternetGatewaysCommandInput,
4
+ DescribeInternetGatewaysCommandOutput,
5
+ } from "../commands/DescribeInternetGatewaysCommand";
3
6
  import { EC2Client } from "../EC2Client";
7
+ import { EC2ServiceException } from "../models/EC2ServiceException";
4
8
  export declare const waitForInternetGatewayExists: (
5
9
  params: WaiterConfiguration<EC2Client>,
6
10
  input: DescribeInternetGatewaysCommandInput
7
- ) => Promise<WaiterResult>;
11
+ ) => Promise<
12
+ WaiterResult<DescribeInternetGatewaysCommandOutput | EC2ServiceException>
13
+ >;
8
14
  export declare const waitUntilInternetGatewayExists: (
9
15
  params: WaiterConfiguration<EC2Client>,
10
16
  input: DescribeInternetGatewaysCommandInput
11
- ) => Promise<WaiterResult>;
17
+ ) => Promise<WaiterResult<DescribeInternetGatewaysCommandOutput>>;
@@ -1,11 +1,15 @@
1
1
  import { WaiterConfiguration, WaiterResult } from "@smithy/util-waiter";
2
- import { DescribeKeyPairsCommandInput } from "../commands/DescribeKeyPairsCommand";
2
+ import {
3
+ DescribeKeyPairsCommandInput,
4
+ DescribeKeyPairsCommandOutput,
5
+ } from "../commands/DescribeKeyPairsCommand";
3
6
  import { EC2Client } from "../EC2Client";
7
+ import { EC2ServiceException } from "../models/EC2ServiceException";
4
8
  export declare const waitForKeyPairExists: (
5
9
  params: WaiterConfiguration<EC2Client>,
6
10
  input: DescribeKeyPairsCommandInput
7
- ) => Promise<WaiterResult>;
11
+ ) => Promise<WaiterResult<DescribeKeyPairsCommandOutput | EC2ServiceException>>;
8
12
  export declare const waitUntilKeyPairExists: (
9
13
  params: WaiterConfiguration<EC2Client>,
10
14
  input: DescribeKeyPairsCommandInput
11
- ) => Promise<WaiterResult>;
15
+ ) => Promise<WaiterResult<DescribeKeyPairsCommandOutput>>;
@@ -1,11 +1,17 @@
1
1
  import { WaiterConfiguration, WaiterResult } from "@smithy/util-waiter";
2
- import { DescribeNatGatewaysCommandInput } from "../commands/DescribeNatGatewaysCommand";
2
+ import {
3
+ DescribeNatGatewaysCommandInput,
4
+ DescribeNatGatewaysCommandOutput,
5
+ } from "../commands/DescribeNatGatewaysCommand";
3
6
  import { EC2Client } from "../EC2Client";
7
+ import { EC2ServiceException } from "../models/EC2ServiceException";
4
8
  export declare const waitForNatGatewayAvailable: (
5
9
  params: WaiterConfiguration<EC2Client>,
6
10
  input: DescribeNatGatewaysCommandInput
7
- ) => Promise<WaiterResult>;
11
+ ) => Promise<
12
+ WaiterResult<DescribeNatGatewaysCommandOutput | EC2ServiceException>
13
+ >;
8
14
  export declare const waitUntilNatGatewayAvailable: (
9
15
  params: WaiterConfiguration<EC2Client>,
10
16
  input: DescribeNatGatewaysCommandInput
11
- ) => Promise<WaiterResult>;
17
+ ) => Promise<WaiterResult<DescribeNatGatewaysCommandOutput>>;
@@ -1,11 +1,19 @@
1
1
  import { WaiterConfiguration, WaiterResult } from "@smithy/util-waiter";
2
- import { DescribeNatGatewaysCommandInput } from "../commands/DescribeNatGatewaysCommand";
2
+ import {
3
+ DescribeNatGatewaysCommandInput,
4
+ DescribeNatGatewaysCommandOutput,
5
+ } from "../commands/DescribeNatGatewaysCommand";
3
6
  import { EC2Client } from "../EC2Client";
7
+ import { EC2ServiceException } from "../models/EC2ServiceException";
4
8
  export declare const waitForNatGatewayDeleted: (
5
9
  params: WaiterConfiguration<EC2Client>,
6
10
  input: DescribeNatGatewaysCommandInput
7
- ) => Promise<WaiterResult>;
11
+ ) => Promise<
12
+ WaiterResult<DescribeNatGatewaysCommandOutput | EC2ServiceException>
13
+ >;
8
14
  export declare const waitUntilNatGatewayDeleted: (
9
15
  params: WaiterConfiguration<EC2Client>,
10
16
  input: DescribeNatGatewaysCommandInput
11
- ) => Promise<WaiterResult>;
17
+ ) => Promise<
18
+ WaiterResult<DescribeNatGatewaysCommandOutput | EC2ServiceException>
19
+ >;
@@ -1,11 +1,17 @@
1
1
  import { WaiterConfiguration, WaiterResult } from "@smithy/util-waiter";
2
- import { DescribeNetworkInterfacesCommandInput } from "../commands/DescribeNetworkInterfacesCommand";
2
+ import {
3
+ DescribeNetworkInterfacesCommandInput,
4
+ DescribeNetworkInterfacesCommandOutput,
5
+ } from "../commands/DescribeNetworkInterfacesCommand";
3
6
  import { EC2Client } from "../EC2Client";
7
+ import { EC2ServiceException } from "../models/EC2ServiceException";
4
8
  export declare const waitForNetworkInterfaceAvailable: (
5
9
  params: WaiterConfiguration<EC2Client>,
6
10
  input: DescribeNetworkInterfacesCommandInput
7
- ) => Promise<WaiterResult>;
11
+ ) => Promise<
12
+ WaiterResult<DescribeNetworkInterfacesCommandOutput | EC2ServiceException>
13
+ >;
8
14
  export declare const waitUntilNetworkInterfaceAvailable: (
9
15
  params: WaiterConfiguration<EC2Client>,
10
16
  input: DescribeNetworkInterfacesCommandInput
11
- ) => Promise<WaiterResult>;
17
+ ) => Promise<WaiterResult<DescribeNetworkInterfacesCommandOutput>>;
@@ -1,11 +1,15 @@
1
1
  import { WaiterConfiguration, WaiterResult } from "@smithy/util-waiter";
2
- import { GetPasswordDataCommandInput } from "../commands/GetPasswordDataCommand";
2
+ import {
3
+ GetPasswordDataCommandInput,
4
+ GetPasswordDataCommandOutput,
5
+ } from "../commands/GetPasswordDataCommand";
3
6
  import { EC2Client } from "../EC2Client";
7
+ import { EC2ServiceException } from "../models/EC2ServiceException";
4
8
  export declare const waitForPasswordDataAvailable: (
5
9
  params: WaiterConfiguration<EC2Client>,
6
10
  input: GetPasswordDataCommandInput
7
- ) => Promise<WaiterResult>;
11
+ ) => Promise<WaiterResult<GetPasswordDataCommandOutput | EC2ServiceException>>;
8
12
  export declare const waitUntilPasswordDataAvailable: (
9
13
  params: WaiterConfiguration<EC2Client>,
10
14
  input: GetPasswordDataCommandInput
11
- ) => Promise<WaiterResult>;
15
+ ) => Promise<WaiterResult<GetPasswordDataCommandOutput>>;
@@ -1,11 +1,17 @@
1
1
  import { WaiterConfiguration, WaiterResult } from "@smithy/util-waiter";
2
- import { DescribeSecondaryNetworksCommandInput } from "../commands/DescribeSecondaryNetworksCommand";
2
+ import {
3
+ DescribeSecondaryNetworksCommandInput,
4
+ DescribeSecondaryNetworksCommandOutput,
5
+ } from "../commands/DescribeSecondaryNetworksCommand";
3
6
  import { EC2Client } from "../EC2Client";
7
+ import { EC2ServiceException } from "../models/EC2ServiceException";
4
8
  export declare const waitForSecondaryNetworkCreateComplete: (
5
9
  params: WaiterConfiguration<EC2Client>,
6
10
  input: DescribeSecondaryNetworksCommandInput
7
- ) => Promise<WaiterResult>;
11
+ ) => Promise<
12
+ WaiterResult<DescribeSecondaryNetworksCommandOutput | EC2ServiceException>
13
+ >;
8
14
  export declare const waitUntilSecondaryNetworkCreateComplete: (
9
15
  params: WaiterConfiguration<EC2Client>,
10
16
  input: DescribeSecondaryNetworksCommandInput
11
- ) => Promise<WaiterResult>;
17
+ ) => Promise<WaiterResult<DescribeSecondaryNetworksCommandOutput>>;
@@ -1,11 +1,17 @@
1
1
  import { WaiterConfiguration, WaiterResult } from "@smithy/util-waiter";
2
- import { DescribeSecondaryNetworksCommandInput } from "../commands/DescribeSecondaryNetworksCommand";
2
+ import {
3
+ DescribeSecondaryNetworksCommandInput,
4
+ DescribeSecondaryNetworksCommandOutput,
5
+ } from "../commands/DescribeSecondaryNetworksCommand";
3
6
  import { EC2Client } from "../EC2Client";
7
+ import { EC2ServiceException } from "../models/EC2ServiceException";
4
8
  export declare const waitForSecondaryNetworkDeleteComplete: (
5
9
  params: WaiterConfiguration<EC2Client>,
6
10
  input: DescribeSecondaryNetworksCommandInput
7
- ) => Promise<WaiterResult>;
11
+ ) => Promise<
12
+ WaiterResult<DescribeSecondaryNetworksCommandOutput | EC2ServiceException>
13
+ >;
8
14
  export declare const waitUntilSecondaryNetworkDeleteComplete: (
9
15
  params: WaiterConfiguration<EC2Client>,
10
16
  input: DescribeSecondaryNetworksCommandInput
11
- ) => Promise<WaiterResult>;
17
+ ) => Promise<WaiterResult<DescribeSecondaryNetworksCommandOutput>>;
@@ -1,11 +1,17 @@
1
1
  import { WaiterConfiguration, WaiterResult } from "@smithy/util-waiter";
2
- import { DescribeSecondarySubnetsCommandInput } from "../commands/DescribeSecondarySubnetsCommand";
2
+ import {
3
+ DescribeSecondarySubnetsCommandInput,
4
+ DescribeSecondarySubnetsCommandOutput,
5
+ } from "../commands/DescribeSecondarySubnetsCommand";
3
6
  import { EC2Client } from "../EC2Client";
7
+ import { EC2ServiceException } from "../models/EC2ServiceException";
4
8
  export declare const waitForSecondarySubnetCreateComplete: (
5
9
  params: WaiterConfiguration<EC2Client>,
6
10
  input: DescribeSecondarySubnetsCommandInput
7
- ) => Promise<WaiterResult>;
11
+ ) => Promise<
12
+ WaiterResult<DescribeSecondarySubnetsCommandOutput | EC2ServiceException>
13
+ >;
8
14
  export declare const waitUntilSecondarySubnetCreateComplete: (
9
15
  params: WaiterConfiguration<EC2Client>,
10
16
  input: DescribeSecondarySubnetsCommandInput
11
- ) => Promise<WaiterResult>;
17
+ ) => Promise<WaiterResult<DescribeSecondarySubnetsCommandOutput>>;
@@ -1,11 +1,17 @@
1
1
  import { WaiterConfiguration, WaiterResult } from "@smithy/util-waiter";
2
- import { DescribeSecondarySubnetsCommandInput } from "../commands/DescribeSecondarySubnetsCommand";
2
+ import {
3
+ DescribeSecondarySubnetsCommandInput,
4
+ DescribeSecondarySubnetsCommandOutput,
5
+ } from "../commands/DescribeSecondarySubnetsCommand";
3
6
  import { EC2Client } from "../EC2Client";
7
+ import { EC2ServiceException } from "../models/EC2ServiceException";
4
8
  export declare const waitForSecondarySubnetDeleteComplete: (
5
9
  params: WaiterConfiguration<EC2Client>,
6
10
  input: DescribeSecondarySubnetsCommandInput
7
- ) => Promise<WaiterResult>;
11
+ ) => Promise<
12
+ WaiterResult<DescribeSecondarySubnetsCommandOutput | EC2ServiceException>
13
+ >;
8
14
  export declare const waitUntilSecondarySubnetDeleteComplete: (
9
15
  params: WaiterConfiguration<EC2Client>,
10
16
  input: DescribeSecondarySubnetsCommandInput
11
- ) => Promise<WaiterResult>;
17
+ ) => Promise<WaiterResult<DescribeSecondarySubnetsCommandOutput>>;
@@ -1,11 +1,17 @@
1
1
  import { WaiterConfiguration, WaiterResult } from "@smithy/util-waiter";
2
- import { DescribeSecurityGroupsCommandInput } from "../commands/DescribeSecurityGroupsCommand";
2
+ import {
3
+ DescribeSecurityGroupsCommandInput,
4
+ DescribeSecurityGroupsCommandOutput,
5
+ } from "../commands/DescribeSecurityGroupsCommand";
3
6
  import { EC2Client } from "../EC2Client";
7
+ import { EC2ServiceException } from "../models/EC2ServiceException";
4
8
  export declare const waitForSecurityGroupExists: (
5
9
  params: WaiterConfiguration<EC2Client>,
6
10
  input: DescribeSecurityGroupsCommandInput
7
- ) => Promise<WaiterResult>;
11
+ ) => Promise<
12
+ WaiterResult<DescribeSecurityGroupsCommandOutput | EC2ServiceException>
13
+ >;
8
14
  export declare const waitUntilSecurityGroupExists: (
9
15
  params: WaiterConfiguration<EC2Client>,
10
16
  input: DescribeSecurityGroupsCommandInput
11
- ) => Promise<WaiterResult>;
17
+ ) => Promise<WaiterResult<DescribeSecurityGroupsCommandOutput>>;
@@ -1,11 +1,19 @@
1
1
  import { WaiterConfiguration, WaiterResult } from "@smithy/util-waiter";
2
- import { DescribeSecurityGroupVpcAssociationsCommandInput } from "../commands/DescribeSecurityGroupVpcAssociationsCommand";
2
+ import {
3
+ DescribeSecurityGroupVpcAssociationsCommandInput,
4
+ DescribeSecurityGroupVpcAssociationsCommandOutput,
5
+ } from "../commands/DescribeSecurityGroupVpcAssociationsCommand";
3
6
  import { EC2Client } from "../EC2Client";
7
+ import { EC2ServiceException } from "../models/EC2ServiceException";
4
8
  export declare const waitForSecurityGroupVpcAssociationAssociated: (
5
9
  params: WaiterConfiguration<EC2Client>,
6
10
  input: DescribeSecurityGroupVpcAssociationsCommandInput
7
- ) => Promise<WaiterResult>;
11
+ ) => Promise<
12
+ WaiterResult<
13
+ DescribeSecurityGroupVpcAssociationsCommandOutput | EC2ServiceException
14
+ >
15
+ >;
8
16
  export declare const waitUntilSecurityGroupVpcAssociationAssociated: (
9
17
  params: WaiterConfiguration<EC2Client>,
10
18
  input: DescribeSecurityGroupVpcAssociationsCommandInput
11
- ) => Promise<WaiterResult>;
19
+ ) => Promise<WaiterResult<DescribeSecurityGroupVpcAssociationsCommandOutput>>;
@@ -1,11 +1,19 @@
1
1
  import { WaiterConfiguration, WaiterResult } from "@smithy/util-waiter";
2
- import { DescribeSecurityGroupVpcAssociationsCommandInput } from "../commands/DescribeSecurityGroupVpcAssociationsCommand";
2
+ import {
3
+ DescribeSecurityGroupVpcAssociationsCommandInput,
4
+ DescribeSecurityGroupVpcAssociationsCommandOutput,
5
+ } from "../commands/DescribeSecurityGroupVpcAssociationsCommand";
3
6
  import { EC2Client } from "../EC2Client";
7
+ import { EC2ServiceException } from "../models/EC2ServiceException";
4
8
  export declare const waitForSecurityGroupVpcAssociationDisassociated: (
5
9
  params: WaiterConfiguration<EC2Client>,
6
10
  input: DescribeSecurityGroupVpcAssociationsCommandInput
7
- ) => Promise<WaiterResult>;
11
+ ) => Promise<
12
+ WaiterResult<
13
+ DescribeSecurityGroupVpcAssociationsCommandOutput | EC2ServiceException
14
+ >
15
+ >;
8
16
  export declare const waitUntilSecurityGroupVpcAssociationDisassociated: (
9
17
  params: WaiterConfiguration<EC2Client>,
10
18
  input: DescribeSecurityGroupVpcAssociationsCommandInput
11
- ) => Promise<WaiterResult>;
19
+ ) => Promise<WaiterResult<DescribeSecurityGroupVpcAssociationsCommandOutput>>;
@@ -1,11 +1,17 @@
1
1
  import { WaiterConfiguration, WaiterResult } from "@smithy/util-waiter";
2
- import { DescribeSnapshotsCommandInput } from "../commands/DescribeSnapshotsCommand";
2
+ import {
3
+ DescribeSnapshotsCommandInput,
4
+ DescribeSnapshotsCommandOutput,
5
+ } from "../commands/DescribeSnapshotsCommand";
3
6
  import { EC2Client } from "../EC2Client";
7
+ import { EC2ServiceException } from "../models/EC2ServiceException";
4
8
  export declare const waitForSnapshotCompleted: (
5
9
  params: WaiterConfiguration<EC2Client>,
6
10
  input: DescribeSnapshotsCommandInput
7
- ) => Promise<WaiterResult>;
11
+ ) => Promise<
12
+ WaiterResult<DescribeSnapshotsCommandOutput | EC2ServiceException>
13
+ >;
8
14
  export declare const waitUntilSnapshotCompleted: (
9
15
  params: WaiterConfiguration<EC2Client>,
10
16
  input: DescribeSnapshotsCommandInput
11
- ) => Promise<WaiterResult>;
17
+ ) => Promise<WaiterResult<DescribeSnapshotsCommandOutput>>;
@@ -1,11 +1,17 @@
1
1
  import { WaiterConfiguration, WaiterResult } from "@smithy/util-waiter";
2
- import { DescribeImportSnapshotTasksCommandInput } from "../commands/DescribeImportSnapshotTasksCommand";
2
+ import {
3
+ DescribeImportSnapshotTasksCommandInput,
4
+ DescribeImportSnapshotTasksCommandOutput,
5
+ } from "../commands/DescribeImportSnapshotTasksCommand";
3
6
  import { EC2Client } from "../EC2Client";
7
+ import { EC2ServiceException } from "../models/EC2ServiceException";
4
8
  export declare const waitForSnapshotImported: (
5
9
  params: WaiterConfiguration<EC2Client>,
6
10
  input: DescribeImportSnapshotTasksCommandInput
7
- ) => Promise<WaiterResult>;
11
+ ) => Promise<
12
+ WaiterResult<DescribeImportSnapshotTasksCommandOutput | EC2ServiceException>
13
+ >;
8
14
  export declare const waitUntilSnapshotImported: (
9
15
  params: WaiterConfiguration<EC2Client>,
10
16
  input: DescribeImportSnapshotTasksCommandInput
11
- ) => Promise<WaiterResult>;
17
+ ) => Promise<WaiterResult<DescribeImportSnapshotTasksCommandOutput>>;
@@ -1,11 +1,17 @@
1
1
  import { WaiterConfiguration, WaiterResult } from "@smithy/util-waiter";
2
- import { DescribeSpotInstanceRequestsCommandInput } from "../commands/DescribeSpotInstanceRequestsCommand";
2
+ import {
3
+ DescribeSpotInstanceRequestsCommandInput,
4
+ DescribeSpotInstanceRequestsCommandOutput,
5
+ } from "../commands/DescribeSpotInstanceRequestsCommand";
3
6
  import { EC2Client } from "../EC2Client";
7
+ import { EC2ServiceException } from "../models/EC2ServiceException";
4
8
  export declare const waitForSpotInstanceRequestFulfilled: (
5
9
  params: WaiterConfiguration<EC2Client>,
6
10
  input: DescribeSpotInstanceRequestsCommandInput
7
- ) => Promise<WaiterResult>;
11
+ ) => Promise<
12
+ WaiterResult<DescribeSpotInstanceRequestsCommandOutput | EC2ServiceException>
13
+ >;
8
14
  export declare const waitUntilSpotInstanceRequestFulfilled: (
9
15
  params: WaiterConfiguration<EC2Client>,
10
16
  input: DescribeSpotInstanceRequestsCommandInput
11
- ) => Promise<WaiterResult>;
17
+ ) => Promise<WaiterResult<DescribeSpotInstanceRequestsCommandOutput>>;
@@ -1,11 +1,17 @@
1
1
  import { WaiterConfiguration, WaiterResult } from "@smithy/util-waiter";
2
- import { DescribeStoreImageTasksCommandInput } from "../commands/DescribeStoreImageTasksCommand";
2
+ import {
3
+ DescribeStoreImageTasksCommandInput,
4
+ DescribeStoreImageTasksCommandOutput,
5
+ } from "../commands/DescribeStoreImageTasksCommand";
3
6
  import { EC2Client } from "../EC2Client";
7
+ import { EC2ServiceException } from "../models/EC2ServiceException";
4
8
  export declare const waitForStoreImageTaskComplete: (
5
9
  params: WaiterConfiguration<EC2Client>,
6
10
  input: DescribeStoreImageTasksCommandInput
7
- ) => Promise<WaiterResult>;
11
+ ) => Promise<
12
+ WaiterResult<DescribeStoreImageTasksCommandOutput | EC2ServiceException>
13
+ >;
8
14
  export declare const waitUntilStoreImageTaskComplete: (
9
15
  params: WaiterConfiguration<EC2Client>,
10
16
  input: DescribeStoreImageTasksCommandInput
11
- ) => Promise<WaiterResult>;
17
+ ) => Promise<WaiterResult<DescribeStoreImageTasksCommandOutput>>;
@@ -1,11 +1,15 @@
1
1
  import { WaiterConfiguration, WaiterResult } from "@smithy/util-waiter";
2
- import { DescribeSubnetsCommandInput } from "../commands/DescribeSubnetsCommand";
2
+ import {
3
+ DescribeSubnetsCommandInput,
4
+ DescribeSubnetsCommandOutput,
5
+ } from "../commands/DescribeSubnetsCommand";
3
6
  import { EC2Client } from "../EC2Client";
7
+ import { EC2ServiceException } from "../models/EC2ServiceException";
4
8
  export declare const waitForSubnetAvailable: (
5
9
  params: WaiterConfiguration<EC2Client>,
6
10
  input: DescribeSubnetsCommandInput
7
- ) => Promise<WaiterResult>;
11
+ ) => Promise<WaiterResult<DescribeSubnetsCommandOutput | EC2ServiceException>>;
8
12
  export declare const waitUntilSubnetAvailable: (
9
13
  params: WaiterConfiguration<EC2Client>,
10
14
  input: DescribeSubnetsCommandInput
11
- ) => Promise<WaiterResult>;
15
+ ) => Promise<WaiterResult<DescribeSubnetsCommandOutput>>;
@@ -1,11 +1,17 @@
1
1
  import { WaiterConfiguration, WaiterResult } from "@smithy/util-waiter";
2
- import { DescribeInstanceStatusCommandInput } from "../commands/DescribeInstanceStatusCommand";
2
+ import {
3
+ DescribeInstanceStatusCommandInput,
4
+ DescribeInstanceStatusCommandOutput,
5
+ } from "../commands/DescribeInstanceStatusCommand";
3
6
  import { EC2Client } from "../EC2Client";
7
+ import { EC2ServiceException } from "../models/EC2ServiceException";
4
8
  export declare const waitForSystemStatusOk: (
5
9
  params: WaiterConfiguration<EC2Client>,
6
10
  input: DescribeInstanceStatusCommandInput
7
- ) => Promise<WaiterResult>;
11
+ ) => Promise<
12
+ WaiterResult<DescribeInstanceStatusCommandOutput | EC2ServiceException>
13
+ >;
8
14
  export declare const waitUntilSystemStatusOk: (
9
15
  params: WaiterConfiguration<EC2Client>,
10
16
  input: DescribeInstanceStatusCommandInput
11
- ) => Promise<WaiterResult>;
17
+ ) => Promise<WaiterResult<DescribeInstanceStatusCommandOutput>>;
@@ -1,11 +1,15 @@
1
1
  import { WaiterConfiguration, WaiterResult } from "@smithy/util-waiter";
2
- import { DescribeVolumesCommandInput } from "../commands/DescribeVolumesCommand";
2
+ import {
3
+ DescribeVolumesCommandInput,
4
+ DescribeVolumesCommandOutput,
5
+ } from "../commands/DescribeVolumesCommand";
3
6
  import { EC2Client } from "../EC2Client";
7
+ import { EC2ServiceException } from "../models/EC2ServiceException";
4
8
  export declare const waitForVolumeAvailable: (
5
9
  params: WaiterConfiguration<EC2Client>,
6
10
  input: DescribeVolumesCommandInput
7
- ) => Promise<WaiterResult>;
11
+ ) => Promise<WaiterResult<DescribeVolumesCommandOutput | EC2ServiceException>>;
8
12
  export declare const waitUntilVolumeAvailable: (
9
13
  params: WaiterConfiguration<EC2Client>,
10
14
  input: DescribeVolumesCommandInput
11
- ) => Promise<WaiterResult>;
15
+ ) => Promise<WaiterResult<DescribeVolumesCommandOutput>>;
@@ -1,11 +1,15 @@
1
1
  import { WaiterConfiguration, WaiterResult } from "@smithy/util-waiter";
2
- import { DescribeVolumesCommandInput } from "../commands/DescribeVolumesCommand";
2
+ import {
3
+ DescribeVolumesCommandInput,
4
+ DescribeVolumesCommandOutput,
5
+ } from "../commands/DescribeVolumesCommand";
3
6
  import { EC2Client } from "../EC2Client";
7
+ import { EC2ServiceException } from "../models/EC2ServiceException";
4
8
  export declare const waitForVolumeDeleted: (
5
9
  params: WaiterConfiguration<EC2Client>,
6
10
  input: DescribeVolumesCommandInput
7
- ) => Promise<WaiterResult>;
11
+ ) => Promise<WaiterResult<DescribeVolumesCommandOutput | EC2ServiceException>>;
8
12
  export declare const waitUntilVolumeDeleted: (
9
13
  params: WaiterConfiguration<EC2Client>,
10
14
  input: DescribeVolumesCommandInput
11
- ) => Promise<WaiterResult>;
15
+ ) => Promise<WaiterResult<DescribeVolumesCommandOutput | EC2ServiceException>>;
@@ -1,11 +1,15 @@
1
1
  import { WaiterConfiguration, WaiterResult } from "@smithy/util-waiter";
2
- import { DescribeVolumesCommandInput } from "../commands/DescribeVolumesCommand";
2
+ import {
3
+ DescribeVolumesCommandInput,
4
+ DescribeVolumesCommandOutput,
5
+ } from "../commands/DescribeVolumesCommand";
3
6
  import { EC2Client } from "../EC2Client";
7
+ import { EC2ServiceException } from "../models/EC2ServiceException";
4
8
  export declare const waitForVolumeInUse: (
5
9
  params: WaiterConfiguration<EC2Client>,
6
10
  input: DescribeVolumesCommandInput
7
- ) => Promise<WaiterResult>;
11
+ ) => Promise<WaiterResult<DescribeVolumesCommandOutput | EC2ServiceException>>;
8
12
  export declare const waitUntilVolumeInUse: (
9
13
  params: WaiterConfiguration<EC2Client>,
10
14
  input: DescribeVolumesCommandInput
11
- ) => Promise<WaiterResult>;
15
+ ) => Promise<WaiterResult<DescribeVolumesCommandOutput>>;
@@ -1,11 +1,15 @@
1
1
  import { WaiterConfiguration, WaiterResult } from "@smithy/util-waiter";
2
- import { DescribeVpcsCommandInput } from "../commands/DescribeVpcsCommand";
2
+ import {
3
+ DescribeVpcsCommandInput,
4
+ DescribeVpcsCommandOutput,
5
+ } from "../commands/DescribeVpcsCommand";
3
6
  import { EC2Client } from "../EC2Client";
7
+ import { EC2ServiceException } from "../models/EC2ServiceException";
4
8
  export declare const waitForVpcAvailable: (
5
9
  params: WaiterConfiguration<EC2Client>,
6
10
  input: DescribeVpcsCommandInput
7
- ) => Promise<WaiterResult>;
11
+ ) => Promise<WaiterResult<DescribeVpcsCommandOutput | EC2ServiceException>>;
8
12
  export declare const waitUntilVpcAvailable: (
9
13
  params: WaiterConfiguration<EC2Client>,
10
14
  input: DescribeVpcsCommandInput
11
- ) => Promise<WaiterResult>;
15
+ ) => Promise<WaiterResult<DescribeVpcsCommandOutput>>;
@@ -1,11 +1,15 @@
1
1
  import { WaiterConfiguration, WaiterResult } from "@smithy/util-waiter";
2
- import { DescribeVpcsCommandInput } from "../commands/DescribeVpcsCommand";
2
+ import {
3
+ DescribeVpcsCommandInput,
4
+ DescribeVpcsCommandOutput,
5
+ } from "../commands/DescribeVpcsCommand";
3
6
  import { EC2Client } from "../EC2Client";
7
+ import { EC2ServiceException } from "../models/EC2ServiceException";
4
8
  export declare const waitForVpcExists: (
5
9
  params: WaiterConfiguration<EC2Client>,
6
10
  input: DescribeVpcsCommandInput
7
- ) => Promise<WaiterResult>;
11
+ ) => Promise<WaiterResult<DescribeVpcsCommandOutput | EC2ServiceException>>;
8
12
  export declare const waitUntilVpcExists: (
9
13
  params: WaiterConfiguration<EC2Client>,
10
14
  input: DescribeVpcsCommandInput
11
- ) => Promise<WaiterResult>;
15
+ ) => Promise<WaiterResult<DescribeVpcsCommandOutput>>;
@@ -1,11 +1,19 @@
1
1
  import { WaiterConfiguration, WaiterResult } from "@smithy/util-waiter";
2
- import { DescribeVpcPeeringConnectionsCommandInput } from "../commands/DescribeVpcPeeringConnectionsCommand";
2
+ import {
3
+ DescribeVpcPeeringConnectionsCommandInput,
4
+ DescribeVpcPeeringConnectionsCommandOutput,
5
+ } from "../commands/DescribeVpcPeeringConnectionsCommand";
3
6
  import { EC2Client } from "../EC2Client";
7
+ import { EC2ServiceException } from "../models/EC2ServiceException";
4
8
  export declare const waitForVpcPeeringConnectionDeleted: (
5
9
  params: WaiterConfiguration<EC2Client>,
6
10
  input: DescribeVpcPeeringConnectionsCommandInput
7
- ) => Promise<WaiterResult>;
11
+ ) => Promise<
12
+ WaiterResult<DescribeVpcPeeringConnectionsCommandOutput | EC2ServiceException>
13
+ >;
8
14
  export declare const waitUntilVpcPeeringConnectionDeleted: (
9
15
  params: WaiterConfiguration<EC2Client>,
10
16
  input: DescribeVpcPeeringConnectionsCommandInput
11
- ) => Promise<WaiterResult>;
17
+ ) => Promise<
18
+ WaiterResult<DescribeVpcPeeringConnectionsCommandOutput | EC2ServiceException>
19
+ >;
@@ -1,11 +1,17 @@
1
1
  import { WaiterConfiguration, WaiterResult } from "@smithy/util-waiter";
2
- import { DescribeVpcPeeringConnectionsCommandInput } from "../commands/DescribeVpcPeeringConnectionsCommand";
2
+ import {
3
+ DescribeVpcPeeringConnectionsCommandInput,
4
+ DescribeVpcPeeringConnectionsCommandOutput,
5
+ } from "../commands/DescribeVpcPeeringConnectionsCommand";
3
6
  import { EC2Client } from "../EC2Client";
7
+ import { EC2ServiceException } from "../models/EC2ServiceException";
4
8
  export declare const waitForVpcPeeringConnectionExists: (
5
9
  params: WaiterConfiguration<EC2Client>,
6
10
  input: DescribeVpcPeeringConnectionsCommandInput
7
- ) => Promise<WaiterResult>;
11
+ ) => Promise<
12
+ WaiterResult<DescribeVpcPeeringConnectionsCommandOutput | EC2ServiceException>
13
+ >;
8
14
  export declare const waitUntilVpcPeeringConnectionExists: (
9
15
  params: WaiterConfiguration<EC2Client>,
10
16
  input: DescribeVpcPeeringConnectionsCommandInput
11
- ) => Promise<WaiterResult>;
17
+ ) => Promise<WaiterResult<DescribeVpcPeeringConnectionsCommandOutput>>;