@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,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 waitUntilSecurityGroupVpcAssociationDisassociated instead. waitForSecurityGroupVpcAssociationDisassociated does not throw error in non-success cases.
7
8
  */
8
- export declare const waitForSecurityGroupVpcAssociationDisassociated: (params: WaiterConfiguration<EC2Client>, input: DescribeSecurityGroupVpcAssociationsCommandInput) => Promise<WaiterResult>;
9
+ export declare const waitForSecurityGroupVpcAssociationDisassociated: (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 waitUntilSecurityGroupVpcAssociationDisassociated: (params: WaiterConfiguration<EC2Client>, input: DescribeSecurityGroupVpcAssociationsCommandInput) => Promise<WaiterResult>;
15
+ export declare const waitUntilSecurityGroupVpcAssociationDisassociated: (params: WaiterConfiguration<EC2Client>, input: DescribeSecurityGroupVpcAssociationsCommandInput) => Promise<WaiterResult<DescribeSecurityGroupVpcAssociationsCommandOutput>>;
@@ -1,14 +1,15 @@
1
1
  import { type WaiterConfiguration, type WaiterResult } from "@smithy/util-waiter";
2
- import { type DescribeSnapshotsCommandInput } from "../commands/DescribeSnapshotsCommand";
2
+ import { type DescribeSnapshotsCommandInput, type DescribeSnapshotsCommandOutput } from "../commands/DescribeSnapshotsCommand";
3
3
  import type { EC2Client } from "../EC2Client";
4
+ import type { EC2ServiceException } from "../models/EC2ServiceException";
4
5
  /**
5
6
  *
6
7
  * @deprecated Use waitUntilSnapshotCompleted instead. waitForSnapshotCompleted does not throw error in non-success cases.
7
8
  */
8
- export declare const waitForSnapshotCompleted: (params: WaiterConfiguration<EC2Client>, input: DescribeSnapshotsCommandInput) => Promise<WaiterResult>;
9
+ export declare const waitForSnapshotCompleted: (params: WaiterConfiguration<EC2Client>, input: DescribeSnapshotsCommandInput) => Promise<WaiterResult<DescribeSnapshotsCommandOutput | EC2ServiceException>>;
9
10
  /**
10
11
  *
11
12
  * @param params - Waiter configuration options.
12
13
  * @param input - The input to DescribeSnapshotsCommand for polling.
13
14
  */
14
- export declare const waitUntilSnapshotCompleted: (params: WaiterConfiguration<EC2Client>, input: DescribeSnapshotsCommandInput) => Promise<WaiterResult>;
15
+ export declare const waitUntilSnapshotCompleted: (params: WaiterConfiguration<EC2Client>, input: DescribeSnapshotsCommandInput) => Promise<WaiterResult<DescribeSnapshotsCommandOutput>>;
@@ -1,14 +1,15 @@
1
1
  import { type WaiterConfiguration, type WaiterResult } from "@smithy/util-waiter";
2
- import { type DescribeImportSnapshotTasksCommandInput } from "../commands/DescribeImportSnapshotTasksCommand";
2
+ import { type DescribeImportSnapshotTasksCommandInput, type DescribeImportSnapshotTasksCommandOutput } from "../commands/DescribeImportSnapshotTasksCommand";
3
3
  import type { EC2Client } from "../EC2Client";
4
+ import type { EC2ServiceException } from "../models/EC2ServiceException";
4
5
  /**
5
6
  *
6
7
  * @deprecated Use waitUntilSnapshotImported instead. waitForSnapshotImported does not throw error in non-success cases.
7
8
  */
8
- export declare const waitForSnapshotImported: (params: WaiterConfiguration<EC2Client>, input: DescribeImportSnapshotTasksCommandInput) => Promise<WaiterResult>;
9
+ export declare const waitForSnapshotImported: (params: WaiterConfiguration<EC2Client>, input: DescribeImportSnapshotTasksCommandInput) => Promise<WaiterResult<DescribeImportSnapshotTasksCommandOutput | EC2ServiceException>>;
9
10
  /**
10
11
  *
11
12
  * @param params - Waiter configuration options.
12
13
  * @param input - The input to DescribeImportSnapshotTasksCommand for polling.
13
14
  */
14
- export declare const waitUntilSnapshotImported: (params: WaiterConfiguration<EC2Client>, input: DescribeImportSnapshotTasksCommandInput) => Promise<WaiterResult>;
15
+ export declare const waitUntilSnapshotImported: (params: WaiterConfiguration<EC2Client>, input: DescribeImportSnapshotTasksCommandInput) => Promise<WaiterResult<DescribeImportSnapshotTasksCommandOutput>>;
@@ -1,14 +1,15 @@
1
1
  import { type WaiterConfiguration, type WaiterResult } from "@smithy/util-waiter";
2
- import { type DescribeSpotInstanceRequestsCommandInput } from "../commands/DescribeSpotInstanceRequestsCommand";
2
+ import { type DescribeSpotInstanceRequestsCommandInput, type DescribeSpotInstanceRequestsCommandOutput } from "../commands/DescribeSpotInstanceRequestsCommand";
3
3
  import type { EC2Client } from "../EC2Client";
4
+ import type { EC2ServiceException } from "../models/EC2ServiceException";
4
5
  /**
5
6
  *
6
7
  * @deprecated Use waitUntilSpotInstanceRequestFulfilled instead. waitForSpotInstanceRequestFulfilled does not throw error in non-success cases.
7
8
  */
8
- export declare const waitForSpotInstanceRequestFulfilled: (params: WaiterConfiguration<EC2Client>, input: DescribeSpotInstanceRequestsCommandInput) => Promise<WaiterResult>;
9
+ export declare const waitForSpotInstanceRequestFulfilled: (params: WaiterConfiguration<EC2Client>, input: DescribeSpotInstanceRequestsCommandInput) => Promise<WaiterResult<DescribeSpotInstanceRequestsCommandOutput | EC2ServiceException>>;
9
10
  /**
10
11
  *
11
12
  * @param params - Waiter configuration options.
12
13
  * @param input - The input to DescribeSpotInstanceRequestsCommand for polling.
13
14
  */
14
- export declare const waitUntilSpotInstanceRequestFulfilled: (params: WaiterConfiguration<EC2Client>, input: DescribeSpotInstanceRequestsCommandInput) => Promise<WaiterResult>;
15
+ export declare const waitUntilSpotInstanceRequestFulfilled: (params: WaiterConfiguration<EC2Client>, input: DescribeSpotInstanceRequestsCommandInput) => Promise<WaiterResult<DescribeSpotInstanceRequestsCommandOutput>>;
@@ -1,14 +1,15 @@
1
1
  import { type WaiterConfiguration, type WaiterResult } from "@smithy/util-waiter";
2
- import { type DescribeStoreImageTasksCommandInput } from "../commands/DescribeStoreImageTasksCommand";
2
+ import { type DescribeStoreImageTasksCommandInput, type DescribeStoreImageTasksCommandOutput } from "../commands/DescribeStoreImageTasksCommand";
3
3
  import type { EC2Client } from "../EC2Client";
4
+ import type { EC2ServiceException } from "../models/EC2ServiceException";
4
5
  /**
5
6
  *
6
7
  * @deprecated Use waitUntilStoreImageTaskComplete instead. waitForStoreImageTaskComplete does not throw error in non-success cases.
7
8
  */
8
- export declare const waitForStoreImageTaskComplete: (params: WaiterConfiguration<EC2Client>, input: DescribeStoreImageTasksCommandInput) => Promise<WaiterResult>;
9
+ export declare const waitForStoreImageTaskComplete: (params: WaiterConfiguration<EC2Client>, input: DescribeStoreImageTasksCommandInput) => Promise<WaiterResult<DescribeStoreImageTasksCommandOutput | EC2ServiceException>>;
9
10
  /**
10
11
  *
11
12
  * @param params - Waiter configuration options.
12
13
  * @param input - The input to DescribeStoreImageTasksCommand for polling.
13
14
  */
14
- export declare const waitUntilStoreImageTaskComplete: (params: WaiterConfiguration<EC2Client>, input: DescribeStoreImageTasksCommandInput) => Promise<WaiterResult>;
15
+ export declare const waitUntilStoreImageTaskComplete: (params: WaiterConfiguration<EC2Client>, input: DescribeStoreImageTasksCommandInput) => Promise<WaiterResult<DescribeStoreImageTasksCommandOutput>>;
@@ -1,14 +1,15 @@
1
1
  import { type WaiterConfiguration, type WaiterResult } from "@smithy/util-waiter";
2
- import { type DescribeSubnetsCommandInput } from "../commands/DescribeSubnetsCommand";
2
+ import { type DescribeSubnetsCommandInput, type DescribeSubnetsCommandOutput } from "../commands/DescribeSubnetsCommand";
3
3
  import type { EC2Client } from "../EC2Client";
4
+ import type { EC2ServiceException } from "../models/EC2ServiceException";
4
5
  /**
5
6
  *
6
7
  * @deprecated Use waitUntilSubnetAvailable instead. waitForSubnetAvailable does not throw error in non-success cases.
7
8
  */
8
- export declare const waitForSubnetAvailable: (params: WaiterConfiguration<EC2Client>, input: DescribeSubnetsCommandInput) => Promise<WaiterResult>;
9
+ export declare const waitForSubnetAvailable: (params: WaiterConfiguration<EC2Client>, input: DescribeSubnetsCommandInput) => Promise<WaiterResult<DescribeSubnetsCommandOutput | EC2ServiceException>>;
9
10
  /**
10
11
  *
11
12
  * @param params - Waiter configuration options.
12
13
  * @param input - The input to DescribeSubnetsCommand for polling.
13
14
  */
14
- export declare const waitUntilSubnetAvailable: (params: WaiterConfiguration<EC2Client>, input: DescribeSubnetsCommandInput) => Promise<WaiterResult>;
15
+ export declare const waitUntilSubnetAvailable: (params: WaiterConfiguration<EC2Client>, input: DescribeSubnetsCommandInput) => Promise<WaiterResult<DescribeSubnetsCommandOutput>>;
@@ -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 waitUntilSystemStatusOk instead. waitForSystemStatusOk does not throw error in non-success cases.
7
8
  */
8
- export declare const waitForSystemStatusOk: (params: WaiterConfiguration<EC2Client>, input: DescribeInstanceStatusCommandInput) => Promise<WaiterResult>;
9
+ export declare const waitForSystemStatusOk: (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 waitUntilSystemStatusOk: (params: WaiterConfiguration<EC2Client>, input: DescribeInstanceStatusCommandInput) => Promise<WaiterResult>;
15
+ export declare const waitUntilSystemStatusOk: (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 DescribeVolumesCommandInput } from "../commands/DescribeVolumesCommand";
2
+ import { type DescribeVolumesCommandInput, type DescribeVolumesCommandOutput } from "../commands/DescribeVolumesCommand";
3
3
  import type { EC2Client } from "../EC2Client";
4
+ import type { EC2ServiceException } from "../models/EC2ServiceException";
4
5
  /**
5
6
  *
6
7
  * @deprecated Use waitUntilVolumeAvailable instead. waitForVolumeAvailable does not throw error in non-success cases.
7
8
  */
8
- export declare const waitForVolumeAvailable: (params: WaiterConfiguration<EC2Client>, input: DescribeVolumesCommandInput) => Promise<WaiterResult>;
9
+ export declare const waitForVolumeAvailable: (params: WaiterConfiguration<EC2Client>, input: DescribeVolumesCommandInput) => Promise<WaiterResult<DescribeVolumesCommandOutput | EC2ServiceException>>;
9
10
  /**
10
11
  *
11
12
  * @param params - Waiter configuration options.
12
13
  * @param input - The input to DescribeVolumesCommand for polling.
13
14
  */
14
- export declare const waitUntilVolumeAvailable: (params: WaiterConfiguration<EC2Client>, input: DescribeVolumesCommandInput) => Promise<WaiterResult>;
15
+ export declare const waitUntilVolumeAvailable: (params: WaiterConfiguration<EC2Client>, input: DescribeVolumesCommandInput) => Promise<WaiterResult<DescribeVolumesCommandOutput>>;
@@ -1,14 +1,15 @@
1
1
  import { type WaiterConfiguration, type WaiterResult } from "@smithy/util-waiter";
2
- import { type DescribeVolumesCommandInput } from "../commands/DescribeVolumesCommand";
2
+ import { type DescribeVolumesCommandInput, type DescribeVolumesCommandOutput } from "../commands/DescribeVolumesCommand";
3
3
  import type { EC2Client } from "../EC2Client";
4
+ import type { EC2ServiceException } from "../models/EC2ServiceException";
4
5
  /**
5
6
  *
6
7
  * @deprecated Use waitUntilVolumeDeleted instead. waitForVolumeDeleted does not throw error in non-success cases.
7
8
  */
8
- export declare const waitForVolumeDeleted: (params: WaiterConfiguration<EC2Client>, input: DescribeVolumesCommandInput) => Promise<WaiterResult>;
9
+ export declare const waitForVolumeDeleted: (params: WaiterConfiguration<EC2Client>, input: DescribeVolumesCommandInput) => Promise<WaiterResult<DescribeVolumesCommandOutput | EC2ServiceException>>;
9
10
  /**
10
11
  *
11
12
  * @param params - Waiter configuration options.
12
13
  * @param input - The input to DescribeVolumesCommand for polling.
13
14
  */
14
- export declare const waitUntilVolumeDeleted: (params: WaiterConfiguration<EC2Client>, input: DescribeVolumesCommandInput) => Promise<WaiterResult>;
15
+ export declare const waitUntilVolumeDeleted: (params: WaiterConfiguration<EC2Client>, input: DescribeVolumesCommandInput) => Promise<WaiterResult<DescribeVolumesCommandOutput | EC2ServiceException>>;
@@ -1,14 +1,15 @@
1
1
  import { type WaiterConfiguration, type WaiterResult } from "@smithy/util-waiter";
2
- import { type DescribeVolumesCommandInput } from "../commands/DescribeVolumesCommand";
2
+ import { type DescribeVolumesCommandInput, type DescribeVolumesCommandOutput } from "../commands/DescribeVolumesCommand";
3
3
  import type { EC2Client } from "../EC2Client";
4
+ import type { EC2ServiceException } from "../models/EC2ServiceException";
4
5
  /**
5
6
  *
6
7
  * @deprecated Use waitUntilVolumeInUse instead. waitForVolumeInUse does not throw error in non-success cases.
7
8
  */
8
- export declare const waitForVolumeInUse: (params: WaiterConfiguration<EC2Client>, input: DescribeVolumesCommandInput) => Promise<WaiterResult>;
9
+ export declare const waitForVolumeInUse: (params: WaiterConfiguration<EC2Client>, input: DescribeVolumesCommandInput) => Promise<WaiterResult<DescribeVolumesCommandOutput | EC2ServiceException>>;
9
10
  /**
10
11
  *
11
12
  * @param params - Waiter configuration options.
12
13
  * @param input - The input to DescribeVolumesCommand for polling.
13
14
  */
14
- export declare const waitUntilVolumeInUse: (params: WaiterConfiguration<EC2Client>, input: DescribeVolumesCommandInput) => Promise<WaiterResult>;
15
+ export declare const waitUntilVolumeInUse: (params: WaiterConfiguration<EC2Client>, input: DescribeVolumesCommandInput) => Promise<WaiterResult<DescribeVolumesCommandOutput>>;
@@ -1,14 +1,15 @@
1
1
  import { type WaiterConfiguration, type WaiterResult } from "@smithy/util-waiter";
2
- import { type DescribeVpcsCommandInput } from "../commands/DescribeVpcsCommand";
2
+ import { type DescribeVpcsCommandInput, type DescribeVpcsCommandOutput } from "../commands/DescribeVpcsCommand";
3
3
  import type { EC2Client } from "../EC2Client";
4
+ import type { EC2ServiceException } from "../models/EC2ServiceException";
4
5
  /**
5
6
  *
6
7
  * @deprecated Use waitUntilVpcAvailable instead. waitForVpcAvailable does not throw error in non-success cases.
7
8
  */
8
- export declare const waitForVpcAvailable: (params: WaiterConfiguration<EC2Client>, input: DescribeVpcsCommandInput) => Promise<WaiterResult>;
9
+ export declare const waitForVpcAvailable: (params: WaiterConfiguration<EC2Client>, input: DescribeVpcsCommandInput) => Promise<WaiterResult<DescribeVpcsCommandOutput | EC2ServiceException>>;
9
10
  /**
10
11
  *
11
12
  * @param params - Waiter configuration options.
12
13
  * @param input - The input to DescribeVpcsCommand for polling.
13
14
  */
14
- export declare const waitUntilVpcAvailable: (params: WaiterConfiguration<EC2Client>, input: DescribeVpcsCommandInput) => Promise<WaiterResult>;
15
+ export declare const waitUntilVpcAvailable: (params: WaiterConfiguration<EC2Client>, input: DescribeVpcsCommandInput) => Promise<WaiterResult<DescribeVpcsCommandOutput>>;
@@ -1,14 +1,15 @@
1
1
  import { type WaiterConfiguration, type WaiterResult } from "@smithy/util-waiter";
2
- import { type DescribeVpcsCommandInput } from "../commands/DescribeVpcsCommand";
2
+ import { type DescribeVpcsCommandInput, type DescribeVpcsCommandOutput } from "../commands/DescribeVpcsCommand";
3
3
  import type { EC2Client } from "../EC2Client";
4
+ import type { EC2ServiceException } from "../models/EC2ServiceException";
4
5
  /**
5
6
  *
6
7
  * @deprecated Use waitUntilVpcExists instead. waitForVpcExists does not throw error in non-success cases.
7
8
  */
8
- export declare const waitForVpcExists: (params: WaiterConfiguration<EC2Client>, input: DescribeVpcsCommandInput) => Promise<WaiterResult>;
9
+ export declare const waitForVpcExists: (params: WaiterConfiguration<EC2Client>, input: DescribeVpcsCommandInput) => Promise<WaiterResult<DescribeVpcsCommandOutput | EC2ServiceException>>;
9
10
  /**
10
11
  *
11
12
  * @param params - Waiter configuration options.
12
13
  * @param input - The input to DescribeVpcsCommand for polling.
13
14
  */
14
- export declare const waitUntilVpcExists: (params: WaiterConfiguration<EC2Client>, input: DescribeVpcsCommandInput) => Promise<WaiterResult>;
15
+ export declare const waitUntilVpcExists: (params: WaiterConfiguration<EC2Client>, input: DescribeVpcsCommandInput) => Promise<WaiterResult<DescribeVpcsCommandOutput>>;
@@ -1,14 +1,15 @@
1
1
  import { type WaiterConfiguration, type WaiterResult } from "@smithy/util-waiter";
2
- import { type DescribeVpcPeeringConnectionsCommandInput } from "../commands/DescribeVpcPeeringConnectionsCommand";
2
+ import { type DescribeVpcPeeringConnectionsCommandInput, type DescribeVpcPeeringConnectionsCommandOutput } from "../commands/DescribeVpcPeeringConnectionsCommand";
3
3
  import type { EC2Client } from "../EC2Client";
4
+ import type { EC2ServiceException } from "../models/EC2ServiceException";
4
5
  /**
5
6
  *
6
7
  * @deprecated Use waitUntilVpcPeeringConnectionDeleted instead. waitForVpcPeeringConnectionDeleted does not throw error in non-success cases.
7
8
  */
8
- export declare const waitForVpcPeeringConnectionDeleted: (params: WaiterConfiguration<EC2Client>, input: DescribeVpcPeeringConnectionsCommandInput) => Promise<WaiterResult>;
9
+ export declare const waitForVpcPeeringConnectionDeleted: (params: WaiterConfiguration<EC2Client>, input: DescribeVpcPeeringConnectionsCommandInput) => Promise<WaiterResult<DescribeVpcPeeringConnectionsCommandOutput | EC2ServiceException>>;
9
10
  /**
10
11
  *
11
12
  * @param params - Waiter configuration options.
12
13
  * @param input - The input to DescribeVpcPeeringConnectionsCommand for polling.
13
14
  */
14
- export declare const waitUntilVpcPeeringConnectionDeleted: (params: WaiterConfiguration<EC2Client>, input: DescribeVpcPeeringConnectionsCommandInput) => Promise<WaiterResult>;
15
+ export declare const waitUntilVpcPeeringConnectionDeleted: (params: WaiterConfiguration<EC2Client>, input: DescribeVpcPeeringConnectionsCommandInput) => Promise<WaiterResult<DescribeVpcPeeringConnectionsCommandOutput | EC2ServiceException>>;
@@ -1,14 +1,15 @@
1
1
  import { type WaiterConfiguration, type WaiterResult } from "@smithy/util-waiter";
2
- import { type DescribeVpcPeeringConnectionsCommandInput } from "../commands/DescribeVpcPeeringConnectionsCommand";
2
+ import { type DescribeVpcPeeringConnectionsCommandInput, type DescribeVpcPeeringConnectionsCommandOutput } from "../commands/DescribeVpcPeeringConnectionsCommand";
3
3
  import type { EC2Client } from "../EC2Client";
4
+ import type { EC2ServiceException } from "../models/EC2ServiceException";
4
5
  /**
5
6
  *
6
7
  * @deprecated Use waitUntilVpcPeeringConnectionExists instead. waitForVpcPeeringConnectionExists does not throw error in non-success cases.
7
8
  */
8
- export declare const waitForVpcPeeringConnectionExists: (params: WaiterConfiguration<EC2Client>, input: DescribeVpcPeeringConnectionsCommandInput) => Promise<WaiterResult>;
9
+ export declare const waitForVpcPeeringConnectionExists: (params: WaiterConfiguration<EC2Client>, input: DescribeVpcPeeringConnectionsCommandInput) => Promise<WaiterResult<DescribeVpcPeeringConnectionsCommandOutput | EC2ServiceException>>;
9
10
  /**
10
11
  *
11
12
  * @param params - Waiter configuration options.
12
13
  * @param input - The input to DescribeVpcPeeringConnectionsCommand for polling.
13
14
  */
14
- export declare const waitUntilVpcPeeringConnectionExists: (params: WaiterConfiguration<EC2Client>, input: DescribeVpcPeeringConnectionsCommandInput) => Promise<WaiterResult>;
15
+ export declare const waitUntilVpcPeeringConnectionExists: (params: WaiterConfiguration<EC2Client>, input: DescribeVpcPeeringConnectionsCommandInput) => Promise<WaiterResult<DescribeVpcPeeringConnectionsCommandOutput>>;
@@ -1,14 +1,15 @@
1
1
  import { type WaiterConfiguration, type WaiterResult } from "@smithy/util-waiter";
2
- import { type DescribeVpnConnectionsCommandInput } from "../commands/DescribeVpnConnectionsCommand";
2
+ import { type DescribeVpnConnectionsCommandInput, type DescribeVpnConnectionsCommandOutput } from "../commands/DescribeVpnConnectionsCommand";
3
3
  import type { EC2Client } from "../EC2Client";
4
+ import type { EC2ServiceException } from "../models/EC2ServiceException";
4
5
  /**
5
6
  *
6
7
  * @deprecated Use waitUntilVpnConnectionAvailable instead. waitForVpnConnectionAvailable does not throw error in non-success cases.
7
8
  */
8
- export declare const waitForVpnConnectionAvailable: (params: WaiterConfiguration<EC2Client>, input: DescribeVpnConnectionsCommandInput) => Promise<WaiterResult>;
9
+ export declare const waitForVpnConnectionAvailable: (params: WaiterConfiguration<EC2Client>, input: DescribeVpnConnectionsCommandInput) => Promise<WaiterResult<DescribeVpnConnectionsCommandOutput | EC2ServiceException>>;
9
10
  /**
10
11
  *
11
12
  * @param params - Waiter configuration options.
12
13
  * @param input - The input to DescribeVpnConnectionsCommand for polling.
13
14
  */
14
- export declare const waitUntilVpnConnectionAvailable: (params: WaiterConfiguration<EC2Client>, input: DescribeVpnConnectionsCommandInput) => Promise<WaiterResult>;
15
+ export declare const waitUntilVpnConnectionAvailable: (params: WaiterConfiguration<EC2Client>, input: DescribeVpnConnectionsCommandInput) => Promise<WaiterResult<DescribeVpnConnectionsCommandOutput>>;
@@ -1,14 +1,15 @@
1
1
  import { type WaiterConfiguration, type WaiterResult } from "@smithy/util-waiter";
2
- import { type DescribeVpnConnectionsCommandInput } from "../commands/DescribeVpnConnectionsCommand";
2
+ import { type DescribeVpnConnectionsCommandInput, type DescribeVpnConnectionsCommandOutput } from "../commands/DescribeVpnConnectionsCommand";
3
3
  import type { EC2Client } from "../EC2Client";
4
+ import type { EC2ServiceException } from "../models/EC2ServiceException";
4
5
  /**
5
6
  *
6
7
  * @deprecated Use waitUntilVpnConnectionDeleted instead. waitForVpnConnectionDeleted does not throw error in non-success cases.
7
8
  */
8
- export declare const waitForVpnConnectionDeleted: (params: WaiterConfiguration<EC2Client>, input: DescribeVpnConnectionsCommandInput) => Promise<WaiterResult>;
9
+ export declare const waitForVpnConnectionDeleted: (params: WaiterConfiguration<EC2Client>, input: DescribeVpnConnectionsCommandInput) => Promise<WaiterResult<DescribeVpnConnectionsCommandOutput | EC2ServiceException>>;
9
10
  /**
10
11
  *
11
12
  * @param params - Waiter configuration options.
12
13
  * @param input - The input to DescribeVpnConnectionsCommand for polling.
13
14
  */
14
- export declare const waitUntilVpnConnectionDeleted: (params: WaiterConfiguration<EC2Client>, input: DescribeVpnConnectionsCommandInput) => Promise<WaiterResult>;
15
+ export declare const waitUntilVpnConnectionDeleted: (params: WaiterConfiguration<EC2Client>, input: DescribeVpnConnectionsCommandInput) => Promise<WaiterResult<DescribeVpnConnectionsCommandOutput>>;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-ec2",
3
3
  "description": "AWS SDK for JavaScript Ec2 Client for Node.js, Browser and React Native",
4
- "version": "3.1037.0",
4
+ "version": "3.1038.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-ec2",
@@ -25,18 +25,18 @@
25
25
  "dependencies": {
26
26
  "@aws-crypto/sha256-browser": "5.2.0",
27
27
  "@aws-crypto/sha256-js": "5.2.0",
28
- "@aws-sdk/core": "^3.974.5",
29
- "@aws-sdk/credential-provider-node": "^3.972.36",
28
+ "@aws-sdk/core": "^3.974.6",
29
+ "@aws-sdk/credential-provider-node": "^3.972.37",
30
30
  "@aws-sdk/middleware-host-header": "^3.972.10",
31
31
  "@aws-sdk/middleware-logger": "^3.972.10",
32
32
  "@aws-sdk/middleware-recursion-detection": "^3.972.11",
33
33
  "@aws-sdk/middleware-sdk-ec2": "^3.972.22",
34
- "@aws-sdk/middleware-user-agent": "^3.972.35",
34
+ "@aws-sdk/middleware-user-agent": "^3.972.36",
35
35
  "@aws-sdk/region-config-resolver": "^3.972.13",
36
36
  "@aws-sdk/types": "^3.973.8",
37
37
  "@aws-sdk/util-endpoints": "^3.996.8",
38
38
  "@aws-sdk/util-user-agent-browser": "^3.972.10",
39
- "@aws-sdk/util-user-agent-node": "^3.973.21",
39
+ "@aws-sdk/util-user-agent-node": "^3.973.22",
40
40
  "@smithy/config-resolver": "^4.4.17",
41
41
  "@smithy/core": "^3.23.17",
42
42
  "@smithy/fetch-http-handler": "^5.3.17",
@@ -44,7 +44,7 @@
44
44
  "@smithy/invalid-dependency": "^4.2.14",
45
45
  "@smithy/middleware-content-length": "^4.2.14",
46
46
  "@smithy/middleware-endpoint": "^4.4.32",
47
- "@smithy/middleware-retry": "^4.5.5",
47
+ "@smithy/middleware-retry": "^4.5.6",
48
48
  "@smithy/middleware-serde": "^4.2.20",
49
49
  "@smithy/middleware-stack": "^4.2.14",
50
50
  "@smithy/node-config-provider": "^4.3.14",
@@ -60,9 +60,9 @@
60
60
  "@smithy/util-defaults-mode-node": "^4.2.54",
61
61
  "@smithy/util-endpoints": "^3.4.2",
62
62
  "@smithy/util-middleware": "^4.2.14",
63
- "@smithy/util-retry": "^4.3.4",
63
+ "@smithy/util-retry": "^4.3.5",
64
64
  "@smithy/util-utf8": "^4.2.2",
65
- "@smithy/util-waiter": "^4.2.16",
65
+ "@smithy/util-waiter": "^4.3.0",
66
66
  "tslib": "^2.6.2"
67
67
  },
68
68
  "devDependencies": {