@aws-sdk/client-deadline 3.1024.0 → 3.1026.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 (83) hide show
  1. package/README.md +56 -0
  2. package/dist-cjs/index.js +274 -102
  3. package/dist-cjs/schemas/schemas_0.js +399 -44
  4. package/dist-es/Deadline.js +16 -0
  5. package/dist-es/commands/BatchGetJobCommand.js +16 -0
  6. package/dist-es/commands/BatchGetSessionActionCommand.js +16 -0
  7. package/dist-es/commands/BatchGetSessionCommand.js +16 -0
  8. package/dist-es/commands/BatchGetStepCommand.js +16 -0
  9. package/dist-es/commands/BatchGetTaskCommand.js +16 -0
  10. package/dist-es/commands/BatchGetWorkerCommand.js +16 -0
  11. package/dist-es/commands/BatchUpdateJobCommand.js +16 -0
  12. package/dist-es/commands/BatchUpdateTaskCommand.js +16 -0
  13. package/dist-es/commands/index.js +8 -0
  14. package/dist-es/models/enums.js +154 -102
  15. package/dist-es/schemas/schemas_0.js +388 -34
  16. package/dist-types/Deadline.d.ts +56 -0
  17. package/dist-types/DeadlineClient.d.ts +10 -2
  18. package/dist-types/commands/BatchGetJobCommand.d.ts +176 -0
  19. package/dist-types/commands/BatchGetSessionActionCommand.d.ts +180 -0
  20. package/dist-types/commands/BatchGetSessionCommand.d.ts +177 -0
  21. package/dist-types/commands/BatchGetStepCommand.d.ts +193 -0
  22. package/dist-types/commands/BatchGetTaskCommand.d.ts +160 -0
  23. package/dist-types/commands/BatchGetWorkerCommand.d.ts +159 -0
  24. package/dist-types/commands/BatchUpdateJobCommand.d.ts +135 -0
  25. package/dist-types/commands/BatchUpdateTaskCommand.d.ts +136 -0
  26. package/dist-types/commands/CreateMonitorCommand.d.ts +1 -0
  27. package/dist-types/commands/GetMonitorCommand.d.ts +1 -0
  28. package/dist-types/commands/GetQueueFleetAssociationCommand.d.ts +1 -1
  29. package/dist-types/commands/GetQueueLimitAssociationCommand.d.ts +1 -1
  30. package/dist-types/commands/GetSessionsStatisticsAggregationCommand.d.ts +1 -2
  31. package/dist-types/commands/ListMonitorsCommand.d.ts +1 -0
  32. package/dist-types/commands/ListQueueEnvironmentsCommand.d.ts +1 -1
  33. package/dist-types/commands/ListQueueMembersCommand.d.ts +1 -1
  34. package/dist-types/commands/ListQueuesCommand.d.ts +1 -1
  35. package/dist-types/commands/ListStorageProfilesForQueueCommand.d.ts +1 -1
  36. package/dist-types/commands/ListTasksCommand.d.ts +2 -1
  37. package/dist-types/commands/UpdateFarmCommand.d.ts +1 -1
  38. package/dist-types/commands/UpdateJobCommand.d.ts +1 -1
  39. package/dist-types/commands/UpdateLimitCommand.d.ts +1 -1
  40. package/dist-types/commands/UpdateQueueCommand.d.ts +1 -1
  41. package/dist-types/commands/UpdateQueueEnvironmentCommand.d.ts +1 -1
  42. package/dist-types/commands/UpdateSessionCommand.d.ts +1 -1
  43. package/dist-types/commands/UpdateStepCommand.d.ts +1 -1
  44. package/dist-types/commands/UpdateStorageProfileCommand.d.ts +1 -1
  45. package/dist-types/commands/UpdateTaskCommand.d.ts +1 -1
  46. package/dist-types/commands/index.d.ts +8 -0
  47. package/dist-types/models/enums.d.ts +310 -194
  48. package/dist-types/models/models_0.d.ts +3347 -3110
  49. package/dist-types/models/models_1.d.ts +1057 -2
  50. package/dist-types/schemas/schemas_0.d.ts +46 -0
  51. package/dist-types/ts3.4/Deadline.d.ts +136 -0
  52. package/dist-types/ts3.4/DeadlineClient.d.ts +48 -0
  53. package/dist-types/ts3.4/commands/BatchGetJobCommand.d.ts +47 -0
  54. package/dist-types/ts3.4/commands/BatchGetSessionActionCommand.d.ts +51 -0
  55. package/dist-types/ts3.4/commands/BatchGetSessionCommand.d.ts +50 -0
  56. package/dist-types/ts3.4/commands/BatchGetStepCommand.d.ts +47 -0
  57. package/dist-types/ts3.4/commands/BatchGetTaskCommand.d.ts +47 -0
  58. package/dist-types/ts3.4/commands/BatchGetWorkerCommand.d.ts +50 -0
  59. package/dist-types/ts3.4/commands/BatchUpdateJobCommand.d.ts +50 -0
  60. package/dist-types/ts3.4/commands/BatchUpdateTaskCommand.d.ts +50 -0
  61. package/dist-types/ts3.4/commands/GetQueueFleetAssociationCommand.d.ts +1 -1
  62. package/dist-types/ts3.4/commands/GetQueueLimitAssociationCommand.d.ts +1 -1
  63. package/dist-types/ts3.4/commands/GetSessionsStatisticsAggregationCommand.d.ts +4 -2
  64. package/dist-types/ts3.4/commands/ListQueueEnvironmentsCommand.d.ts +1 -1
  65. package/dist-types/ts3.4/commands/ListQueueMembersCommand.d.ts +1 -1
  66. package/dist-types/ts3.4/commands/ListQueuesCommand.d.ts +1 -1
  67. package/dist-types/ts3.4/commands/ListStorageProfilesForQueueCommand.d.ts +1 -1
  68. package/dist-types/ts3.4/commands/ListTasksCommand.d.ts +2 -1
  69. package/dist-types/ts3.4/commands/UpdateFarmCommand.d.ts +1 -1
  70. package/dist-types/ts3.4/commands/UpdateJobCommand.d.ts +1 -1
  71. package/dist-types/ts3.4/commands/UpdateLimitCommand.d.ts +1 -1
  72. package/dist-types/ts3.4/commands/UpdateQueueCommand.d.ts +1 -1
  73. package/dist-types/ts3.4/commands/UpdateQueueEnvironmentCommand.d.ts +1 -1
  74. package/dist-types/ts3.4/commands/UpdateSessionCommand.d.ts +1 -1
  75. package/dist-types/ts3.4/commands/UpdateStepCommand.d.ts +1 -1
  76. package/dist-types/ts3.4/commands/UpdateStorageProfileCommand.d.ts +1 -1
  77. package/dist-types/ts3.4/commands/UpdateTaskCommand.d.ts +1 -1
  78. package/dist-types/ts3.4/commands/index.d.ts +8 -0
  79. package/dist-types/ts3.4/models/enums.d.ts +194 -126
  80. package/dist-types/ts3.4/models/models_0.d.ts +583 -522
  81. package/dist-types/ts3.4/models/models_1.d.ts +251 -1
  82. package/dist-types/ts3.4/schemas/schemas_0.d.ts +46 -0
  83. package/package.json +34 -34
