@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
@@ -6,5 +6,6 @@ tslib_1.__exportStar(require("./waitForJobCreateComplete"), exports);
6
6
  tslib_1.__exportStar(require("./waitForLicenseEndpointDeleted"), exports);
7
7
  tslib_1.__exportStar(require("./waitForLicenseEndpointValid"), exports);
8
8
  tslib_1.__exportStar(require("./waitForQueueFleetAssociationStopped"), exports);
9
+ tslib_1.__exportStar(require("./waitForQueueLimitAssociationStopped"), exports);
9
10
  tslib_1.__exportStar(require("./waitForQueueScheduling"), exports);
10
11
  tslib_1.__exportStar(require("./waitForQueueSchedulingBlocked"), exports);
@@ -0,0 +1,36 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.waitUntilQueueLimitAssociationStopped = exports.waitForQueueLimitAssociationStopped = void 0;
4
+ const util_waiter_1 = require("@smithy/util-waiter");
5
+ const GetQueueLimitAssociationCommand_1 = require("../commands/GetQueueLimitAssociationCommand");
6
+ const checkState = async (client, input) => {
7
+ let reason;
8
+ try {
9
+ const result = await client.send(new GetQueueLimitAssociationCommand_1.GetQueueLimitAssociationCommand(input));
10
+ reason = result;
11
+ try {
12
+ const returnComparator = () => {
13
+ return result.status;
14
+ };
15
+ if (returnComparator() === "STOPPED") {
16
+ return { state: util_waiter_1.WaiterState.SUCCESS, reason };
17
+ }
18
+ }
19
+ catch (e) { }
20
+ }
21
+ catch (exception) {
22
+ reason = exception;
23
+ }
24
+ return { state: util_waiter_1.WaiterState.RETRY, reason };
25
+ };
26
+ const waitForQueueLimitAssociationStopped = async (params, input) => {
27
+ const serviceDefaults = { minDelay: 10, maxDelay: 600 };
28
+ return (0, util_waiter_1.createWaiter)({ ...serviceDefaults, ...params }, input, checkState);
29
+ };
30
+ exports.waitForQueueLimitAssociationStopped = waitForQueueLimitAssociationStopped;
31
+ const waitUntilQueueLimitAssociationStopped = async (params, input) => {
32
+ const serviceDefaults = { minDelay: 10, maxDelay: 600 };
33
+ const result = await (0, util_waiter_1.createWaiter)({ ...serviceDefaults, ...params }, input, checkState);
34
+ return (0, util_waiter_1.checkExceptions)(result);
35
+ };
36
+ exports.waitUntilQueueLimitAssociationStopped = waitUntilQueueLimitAssociationStopped;
@@ -15,21 +15,25 @@ import { CreateFarmCommand } from "./commands/CreateFarmCommand";
15
15
  import { CreateFleetCommand } from "./commands/CreateFleetCommand";
16
16
  import { CreateJobCommand } from "./commands/CreateJobCommand";
17
17
  import { CreateLicenseEndpointCommand, } from "./commands/CreateLicenseEndpointCommand";
18
+ import { CreateLimitCommand } from "./commands/CreateLimitCommand";
18
19
  import { CreateMonitorCommand, } from "./commands/CreateMonitorCommand";
19
20
  import { CreateQueueCommand } from "./commands/CreateQueueCommand";
20
21
  import { CreateQueueEnvironmentCommand, } from "./commands/CreateQueueEnvironmentCommand";
21
22
  import { CreateQueueFleetAssociationCommand, } from "./commands/CreateQueueFleetAssociationCommand";
23
+ import { CreateQueueLimitAssociationCommand, } from "./commands/CreateQueueLimitAssociationCommand";
22
24
  import { CreateStorageProfileCommand, } from "./commands/CreateStorageProfileCommand";
23
25
  import { CreateWorkerCommand, } from "./commands/CreateWorkerCommand";
24
26
  import { DeleteBudgetCommand, } from "./commands/DeleteBudgetCommand";
25
27
  import { DeleteFarmCommand } from "./commands/DeleteFarmCommand";
26
28
  import { DeleteFleetCommand } from "./commands/DeleteFleetCommand";
27
29
  import { DeleteLicenseEndpointCommand, } from "./commands/DeleteLicenseEndpointCommand";
30
+ import { DeleteLimitCommand } from "./commands/DeleteLimitCommand";
28
31
  import { DeleteMeteredProductCommand, } from "./commands/DeleteMeteredProductCommand";
