@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.
- package/README.md +56 -0
- package/dist-cjs/index.js +274 -102
- package/dist-cjs/schemas/schemas_0.js +399 -44
- package/dist-es/Deadline.js +16 -0
- package/dist-es/commands/BatchGetJobCommand.js +16 -0
- package/dist-es/commands/BatchGetSessionActionCommand.js +16 -0
- package/dist-es/commands/BatchGetSessionCommand.js +16 -0
- package/dist-es/commands/BatchGetStepCommand.js +16 -0
- package/dist-es/commands/BatchGetTaskCommand.js +16 -0
- package/dist-es/commands/BatchGetWorkerCommand.js +16 -0
- package/dist-es/commands/BatchUpdateJobCommand.js +16 -0
- package/dist-es/commands/BatchUpdateTaskCommand.js +16 -0
- package/dist-es/commands/index.js +8 -0
- package/dist-es/models/enums.js +154 -102
- package/dist-es/schemas/schemas_0.js +388 -34
- package/dist-types/Deadline.d.ts +56 -0
- package/dist-types/DeadlineClient.d.ts +10 -2
- package/dist-types/commands/BatchGetJobCommand.d.ts +176 -0
- package/dist-types/commands/BatchGetSessionActionCommand.d.ts +180 -0
- package/dist-types/commands/BatchGetSessionCommand.d.ts +177 -0
- package/dist-types/commands/BatchGetStepCommand.d.ts +193 -0
- package/dist-types/commands/BatchGetTaskCommand.d.ts +160 -0
- package/dist-types/commands/BatchGetWorkerCommand.d.ts +159 -0
- package/dist-types/commands/BatchUpdateJobCommand.d.ts +135 -0
- package/dist-types/commands/BatchUpdateTaskCommand.d.ts +136 -0
- package/dist-types/commands/CreateMonitorCommand.d.ts +1 -0
- package/dist-types/commands/GetMonitorCommand.d.ts +1 -0
- package/dist-types/commands/GetQueueFleetAssociationCommand.d.ts +1 -1
- package/dist-types/commands/GetQueueLimitAssociationCommand.d.ts +1 -1
- package/dist-types/commands/GetSessionsStatisticsAggregationCommand.d.ts +1 -2
- package/dist-types/commands/ListMonitorsCommand.d.ts +1 -0
- package/dist-types/commands/ListQueueEnvironmentsCommand.d.ts +1 -1
- package/dist-types/commands/ListQueueMembersCommand.d.ts +1 -1
- package/dist-types/commands/ListQueuesCommand.d.ts +1 -1
- package/dist-types/commands/ListStorageProfilesForQueueCommand.d.ts +1 -1
- package/dist-types/commands/ListTasksCommand.d.ts +2 -1
- package/dist-types/commands/UpdateFarmCommand.d.ts +1 -1
- package/dist-types/commands/UpdateJobCommand.d.ts +1 -1
- package/dist-types/commands/UpdateLimitCommand.d.ts +1 -1
- package/dist-types/commands/UpdateQueueCommand.d.ts +1 -1
- package/dist-types/commands/UpdateQueueEnvironmentCommand.d.ts +1 -1
- package/dist-types/commands/UpdateSessionCommand.d.ts +1 -1
- package/dist-types/commands/UpdateStepCommand.d.ts +1 -1
- package/dist-types/commands/UpdateStorageProfileCommand.d.ts +1 -1
- package/dist-types/commands/UpdateTaskCommand.d.ts +1 -1
- package/dist-types/commands/index.d.ts +8 -0
- package/dist-types/models/enums.d.ts +310 -194
- package/dist-types/models/models_0.d.ts +3347 -3110
- package/dist-types/models/models_1.d.ts +1057 -2
- package/dist-types/schemas/schemas_0.d.ts +46 -0
- package/dist-types/ts3.4/Deadline.d.ts +136 -0
- package/dist-types/ts3.4/DeadlineClient.d.ts +48 -0
- package/dist-types/ts3.4/commands/BatchGetJobCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/BatchGetSessionActionCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/BatchGetSessionCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/BatchGetStepCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/BatchGetTaskCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/BatchGetWorkerCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/BatchUpdateJobCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/BatchUpdateTaskCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/GetQueueFleetAssociationCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetQueueLimitAssociationCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetSessionsStatisticsAggregationCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/ListQueueEnvironmentsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListQueueMembersCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListQueuesCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListStorageProfilesForQueueCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListTasksCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/UpdateFarmCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateJobCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateLimitCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateQueueCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateQueueEnvironmentCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateSessionCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateStepCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateStorageProfileCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateTaskCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/index.d.ts +8 -0
- package/dist-types/ts3.4/models/enums.d.ts +194 -126
- package/dist-types/ts3.4/models/models_0.d.ts +583 -522
- package/dist-types/ts3.4/models/models_1.d.ts +251 -1
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +46 -0
- package/package.json +34 -34
package/dist-types/Deadline.d.ts
CHANGED
|
@@ -9,7 +9,15 @@ import { type AssumeFleetRoleForWorkerCommandInput, type AssumeFleetRoleForWorke
|
|
|
9
9
|
import { type AssumeQueueRoleForReadCommandInput, type AssumeQueueRoleForReadCommandOutput } from "./commands/AssumeQueueRoleForReadCommand";
|
|
10
10
|
import { type AssumeQueueRoleForUserCommandInput, type AssumeQueueRoleForUserCommandOutput } from "./commands/AssumeQueueRoleForUserCommand";
|
|
11
11
|
import { type AssumeQueueRoleForWorkerCommandInput, type AssumeQueueRoleForWorkerCommandOutput } from "./commands/AssumeQueueRoleForWorkerCommand";
|
|
12
|
+
import { type BatchGetJobCommandInput, type BatchGetJobCommandOutput } from "./commands/BatchGetJobCommand";
|
|
12
13
|
import { type BatchGetJobEntityCommandInput, type BatchGetJobEntityCommandOutput } from "./commands/BatchGetJobEntityCommand";
|
|
14
|
+
import { type BatchGetSessionActionCommandInput, type BatchGetSessionActionCommandOutput } from "./commands/BatchGetSessionActionCommand";
|
|
15
|
+
import { type BatchGetSessionCommandInput, type BatchGetSessionCommandOutput } from "./commands/BatchGetSessionCommand";
|
|
16
|
+
import { type BatchGetStepCommandInput, type BatchGetStepCommandOutput } from "./commands/BatchGetStepCommand";
|
|
17
|
+
import { type BatchGetTaskCommandInput, type BatchGetTaskCommandOutput } from "./commands/BatchGetTaskCommand";
|
|
18
|
+
import { type BatchGetWorkerCommandInput, type BatchGetWorkerCommandOutput } from "./commands/BatchGetWorkerCommand";
|
|
19
|
+
import { type BatchUpdateJobCommandInput, type BatchUpdateJobCommandOutput } from "./commands/BatchUpdateJobCommand";
|
|
20
|
+
import { type BatchUpdateTaskCommandInput, type BatchUpdateTaskCommandOutput } from "./commands/BatchUpdateTaskCommand";
|
|
13
21
|
import { type CopyJobTemplateCommandInput, type CopyJobTemplateCommandOutput } from "./commands/CopyJobTemplateCommand";
|
|
14
22
|
import { type CreateBudgetCommandInput, type CreateBudgetCommandOutput } from "./commands/CreateBudgetCommand";
|
|
15
23
|
import { type CreateFarmCommandInput, type CreateFarmCommandOutput } from "./commands/CreateFarmCommand";
|
|
@@ -169,12 +177,60 @@ export interface Deadline {
|
|
|
169
177
|
assumeQueueRoleForWorker(args: AssumeQueueRoleForWorkerCommandInput, options?: __HttpHandlerOptions): Promise<AssumeQueueRoleForWorkerCommandOutput>;
|
|
170
178
|
assumeQueueRoleForWorker(args: AssumeQueueRoleForWorkerCommandInput, cb: (err: any, data?: AssumeQueueRoleForWorkerCommandOutput) => void): void;
|
|
171
179
|
assumeQueueRoleForWorker(args: AssumeQueueRoleForWorkerCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: AssumeQueueRoleForWorkerCommandOutput) => void): void;
|
|
180
|
+
/**
|
|
181
|
+
* @see {@link BatchGetJobCommand}
|
|
182
|
+
*/
|
|
183
|
+
batchGetJob(args: BatchGetJobCommandInput, options?: __HttpHandlerOptions): Promise<BatchGetJobCommandOutput>;
|
|
184
|
+
batchGetJob(args: BatchGetJobCommandInput, cb: (err: any, data?: BatchGetJobCommandOutput) => void): void;
|
|
185
|
+
batchGetJob(args: BatchGetJobCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: BatchGetJobCommandOutput) => void): void;
|
|
172
186
|
/**
|
|
173
187
|
* @see {@link BatchGetJobEntityCommand}
|
|
174
188
|
*/
|
|
175
189
|
batchGetJobEntity(args: BatchGetJobEntityCommandInput, options?: __HttpHandlerOptions): Promise<BatchGetJobEntityCommandOutput>;
|
|
176
190
|
batchGetJobEntity(args: BatchGetJobEntityCommandInput, cb: (err: any, data?: BatchGetJobEntityCommandOutput) => void): void;
|
|
177
191
|
batchGetJobEntity(args: BatchGetJobEntityCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: BatchGetJobEntityCommandOutput) => void): void;
|
|
192
|
+
/**
|
|
193
|
+
* @see {@link BatchGetSessionCommand}
|
|
194
|
+
*/
|
|
195
|
+
batchGetSession(args: BatchGetSessionCommandInput, options?: __HttpHandlerOptions): Promise<BatchGetSessionCommandOutput>;
|
|
196
|
+
batchGetSession(args: BatchGetSessionCommandInput, cb: (err: any, data?: BatchGetSessionCommandOutput) => void): void;
|
|
197
|
+
batchGetSession(args: BatchGetSessionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: BatchGetSessionCommandOutput) => void): void;
|
|
198
|
+
/**
|
|
199
|
+
* @see {@link BatchGetSessionActionCommand}
|
|
200
|
+
*/
|
|
201
|
+
batchGetSessionAction(args: BatchGetSessionActionCommandInput, options?: __HttpHandlerOptions): Promise<BatchGetSessionActionCommandOutput>;
|
|
202
|
+
batchGetSessionAction(args: BatchGetSessionActionCommandInput, cb: (err: any, data?: BatchGetSessionActionCommandOutput) => void): void;
|
|
203
|
+
batchGetSessionAction(args: BatchGetSessionActionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: BatchGetSessionActionCommandOutput) => void): void;
|
|
204
|
+
/**
|
|
205
|
+
* @see {@link BatchGetStepCommand}
|
|
206
|
+
*/
|
|
207
|
+
batchGetStep(args: BatchGetStepCommandInput, options?: __HttpHandlerOptions): Promise<BatchGetStepCommandOutput>;
|
|
208
|
+
batchGetStep(args: BatchGetStepCommandInput, cb: (err: any, data?: BatchGetStepCommandOutput) => void): void;
|
|
209
|
+
batchGetStep(args: BatchGetStepCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: BatchGetStepCommandOutput) => void): void;
|
|
210
|
+
/**
|
|
211
|
+
* @see {@link BatchGetTaskCommand}
|
|
212
|
+
*/
|
|
213
|
+
batchGetTask(args: BatchGetTaskCommandInput, options?: __HttpHandlerOptions): Promise<BatchGetTaskCommandOutput>;
|
|
214
|
+
batchGetTask(args: BatchGetTaskCommandInput, cb: (err: any, data?: BatchGetTaskCommandOutput) => void): void;
|
|
215
|
+
batchGetTask(args: BatchGetTaskCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: BatchGetTaskCommandOutput) => void): void;
|
|
216
|
+
/**
|
|
217
|
+
* @see {@link BatchGetWorkerCommand}
|
|
218
|
+
*/
|
|
219
|
+
batchGetWorker(args: BatchGetWorkerCommandInput, options?: __HttpHandlerOptions): Promise<BatchGetWorkerCommandOutput>;
|
|
220
|
+
batchGetWorker(args: BatchGetWorkerCommandInput, cb: (err: any, data?: BatchGetWorkerCommandOutput) => void): void;
|
|
221
|
+
batchGetWorker(args: BatchGetWorkerCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: BatchGetWorkerCommandOutput) => void): void;
|
|
222
|
+
/**
|
|
223
|
+
* @see {@link BatchUpdateJobCommand}
|
|
224
|
+
*/
|
|
225
|
+
batchUpdateJob(args: BatchUpdateJobCommandInput, options?: __HttpHandlerOptions): Promise<BatchUpdateJobCommandOutput>;
|
|
226
|
+
batchUpdateJob(args: BatchUpdateJobCommandInput, cb: (err: any, data?: BatchUpdateJobCommandOutput) => void): void;
|
|
227
|
+
batchUpdateJob(args: BatchUpdateJobCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: BatchUpdateJobCommandOutput) => void): void;
|
|
228
|
+
/**
|
|
229
|
+
* @see {@link BatchUpdateTaskCommand}
|
|
230
|
+
*/
|
|
231
|
+
batchUpdateTask(args: BatchUpdateTaskCommandInput, options?: __HttpHandlerOptions): Promise<BatchUpdateTaskCommandOutput>;
|
|
232
|
+
batchUpdateTask(args: BatchUpdateTaskCommandInput, cb: (err: any, data?: BatchUpdateTaskCommandOutput) => void): void;
|
|
233
|
+
batchUpdateTask(args: BatchUpdateTaskCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: BatchUpdateTaskCommandOutput) => void): void;
|
|
178
234
|
/**
|
|
179
235
|
* @see {@link CopyJobTemplateCommand}
|
|
180
236
|
*/
|
|
@@ -16,7 +16,15 @@ import type { AssumeFleetRoleForWorkerCommandInput, AssumeFleetRoleForWorkerComm
|
|
|
16
16
|
import type { AssumeQueueRoleForReadCommandInput, AssumeQueueRoleForReadCommandOutput } from "./commands/AssumeQueueRoleForReadCommand";
|
|
17
17
|
import type { AssumeQueueRoleForUserCommandInput, AssumeQueueRoleForUserCommandOutput } from "./commands/AssumeQueueRoleForUserCommand";
|
|
18
18
|
import type { AssumeQueueRoleForWorkerCommandInput, AssumeQueueRoleForWorkerCommandOutput } from "./commands/AssumeQueueRoleForWorkerCommand";
|
|
19
|
+
import type { BatchGetJobCommandInput, BatchGetJobCommandOutput } from "./commands/BatchGetJobCommand";
|
|
19
20
|
import type { BatchGetJobEntityCommandInput, BatchGetJobEntityCommandOutput } from "./commands/BatchGetJobEntityCommand";
|
|
21
|
+
import type { BatchGetSessionActionCommandInput, BatchGetSessionActionCommandOutput } from "./commands/BatchGetSessionActionCommand";
|
|
22
|
+
import type { BatchGetSessionCommandInput, BatchGetSessionCommandOutput } from "./commands/BatchGetSessionCommand";
|
|
23
|
+
import type { BatchGetStepCommandInput, BatchGetStepCommandOutput } from "./commands/BatchGetStepCommand";
|
|
24
|
+
import type { BatchGetTaskCommandInput, BatchGetTaskCommandOutput } from "./commands/BatchGetTaskCommand";
|
|
25
|
+
import type { BatchGetWorkerCommandInput, BatchGetWorkerCommandOutput } from "./commands/BatchGetWorkerCommand";
|
|
26
|
+
import type { BatchUpdateJobCommandInput, BatchUpdateJobCommandOutput } from "./commands/BatchUpdateJobCommand";
|
|
27
|
+
import type { BatchUpdateTaskCommandInput, BatchUpdateTaskCommandOutput } from "./commands/BatchUpdateTaskCommand";
|
|
20
28
|
import type { CopyJobTemplateCommandInput, CopyJobTemplateCommandOutput } from "./commands/CopyJobTemplateCommand";
|
|
21
29
|
import type { CreateBudgetCommandInput, CreateBudgetCommandOutput } from "./commands/CreateBudgetCommand";
|
|
22
30
|
import type { CreateFarmCommandInput, CreateFarmCommandOutput } from "./commands/CreateFarmCommand";
|
|
@@ -126,11 +134,11 @@ export { __Client };
|
|
|
126
134
|
/**
|
|
127
135
|
* @public
|
|
128
136
|
*/
|
|
129
|
-
export type ServiceInputTypes = AssociateMemberToFarmCommandInput | AssociateMemberToFleetCommandInput | AssociateMemberToJobCommandInput | AssociateMemberToQueueCommandInput | AssumeFleetRoleForReadCommandInput | AssumeFleetRoleForWorkerCommandInput | AssumeQueueRoleForReadCommandInput | AssumeQueueRoleForUserCommandInput | AssumeQueueRoleForWorkerCommandInput | BatchGetJobEntityCommandInput | CopyJobTemplateCommandInput | CreateBudgetCommandInput | CreateFarmCommandInput | CreateFleetCommandInput | CreateJobCommandInput | CreateLicenseEndpointCommandInput | CreateLimitCommandInput | CreateMonitorCommandInput | CreateQueueCommandInput | CreateQueueEnvironmentCommandInput | CreateQueueFleetAssociationCommandInput | CreateQueueLimitAssociationCommandInput | CreateStorageProfileCommandInput | CreateWorkerCommandInput | DeleteBudgetCommandInput | DeleteFarmCommandInput | DeleteFleetCommandInput | DeleteLicenseEndpointCommandInput | DeleteLimitCommandInput | DeleteMeteredProductCommandInput | DeleteMonitorCommandInput | DeleteQueueCommandInput | DeleteQueueEnvironmentCommandInput | DeleteQueueFleetAssociationCommandInput | DeleteQueueLimitAssociationCommandInput | DeleteStorageProfileCommandInput | DeleteWorkerCommandInput | DisassociateMemberFromFarmCommandInput | DisassociateMemberFromFleetCommandInput | DisassociateMemberFromJobCommandInput | DisassociateMemberFromQueueCommandInput | GetBudgetCommandInput | GetFarmCommandInput | GetFleetCommandInput | GetJobCommandInput | GetLicenseEndpointCommandInput | GetLimitCommandInput | GetMonitorCommandInput | GetQueueCommandInput | GetQueueEnvironmentCommandInput | GetQueueFleetAssociationCommandInput | GetQueueLimitAssociationCommandInput | GetSessionActionCommandInput | GetSessionCommandInput | GetSessionsStatisticsAggregationCommandInput | GetStepCommandInput | GetStorageProfileCommandInput | GetStorageProfileForQueueCommandInput | GetTaskCommandInput | GetWorkerCommandInput | ListAvailableMeteredProductsCommandInput | ListBudgetsCommandInput | ListFarmMembersCommandInput | ListFarmsCommandInput | ListFleetMembersCommandInput | ListFleetsCommandInput | ListJobMembersCommandInput | ListJobParameterDefinitionsCommandInput | ListJobsCommandInput | ListLicenseEndpointsCommandInput | ListLimitsCommandInput | ListMeteredProductsCommandInput | ListMonitorsCommandInput | ListQueueEnvironmentsCommandInput | ListQueueFleetAssociationsCommandInput | ListQueueLimitAssociationsCommandInput | ListQueueMembersCommandInput | ListQueuesCommandInput | ListSessionActionsCommandInput | ListSessionsCommandInput | ListSessionsForWorkerCommandInput | ListStepConsumersCommandInput | ListStepDependenciesCommandInput | ListStepsCommandInput | ListStorageProfilesCommandInput | ListStorageProfilesForQueueCommandInput | ListTagsForResourceCommandInput | ListTasksCommandInput | ListWorkersCommandInput | PutMeteredProductCommandInput | SearchJobsCommandInput | SearchStepsCommandInput | SearchTasksCommandInput | SearchWorkersCommandInput | StartSessionsStatisticsAggregationCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateBudgetCommandInput | UpdateFarmCommandInput | UpdateFleetCommandInput | UpdateJobCommandInput | UpdateLimitCommandInput | UpdateMonitorCommandInput | UpdateQueueCommandInput | UpdateQueueEnvironmentCommandInput | UpdateQueueFleetAssociationCommandInput | UpdateQueueLimitAssociationCommandInput | UpdateSessionCommandInput | UpdateStepCommandInput | UpdateStorageProfileCommandInput | UpdateTaskCommandInput | UpdateWorkerCommandInput | UpdateWorkerScheduleCommandInput;
|
|
137
|
+
export type ServiceInputTypes = AssociateMemberToFarmCommandInput | AssociateMemberToFleetCommandInput | AssociateMemberToJobCommandInput | AssociateMemberToQueueCommandInput | AssumeFleetRoleForReadCommandInput | AssumeFleetRoleForWorkerCommandInput | AssumeQueueRoleForReadCommandInput | AssumeQueueRoleForUserCommandInput | AssumeQueueRoleForWorkerCommandInput | BatchGetJobCommandInput | BatchGetJobEntityCommandInput | BatchGetSessionActionCommandInput | BatchGetSessionCommandInput | BatchGetStepCommandInput | BatchGetTaskCommandInput | BatchGetWorkerCommandInput | BatchUpdateJobCommandInput | BatchUpdateTaskCommandInput | CopyJobTemplateCommandInput | CreateBudgetCommandInput | CreateFarmCommandInput | CreateFleetCommandInput | CreateJobCommandInput | CreateLicenseEndpointCommandInput | CreateLimitCommandInput | CreateMonitorCommandInput | CreateQueueCommandInput | CreateQueueEnvironmentCommandInput | CreateQueueFleetAssociationCommandInput | CreateQueueLimitAssociationCommandInput | CreateStorageProfileCommandInput | CreateWorkerCommandInput | DeleteBudgetCommandInput | DeleteFarmCommandInput | DeleteFleetCommandInput | DeleteLicenseEndpointCommandInput | DeleteLimitCommandInput | DeleteMeteredProductCommandInput | DeleteMonitorCommandInput | DeleteQueueCommandInput | DeleteQueueEnvironmentCommandInput | DeleteQueueFleetAssociationCommandInput | DeleteQueueLimitAssociationCommandInput | DeleteStorageProfileCommandInput | DeleteWorkerCommandInput | DisassociateMemberFromFarmCommandInput | DisassociateMemberFromFleetCommandInput | DisassociateMemberFromJobCommandInput | DisassociateMemberFromQueueCommandInput | GetBudgetCommandInput | GetFarmCommandInput | GetFleetCommandInput | GetJobCommandInput | GetLicenseEndpointCommandInput | GetLimitCommandInput | GetMonitorCommandInput | GetQueueCommandInput | GetQueueEnvironmentCommandInput | GetQueueFleetAssociationCommandInput | GetQueueLimitAssociationCommandInput | GetSessionActionCommandInput | GetSessionCommandInput | GetSessionsStatisticsAggregationCommandInput | GetStepCommandInput | GetStorageProfileCommandInput | GetStorageProfileForQueueCommandInput | GetTaskCommandInput | GetWorkerCommandInput | ListAvailableMeteredProductsCommandInput | ListBudgetsCommandInput | ListFarmMembersCommandInput | ListFarmsCommandInput | ListFleetMembersCommandInput | ListFleetsCommandInput | ListJobMembersCommandInput | ListJobParameterDefinitionsCommandInput | ListJobsCommandInput | ListLicenseEndpointsCommandInput | ListLimitsCommandInput | ListMeteredProductsCommandInput | ListMonitorsCommandInput | ListQueueEnvironmentsCommandInput | ListQueueFleetAssociationsCommandInput | ListQueueLimitAssociationsCommandInput | ListQueueMembersCommandInput | ListQueuesCommandInput | ListSessionActionsCommandInput | ListSessionsCommandInput | ListSessionsForWorkerCommandInput | ListStepConsumersCommandInput | ListStepDependenciesCommandInput | ListStepsCommandInput | ListStorageProfilesCommandInput | ListStorageProfilesForQueueCommandInput | ListTagsForResourceCommandInput | ListTasksCommandInput | ListWorkersCommandInput | PutMeteredProductCommandInput | SearchJobsCommandInput | SearchStepsCommandInput | SearchTasksCommandInput | SearchWorkersCommandInput | StartSessionsStatisticsAggregationCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateBudgetCommandInput | UpdateFarmCommandInput | UpdateFleetCommandInput | UpdateJobCommandInput | UpdateLimitCommandInput | UpdateMonitorCommandInput | UpdateQueueCommandInput | UpdateQueueEnvironmentCommandInput | UpdateQueueFleetAssociationCommandInput | UpdateQueueLimitAssociationCommandInput | UpdateSessionCommandInput | UpdateStepCommandInput | UpdateStorageProfileCommandInput | UpdateTaskCommandInput | UpdateWorkerCommandInput | UpdateWorkerScheduleCommandInput;
|
|
130
138
|
/**
|
|
131
139
|
* @public
|
|
132
140
|
*/
|
|
133
|
-
export type ServiceOutputTypes = AssociateMemberToFarmCommandOutput | AssociateMemberToFleetCommandOutput | AssociateMemberToJobCommandOutput | AssociateMemberToQueueCommandOutput | AssumeFleetRoleForReadCommandOutput | AssumeFleetRoleForWorkerCommandOutput | AssumeQueueRoleForReadCommandOutput | AssumeQueueRoleForUserCommandOutput | AssumeQueueRoleForWorkerCommandOutput | BatchGetJobEntityCommandOutput | CopyJobTemplateCommandOutput | CreateBudgetCommandOutput | CreateFarmCommandOutput | CreateFleetCommandOutput | CreateJobCommandOutput | CreateLicenseEndpointCommandOutput | CreateLimitCommandOutput | CreateMonitorCommandOutput | CreateQueueCommandOutput | CreateQueueEnvironmentCommandOutput | CreateQueueFleetAssociationCommandOutput | CreateQueueLimitAssociationCommandOutput | CreateStorageProfileCommandOutput | CreateWorkerCommandOutput | DeleteBudgetCommandOutput | DeleteFarmCommandOutput | DeleteFleetCommandOutput | DeleteLicenseEndpointCommandOutput | DeleteLimitCommandOutput | DeleteMeteredProductCommandOutput | DeleteMonitorCommandOutput | DeleteQueueCommandOutput | DeleteQueueEnvironmentCommandOutput | DeleteQueueFleetAssociationCommandOutput | DeleteQueueLimitAssociationCommandOutput | DeleteStorageProfileCommandOutput | DeleteWorkerCommandOutput | DisassociateMemberFromFarmCommandOutput | DisassociateMemberFromFleetCommandOutput | DisassociateMemberFromJobCommandOutput | DisassociateMemberFromQueueCommandOutput | GetBudgetCommandOutput | GetFarmCommandOutput | GetFleetCommandOutput | GetJobCommandOutput | GetLicenseEndpointCommandOutput | GetLimitCommandOutput | GetMonitorCommandOutput | GetQueueCommandOutput | GetQueueEnvironmentCommandOutput | GetQueueFleetAssociationCommandOutput | GetQueueLimitAssociationCommandOutput | GetSessionActionCommandOutput | GetSessionCommandOutput | GetSessionsStatisticsAggregationCommandOutput | GetStepCommandOutput | GetStorageProfileCommandOutput | GetStorageProfileForQueueCommandOutput | GetTaskCommandOutput | GetWorkerCommandOutput | ListAvailableMeteredProductsCommandOutput | ListBudgetsCommandOutput | ListFarmMembersCommandOutput | ListFarmsCommandOutput | ListFleetMembersCommandOutput | ListFleetsCommandOutput | ListJobMembersCommandOutput | ListJobParameterDefinitionsCommandOutput | ListJobsCommandOutput | ListLicenseEndpointsCommandOutput | ListLimitsCommandOutput | ListMeteredProductsCommandOutput | ListMonitorsCommandOutput | ListQueueEnvironmentsCommandOutput | ListQueueFleetAssociationsCommandOutput | ListQueueLimitAssociationsCommandOutput | ListQueueMembersCommandOutput | ListQueuesCommandOutput | ListSessionActionsCommandOutput | ListSessionsCommandOutput | ListSessionsForWorkerCommandOutput | ListStepConsumersCommandOutput | ListStepDependenciesCommandOutput | ListStepsCommandOutput | ListStorageProfilesCommandOutput | ListStorageProfilesForQueueCommandOutput | ListTagsForResourceCommandOutput | ListTasksCommandOutput | ListWorkersCommandOutput | PutMeteredProductCommandOutput | SearchJobsCommandOutput | SearchStepsCommandOutput | SearchTasksCommandOutput | SearchWorkersCommandOutput | StartSessionsStatisticsAggregationCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateBudgetCommandOutput | UpdateFarmCommandOutput | UpdateFleetCommandOutput | UpdateJobCommandOutput | UpdateLimitCommandOutput | UpdateMonitorCommandOutput | UpdateQueueCommandOutput | UpdateQueueEnvironmentCommandOutput | UpdateQueueFleetAssociationCommandOutput | UpdateQueueLimitAssociationCommandOutput | UpdateSessionCommandOutput | UpdateStepCommandOutput | UpdateStorageProfileCommandOutput | UpdateTaskCommandOutput | UpdateWorkerCommandOutput | UpdateWorkerScheduleCommandOutput;
|
|
141
|
+
export type ServiceOutputTypes = AssociateMemberToFarmCommandOutput | AssociateMemberToFleetCommandOutput | AssociateMemberToJobCommandOutput | AssociateMemberToQueueCommandOutput | AssumeFleetRoleForReadCommandOutput | AssumeFleetRoleForWorkerCommandOutput | AssumeQueueRoleForReadCommandOutput | AssumeQueueRoleForUserCommandOutput | AssumeQueueRoleForWorkerCommandOutput | BatchGetJobCommandOutput | BatchGetJobEntityCommandOutput | BatchGetSessionActionCommandOutput | BatchGetSessionCommandOutput | BatchGetStepCommandOutput | BatchGetTaskCommandOutput | BatchGetWorkerCommandOutput | BatchUpdateJobCommandOutput | BatchUpdateTaskCommandOutput | CopyJobTemplateCommandOutput | CreateBudgetCommandOutput | CreateFarmCommandOutput | CreateFleetCommandOutput | CreateJobCommandOutput | CreateLicenseEndpointCommandOutput | CreateLimitCommandOutput | CreateMonitorCommandOutput | CreateQueueCommandOutput | CreateQueueEnvironmentCommandOutput | CreateQueueFleetAssociationCommandOutput | CreateQueueLimitAssociationCommandOutput | CreateStorageProfileCommandOutput | CreateWorkerCommandOutput | DeleteBudgetCommandOutput | DeleteFarmCommandOutput | DeleteFleetCommandOutput | DeleteLicenseEndpointCommandOutput | DeleteLimitCommandOutput | DeleteMeteredProductCommandOutput | DeleteMonitorCommandOutput | DeleteQueueCommandOutput | DeleteQueueEnvironmentCommandOutput | DeleteQueueFleetAssociationCommandOutput | DeleteQueueLimitAssociationCommandOutput | DeleteStorageProfileCommandOutput | DeleteWorkerCommandOutput | DisassociateMemberFromFarmCommandOutput | DisassociateMemberFromFleetCommandOutput | DisassociateMemberFromJobCommandOutput | DisassociateMemberFromQueueCommandOutput | GetBudgetCommandOutput | GetFarmCommandOutput | GetFleetCommandOutput | GetJobCommandOutput | GetLicenseEndpointCommandOutput | GetLimitCommandOutput | GetMonitorCommandOutput | GetQueueCommandOutput | GetQueueEnvironmentCommandOutput | GetQueueFleetAssociationCommandOutput | GetQueueLimitAssociationCommandOutput | GetSessionActionCommandOutput | GetSessionCommandOutput | GetSessionsStatisticsAggregationCommandOutput | GetStepCommandOutput | GetStorageProfileCommandOutput | GetStorageProfileForQueueCommandOutput | GetTaskCommandOutput | GetWorkerCommandOutput | ListAvailableMeteredProductsCommandOutput | ListBudgetsCommandOutput | ListFarmMembersCommandOutput | ListFarmsCommandOutput | ListFleetMembersCommandOutput | ListFleetsCommandOutput | ListJobMembersCommandOutput | ListJobParameterDefinitionsCommandOutput | ListJobsCommandOutput | ListLicenseEndpointsCommandOutput | ListLimitsCommandOutput | ListMeteredProductsCommandOutput | ListMonitorsCommandOutput | ListQueueEnvironmentsCommandOutput | ListQueueFleetAssociationsCommandOutput | ListQueueLimitAssociationsCommandOutput | ListQueueMembersCommandOutput | ListQueuesCommandOutput | ListSessionActionsCommandOutput | ListSessionsCommandOutput | ListSessionsForWorkerCommandOutput | ListStepConsumersCommandOutput | ListStepDependenciesCommandOutput | ListStepsCommandOutput | ListStorageProfilesCommandOutput | ListStorageProfilesForQueueCommandOutput | ListTagsForResourceCommandOutput | ListTasksCommandOutput | ListWorkersCommandOutput | PutMeteredProductCommandOutput | SearchJobsCommandOutput | SearchStepsCommandOutput | SearchTasksCommandOutput | SearchWorkersCommandOutput | StartSessionsStatisticsAggregationCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateBudgetCommandOutput | UpdateFarmCommandOutput | UpdateFleetCommandOutput | UpdateJobCommandOutput | UpdateLimitCommandOutput | UpdateMonitorCommandOutput | UpdateQueueCommandOutput | UpdateQueueEnvironmentCommandOutput | UpdateQueueFleetAssociationCommandOutput | UpdateQueueLimitAssociationCommandOutput | UpdateSessionCommandOutput | UpdateStepCommandOutput | UpdateStorageProfileCommandOutput | UpdateTaskCommandOutput | UpdateWorkerCommandOutput | UpdateWorkerScheduleCommandOutput;
|
|
134
142
|
/**
|
|
135
143
|
* @public
|
|
136
144
|
*/
|
|
@@ -0,0 +1,176 @@
|
|
|
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 { BatchGetJobRequest, BatchGetJobResponse } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link BatchGetJobCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface BatchGetJobCommandInput extends BatchGetJobRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link BatchGetJobCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface BatchGetJobCommandOutput extends BatchGetJobResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const BatchGetJobCommand_base: {
|
|
25
|
+
new (input: BatchGetJobCommandInput): import("@smithy/smithy-client").CommandImpl<BatchGetJobCommandInput, BatchGetJobCommandOutput, DeadlineClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: BatchGetJobCommandInput): import("@smithy/smithy-client").CommandImpl<BatchGetJobCommandInput, BatchGetJobCommandOutput, DeadlineClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Retrieves multiple jobs in a single request. This is a batch version of the <code>GetJob</code> API.</p> <p>The result of getting 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>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { DeadlineClient, BatchGetJobCommand } from "@aws-sdk/client-deadline"; // ES Modules import
|
|
35
|
+
* // const { DeadlineClient, BatchGetJobCommand } = 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 = { // BatchGetJobRequest
|
|
40
|
+
* identifiers: [ // BatchGetJobIdentifiers // required
|
|
41
|
+
* { // BatchGetJobIdentifier
|
|
42
|
+
* farmId: "STRING_VALUE", // required
|
|
43
|
+
* queueId: "STRING_VALUE", // required
|
|
44
|
+
* jobId: "STRING_VALUE", // required
|
|
45
|
+
* },
|
|
46
|
+
* ],
|
|
47
|
+
* };
|
|
48
|
+
* const command = new BatchGetJobCommand(input);
|
|
49
|
+
* const response = await client.send(command);
|
|
50
|
+
* // { // BatchGetJobResponse
|
|
51
|
+
* // jobs: [ // BatchGetJobItems // required
|
|
52
|
+
* // { // BatchGetJobItem
|
|
53
|
+
* // farmId: "STRING_VALUE", // required
|
|
54
|
+
* // queueId: "STRING_VALUE", // required
|
|
55
|
+
* // jobId: "STRING_VALUE", // required
|
|
56
|
+
* // name: "STRING_VALUE", // required
|
|
57
|
+
* // lifecycleStatus: "CREATE_IN_PROGRESS" || "CREATE_FAILED" || "CREATE_COMPLETE" || "UPLOAD_IN_PROGRESS" || "UPLOAD_FAILED" || "UPDATE_IN_PROGRESS" || "UPDATE_FAILED" || "UPDATE_SUCCEEDED" || "ARCHIVED", // required
|
|
58
|
+
* // lifecycleStatusMessage: "STRING_VALUE", // required
|
|
59
|
+
* // priority: Number("int"), // required
|
|
60
|
+
* // createdAt: new Date("TIMESTAMP"), // required
|
|
61
|
+
* // createdBy: "STRING_VALUE", // required
|
|
62
|
+
* // updatedAt: new Date("TIMESTAMP"),
|
|
63
|
+
* // updatedBy: "STRING_VALUE",
|
|
64
|
+
* // startedAt: new Date("TIMESTAMP"),
|
|
65
|
+
* // endedAt: new Date("TIMESTAMP"),
|
|
66
|
+
* // taskRunStatus: "PENDING" || "READY" || "ASSIGNED" || "STARTING" || "SCHEDULED" || "INTERRUPTING" || "RUNNING" || "SUSPENDED" || "CANCELED" || "FAILED" || "SUCCEEDED" || "NOT_COMPATIBLE",
|
|
67
|
+
* // targetTaskRunStatus: "READY" || "FAILED" || "SUCCEEDED" || "CANCELED" || "SUSPENDED" || "PENDING",
|
|
68
|
+
* // taskRunStatusCounts: { // TaskRunStatusCounts
|
|
69
|
+
* // "<keys>": Number("int"),
|
|
70
|
+
* // },
|
|
71
|
+
* // taskFailureRetryCount: Number("int"),
|
|
72
|
+
* // storageProfileId: "STRING_VALUE",
|
|
73
|
+
* // maxFailedTasksCount: Number("int"),
|
|
74
|
+
* // maxRetriesPerTask: Number("int"),
|
|
75
|
+
* // parameters: { // JobParameters
|
|
76
|
+
* // "<keys>": { // JobParameter Union: only one key present
|
|
77
|
+
* // int: "STRING_VALUE",
|
|
78
|
+
* // float: "STRING_VALUE",
|
|
79
|
+
* // string: "STRING_VALUE",
|
|
80
|
+
* // path: "STRING_VALUE",
|
|
81
|
+
* // },
|
|
82
|
+
* // },
|
|
83
|
+
* // attachments: { // Attachments
|
|
84
|
+
* // manifests: [ // ManifestPropertiesList // required
|
|
85
|
+
* // { // ManifestProperties
|
|
86
|
+
* // fileSystemLocationName: "STRING_VALUE",
|
|
87
|
+
* // rootPath: "STRING_VALUE", // required
|
|
88
|
+
* // rootPathFormat: "windows" || "posix", // required
|
|
89
|
+
* // outputRelativeDirectories: [ // OutputRelativeDirectoriesList
|
|
90
|
+
* // "STRING_VALUE",
|
|
91
|
+
* // ],
|
|
92
|
+
* // inputManifestPath: "STRING_VALUE",
|
|
93
|
+
* // inputManifestHash: "STRING_VALUE",
|
|
94
|
+
* // },
|
|
95
|
+
* // ],
|
|
96
|
+
* // fileSystem: "COPIED" || "VIRTUAL",
|
|
97
|
+
* // },
|
|
98
|
+
* // description: "STRING_VALUE",
|
|
99
|
+
* // maxWorkerCount: Number("int"),
|
|
100
|
+
* // sourceJobId: "STRING_VALUE",
|
|
101
|
+
* // },
|
|
102
|
+
* // ],
|
|
103
|
+
* // errors: [ // BatchGetJobErrors // required
|
|
104
|
+
* // { // BatchGetJobError
|
|
105
|
+
* // farmId: "STRING_VALUE", // required
|
|
106
|
+
* // queueId: "STRING_VALUE", // required
|
|
107
|
+
* // jobId: "STRING_VALUE", // required
|
|
108
|
+
* // code: "InternalServerErrorException" || "ResourceNotFoundException" || "ValidationException" || "AccessDeniedException" || "ThrottlingException", // required
|
|
109
|
+
* // message: "STRING_VALUE", // required
|
|
110
|
+
* // },
|
|
111
|
+
* // ],
|
|
112
|
+
* // };
|
|
113
|
+
*
|
|
114
|
+
* ```
|
|
115
|
+
*
|
|
116
|
+
* @param BatchGetJobCommandInput - {@link BatchGetJobCommandInput}
|
|
117
|
+
* @returns {@link BatchGetJobCommandOutput}
|
|
118
|
+
* @see {@link BatchGetJobCommandInput} for command's `input` shape.
|
|
119
|
+
* @see {@link BatchGetJobCommandOutput} for command's `response` shape.
|
|
120
|
+
* @see {@link DeadlineClientResolvedConfig | config} for DeadlineClient's `config` shape.
|
|
121
|
+
*
|
|
122
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
123
|
+
* <p>You don't have permission to perform the action.</p>
|
|
124
|
+
*
|
|
125
|
+
* @throws {@link InternalServerErrorException} (server fault)
|
|
126
|
+
* <p>Deadline Cloud can't process your request right now. Try again later.</p>
|
|
127
|
+
*
|
|
128
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
129
|
+
* <p>Your request exceeded a request rate quota.</p>
|
|
130
|
+
*
|
|
131
|
+
* @throws {@link ValidationException} (client fault)
|
|
132
|
+
* <p>The request isn't valid. This can occur if your request contains malformed JSON or unsupported characters.</p>
|
|
133
|
+
*
|
|
134
|
+
* @throws {@link DeadlineServiceException}
|
|
135
|
+
* <p>Base exception class for all service exceptions from Deadline service.</p>
|
|
136
|
+
*
|
|
137
|
+
*
|
|
138
|
+
* @example Get multiple jobs in a single request
|
|
139
|
+
* ```javascript
|
|
140
|
+
* //
|
|
141
|
+
* const input = {
|
|
142
|
+
* identifiers: [
|
|
143
|
+
* {
|
|
144
|
+
* farmId: "farm-1234567890abcdef1234567890abcdef",
|
|
145
|
+
* jobId: "job-1234567890abcdef1234567890abcdef",
|
|
146
|
+
* queueId: "queue-1234567890abcdef1234567890abcdef"
|
|
147
|
+
* },
|
|
148
|
+
* {
|
|
149
|
+
* farmId: "farm-1234567890abcdef1234567890abcdef",
|
|
150
|
+
* jobId: "job-234567890abcdef1234567890abcdef1",
|
|
151
|
+
* queueId: "queue-1234567890abcdef1234567890abcdef"
|
|
152
|
+
* }
|
|
153
|
+
* ]
|
|
154
|
+
* };
|
|
155
|
+
* const command = new BatchGetJobCommand(input);
|
|
156
|
+
* const response = await client.send(command);
|
|
157
|
+
* /* response is
|
|
158
|
+
* { /* metadata only *\/ }
|
|
159
|
+
* *\/
|
|
160
|
+
* ```
|
|
161
|
+
*
|
|
162
|
+
* @public
|
|
163
|
+
*/
|
|
164
|
+
export declare class BatchGetJobCommand extends BatchGetJobCommand_base {
|
|
165
|
+
/** @internal type navigation helper, not in runtime. */
|
|
166
|
+
protected static __types: {
|
|
167
|
+
api: {
|
|
168
|
+
input: BatchGetJobRequest;
|
|
169
|
+
output: BatchGetJobResponse;
|
|
170
|
+
};
|
|
171
|
+
sdk: {
|
|
172
|
+
input: BatchGetJobCommandInput;
|
|
173
|
+
output: BatchGetJobCommandOutput;
|
|
174
|
+
};
|
|
175
|
+
};
|
|
176
|
+
}
|
|
@@ -0,0 +1,180 @@
|
|
|
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 { BatchGetSessionActionRequest, BatchGetSessionActionResponse } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link BatchGetSessionActionCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface BatchGetSessionActionCommandInput extends BatchGetSessionActionRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link BatchGetSessionActionCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface BatchGetSessionActionCommandOutput extends BatchGetSessionActionResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const BatchGetSessionActionCommand_base: {
|
|
25
|
+
new (input: BatchGetSessionActionCommandInput): import("@smithy/smithy-client").CommandImpl<BatchGetSessionActionCommandInput, BatchGetSessionActionCommandOutput, DeadlineClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: BatchGetSessionActionCommandInput): import("@smithy/smithy-client").CommandImpl<BatchGetSessionActionCommandInput, BatchGetSessionActionCommandOutput, DeadlineClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Retrieves multiple session actions in a single request. This is a batch version of the <code>GetSessionAction</code> API.</p> <p>The result of getting each session action 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, BatchGetSessionActionCommand } from "@aws-sdk/client-deadline"; // ES Modules import
|
|
35
|
+
* // const { DeadlineClient, BatchGetSessionActionCommand } = 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 = { // BatchGetSessionActionRequest
|
|
40
|
+
* identifiers: [ // BatchGetSessionActionIdentifiers // required
|
|
41
|
+
* { // BatchGetSessionActionIdentifier
|
|
42
|
+
* farmId: "STRING_VALUE", // required
|
|
43
|
+
* queueId: "STRING_VALUE", // required
|
|
44
|
+
* jobId: "STRING_VALUE", // required
|
|
45
|
+
* sessionActionId: "STRING_VALUE", // required
|
|
46
|
+
* },
|
|
47
|
+
* ],
|
|
48
|
+
* };
|
|
49
|
+
* const command = new BatchGetSessionActionCommand(input);
|
|
50
|
+
* const response = await client.send(command);
|
|
51
|
+
* // { // BatchGetSessionActionResponse
|
|
52
|
+
* // sessionActions: [ // BatchGetSessionActionItems // required
|
|
53
|
+
* // { // BatchGetSessionActionItem
|
|
54
|
+
* // farmId: "STRING_VALUE", // required
|
|
55
|
+
* // queueId: "STRING_VALUE", // required
|
|
56
|
+
* // jobId: "STRING_VALUE", // required
|
|
57
|
+
* // sessionActionId: "STRING_VALUE", // required
|
|
58
|
+
* // status: "ASSIGNED" || "RUNNING" || "CANCELING" || "SUCCEEDED" || "FAILED" || "INTERRUPTED" || "CANCELED" || "NEVER_ATTEMPTED" || "SCHEDULED" || "RECLAIMING" || "RECLAIMED", // required
|
|
59
|
+
* // startedAt: new Date("TIMESTAMP"),
|
|
60
|
+
* // endedAt: new Date("TIMESTAMP"),
|
|
61
|
+
* // workerUpdatedAt: new Date("TIMESTAMP"),
|
|
62
|
+
* // progressPercent: Number("float"),
|
|
63
|
+
* // manifests: [ // TaskRunManifestPropertiesListResponse
|
|
64
|
+
* // { // TaskRunManifestPropertiesResponse
|
|
65
|
+
* // outputManifestPath: "STRING_VALUE",
|
|
66
|
+
* // outputManifestHash: "STRING_VALUE",
|
|
67
|
+
* // },
|
|
68
|
+
* // ],
|
|
69
|
+
* // sessionId: "STRING_VALUE", // required
|
|
70
|
+
* // processExitCode: Number("int"),
|
|
71
|
+
* // progressMessage: "STRING_VALUE",
|
|
72
|
+
* // acquiredLimits: [ // AcquiredLimits
|
|
73
|
+
* // { // AcquiredLimit
|
|
74
|
+
* // limitId: "STRING_VALUE", // required
|
|
75
|
+
* // count: Number("int"), // required
|
|
76
|
+
* // },
|
|
77
|
+
* // ],
|
|
78
|
+
* // definition: { // SessionActionDefinition Union: only one key present
|
|
79
|
+
* // envEnter: { // EnvironmentEnterSessionActionDefinition
|
|
80
|
+
* // environmentId: "STRING_VALUE", // required
|
|
81
|
+
* // },
|
|
82
|
+
* // envExit: { // EnvironmentExitSessionActionDefinition
|
|
83
|
+
* // environmentId: "STRING_VALUE", // required
|
|
84
|
+
* // },
|
|
85
|
+
* // taskRun: { // TaskRunSessionActionDefinition
|
|
86
|
+
* // taskId: "STRING_VALUE",
|
|
87
|
+
* // stepId: "STRING_VALUE", // required
|
|
88
|
+
* // parameters: { // TaskParameters // required
|
|
89
|
+
* // "<keys>": { // TaskParameterValue Union: only one key present
|
|
90
|
+
* // int: "STRING_VALUE",
|
|
91
|
+
* // float: "STRING_VALUE",
|
|
92
|
+
* // string: "STRING_VALUE",
|
|
93
|
+
* // path: "STRING_VALUE",
|
|
94
|
+
* // chunkInt: "STRING_VALUE",
|
|
95
|
+
* // },
|
|
96
|
+
* // },
|
|
97
|
+
* // },
|
|
98
|
+
* // syncInputJobAttachments: { // SyncInputJobAttachmentsSessionActionDefinition
|
|
99
|
+
* // stepId: "STRING_VALUE",
|
|
100
|
+
* // },
|
|
101
|
+
* // },
|
|
102
|
+
* // },
|
|
103
|
+
* // ],
|
|
104
|
+
* // errors: [ // BatchGetSessionActionErrors // required
|
|
105
|
+
* // { // BatchGetSessionActionError
|
|
106
|
+
* // farmId: "STRING_VALUE", // required
|
|
107
|
+
* // queueId: "STRING_VALUE", // required
|
|
108
|
+
* // jobId: "STRING_VALUE", // required
|
|
109
|
+
* // sessionActionId: "STRING_VALUE", // required
|
|
110
|
+
* // code: "InternalServerErrorException" || "ResourceNotFoundException" || "ValidationException", // required
|
|
111
|
+
* // message: "STRING_VALUE", // required
|
|
112
|
+
* // },
|
|
113
|
+
* // ],
|
|
114
|
+
* // };
|
|
115
|
+
*
|
|
116
|
+
* ```
|
|
117
|
+
*
|
|
118
|
+
* @param BatchGetSessionActionCommandInput - {@link BatchGetSessionActionCommandInput}
|
|
119
|
+
* @returns {@link BatchGetSessionActionCommandOutput}
|
|
120
|
+
* @see {@link BatchGetSessionActionCommandInput} for command's `input` shape.
|
|
121
|
+
* @see {@link BatchGetSessionActionCommandOutput} for command's `response` shape.
|
|
122
|
+
* @see {@link DeadlineClientResolvedConfig | config} for DeadlineClient's `config` shape.
|
|
123
|
+
*
|
|
124
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
125
|
+
* <p>You don't have permission to perform the action.</p>
|
|
126
|
+
*
|
|
127
|
+
* @throws {@link InternalServerErrorException} (server fault)
|
|
128
|
+
* <p>Deadline Cloud can't process your request right now. Try again later.</p>
|
|
129
|
+
*
|
|
130
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
131
|
+
* <p>Your request exceeded a request rate quota.</p>
|
|
132
|
+
*
|
|
133
|
+
* @throws {@link ValidationException} (client fault)
|
|
134
|
+
* <p>The request isn't valid. This can occur if your request contains malformed JSON or unsupported characters.</p>
|
|
135
|
+
*
|
|
136
|
+
* @throws {@link DeadlineServiceException}
|
|
137
|
+
* <p>Base exception class for all service exceptions from Deadline service.</p>
|
|
138
|
+
*
|
|
139
|
+
*
|
|
140
|
+
* @example Get multiple session actions in a single request
|
|
141
|
+
* ```javascript
|
|
142
|
+
* //
|
|
143
|
+
* const input = {
|
|
144
|
+
* identifiers: [
|
|
145
|
+
* {
|
|
146
|
+
* farmId: "farm-1234567890abcdef1234567890abcdef",
|
|
147
|
+
* jobId: "job-1234567890abcdef1234567890abcdef",
|
|
148
|
+
* queueId: "queue-1234567890abcdef1234567890abcdef",
|
|
149
|
+
* sessionActionId: "sessionaction-1234567890abcdef1234567890abcdef-0"
|
|
150
|
+
* },
|
|
151
|
+
* {
|
|
152
|
+
* farmId: "farm-1234567890abcdef1234567890abcdef",
|
|
153
|
+
* jobId: "job-1234567890abcdef1234567890abcdef",
|
|
154
|
+
* queueId: "queue-1234567890abcdef1234567890abcdef",
|
|
155
|
+
* sessionActionId: "sessionaction-1234567890abcdef1234567890abcdef-1"
|
|
156
|
+
* }
|
|
157
|
+
* ]
|
|
158
|
+
* };
|
|
159
|
+
* const command = new BatchGetSessionActionCommand(input);
|
|
160
|
+
* const response = await client.send(command);
|
|
161
|
+
* /* response is
|
|
162
|
+
* { /* metadata only *\/ }
|
|
163
|
+
* *\/
|
|
164
|
+
* ```
|
|
165
|
+
*
|
|
166
|
+
* @public
|
|
167
|
+
*/
|
|
168
|
+
export declare class BatchGetSessionActionCommand extends BatchGetSessionActionCommand_base {
|
|
169
|
+
/** @internal type navigation helper, not in runtime. */
|
|
170
|
+
protected static __types: {
|
|
171
|
+
api: {
|
|
172
|
+
input: BatchGetSessionActionRequest;
|
|
173
|
+
output: BatchGetSessionActionResponse;
|
|
174
|
+
};
|
|
175
|
+
sdk: {
|
|
176
|
+
input: BatchGetSessionActionCommandInput;
|
|
177
|
+
output: BatchGetSessionActionCommandOutput;
|
|
178
|
+
};
|
|
179
|
+
};
|
|
180
|
+
}
|