@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,96 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { DeadlineClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DeadlineClient";
4
+ import { DeleteQueueLimitAssociationRequest, DeleteQueueLimitAssociationResponse } from "../models/models_0";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link DeleteQueueLimitAssociationCommand}.
14
+ */
15
+ export interface DeleteQueueLimitAssociationCommandInput extends DeleteQueueLimitAssociationRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link DeleteQueueLimitAssociationCommand}.
21
+ */
22
+ export interface DeleteQueueLimitAssociationCommandOutput extends DeleteQueueLimitAssociationResponse, __MetadataBearer {
23
+ }
24
+ declare const DeleteQueueLimitAssociationCommand_base: {
25
+ new (input: DeleteQueueLimitAssociationCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteQueueLimitAssociationCommandInput, DeleteQueueLimitAssociationCommandOutput, DeadlineClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (__0_0: DeleteQueueLimitAssociationCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteQueueLimitAssociationCommandInput, DeleteQueueLimitAssociationCommandOutput, DeadlineClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Removes the association between a queue and a limit. You must use the
31
+ * <code>UpdateQueueLimitAssociation</code> operation to set the status to
32
+ * <code>STOP_LIMIT_USAGE_AND_COMPLETE_TASKS</code> or
33
+ * <code>STOP_LIMIT_USAGE_AND_CANCEL_TASKS</code>. The status does not change immediately.
34
+ * Use the <code>GetQueueLimitAssociation</code> operation to see if the status changed to
35
+ * <code>STOPPED</code> before deleting the association.</p>
36
+ * @example
37
+ * Use a bare-bones client and the command you need to make an API call.
38
+ * ```javascript
39
+ * import { DeadlineClient, DeleteQueueLimitAssociationCommand } from "@aws-sdk/client-deadline"; // ES Modules import
40
+ * // const { DeadlineClient, DeleteQueueLimitAssociationCommand } = require("@aws-sdk/client-deadline"); // CommonJS import
41
+ * const client = new DeadlineClient(config);
42
+ * const input = { // DeleteQueueLimitAssociationRequest
43
+ * farmId: "STRING_VALUE", // required
44
+ * queueId: "STRING_VALUE", // required
45
+ * limitId: "STRING_VALUE", // required
46
+ * };
47
+ * const command = new DeleteQueueLimitAssociationCommand(input);
48
+ * const response = await client.send(command);
49
+ * // {};
50
+ *
51
+ * ```
52
+ *
53
+ * @param DeleteQueueLimitAssociationCommandInput - {@link DeleteQueueLimitAssociationCommandInput}
54
+ * @returns {@link DeleteQueueLimitAssociationCommandOutput}
55
+ * @see {@link DeleteQueueLimitAssociationCommandInput} for command's `input` shape.
56
+ * @see {@link DeleteQueueLimitAssociationCommandOutput} for command's `response` shape.
57
+ * @see {@link DeadlineClientResolvedConfig | config} for DeadlineClient's `config` shape.
58
+ *
59
+ * @throws {@link AccessDeniedException} (client fault)
60
+ * <p>You don't have permission to perform the action.</p>
61
+ *
62
+ * @throws {@link ConflictException} (client fault)
63
+ * <p>Your request has conflicting operations. This can occur if you're trying to perform more
64
+ * than one operation on the same resource at the same time.</p>
65
+ *
66
+ * @throws {@link InternalServerErrorException} (server fault)
67
+ * <p>Deadline Cloud can't process your request right now. Try again later.</p>
68
+ *
69
+ * @throws {@link ResourceNotFoundException} (client fault)
70
+ * <p>The requested resource can't be found.</p>
71
+ *
72
+ * @throws {@link ThrottlingException} (client fault)
73
+ * <p>Your request exceeded a request rate quota.</p>
74
+ *
75
+ * @throws {@link ValidationException} (client fault)
76
+ * <p>The request isn't valid. This can occur if your request contains malformed JSON or
77
+ * unsupported characters.</p>
78
+ *
79
+ * @throws {@link DeadlineServiceException}
80
+ * <p>Base exception class for all service exceptions from Deadline service.</p>
81
+ *
82
+ * @public
83
+ */
84
+ export declare class DeleteQueueLimitAssociationCommand extends DeleteQueueLimitAssociationCommand_base {
85
+ /** @internal type navigation helper, not in runtime. */
86
+ protected static __types: {
87
+ api: {
88
+ input: DeleteQueueLimitAssociationRequest;
89
+ output: {};
90
+ };
91
+ sdk: {
92
+ input: DeleteQueueLimitAssociationCommandInput;
93
+ output: DeleteQueueLimitAssociationCommandOutput;
94
+ };
95
+ };
96
+ }
@@ -36,8 +36,8 @@ declare const GetJobCommand_base: {
36
36
  * const client = new DeadlineClient(config);
37
37
  * const input = { // GetJobRequest
38
38
  * farmId: "STRING_VALUE", // required
39
- * jobId: "STRING_VALUE", // required
40
39
  * queueId: "STRING_VALUE", // required
40
+ * jobId: "STRING_VALUE", // required
41
41
  * };
42
42
  * const command = new GetJobCommand(input);
43
43
  * const response = await client.send(command);
@@ -85,6 +85,7 @@ declare const GetJobCommand_base: {
85
85
  * // fileSystem: "COPIED" || "VIRTUAL",
86
86
  * // },
87
87
  * // description: "STRING_VALUE",
88
+ * // maxWorkerCount: Number("int"),
88
89
  * // sourceJobId: "STRING_VALUE",
89
90
  * // };
90
91
  *
@@ -0,0 +1,98 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { DeadlineClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DeadlineClient";
4
+ import { GetLimitRequest, GetLimitResponse } from "../models/models_0";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link GetLimitCommand}.
14
+ */
15
+ export interface GetLimitCommandInput extends GetLimitRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link GetLimitCommand}.
21
+ */
22
+ export interface GetLimitCommandOutput extends GetLimitResponse, __MetadataBearer {
23
+ }
24
+ declare const GetLimitCommand_base: {
25
+ new (input: GetLimitCommandInput): import("@smithy/smithy-client").CommandImpl<GetLimitCommandInput, GetLimitCommandOutput, DeadlineClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (__0_0: GetLimitCommandInput): import("@smithy/smithy-client").CommandImpl<GetLimitCommandInput, GetLimitCommandOutput, DeadlineClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Gets information about a specific limit.</p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { DeadlineClient, GetLimitCommand } from "@aws-sdk/client-deadline"; // ES Modules import
35
+ * // const { DeadlineClient, GetLimitCommand } = require("@aws-sdk/client-deadline"); // CommonJS import
36
+ * const client = new DeadlineClient(config);
37
+ * const input = { // GetLimitRequest
38
+ * farmId: "STRING_VALUE", // required
39
+ * limitId: "STRING_VALUE", // required
40
+ * };
41
+ * const command = new GetLimitCommand(input);
42
+ * const response = await client.send(command);
43
+ * // { // GetLimitResponse
44
+ * // displayName: "STRING_VALUE", // required
45
+ * // amountRequirementName: "STRING_VALUE", // required
46
+ * // maxCount: Number("int"), // required
47
+ * // createdAt: new Date("TIMESTAMP"), // required
48
+ * // createdBy: "STRING_VALUE", // required
49
+ * // updatedAt: new Date("TIMESTAMP"),
50
+ * // updatedBy: "STRING_VALUE",
51
+ * // farmId: "STRING_VALUE", // required
52
+ * // limitId: "STRING_VALUE", // required
53
+ * // currentCount: Number("int"), // required
54
+ * // description: "STRING_VALUE",
55
+ * // };
56
+ *
57
+ * ```
58
+ *
59
+ * @param GetLimitCommandInput - {@link GetLimitCommandInput}
60
+ * @returns {@link GetLimitCommandOutput}
61
+ * @see {@link GetLimitCommandInput} for command's `input` shape.
62
+ * @see {@link GetLimitCommandOutput} for command's `response` shape.
63
+ * @see {@link DeadlineClientResolvedConfig | config} for DeadlineClient's `config` shape.
64
+ *
65
+ * @throws {@link AccessDeniedException} (client fault)
66
+ * <p>You don't have permission to perform the action.</p>
67
+ *
68
+ * @throws {@link InternalServerErrorException} (server fault)
69
+ * <p>Deadline Cloud can't process your request right now. Try again later.</p>
70
+ *
71
+ * @throws {@link ResourceNotFoundException} (client fault)
72
+ * <p>The requested resource can't be found.</p>
73
+ *
74
+ * @throws {@link ThrottlingException} (client fault)
75
+ * <p>Your request exceeded a request rate quota.</p>
76
+ *
77
+ * @throws {@link ValidationException} (client fault)
78
+ * <p>The request isn't valid. This can occur if your request contains malformed JSON or
79
+ * unsupported characters.</p>
80
+ *
81
+ * @throws {@link DeadlineServiceException}
82
+ * <p>Base exception class for all service exceptions from Deadline service.</p>
83
+ *
84
+ * @public
85
+ */
86
+ export declare class GetLimitCommand extends GetLimitCommand_base {
87
+ /** @internal type navigation helper, not in runtime. */
88
+ protected static __types: {
89
+ api: {
90
+ input: GetLimitRequest;
91
+ output: GetLimitResponse;
92
+ };
93
+ sdk: {
94
+ input: GetLimitCommandInput;
95
+ output: GetLimitCommandOutput;
96
+ };
97
+ };
98
+ }
@@ -0,0 +1,95 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { DeadlineClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DeadlineClient";
4
+ import { GetQueueLimitAssociationRequest, GetQueueLimitAssociationResponse } from "../models/models_1";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link GetQueueLimitAssociationCommand}.
14
+ */
15
+ export interface GetQueueLimitAssociationCommandInput extends GetQueueLimitAssociationRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link GetQueueLimitAssociationCommand}.
21
+ */
22
+ export interface GetQueueLimitAssociationCommandOutput extends GetQueueLimitAssociationResponse, __MetadataBearer {
23
+ }
24
+ declare const GetQueueLimitAssociationCommand_base: {
25
+ new (input: GetQueueLimitAssociationCommandInput): import("@smithy/smithy-client").CommandImpl<GetQueueLimitAssociationCommandInput, GetQueueLimitAssociationCommandOutput, DeadlineClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (__0_0: GetQueueLimitAssociationCommandInput): import("@smithy/smithy-client").CommandImpl<GetQueueLimitAssociationCommandInput, GetQueueLimitAssociationCommandOutput, DeadlineClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Gets information about a specific association between a queue and a limit.</p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { DeadlineClient, GetQueueLimitAssociationCommand } from "@aws-sdk/client-deadline"; // ES Modules import
35
+ * // const { DeadlineClient, GetQueueLimitAssociationCommand } = require("@aws-sdk/client-deadline"); // CommonJS import
36
+ * const client = new DeadlineClient(config);
37
+ * const input = { // GetQueueLimitAssociationRequest
38
+ * farmId: "STRING_VALUE", // required
39
+ * queueId: "STRING_VALUE", // required
40
+ * limitId: "STRING_VALUE", // required
41
+ * };
42
+ * const command = new GetQueueLimitAssociationCommand(input);
43
+ * const response = await client.send(command);
44
+ * // { // GetQueueLimitAssociationResponse
45
+ * // createdAt: new Date("TIMESTAMP"), // required
46
+ * // createdBy: "STRING_VALUE", // required
47
+ * // updatedAt: new Date("TIMESTAMP"),
48
+ * // updatedBy: "STRING_VALUE",
49
+ * // queueId: "STRING_VALUE", // required
50
+ * // limitId: "STRING_VALUE", // required
51
+ * // status: "ACTIVE" || "STOP_LIMIT_USAGE_AND_COMPLETE_TASKS" || "STOP_LIMIT_USAGE_AND_CANCEL_TASKS" || "STOPPED", // required
52
+ * // };
53
+ *
54
+ * ```
55
+ *
56
+ * @param GetQueueLimitAssociationCommandInput - {@link GetQueueLimitAssociationCommandInput}
57
+ * @returns {@link GetQueueLimitAssociationCommandOutput}
58
+ * @see {@link GetQueueLimitAssociationCommandInput} for command's `input` shape.
59
+ * @see {@link GetQueueLimitAssociationCommandOutput} for command's `response` shape.
60
+ * @see {@link DeadlineClientResolvedConfig | config} for DeadlineClient's `config` shape.
61
+ *
62
+ * @throws {@link AccessDeniedException} (client fault)
63
+ * <p>You don't have permission to perform the action.</p>
64
+ *
65
+ * @throws {@link InternalServerErrorException} (server fault)
66
+ * <p>Deadline Cloud can't process your request right now. Try again later.</p>
67
+ *
68
+ * @throws {@link ResourceNotFoundException} (client fault)
69
+ * <p>The requested resource can't be found.</p>
70
+ *
71
+ * @throws {@link ThrottlingException} (client fault)
72
+ * <p>Your request exceeded a request rate quota.</p>
73
+ *
74
+ * @throws {@link ValidationException} (client fault)
75
+ * <p>The request isn't valid. This can occur if your request contains malformed JSON or
76
+ * unsupported characters.</p>
77
+ *
78
+ * @throws {@link DeadlineServiceException}
79
+ * <p>Base exception class for all service exceptions from Deadline service.</p>
80
+ *
81
+ * @public
82
+ */
83
+ export declare class GetQueueLimitAssociationCommand extends GetQueueLimitAssociationCommand_base {
84
+ /** @internal type navigation helper, not in runtime. */
85
+ protected static __types: {
86
+ api: {
87
+ input: GetQueueLimitAssociationRequest;
88
+ output: GetQueueLimitAssociationResponse;
89
+ };
90
+ sdk: {
91
+ input: GetQueueLimitAssociationCommandInput;
92
+ output: GetQueueLimitAssociationCommandOutput;
93
+ };
94
+ };
95
+ }
@@ -75,6 +75,12 @@ declare const GetSessionActionCommand_base: {
75
75
  * // stepId: "STRING_VALUE",
76
76
  * // },
77
77
  * // },
78
+ * // acquiredLimits: [ // AcquiredLimits
79
+ * // { // AcquiredLimit
80
+ * // limitId: "STRING_VALUE", // required
81
+ * // count: Number("int"), // required
82
+ * // },
83
+ * // ],
78
84
  * // };
79
85
  *
80
86
  * ```
@@ -42,9 +42,9 @@ declare const GetWorkerCommand_base: {
42
42
  * const command = new GetWorkerCommand(input);
43
43
  * const response = await client.send(command);
44
44
  * // { // GetWorkerResponse
45
- * // workerId: "STRING_VALUE", // required
46
45
  * // farmId: "STRING_VALUE", // required
47
46
  * // fleetId: "STRING_VALUE", // required
47
+ * // workerId: "STRING_VALUE", // required
48
48
  * // hostProperties: { // HostPropertiesResponse
49
49
  * // ipAddresses: { // IpAddresses
50
50
  * // ipV4Addresses: [ // IpV4Addresses
@@ -64,6 +64,7 @@ declare const ListJobsCommand_base: {
64
64
  * // },
65
65
  * // maxFailedTasksCount: Number("int"),
66
66
  * // maxRetriesPerTask: Number("int"),
67
+ * // maxWorkerCount: Number("int"),
67
68
  * // sourceJobId: "STRING_VALUE",
68
69
  * // },
69
70
  * // ],
@@ -0,0 +1,103 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { DeadlineClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DeadlineClient";
4
+ import { ListLimitsRequest, ListLimitsResponse } from "../models/models_0";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link ListLimitsCommand}.
14
+ */
15
+ export interface ListLimitsCommandInput extends ListLimitsRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link ListLimitsCommand}.
21
+ */
22
+ export interface ListLimitsCommandOutput extends ListLimitsResponse, __MetadataBearer {
23
+ }
24
+ declare const ListLimitsCommand_base: {
25
+ new (input: ListLimitsCommandInput): import("@smithy/smithy-client").CommandImpl<ListLimitsCommandInput, ListLimitsCommandOutput, DeadlineClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (__0_0: ListLimitsCommandInput): import("@smithy/smithy-client").CommandImpl<ListLimitsCommandInput, ListLimitsCommandOutput, DeadlineClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Gets a list of limits defined in the specified farm.</p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { DeadlineClient, ListLimitsCommand } from "@aws-sdk/client-deadline"; // ES Modules import
35
+ * // const { DeadlineClient, ListLimitsCommand } = require("@aws-sdk/client-deadline"); // CommonJS import
36
+ * const client = new DeadlineClient(config);
37
+ * const input = { // ListLimitsRequest
38
+ * farmId: "STRING_VALUE", // required
39
+ * nextToken: "STRING_VALUE",
40
+ * maxResults: Number("int"),
41
+ * };
42
+ * const command = new ListLimitsCommand(input);
43
+ * const response = await client.send(command);
44
+ * // { // ListLimitsResponse
45
+ * // limits: [ // LimitSummaries // required
46
+ * // { // LimitSummary
47
+ * // displayName: "STRING_VALUE", // required
48
+ * // amountRequirementName: "STRING_VALUE", // required
49
+ * // maxCount: Number("int"), // required
50
+ * // createdAt: new Date("TIMESTAMP"), // required
51
+ * // createdBy: "STRING_VALUE", // required
52
+ * // updatedAt: new Date("TIMESTAMP"),
53
+ * // updatedBy: "STRING_VALUE",
54
+ * // farmId: "STRING_VALUE", // required
55
+ * // limitId: "STRING_VALUE", // required
56
+ * // currentCount: Number("int"), // required
57
+ * // },
58
+ * // ],
59
+ * // nextToken: "STRING_VALUE",
60
+ * // };
61
+ *
62
+ * ```
63
+ *
64
+ * @param ListLimitsCommandInput - {@link ListLimitsCommandInput}
65
+ * @returns {@link ListLimitsCommandOutput}
66
+ * @see {@link ListLimitsCommandInput} for command's `input` shape.
67
+ * @see {@link ListLimitsCommandOutput} for command's `response` shape.
68
+ * @see {@link DeadlineClientResolvedConfig | config} for DeadlineClient's `config` shape.
69
+ *
70
+ * @throws {@link AccessDeniedException} (client fault)
71
+ * <p>You don't have permission to perform the action.</p>
72
+ *
73
+ * @throws {@link InternalServerErrorException} (server fault)
74
+ * <p>Deadline Cloud can't process your request right now. Try again later.</p>
75
+ *
76
+ * @throws {@link ResourceNotFoundException} (client fault)
77
+ * <p>The requested resource can't be found.</p>
78
+ *
79
+ * @throws {@link ThrottlingException} (client fault)
80
+ * <p>Your request exceeded a request rate quota.</p>
81
+ *
82
+ * @throws {@link ValidationException} (client fault)
83
+ * <p>The request isn't valid. This can occur if your request contains malformed JSON or
84
+ * unsupported characters.</p>
85
+ *
86
+ * @throws {@link DeadlineServiceException}
87
+ * <p>Base exception class for all service exceptions from Deadline service.</p>
88
+ *
89
+ * @public
90
+ */
91
+ export declare class ListLimitsCommand extends ListLimitsCommand_base {
92
+ /** @internal type navigation helper, not in runtime. */
93
+ protected static __types: {
94
+ api: {
95
+ input: ListLimitsRequest;
96
+ output: ListLimitsResponse;
97
+ };
98
+ sdk: {
99
+ input: ListLimitsCommandInput;
100
+ output: ListLimitsCommandOutput;
101
+ };
102
+ };
103
+ }
@@ -1,7 +1,7 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import { DeadlineClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DeadlineClient";
4
- import { ListQueueEnvironmentsRequest, ListQueueEnvironmentsResponse } from "../models/models_0";
4
+ import { ListQueueEnvironmentsRequest, ListQueueEnvironmentsResponse } from "../models/models_1";
5
5
  /**
6
6
  * @public
7
7
  */
@@ -0,0 +1,98 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { DeadlineClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DeadlineClient";
4
+ import { ListQueueLimitAssociationsRequest, ListQueueLimitAssociationsResponse } from "../models/models_1";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link ListQueueLimitAssociationsCommand}.
14
+ */
15
+ export interface ListQueueLimitAssociationsCommandInput extends ListQueueLimitAssociationsRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link ListQueueLimitAssociationsCommand}.
21
+ */
22
+ export interface ListQueueLimitAssociationsCommandOutput extends ListQueueLimitAssociationsResponse, __MetadataBearer {
23
+ }
24
+ declare const ListQueueLimitAssociationsCommand_base: {
25
+ new (input: ListQueueLimitAssociationsCommandInput): import("@smithy/smithy-client").CommandImpl<ListQueueLimitAssociationsCommandInput, ListQueueLimitAssociationsCommandOutput, DeadlineClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (__0_0: ListQueueLimitAssociationsCommandInput): import("@smithy/smithy-client").CommandImpl<ListQueueLimitAssociationsCommandInput, ListQueueLimitAssociationsCommandOutput, DeadlineClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Gets a list of the associations between queues and limits defined in a farm.</p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { DeadlineClient, ListQueueLimitAssociationsCommand } from "@aws-sdk/client-deadline"; // ES Modules import
35
+ * // const { DeadlineClient, ListQueueLimitAssociationsCommand } = require("@aws-sdk/client-deadline"); // CommonJS import
36
+ * const client = new DeadlineClient(config);
37
+ * const input = { // ListQueueLimitAssociationsRequest
38
+ * farmId: "STRING_VALUE", // required
39
+ * queueId: "STRING_VALUE",
40
+ * limitId: "STRING_VALUE",
41
+ * nextToken: "STRING_VALUE",
42
+ * maxResults: Number("int"),
43
+ * };
44
+ * const command = new ListQueueLimitAssociationsCommand(input);
45
+ * const response = await client.send(command);
46
+ * // { // ListQueueLimitAssociationsResponse
47
+ * // queueLimitAssociations: [ // QueueLimitAssociationSummaries // required
48
+ * // { // QueueLimitAssociationSummary
49
+ * // createdAt: new Date("TIMESTAMP"), // required
50
+ * // createdBy: "STRING_VALUE", // required
51
+ * // updatedAt: new Date("TIMESTAMP"),
52
+ * // updatedBy: "STRING_VALUE",
53
+ * // queueId: "STRING_VALUE", // required
54
+ * // limitId: "STRING_VALUE", // required
55
+ * // status: "ACTIVE" || "STOP_LIMIT_USAGE_AND_COMPLETE_TASKS" || "STOP_LIMIT_USAGE_AND_CANCEL_TASKS" || "STOPPED", // required
56
+ * // },
57
+ * // ],
58
+ * // nextToken: "STRING_VALUE",
59
+ * // };
60
+ *
61
+ * ```
62
+ *
63
+ * @param ListQueueLimitAssociationsCommandInput - {@link ListQueueLimitAssociationsCommandInput}
64
+ * @returns {@link ListQueueLimitAssociationsCommandOutput}
65
+ * @see {@link ListQueueLimitAssociationsCommandInput} for command's `input` shape.
66
+ * @see {@link ListQueueLimitAssociationsCommandOutput} for command's `response` shape.
67
+ * @see {@link DeadlineClientResolvedConfig | config} for DeadlineClient's `config` shape.
68
+ *
69
+ * @throws {@link AccessDeniedException} (client fault)
70
+ * <p>You don't have permission to perform the action.</p>
71
+ *
72
+ * @throws {@link InternalServerErrorException} (server fault)
73
+ * <p>Deadline Cloud can't process your request right now. Try again later.</p>
74
+ *
75
+ * @throws {@link ResourceNotFoundException} (client fault)
76
+ * <p>The requested resource can't be found.</p>
77
+ *
78
+ * @throws {@link ThrottlingException} (client fault)
79
+ * <p>Your request exceeded a request rate quota.</p>
80
+ *
81
+ * @throws {@link DeadlineServiceException}
82
+ * <p>Base exception class for all service exceptions from Deadline service.</p>
83
+ *
84
+ * @public
85
+ */
86
+ export declare class ListQueueLimitAssociationsCommand extends ListQueueLimitAssociationsCommand_base {
87
+ /** @internal type navigation helper, not in runtime. */
88
+ protected static __types: {
89
+ api: {
90
+ input: ListQueueLimitAssociationsRequest;
91
+ output: ListQueueLimitAssociationsResponse;
92
+ };
93
+ sdk: {
94
+ input: ListQueueLimitAssociationsCommandInput;
95
+ output: ListQueueLimitAssociationsCommandOutput;
96
+ };
97
+ };
98
+ }
@@ -1,8 +1,7 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import { DeadlineClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DeadlineClient";
4
- import { ListQueueMembersRequest } from "../models/models_0";
5
- import { ListQueueMembersResponse } from "../models/models_1";
4
+ import { ListQueueMembersRequest, ListQueueMembersResponse } from "../models/models_1";
6
5
  /**
7
6
  * @public
8
7
  */
@@ -138,6 +138,7 @@ declare const SearchJobsCommand_base: {
138
138
  * // path: "STRING_VALUE",
139
139
  * // },
140
140
  * // },
141
+ * // maxWorkerCount: Number("int"),
141
142
  * // sourceJobId: "STRING_VALUE",
142
143
  * // },
143
144
  * // ],
@@ -1,7 +1,7 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import { DeadlineClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DeadlineClient";
4
- import { UpdateJobRequest, UpdateJobResponse } from "../models/models_0";
4
+ import { UpdateJobRequest, UpdateJobResponse } from "../models/models_1";
5
5
  /**
6
6
  * @public
7
7
  */
@@ -42,14 +42,15 @@ declare const UpdateJobCommand_base: {
42
42
  * const client = new DeadlineClient(config);
43
43
  * const input = { // UpdateJobRequest
44
44
  * clientToken: "STRING_VALUE",
45
- * farmId: "STRING_VALUE", // required
46
- * queueId: "STRING_VALUE", // required
47
- * jobId: "STRING_VALUE", // required
48
45
  * targetTaskRunStatus: "READY" || "FAILED" || "SUCCEEDED" || "CANCELED" || "SUSPENDED" || "PENDING",
49
46
  * priority: Number("int"),
50
47
  * maxFailedTasksCount: Number("int"),
51
48
  * maxRetriesPerTask: Number("int"),
52
49
  * lifecycleStatus: "ARCHIVED",
50
+ * maxWorkerCount: Number("int"),
51
+ * farmId: "STRING_VALUE", // required
52
+ * queueId: "STRING_VALUE", // required
53
+ * jobId: "STRING_VALUE", // required
53
54
  * };
54
55
  * const command = new UpdateJobCommand(input);
55
56
  * const response = await client.send(command);