@@ -0,0 +1,159 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import type { DeadlineClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DeadlineClient";
4
+ import type { BatchGetWorkerRequest, BatchGetWorkerResponse } from "../models/models_0";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link BatchGetWorkerCommand}.
14
+ */
15
+ export interface BatchGetWorkerCommandInput extends BatchGetWorkerRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link BatchGetWorkerCommand}.
21
+ */
22
+ export interface BatchGetWorkerCommandOutput extends BatchGetWorkerResponse, __MetadataBearer {
23
+ }
24
+ declare const BatchGetWorkerCommand_base: {
25
+ new (input: BatchGetWorkerCommandInput): import("@smithy/smithy-client").CommandImpl<BatchGetWorkerCommandInput, BatchGetWorkerCommandOutput, DeadlineClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: BatchGetWorkerCommandInput): import("@smithy/smithy-client").CommandImpl<BatchGetWorkerCommandInput, BatchGetWorkerCommandOutput, DeadlineClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Retrieves multiple workers in a single request. This is a batch version of the <code>GetWorker</code> API.</p> <p>The result of getting each worker is reported individually in the response. Because the batch request can result in a combination of successful and unsuccessful actions, you should check for batch errors even when the call returns an HTTP status code of 200.</p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { DeadlineClient, BatchGetWorkerCommand } from "@aws-sdk/client-deadline"; // ES Modules import
35
+ * // const { DeadlineClient, BatchGetWorkerCommand } = require("@aws-sdk/client-deadline"); // CommonJS import
36
+ * // import type { DeadlineClientConfig } from "@aws-sdk/client-deadline";
37
+ * const config = {}; // type is DeadlineClientConfig
38
+ * const client = new DeadlineClient(config);
39
+ * const input = { // BatchGetWorkerRequest
40
+ * identifiers: [ // BatchGetWorkerIdentifiers // required
41
+ * { // BatchGetWorkerIdentifier
42
+ * farmId: "STRING_VALUE", // required
43
+ * fleetId: "STRING_VALUE", // required
44
+ * workerId: "STRING_VALUE", // required
45
+ * },
46
+ * ],
47
+ * };
48
+ * const command = new BatchGetWorkerCommand(input);
49
+ * const response = await client.send(command);
50
+ * // { // BatchGetWorkerResponse
51
+ * // workers: [ // BatchGetWorkerItems // required
52
+ * // { // BatchGetWorkerItem
53
+ * // farmId: "STRING_VALUE", // required
54
+ * // fleetId: "STRING_VALUE", // required
55
+ * // workerId: "STRING_VALUE", // required
56
+ * // hostProperties: { // HostPropertiesResponse
57
+ * // ipAddresses: { // IpAddresses
58
+ * // ipV4Addresses: [ // IpV4Addresses
59
+ * // "STRING_VALUE",
60
+ * // ],
61
+ * // ipV6Addresses: [ // IpV6Addresses
62
+ * // "STRING_VALUE",
63
+ * // ],
64
+ * // },
65
+ * // hostName: "STRING_VALUE",
66
+ * // ec2InstanceArn: "STRING_VALUE",
67
+ * // ec2InstanceType: "STRING_VALUE",
68
+ * // },
69
+ * // status: "CREATED" || "STARTED" || "STOPPING" || "STOPPED" || "NOT_RESPONDING" || "NOT_COMPATIBLE" || "RUNNING" || "IDLE", // required
70
+ * // log: { // LogConfiguration
71
+ * // logDriver: "STRING_VALUE", // required
72
+ * // options: { // LogOptions
73
+ * // "<keys>": "STRING_VALUE",
74
+ * // },
75
+ * // parameters: { // LogParameters
76
+ * // "<keys>": "STRING_VALUE",
77
+ * // },
78
+ * // error: "STRING_VALUE",
79
+ * // },
80
+ * // createdAt: new Date("TIMESTAMP"), // required
81
+ * // createdBy: "STRING_VALUE", // required
82
+ * // updatedAt: new Date("TIMESTAMP"),
83
+ * // updatedBy: "STRING_VALUE",
84
+ * // },
85
+ * // ],
86
+ * // errors: [ // BatchGetWorkerErrors // required
87
+ * // { // BatchGetWorkerError
88
+ * // farmId: "STRING_VALUE", // required
89
+ * // fleetId: "STRING_VALUE", // required
90
+ * // workerId: "STRING_VALUE", // required
91
+ * // code: "InternalServerErrorException" || "ResourceNotFoundException" || "ValidationException", // required
92
+ * // message: "STRING_VALUE", // required
93
+ * // },
94
+ * // ],
95
+ * // };
96
+ *
97
+ * ```
98
+ *
99
+ * @param BatchGetWorkerCommandInput - {@link BatchGetWorkerCommandInput}
100
+ * @returns {@link BatchGetWorkerCommandOutput}
101
+ * @see {@link BatchGetWorkerCommandInput} for command's `input` shape.
102
+ * @see {@link BatchGetWorkerCommandOutput} for command's `response` shape.
103
+ * @see {@link DeadlineClientResolvedConfig | config} for DeadlineClient's `config` shape.
104
+ *
105
+ * @throws {@link AccessDeniedException} (client fault)
106
+ * <p>You don't have permission to perform the action.</p>
107
+ *
108
+ * @throws {@link InternalServerErrorException} (server fault)
109
+ * <p>Deadline Cloud can't process your request right now. Try again later.</p>
110
+ *
111
+ * @throws {@link ThrottlingException} (client fault)
112
+ * <p>Your request exceeded a request rate quota.</p>
113
+ *
114
+ * @throws {@link ValidationException} (client fault)
115
+ * <p>The request isn't valid. This can occur if your request contains malformed JSON or unsupported characters.</p>
116
+ *
117
+ * @throws {@link DeadlineServiceException}
118
+ * <p>Base exception class for all service exceptions from Deadline service.</p>
119
+ *
120
+ *
121
+ * @example Get multiple workers in a single request
122
+ * ```javascript
123
+ * //
124
+ * const input = {
125
+ * identifiers: [
126
+ * {
127
+ * farmId: "farm-1234567890abcdef1234567890abcdef",
128
+ * fleetId: "fleet-1234567890abcdef1234567890abcdef",
129
+ * workerId: "worker-1234567890abcdef1234567890abcdef"
130
+ * },
131
+ * {
132
+ * farmId: "farm-1234567890abcdef1234567890abcdef",
133
+ * fleetId: "fleet-1234567890abcdef1234567890abcdef",
134
+ * workerId: "worker-234567890abcdef1234567890abcdef1"
135
+ * }
136
+ * ]
137
+ * };
138
+ * const command = new BatchGetWorkerCommand(input);
139
+ * const response = await client.send(command);
140
+ * /* response is
141
+ * { /* metadata only *\/ }
142
+ * *\/
143
+ * ```
144
+ *
145
+ * @public
146
+ */
147
+ export declare class BatchGetWorkerCommand extends BatchGetWorkerCommand_base {
148
+ /** @internal type navigation helper, not in runtime. */
149
+ protected static __types: {
150
+ api: {
151
+ input: BatchGetWorkerRequest;
152
+ output: BatchGetWorkerResponse;
153
+ };
154
+ sdk: {
155
+ input: BatchGetWorkerCommandInput;
156
+ output: BatchGetWorkerCommandOutput;
157
+ };
158
+ };
159
+ }
@@ -0,0 +1,135 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import type { DeadlineClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DeadlineClient";
4
+ import type { BatchUpdateJobRequest, BatchUpdateJobResponse } from "../models/models_0";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link BatchUpdateJobCommand}.
14
+ */
15
+ export interface BatchUpdateJobCommandInput extends BatchUpdateJobRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link BatchUpdateJobCommand}.
21
+ */
22
+ export interface BatchUpdateJobCommandOutput extends BatchUpdateJobResponse, __MetadataBearer {
23
+ }
24
+ declare const BatchUpdateJobCommand_base: {
25
+ new (input: BatchUpdateJobCommandInput): import("@smithy/smithy-client").CommandImpl<BatchUpdateJobCommandInput, BatchUpdateJobCommandOutput, DeadlineClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: BatchUpdateJobCommandInput): import("@smithy/smithy-client").CommandImpl<BatchUpdateJobCommandInput, BatchUpdateJobCommandOutput, DeadlineClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Updates multiple jobs in a single request. This is a batch version of the <code>UpdateJob</code> API.</p> <p>The result of updating each job is reported individually in the response. Because the batch request can result in a combination of successful and unsuccessful actions, you should check for batch errors even when the call returns an HTTP status code of 200.</p> <p>When you change the status of a job to <code>ARCHIVED</code>, the job can't be scheduled or archived.</p> <important> <p>An archived job and its steps and tasks are deleted after 120 days. The job can't be recovered.</p> </important>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { DeadlineClient, BatchUpdateJobCommand } from "@aws-sdk/client-deadline"; // ES Modules import
35
+ * // const { DeadlineClient, BatchUpdateJobCommand } = require("@aws-sdk/client-deadline"); // CommonJS import
36
+ * // import type { DeadlineClientConfig } from "@aws-sdk/client-deadline";
37
+ * const config = {}; // type is DeadlineClientConfig
38
+ * const client = new DeadlineClient(config);
39
+ * const input = { // BatchUpdateJobRequest
40
+ * clientToken: "STRING_VALUE",
41
+ * jobs: [ // BatchUpdateJobItems // required
42
+ * { // BatchUpdateJobItem
43
+ * farmId: "STRING_VALUE", // required
44
+ * queueId: "STRING_VALUE", // required
45
+ * jobId: "STRING_VALUE", // required
46
+ * targetTaskRunStatus: "READY" || "FAILED" || "SUCCEEDED" || "CANCELED" || "SUSPENDED" || "PENDING",
47
+ * priority: Number("int"),
48
+ * maxFailedTasksCount: Number("int"),
49
+ * maxRetriesPerTask: Number("int"),
50
+ * lifecycleStatus: "ARCHIVED",
51
+ * maxWorkerCount: Number("int"),
52
+ * name: "STRING_VALUE",
53
+ * description: "STRING_VALUE",
54
+ * },
55
+ * ],
56
+ * };
57
+ * const command = new BatchUpdateJobCommand(input);
58
+ * const response = await client.send(command);
59
+ * // { // BatchUpdateJobResponse
60
+ * // errors: [ // BatchUpdateJobErrors // required
61
+ * // { // BatchUpdateJobError
62
+ * // farmId: "STRING_VALUE", // required
63
+ * // queueId: "STRING_VALUE", // required
64
+ * // jobId: "STRING_VALUE", // required
65
+ * // code: "ConflictException" || "InternalServerErrorException" || "ResourceNotFoundException" || "ValidationException" || "AccessDeniedException" || "ThrottlingException", // required
66
+ * // message: "STRING_VALUE", // required
67
+ * // },
68
+ * // ],
69
+ * // };
70
+ *
71
+ * ```
72
+ *
73
+ * @param BatchUpdateJobCommandInput - {@link BatchUpdateJobCommandInput}
74
+ * @returns {@link BatchUpdateJobCommandOutput}
75
+ * @see {@link BatchUpdateJobCommandInput} for command's `input` shape.
76
+ * @see {@link BatchUpdateJobCommandOutput} for command's `response` shape.
77
+ * @see {@link DeadlineClientResolvedConfig | config} for DeadlineClient's `config` shape.
78
+ *
79
+ * @throws {@link AccessDeniedException} (client fault)
80
+ * <p>You don't have permission to perform the action.</p>
81
+ *
82
+ * @throws {@link InternalServerErrorException} (server fault)
83
+ * <p>Deadline Cloud can't process your request right now. Try again later.</p>
84
+ *
85
+ * @throws {@link ThrottlingException} (client fault)
86
+ * <p>Your request exceeded a request rate quota.</p>
87
+ *
88
+ * @throws {@link ValidationException} (client fault)
89
+ * <p>The request isn't valid. This can occur if your request contains malformed JSON or unsupported characters.</p>
90
+ *
91
+ * @throws {@link DeadlineServiceException}
92
+ * <p>Base exception class for all service exceptions from Deadline service.</p>
93
+ *
94
+ *
95
+ * @example Update multiple jobs in a single request
96
+ * ```javascript
97
+ * //
98
+ * const input = {
99
+ * jobs: [
100
+ * {
101
+ * farmId: "farm-1234567890abcdef1234567890abcdef",
102
+ * jobId: "job-1234567890abcdef1234567890abcdef",
103
+ * queueId: "queue-1234567890abcdef1234567890abcdef",
104
+ * targetTaskRunStatus: "FAILED"
105
+ * },
106
+ * {
107
+ * farmId: "farm-1234567890abcdef1234567890abcdef",
108
+ * jobId: "job-234567890abcdef1234567890abcdef1",
109
+ * queueId: "queue-1234567890abcdef1234567890abcdef",
110
+ * targetTaskRunStatus: "FAILED"
111
+ * }
112
+ * ]
113
+ * };
114
+ * const command = new BatchUpdateJobCommand(input);
115
+ * const response = await client.send(command);
116
+ * /* response is
117
+ * { /* metadata only *\/ }
118
+ * *\/
119
+ * ```
120
+ *
121
+ * @public
122
+ */
123
+ export declare class BatchUpdateJobCommand extends BatchUpdateJobCommand_base {
124
+ /** @internal type navigation helper, not in runtime. */
125
+ protected static __types: {
126
+ api: {
127
+ input: BatchUpdateJobRequest;
128
+ output: BatchUpdateJobResponse;
129
+ };
130
+ sdk: {
131
+ input: BatchUpdateJobCommandInput;
132
+ output: BatchUpdateJobCommandOutput;
133
+ };
134
+ };
135
+ }
@@ -0,0 +1,136 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import type { DeadlineClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DeadlineClient";
4
+ import type { BatchUpdateTaskRequest, BatchUpdateTaskResponse } from "../models/models_0";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link BatchUpdateTaskCommand}.
14
+ */
15
+ export interface BatchUpdateTaskCommandInput extends BatchUpdateTaskRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link BatchUpdateTaskCommand}.
21
+ */
22
+ export interface BatchUpdateTaskCommandOutput extends BatchUpdateTaskResponse, __MetadataBearer {
23
+ }
24
+ declare const BatchUpdateTaskCommand_base: {
25
+ new (input: BatchUpdateTaskCommandInput): import("@smithy/smithy-client").CommandImpl<BatchUpdateTaskCommandInput, BatchUpdateTaskCommandOutput, DeadlineClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: BatchUpdateTaskCommandInput): import("@smithy/smithy-client").CommandImpl<BatchUpdateTaskCommandInput, BatchUpdateTaskCommandOutput, DeadlineClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Updates multiple tasks in a single request. This is a batch version of the <code>UpdateTask</code> API.</p> <p>The result of updating each task is reported individually in the response. Because the batch request can result in a combination of successful and unsuccessful actions, you should check for batch errors even when the call returns an HTTP status code of 200.</p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { DeadlineClient, BatchUpdateTaskCommand } from "@aws-sdk/client-deadline"; // ES Modules import
35
+ * // const { DeadlineClient, BatchUpdateTaskCommand } = require("@aws-sdk/client-deadline"); // CommonJS import
36
+ * // import type { DeadlineClientConfig } from "@aws-sdk/client-deadline";
37
+ * const config = {}; // type is DeadlineClientConfig
38
+ * const client = new DeadlineClient(config);
39
+ * const input = { // BatchUpdateTaskRequest
40
+ * clientToken: "STRING_VALUE",
41
+ * tasks: [ // BatchUpdateTaskItems // required
42
+ * { // BatchUpdateTaskItem
43
+ * farmId: "STRING_VALUE", // required
44
+ * queueId: "STRING_VALUE", // required
45
+ * jobId: "STRING_VALUE", // required
46
+ * stepId: "STRING_VALUE", // required
47
+ * taskId: "STRING_VALUE", // required
48
+ * targetRunStatus: "READY" || "FAILED" || "SUCCEEDED" || "CANCELED" || "SUSPENDED" || "PENDING", // required
49
+ * },
50
+ * ],
51
+ * };
52
+ * const command = new BatchUpdateTaskCommand(input);
53
+ * const response = await client.send(command);
54
+ * // { // BatchUpdateTaskResponse
55
+ * // errors: [ // BatchUpdateTaskErrors // required
56
+ * // { // BatchUpdateTaskError
57
+ * // farmId: "STRING_VALUE", // required
58
+ * // queueId: "STRING_VALUE", // required
59
+ * // jobId: "STRING_VALUE", // required
60
+ * // stepId: "STRING_VALUE", // required
61
+ * // taskId: "STRING_VALUE", // required
62
+ * // code: "ConflictException" || "InternalServerErrorException" || "ResourceNotFoundException" || "ValidationException" || "AccessDeniedException" || "ThrottlingException", // required
63
+ * // message: "STRING_VALUE", // required
64
+ * // },
65
+ * // ],
66
+ * // };
67
+ *
68
+ * ```
69
+ *
70
+ * @param BatchUpdateTaskCommandInput - {@link BatchUpdateTaskCommandInput}
71
+ * @returns {@link BatchUpdateTaskCommandOutput}
72
+ * @see {@link BatchUpdateTaskCommandInput} for command's `input` shape.
73
+ * @see {@link BatchUpdateTaskCommandOutput} for command's `response` shape.
74
+ * @see {@link DeadlineClientResolvedConfig | config} for DeadlineClient's `config` shape.
75
+ *
76
+ * @throws {@link AccessDeniedException} (client fault)
77
+ * <p>You don't have permission to perform the action.</p>
78
+ *
79
+ * @throws {@link InternalServerErrorException} (server fault)
80
+ * <p>Deadline Cloud can't process your request right now. Try again later.</p>
81
+ *
82
+ * @throws {@link ThrottlingException} (client fault)
83
+ * <p>Your request exceeded a request rate quota.</p>
84
+ *
85
+ * @throws {@link ValidationException} (client fault)
86
+ * <p>The request isn't valid. This can occur if your request contains malformed JSON or unsupported characters.</p>
87
+ *
88
+ * @throws {@link DeadlineServiceException}
89
+ * <p>Base exception class for all service exceptions from Deadline service.</p>
90
+ *
91
+ *
92
+ * @example Update multiple tasks in a single request
93
+ * ```javascript
94
+ * //
95
+ * const input = {
96
+ * tasks: [
97
+ * {
98
+ * farmId: "farm-1234567890abcdef1234567890abcdef",
99
+ * jobId: "job-1234567890abcdef1234567890abcdef",
100
+ * queueId: "queue-1234567890abcdef1234567890abcdef",
101
+ * stepId: "step-1234567890abcdef1234567890abcdef",
102
+ * targetRunStatus: "FAILED",
103
+ * taskId: "task-1234567890abcdef1234567890abcdef-0"
104
+ * },
105
+ * {
106
+ * farmId: "farm-1234567890abcdef1234567890abcdef",
107
+ * jobId: "job-1234567890abcdef1234567890abcdef",
108
+ * queueId: "queue-1234567890abcdef1234567890abcdef",
109
+ * stepId: "step-1234567890abcdef1234567890abcdef",
110
+ * targetRunStatus: "FAILED",
111
+ * taskId: "task-1234567890abcdef1234567890abcdef-1"
112
+ * }
113
+ * ]
114
+ * };
115
+ * const command = new BatchUpdateTaskCommand(input);
116
+ * const response = await client.send(command);
117
+ * /* response is
118
+ * { /* metadata only *\/ }
119
+ * *\/
120
+ * ```
121
+ *
122
+ * @public
123
+ */
124
+ export declare class BatchUpdateTaskCommand extends BatchUpdateTaskCommand_base {
125
+ /** @internal type navigation helper, not in runtime. */
126
+ protected static __types: {
127
+ api: {
128
+ input: BatchUpdateTaskRequest;
129
+ output: BatchUpdateTaskResponse;
130
+ };
131
+ sdk: {
132
+ input: BatchUpdateTaskCommandInput;
133
+ output: BatchUpdateTaskCommandOutput;
134
+ };
135
+ };
136
+ }
@@ -40,6 +40,7 @@ declare const CreateMonitorCommand_base: {
40
40
  * clientToken: "STRING_VALUE",
41
41
  * displayName: "STRING_VALUE", // required
42
42
  * identityCenterInstanceArn: "STRING_VALUE", // required
43
+ * identityCenterRegion: "STRING_VALUE",
43
44
  * subdomain: "STRING_VALUE", // required
44
45
  * roleArn: "STRING_VALUE", // required
45
46
  * tags: { // Tags
@@ -48,6 +48,7 @@ declare const GetMonitorCommand_base: {
48
48
  * // url: "STRING_VALUE", // required
49
49
  * // roleArn: "STRING_VALUE", // required
50
50
  * // identityCenterInstanceArn: "STRING_VALUE", // required
51
+ * // identityCenterRegion: "STRING_VALUE",
51
52
  * // identityCenterApplicationArn: "STRING_VALUE", // required
52
53
  * // createdAt: new Date("TIMESTAMP"), // required
53
54
  * // createdBy: "STRING_VALUE", // required
@@ -1,7 +1,7 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import type { DeadlineClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DeadlineClient";
4
- import type { GetQueueFleetAssociationRequest, GetQueueFleetAssociationResponse } from "../models/models_0";
4
+ import type { GetQueueFleetAssociationRequest, GetQueueFleetAssociationResponse } from "../models/models_1";
5
5
  /**
6
6
  * @public
7
7
  */
@@ -1,7 +1,7 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import type { DeadlineClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DeadlineClient";
4
- import type { GetQueueLimitAssociationRequest, GetQueueLimitAssociationResponse } from "../models/models_0";
4
+ import type { GetQueueLimitAssociationRequest, GetQueueLimitAssociationResponse } from "../models/models_1";
5
5
  /**
6
6
  * @public
7
7
  */
@@ -1,8 +1,7 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import type { DeadlineClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DeadlineClient";
4
- import type { GetSessionsStatisticsAggregationRequest } from "../models/models_0";
5
- import type { GetSessionsStatisticsAggregationResponse } from "../models/models_1";
4
+ import type { GetSessionsStatisticsAggregationRequest, GetSessionsStatisticsAggregationResponse } from "../models/models_1";
6
5
  /**
7
6
  * @public
8
7
  */
@@ -51,6 +51,7 @@ declare const ListMonitorsCommand_base: {
51
51
  * // url: "STRING_VALUE", // required
52
52
  * // roleArn: "STRING_VALUE", // required
53
53
  * // identityCenterInstanceArn: "STRING_VALUE", // required
54
+ * // identityCenterRegion: "STRING_VALUE",
54
55
  * // identityCenterApplicationArn: "STRING_VALUE", // required
55
56
  * // createdAt: new Date("TIMESTAMP"), // required
56
57
  * // createdBy: "STRING_VALUE", // required
@@ -1,7 +1,7 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import type { DeadlineClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DeadlineClient";
4
- import type { ListQueueEnvironmentsRequest, ListQueueEnvironmentsResponse } from "../models/models_0";
4
+ import type { ListQueueEnvironmentsRequest, ListQueueEnvironmentsResponse } from "../models/models_1";
5
5
  /**
6
6
  * @public
7
7
  */
@@ -1,7 +1,7 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import type { DeadlineClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DeadlineClient";
4
- import type { ListQueueMembersRequest, ListQueueMembersResponse } from "../models/models_0";
4
+ import type { ListQueueMembersRequest, ListQueueMembersResponse } from "../models/models_1";
5
5
  /**
6
6
  * @public
7
7
  */
@@ -1,7 +1,7 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import type { DeadlineClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DeadlineClient";
4
- import type { ListQueuesRequest, ListQueuesResponse } from "../models/models_0";
4
+ import type { ListQueuesRequest, ListQueuesResponse } from "../models/models_1";
5
5
  /**
6
6
  * @public
7
7
  */
@@ -1,7 +1,7 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import type { DeadlineClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DeadlineClient";
4
- import type { ListStorageProfilesForQueueRequest, ListStorageProfilesForQueueResponse } from "../models/models_0";
4
+ import type { ListStorageProfilesForQueueRequest, ListStorageProfilesForQueueResponse } from "../models/models_1";
5
5
  /**
6
6
  * @public
7
7
  */
@@ -1,7 +1,8 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import type { DeadlineClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DeadlineClient";
4
- import type { ListTasksRequest, ListTasksResponse } from "../models/models_0";
4
+ import type { ListTasksRequest } from "../models/models_0";
5
+ import type { ListTasksResponse } from "../models/models_1";
5
6
  /**
6
7
  * @public
7
8
  */
@@ -1,7 +1,7 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import type { DeadlineClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DeadlineClient";
4
- import type { UpdateFarmRequest, UpdateFarmResponse } from "../models/models_0";
4
+ import type { UpdateFarmRequest, UpdateFarmResponse } from "../models/models_1";
5
5
  /**
6
6
  * @public
7
7
  */
@@ -1,7 +1,7 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import type { DeadlineClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DeadlineClient";
4
- import type { UpdateJobRequest, UpdateJobResponse } from "../models/models_0";
4
+ import type { UpdateJobRequest, UpdateJobResponse } from "../models/models_1";
5
5
  /**
6
6
  * @public
7
7
  */
@@ -1,7 +1,7 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import type { DeadlineClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DeadlineClient";
4
- import type { UpdateLimitRequest, UpdateLimitResponse } from "../models/models_0";
4
+ import type { UpdateLimitRequest, UpdateLimitResponse } from "../models/models_1";
5
5
  /**
6
6
  * @public
7
7
  */
@@ -1,7 +1,7 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import type { DeadlineClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DeadlineClient";
4
- import type { UpdateQueueRequest, UpdateQueueResponse } from "../models/models_0";
4
+ import type { UpdateQueueRequest, UpdateQueueResponse } from "../models/models_1";
5
5
  /**
6
6
  * @public
7
7
  */
@@ -1,7 +1,7 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import type { DeadlineClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DeadlineClient";
4
- import type { UpdateQueueEnvironmentRequest, UpdateQueueEnvironmentResponse } from "../models/models_0";
4
+ import type { UpdateQueueEnvironmentRequest, UpdateQueueEnvironmentResponse } from "../models/models_1";
5
5
  /**
6
6
  * @public
7
7
  */
@@ -1,7 +1,7 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import type { DeadlineClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DeadlineClient";
4
- import type { UpdateSessionRequest, UpdateSessionResponse } from "../models/models_0";
4
+ import type { UpdateSessionRequest, UpdateSessionResponse } from "../models/models_1";
5
5
  /**
6
6
  * @public
7
7
  */
@@ -1,7 +1,7 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import type { DeadlineClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DeadlineClient";
4
- import type { UpdateStepRequest, UpdateStepResponse } from "../models/models_0";
4
+ import type { UpdateStepRequest, UpdateStepResponse } from "../models/models_1";
5
5
  /**
6
6
  * @public
7
7
  */
@@ -1,7 +1,7 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import type { DeadlineClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DeadlineClient";
4
- import type { UpdateStorageProfileRequest, UpdateStorageProfileResponse } from "../models/models_0";
4
+ import type { UpdateStorageProfileRequest, UpdateStorageProfileResponse } from "../models/models_1";
5
5
  /**
6
6
  * @public
7
7
  */
@@ -1,7 +1,7 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import type { DeadlineClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DeadlineClient";
4
- import type { UpdateTaskRequest, UpdateTaskResponse } from "../models/models_0";
4
+ import type { UpdateTaskRequest, UpdateTaskResponse } from "../models/models_1";
5
5
  /**
6
6
  * @public
7
7
  */
@@ -7,7 +7,15 @@ export * from "./AssumeFleetRoleForWorkerCommand";
7
7
  export * from "./AssumeQueueRoleForReadCommand";
8
8
  export * from "./AssumeQueueRoleForUserCommand";
9
9
  export * from "./AssumeQueueRoleForWorkerCommand";
10
+ export * from "./BatchGetJobCommand";
10
11
  export * from "./BatchGetJobEntityCommand";
12
+ export * from "./BatchGetSessionActionCommand";
13
+ export * from "./BatchGetSessionCommand";
14
+ export * from "./BatchGetStepCommand";
15
+ export * from "./BatchGetTaskCommand";
16
+ export * from "./BatchGetWorkerCommand";
17
+ export * from "./BatchUpdateJobCommand";
18
+ export * from "./BatchUpdateTaskCommand";
11
19
  export * from "./CopyJobTemplateCommand";
12
20
  export * from "./CreateBudgetCommand";
13
21
  export * from "./CreateFarmCommand";