@aws-sdk/client-deadline 3.731.1 → 3.737.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 (102) hide show
  1. package/README.md +80 -0
  2. package/dist-cjs/Deadline.js +20 -0
  3. package/dist-cjs/commands/CreateLimitCommand.js +27 -0
  4. package/dist-cjs/commands/CreateQueueLimitAssociationCommand.js +26 -0
  5. package/dist-cjs/commands/DeleteLimitCommand.js +26 -0
  6. package/dist-cjs/commands/DeleteQueueLimitAssociationCommand.js +26 -0
  7. package/dist-cjs/commands/GetLimitCommand.js +27 -0
  8. package/dist-cjs/commands/GetQueueLimitAssociationCommand.js +26 -0
  9. package/dist-cjs/commands/ListLimitsCommand.js +26 -0
  10. package/dist-cjs/commands/ListQueueLimitAssociationsCommand.js +26 -0
  11. package/dist-cjs/commands/UpdateLimitCommand.js +27 -0
  12. package/dist-cjs/commands/UpdateQueueLimitAssociationCommand.js +26 -0
  13. package/dist-cjs/commands/index.js +10 -0
  14. package/dist-cjs/models/models_0.js +12 -5
  15. package/dist-cjs/models/models_1.js +20 -1
  16. package/dist-cjs/pagination/ListLimitsPaginator.js +7 -0
  17. package/dist-cjs/pagination/ListQueueLimitAssociationsPaginator.js +7 -0
  18. package/dist-cjs/pagination/index.js +2 -0
  19. package/dist-cjs/protocols/Aws_restJson1.js +428 -6
  20. package/dist-cjs/waiters/index.js +1 -0
  21. package/dist-cjs/waiters/waitForQueueLimitAssociationStopped.js +36 -0
  22. package/dist-es/Deadline.js +20 -0
  23. package/dist-es/commands/CreateLimitCommand.js +23 -0
  24. package/dist-es/commands/CreateQueueLimitAssociationCommand.js +22 -0
  25. package/dist-es/commands/DeleteLimitCommand.js +22 -0
  26. package/dist-es/commands/DeleteQueueLimitAssociationCommand.js +22 -0
  27. package/dist-es/commands/GetLimitCommand.js +23 -0
  28. package/dist-es/commands/GetQueueLimitAssociationCommand.js +22 -0
  29. package/dist-es/commands/ListLimitsCommand.js +22 -0
  30. package/dist-es/commands/ListQueueLimitAssociationsCommand.js +22 -0
  31. package/dist-es/commands/UpdateLimitCommand.js +23 -0
  32. package/dist-es/commands/UpdateQueueLimitAssociationCommand.js +22 -0
  33. package/dist-es/commands/index.js +10 -0
  34. package/dist-es/models/models_0.js +8 -3
  35. package/dist-es/models/models_1.js +18 -0
  36. package/dist-es/pagination/ListLimitsPaginator.js +4 -0
  37. package/dist-es/pagination/ListQueueLimitAssociationsPaginator.js +4 -0
  38. package/dist-es/pagination/index.js +2 -0
  39. package/dist-es/protocols/Aws_restJson1.js +403 -1
  40. package/dist-es/waiters/index.js +1 -0
  41. package/dist-es/waiters/waitForQueueLimitAssociationStopped.js +31 -0
  42. package/dist-types/Deadline.d.ts +70 -0
  43. package/dist-types/DeadlineClient.d.ts +12 -2
  44. package/dist-types/commands/CreateJobCommand.d.ts +2 -1
  45. package/dist-types/commands/CreateLimitCommand.d.ts +100 -0
  46. package/dist-types/commands/CreateQueueLimitAssociationCommand.d.ts +90 -0
  47. package/dist-types/commands/DeleteLimitCommand.d.ts +85 -0
  48. package/dist-types/commands/DeleteQueueLimitAssociationCommand.d.ts +96 -0
  49. package/dist-types/commands/GetJobCommand.d.ts +2 -1
  50. package/dist-types/commands/GetLimitCommand.d.ts +98 -0
  51. package/dist-types/commands/GetQueueLimitAssociationCommand.d.ts +95 -0
  52. package/dist-types/commands/GetSessionActionCommand.d.ts +6 -0
  53. package/dist-types/commands/GetWorkerCommand.d.ts +1 -1
  54. package/dist-types/commands/ListJobsCommand.d.ts +1 -0
  55. package/dist-types/commands/ListLimitsCommand.d.ts +103 -0
  56. package/dist-types/commands/ListQueueEnvironmentsCommand.d.ts +1 -1
  57. package/dist-types/commands/ListQueueLimitAssociationsCommand.d.ts +98 -0
  58. package/dist-types/commands/ListQueueMembersCommand.d.ts +1 -2
  59. package/dist-types/commands/SearchJobsCommand.d.ts +1 -0
  60. package/dist-types/commands/UpdateJobCommand.d.ts +5 -4
  61. package/dist-types/commands/UpdateLimitCommand.d.ts +89 -0
  62. package/dist-types/commands/UpdateQueueLimitAssociationCommand.d.ts +90 -0
  63. package/dist-types/commands/UpdateSessionCommand.d.ts +2 -2
  64. package/dist-types/commands/UpdateStepCommand.d.ts +2 -2
  65. package/dist-types/commands/UpdateTaskCommand.d.ts +2 -2
  66. package/dist-types/commands/index.d.ts +10 -0
  67. package/dist-types/models/models_0.d.ts +497 -391
  68. package/dist-types/models/models_1.d.ts +622 -1
  69. package/dist-types/pagination/ListLimitsPaginator.d.ts +7 -0
  70. package/dist-types/pagination/ListQueueLimitAssociationsPaginator.d.ts +7 -0
  71. package/dist-types/pagination/index.d.ts +2 -0
  72. package/dist-types/protocols/Aws_restJson1.d.ts +90 -0
  73. package/dist-types/ts3.4/Deadline.d.ts +170 -0
  74. package/dist-types/ts3.4/DeadlineClient.d.ts +60 -0
  75. package/dist-types/ts3.4/commands/CreateLimitCommand.d.ts +47 -0
  76. package/dist-types/ts3.4/commands/CreateQueueLimitAssociationCommand.d.ts +51 -0
  77. package/dist-types/ts3.4/commands/DeleteLimitCommand.d.ts +47 -0
  78. package/dist-types/ts3.4/commands/DeleteQueueLimitAssociationCommand.d.ts +51 -0
  79. package/dist-types/ts3.4/commands/GetLimitCommand.d.ts +47 -0
  80. package/dist-types/ts3.4/commands/GetQueueLimitAssociationCommand.d.ts +51 -0
  81. package/dist-types/ts3.4/commands/ListLimitsCommand.d.ts +47 -0
  82. package/dist-types/ts3.4/commands/ListQueueEnvironmentsCommand.d.ts +1 -1
  83. package/dist-types/ts3.4/commands/ListQueueLimitAssociationsCommand.d.ts +51 -0
  84. package/dist-types/ts3.4/commands/ListQueueMembersCommand.d.ts +4 -2
  85. package/dist-types/ts3.4/commands/UpdateJobCommand.d.ts +1 -1
  86. package/dist-types/ts3.4/commands/UpdateLimitCommand.d.ts +47 -0
  87. package/dist-types/ts3.4/commands/UpdateQueueLimitAssociationCommand.d.ts +51 -0
  88. package/dist-types/ts3.4/commands/UpdateSessionCommand.d.ts +1 -1
  89. package/dist-types/ts3.4/commands/UpdateStepCommand.d.ts +1 -1
  90. package/dist-types/ts3.4/commands/UpdateTaskCommand.d.ts +1 -1
  91. package/dist-types/ts3.4/commands/index.d.ts +10 -0
  92. package/dist-types/ts3.4/models/models_0.d.ts +82 -76
  93. package/dist-types/ts3.4/models/models_1.d.ts +146 -1
  94. package/dist-types/ts3.4/pagination/ListLimitsPaginator.d.ts +11 -0
  95. package/dist-types/ts3.4/pagination/ListQueueLimitAssociationsPaginator.d.ts +11 -0
  96. package/dist-types/ts3.4/pagination/index.d.ts +2 -0
  97. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +120 -0
  98. package/dist-types/ts3.4/waiters/index.d.ts +1 -0
  99. package/dist-types/ts3.4/waiters/waitForQueueLimitAssociationStopped.d.ts +11 -0
  100. package/dist-types/waiters/index.d.ts +1 -0
  101. package/dist-types/waiters/waitForQueueLimitAssociationStopped.d.ts +14 -0
  102. package/package.json +34 -34
