@aws-sdk/client-deadline 3.958.0 → 3.962.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
@@ -5018,10 +5018,10 @@ const paginateListWorkers = core.createPaginator(DeadlineClient, ListWorkersComm
5018
5018
  const checkState$7 = async (client, input) => {
5019
5019
  let reason;
5020
5020
  try {
5021
- const result = await client.send(new GetFleetCommand(input));
5021
+ let result = await client.send(new GetFleetCommand(input));
5022
5022
  reason = result;
5023
5023
  try {
5024
- let returnComparator = () => {
5024
+ const returnComparator = () => {
5025
5025
  return result.status;
5026
5026
  };
5027
5027
  if (returnComparator() === "ACTIVE") {
@@ -5030,7 +5030,7 @@ const checkState$7 = async (client, input) => {
5030
5030
  }
5031
5031
  catch (e) { }
5032
5032
  try {
5033
- let returnComparator = () => {
5033
+ const returnComparator = () => {
5034
5034
  return result.status;
5035
5035
  };
5036
5036
  if (returnComparator() === "CREATE_FAILED") {
@@ -5039,7 +5039,7 @@ const checkState$7 = async (client, input) => {
5039
5039
  }
5040
5040
  catch (e) { }
5041
5041
  try {
5042
- let returnComparator = () => {
5042
+ const returnComparator = () => {
5043
5043
  return result.status;
5044
5044
  };
5045
5045
  if (returnComparator() === "UPDATE_FAILED") {
@@ -5066,10 +5066,10 @@ const waitUntilFleetActive = async (params, input) => {
5066
5066
  const checkState$6 = async (client, input) => {
5067
5067
  let reason;
5068
5068
  try {
5069
- const result = await client.send(new GetJobCommand(input));
5069
+ let result = await client.send(new GetJobCommand(input));
5070
5070
  reason = result;
5071
5071
  try {
5072
- let returnComparator = () => {
5072
+ const returnComparator = () => {
5073
5073
  return result.lifecycleStatus;
5074
5074
  };
5075
5075
  if (returnComparator() === "CREATE_COMPLETE") {
@@ -5078,7 +5078,7 @@ const checkState$6 = async (client, input) => {
5078
5078
  }
5079
5079
  catch (e) { }
5080
5080
  try {
5081
- let returnComparator = () => {
5081
+ const returnComparator = () => {
5082
5082
  return result.lifecycleStatus;
5083
5083
  };
5084
5084
  if (returnComparator() === "UPDATE_IN_PROGRESS") {
@@ -5087,7 +5087,7 @@ const checkState$6 = async (client, input) => {
5087
5087
  }
5088
5088
  catch (e) { }
5089
5089
  try {
5090
- let returnComparator = () => {
5090
+ const returnComparator = () => {
5091
5091
  return result.lifecycleStatus;
5092
5092
  };
5093
5093
  if (returnComparator() === "UPDATE_FAILED") {
@@ -5096,7 +5096,7 @@ const checkState$6 = async (client, input) => {
5096
5096
  }
5097
5097
  catch (e) { }
5098
5098
  try {
5099
- let returnComparator = () => {
5099
+ const returnComparator = () => {
5100
5100
  return result.lifecycleStatus;
5101
5101
  };
5102
5102
  if (returnComparator() === "UPDATE_SUCCEEDED") {
@@ -5105,7 +5105,7 @@ const checkState$6 = async (client, input) => {
5105
5105
  }
5106
5106
  catch (e) { }
5107
5107
  try {
5108
- let returnComparator = () => {
5108
+ const returnComparator = () => {
5109
5109
  return result.lifecycleStatus;
5110
5110
  };
5111
5111
  if (returnComparator() === "UPLOAD_FAILED") {
@@ -5114,7 +5114,7 @@ const checkState$6 = async (client, input) => {
5114
5114
  }
5115
5115
  catch (e) { }
5116
5116
  try {
5117
- let returnComparator = () => {
5117
+ const returnComparator = () => {
5118
5118
  return result.lifecycleStatus;
5119
5119
  };
5120
5120
  if (returnComparator() === "CREATE_FAILED") {
@@ -5141,10 +5141,10 @@ const waitUntilJobCreateComplete = async (params, input) => {
5141
5141
  const checkState$5 = async (client, input) => {
5142
5142
  let reason;
5143
5143
  try {
5144
- const result = await client.send(new GetLicenseEndpointCommand(input));
5144
+ let result = await client.send(new GetLicenseEndpointCommand(input));
5145
5145
  reason = result;
5146
5146
  try {
5147
- let returnComparator = () => {
5147
+ const returnComparator = () => {
5148
5148
  return result.status;
5149
5149
  };
5150
5150
  if (returnComparator() === "READY") {
@@ -5153,7 +5153,7 @@ const checkState$5 = async (client, input) => {
5153
5153
  }
5154
5154
  catch (e) { }
5155
5155
  try {
5156
- let returnComparator = () => {
5156
+ const returnComparator = () => {
5157
5157
  return result.status;
5158
5158
  };
5159
5159
  if (returnComparator() === "NOT_READY") {
@@ -5180,10 +5180,10 @@ const waitUntilLicenseEndpointValid = async (params, input) => {
5180
5180
  const checkState$4 = async (client, input) => {
5181
5181
  let reason;
5182
5182
  try {
5183
- const result = await client.send(new GetLicenseEndpointCommand(input));
5183
+ let result = await client.send(new GetLicenseEndpointCommand(input));
5184
5184
  reason = result;
5185
5185
  try {
5186
- let returnComparator = () => {
5186
+ const returnComparator = () => {
5187
5187
  return result.status;
5188
5188
  };
5189
5189
  if (returnComparator() === "NOT_READY") {
@@ -5213,10 +5213,10 @@ const waitUntilLicenseEndpointDeleted = async (params, input) => {
5213
5213
  const checkState$3 = async (client, input) => {
5214
5214
  let reason;
5215
5215
  try {
5216
- const result = await client.send(new GetQueueCommand(input));
5216
+ let result = await client.send(new GetQueueCommand(input));
5217
5217
  reason = result;
5218
5218
  try {
5219
- let returnComparator = () => {
5219
+ const returnComparator = () => {
5220
5220
  return result.status;
5221
5221
  };
5222
5222
  if (returnComparator() === "SCHEDULING_BLOCKED") {
@@ -5243,10 +5243,10 @@ const waitUntilQueueSchedulingBlocked = async (params, input) => {
5243
5243
  const checkState$2 = async (client, input) => {
5244
5244
  let reason;
5245
5245
  try {
5246
- const result = await client.send(new GetQueueCommand(input));
5246
+ let result = await client.send(new GetQueueCommand(input));
5247
5247
  reason = result;
5248
5248
  try {
5249
- let returnComparator = () => {
5249
+ const returnComparator = () => {
5250
5250
  return result.status;
5251
5251
  };
5252
5252
  if (returnComparator() === "SCHEDULING") {
@@ -5273,10 +5273,10 @@ const waitUntilQueueScheduling = async (params, input) => {
5273
5273
  const checkState$1 = async (client, input) => {
5274
5274
  let reason;
5275
5275
  try {
5276
- const result = await client.send(new GetQueueFleetAssociationCommand(input));
5276
+ let result = await client.send(new GetQueueFleetAssociationCommand(input));
5277
5277
  reason = result;
5278
5278
  try {
5279
- let returnComparator = () => {
5279
+ const returnComparator = () => {
5280
5280
  return result.status;
5281
5281
  };
5282
5282
  if (returnComparator() === "STOPPED") {
@@ -5303,10 +5303,10 @@ const waitUntilQueueFleetAssociationStopped = async (params, input) => {
5303
5303
  const checkState = async (client, input) => {
5304
5304
  let reason;
5305
5305
  try {
5306
- const result = await client.send(new GetQueueLimitAssociationCommand(input));
5306
+ let result = await client.send(new GetQueueLimitAssociationCommand(input));
5307
5307
  reason = result;
5308
5308
  try {
5309
- let returnComparator = () => {
5309
+ const returnComparator = () => {
5310
5310
  return result.status;
5311
5311
  };
5312
5312
  if (returnComparator() === "STOPPED") {
@@ -3,10 +3,10 @@ import { GetFleetCommand } from "../commands/GetFleetCommand";
3
3
  const checkState = async (client, input) => {
4
4
  let reason;
5
5
  try {
6
- const result = await client.send(new GetFleetCommand(input));
6
+ let result = await client.send(new GetFleetCommand(input));
7
7
  reason = result;
8
8
  try {
9
- let returnComparator = () => {
9
+ const returnComparator = () => {
10
10
  return result.status;
11
11
  };
12
12
  if (returnComparator() === "ACTIVE") {
@@ -15,7 +15,7 @@ const checkState = async (client, input) => {
15
15
  }
16
16
  catch (e) { }
17
17
  try {
18
- let returnComparator = () => {
18
+ const returnComparator = () => {
19
19
  return result.status;
20
20
  };
21
21
  if (returnComparator() === "CREATE_FAILED") {
@@ -24,7 +24,7 @@ const checkState = async (client, input) => {
24
24
  }
25
25
  catch (e) { }
26
26
  try {
27
- let returnComparator = () => {
27
+ const returnComparator = () => {
28
28
  return result.status;
29
29
  };
30
30
  if (returnComparator() === "UPDATE_FAILED") {
@@ -3,10 +3,10 @@ import { GetJobCommand } from "../commands/GetJobCommand";
3
3
  const checkState = async (client, input) => {
4
4
  let reason;
5
5
  try {
6
- const result = await client.send(new GetJobCommand(input));
6
+ let result = await client.send(new GetJobCommand(input));
7
7
  reason = result;
8
8
  try {
9
- let returnComparator = () => {
9
+ const returnComparator = () => {
10
10
  return result.lifecycleStatus;
11
11
  };
12
12
  if (returnComparator() === "CREATE_COMPLETE") {
@@ -15,7 +15,7 @@ const checkState = async (client, input) => {
15
15
  }
16
16
  catch (e) { }
17
17
  try {
18
- let returnComparator = () => {
18
+ const returnComparator = () => {
19
19
  return result.lifecycleStatus;
20
20
  };
21
21
  if (returnComparator() === "UPDATE_IN_PROGRESS") {
@@ -24,7 +24,7 @@ const checkState = async (client, input) => {
24
24
  }
25
25
  catch (e) { }
26
26
  try {
27
- let returnComparator = () => {
27
+ const returnComparator = () => {
28
28
  return result.lifecycleStatus;
29
29
  };
30
30
  if (returnComparator() === "UPDATE_FAILED") {
@@ -33,7 +33,7 @@ const checkState = async (client, input) => {
33
33
  }
34
34
  catch (e) { }
35
35
  try {
36
- let returnComparator = () => {
36
+ const returnComparator = () => {
37
37
  return result.lifecycleStatus;
38
38
  };
39
39
  if (returnComparator() === "UPDATE_SUCCEEDED") {
@@ -42,7 +42,7 @@ const checkState = async (client, input) => {
42
42
  }
43
43
  catch (e) { }
44
44
  try {
45
- let returnComparator = () => {
45
+ const returnComparator = () => {
46
46
  return result.lifecycleStatus;
47
47
  };
48
48
  if (returnComparator() === "UPLOAD_FAILED") {
@@ -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
  return result.lifecycleStatus;
56
56
  };
57
57
  if (returnComparator() === "CREATE_FAILED") {
@@ -3,10 +3,10 @@ import { GetLicenseEndpointCommand } from "../commands/GetLicenseEndpointCommand
3
3
  const checkState = async (client, input) => {
4
4
  let reason;
5
5
  try {
6
- const result = await client.send(new GetLicenseEndpointCommand(input));
6
+ let result = await client.send(new GetLicenseEndpointCommand(input));
7
7
  reason = result;
8
8
  try {
9
- let returnComparator = () => {
9
+ const returnComparator = () => {
10
10
  return result.status;
11
11
  };
12
12
  if (returnComparator() === "NOT_READY") {
@@ -3,10 +3,10 @@ import { GetLicenseEndpointCommand } from "../commands/GetLicenseEndpointCommand
3
3
  const checkState = async (client, input) => {
4
4
  let reason;
5
5
  try {
6
- const result = await client.send(new GetLicenseEndpointCommand(input));
6
+ let result = await client.send(new GetLicenseEndpointCommand(input));
7
7
  reason = result;
8
8
  try {
9
- let returnComparator = () => {
9
+ const returnComparator = () => {
10
10
  return result.status;
11
11
  };
12
12
  if (returnComparator() === "READY") {
@@ -15,7 +15,7 @@ const checkState = async (client, input) => {
15
15
  }
16
16
  catch (e) { }
17
17
  try {
18
- let returnComparator = () => {
18
+ const returnComparator = () => {
19
19
  return result.status;
20
20
  };
21
21
  if (returnComparator() === "NOT_READY") {
@@ -3,10 +3,10 @@ import { GetQueueFleetAssociationCommand, } from "../commands/GetQueueFleetAssoc
3
3
  const checkState = async (client, input) => {
4
4
  let reason;
5
5
  try {
6
- const result = await client.send(new GetQueueFleetAssociationCommand(input));
6
+ let result = await client.send(new GetQueueFleetAssociationCommand(input));
7
7
  reason = result;
8
8
  try {
9
- let returnComparator = () => {
9
+ const returnComparator = () => {
10
10
  return result.status;
11
11
  };
12
12
  if (returnComparator() === "STOPPED") {
@@ -3,10 +3,10 @@ import { GetQueueLimitAssociationCommand, } from "../commands/GetQueueLimitAssoc
3
3
  const checkState = async (client, input) => {
4
4
  let reason;
5
5
  try {
6
- const result = await client.send(new GetQueueLimitAssociationCommand(input));
6
+ let result = await client.send(new GetQueueLimitAssociationCommand(input));
7
7
  reason = result;
8
8
  try {
9
- let returnComparator = () => {
9
+ const returnComparator = () => {
10
10
  return result.status;
11
11
  };
12
12
  if (returnComparator() === "STOPPED") {
@@ -3,10 +3,10 @@ import { GetQueueCommand } from "../commands/GetQueueCommand";
3
3
  const checkState = async (client, input) => {
4
4
  let reason;
5
5
  try {
6
- const result = await client.send(new GetQueueCommand(input));
6
+ let result = await client.send(new GetQueueCommand(input));
7
7
  reason = result;
8
8
  try {
9
- let returnComparator = () => {
9
+ const returnComparator = () => {
10
10
  return result.status;
11
11
  };
12
12
  if (returnComparator() === "SCHEDULING") {
@@ -3,10 +3,10 @@ import { GetQueueCommand } from "../commands/GetQueueCommand";
3
3
  const checkState = async (client, input) => {
4
4
  let reason;
5
5
  try {
6
- const result = await client.send(new GetQueueCommand(input));
6
+ let result = await client.send(new GetQueueCommand(input));
7
7
  reason = result;
8
8
  try {
9
- let returnComparator = () => {
9
+ const returnComparator = () => {
10
10
  return result.status;
11
11
  };
12
12
  if (returnComparator() === "SCHEDULING_BLOCKED") {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-deadline",
3
3
  "description": "AWS SDK for JavaScript Deadline Client for Node.js, Browser and React Native",
4
- "version": "3.958.0",
4
+ "version": "3.962.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-deadline",
@@ -22,7 +22,7 @@
22
22
  "@aws-crypto/sha256-browser": "5.2.0",
23
23
  "@aws-crypto/sha256-js": "5.2.0",
24
24
  "@aws-sdk/core": "3.957.0",
25
- "@aws-sdk/credential-provider-node": "3.958.0",
25
+ "@aws-sdk/credential-provider-node": "3.962.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",