@aws-sdk/client-ec2 3.958.0 → 3.964.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 (41) hide show
  1. package/dist-cjs/index.js +112 -112
  2. package/dist-es/waiters/waitForBundleTaskComplete.js +3 -3
  3. package/dist-es/waiters/waitForConversionTaskCancelled.js +2 -2
  4. package/dist-es/waiters/waitForConversionTaskCompleted.js +4 -4
  5. package/dist-es/waiters/waitForConversionTaskDeleted.js +2 -2
  6. package/dist-es/waiters/waitForCustomerGatewayAvailable.js +4 -4
  7. package/dist-es/waiters/waitForExportTaskCancelled.js +2 -2
  8. package/dist-es/waiters/waitForExportTaskCompleted.js +2 -2
  9. package/dist-es/waiters/waitForImageAvailable.js +3 -3
  10. package/dist-es/waiters/waitForImageExists.js +2 -2
  11. package/dist-es/waiters/waitForImageUsageReportAvailable.js +3 -3
  12. package/dist-es/waiters/waitForInstanceExists.js +2 -2
  13. package/dist-es/waiters/waitForInstanceRunning.js +5 -5
  14. package/dist-es/waiters/waitForInstanceStatusOk.js +2 -2
  15. package/dist-es/waiters/waitForInstanceStopped.js +4 -4
  16. package/dist-es/waiters/waitForInstanceTerminated.js +4 -4
  17. package/dist-es/waiters/waitForInternetGatewayExists.js +2 -2
  18. package/dist-es/waiters/waitForKeyPairExists.js +2 -2
  19. package/dist-es/waiters/waitForNatGatewayAvailable.js +5 -5
  20. package/dist-es/waiters/waitForNatGatewayDeleted.js +2 -2
  21. package/dist-es/waiters/waitForNetworkInterfaceAvailable.js +2 -2
  22. package/dist-es/waiters/waitForPasswordDataAvailable.js +2 -2
  23. package/dist-es/waiters/waitForSecurityGroupExists.js +2 -2
  24. package/dist-es/waiters/waitForSecurityGroupVpcAssociationAssociated.js +4 -4
  25. package/dist-es/waiters/waitForSecurityGroupVpcAssociationDisassociated.js +5 -5
  26. package/dist-es/waiters/waitForSnapshotCompleted.js +3 -3
  27. package/dist-es/waiters/waitForSnapshotImported.js +3 -3
  28. package/dist-es/waiters/waitForSpotInstanceRequestFulfilled.js +7 -7
  29. package/dist-es/waiters/waitForStoreImageTaskComplete.js +4 -4
  30. package/dist-es/waiters/waitForSubnetAvailable.js +2 -2
  31. package/dist-es/waiters/waitForSystemStatusOk.js +2 -2
  32. package/dist-es/waiters/waitForVolumeAvailable.js +3 -3
  33. package/dist-es/waiters/waitForVolumeDeleted.js +2 -2
  34. package/dist-es/waiters/waitForVolumeInUse.js +3 -3
  35. package/dist-es/waiters/waitForVpcAvailable.js +2 -2
  36. package/dist-es/waiters/waitForVpcExists.js +1 -1
  37. package/dist-es/waiters/waitForVpcPeeringConnectionDeleted.js +2 -2
  38. package/dist-es/waiters/waitForVpcPeeringConnectionExists.js +1 -1
  39. package/dist-es/waiters/waitForVpnConnectionAvailable.js +4 -4
  40. package/dist-es/waiters/waitForVpnConnectionDeleted.js +3 -3
  41. package/package.json +5 -5
