@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
@@ -0,0 +1,47 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import {
4
+ DeadlineClientResolvedConfig,
5
+ ServiceInputTypes,
6
+ ServiceOutputTypes,
7
+ } from "../DeadlineClient";
8
+ import { UpdateLimitRequest, UpdateLimitResponse } from "../models/models_1";
9
+ export { __MetadataBearer };
10
+ export { $Command };
11
+ export interface UpdateLimitCommandInput extends UpdateLimitRequest {}
12
+ export interface UpdateLimitCommandOutput
13
+ extends UpdateLimitResponse,
14
+ __MetadataBearer {}
15
+ declare const UpdateLimitCommand_base: {
16
+ new (
17
+ input: UpdateLimitCommandInput
18
+ ): import("@smithy/smithy-client").CommandImpl<
19
+ UpdateLimitCommandInput,
20
+ UpdateLimitCommandOutput,
21
+ DeadlineClientResolvedConfig,
22
+ ServiceInputTypes,
23
+ ServiceOutputTypes
24
+ >;
25
+ new (
26
+ __0_0: UpdateLimitCommandInput
27
+ ): import("@smithy/smithy-client").CommandImpl<
28
+ UpdateLimitCommandInput,
29
+ UpdateLimitCommandOutput,
30
+ DeadlineClientResolvedConfig,
31
+ ServiceInputTypes,
32
+ ServiceOutputTypes
33
+ >;
34
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
35
+ };
36
+ export declare class UpdateLimitCommand extends UpdateLimitCommand_base {
37
+ protected static __types: {
38
+ api: {
39
+ input: UpdateLimitRequest;
40
+ output: {};
41
+ };
42
+ sdk: {
43
+ input: UpdateLimitCommandInput;
44
+ output: UpdateLimitCommandOutput;
45
+ };
46
+ };
47
+ }
@@ -0,0 +1,51 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import {
4
+ DeadlineClientResolvedConfig,
5
+ ServiceInputTypes,
6
+ ServiceOutputTypes,
7
+ } from "../DeadlineClient";
8
+ import {
9
+ UpdateQueueLimitAssociationRequest,
10
+ UpdateQueueLimitAssociationResponse,
11
+ } from "../models/models_1";
12
+ export { __MetadataBearer };
13
+ export { $Command };
14
+ export interface UpdateQueueLimitAssociationCommandInput
15
+ extends UpdateQueueLimitAssociationRequest {}
16
+ export interface UpdateQueueLimitAssociationCommandOutput
17
+ extends UpdateQueueLimitAssociationResponse,
18
+ __MetadataBearer {}
19
+ declare const UpdateQueueLimitAssociationCommand_base: {
20
+ new (
21
+ input: UpdateQueueLimitAssociationCommandInput
22
+ ): import("@smithy/smithy-client").CommandImpl<
23
+ UpdateQueueLimitAssociationCommandInput,
24
+ UpdateQueueLimitAssociationCommandOutput,
25
+ DeadlineClientResolvedConfig,
26
+ ServiceInputTypes,
27
+ ServiceOutputTypes
28
+ >;
29
+ new (
30
+ __0_0: UpdateQueueLimitAssociationCommandInput
31
+ ): import("@smithy/smithy-client").CommandImpl<
32
+ UpdateQueueLimitAssociationCommandInput,
33
+ UpdateQueueLimitAssociationCommandOutput,
34
+ DeadlineClientResolvedConfig,
35
+ ServiceInputTypes,
36
+ ServiceOutputTypes
37
+ >;
38
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
39
+ };
40
+ export declare class UpdateQueueLimitAssociationCommand extends UpdateQueueLimitAssociationCommand_base {
41
+ protected static __types: {
42
+ api: {
43
+ input: UpdateQueueLimitAssociationRequest;
44
+ output: {};
45
+ };
46
+ sdk: {
47
+ input: UpdateQueueLimitAssociationCommandInput;
48
+ output: UpdateQueueLimitAssociationCommandOutput;
49
+ };
50
+ };
51
+ }
@@ -8,7 +8,7 @@ import {
8
8
  import {
9
9
  UpdateSessionRequest,
10
10
  UpdateSessionResponse,
11
- } from "../models/models_0";
11
+ } from "../models/models_1";
12
12
  export { __MetadataBearer };