29
32
  import { DeleteMonitorCommand, } from "./commands/DeleteMonitorCommand";
30
33
  import { DeleteQueueCommand } from "./commands/DeleteQueueCommand";
31
34
  import { DeleteQueueEnvironmentCommand, } from "./commands/DeleteQueueEnvironmentCommand";
32
35
  import { DeleteQueueFleetAssociationCommand, } from "./commands/DeleteQueueFleetAssociationCommand";
36
+ import { DeleteQueueLimitAssociationCommand, } from "./commands/DeleteQueueLimitAssociationCommand";
33
37
  import { DeleteStorageProfileCommand, } from "./commands/DeleteStorageProfileCommand";
34
38
  import { DeleteWorkerCommand, } from "./commands/DeleteWorkerCommand";
35
39
  import { DisassociateMemberFromFarmCommand, } from "./commands/DisassociateMemberFromFarmCommand";
@@ -41,10 +45,12 @@ import { GetFarmCommand } from "./commands/GetFarmCommand";
41
45
  import { GetFleetCommand } from "./commands/GetFleetCommand";
42
46
  import { GetJobCommand } from "./commands/GetJobCommand";
43
47
  import { GetLicenseEndpointCommand, } from "./commands/GetLicenseEndpointCommand";
48
+ import { GetLimitCommand } from "./commands/GetLimitCommand";
44
49
  import { GetMonitorCommand } from "./commands/GetMonitorCommand";
45
50
  import { GetQueueCommand } from "./commands/GetQueueCommand";
46
51
  import { GetQueueEnvironmentCommand, } from "./commands/GetQueueEnvironmentCommand";
47
52
  import { GetQueueFleetAssociationCommand, } from "./commands/GetQueueFleetAssociationCommand";
53
+ import { GetQueueLimitAssociationCommand, } from "./commands/GetQueueLimitAssociationCommand";
48
54
  import { GetSessionActionCommand, } from "./commands/GetSessionActionCommand";
49
55
  import { GetSessionCommand } from "./commands/GetSessionCommand";
50
56
  import { GetSessionsStatisticsAggregationCommand, } from "./commands/GetSessionsStatisticsAggregationCommand";
@@ -63,10 +69,12 @@ import { ListJobMembersCommand, } from "./commands/ListJobMembersCommand";
63
69
  import { ListJobParameterDefinitionsCommand, } from "./commands/ListJobParameterDefinitionsCommand";
64
70
  import { ListJobsCommand } from "./commands/ListJobsCommand";
65
71
  import { ListLicenseEndpointsCommand, } from "./commands/ListLicenseEndpointsCommand";
72
+ import { ListLimitsCommand } from "./commands/ListLimitsCommand";
66
73
  import { ListMeteredProductsCommand, } from "./commands/ListMeteredProductsCommand";
67
74
  import { ListMonitorsCommand, } from "./commands/ListMonitorsCommand";
68
75
  import { ListQueueEnvironmentsCommand, } from "./commands/ListQueueEnvironmentsCommand";
69
76
  import { ListQueueFleetAssociationsCommand, } from "./commands/ListQueueFleetAssociationsCommand";
77
+ import { ListQueueLimitAssociationsCommand, } from "./commands/ListQueueLimitAssociationsCommand";
70
78
  import { ListQueueMembersCommand, } from "./commands/ListQueueMembersCommand";
71
79
  import { ListQueuesCommand } from "./commands/ListQueuesCommand";
72
80
  import { ListSessionActionsCommand, } from "./commands/ListSessionActionsCommand";
@@ -92,10 +100,12 @@ import { UpdateBudgetCommand, } from "./commands/UpdateBudgetCommand";
92
100
  import { UpdateFarmCommand } from "./commands/UpdateFarmCommand";
93
101
  import { UpdateFleetCommand } from "./commands/UpdateFleetCommand";
94
102
  import { UpdateJobCommand } from "./commands/UpdateJobCommand";
103
+ import { UpdateLimitCommand } from "./commands/UpdateLimitCommand";
95
104
  import { UpdateMonitorCommand, } from "./commands/UpdateMonitorCommand";
96
105
  import { UpdateQueueCommand } from "./commands/UpdateQueueCommand";
97
106
  import { UpdateQueueEnvironmentCommand, } from "./commands/UpdateQueueEnvironmentCommand";
98
107
  import { UpdateQueueFleetAssociationCommand, } from "./commands/UpdateQueueFleetAssociationCommand";