@@ -1,4 +1,333 @@
1
- import { ComparisonOperator, DateTimeFilterExpression, DefaultQueueBudgetAction, EnvironmentTemplateType, FileSystemLocation, HostPropertiesResponse, JobAttachmentSettings, JobLifecycleStatus, JobParameter, JobRunAsUser, JobTargetTaskRunStatus, ParameterSpace, QueueBlockedReason, QueueMember, QueueStatus, StepLifecycleStatus, StepTargetTaskRunStatus, StorageProfileOperatingSystemFamily, StorageProfileSummary, TaskParameterValue, TaskRunStatus, TaskTargetRunStatus, WorkerStatus } from "./models_0";
1
+ import { ComparisonOperator, DateTimeFilterExpression, DeadlinePrincipalType, DefaultQueueBudgetAction, EnvironmentTemplateType, FileSystemLocation, HostPropertiesResponse, JobAttachmentSettings, JobLifecycleStatus, JobParameter, JobRunAsUser, JobTargetTaskRunStatus, MembershipLevel, ParameterSpace, QueueBlockedReason, QueueStatus, SessionLifecycleTargetStatus, StepLifecycleStatus, StepTargetTaskRunStatus, StorageProfileOperatingSystemFamily, StorageProfileSummary, TaskParameterValue, TaskRunStatus, TaskTargetRunStatus, WorkerStatus } from "./models_0";
2
+ /**
3
+ * @public
4
+ * @enum
5
+ */
6
+ export declare const UpdateJobLifecycleStatus: {
7
+ readonly ARCHIVED: "ARCHIVED";
8
+ };
9
+ /**
10
+ * @public
11
+ */
12
+ export type UpdateJobLifecycleStatus = (typeof UpdateJobLifecycleStatus)[keyof typeof UpdateJobLifecycleStatus];
13
+ /**
14
+ * @public
15
+ */
16
+ export interface UpdateJobRequest {
17
+ /**
18
+ * <p>The unique token which the server uses to recognize retries of the same request.</p>
19
+ * @public
20
+ */
21
+ clientToken?: string | undefined;
22
+ /**
23
+ * <p>The task status to update the job's tasks to.</p>
24
+ * @public
25
+ */
26
+ targetTaskRunStatus?: JobTargetTaskRunStatus | undefined;
27
+ /**
28
+ * <p>The job priority to update.</p>
29
+ * @public
30
+ */
31
+ priority?: number | undefined;
32
+ /**
33
+ * <p>The number of task failures before the job stops running and is marked as <code>FAILED</code>.</p>
34
+ * @public
35
+ */
36
+ maxFailedTasksCount?: number | undefined;
37
+ /**
38
+ * <p>The maximum number of retries for a job.</p>
39
+ * @public
40
+ */
41
+ maxRetriesPerTask?: number | undefined;
42
+ /**
43
+ * <p>The status of a job in its lifecycle. When you change the status of the job to
44
+ * <code>ARCHIVED</code>, the job can't be scheduled or archived.</p>
45
+ * <important>
46
+ * <p>An archived jobs and its steps and tasks are deleted after 120 days. The job can't be
47
+ * recovered.</p>
48
+ * </important>
49
+ * @public
50
+ */
51
+ lifecycleStatus?: UpdateJobLifecycleStatus | undefined;
52
+ /**
53
+ * <p>The maximum number of worker hosts that can concurrently process a job. When the
54
+ * <code>maxWorkerCount</code> is reached, no more workers will be assigned to process the
55
+ * job, even if the fleets assigned to the job's queue has available workers.</p>
56
+ * <p>You can't set the <code>maxWorkerCount</code> to 0. If you set it to -1, there is no
57
+ * maximum number of workers.</p>
58
+ * <p>If you don't specify the <code>maxWorkerCount</code>, the default is -1.</p>
59
+ * <p>The maximum number of workers that can process tasks in the job.</p>
60
+ * @public
61
+ */
62
+ maxWorkerCount?: number | undefined;
63
+ /**
64
+ * <p>The farm ID of the job to update.</p>
65
+ * @public
66
+ */
67
+ farmId: string | undefined;
68
+ /**
69
+ * <p>The queue ID of the job to update.</p>
70
+ * @public
71
+ */
72
+ queueId: string | undefined;
73
+ /**
74
+ * <p>The job ID to update.</p>
75
+ * @public
76
+ */
77
+ jobId: string | undefined;
78
+ }
79
+ /**
80
+ * @public
81
+ */
82
+ export interface UpdateJobResponse {
83
+ }
84
+ /**
85
+ * @public
86
+ */
87
+ export interface UpdateSessionRequest {
88
+ /**
89
+ * <p>The unique token which the server uses to recognize retries of the same request.</p>
90
+ * @public
91
+ */
92
+ clientToken?: string | undefined;
93
+ /**
94
+ * <p>The life cycle status to update in the session.</p>
95
+ * @public
96
+ */
97
+ targetLifecycleStatus: SessionLifecycleTargetStatus | undefined;
98
+ /**
99
+ * <p>The farm ID to update in the session.</p>
100
+ * @public
101
+ */
102
+ farmId: string | undefined;
103
+ /**
104
+ * <p>The queue ID to update in the session.</p>
105
+ * @public
106
+ */
107
+ queueId: string | undefined;
108
+ /**
109
+ * <p>The job ID to update in the session.</p>
110
+ * @public
111
+ */
112
+ jobId: string | undefined;
113
+ /**
114
+ * <p>The session ID to update.</p>
115
+ * @public
116
+ */
117
+ sessionId: string | undefined;
118
+ }
119
+ /**
120
+ * @public
121
+ */
122
+ export interface UpdateSessionResponse {
123
+ }
124
+ /**
125
+ * @public
126
+ */
127
+ export interface UpdateStepRequest {
128
+ /**
129
+ * <p>The task status to update the step's tasks to.</p>
130
+ * @public
131
+ */
132
+ targetTaskRunStatus: StepTargetTaskRunStatus | undefined;
133
+ /**
134
+ * <p>The unique token which the server uses to recognize retries of the same request.</p>
135
+ * @public
136
+ */
137
+ clientToken?: string | undefined;
138
+ /**
139
+ * <p>The farm ID to update.</p>
140
+ * @public
141
+ */
142
+ farmId: string | undefined;
143
+ /**
144
+ * <p>The queue ID to update.</p>
145
+ * @public
146
+ */
147
+ queueId: string | undefined;
148
+ /**
149
+ * <p>The job ID to update.</p>
150
+ * @public
151
+ */
152
+ jobId: string | undefined;
153
+ /**
154
+ * <p>The step ID to update.</p>
155
+ * @public
156
+ */
157
+ stepId: string | undefined;
158
+ }
159
+ /**
160
+ * @public
161
+ */
162
+ export interface UpdateStepResponse {
163
+ }
164
+ /**
165
+ * @public
166
+ */
167
+ export interface UpdateTaskRequest {
168
+ /**
169
+ * <p>The unique token which the server uses to recognize retries of the same request.</p>
170
+ * @public
171
+ */
172
+ clientToken?: string | undefined;
173
+ /**
174
+ * <p>The run status with which to start the task.</p>
175
+ * @public
176
+ */
177
+ targetRunStatus: TaskTargetRunStatus | undefined;
178
+ /**
179
+ * <p>The farm ID to update.</p>
180
+ * @public
181
+ */
182
+ farmId: string | undefined;
183
+ /**
184
+ * <p>The queue ID to update.</p>
185
+ * @public
186
+ */
187
+ queueId: string | undefined;
188
+ /**
189
+ * <p>The job ID to update.</p>
190
+ * @public
191
+ */
192
+ jobId: string | undefined;
193
+ /**
194
+ * <p>The step ID to update.</p>
195
+ * @public
196
+ */
197
+ stepId: string | undefined;
198
+ /**
199
+ * <p>The task ID to update.</p>
200
+ * @public
201
+ */
202
+ taskId: string | undefined;
203
+ }
204
+ /**
205
+ * @public
206
+ */
207
+ export interface UpdateTaskResponse {
208
+ }
209
+ /**
210
+ * @public
211
+ */
212
+ export interface ListQueueEnvironmentsRequest {
213
+ /**
214
+ * <p>The farm ID for the queue environment list.</p>
215
+ * @public
216
+ */
217
+ farmId: string | undefined;
218
+ /**
219
+ * <p>The queue ID for the queue environment list.</p>
220
+ * @public
221
+ */
222
+ queueId: string | undefined;
223
+ /**
224
+ * <p>The token for the next set of results, or <code>null</code> to start from the beginning.</p>
225
+ * @public
226
+ */
227
+ nextToken?: string | undefined;
228
+ /**
229
+ * <p>The maximum number of results to return. Use this parameter with <code>NextToken</code> to get results as a set of sequential pages.</p>
230
+ * @public
231
+ */
232
+ maxResults?: number | undefined;
233
+ }
234
+ /**
235
+ * <p>The summary of a queue environment.</p>
236
+ * @public
237
+ */
238
+ export interface QueueEnvironmentSummary {
239
+ /**
240
+ * <p>The queue environment ID.</p>
241
+ * @public
242
+ */
243
+ queueEnvironmentId: string | undefined;
244
+ /**
245
+ * <p>The name of the queue environment.</p>
246
+ * @public
247
+ */
248
+ name: string | undefined;
249
+ /**
250
+ * <p>The queue environment's priority.</p>
251
+ * @public
252
+ */
253
+ priority: number | undefined;
254
+ }
255
+ /**
256
+ * @public
257
+ */
258
+ export interface ListQueueEnvironmentsResponse {
259
+ /**
260
+ * <p>The environments to include in the queue environments list.</p>
261
+ * @public
262
+ */
263
+ environments: QueueEnvironmentSummary[] | undefined;
264
+ /**
265
+ * <p>If Deadline Cloud returns <code>nextToken</code>, then there are more results available. The value of <code>nextToken</code> is a unique pagination token for each page. To retrieve the next page, call the operation again using the returned token. Keep all other arguments unchanged. If no results remain, then <code>nextToken</code> is set to <code>null</code>. Each pagination token expires after 24 hours. If you provide a token that isn't valid, then you receive an HTTP 400 <code>ValidationException</code> error.</p>
266
+ * @public
267
+ */
268
+ nextToken?: string | undefined;
269
+ }
270
+ /**
271
+ * @public
272
+ */
273
+ export interface ListQueueMembersRequest {
274
+ /**
275
+ * <p>The farm ID for the queue.</p>
276
+ * @public
277
+ */
278
+ farmId: string | undefined;
279
+ /**
280
+ * <p>The queue ID to include on the list.</p>
281
+ * @public
282
+ */
283
+ queueId: string | undefined;
284
+ /**
285
+ * <p>The token for the next set of results, or <code>null</code> to start from the beginning.</p>
286
+ * @public
287
+ */
288
+ nextToken?: string | undefined;
289
+ /**
290
+ * <p>The maximum number of results to return. Use this parameter with <code>NextToken</code> to get results as a set of sequential pages.</p>
291
+ * @public
292
+ */
293
+ maxResults?: number | undefined;
294
+ }
295
+ /**
296
+ * <p>The details of a queue member.</p>
297
+ * @public
298
+ */
299
+ export interface QueueMember {
300
+ /**
301
+ * <p>The farm ID.</p>
302
+ * @public
303
+ */
304
+ farmId: string | undefined;
305
+ /**
306
+ * <p>The queue ID.</p>
307
+ * @public
308
+ */
309
+ queueId: string | undefined;
310
+ /**
311
+ * <p>The principal ID of the queue member.</p>
312
+ * @public
313
+ */
314
+ principalId: string | undefined;
315
+ /**
316
+ * <p>The principal type of the queue member.</p>
317
+ * @public
318
+ */
319
+ principalType: DeadlinePrincipalType | undefined;
320
+ /**
321
+ * <p>The identity store ID.</p>
322
+ * @public
323
+ */
324
+ identityStoreId: string | undefined;
325
+ /**
326
+ * <p>The queue member's membership level.</p>
327
+ * @public
328
+ */
329
+ membershipLevel: MembershipLevel | undefined;
330
+ }
2
331
  /**
3
332
  * @public
4
333
  */