13
13
  export { $Command };
14
14
  export interface UpdateSessionCommandInput extends UpdateSessionRequest {}
@@ -5,7 +5,7 @@ import {
5
5
  ServiceInputTypes,
6
6
  ServiceOutputTypes,
7
7
  } from "../DeadlineClient";
8
- import { UpdateStepRequest, UpdateStepResponse } from "../models/models_0";
8
+ import { UpdateStepRequest, UpdateStepResponse } from "../models/models_1";
9
9
  export { __MetadataBearer };
10
10
  export { $Command };
11
11
  export interface UpdateStepCommandInput extends UpdateStepRequest {}
@@ -5,7 +5,7 @@ import {
5
5
  ServiceInputTypes,
6
6
  ServiceOutputTypes,
7
7
  } from "../DeadlineClient";
8
- import { UpdateTaskRequest, UpdateTaskResponse } from "../models/models_0";
8
+ import { UpdateTaskRequest, UpdateTaskResponse } from "../models/models_1";
9
9
  export { __MetadataBearer };
10
10
  export { $Command };
11
11
  export interface UpdateTaskCommandInput extends UpdateTaskRequest {}
@@ -14,21 +14,25 @@ export * from "./CreateFarmCommand";
14
14
  export * from "./CreateFleetCommand";
15
15
  export * from "./CreateJobCommand";
16
16
  export * from "./CreateLicenseEndpointCommand";
17
+ export * from "./CreateLimitCommand";
17
18
  export * from "./CreateMonitorCommand";
18
19
  export * from "./CreateQueueCommand";
19
20
  export * from "./CreateQueueEnvironmentCommand";
20
21
  export * from "./CreateQueueFleetAssociationCommand";
22
+ export * from "./CreateQueueLimitAssociationCommand";
21
23
  export * from "./CreateStorageProfileCommand";
22
24
  export * from "./CreateWorkerCommand";
23
25
  export * from "./DeleteBudgetCommand";
24
26
  export * from "./DeleteFarmCommand";
25
27
  export * from "./DeleteFleetCommand";
26
28
  export * from "./DeleteLicenseEndpointCommand";
29
+ export * from "./DeleteLimitCommand";
27
30
  export * from "./DeleteMeteredProductCommand";
28
31
  export * from "./DeleteMonitorCommand";
29
32
  export * from "./DeleteQueueCommand";
30
33
  export * from "./DeleteQueueEnvironmentCommand";
31
34
  export * from "./DeleteQueueFleetAssociationCommand";
35
+ export * from "./DeleteQueueLimitAssociationCommand";
32
36
  export * from "./DeleteStorageProfileCommand";
33
37
  export * from "./DeleteWorkerCommand";
34
38
  export * from "./DisassociateMemberFromFarmCommand";
@@ -40,10 +44,12 @@ export * from "./GetFarmCommand";
40
44
  export * from "./GetFleetCommand";
41
45
  export * from "./GetJobCommand";
42
46
  export * from "./GetLicenseEndpointCommand";
47
+ export * from "./GetLimitCommand";
43
48
  export * from "./GetMonitorCommand";
44
49
  export * from "./GetQueueCommand";
45
50
  export * from "./GetQueueEnvironmentCommand";
46
51
  export * from "./GetQueueFleetAssociationCommand";
52
+ export * from "./GetQueueLimitAssociationCommand";
47
53
  export * from "./GetSessionActionCommand";
48
54
  export * from "./GetSessionCommand";
49
55
  export * from "./GetSessionsStatisticsAggregationCommand";
@@ -62,10 +68,12 @@ export * from "./ListJobMembersCommand";
62
68
  export * from "./ListJobParameterDefinitionsCommand";
63
69
  export * from "./ListJobsCommand";
64
70
  export * from "./ListLicenseEndpointsCommand";
71
+ export * from "./ListLimitsCommand";
65
72
  export * from "./ListMeteredProductsCommand";
66
73
  export * from "./ListMonitorsCommand";
67
74
  export * from "./ListQueueEnvironmentsCommand";
68
75
  export * from "./ListQueueFleetAssociationsCommand";
76
+ export * from "./ListQueueLimitAssociationsCommand";
69
77
  export * from "./ListQueueMembersCommand";
70
78
  export * from "./ListQueuesCommand";
71
79
  export * from "./ListSessionActionsCommand";
