@aws-sdk/client-ecs 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.
package/dist-cjs/index.js CHANGED
@@ -4389,10 +4389,10 @@ const paginateListTasks = core.createPaginator(ECSClient, ListTasksCommand, "nex
4389
4389
  const checkState$3 = async (client, input) => {
4390
4390
  let reason;
4391
4391
  try {
4392
- const result = await client.send(new DescribeServicesCommand(input));
4392
+ let result = await client.send(new DescribeServicesCommand(input));
4393
4393
  reason = result;
4394
4394
  try {
4395
- let returnComparator = () => {
4395
+ const returnComparator = () => {
4396
4396
  let flat_1 = [].concat(...result.failures);
4397
4397
  let projection_3 = flat_1.map((element_2) => {
4398
4398
  return element_2.reason;
@@ -4407,7 +4407,7 @@ const checkState$3 = async (client, input) => {
4407
4407
  }
4408
4408
  catch (e) { }
4409
4409
  try {
4410
- let returnComparator = () => {
4410
+ const returnComparator = () => {
4411
4411
  let flat_1 = [].concat(...result.services);
4412
4412
  let projection_3 = flat_1.map((element_2) => {
4413
4413
  return element_2.status;
@@ -4440,10 +4440,10 @@ const waitUntilServicesInactive = async (params, input) => {
4440
4440
  const checkState$2 = async (client, input) => {
4441
4441
  let reason;
4442
4442
  try {
4443
- const result = await client.send(new DescribeServicesCommand(input));
4443
+ let result = await client.send(new DescribeServicesCommand(input));
4444
4444
  reason = result;
4445
4445
  try {
4446
- let returnComparator = () => {
4446
+ const returnComparator = () => {
4447
4447
  let flat_1 = [].concat(...result.failures);
4448
4448
  let projection_3 = flat_1.map((element_2) => {
4449
4449
  return element_2.reason;
@@ -4458,7 +4458,7 @@ const checkState$2 = async (client, input) => {
4458
4458
  }
4459
4459
  catch (e) { }
4460
4460
  try {
4461
- let returnComparator = () => {
4461
+ const returnComparator = () => {
4462
4462
  let flat_1 = [].concat(...result.services);
4463
4463
  let projection_3 = flat_1.map((element_2) => {
4464
4464
  return element_2.status;
@@ -4473,7 +4473,7 @@ const checkState$2 = async (client, input) => {
4473
4473
  }
4474
4474
  catch (e) { }
4475
4475
  try {
4476
- let returnComparator = () => {
4476
+ const returnComparator = () => {
4477
4477
  let flat_1 = [].concat(...result.services);
4478
4478
  let projection_3 = flat_1.map((element_2) => {
4479
4479
  return element_2.status;
@@ -4488,7 +4488,7 @@ const checkState$2 = async (client, input) => {
4488
4488
  }
4489
4489
  catch (e) { }
4490
4490
  try {
4491
- let returnComparator = () => {
4491
+ const returnComparator = () => {
4492
4492
  let filterRes_2 = result.services.filter((element_1) => {
4493
4493
  return (!((element_1.deployments.length == 1.0) && (element_1.runningCount == element_1.desiredCount)));
4494
4494
  });
@@ -4518,10 +4518,10 @@ const waitUntilServicesStable = async (params, input) => {
4518
4518
  const checkState$1 = async (client, input) => {
4519
4519
  let reason;
4520
4520
  try {
4521
- const result = await client.send(new DescribeTasksCommand(input));
4521
+ let result = await client.send(new DescribeTasksCommand(input));
4522
4522
  reason = result;
4523
4523
  try {
4524
- let returnComparator = () => {
4524
+ const returnComparator = () => {
4525
4525
  let flat_1 = [].concat(...result.tasks);
4526
4526
  let projection_3 = flat_1.map((element_2) => {
4527
4527
  return element_2.lastStatus;
@@ -4536,7 +4536,7 @@ const checkState$1 = async (client, input) => {
4536
4536
  }
4537
4537
  catch (e) { }
4538
4538
  try {
4539
- let returnComparator = () => {
4539
+ const returnComparator = () => {
4540
4540
  let flat_1 = [].concat(...result.failures);
4541
4541
  let projection_3 = flat_1.map((element_2) => {
4542
4542
  return element_2.reason;
@@ -4551,7 +4551,7 @@ const checkState$1 = async (client, input) => {
4551
4551
  }
4552
4552
  catch (e) { }
4553
4553
  try {
4554
- let returnComparator = () => {
4554
+ const returnComparator = () => {
4555
4555
  let flat_1 = [].concat(...result.tasks);
4556
4556
  let projection_3 = flat_1.map((element_2) => {
4557
4557
  return element_2.lastStatus;
@@ -4586,10 +4586,10 @@ const waitUntilTasksRunning = async (params, input) => {
4586
4586
  const checkState = async (client, input) => {
4587
4587
  let reason;
4588
4588
  try {
4589
- const result = await client.send(new DescribeTasksCommand(input));
4589
+ let result = await client.send(new DescribeTasksCommand(input));
4590
4590
  reason = result;
4591
4591
  try {
4592
- let returnComparator = () => {
4592
+ const returnComparator = () => {
4593
4593
  let flat_1 = [].concat(...result.tasks);
4594
4594
  let projection_3 = flat_1.map((element_2) => {
4595
4595
  return element_2.lastStatus;
@@ -3,10 +3,10 @@ import { DescribeServicesCommand } from "../commands/DescribeServicesCommand";
3
3
  const checkState = async (client, input) => {
4
4
  let reason;
5
5
  try {
6
- const result = await client.send(new DescribeServicesCommand(input));
6
+ let result = await client.send(new DescribeServicesCommand(input));
7
7
  reason = result;
8
8
  try {
9
- let returnComparator = () => {
9
+ const returnComparator = () => {
10
10
  let flat_1 = [].concat(...result.failures);
11
11
  let projection_3 = flat_1.map((element_2) => {
12
12
  return element_2.reason;
@@ -21,7 +21,7 @@ const checkState = async (client, input) => {
21
21
  }
22
22
  catch (e) { }
23
23
  try {
24
- let returnComparator = () => {
24
+ const returnComparator = () => {
25
25
  let flat_1 = [].concat(...result.services);
26
26
  let projection_3 = flat_1.map((element_2) => {
27
27
  return element_2.status;
@@ -3,10 +3,10 @@ import { DescribeServicesCommand } from "../commands/DescribeServicesCommand";
3
3
  const checkState = async (client, input) => {
4
4
  let reason;
5
5
  try {
6
- const result = await client.send(new DescribeServicesCommand(input));
6
+ let result = await client.send(new DescribeServicesCommand(input));
7
7
  reason = result;
8
8
  try {
9
- let returnComparator = () => {
9
+ const returnComparator = () => {
10
10
  let flat_1 = [].concat(...result.failures);
11
11
  let projection_3 = flat_1.map((element_2) => {
12
12
  return element_2.reason;
@@ -21,7 +21,7 @@ const checkState = async (client, input) => {
21
21
  }
22
22
  catch (e) { }
23
23
  try {
24
- let returnComparator = () => {
24
+ const returnComparator = () => {
25
25
  let flat_1 = [].concat(...result.services);
26
26
  let projection_3 = flat_1.map((element_2) => {
27
27
  return element_2.status;
@@ -36,7 +36,7 @@ const checkState = async (client, input) => {
36
36
  }
37
37
  catch (e) { }
38
38
  try {
39
- let returnComparator = () => {
39
+ const returnComparator = () => {
40
40
  let flat_1 = [].concat(...result.services);
41
41
  let projection_3 = flat_1.map((element_2) => {
42
42
  return element_2.status;
@@ -51,7 +51,7 @@ const checkState = async (client, input) => {
51
51
  }
52
52
  catch (e) { }
53
53
  try {
54
- let returnComparator = () => {
54
+ const returnComparator = () => {
55
55
  let filterRes_2 = result.services.filter((element_1) => {
56
56
  return (!((element_1.deployments.length == 1.0) && (element_1.runningCount == element_1.desiredCount)));
57
57
  });
@@ -3,10 +3,10 @@ import { DescribeTasksCommand } from "../commands/DescribeTasksCommand";
3
3
  const checkState = async (client, input) => {
4
4
  let reason;
5
5
  try {
6
- const result = await client.send(new DescribeTasksCommand(input));
6
+ let result = await client.send(new DescribeTasksCommand(input));
7
7
  reason = result;
8
8
  try {
9
- let returnComparator = () => {
9
+ const returnComparator = () => {
10
10
  let flat_1 = [].concat(...result.tasks);
11
11
  let projection_3 = flat_1.map((element_2) => {
12
12
  return element_2.lastStatus;
@@ -21,7 +21,7 @@ const checkState = async (client, input) => {
21
21
  }
22
22
  catch (e) { }
23
23
  try {
24
- let returnComparator = () => {
24
+ const returnComparator = () => {
25
25
  let flat_1 = [].concat(...result.failures);
26
26
  let projection_3 = flat_1.map((element_2) => {
27
27
  return element_2.reason;
@@ -36,7 +36,7 @@ const checkState = async (client, input) => {
36
36
  }
37
37
  catch (e) { }
38
38
  try {
39
- let returnComparator = () => {
39
+ const returnComparator = () => {
40
40
  let flat_1 = [].concat(...result.tasks);
41
41
  let projection_3 = flat_1.map((element_2) => {
42
42
  return element_2.lastStatus;
@@ -3,10 +3,10 @@ import { DescribeTasksCommand } from "../commands/DescribeTasksCommand";
3
3
  const checkState = async (client, input) => {
4
4
  let reason;
5
5
  try {
6
- const result = await client.send(new DescribeTasksCommand(input));
6
+ let result = await client.send(new DescribeTasksCommand(input));
7
7
  reason = result;
8
8
  try {
9
- let returnComparator = () => {
9
+ const returnComparator = () => {
10
10
  let flat_1 = [].concat(...result.tasks);
11
11
  let projection_3 = flat_1.map((element_2) => {
12
12
  return element_2.lastStatus;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-ecs",
3
3
  "description": "AWS SDK for JavaScript Ecs 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-ecs",
@@ -23,17 +23,17 @@
23
23
  "dependencies": {
24
24
  "@aws-crypto/sha256-browser": "5.2.0",
25
25
  "@aws-crypto/sha256-js": "5.2.0",
26
- "@aws-sdk/core": "3.957.0",
27
- "@aws-sdk/credential-provider-node": "3.958.0",
26
+ "@aws-sdk/core": "3.964.0",
27
+ "@aws-sdk/credential-provider-node": "3.964.0",
28
28
  "@aws-sdk/middleware-host-header": "3.957.0",
29
29
  "@aws-sdk/middleware-logger": "3.957.0",
30
30
  "@aws-sdk/middleware-recursion-detection": "3.957.0",
31
- "@aws-sdk/middleware-user-agent": "3.957.0",
31
+ "@aws-sdk/middleware-user-agent": "3.964.0",
32
32
  "@aws-sdk/region-config-resolver": "3.957.0",
33
33
  "@aws-sdk/types": "3.957.0",
34
34
  "@aws-sdk/util-endpoints": "3.957.0",
35
35
  "@aws-sdk/util-user-agent-browser": "3.957.0",
36
- "@aws-sdk/util-user-agent-node": "3.957.0",
36
+ "@aws-sdk/util-user-agent-node": "3.964.0",
37
37
  "@smithy/config-resolver": "^4.4.5",
38
38
  "@smithy/core": "^3.20.0",
39
39
  "@smithy/fetch-http-handler": "^5.3.8",