@aws-sdk/client-machine-learning 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
@@ -1344,10 +1344,10 @@ const paginateDescribeMLModels = core.createPaginator(MachineLearningClient, Des
1344
1344
  const checkState$3 = async (client, input) => {
1345
1345
  let reason;
1346
1346
  try {
1347
- const result = await client.send(new DescribeBatchPredictionsCommand(input));
1347
+ let result = await client.send(new DescribeBatchPredictionsCommand(input));
1348
1348
  reason = result;
1349
1349
  try {
1350
- let returnComparator = () => {
1350
+ const returnComparator = () => {
1351
1351
  let flat_1 = [].concat(...result.Results);
1352
1352
  let projection_3 = flat_1.map((element_2) => {
1353
1353
  return element_2.Status;
@@ -1364,7 +1364,7 @@ const checkState$3 = async (client, input) => {
1364
1364
  }
1365
1365
  catch (e) { }
1366
1366
  try {
1367
- let returnComparator = () => {
1367
+ const returnComparator = () => {
1368
1368
  let flat_1 = [].concat(...result.Results);
1369
1369
  let projection_3 = flat_1.map((element_2) => {
1370
1370
  return element_2.Status;
@@ -1397,10 +1397,10 @@ const waitUntilBatchPredictionAvailable = async (params, input) => {
1397
1397
  const checkState$2 = async (client, input) => {
1398
1398
  let reason;
1399
1399
  try {
1400
- const result = await client.send(new DescribeDataSourcesCommand(input));
1400
+ let result = await client.send(new DescribeDataSourcesCommand(input));
1401
1401
  reason = result;
1402
1402
  try {
1403
- let returnComparator = () => {
1403
+ const returnComparator = () => {
1404
1404
  let flat_1 = [].concat(...result.Results);
1405
1405
  let projection_3 = flat_1.map((element_2) => {
1406
1406
  return element_2.Status;
@@ -1417,7 +1417,7 @@ const checkState$2 = async (client, input) => {
1417
1417
  }
1418
1418
  catch (e) { }
1419
1419
  try {
1420
- let returnComparator = () => {
1420
+ const returnComparator = () => {
1421
1421
  let flat_1 = [].concat(...result.Results);
1422
1422
  let projection_3 = flat_1.map((element_2) => {
1423
1423
  return element_2.Status;
@@ -1450,10 +1450,10 @@ const waitUntilDataSourceAvailable = async (params, input) => {
1450
1450
  const checkState$1 = async (client, input) => {
1451
1451
  let reason;
1452
1452
  try {
1453
- const result = await client.send(new DescribeEvaluationsCommand(input));
1453
+ let result = await client.send(new DescribeEvaluationsCommand(input));
1454
1454
  reason = result;
1455
1455
  try {
1456
- let returnComparator = () => {
1456
+ const returnComparator = () => {
1457
1457
  let flat_1 = [].concat(...result.Results);
1458
1458
  let projection_3 = flat_1.map((element_2) => {
1459
1459
  return element_2.Status;
@@ -1470,7 +1470,7 @@ const checkState$1 = async (client, input) => {
1470
1470
  }
1471
1471
  catch (e) { }
1472
1472
  try {
1473
- let returnComparator = () => {
1473
+ const returnComparator = () => {
1474
1474
  let flat_1 = [].concat(...result.Results);
1475
1475
  let projection_3 = flat_1.map((element_2) => {
1476
1476
  return element_2.Status;
@@ -1503,10 +1503,10 @@ const waitUntilEvaluationAvailable = async (params, input) => {
1503
1503
  const checkState = async (client, input) => {
1504
1504
  let reason;
1505
1505
  try {
1506
- const result = await client.send(new DescribeMLModelsCommand(input));
1506
+ let result = await client.send(new DescribeMLModelsCommand(input));
1507
1507
  reason = result;
1508
1508
  try {
1509
- let returnComparator = () => {
1509
+ const returnComparator = () => {
1510
1510
  let flat_1 = [].concat(...result.Results);
1511
1511
  let projection_3 = flat_1.map((element_2) => {
1512
1512
  return element_2.Status;
@@ -1523,7 +1523,7 @@ const checkState = async (client, input) => {
1523
1523
  }
1524
1524
  catch (e) { }
1525
1525
  try {
1526
- let returnComparator = () => {
1526
+ const returnComparator = () => {
1527
1527
  let flat_1 = [].concat(...result.Results);
1528
1528
  let projection_3 = flat_1.map((element_2) => {
1529
1529
  return element_2.Status;
@@ -3,10 +3,10 @@ import { DescribeBatchPredictionsCommand, } from "../commands/DescribeBatchPredi
3
3
  const checkState = async (client, input) => {
4
4
  let reason;
5
5
  try {
6
- const result = await client.send(new DescribeBatchPredictionsCommand(input));
6
+ let result = await client.send(new DescribeBatchPredictionsCommand(input));
7
7
  reason = result;
8
8
  try {
9
- let returnComparator = () => {
9
+ const returnComparator = () => {
10
10
  let flat_1 = [].concat(...result.Results);
11
11
  let projection_3 = flat_1.map((element_2) => {
12
12
  return element_2.Status;
@@ -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.Results);
28
28
  let projection_3 = flat_1.map((element_2) => {
29
29
  return element_2.Status;
@@ -3,10 +3,10 @@ import { DescribeDataSourcesCommand, } from "../commands/DescribeDataSourcesComm
3
3
  const checkState = async (client, input) => {
4
4
  let reason;
5
5
  try {
6
- const result = await client.send(new DescribeDataSourcesCommand(input));
6
+ let result = await client.send(new DescribeDataSourcesCommand(input));
7
7
  reason = result;
8
8
  try {
9
- let returnComparator = () => {
9
+ const returnComparator = () => {
10
10
  let flat_1 = [].concat(...result.Results);
11
11
  let projection_3 = flat_1.map((element_2) => {
12
12
  return element_2.Status;
@@ -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.Results);
28
28
  let projection_3 = flat_1.map((element_2) => {
29
29
  return element_2.Status;
@@ -3,10 +3,10 @@ import { DescribeEvaluationsCommand, } from "../commands/DescribeEvaluationsComm
3
3
  const checkState = async (client, input) => {
4
4
  let reason;
5
5
  try {
6
- const result = await client.send(new DescribeEvaluationsCommand(input));
6
+ let result = await client.send(new DescribeEvaluationsCommand(input));
7
7
  reason = result;
8
8
  try {
9
- let returnComparator = () => {
9
+ const returnComparator = () => {
10
10
  let flat_1 = [].concat(...result.Results);
11
11
  let projection_3 = flat_1.map((element_2) => {
12
12
  return element_2.Status;
@@ -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.Results);
28
28
  let projection_3 = flat_1.map((element_2) => {
29
29
  return element_2.Status;
@@ -3,10 +3,10 @@ import { DescribeMLModelsCommand } from "../commands/DescribeMLModelsCommand";
3
3
  const checkState = async (client, input) => {
4
4
  let reason;
5
5
  try {
6
- const result = await client.send(new DescribeMLModelsCommand(input));
6
+ let result = await client.send(new DescribeMLModelsCommand(input));
7
7
  reason = result;
8
8
  try {
9
- let returnComparator = () => {
9
+ const returnComparator = () => {
10
10
  let flat_1 = [].concat(...result.Results);
11
11
  let projection_3 = flat_1.map((element_2) => {
12
12
  return element_2.Status;
@@ -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.Results);
28
28
  let projection_3 = flat_1.map((element_2) => {
29
29
  return element_2.Status;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-machine-learning",
3
3
  "description": "AWS SDK for JavaScript Machine Learning 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-machine-learning",
@@ -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-machinelearning": "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",