@@ -91,10 +99,12 @@ export * from "./UpdateBudgetCommand";
91
99
  export * from "./UpdateFarmCommand";
92
100
  export * from "./UpdateFleetCommand";
93
101
  export * from "./UpdateJobCommand";
102
+ export * from "./UpdateLimitCommand";
94
103
  export * from "./UpdateMonitorCommand";
95
104
  export * from "./UpdateQueueCommand";
96
105
  export * from "./UpdateQueueEnvironmentCommand";
97
106
  export * from "./UpdateQueueFleetAssociationCommand";
107
+ export * from "./UpdateQueueLimitAssociationCommand";
98
108
  export * from "./UpdateSessionCommand";
99
109
  export * from "./UpdateStepCommand";
100
110
  export * from "./UpdateStorageProfileCommand";
@@ -38,6 +38,10 @@ export declare class AccessDeniedException extends __BaseException {
38
38
  opts: __ExceptionOptionType<AccessDeniedException, __BaseException>
39
39
  );
40
40
  }
41
+ export interface AcquiredLimit {
42
+ limitId: string | undefined;
43
+ count: number | undefined;
44
+ }
41
45
  export interface AssignedEnvironmentEnterSessionActionDefinition {
42
46
  environmentId: string | undefined;
43
47
  }
@@ -1042,6 +1046,7 @@ export interface CreateJobRequest {
1042
1046
  targetTaskRunStatus?: CreateJobTargetTaskRunStatus | undefined;
1043
1047
  maxFailedTasksCount?: number | undefined;
1044
1048
  maxRetriesPerTask?: number | undefined;
1049
+ maxWorkerCount?: number | undefined;
1045
1050
  sourceJobId?: string | undefined;
1046
1051
  }