108
+ import { UpdateQueueLimitAssociationCommand, } from "./commands/UpdateQueueLimitAssociationCommand";
99
109
  import { UpdateSessionCommand, } from "./commands/UpdateSessionCommand";
100
110
  import { UpdateStepCommand } from "./commands/UpdateStepCommand";
101
111
  import { UpdateStorageProfileCommand, } from "./commands/UpdateStorageProfileCommand";
@@ -120,21 +130,25 @@ const commands = {
120
130
  CreateFleetCommand,
121
131
  CreateJobCommand,
122
132
  CreateLicenseEndpointCommand,
133
+ CreateLimitCommand,
123
134
  CreateMonitorCommand,
124
135
  CreateQueueCommand,
125
136
  CreateQueueEnvironmentCommand,
126
137
  CreateQueueFleetAssociationCommand,
138
+ CreateQueueLimitAssociationCommand,
127
139
  CreateStorageProfileCommand,
128
140
  CreateWorkerCommand,
129
141
  DeleteBudgetCommand,
130
142
  DeleteFarmCommand,
131
143
  DeleteFleetCommand,
132
144
  DeleteLicenseEndpointCommand,
145
+ DeleteLimitCommand,
133
146
  DeleteMeteredProductCommand,
134
147
  DeleteMonitorCommand,
135
148
  DeleteQueueCommand,
136
149
  DeleteQueueEnvironmentCommand,
137
150
  DeleteQueueFleetAssociationCommand,
151
+ DeleteQueueLimitAssociationCommand,
138
152
  DeleteStorageProfileCommand,
139
153
  DeleteWorkerCommand,
140
154
  DisassociateMemberFromFarmCommand,
@@ -146,10 +160,12 @@ const commands = {
146
160
  GetFleetCommand,
147
161
  GetJobCommand,
148
162
  GetLicenseEndpointCommand,
163
+ GetLimitCommand,
149
164
  GetMonitorCommand,
150
165
  GetQueueCommand,
151
166
  GetQueueEnvironmentCommand,
152
167
  GetQueueFleetAssociationCommand,
168
+ GetQueueLimitAssociationCommand,
153
169
  GetSessionCommand,
154
170
  GetSessionActionCommand,
155
171
  GetSessionsStatisticsAggregationCommand,
@@ -168,10 +184,12 @@ const commands = {
168
184
  ListJobParameterDefinitionsCommand,
169
185
  ListJobsCommand,
170
186
  ListLicenseEndpointsCommand,
187
+ ListLimitsCommand,
171
188
  ListMeteredProductsCommand,
172
189
  ListMonitorsCommand,
173
190
  ListQueueEnvironmentsCommand,
174
191
  ListQueueFleetAssociationsCommand,
192
+ ListQueueLimitAssociationsCommand,
175
193
  ListQueueMembersCommand,
176
194
  ListQueuesCommand,
177
195
  ListSessionActionsCommand,
@@ -197,10 +215,12 @@ const commands = {
197
215
  UpdateFarmCommand,
198
216
  UpdateFleetCommand,
199
217
  UpdateJobCommand,
218
+ UpdateLimitCommand,
200
219
  UpdateMonitorCommand,
201
220
  UpdateQueueCommand,
202
221
  UpdateQueueEnvironmentCommand,
203
222
  UpdateQueueFleetAssociationCommand,
223
+ UpdateQueueLimitAssociationCommand,
204
224
  UpdateSessionCommand,
205
225
  UpdateStepCommand,
206
226
  UpdateStorageProfileCommand,
@@ -0,0 +1,23 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { CreateLimitRequestFilterSensitiveLog } from "../models/models_0";
6
+ import { de_CreateLimitCommand, se_CreateLimitCommand } from "../protocols/Aws_restJson1";
7
+ export { $Command };
8
+ export class CreateLimitCommand extends $Command
9
+ .classBuilder()
10
+ .ep(commonParams)
11
+ .m(function (Command, cs, config, o) {
12
+ return [
13
+ getSerdePlugin(config, this.serialize, this.deserialize),
14
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
15
+ ];
16
+ })
17
+ .s("Deadline", "CreateLimit", {})
18
+ .n("DeadlineClient", "CreateLimitCommand")
19
+ .f(CreateLimitRequestFilterSensitiveLog, void 0)
20
+ .ser(se_CreateLimitCommand)
21
+ .de(de_CreateLimitCommand)
22
+ .build() {
23
+ }
@@ -0,0 +1,22 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { de_CreateQueueLimitAssociationCommand, se_CreateQueueLimitAssociationCommand, } from "../protocols/Aws_restJson1";
6
+ export { $Command };
7
+ export class CreateQueueLimitAssociationCommand extends $Command
8
+ .classBuilder()
9
+ .ep(commonParams)
10
+ .m(function (Command, cs, config, o) {
11
+ return [
12
+ getSerdePlugin(config, this.serialize, this.deserialize),
13
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
+ ];
15
+ })
16
+ .s("Deadline", "CreateQueueLimitAssociation", {})
17
+ .n("DeadlineClient", "CreateQueueLimitAssociationCommand")
18
+ .f(void 0, void 0)
19
+ .ser(se_CreateQueueLimitAssociationCommand)
20
+ .de(de_CreateQueueLimitAssociationCommand)
21
+ .build() {
22
+ }
@@ -0,0 +1,22 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { de_DeleteLimitCommand, se_DeleteLimitCommand } from "../protocols/Aws_restJson1";
6
+ export { $Command };
7
+ export class DeleteLimitCommand extends $Command
8
+ .classBuilder()
9
+ .ep(commonParams)
10
+ .m(function (Command, cs, config, o) {
11
+ return [
12
+ getSerdePlugin(config, this.serialize, this.deserialize),
13
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
+ ];
15
+ })
16
+ .s("Deadline", "DeleteLimit", {})
17
+ .n("DeadlineClient", "DeleteLimitCommand")
18
+ .f(void 0, void 0)
19
+ .ser(se_DeleteLimitCommand)
20
+ .de(de_DeleteLimitCommand)
21
+ .build() {
22
+ }
@@ -0,0 +1,22 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { de_DeleteQueueLimitAssociationCommand, se_DeleteQueueLimitAssociationCommand, } from "../protocols/Aws_restJson1";
6
+ export { $Command };
7
+ export class DeleteQueueLimitAssociationCommand extends $Command
8
+ .classBuilder()
9
+ .ep(commonParams)
10
+ .m(function (Command, cs, config, o) {
11
+ return [
12
+ getSerdePlugin(config, this.serialize, this.deserialize),
13
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
+ ];
15
+ })
16
+ .s("Deadline", "DeleteQueueLimitAssociation", {})
17
+ .n("DeadlineClient", "DeleteQueueLimitAssociationCommand")
18
+ .f(void 0, void 0)
19
+ .ser(se_DeleteQueueLimitAssociationCommand)
20
+ .de(de_DeleteQueueLimitAssociationCommand)
21
+ .build() {
22
+ }
@@ -0,0 +1,23 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { GetLimitResponseFilterSensitiveLog } from "../models/models_0";
6
+ import { de_GetLimitCommand, se_GetLimitCommand } from "../protocols/Aws_restJson1";
7
+ export { $Command };
8
+ export class GetLimitCommand extends $Command
9
+ .classBuilder()
10
+ .ep(commonParams)
11
+ .m(function (Command, cs, config, o) {
12
+ return [
13
+ getSerdePlugin(config, this.serialize, this.deserialize),
14
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
15
+ ];
16
+ })
17
+ .s("Deadline", "GetLimit", {})
18
+ .n("DeadlineClient", "GetLimitCommand")
19
+ .f(void 0, GetLimitResponseFilterSensitiveLog)
20
+ .ser(se_GetLimitCommand)
21
+ .de(de_GetLimitCommand)
22
+ .build() {
23
+ }
@@ -0,0 +1,22 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { de_GetQueueLimitAssociationCommand, se_GetQueueLimitAssociationCommand } from "../protocols/Aws_restJson1";
6
+ export { $Command };
7
+ export class GetQueueLimitAssociationCommand extends $Command
8
+ .classBuilder()
9
+ .ep(commonParams)
10
+ .m(function (Command, cs, config, o) {
11
+ return [
12
+ getSerdePlugin(config, this.serialize, this.deserialize),
13
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
+ ];
15
+ })
16
+ .s("Deadline", "GetQueueLimitAssociation", {})
17
+ .n("DeadlineClient", "GetQueueLimitAssociationCommand")
18
+ .f(void 0, void 0)
19
+ .ser(se_GetQueueLimitAssociationCommand)
20
+ .de(de_GetQueueLimitAssociationCommand)
21
+ .build() {
22
+ }
@@ -0,0 +1,22 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { de_ListLimitsCommand, se_ListLimitsCommand } from "../protocols/Aws_restJson1";
6
+ export { $Command };
7
+ export class ListLimitsCommand extends $Command
8
+ .classBuilder()
9
+ .ep(commonParams)
10
+ .m(function (Command, cs, config, o) {
11
+ return [
12
+ getSerdePlugin(config, this.serialize, this.deserialize),
13
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
+ ];
15
+ })
16
+ .s("Deadline", "ListLimits", {})
17
+ .n("DeadlineClient", "ListLimitsCommand")
18
+ .f(void 0, void 0)
19
+ .ser(se_ListLimitsCommand)
20
+ .de(de_ListLimitsCommand)
21
+ .build() {
22
+ }
@@ -0,0 +1,22 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { de_ListQueueLimitAssociationsCommand, se_ListQueueLimitAssociationsCommand } from "../protocols/Aws_restJson1";
6
+ export { $Command };
7
+ export class ListQueueLimitAssociationsCommand extends $Command
8
+ .classBuilder()
9
+ .ep(commonParams)
10
+ .m(function (Command, cs, config, o) {
11
+ return [
12
+ getSerdePlugin(config, this.serialize, this.deserialize),
13
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
+ ];
15
+ })
16
+ .s("Deadline", "ListQueueLimitAssociations", {})
17
+ .n("DeadlineClient", "ListQueueLimitAssociationsCommand")
18
+ .f(void 0, void 0)
19
+ .ser(se_ListQueueLimitAssociationsCommand)
20
+ .de(de_ListQueueLimitAssociationsCommand)
21
+ .build() {
22
+ }
@@ -0,0 +1,23 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { UpdateLimitRequestFilterSensitiveLog } from "../models/models_1";
6
+ import { de_UpdateLimitCommand, se_UpdateLimitCommand } from "../protocols/Aws_restJson1";
7
+ export { $Command };
8
+ export class UpdateLimitCommand extends $Command
9
+ .classBuilder()
10
+ .ep(commonParams)
11
+ .m(function (Command, cs, config, o) {
12
+ return [
13
+ getSerdePlugin(config, this.serialize, this.deserialize),
14
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
15
+ ];
16
+ })
17
+ .s("Deadline", "UpdateLimit", {})
18
+ .n("DeadlineClient", "UpdateLimitCommand")
19
+ .f(UpdateLimitRequestFilterSensitiveLog, void 0)
20
+ .ser(se_UpdateLimitCommand)
21
+ .de(de_UpdateLimitCommand)
22
+ .build() {
23
+ }
@@ -0,0 +1,22 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { de_UpdateQueueLimitAssociationCommand, se_UpdateQueueLimitAssociationCommand, } from "../protocols/Aws_restJson1";
6
+ export { $Command };
7
+ export class UpdateQueueLimitAssociationCommand extends $Command
8
+ .classBuilder()
9
+ .ep(commonParams)
10
+ .m(function (Command, cs, config, o) {
11
+ return [
12
+ getSerdePlugin(config, this.serialize, this.deserialize),
13
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
+ ];
15
+ })
16
+ .s("Deadline", "UpdateQueueLimitAssociation", {})
17
+ .n("DeadlineClient", "UpdateQueueLimitAssociationCommand")
18
+ .f(void 0, void 0)
19
+ .ser(se_UpdateQueueLimitAssociationCommand)
20
+ .de(de_UpdateQueueLimitAssociationCommand)
21
+ .build() {
22
+ }
@@ -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";
@@ -523,9 +523,6 @@ export const DependencyConsumerResolutionStatus = {
523
523
  RESOLVED: "RESOLVED",
524
524
  UNRESOLVED: "UNRESOLVED",
525
525
  };
526
- export const UpdateJobLifecycleStatus = {
527
- ARCHIVED: "ARCHIVED",
528
- };
529
526
  export const TaskParameterValueFilterSensitiveLog = (obj) => {
530
527
  if (obj.int !== undefined)
531
528
  return { int: obj.int };
@@ -687,6 +684,10 @@ export const CreateJobRequestFilterSensitiveLog = (obj) => ({
687
684
  ...(obj.parameters && { parameters: SENSITIVE_STRING }),
688
685
  ...(obj.attachments && { attachments: AttachmentsFilterSensitiveLog(obj.attachments) }),
689
686
  });
687
+ export const CreateLimitRequestFilterSensitiveLog = (obj) => ({
688
+ ...obj,
689
+ ...(obj.description && { description: SENSITIVE_STRING }),
690
+ });
690
691
  export const CreateQueueRequestFilterSensitiveLog = (obj) => ({
691
692
  ...obj,
692
693
  ...(obj.description && { description: SENSITIVE_STRING }),
@@ -734,6 +735,10 @@ export const GetFarmResponseFilterSensitiveLog = (obj) => ({
734
735
  ...obj,
735
736
  ...(obj.description && { description: SENSITIVE_STRING }),
736
737
  });
738
+ export const GetLimitResponseFilterSensitiveLog = (obj) => ({
739
+ ...obj,
740
+ ...(obj.description && { description: SENSITIVE_STRING }),
741
+ });
737
742
  export const GetStorageProfileResponseFilterSensitiveLog = (obj) => ({
738
743
  ...obj,
739
744
  ...(obj.fileSystemLocations && { fileSystemLocations: SENSITIVE_STRING }),
@@ -1,10 +1,19 @@
1
1
  import { SENSITIVE_STRING } from "@smithy/smithy-client";
2
+ export const UpdateJobLifecycleStatus = {
3
+ ARCHIVED: "ARCHIVED",
4
+ };
2
5
  export const QueueFleetAssociationStatus = {
3
6
  ACTIVE: "ACTIVE",
4
7
  STOPPED: "STOPPED",
5
8
  STOP_SCHEDULING_AND_CANCEL_TASKS: "STOP_SCHEDULING_AND_CANCEL_TASKS",
6
9
  STOP_SCHEDULING_AND_COMPLETE_TASKS: "STOP_SCHEDULING_AND_COMPLETE_TASKS",
7
10
  };
11
+ export const QueueLimitAssociationStatus = {
12
+ ACTIVE: "ACTIVE",
13
+ STOPPED: "STOPPED",
14
+ STOP_LIMIT_USAGE_AND_CANCEL_TASKS: "STOP_LIMIT_USAGE_AND_CANCEL_TASKS",
15
+ STOP_LIMIT_USAGE_AND_COMPLETE_TASKS: "STOP_LIMIT_USAGE_AND_COMPLETE_TASKS",
16
+ };
8
17
  export const UsageType = {
9
18
  COMPUTE: "COMPUTE",
10
19
  LICENSE: "LICENSE",
@@ -77,6 +86,11 @@ export const UpdateQueueFleetAssociationStatus = {
77
86
  STOP_SCHEDULING_AND_CANCEL_TASKS: "STOP_SCHEDULING_AND_CANCEL_TASKS",
78
87
  STOP_SCHEDULING_AND_COMPLETE_TASKS: "STOP_SCHEDULING_AND_COMPLETE_TASKS",
79
88
  };
89
+ export const UpdateQueueLimitAssociationStatus = {
90
+ ACTIVE: "ACTIVE",
91
+ STOP_LIMIT_USAGE_AND_CANCEL_TASKS: "STOP_LIMIT_USAGE_AND_CANCEL_TASKS",
92
+ STOP_LIMIT_USAGE_AND_COMPLETE_TASKS: "STOP_LIMIT_USAGE_AND_COMPLETE_TASKS",
93
+ };
80
94
  export var SearchFilterExpression;
81
95
  (function (SearchFilterExpression) {
82
96
  SearchFilterExpression.visit = (value, visitor) => {
@@ -107,6 +121,10 @@ export const UpdateFarmRequestFilterSensitiveLog = (obj) => ({
107
121
  ...obj,
108
122
  ...(obj.description && { description: SENSITIVE_STRING }),
109
123
  });
124
+ export const UpdateLimitRequestFilterSensitiveLog = (obj) => ({
125
+ ...obj,
126
+ ...(obj.description && { description: SENSITIVE_STRING }),
127
+ });
110
128
  export const UpdateStorageProfileRequestFilterSensitiveLog = (obj) => ({
111
129
  ...obj,
112
130
  ...(obj.fileSystemLocationsToAdd && { fileSystemLocationsToAdd: SENSITIVE_STRING }),
@@ -0,0 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
2
+ import { ListLimitsCommand } from "../commands/ListLimitsCommand";
3
+ import { DeadlineClient } from "../DeadlineClient";
4
+ export const paginateListLimits = createPaginator(DeadlineClient, ListLimitsCommand, "nextToken", "nextToken", "maxResults");
@@ -0,0 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
2
+ import { ListQueueLimitAssociationsCommand, } from "../commands/ListQueueLimitAssociationsCommand";
3
+ import { DeadlineClient } from "../DeadlineClient";
4
+ export const paginateListQueueLimitAssociations = createPaginator(DeadlineClient, ListQueueLimitAssociationsCommand, "nextToken", "nextToken", "maxResults");
@@ -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";