@aws-sdk/client-deadline 3.975.0 → 3.978.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
@@ -513,6 +513,7 @@ const _JD = "JobDescription";
513
513
  const _JDE = "JobDetailsEntity";
514
514
  const _JDEo = "JobDetailsError";
515
515
  const _JDI = "JobDetailsIdentifiers";
516
+ const _JDO = "JobDescriptionOverride";
516
517
  const _JE = "JobEntity";
517
518
  const _JEI = "JobEntityIdentifiers";
518
519
  const _JEIU = "JobEntityIdentifiersUnion";
@@ -862,6 +863,7 @@ const _dBA = "defaultBudgetAction";
862
863
  const _dC = "dependencyCounts";
863
864
  const _dN = "displayName";
864
865
  const _dNn = "dnsName";
866
+ const _dO = "descriptionOverride";
865
867
  const _dP = "destinationPath";
866
868
  const _dR = "dependenciesResolved";
867
869
  const _dT = "dateTime";
@@ -973,6 +975,7 @@ const _mo = "mode";
973
975
  const _mon = "monitors";
974
976
  const _n = "name";
975
977
  const _nIO = "nextItemOffset";
978
+ const _nO = "nameOverride";
976
979
  const _nT = "nextToken";
977
980
  const _o = "operator";
978
981
  const _oF = "osFamily";
@@ -1124,6 +1127,7 @@ var Document = [0, n0, _Do, 8, 15];
1124
1127
  var EnvironmentTemplate = [0, n0, _ET, 8, 0];
1125
1128
  var HostConfigurationScript = [0, n0, _HCS, 8, 0];
1126
1129
  var JobDescription = [0, n0, _JD, 8, 0];
1130
+ var JobDescriptionOverride = [0, n0, _JDO, 8, 0];
1127
1131
  var JobTemplate = [0, n0, _JT, 8, 0];
1128
1132
  var SecretAccessKey = [0, n0, _SAK, 8, 0];
1129
1133
  var SessionActionProgressMessage = [0, n0, _SAPM, 8, 0];
@@ -1368,8 +1372,8 @@ var CreateFleetResponse$ = [3, n0, _CFRrea,
1368
1372
  ];
1369
1373
  var CreateJobRequest$ = [3, n0, _CJR,
1370
1374
  0,
1371
- [_fI, _qI, _pr, _cT, _te, _tT, _p, _at, _sPI, _tTRS, _mFTC, _mRPT, _mWC, _sJI],
1372
- [[0, 1], [0, 1], 1, [0, { [_hH]: _XACT, [_iT]: 1 }], [() => JobTemplate, 0], 0, [() => JobParameters, 0], [() => Attachments$, 0], 0, 0, 1, 1, 1, 0], 3
1375
+ [_fI, _qI, _pr, _cT, _te, _tT, _p, _at, _sPI, _tTRS, _mFTC, _mRPT, _mWC, _sJI, _nO, _dO],
1376
+ [[0, 1], [0, 1], 1, [0, { [_hH]: _XACT, [_iT]: 1 }], [() => JobTemplate, 0], 0, [() => JobParameters, 0], [() => Attachments$, 0], 0, 0, 1, 1, 1, 0, 0, [() => JobDescriptionOverride, 0]], 3
1373
1377
  ];