1047
1052
  export interface CreateJobResponse {
@@ -1057,6 +1062,17 @@ export interface CreateLicenseEndpointRequest {
1057
1062
  export interface CreateLicenseEndpointResponse {
1058
1063
  licenseEndpointId: string | undefined;
1059
1064
  }
1065
+ export interface CreateLimitRequest {
1066
+ clientToken?: string | undefined;
1067
+ displayName: string | undefined;
1068
+ amountRequirementName: string | undefined;
1069
+ maxCount: number | undefined;
1070
+ farmId: string | undefined;
1071
+ description?: string | undefined;
1072
+ }
1073
+ export interface CreateLimitResponse {
1074
+ limitId: string | undefined;
1075
+ }
1060
1076
  export interface CreateMonitorRequest {
1061
1077
  clientToken?: string | undefined;
1062
1078
  displayName: string | undefined;
@@ -1114,6 +1130,12 @@ export interface CreateQueueFleetAssociationRequest {
1114
1130
  fleetId: string | undefined;
1115
1131
  }
1116
1132
  export interface CreateQueueFleetAssociationResponse {}
1133
+ export interface CreateQueueLimitAssociationRequest {
1134
+ farmId: string | undefined;
1135
+ queueId: string | undefined;
1136
+ limitId: string | undefined;
1137
+ }
1138
+ export interface CreateQueueLimitAssociationResponse {}
1117
1139
  export declare const FileSystemLocationType: {
1118
1140
  readonly LOCAL: "LOCAL";
1119
1141
  readonly SHARED: "SHARED";
@@ -1170,10 +1192,21 @@ export interface DeleteQueueFleetAssociationRequest {
1170
1192
  fleetId: string | undefined;
1171
1193
  }
1172
1194
  export interface DeleteQueueFleetAssociationResponse {}
1195
+ export interface DeleteQueueLimitAssociationRequest {
1196
+ farmId: string | undefined;
1197
+ queueId: string | undefined;
1198
+ limitId: string | undefined;
1199
+ }
1200
+ export interface DeleteQueueLimitAssociationResponse {}
1173
1201
  export interface DeleteFarmRequest {
1174
1202
  farmId: string | undefined;
1175
1203
  }
1176
1204
  export interface DeleteFarmResponse {}
1205
+ export interface DeleteLimitRequest {
1206
+ farmId: string | undefined;
1207
+ limitId: string | undefined;
1208
+ }
1209
+ export interface DeleteLimitResponse {}
1177
1210
  export interface DeleteStorageProfileRequest {
1178
1211
  farmId: string | undefined;
1179
1212
  storageProfileId: string | undefined;
@@ -1318,9 +1351,9 @@ export declare const WorkerStatus: {
1318
1351
  };
1319
1352
  export type WorkerStatus = (typeof WorkerStatus)[keyof typeof WorkerStatus];
1320
1353
  export interface GetWorkerResponse {
1321
- workerId: string | undefined;
1322
1354
  farmId: string | undefined;
1323
1355
  fleetId: string | undefined;
1356
+ workerId: string | undefined;
1324
1357
  hostProperties?: HostPropertiesResponse | undefined;
1325
1358
  status: WorkerStatus | undefined;
1326
1359
  log?: LogConfiguration | undefined;
@@ -1454,6 +1487,23 @@ export interface GetFarmResponse {
1454
1487
  updatedAt?: Date | undefined;
1455
1488
  updatedBy?: string | undefined;
1456
1489
  }
1490
+ export interface GetLimitRequest {
1491
+ farmId: string | undefined;
1492
+ limitId: string | undefined;
1493
+ }
1494
+ export interface GetLimitResponse {
1495
+ displayName: string | undefined;
1496
+ amountRequirementName: string | undefined;
1497
+ maxCount: number | undefined;
1498
+ createdAt: Date | undefined;
1499
+ createdBy: string | undefined;
1500
+ updatedAt?: Date | undefined;
1501
+ updatedBy?: string | undefined;
1502
+ farmId: string | undefined;
1503
+ limitId: string | undefined;
1504
+ currentCount: number | undefined;
1505
+ description?: string | undefined;
1506
+ }
1457
1507
  export interface GetStorageProfileRequest {
1458
1508
  farmId: string | undefined;
1459
1509
  storageProfileId: string | undefined;
@@ -1502,6 +1552,27 @@ export interface ListFarmsResponse {
1502
1552
  nextToken?: string | undefined;
1503
1553
  farms: FarmSummary[] | undefined;
1504
1554
  }
1555
+ export interface ListLimitsRequest {
1556
+ farmId: string | undefined;
1557
+ nextToken?: string | undefined;
1558
+ maxResults?: number | undefined;
1559
+ }
1560
+ export interface LimitSummary {
1561
+ displayName: string | undefined;
1562
+ amountRequirementName: string | undefined;
1563
+ maxCount: number | undefined;
1564
+ createdAt: Date | undefined;
1565
+ createdBy: string | undefined;
1566
+ updatedAt?: Date | undefined;
1567
+ updatedBy?: string | undefined;
1568
+ farmId: string | undefined;
1569
+ limitId: string | undefined;
1570
+ currentCount: number | undefined;
1571
+ }
1572
+ export interface ListLimitsResponse {
1573
+ limits: LimitSummary[] | undefined;
1574
+ nextToken?: string | undefined;
1575
+ }
1505
1576
  export interface ListStorageProfilesRequest {
1506
1577
  farmId: string | undefined;
1507
1578
  nextToken?: string | undefined;
@@ -1603,8 +1674,8 @@ export interface DisassociateMemberFromJobRequest {
1603
1674
  export interface DisassociateMemberFromJobResponse {}
1604
1675
  export interface GetJobRequest {
1605
1676
  farmId: string | undefined;
1606
- jobId: string | undefined;
1607
1677
  queueId: string | undefined;
1678
+ jobId: string | undefined;
1608
1679
  }
1609
1680
  export declare const JobLifecycleStatus: {
1610
1681
  readonly ARCHIVED: "ARCHIVED";
@@ -1665,6 +1736,7 @@ export interface GetJobResponse {
1665
1736
  parameters?: Record<string, JobParameter> | undefined;
1666
1737
  attachments?: Attachments | undefined;
1667
1738
  description?: string | undefined;
1739
+ maxWorkerCount?: number | undefined;
1668
1740
  sourceJobId?: string | undefined;
1669
1741
  }
1670
1742
  export interface GetSessionRequest {
@@ -1786,6 +1858,7 @@ export interface GetSessionActionResponse {
1786
1858
  processExitCode?: number | undefined;
1787
1859
  progressMessage?: string | undefined;
1788
1860
  definition: SessionActionDefinition | undefined;
1861
+ acquiredLimits?: AcquiredLimit[] | undefined;
1789
1862
  }
1790
1863
  export interface GetStepRequest {
1791
1864
  farmId: string | undefined;
@@ -1953,6 +2026,7 @@ export interface JobSummary {
1953
2026
  taskRunStatusCounts?: Partial<Record<TaskRunStatus, number>> | undefined;
1954
2027
  maxFailedTasksCount?: number | undefined;
1955
2028
  maxRetriesPerTask?: number | undefined;
2029
+ maxWorkerCount?: number | undefined;
1956
2030
  sourceJobId?: string | undefined;
1957
2031
  }
1958
2032
  export interface ListJobsResponse {
@@ -2163,80 +2237,6 @@ export interface ListTasksResponse {
2163
2237
  tasks: TaskSummary[] | undefined;
2164
2238
  nextToken?: string | undefined;
2165
2239
  }
2166
- export declare const UpdateJobLifecycleStatus: {
2167
- readonly ARCHIVED: "ARCHIVED";
2168
- };
2169
- export type UpdateJobLifecycleStatus =
2170
- (typeof UpdateJobLifecycleStatus)[keyof typeof UpdateJobLifecycleStatus];
2171
- export interface UpdateJobRequest {
2172
- clientToken?: string | undefined;
2173
- farmId: string | undefined;
2174
- queueId: string | undefined;
2175
- jobId: string | undefined;
2176
- targetTaskRunStatus?: JobTargetTaskRunStatus | undefined;
2177
- priority?: number | undefined;
2178
- maxFailedTasksCount?: number | undefined;
2179
- maxRetriesPerTask?: number | undefined;
2180
- lifecycleStatus?: UpdateJobLifecycleStatus | undefined;
2181
- }
2182
- export interface UpdateJobResponse {}
2183
- export interface UpdateSessionRequest {
2184
- clientToken?: string | undefined;
2185
- farmId: string | undefined;
2186
- queueId: string | undefined;
2187
- jobId: string | undefined;
2188
- sessionId: string | undefined;
2189
- targetLifecycleStatus: SessionLifecycleTargetStatus | undefined;
2190
- }
2191
- export interface UpdateSessionResponse {}
2192
- export interface UpdateStepRequest {
2193
- clientToken?: string | undefined;
2194
- farmId: string | undefined;
2195
- queueId: string | undefined;
2196
- jobId: string | undefined;
2197
- stepId: string | undefined;
2198
- targetTaskRunStatus: StepTargetTaskRunStatus | undefined;
2199
- }
2200
- export interface UpdateStepResponse {}
2201
- export interface UpdateTaskRequest {
2202
- clientToken?: string | undefined;
2203
- farmId: string | undefined;
2204
- queueId: string | undefined;
2205
- jobId: string | undefined;
2206
- stepId: string | undefined;
2207
- taskId: string | undefined;
2208
- targetRunStatus: TaskTargetRunStatus | undefined;
2209
- }
2210
- export interface UpdateTaskResponse {}
2211
- export interface ListQueueEnvironmentsRequest {
2212
- farmId: string | undefined;
2213
- queueId: string | undefined;
2214
- nextToken?: string | undefined;
2215
- maxResults?: number | undefined;
2216
- }
2217
- export interface QueueEnvironmentSummary {
2218
- queueEnvironmentId: string | undefined;
2219
- name: string | undefined;
2220
- priority: number | undefined;
2221
- }
2222
- export interface ListQueueEnvironmentsResponse {
2223
- environments: QueueEnvironmentSummary[] | undefined;
2224
- nextToken?: string | undefined;
2225
- }
2226
- export interface ListQueueMembersRequest {
2227
- farmId: string | undefined;
2228
- queueId: string | undefined;
2229
- nextToken?: string | undefined;
2230
- maxResults?: number | undefined;
2231
- }
2232
- export interface QueueMember {
2233
- farmId: string | undefined;
2234
- queueId: string | undefined;
2235
- principalId: string | undefined;
2236
- principalType: DeadlinePrincipalType | undefined;
2237
- identityStoreId: string | undefined;
2238
- membershipLevel: MembershipLevel | undefined;
2239
- }
2240
2240
  export declare const TaskParameterValueFilterSensitiveLog: (
2241
2241
  obj: TaskParameterValue
2242
2242
  ) => any;
@@ -2323,6 +2323,9 @@ export declare const CreateFleetRequestFilterSensitiveLog: (
2323
2323
  export declare const CreateJobRequestFilterSensitiveLog: (
2324
2324
  obj: CreateJobRequest
2325
2325
  ) => any;
2326
+ export declare const CreateLimitRequestFilterSensitiveLog: (
2327
+ obj: CreateLimitRequest
2328
+ ) => any;
2326
2329
  export declare const CreateQueueRequestFilterSensitiveLog: (
2327
2330
  obj: CreateQueueRequest
2328
2331
  ) => any;
@@ -2353,6 +2356,9 @@ export declare const UpdateWorkerScheduleResponseFilterSensitiveLog: (
2353
2356
  export declare const GetFarmResponseFilterSensitiveLog: (
2354
2357
  obj: GetFarmResponse
2355
2358
  ) => any;
2359
+ export declare const GetLimitResponseFilterSensitiveLog: (
2360
+ obj: GetLimitResponse
2361
+ ) => any;
2356
2362
  export declare const GetStorageProfileResponseFilterSensitiveLog: (
2357
2363
  obj: GetStorageProfileResponse
2358
2364
  ) => any;
@@ -1,6 +1,7 @@
1
1
  import {
2
2
  ComparisonOperator,
3
3
  DateTimeFilterExpression,
4
+ DeadlinePrincipalType,
4
5
  DefaultQueueBudgetAction,
5
6
  EnvironmentTemplateType,
6
7
  FileSystemLocation,
@@ -10,10 +11,11 @@ import {
10
11
  JobParameter,
11
12
  JobRunAsUser,
12
13
  JobTargetTaskRunStatus,
14
+ MembershipLevel,
13
15
  ParameterSpace,
14
16
  QueueBlockedReason,
15
- QueueMember,
16
17
  QueueStatus,
18
+ SessionLifecycleTargetStatus,
17
19
  StepLifecycleStatus,
18
20
  StepTargetTaskRunStatus,
19
21
  StorageProfileOperatingSystemFamily,
@@ -23,6 +25,81 @@ import {
23
25
  TaskTargetRunStatus,
24
26
  WorkerStatus,
25
27
  } from "./models_0";
28
+ export declare const UpdateJobLifecycleStatus: {
29
+ readonly ARCHIVED: "ARCHIVED";
30
+ };
31
+ export type UpdateJobLifecycleStatus =
32
+ (typeof UpdateJobLifecycleStatus)[keyof typeof UpdateJobLifecycleStatus];
33
+ export interface UpdateJobRequest {
34
+ clientToken?: string | undefined;
35
+ targetTaskRunStatus?: JobTargetTaskRunStatus | undefined;
36
+ priority?: number | undefined;
37
+ maxFailedTasksCount?: number | undefined;
38
+ maxRetriesPerTask?: number | undefined;
39
+ lifecycleStatus?: UpdateJobLifecycleStatus | undefined;
40
+ maxWorkerCount?: number | undefined;
41
+ farmId: string | undefined;
42
+ queueId: string | undefined;
43
+ jobId: string | undefined;
44
+ }
45
+ export interface UpdateJobResponse {}
46
+ export interface UpdateSessionRequest {
47
+ clientToken?: string | undefined;
48
+ targetLifecycleStatus: SessionLifecycleTargetStatus | undefined;
49
+ farmId: string | undefined;
50
+ queueId: string | undefined;
51
+ jobId: string | undefined;
52
+ sessionId: string | undefined;
53
+ }
54
+ export interface UpdateSessionResponse {}
55
+ export interface UpdateStepRequest {
56
+ targetTaskRunStatus: StepTargetTaskRunStatus | undefined;
57
+ clientToken?: string | undefined;
58
+ farmId: string | undefined;
59
+ queueId: string | undefined;
60
+ jobId: string | undefined;
61
+ stepId: string | undefined;
62
+ }
63
+ export interface UpdateStepResponse {}
64
+ export interface UpdateTaskRequest {
65
+ clientToken?: string | undefined;
66
+ targetRunStatus: TaskTargetRunStatus | undefined;
67
+ farmId: string | undefined;
68
+ queueId: string | undefined;
69
+ jobId: string | undefined;
70
+ stepId: string | undefined;
71
+ taskId: string | undefined;
72
+ }
73
+ export interface UpdateTaskResponse {}
74
+ export interface ListQueueEnvironmentsRequest {
75
+ farmId: string | undefined;
76
+ queueId: string | undefined;
77
+ nextToken?: string | undefined;
78
+ maxResults?: number | undefined;
79
+ }
80
+ export interface QueueEnvironmentSummary {
81
+ queueEnvironmentId: string | undefined;
82
+ name: string | undefined;
83
+ priority: number | undefined;
84
+ }
85
+ export interface ListQueueEnvironmentsResponse {
86
+ environments: QueueEnvironmentSummary[] | undefined;
87
+ nextToken?: string | undefined;
88
+ }
89
+ export interface ListQueueMembersRequest {
90
+ farmId: string | undefined;
91
+ queueId: string | undefined;
92
+ nextToken?: string | undefined;
93
+ maxResults?: number | undefined;
94
+ }
95
+ export interface QueueMember {
96
+ farmId: string | undefined;
97
+ queueId: string | undefined;
98
+ principalId: string | undefined;
99
+ principalType: DeadlinePrincipalType | undefined;
100
+ identityStoreId: string | undefined;
101
+ membershipLevel: MembershipLevel | undefined;
102
+ }
26
103
  export interface ListQueueMembersResponse {
27
104
  members: QueueMember[] | undefined;
28
105
  nextToken?: string | undefined;
@@ -92,6 +169,14 @@ export interface UpdateFarmRequest {
92
169
  description?: string | undefined;
93
170
  }
94
171
  export interface UpdateFarmResponse {}
172
+ export interface UpdateLimitRequest {
173
+ farmId: string | undefined;
174
+ limitId: string | undefined;
175
+ displayName?: string | undefined;
176
+ description?: string | undefined;
177
+ maxCount?: number | undefined;
178
+ }
179
+ export interface UpdateLimitResponse {}
95
180
  export interface UpdateStorageProfileRequest {
96
181
  clientToken?: string | undefined;
97
182
  farmId: string | undefined;
@@ -124,6 +209,28 @@ export interface GetQueueFleetAssociationResponse {
124
209
  updatedAt?: Date | undefined;
125
210
  updatedBy?: string | undefined;
126
211
  }
212
+ export interface GetQueueLimitAssociationRequest {
213
+ farmId: string | undefined;
214
+ queueId: string | undefined;
215
+ limitId: string | undefined;
216
+ }
217
+ export declare const QueueLimitAssociationStatus: {
218
+ readonly ACTIVE: "ACTIVE";
219
+ readonly STOPPED: "STOPPED";
220
+ readonly STOP_LIMIT_USAGE_AND_CANCEL_TASKS: "STOP_LIMIT_USAGE_AND_CANCEL_TASKS";
221
+ readonly STOP_LIMIT_USAGE_AND_COMPLETE_TASKS: "STOP_LIMIT_USAGE_AND_COMPLETE_TASKS";
222
+ };
223
+ export type QueueLimitAssociationStatus =
224
+ (typeof QueueLimitAssociationStatus)[keyof typeof QueueLimitAssociationStatus];
225
+ export interface GetQueueLimitAssociationResponse {
226
+ createdAt: Date | undefined;
227
+ createdBy: string | undefined;
228
+ updatedAt?: Date | undefined;
229
+ updatedBy?: string | undefined;
230
+ queueId: string | undefined;
231
+ limitId: string | undefined;
232
+ status: QueueLimitAssociationStatus | undefined;
233
+ }
127
234
  export interface GetSessionsStatisticsAggregationRequest {
128
235
  farmId: string | undefined;
129
236
  aggregationId: string | undefined;
@@ -261,6 +368,26 @@ export interface ListQueueFleetAssociationsResponse {
261
368
  queueFleetAssociations: QueueFleetAssociationSummary[] | undefined;
262
369
  nextToken?: string | undefined;
263
370
  }
371
+ export interface ListQueueLimitAssociationsRequest {
372
+ farmId: string | undefined;
373
+ queueId?: string | undefined;
374
+ limitId?: string | undefined;
375
+ nextToken?: string | undefined;
376
+ maxResults?: number | undefined;
377
+ }
378
+ export interface QueueLimitAssociationSummary {
379
+ createdAt: Date | undefined;
380
+ createdBy: string | undefined;
381
+ updatedAt?: Date | undefined;
382
+ updatedBy?: string | undefined;
383
+ queueId: string | undefined;
384
+ limitId: string | undefined;
385
+ status: QueueLimitAssociationStatus | undefined;
386
+ }
387
+ export interface ListQueueLimitAssociationsResponse {
388
+ queueLimitAssociations: QueueLimitAssociationSummary[] | undefined;
389
+ nextToken?: string | undefined;
390
+ }
264
391
  export interface ListTagsForResourceRequest {
265
392
  resourceArn: string | undefined;
266
393
  }
@@ -405,6 +532,7 @@ export interface JobSearchSummary {
405
532
  endedAt?: Date | undefined;
406
533
  startedAt?: Date | undefined;
407
534
  jobParameters?: Record<string, JobParameter> | undefined;
535
+ maxWorkerCount?: number | undefined;
408
536
  sourceJobId?: string | undefined;
409
537
  }
410
538
  export interface SearchJobsResponse {
@@ -557,6 +685,20 @@ export interface UpdateQueueFleetAssociationRequest {
557
685
  status: UpdateQueueFleetAssociationStatus | undefined;
558
686
  }
559
687
  export interface UpdateQueueFleetAssociationResponse {}
688
+ export declare const UpdateQueueLimitAssociationStatus: {
689
+ readonly ACTIVE: "ACTIVE";
690
+ readonly STOP_LIMIT_USAGE_AND_CANCEL_TASKS: "STOP_LIMIT_USAGE_AND_CANCEL_TASKS";
691
+ readonly STOP_LIMIT_USAGE_AND_COMPLETE_TASKS: "STOP_LIMIT_USAGE_AND_COMPLETE_TASKS";
692
+ };
693
+ export type UpdateQueueLimitAssociationStatus =
694
+ (typeof UpdateQueueLimitAssociationStatus)[keyof typeof UpdateQueueLimitAssociationStatus];
695
+ export interface UpdateQueueLimitAssociationRequest {
696
+ farmId: string | undefined;
697
+ queueId: string | undefined;
698
+ limitId: string | undefined;
699
+ status: UpdateQueueLimitAssociationStatus | undefined;
700
+ }
701
+ export interface UpdateQueueLimitAssociationResponse {}
560
702
  export type SearchFilterExpression =
561
703
  | SearchFilterExpression.DateTimeFilterMember
562
704
  | SearchFilterExpression.GroupFilterMember
@@ -670,6 +812,9 @@ export declare const UpdateQueueEnvironmentRequestFilterSensitiveLog: (
670
812
  export declare const UpdateFarmRequestFilterSensitiveLog: (
671
813
  obj: UpdateFarmRequest
672
814
  ) => any;
815
+ export declare const UpdateLimitRequestFilterSensitiveLog: (
816
+ obj: UpdateLimitRequest
817
+ ) => any;
673
818
  export declare const UpdateStorageProfileRequestFilterSensitiveLog: (
674
819
  obj: UpdateStorageProfileRequest
675
820
  ) => any;
@@ -0,0 +1,11 @@
1
+ import { Paginator } from "@smithy/types";
2
+ import {
3
+ ListLimitsCommandInput,
4
+ ListLimitsCommandOutput,
5
+ } from "../commands/ListLimitsCommand";
6
+ import { DeadlinePaginationConfiguration } from "./Interfaces";
7
+ export declare const paginateListLimits: (
8
+ config: DeadlinePaginationConfiguration,
9
+ input: ListLimitsCommandInput,
10
+ ...rest: any[]
11
+ ) => Paginator<ListLimitsCommandOutput>;
@@ -0,0 +1,11 @@
1
+ import { Paginator } from "@smithy/types";
2
+ import {
3
+ ListQueueLimitAssociationsCommandInput,
4
+ ListQueueLimitAssociationsCommandOutput,
5
+ } from "../commands/ListQueueLimitAssociationsCommand";
6
+ import { DeadlinePaginationConfiguration } from "./Interfaces";
7
+ export declare const paginateListQueueLimitAssociations: (
8
+ config: DeadlinePaginationConfiguration,
9
+ input: ListQueueLimitAssociationsCommandInput,
10
+ ...rest: any[]
11
+ ) => Paginator<ListQueueLimitAssociationsCommandOutput>;