@@ -331,6 +660,54 @@ export interface UpdateFarmRequest {
331
660
  */
332
661
  export interface UpdateFarmResponse {
333
662
  }
663
+ /**
664
+ * @public
665
+ */
666
+ export interface UpdateLimitRequest {
667
+ /**
668
+ * <p>The unique identifier of the farm that contains the limit.</p>
669
+ * @public
670
+ */
671
+ farmId: string | undefined;
672
+ /**
673
+ * <p>The unique identifier of the limit to update.</p>
674
+ * @public
675
+ */
676
+ limitId: string | undefined;
677
+ /**
678
+ * <p>The new display name of the limit.</p>
679
+ * <important>
680
+ * <p>This field can store any content. Escape or encode this content before displaying it on a webpage or any other system that might interpret the content of this field.</p>
681
+ * </important>
682
+ * @public
683
+ */
684
+ displayName?: string | undefined;
685
+ /**
686
+ * <p>The new description of the limit.</p>
687
+ * <important>
688
+ * <p>This field can store any content. Escape or encode this content before displaying it on a webpage or any other system that might interpret the content of this field.</p>
689
+ * </important>
690
+ * @public
691
+ */
692
+ description?: string | undefined;
693
+ /**
694
+ * <p>The maximum number of resources constrained by this limit. When all of the resources are
695
+ * in use, steps that require the limit won't be scheduled until the resource is
696
+ * available.</p>
697
+ * <p>If more than the new maximum number is currently in use, running jobs finish but no new
698
+ * jobs are started until the number of resources in use is below the new maximum
699
+ * number.</p>
700
+ * <p>The <code>maxCount</code> must not be 0. If the value is -1, there is no restriction on
701
+ * the number of resources that can be acquired for this limit.</p>
702
+ * @public
703
+ */
704
+ maxCount?: number | undefined;
705
+ }
706
+ /**
707
+ * @public
708
+ */
709
+ export interface UpdateLimitResponse {
710
+ }
334
711
  /**
335
712
  * @public
336
713
  */
@@ -453,6 +830,80 @@ export interface GetQueueFleetAssociationResponse {
453
830
  */
454
831
  updatedBy?: string | undefined;
455
832
  }
833
+ /**
834
+ * @public
835
+ */
836
+ export interface GetQueueLimitAssociationRequest {
837
+ /**
838
+ * <p>The unique identifier of the farm that contains the associated queue and limit.</p>
839
+ * @public
840
+ */
841
+ farmId: string | undefined;
842
+ /**
843
+ * <p>The unique identifier of the queue associated with the limit.</p>
844
+ * @public
845
+ */
846
+ queueId: string | undefined;
847
+ /**
848
+ * <p>The unique identifier of the limit associated with the queue.</p>
849
+ * @public
850
+ */
851
+ limitId: string | undefined;
852
+ }
853
+ /**
854
+ * @public
855
+ * @enum
856
+ */
857
+ export declare const QueueLimitAssociationStatus: {
858
+ readonly ACTIVE: "ACTIVE";
859
+ readonly STOPPED: "STOPPED";
860
+ readonly STOP_LIMIT_USAGE_AND_CANCEL_TASKS: "STOP_LIMIT_USAGE_AND_CANCEL_TASKS";
861
+ readonly STOP_LIMIT_USAGE_AND_COMPLETE_TASKS: "STOP_LIMIT_USAGE_AND_COMPLETE_TASKS";
862
+ };
863
+ /**
864
+ * @public
865
+ */
866
+ export type QueueLimitAssociationStatus = (typeof QueueLimitAssociationStatus)[keyof typeof QueueLimitAssociationStatus];
867
+ /**
868
+ * @public
869
+ */
870
+ export interface GetQueueLimitAssociationResponse {
871
+ /**
872
+ * <p>The Unix timestamp of the date and time that the association was created.</p>
873
+ * @public
874
+ */
875
+ createdAt: Date | undefined;
876
+ /**
877
+ * <p>The user identifier of the person that created the association.</p>
878
+ * @public
879
+ */
880
+ createdBy: string | undefined;
881
+ /**
882
+ * <p>The Unix timestamp of the date and time that the association was last updated.</p>
883
+ * @public
884
+ */
885
+ updatedAt?: Date | undefined;
886
+ /**
887
+ * <p>The user identifier of the person that last updated the association.</p>
888
+ * @public
889
+ */
890
+ updatedBy?: string | undefined;
891
+ /**
892
+ * <p>The unique identifier of the queue associated with the limit.</p>
893
+ * @public
894
+ */
895
+ queueId: string | undefined;
896
+ /**
897
+ * <p>The unique identifier of the limit associated with the queue.</p>
898
+ * @public
899
+ */
900
+ limitId: string | undefined;
901
+ /**
902
+ * <p>The current status of the limit.</p>
903
+ * @public
904
+ */
905
+ status: QueueLimitAssociationStatus | undefined;
906
+ }
456
907
  /**
457
908
  * @public
458
909
  */
@@ -1009,6 +1460,117 @@ export interface ListQueueFleetAssociationsResponse {
1009
1460
  */
1010
1461
  nextToken?: string | undefined;
1011
1462
  }
1463
+ /**
1464
+ * @public
1465
+ */
1466
+ export interface ListQueueLimitAssociationsRequest {
1467
+ /**
1468
+ * <p>The unique identifier of the farm that contains the limits and associations.</p>
1469
+ * @public
1470
+ */
1471
+ farmId: string | undefined;
1472
+ /**
1473
+ * <p>Specifies that the operation should return only the queue limit associations for the
1474
+ * specified queue. If you specify both the <code>queueId</code> and the <code>limitId</code>,
1475
+ * only the specified limit is returned if it exists.</p>
1476
+ * @public
1477
+ */
1478
+ queueId?: string | undefined;
1479
+ /**
1480
+ * <p>Specifies that the operation should return only the queue limit associations for the
1481
+ * specified limit. If you specify both the <code>queueId</code> and the <code>limitId</code>,
1482
+ * only the specified limit is returned if it exists.</p>
1483
+ * @public
1484
+ */
1485
+ limitId?: string | undefined;
1486
+ /**
1487
+ * <p>The token for the next set of results, or <code>null</code> to start from the beginning.</p>
1488
+ * @public
1489
+ */
1490
+ nextToken?: string | undefined;
1491
+ /**
1492
+ * <p>The maximum number of associations to return in each page of results.</p>
1493
+ * @public
1494
+ */
1495
+ maxResults?: number | undefined;
1496
+ }
1497
+ /**
1498
+ * <p>Provides information about the association between a queue and a limit.</p>
1499
+ * @public
1500
+ */
1501
+ export interface QueueLimitAssociationSummary {
1502
+ /**
1503
+ * <p>The Unix timestamp of the date and time that the association was created.</p>
1504
+ * @public
1505
+ */
1506
+ createdAt: Date | undefined;
1507
+ /**
1508
+ * <p>The user identifier of the person that created the association.</p>
1509
+ * @public
1510
+ */
1511
+ createdBy: string | undefined;
1512
+ /**
1513
+ * <p>The Unix timestamp of the date and time that the association was last updated.</p>
1514
+ * @public
1515
+ */
1516
+ updatedAt?: Date | undefined;
1517
+ /**
1518
+ * <p>The user identifier of the person that updated the association.</p>
1519
+ * @public
1520
+ */
1521
+ updatedBy?: string | undefined;
1522
+ /**
1523
+ * <p>The unique identifier of the queue in the association.</p>
1524
+ * @public
1525
+ */
1526
+ queueId: string | undefined;
1527
+ /**
1528
+ * <p>The unique identifier of the limit in the association.</p>
1529
+ * @public
1530
+ */
1531
+ limitId: string | undefined;
1532
+ /**
1533
+ * <p>The status of task scheduling in the queue-limit association.</p>
1534
+ * <ul>
1535
+ * <li>
1536
+ * <p>
1537
+ * <code>ACTIVE</code> - Association is active.</p>
1538
+ * </li>
1539
+ * <li>
1540
+ * <p>
1541
+ * <code>STOP_LIMIT_USAGE_AND_COMPLETE_TASKS</code> - Association has stopped
1542
+ * scheduling new tasks and is completing current tasks.</p>
1543
+ * </li>
1544
+ * <li>
1545
+ * <p>
1546
+ * <code>STOP_LIMIT_USAGE_AND_CANCEL_TASKS</code> - Association has stopped
1547
+ * scheduling new tasks and is canceling current tasks.</p>
1548
+ * </li>
1549
+ * <li>
1550
+ * <p>
1551
+ * <code>STOPPED</code> - Association has been stopped.</p>
1552
+ * </li>
1553
+ * </ul>
1554
+ * @public
1555
+ */
1556
+ status: QueueLimitAssociationStatus | undefined;
1557
+ }
1558
+ /**
1559
+ * @public
1560
+ */
1561
+ export interface ListQueueLimitAssociationsResponse {
1562
+ /**
1563
+ * <p>A list of associations between limits and queues in the farm specified in the
1564
+ * request.</p>
1565
+ * @public
1566
+ */
1567
+ queueLimitAssociations: QueueLimitAssociationSummary[] | undefined;
1568
+ /**
1569
+ * <p>If Deadline Cloud returns <code>nextToken</code>, then there are more results available. The value of <code>nextToken</code> is a unique pagination token for each page. To retrieve the next page, call the operation again using the returned token. Keep all other arguments unchanged. If no results remain, then <code>nextToken</code> is set to <code>null</code>. Each pagination token expires after 24 hours. If you provide a token that isn't valid, then you receive an HTTP 400 <code>ValidationException</code> error.</p>
1570
+ * @public
1571
+ */
1572
+ nextToken?: string | undefined;
1573
+ }
1012
1574
  /**
1013
1575
  * @public
1014
1576
  */
@@ -1557,6 +2119,16 @@ export interface JobSearchSummary {
1557
2119
  * @public
1558
2120
  */
1559
2121
  jobParameters?: Record<string, JobParameter> | undefined;
2122
+ /**
2123
+ * <p>The maximum number of worker hosts that can concurrently process a job. When the
2124
+ * <code>maxWorkerCount</code> is reached, no more workers will be assigned to process the
2125
+ * job, even if the fleets assigned to the job's queue has available workers.</p>
2126
+ * <p>You can't set the <code>maxWorkerCount</code> to 0. If you set it to -1, there is no
2127
+ * maximum number of workers.</p>
2128
+ * <p>If you don't specify the <code>maxWorkerCount</code>, the default is -1.</p>
2129
+ * @public
2130
+ */
2131
+ maxWorkerCount?: number | undefined;
1560
2132
  /**
1561
2133
  * <p>The job ID for the source job.</p>
1562
2134
  * @public
@@ -2089,6 +2661,51 @@ export interface UpdateQueueFleetAssociationRequest {
2089
2661
  */
2090
2662
  export interface UpdateQueueFleetAssociationResponse {
2091
2663
  }
2664
+ /**
2665
+ * @public
2666
+ * @enum
2667
+ */
2668
+ export declare const UpdateQueueLimitAssociationStatus: {
2669
+ readonly ACTIVE: "ACTIVE";
2670
+ readonly STOP_LIMIT_USAGE_AND_CANCEL_TASKS: "STOP_LIMIT_USAGE_AND_CANCEL_TASKS";
2671
+ readonly STOP_LIMIT_USAGE_AND_COMPLETE_TASKS: "STOP_LIMIT_USAGE_AND_COMPLETE_TASKS";
2672
+ };
2673
+ /**
2674
+ * @public
2675
+ */
2676
+ export type UpdateQueueLimitAssociationStatus = (typeof UpdateQueueLimitAssociationStatus)[keyof typeof UpdateQueueLimitAssociationStatus];
2677
+ /**
2678
+ * @public
2679
+ */
2680
+ export interface UpdateQueueLimitAssociationRequest {
2681
+ /**
2682
+ * <p>The unique identifier of the farm that contains the associated queues and limits.</p>
2683
+ * @public
2684
+ */
2685
+ farmId: string | undefined;
2686
+ /**
2687
+ * <p>The unique identifier of the queue associated to the limit.</p>
2688
+ * @public
2689
+ */
2690
+ queueId: string | undefined;
2691
+ /**
2692
+ * <p>The unique identifier of the limit associated to the queue.</p>
2693
+ * @public
2694
+ */
2695
+ limitId: string | undefined;
2696
+ /**
2697
+ * <p>Sets the status of the limit. You can mark the limit active, or you can stop usage of
2698
+ * the limit and either complete existing tasks or cancel any existing tasks immediately.
2699
+ * </p>
2700
+ * @public
2701
+ */
2702
+ status: UpdateQueueLimitAssociationStatus | undefined;
2703
+ }
2704
+ /**
2705
+ * @public
2706
+ */
2707
+ export interface UpdateQueueLimitAssociationResponse {
2708
+ }
2092
2709
  /**
2093
2710
  * <p>The type of search filter to apply.</p>
2094
2711
  * @public
@@ -2372,6 +2989,10 @@ export declare const UpdateQueueEnvironmentRequestFilterSensitiveLog: (obj: Upda
2372
2989
  * @internal
2373
2990
  */
2374
2991
  export declare const UpdateFarmRequestFilterSensitiveLog: (obj: UpdateFarmRequest) => any;
2992
+ /**
2993
+ * @internal
2994
+ */
2995
+ export declare const UpdateLimitRequestFilterSensitiveLog: (obj: UpdateLimitRequest) => any;
2375
2996
  /**
2376
2997
  * @internal
2377
2998
  */
@@ -0,0 +1,7 @@
1
+ import { Paginator } from "@smithy/types";
2
+ import { ListLimitsCommandInput, ListLimitsCommandOutput } from "../commands/ListLimitsCommand";
3
+ import { DeadlinePaginationConfiguration } from "./Interfaces";
4
+ /**
5
+ * @public
6
+ */
7
+ export declare const paginateListLimits: (config: DeadlinePaginationConfiguration, input: ListLimitsCommandInput, ...rest: any[]) => Paginator<ListLimitsCommandOutput>;
@@ -0,0 +1,7 @@
1
+ import { Paginator } from "@smithy/types";
2
+ import { ListQueueLimitAssociationsCommandInput, ListQueueLimitAssociationsCommandOutput } from "../commands/ListQueueLimitAssociationsCommand";
3
+ import { DeadlinePaginationConfiguration } from "./Interfaces";
4
+ /**
5
+ * @public
6
+ */
7
+ export declare const paginateListQueueLimitAssociations: (config: DeadlinePaginationConfiguration, input: ListQueueLimitAssociationsCommandInput, ...rest: any[]) => Paginator<ListQueueLimitAssociationsCommandOutput>;
@@ -10,10 +10,12 @@ export * from "./ListJobMembersPaginator";
10
10
  export * from "./ListJobParameterDefinitionsPaginator";
11
11
  export * from "./ListJobsPaginator";
12
12
  export * from "./ListLicenseEndpointsPaginator";
13
+ export * from "./ListLimitsPaginator";
13
14
  export * from "./ListMeteredProductsPaginator";
14
15
  export * from "./ListMonitorsPaginator";
15
16
  export * from "./ListQueueEnvironmentsPaginator";
16
17
  export * from "./ListQueueFleetAssociationsPaginator";
18
+ export * from "./ListQueueLimitAssociationsPaginator";
17
19
  export * from "./ListQueueMembersPaginator";
18
20
  export * from "./ListQueuesPaginator";
19
21
  export * from "./ListSessionActionsPaginator";