@@ -3,10 +3,10 @@ import { DescribeStoreImageTasksCommand, } from "../commands/DescribeStoreImageT
3
3
  const checkState = async (client, input) => {
4
4
  let reason;
5
5
  try {
6
- const result = await client.send(new DescribeStoreImageTasksCommand(input));
6
+ let result = await client.send(new DescribeStoreImageTasksCommand(input));
7
7
  reason = result;
8
8
  try {
9
- let returnComparator = () => {
9
+ const returnComparator = () => {
10
10
  let flat_1 = [].concat(...result.StoreImageTaskResults);
11
11
  let projection_3 = flat_1.map((element_2) => {
12
12
  return element_2.StoreTaskState;
@@ -23,7 +23,7 @@ const checkState = async (client, input) => {
23
23
  }
24
24
  catch (e) { }
25
25
  try {
26
- let returnComparator = () => {
26
+ const returnComparator = () => {
27
27
  let flat_1 = [].concat(...result.StoreImageTaskResults);
28
28
  let projection_3 = flat_1.map((element_2) => {
29
29
  return element_2.StoreTaskState;
@@ -38,7 +38,7 @@ const checkState = async (client, input) => {
38
38
  }
39
39
  catch (e) { }
40
40
  try {
41
- let returnComparator = () => {
41
+ const returnComparator = () => {
42
42
  let flat_1 = [].concat(...result.StoreImageTaskResults);
43
43
  let projection_3 = flat_1.map((element_2) => {
44
44
  return element_2.StoreTaskState;
@@ -3,10 +3,10 @@ import { DescribeSubnetsCommand } from "../commands/DescribeSubnetsCommand";
3
3
  const checkState = async (client, input) => {
4
4
  let reason;
5
5
  try {
6
- const result = await client.send(new DescribeSubnetsCommand(input));
6
+ let result = await client.send(new DescribeSubnetsCommand(input));
7
7
  reason = result;
8
8
  try {
9
- let returnComparator = () => {
9
+ const returnComparator = () => {
10
10
  let flat_1 = [].concat(...result.Subnets);
11
11
  let projection_3 = flat_1.map((element_2) => {
12
12
  return element_2.State;
@@ -3,10 +3,10 @@ import { DescribeInstanceStatusCommand, } from "../commands/DescribeInstanceStat
3
3
  const checkState = async (client, input) => {
4
4
  let reason;
5
5
  try {
6
- const result = await client.send(new DescribeInstanceStatusCommand(input));
6
+ let result = await client.send(new DescribeInstanceStatusCommand(input));
7
7
  reason = result;
8
8
  try {
9
- let returnComparator = () => {
9
+ const returnComparator = () => {
10
10
  let flat_1 = [].concat(...result.InstanceStatuses);
11
11
  let projection_3 = flat_1.map((element_2) => {
12
12
  return element_2.SystemStatus.Status;
@@ -3,10 +3,10 @@ import { DescribeVolumesCommand } from "../commands/DescribeVolumesCommand";
3
3
  const checkState = async (client, input) => {
4
4
  let reason;
5
5
  try {
6
- const result = await client.send(new DescribeVolumesCommand(input));
6
+ let result = await client.send(new DescribeVolumesCommand(input));
7
7
  reason = result;
8
8
  try {
9
- let returnComparator = () => {
9
+ const returnComparator = () => {
10
10
  let flat_1 = [].concat(...result.Volumes);
11
11
  let projection_3 = flat_1.map((element_2) => {
12
12
  return element_2.State;
@@ -23,7 +23,7 @@ const checkState = async (client, input) => {
23
23
  }
24
24
  catch (e) { }
25
25
  try {
26
- let returnComparator = () => {
26
+ const returnComparator = () => {
27
27
  let flat_1 = [].concat(...result.Volumes);
28
28
  let projection_3 = flat_1.map((element_2) => {
29
29
  return element_2.State;
@@ -3,10 +3,10 @@ import { DescribeVolumesCommand } from "../commands/DescribeVolumesCommand";
3
3
  const checkState = async (client, input) => {
4
4
  let reason;
5
5
  try {
6
- const result = await client.send(new DescribeVolumesCommand(input));
6
+ let result = await client.send(new DescribeVolumesCommand(input));
7
7
  reason = result;
8
8
  try {
9
- let returnComparator = () => {
9
+ const returnComparator = () => {
10
10
  let flat_1 = [].concat(...result.Volumes);
11
11
  let projection_3 = flat_1.map((element_2) => {
12
12
  return element_2.State;
@@ -3,10 +3,10 @@ import { DescribeVolumesCommand } from "../commands/DescribeVolumesCommand";
3
3
  const checkState = async (client, input) => {
4
4
  let reason;
5
5
  try {
6
- const result = await client.send(new DescribeVolumesCommand(input));
6
+ let result = await client.send(new DescribeVolumesCommand(input));
7
7
  reason = result;
8
8
  try {
9
- let returnComparator = () => {
9
+ const returnComparator = () => {
10
10
  let flat_1 = [].concat(...result.Volumes);
11
11
  let projection_3 = flat_1.map((element_2) => {
12
12
  return element_2.State;
@@ -23,7 +23,7 @@ const checkState = async (client, input) => {
23
23
  }
24
24
  catch (e) { }
25
25
  try {
26
- let returnComparator = () => {
26
+ const returnComparator = () => {
27
27
  let flat_1 = [].concat(...result.Volumes);
28
28
  let projection_3 = flat_1.map((element_2) => {
29
29
  return element_2.State;
@@ -3,10 +3,10 @@ import { DescribeVpcsCommand } from "../commands/DescribeVpcsCommand";
3
3
  const checkState = async (client, input) => {
4
4
  let reason;
5
5
  try {
6
- const result = await client.send(new DescribeVpcsCommand(input));
6
+ let result = await client.send(new DescribeVpcsCommand(input));
7
7
  reason = result;
8
8
  try {
9
- let returnComparator = () => {
9
+ const returnComparator = () => {
10
10
  let flat_1 = [].concat(...result.Vpcs);
11
11
  let projection_3 = flat_1.map((element_2) => {
12
12
  return element_2.State;
@@ -3,7 +3,7 @@ import { DescribeVpcsCommand } from "../commands/DescribeVpcsCommand";
3
3
  const checkState = async (client, input) => {
4
4
  let reason;
5
5
  try {
6
- const result = await client.send(new DescribeVpcsCommand(input));
6
+ let result = await client.send(new DescribeVpcsCommand(input));
7
7
  reason = result;
8
8
  return { state: WaiterState.SUCCESS, reason };
9
9
  }
@@ -3,10 +3,10 @@ import { DescribeVpcPeeringConnectionsCommand, } from "../commands/DescribeVpcPe
3
3
  const checkState = async (client, input) => {
4
4
  let reason;
5
5
  try {
6
- const result = await client.send(new DescribeVpcPeeringConnectionsCommand(input));
6
+ let result = await client.send(new DescribeVpcPeeringConnectionsCommand(input));
7
7
  reason = result;
8
8
  try {
9
- let returnComparator = () => {
9
+ const returnComparator = () => {
10
10
  let flat_1 = [].concat(...result.VpcPeeringConnections);
11
11
  let projection_3 = flat_1.map((element_2) => {
12
12
  return element_2.Status.Code;
@@ -3,7 +3,7 @@ import { DescribeVpcPeeringConnectionsCommand, } from "../commands/DescribeVpcPe
3
3
  const checkState = async (client, input) => {
4
4
  let reason;
5
5
  try {
6
- const result = await client.send(new DescribeVpcPeeringConnectionsCommand(input));
6
+ let result = await client.send(new DescribeVpcPeeringConnectionsCommand(input));
7
7
  reason = result;
8
8
  return { state: WaiterState.SUCCESS, reason };
9
9
  }
@@ -3,10 +3,10 @@ import { DescribeVpnConnectionsCommand, } from "../commands/DescribeVpnConnectio
3
3
  const checkState = async (client, input) => {
4
4
  let reason;
5
5
  try {
6
- const result = await client.send(new DescribeVpnConnectionsCommand(input));
6
+ let result = await client.send(new DescribeVpnConnectionsCommand(input));
7
7
  reason = result;
8
8
  try {
9
- let returnComparator = () => {
9
+ const returnComparator = () => {
10
10
  let flat_1 = [].concat(...result.VpnConnections);
11
11
  let projection_3 = flat_1.map((element_2) => {
12
12
  return element_2.State;
@@ -23,7 +23,7 @@ const checkState = async (client, input) => {
23
23
  }
24
24
  catch (e) { }
25
25
  try {
26
- let returnComparator = () => {
26
+ const returnComparator = () => {
27
27
  let flat_1 = [].concat(...result.VpnConnections);
28
28
  let projection_3 = flat_1.map((element_2) => {
29
29
  return element_2.State;
@@ -38,7 +38,7 @@ const checkState = async (client, input) => {
38
38
  }
39
39
  catch (e) { }
40
40
  try {
41
- let returnComparator = () => {
41
+ const returnComparator = () => {
42
42
  let flat_1 = [].concat(...result.VpnConnections);
43
43
  let projection_3 = flat_1.map((element_2) => {
44
44
  return element_2.State;
@@ -3,10 +3,10 @@ import { DescribeVpnConnectionsCommand, } from "../commands/DescribeVpnConnectio
3
3
  const checkState = async (client, input) => {
4
4
  let reason;
5
5
  try {
6
- const result = await client.send(new DescribeVpnConnectionsCommand(input));
6
+ let result = await client.send(new DescribeVpnConnectionsCommand(input));
7
7
  reason = result;
8
8
  try {
9
- let returnComparator = () => {
9
+ const returnComparator = () => {
10
10
  let flat_1 = [].concat(...result.VpnConnections);
11
11
  let projection_3 = flat_1.map((element_2) => {
12
12
  return element_2.State;
@@ -23,7 +23,7 @@ const checkState = async (client, input) => {
23
23
  }
24
24
  catch (e) { }
25
25
  try {
26
- let returnComparator = () => {
26
+ const returnComparator = () => {
27
27
  let flat_1 = [].concat(...result.VpnConnections);
28
28
  let projection_3 = flat_1.map((element_2) => {
29
29
  return element_2.State;
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.958.0",
4
+ "version": "3.964.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",
@@ -21,18 +21,18 @@
21
21
  "dependencies": {
22
22
  "@aws-crypto/sha256-browser": "5.2.0",
23
23
  "@aws-crypto/sha256-js": "5.2.0",
24
- "@aws-sdk/core": "3.957.0",
25
- "@aws-sdk/credential-provider-node": "3.958.0",
24
+ "@aws-sdk/core": "3.964.0",
25
+ "@aws-sdk/credential-provider-node": "3.964.0",
26
26
  "@aws-sdk/middleware-host-header": "3.957.0",
27
27
  "@aws-sdk/middleware-logger": "3.957.0",
28
28
  "@aws-sdk/middleware-recursion-detection": "3.957.0",
29
29
  "@aws-sdk/middleware-sdk-ec2": "3.957.0",
30
- "@aws-sdk/middleware-user-agent": "3.957.0",
30
+ "@aws-sdk/middleware-user-agent": "3.964.0",
31
31
  "@aws-sdk/region-config-resolver": "3.957.0",
32
32
  "@aws-sdk/types": "3.957.0",
33
33
  "@aws-sdk/util-endpoints": "3.957.0",
34
34
  "@aws-sdk/util-user-agent-browser": "3.957.0",
35
- "@aws-sdk/util-user-agent-node": "3.957.0",
35
+ "@aws-sdk/util-user-agent-node": "3.964.0",
36
36
  "@smithy/config-resolver": "^4.4.5",
37
37
  "@smithy/core": "^3.20.0",
38
38
  "@smithy/fetch-http-handler": "^5.3.8",