1374
1378
  var CreateJobResponse$ = [3, n0, _CJRr,
1375
1379
  0,
@@ -2697,8 +2701,8 @@ var UpdateFleetResponse$ = [3, n0, _UFRpda,
2697
2701
  ];
2698
2702
  var UpdateJobRequest$ = [3, n0, _UJR,
2699
2703
  0,
2700
- [_fI, _qI, _jI, _cT, _tTRS, _pr, _mFTC, _mRPT, _lS, _mWC],
2701
- [[0, 1], [0, 1], [0, 1], [0, { [_hH]: _XACT, [_iT]: 1 }], 0, 1, 1, 1, 0, 1], 3
2704
+ [_fI, _qI, _jI, _cT, _tTRS, _pr, _mFTC, _mRPT, _lS, _mWC, _n, _de],
2705
+ [[0, 1], [0, 1], [0, 1], [0, { [_hH]: _XACT, [_iT]: 1 }], 0, 1, 1, 1, 0, 1, 0, [() => JobDescriptionOverride, 0]], 3
2702
2706
  ];
2703
2707
  var UpdateJobResponse$ = [3, n0, _UJRp,
2704
2708
  0,
@@ -4855,125 +4859,6 @@ class UpdateWorkerScheduleCommand extends smithyClient.Command
4855
4859
  .build() {
4856
4860
  }
4857
4861
 
4858
- const commands = {
4859
- AssociateMemberToFarmCommand,
4860
- AssociateMemberToFleetCommand,
4861
- AssociateMemberToJobCommand,
4862
- AssociateMemberToQueueCommand,
4863
- AssumeFleetRoleForReadCommand,
4864
- AssumeFleetRoleForWorkerCommand,
4865
- AssumeQueueRoleForReadCommand,
4866
- AssumeQueueRoleForUserCommand,
4867
- AssumeQueueRoleForWorkerCommand,
4868
- BatchGetJobEntityCommand,
4869
- CopyJobTemplateCommand,
4870
- CreateBudgetCommand,
4871
- CreateFarmCommand,
4872
- CreateFleetCommand,
4873
- CreateJobCommand,
4874
- CreateLicenseEndpointCommand,
4875
- CreateLimitCommand,
4876
- CreateMonitorCommand,
4877
- CreateQueueCommand,
4878
- CreateQueueEnvironmentCommand,
4879
- CreateQueueFleetAssociationCommand,
4880
- CreateQueueLimitAssociationCommand,
4881
- CreateStorageProfileCommand,
4882
- CreateWorkerCommand,
4883
- DeleteBudgetCommand,
4884
- DeleteFarmCommand,
4885
- DeleteFleetCommand,
4886
- DeleteLicenseEndpointCommand,
4887
- DeleteLimitCommand,
4888
- DeleteMeteredProductCommand,
4889
- DeleteMonitorCommand,
4890
- DeleteQueueCommand,
4891
- DeleteQueueEnvironmentCommand,
4892
- DeleteQueueFleetAssociationCommand,
4893
- DeleteQueueLimitAssociationCommand,
4894
- DeleteStorageProfileCommand,
4895
- DeleteWorkerCommand,
4896
- DisassociateMemberFromFarmCommand,
4897
- DisassociateMemberFromFleetCommand,
4898
- DisassociateMemberFromJobCommand,
4899
- DisassociateMemberFromQueueCommand,
4900
- GetBudgetCommand,
4901
- GetFarmCommand,
4902
- GetFleetCommand,
4903
- GetJobCommand,
4904
- GetLicenseEndpointCommand,
4905
- GetLimitCommand,
4906
- GetMonitorCommand,
4907
- GetQueueCommand,
4908
- GetQueueEnvironmentCommand,
4909
- GetQueueFleetAssociationCommand,
4910
- GetQueueLimitAssociationCommand,
4911
- GetSessionCommand,
4912
- GetSessionActionCommand,
4913
- GetSessionsStatisticsAggregationCommand,
4914
- GetStepCommand,
4915
- GetStorageProfileCommand,
4916
- GetStorageProfileForQueueCommand,
4917
- GetTaskCommand,
4918
- GetWorkerCommand,
4919
- ListAvailableMeteredProductsCommand,
4920
- ListBudgetsCommand,
4921
- ListFarmMembersCommand,
4922
- ListFarmsCommand,
4923
- ListFleetMembersCommand,
4924
- ListFleetsCommand,
4925
- ListJobMembersCommand,
4926
- ListJobParameterDefinitionsCommand,
4927
- ListJobsCommand,
4928
- ListLicenseEndpointsCommand,
4929
- ListLimitsCommand,
4930
- ListMeteredProductsCommand,
4931
- ListMonitorsCommand,
4932
- ListQueueEnvironmentsCommand,
4933
- ListQueueFleetAssociationsCommand,
4934
- ListQueueLimitAssociationsCommand,
4935
- ListQueueMembersCommand,
4936
- ListQueuesCommand,
4937
- ListSessionActionsCommand,
4938
- ListSessionsCommand,
4939
- ListSessionsForWorkerCommand,
4940
- ListStepConsumersCommand,
4941
- ListStepDependenciesCommand,
4942
- ListStepsCommand,
4943
- ListStorageProfilesCommand,
4944
- ListStorageProfilesForQueueCommand,
4945
- ListTagsForResourceCommand,
4946
- ListTasksCommand,
4947
- ListWorkersCommand,
4948
- PutMeteredProductCommand,
4949
- SearchJobsCommand,
4950
- SearchStepsCommand,
4951
- SearchTasksCommand,
4952
- SearchWorkersCommand,
4953
- StartSessionsStatisticsAggregationCommand,
4954
- TagResourceCommand,
4955
- UntagResourceCommand,
4956
- UpdateBudgetCommand,
4957
- UpdateFarmCommand,
4958
- UpdateFleetCommand,
4959
- UpdateJobCommand,
4960
- UpdateLimitCommand,
4961
- UpdateMonitorCommand,
4962
- UpdateQueueCommand,
4963
- UpdateQueueEnvironmentCommand,
4964
- UpdateQueueFleetAssociationCommand,
4965
- UpdateQueueLimitAssociationCommand,
4966
- UpdateSessionCommand,
4967
- UpdateStepCommand,
4968
- UpdateStorageProfileCommand,
4969
- UpdateTaskCommand,
4970
- UpdateWorkerCommand,
4971
- UpdateWorkerScheduleCommand,
4972
- };
4973
- class Deadline extends DeadlineClient {
4974
- }
4975
- smithyClient.createAggregatedClient(commands, Deadline);
4976
-
4977
4862
  const paginateGetSessionsStatisticsAggregation = core.createPaginator(DeadlineClient, GetSessionsStatisticsAggregationCommand, "nextToken", "nextToken", "maxResults");
4978
4863
 
4979
4864
  const paginateListAvailableMeteredProducts = core.createPaginator(DeadlineClient, ListAvailableMeteredProductsCommand, "nextToken", "nextToken", "maxResults");
@@ -5014,20 +4899,20 @@ const paginateListQueues = core.createPaginator(DeadlineClient, ListQueuesComman
5014
4899
 
5015
4900
  const paginateListSessionActions = core.createPaginator(DeadlineClient, ListSessionActionsCommand, "nextToken", "nextToken", "maxResults");
5016
4901
 
5017
- const paginateListSessions = core.createPaginator(DeadlineClient, ListSessionsCommand, "nextToken", "nextToken", "maxResults");
5018
-
5019
4902
  const paginateListSessionsForWorker = core.createPaginator(DeadlineClient, ListSessionsForWorkerCommand, "nextToken", "nextToken", "maxResults");
5020
4903
 
4904
+ const paginateListSessions = core.createPaginator(DeadlineClient, ListSessionsCommand, "nextToken", "nextToken", "maxResults");
4905
+
5021
4906
  const paginateListStepConsumers = core.createPaginator(DeadlineClient, ListStepConsumersCommand, "nextToken", "nextToken", "maxResults");
5022
4907
 
5023
4908
  const paginateListStepDependencies = core.createPaginator(DeadlineClient, ListStepDependenciesCommand, "nextToken", "nextToken", "maxResults");
5024
4909
 
5025
4910
  const paginateListSteps = core.createPaginator(DeadlineClient, ListStepsCommand, "nextToken", "nextToken", "maxResults");
5026
4911
 
5027
- const paginateListStorageProfiles = core.createPaginator(DeadlineClient, ListStorageProfilesCommand, "nextToken", "nextToken", "maxResults");
5028
-
5029
4912
  const paginateListStorageProfilesForQueue = core.createPaginator(DeadlineClient, ListStorageProfilesForQueueCommand, "nextToken", "nextToken", "maxResults");
5030
4913
 
4914
+ const paginateListStorageProfiles = core.createPaginator(DeadlineClient, ListStorageProfilesCommand, "nextToken", "nextToken", "maxResults");
4915
+
5031
4916
  const paginateListTasks = core.createPaginator(DeadlineClient, ListTasksCommand, "nextToken", "nextToken", "maxResults");
5032
4917
 
5033
4918
  const paginateListWorkers = core.createPaginator(DeadlineClient, ListWorkersCommand, "nextToken", "nextToken", "maxResults");
@@ -5087,46 +4972,46 @@ const checkState$8 = async (client, input) => {
5087
4972
  reason = result;
5088
4973
  try {
5089
4974
  const returnComparator = () => {
5090
- return result.lifecycleStatus;
4975
+ return result.taskRunStatus;
5091
4976
  };
5092
- if (returnComparator() === "CREATE_COMPLETE") {
4977
+ if (returnComparator() === "SUCCEEDED") {
5093
4978
  return { state: utilWaiter.WaiterState.SUCCESS, reason };
5094
4979
  }
5095
4980
  }
5096
4981
  catch (e) { }
5097
4982
  try {
5098
4983
  const returnComparator = () => {
5099
- return result.lifecycleStatus;
4984
+ return result.taskRunStatus;
5100
4985
  };
5101
- if (returnComparator() === "UPDATE_IN_PROGRESS") {
4986
+ if (returnComparator() === "FAILED") {
5102
4987
  return { state: utilWaiter.WaiterState.SUCCESS, reason };
5103
4988
  }
5104
4989
  }
5105
4990
  catch (e) { }
5106
4991
  try {
5107
4992
  const returnComparator = () => {
5108
- return result.lifecycleStatus;
4993
+ return result.taskRunStatus;
5109
4994
  };
5110
- if (returnComparator() === "UPDATE_FAILED") {
4995
+ if (returnComparator() === "CANCELED") {
5111
4996
  return { state: utilWaiter.WaiterState.SUCCESS, reason };
5112
4997
  }
5113
4998
  }
5114
4999
  catch (e) { }
5115
5000
  try {
5116
5001
  const returnComparator = () => {
5117
- return result.lifecycleStatus;
5002
+ return result.taskRunStatus;
5118
5003
  };
5119
- if (returnComparator() === "UPDATE_SUCCEEDED") {
5004
+ if (returnComparator() === "SUSPENDED") {
5120
5005
  return { state: utilWaiter.WaiterState.SUCCESS, reason };
5121
5006
  }
5122
5007
  }
5123
5008
  catch (e) { }
5124
5009
  try {
5125
5010
  const returnComparator = () => {
5126
- return result.lifecycleStatus;
5011
+ return result.taskRunStatus;
5127
5012
  };
5128
- if (returnComparator() === "UPLOAD_FAILED") {
5129
- return { state: utilWaiter.WaiterState.FAILURE, reason };
5013
+ if (returnComparator() === "NOT_COMPATIBLE") {
5014
+ return { state: utilWaiter.WaiterState.SUCCESS, reason };
5130
5015
  }
5131
5016
  }
5132
5017
  catch (e) { }
@@ -5134,8 +5019,8 @@ const checkState$8 = async (client, input) => {
5134
5019
  const returnComparator = () => {
5135
5020
  return result.lifecycleStatus;
5136
5021
  };
5137
- if (returnComparator() === "CREATE_FAILED") {
5138
- return { state: utilWaiter.WaiterState.FAILURE, reason };
5022
+ if (returnComparator() === "ARCHIVED") {
5023
+ return { state: utilWaiter.WaiterState.SUCCESS, reason };
5139
5024
  }
5140
5025
  }
5141
5026
  catch (e) { }
@@ -5145,12 +5030,12 @@ const checkState$8 = async (client, input) => {
5145
5030
  }
5146
5031
  return { state: utilWaiter.WaiterState.RETRY, reason };
5147
5032
  };
5148
- const waitForJobCreateComplete = async (params, input) => {
5149
- const serviceDefaults = { minDelay: 1, maxDelay: 120 };
5033
+ const waitForJobComplete = async (params, input) => {
5034
+ const serviceDefaults = { minDelay: 15, maxDelay: 3600 };
5150
5035
  return utilWaiter.createWaiter({ ...serviceDefaults, ...params }, input, checkState$8);
5151
5036
  };
5152
- const waitUntilJobCreateComplete = async (params, input) => {
5153
- const serviceDefaults = { minDelay: 1, maxDelay: 120 };
5037
+ const waitUntilJobComplete = async (params, input) => {
5038
+ const serviceDefaults = { minDelay: 15, maxDelay: 3600 };
5154
5039
  const result = await utilWaiter.createWaiter({ ...serviceDefaults, ...params }, input, checkState$8);
5155
5040
  return utilWaiter.checkExceptions(result);
5156
5041
  };
@@ -5162,46 +5047,46 @@ const checkState$7 = async (client, input) => {
5162
5047
  reason = result;
5163
5048
  try {
5164
5049
  const returnComparator = () => {
5165
- return result.taskRunStatus;
5050
+ return result.lifecycleStatus;
5166
5051
  };
5167
- if (returnComparator() === "SUCCEEDED") {
5052
+ if (returnComparator() === "CREATE_COMPLETE") {
5168
5053
  return { state: utilWaiter.WaiterState.SUCCESS, reason };
5169
5054
  }
5170
5055
  }
5171
5056
  catch (e) { }
5172
5057
  try {
5173
5058
  const returnComparator = () => {
5174
- return result.taskRunStatus;
5059
+ return result.lifecycleStatus;
5175
5060
  };
5176
- if (returnComparator() === "FAILED") {
5061
+ if (returnComparator() === "UPDATE_IN_PROGRESS") {
5177
5062
  return { state: utilWaiter.WaiterState.SUCCESS, reason };
5178
5063
  }
5179
5064
  }
5180
5065
  catch (e) { }
5181
5066
  try {
5182
5067
  const returnComparator = () => {
5183
- return result.taskRunStatus;
5068
+ return result.lifecycleStatus;
5184
5069
  };
5185
- if (returnComparator() === "CANCELED") {
5070
+ if (returnComparator() === "UPDATE_FAILED") {
5186
5071
  return { state: utilWaiter.WaiterState.SUCCESS, reason };
5187
5072
  }
5188
5073
  }
5189
5074
  catch (e) { }
5190
5075
  try {
5191
5076
  const returnComparator = () => {
5192
- return result.taskRunStatus;
5077
+ return result.lifecycleStatus;
5193
5078
  };
5194
- if (returnComparator() === "SUSPENDED") {
5079
+ if (returnComparator() === "UPDATE_SUCCEEDED") {
5195
5080
  return { state: utilWaiter.WaiterState.SUCCESS, reason };
5196
5081
  }
5197
5082
  }
5198
5083
  catch (e) { }
5199
5084
  try {
5200
5085
  const returnComparator = () => {
5201
- return result.taskRunStatus;
5086
+ return result.lifecycleStatus;
5202
5087
  };
5203
- if (returnComparator() === "NOT_COMPATIBLE") {
5204
- return { state: utilWaiter.WaiterState.SUCCESS, reason };
5088
+ if (returnComparator() === "UPLOAD_FAILED") {
5089
+ return { state: utilWaiter.WaiterState.FAILURE, reason };
5205
5090
  }
5206
5091
  }
5207
5092
  catch (e) { }
@@ -5209,8 +5094,8 @@ const checkState$7 = async (client, input) => {
5209
5094
  const returnComparator = () => {
5210
5095
  return result.lifecycleStatus;
5211
5096
  };
5212
- if (returnComparator() === "ARCHIVED") {
5213
- return { state: utilWaiter.WaiterState.SUCCESS, reason };
5097
+ if (returnComparator() === "CREATE_FAILED") {
5098
+ return { state: utilWaiter.WaiterState.FAILURE, reason };
5214
5099
  }
5215
5100
  }
5216
5101
  catch (e) { }
@@ -5220,12 +5105,12 @@ const checkState$7 = async (client, input) => {
5220
5105
  }
5221
5106
  return { state: utilWaiter.WaiterState.RETRY, reason };
5222
5107
  };
5223
- const waitForJobComplete = async (params, input) => {
5224
- const serviceDefaults = { minDelay: 15, maxDelay: 3600 };
5108
+ const waitForJobCreateComplete = async (params, input) => {
5109
+ const serviceDefaults = { minDelay: 1, maxDelay: 120 };
5225
5110
  return utilWaiter.createWaiter({ ...serviceDefaults, ...params }, input, checkState$7);
5226
5111
  };
5227
- const waitUntilJobComplete = async (params, input) => {
5228
- const serviceDefaults = { minDelay: 15, maxDelay: 3600 };
5112
+ const waitUntilJobCreateComplete = async (params, input) => {
5113
+ const serviceDefaults = { minDelay: 1, maxDelay: 120 };
5229
5114
  const result = await utilWaiter.createWaiter({ ...serviceDefaults, ...params }, input, checkState$7);
5230
5115
  return utilWaiter.checkExceptions(result);
5231
5116
  };
@@ -5310,15 +5195,6 @@ const checkState$5 = async (client, input) => {
5310
5195
  try {
5311
5196
  let result = await client.send(new GetLicenseEndpointCommand(input));
5312
5197
  reason = result;
5313
- try {
5314
- const returnComparator = () => {
5315
- return result.status;
5316
- };
5317
- if (returnComparator() === "READY") {
5318
- return { state: utilWaiter.WaiterState.SUCCESS, reason };
5319
- }
5320
- }
5321
- catch (e) { }
5322
5198
  try {
5323
5199
  const returnComparator = () => {
5324
5200
  return result.status;
@@ -5331,15 +5207,18 @@ const checkState$5 = async (client, input) => {
5331
5207
  }
5332
5208
  catch (exception) {
5333
5209
  reason = exception;
5210
+ if (exception.name && exception.name == "ResourceNotFoundException") {
5211
+ return { state: utilWaiter.WaiterState.SUCCESS, reason };
5212
+ }
5334
5213
  }
5335
5214
  return { state: utilWaiter.WaiterState.RETRY, reason };
5336
5215
  };
5337
- const waitForLicenseEndpointValid = async (params, input) => {
5338
- const serviceDefaults = { minDelay: 10, maxDelay: 1140 };
5216
+ const waitForLicenseEndpointDeleted = async (params, input) => {
5217
+ const serviceDefaults = { minDelay: 10, maxDelay: 2340 };
5339
5218
  return utilWaiter.createWaiter({ ...serviceDefaults, ...params }, input, checkState$5);
5340
5219
  };
5341
- const waitUntilLicenseEndpointValid = async (params, input) => {
5342
- const serviceDefaults = { minDelay: 10, maxDelay: 1140 };
5220
+ const waitUntilLicenseEndpointDeleted = async (params, input) => {
5221
+ const serviceDefaults = { minDelay: 10, maxDelay: 2340 };
5343
5222
  const result = await utilWaiter.createWaiter({ ...serviceDefaults, ...params }, input, checkState$5);
5344
5223
  return utilWaiter.checkExceptions(result);
5345
5224
  };
@@ -5349,6 +5228,15 @@ const checkState$4 = async (client, input) => {
5349
5228
  try {
5350
5229
  let result = await client.send(new GetLicenseEndpointCommand(input));
5351
5230
  reason = result;
5231
+ try {
5232
+ const returnComparator = () => {
5233
+ return result.status;
5234
+ };
5235
+ if (returnComparator() === "READY") {
5236
+ return { state: utilWaiter.WaiterState.SUCCESS, reason };
5237
+ }
5238
+ }
5239
+ catch (e) { }
5352
5240
  try {
5353
5241
  const returnComparator = () => {
5354
5242
  return result.status;
@@ -5361,18 +5249,15 @@ const checkState$4 = async (client, input) => {
5361
5249
  }
5362
5250
  catch (exception) {
5363
5251
  reason = exception;
5364
- if (exception.name && exception.name == "ResourceNotFoundException") {
5365
- return { state: utilWaiter.WaiterState.SUCCESS, reason };
5366
- }
5367
5252
  }
5368
5253
  return { state: utilWaiter.WaiterState.RETRY, reason };
5369
5254
  };
5370
- const waitForLicenseEndpointDeleted = async (params, input) => {
5371
- const serviceDefaults = { minDelay: 10, maxDelay: 2340 };
5255
+ const waitForLicenseEndpointValid = async (params, input) => {
5256
+ const serviceDefaults = { minDelay: 10, maxDelay: 1140 };
5372
5257
  return utilWaiter.createWaiter({ ...serviceDefaults, ...params }, input, checkState$4);
5373
5258
  };
5374
- const waitUntilLicenseEndpointDeleted = async (params, input) => {
5375
- const serviceDefaults = { minDelay: 10, maxDelay: 2340 };
5259
+ const waitUntilLicenseEndpointValid = async (params, input) => {
5260
+ const serviceDefaults = { minDelay: 10, maxDelay: 1140 };
5376
5261
  const result = await utilWaiter.createWaiter({ ...serviceDefaults, ...params }, input, checkState$4);
5377
5262
  return utilWaiter.checkExceptions(result);
5378
5263
  };
@@ -5380,13 +5265,13 @@ const waitUntilLicenseEndpointDeleted = async (params, input) => {
5380
5265
  const checkState$3 = async (client, input) => {
5381
5266
  let reason;
5382
5267
  try {
5383
- let result = await client.send(new GetQueueCommand(input));
5268
+ let result = await client.send(new GetQueueFleetAssociationCommand(input));
5384
5269
  reason = result;
5385
5270
  try {
5386
5271
  const returnComparator = () => {
5387
5272
  return result.status;
5388
5273
  };
5389
- if (returnComparator() === "SCHEDULING_BLOCKED") {
5274
+ if (returnComparator() === "STOPPED") {
5390
5275
  return { state: utilWaiter.WaiterState.SUCCESS, reason };
5391
5276
  }
5392
5277
  }
@@ -5397,12 +5282,12 @@ const checkState$3 = async (client, input) => {
5397
5282
  }
5398
5283
  return { state: utilWaiter.WaiterState.RETRY, reason };
5399
5284
  };
5400
- const waitForQueueSchedulingBlocked = async (params, input) => {
5401
- const serviceDefaults = { minDelay: 10, maxDelay: 300 };
5285
+ const waitForQueueFleetAssociationStopped = async (params, input) => {
5286
+ const serviceDefaults = { minDelay: 10, maxDelay: 600 };
5402
5287
  return utilWaiter.createWaiter({ ...serviceDefaults, ...params }, input, checkState$3);
5403
5288
  };
5404
- const waitUntilQueueSchedulingBlocked = async (params, input) => {
5405
- const serviceDefaults = { minDelay: 10, maxDelay: 300 };
5289
+ const waitUntilQueueFleetAssociationStopped = async (params, input) => {
5290
+ const serviceDefaults = { minDelay: 10, maxDelay: 600 };
5406
5291
  const result = await utilWaiter.createWaiter({ ...serviceDefaults, ...params }, input, checkState$3);
5407
5292
  return utilWaiter.checkExceptions(result);
5408
5293
  };
@@ -5410,13 +5295,13 @@ const waitUntilQueueSchedulingBlocked = async (params, input) => {
5410
5295
  const checkState$2 = async (client, input) => {
5411
5296
  let reason;
5412
5297
  try {
5413
- let result = await client.send(new GetQueueCommand(input));
5298
+ let result = await client.send(new GetQueueLimitAssociationCommand(input));
5414
5299
  reason = result;
5415
5300
  try {
5416
5301
  const returnComparator = () => {
5417
5302
  return result.status;
5418
5303
  };
5419
- if (returnComparator() === "SCHEDULING") {
5304
+ if (returnComparator() === "STOPPED") {
5420
5305
  return { state: utilWaiter.WaiterState.SUCCESS, reason };
5421
5306
  }
5422
5307
  }
@@ -5427,12 +5312,12 @@ const checkState$2 = async (client, input) => {
5427
5312
  }
5428
5313
  return { state: utilWaiter.WaiterState.RETRY, reason };
5429
5314
  };
5430
- const waitForQueueScheduling = async (params, input) => {
5431
- const serviceDefaults = { minDelay: 10, maxDelay: 700 };
5315
+ const waitForQueueLimitAssociationStopped = async (params, input) => {
5316
+ const serviceDefaults = { minDelay: 10, maxDelay: 600 };
5432
5317
  return utilWaiter.createWaiter({ ...serviceDefaults, ...params }, input, checkState$2);
5433
5318
  };
5434
- const waitUntilQueueScheduling = async (params, input) => {
5435
- const serviceDefaults = { minDelay: 10, maxDelay: 700 };
5319
+ const waitUntilQueueLimitAssociationStopped = async (params, input) => {
5320
+ const serviceDefaults = { minDelay: 10, maxDelay: 600 };
5436
5321
  const result = await utilWaiter.createWaiter({ ...serviceDefaults, ...params }, input, checkState$2);
5437
5322
  return utilWaiter.checkExceptions(result);
5438
5323
  };
@@ -5440,13 +5325,13 @@ const waitUntilQueueScheduling = async (params, input) => {
5440
5325
  const checkState$1 = async (client, input) => {
5441
5326
  let reason;
5442
5327
  try {
5443
- let result = await client.send(new GetQueueFleetAssociationCommand(input));
5328
+ let result = await client.send(new GetQueueCommand(input));
5444
5329
  reason = result;
5445
5330
  try {
5446
5331
  const returnComparator = () => {
5447
5332
  return result.status;
5448
5333
  };
5449
- if (returnComparator() === "STOPPED") {
5334
+ if (returnComparator() === "SCHEDULING") {
5450
5335
  return { state: utilWaiter.WaiterState.SUCCESS, reason };
5451
5336
  }
5452
5337
  }
@@ -5457,12 +5342,12 @@ const checkState$1 = async (client, input) => {
5457
5342
  }
5458
5343
  return { state: utilWaiter.WaiterState.RETRY, reason };
5459
5344
  };
5460
- const waitForQueueFleetAssociationStopped = async (params, input) => {
5461
- const serviceDefaults = { minDelay: 10, maxDelay: 600 };
5345
+ const waitForQueueScheduling = async (params, input) => {
5346
+ const serviceDefaults = { minDelay: 10, maxDelay: 700 };
5462
5347
  return utilWaiter.createWaiter({ ...serviceDefaults, ...params }, input, checkState$1);
5463
5348
  };
5464
- const waitUntilQueueFleetAssociationStopped = async (params, input) => {
5465
- const serviceDefaults = { minDelay: 10, maxDelay: 600 };
5349
+ const waitUntilQueueScheduling = async (params, input) => {
5350
+ const serviceDefaults = { minDelay: 10, maxDelay: 700 };
5466
5351
  const result = await utilWaiter.createWaiter({ ...serviceDefaults, ...params }, input, checkState$1);
5467
5352
  return utilWaiter.checkExceptions(result);
5468
5353
  };
@@ -5470,13 +5355,13 @@ const waitUntilQueueFleetAssociationStopped = async (params, input) => {
5470
5355
  const checkState = async (client, input) => {
5471
5356
  let reason;
5472
5357
  try {
5473
- let result = await client.send(new GetQueueLimitAssociationCommand(input));
5358
+ let result = await client.send(new GetQueueCommand(input));
5474
5359
  reason = result;
5475
5360
  try {
5476
5361
  const returnComparator = () => {
5477
5362
  return result.status;
5478
5363
  };
5479
- if (returnComparator() === "STOPPED") {
5364
+ if (returnComparator() === "SCHEDULING_BLOCKED") {
5480
5365
  return { state: utilWaiter.WaiterState.SUCCESS, reason };
5481
5366
  }
5482
5367
  }
@@ -5487,16 +5372,178 @@ const checkState = async (client, input) => {
5487
5372
  }
5488
5373
  return { state: utilWaiter.WaiterState.RETRY, reason };
5489
5374
  };
5490
- const waitForQueueLimitAssociationStopped = async (params, input) => {
5491
- const serviceDefaults = { minDelay: 10, maxDelay: 600 };
5375
+ const waitForQueueSchedulingBlocked = async (params, input) => {
5376
+ const serviceDefaults = { minDelay: 10, maxDelay: 300 };
5492
5377
  return utilWaiter.createWaiter({ ...serviceDefaults, ...params }, input, checkState);
5493
5378
  };
5494
- const waitUntilQueueLimitAssociationStopped = async (params, input) => {
5495
- const serviceDefaults = { minDelay: 10, maxDelay: 600 };
5379
+ const waitUntilQueueSchedulingBlocked = async (params, input) => {
5380
+ const serviceDefaults = { minDelay: 10, maxDelay: 300 };
5496
5381
  const result = await utilWaiter.createWaiter({ ...serviceDefaults, ...params }, input, checkState);
5497
5382
  return utilWaiter.checkExceptions(result);
5498
5383
  };
5499
5384
 
5385
+ const commands = {
5386
+ AssociateMemberToFarmCommand,
5387
+ AssociateMemberToFleetCommand,
5388
+ AssociateMemberToJobCommand,
5389
+ AssociateMemberToQueueCommand,
5390
+ AssumeFleetRoleForReadCommand,
5391
+ AssumeFleetRoleForWorkerCommand,
5392
+ AssumeQueueRoleForReadCommand,
5393
+ AssumeQueueRoleForUserCommand,
5394
+ AssumeQueueRoleForWorkerCommand,
5395
+ BatchGetJobEntityCommand,
5396
+ CopyJobTemplateCommand,
5397
+ CreateBudgetCommand,
5398
+ CreateFarmCommand,
5399
+ CreateFleetCommand,
5400
+ CreateJobCommand,
5401
+ CreateLicenseEndpointCommand,
5402
+ CreateLimitCommand,
5403
+ CreateMonitorCommand,
5404
+ CreateQueueCommand,
5405
+ CreateQueueEnvironmentCommand,
5406
+ CreateQueueFleetAssociationCommand,
5407
+ CreateQueueLimitAssociationCommand,
5408
+ CreateStorageProfileCommand,
5409
+ CreateWorkerCommand,
5410
+ DeleteBudgetCommand,
5411
+ DeleteFarmCommand,
5412
+ DeleteFleetCommand,
5413
+ DeleteLicenseEndpointCommand,
5414
+ DeleteLimitCommand,
5415
+ DeleteMeteredProductCommand,
5416
+ DeleteMonitorCommand,
5417
+ DeleteQueueCommand,
5418
+ DeleteQueueEnvironmentCommand,
5419
+ DeleteQueueFleetAssociationCommand,
5420
+ DeleteQueueLimitAssociationCommand,
5421
+ DeleteStorageProfileCommand,
5422
+ DeleteWorkerCommand,
5423
+ DisassociateMemberFromFarmCommand,
5424
+ DisassociateMemberFromFleetCommand,
5425
+ DisassociateMemberFromJobCommand,
5426
+ DisassociateMemberFromQueueCommand,
5427
+ GetBudgetCommand,
5428
+ GetFarmCommand,
5429
+ GetFleetCommand,
5430
+ GetJobCommand,
5431
+ GetLicenseEndpointCommand,
5432
+ GetLimitCommand,
5433
+ GetMonitorCommand,
5434
+ GetQueueCommand,
5435
+ GetQueueEnvironmentCommand,
5436
+ GetQueueFleetAssociationCommand,
5437
+ GetQueueLimitAssociationCommand,
5438
+ GetSessionCommand,
5439
+ GetSessionActionCommand,
5440
+ GetSessionsStatisticsAggregationCommand,
5441
+ GetStepCommand,
5442
+ GetStorageProfileCommand,
5443
+ GetStorageProfileForQueueCommand,
5444
+ GetTaskCommand,
5445
+ GetWorkerCommand,
5446
+ ListAvailableMeteredProductsCommand,
5447
+ ListBudgetsCommand,
5448
+ ListFarmMembersCommand,
5449
+ ListFarmsCommand,
5450
+ ListFleetMembersCommand,
5451
+ ListFleetsCommand,
5452
+ ListJobMembersCommand,
5453
+ ListJobParameterDefinitionsCommand,
5454
+ ListJobsCommand,
5455
+ ListLicenseEndpointsCommand,
5456
+ ListLimitsCommand,
5457
+ ListMeteredProductsCommand,
5458
+ ListMonitorsCommand,
5459
+ ListQueueEnvironmentsCommand,
5460
+ ListQueueFleetAssociationsCommand,
5461
+ ListQueueLimitAssociationsCommand,
5462
+ ListQueueMembersCommand,
5463
+ ListQueuesCommand,
5464
+ ListSessionActionsCommand,
5465
+ ListSessionsCommand,
5466
+ ListSessionsForWorkerCommand,
5467
+ ListStepConsumersCommand,
5468
+ ListStepDependenciesCommand,
5469
+ ListStepsCommand,
5470
+ ListStorageProfilesCommand,
5471
+ ListStorageProfilesForQueueCommand,
5472
+ ListTagsForResourceCommand,
5473
+ ListTasksCommand,
5474
+ ListWorkersCommand,
5475
+ PutMeteredProductCommand,
5476
+ SearchJobsCommand,
5477
+ SearchStepsCommand,
5478
+ SearchTasksCommand,
5479
+ SearchWorkersCommand,
5480
+ StartSessionsStatisticsAggregationCommand,
5481
+ TagResourceCommand,
5482
+ UntagResourceCommand,
5483
+ UpdateBudgetCommand,
5484
+ UpdateFarmCommand,
5485
+ UpdateFleetCommand,
5486
+ UpdateJobCommand,
5487
+ UpdateLimitCommand,
5488
+ UpdateMonitorCommand,
5489
+ UpdateQueueCommand,
5490
+ UpdateQueueEnvironmentCommand,
5491
+ UpdateQueueFleetAssociationCommand,
5492
+ UpdateQueueLimitAssociationCommand,
5493
+ UpdateSessionCommand,
5494
+ UpdateStepCommand,
5495
+ UpdateStorageProfileCommand,
5496
+ UpdateTaskCommand,
5497
+ UpdateWorkerCommand,
5498
+ UpdateWorkerScheduleCommand,
5499
+ };
5500
+ const paginators = {
5501
+ paginateGetSessionsStatisticsAggregation,
5502
+ paginateListAvailableMeteredProducts,
5503
+ paginateListBudgets,
5504
+ paginateListFarmMembers,
5505
+ paginateListFarms,
5506
+ paginateListFleetMembers,
5507
+ paginateListFleets,
5508
+ paginateListJobMembers,
5509
+ paginateListJobParameterDefinitions,
5510
+ paginateListJobs,
5511
+ paginateListLicenseEndpoints,
5512
+ paginateListLimits,
5513
+ paginateListMeteredProducts,
5514
+ paginateListMonitors,
5515
+ paginateListQueueEnvironments,
5516
+ paginateListQueueFleetAssociations,
5517
+ paginateListQueueLimitAssociations,
5518
+ paginateListQueueMembers,
5519
+ paginateListQueues,
5520
+ paginateListSessionActions,
5521
+ paginateListSessions,
5522
+ paginateListSessionsForWorker,
5523
+ paginateListStepConsumers,
5524
+ paginateListStepDependencies,
5525
+ paginateListSteps,
5526
+ paginateListStorageProfiles,
5527
+ paginateListStorageProfilesForQueue,
5528
+ paginateListTasks,
5529
+ paginateListWorkers,
5530
+ };
5531
+ const waiters = {
5532
+ waitUntilFleetActive,
5533
+ waitUntilJobCreateComplete,
5534
+ waitUntilJobComplete,
5535
+ waitUntilJobSucceeded,
5536
+ waitUntilLicenseEndpointValid,
5537
+ waitUntilLicenseEndpointDeleted,
5538
+ waitUntilQueueSchedulingBlocked,
5539
+ waitUntilQueueScheduling,
5540
+ waitUntilQueueFleetAssociationStopped,
5541
+ waitUntilQueueLimitAssociationStopped,
5542
+ };
5543
+ class Deadline extends DeadlineClient {
5544
+ }
5545
+ smithyClient.createAggregatedClient(commands, Deadline, { paginators, waiters });
5546
+
5500
5547
  const AcceleratorName = {
5501
5548
  A10G: "a10g",
5502
5549
  L4: "l4",