@aws-sdk/client-deadline 3.665.0 → 3.666.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 +8 -0
- package/dist-cjs/Deadline.js +2 -0
- package/dist-cjs/commands/ListJobParameterDefinitionsCommand.js +26 -0
- package/dist-cjs/commands/index.js +1 -0
- package/dist-cjs/pagination/ListJobParameterDefinitionsPaginator.js +7 -0
- package/dist-cjs/pagination/index.js +1 -0
- package/dist-cjs/protocols/Aws_restJson1.js +59 -4
- package/dist-es/Deadline.js +2 -0
- package/dist-es/commands/ListJobParameterDefinitionsCommand.js +22 -0
- package/dist-es/commands/index.js +1 -0
- package/dist-es/pagination/ListJobParameterDefinitionsPaginator.js +4 -0
- package/dist-es/pagination/index.js +1 -0
- package/dist-es/protocols/Aws_restJson1.js +53 -0
- package/dist-types/Deadline.d.ts +7 -0
- package/dist-types/DeadlineClient.d.ts +3 -2
- package/dist-types/commands/CreateJobCommand.d.ts +3 -2
- package/dist-types/commands/GetJobCommand.d.ts +1 -0
- package/dist-types/commands/ListJobParameterDefinitionsCommand.d.ts +94 -0
- package/dist-types/commands/ListJobsCommand.d.ts +1 -0
- package/dist-types/commands/ListQueuesCommand.d.ts +2 -1
- package/dist-types/commands/ListStorageProfilesForQueueCommand.d.ts +1 -2
- package/dist-types/commands/SearchJobsCommand.d.ts +1 -0
- package/dist-types/commands/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +62 -42
- package/dist-types/models/models_1.d.ts +46 -1
- package/dist-types/pagination/ListJobParameterDefinitionsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +1 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +9 -0
- package/dist-types/ts3.4/Deadline.d.ts +17 -0
- package/dist-types/ts3.4/DeadlineClient.d.ts +6 -0
- package/dist-types/ts3.4/commands/ListJobParameterDefinitionsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListQueuesCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/ListStorageProfilesForQueueCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +16 -12
- package/dist-types/ts3.4/models/models_1.d.ts +12 -0
- package/dist-types/ts3.4/pagination/ListJobParameterDefinitionsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +1 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +12 -0
- package/package.json +12 -12
package/README.md
CHANGED
|
@@ -697,6 +697,14 @@ ListJobMembers
|
|
|
697
697
|
|
|
698
698
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/deadline/command/ListJobMembersCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-deadline/Interface/ListJobMembersCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-deadline/Interface/ListJobMembersCommandOutput/)
|
|
699
699
|
|
|
700
|
+
</details>
|
|
701
|
+
<details>
|
|
702
|
+
<summary>
|
|
703
|
+
ListJobParameterDefinitions
|
|
704
|
+
</summary>
|
|
705
|
+
|
|
706
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/deadline/command/ListJobParameterDefinitionsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-deadline/Interface/ListJobParameterDefinitionsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-deadline/Interface/ListJobParameterDefinitionsCommandOutput/)
|
|
707
|
+
|
|
700
708
|
</details>
|
|
701
709
|
<details>
|
|
702
710
|
<summary>
|
package/dist-cjs/Deadline.js
CHANGED
|
@@ -63,6 +63,7 @@ const ListFarmsCommand_1 = require("./commands/ListFarmsCommand");
|
|
|
63
63
|
const ListFleetMembersCommand_1 = require("./commands/ListFleetMembersCommand");
|
|
64
64
|
const ListFleetsCommand_1 = require("./commands/ListFleetsCommand");
|
|
65
65
|
const ListJobMembersCommand_1 = require("./commands/ListJobMembersCommand");
|
|
66
|
+
const ListJobParameterDefinitionsCommand_1 = require("./commands/ListJobParameterDefinitionsCommand");
|
|
66
67
|
const ListJobsCommand_1 = require("./commands/ListJobsCommand");
|
|
67
68
|
const ListLicenseEndpointsCommand_1 = require("./commands/ListLicenseEndpointsCommand");
|
|
68
69
|
const ListMeteredProductsCommand_1 = require("./commands/ListMeteredProductsCommand");
|
|
@@ -167,6 +168,7 @@ const commands = {
|
|
|
167
168
|
ListFleetMembersCommand: ListFleetMembersCommand_1.ListFleetMembersCommand,
|
|
168
169
|
ListFleetsCommand: ListFleetsCommand_1.ListFleetsCommand,
|
|
169
170
|
ListJobMembersCommand: ListJobMembersCommand_1.ListJobMembersCommand,
|
|
171
|
+
ListJobParameterDefinitionsCommand: ListJobParameterDefinitionsCommand_1.ListJobParameterDefinitionsCommand,
|
|
170
172
|
ListJobsCommand: ListJobsCommand_1.ListJobsCommand,
|
|
171
173
|
ListLicenseEndpointsCommand: ListLicenseEndpointsCommand_1.ListLicenseEndpointsCommand,
|
|
172
174
|
ListMeteredProductsCommand: ListMeteredProductsCommand_1.ListMeteredProductsCommand,
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ListJobParameterDefinitionsCommand = exports.$Command = void 0;
|
|
4
|
+
const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
5
|
+
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
+
const EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
9
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
10
|
+
class ListJobParameterDefinitionsCommand extends smithy_client_1.Command
|
|
11
|
+
.classBuilder()
|
|
12
|
+
.ep(EndpointParameters_1.commonParams)
|
|
13
|
+
.m(function (Command, cs, config, o) {
|
|
14
|
+
return [
|
|
15
|
+
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
16
|
+
(0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
17
|
+
];
|
|
18
|
+
})
|
|
19
|
+
.s("Deadline", "ListJobParameterDefinitions", {})
|
|
20
|
+
.n("DeadlineClient", "ListJobParameterDefinitionsCommand")
|
|
21
|
+
.f(void 0, void 0)
|
|
22
|
+
.ser(Aws_restJson1_1.se_ListJobParameterDefinitionsCommand)
|
|
23
|
+
.de(Aws_restJson1_1.de_ListJobParameterDefinitionsCommand)
|
|
24
|
+
.build() {
|
|
25
|
+
}
|
|
26
|
+
exports.ListJobParameterDefinitionsCommand = ListJobParameterDefinitionsCommand;
|
|
@@ -62,6 +62,7 @@ tslib_1.__exportStar(require("./ListFarmsCommand"), exports);
|
|
|
62
62
|
tslib_1.__exportStar(require("./ListFleetMembersCommand"), exports);
|
|
63
63
|
tslib_1.__exportStar(require("./ListFleetsCommand"), exports);
|
|
64
64
|
tslib_1.__exportStar(require("./ListJobMembersCommand"), exports);
|
|
65
|
+
tslib_1.__exportStar(require("./ListJobParameterDefinitionsCommand"), exports);
|
|
65
66
|
tslib_1.__exportStar(require("./ListJobsCommand"), exports);
|
|
66
67
|
tslib_1.__exportStar(require("./ListLicenseEndpointsCommand"), exports);
|
|
67
68
|
tslib_1.__exportStar(require("./ListMeteredProductsCommand"), exports);
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.paginateListJobParameterDefinitions = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
5
|
+
const ListJobParameterDefinitionsCommand_1 = require("../commands/ListJobParameterDefinitionsCommand");
|
|
6
|
+
const DeadlineClient_1 = require("../DeadlineClient");
|
|
7
|
+
exports.paginateListJobParameterDefinitions = (0, core_1.createPaginator)(DeadlineClient_1.DeadlineClient, ListJobParameterDefinitionsCommand_1.ListJobParameterDefinitionsCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -10,6 +10,7 @@ tslib_1.__exportStar(require("./ListFarmsPaginator"), exports);
|
|
|
10
10
|
tslib_1.__exportStar(require("./ListFleetMembersPaginator"), exports);
|
|
11
11
|
tslib_1.__exportStar(require("./ListFleetsPaginator"), exports);
|
|
12
12
|
tslib_1.__exportStar(require("./ListJobMembersPaginator"), exports);
|
|
13
|
+
tslib_1.__exportStar(require("./ListJobParameterDefinitionsPaginator"), exports);
|
|
13
14
|
tslib_1.__exportStar(require("./ListJobsPaginator"), exports);
|
|
14
15
|
tslib_1.__exportStar(require("./ListLicenseEndpointsPaginator"), exports);
|
|
15
16
|
tslib_1.__exportStar(require("./ListMeteredProductsPaginator"), exports);
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.se_GetStepCommand = exports.se_GetSessionsStatisticsAggregationCommand = exports.se_GetSessionActionCommand = exports.se_GetSessionCommand = exports.se_GetQueueFleetAssociationCommand = exports.se_GetQueueEnvironmentCommand = exports.se_GetQueueCommand = exports.se_GetMonitorCommand = exports.se_GetLicenseEndpointCommand = exports.se_GetJobCommand = exports.se_GetFleetCommand = exports.se_GetFarmCommand = exports.se_GetBudgetCommand = exports.se_DisassociateMemberFromQueueCommand = exports.se_DisassociateMemberFromJobCommand = exports.se_DisassociateMemberFromFleetCommand = exports.se_DisassociateMemberFromFarmCommand = exports.se_DeleteWorkerCommand = exports.se_DeleteStorageProfileCommand = exports.se_DeleteQueueFleetAssociationCommand = exports.se_DeleteQueueEnvironmentCommand = exports.se_DeleteQueueCommand = exports.se_DeleteMonitorCommand = exports.se_DeleteMeteredProductCommand = exports.se_DeleteLicenseEndpointCommand = exports.se_DeleteFleetCommand = exports.se_DeleteFarmCommand = exports.se_DeleteBudgetCommand = exports.se_CreateWorkerCommand = exports.se_CreateStorageProfileCommand = exports.se_CreateQueueFleetAssociationCommand = exports.se_CreateQueueEnvironmentCommand = exports.se_CreateQueueCommand = exports.se_CreateMonitorCommand = exports.se_CreateLicenseEndpointCommand = exports.se_CreateJobCommand = exports.se_CreateFleetCommand = exports.se_CreateFarmCommand = exports.se_CreateBudgetCommand = exports.se_CopyJobTemplateCommand = exports.se_BatchGetJobEntityCommand = exports.se_AssumeQueueRoleForWorkerCommand = exports.se_AssumeQueueRoleForUserCommand = exports.se_AssumeQueueRoleForReadCommand = exports.se_AssumeFleetRoleForWorkerCommand = exports.se_AssumeFleetRoleForReadCommand = exports.se_AssociateMemberToQueueCommand = exports.se_AssociateMemberToJobCommand = exports.se_AssociateMemberToFleetCommand = exports.se_AssociateMemberToFarmCommand = void 0;
|
|
4
|
-
exports.
|
|
5
|
-
exports.
|
|
6
|
-
exports.
|
|
7
|
-
exports.de_UpdateWorkerScheduleCommand = exports.de_UpdateWorkerCommand = exports.de_UpdateTaskCommand = exports.de_UpdateStorageProfileCommand = void 0;
|
|
4
|
+
exports.se_UpdateStorageProfileCommand = exports.se_UpdateStepCommand = exports.se_UpdateSessionCommand = exports.se_UpdateQueueFleetAssociationCommand = exports.se_UpdateQueueEnvironmentCommand = exports.se_UpdateQueueCommand = exports.se_UpdateMonitorCommand = exports.se_UpdateJobCommand = exports.se_UpdateFleetCommand = exports.se_UpdateFarmCommand = exports.se_UpdateBudgetCommand = exports.se_UntagResourceCommand = exports.se_TagResourceCommand = exports.se_StartSessionsStatisticsAggregationCommand = exports.se_SearchWorkersCommand = exports.se_SearchTasksCommand = exports.se_SearchStepsCommand = exports.se_SearchJobsCommand = exports.se_PutMeteredProductCommand = exports.se_ListWorkersCommand = exports.se_ListTasksCommand = exports.se_ListTagsForResourceCommand = exports.se_ListStorageProfilesForQueueCommand = exports.se_ListStorageProfilesCommand = exports.se_ListStepsCommand = exports.se_ListStepDependenciesCommand = exports.se_ListStepConsumersCommand = exports.se_ListSessionsForWorkerCommand = exports.se_ListSessionsCommand = exports.se_ListSessionActionsCommand = exports.se_ListQueuesCommand = exports.se_ListQueueMembersCommand = exports.se_ListQueueFleetAssociationsCommand = exports.se_ListQueueEnvironmentsCommand = exports.se_ListMonitorsCommand = exports.se_ListMeteredProductsCommand = exports.se_ListLicenseEndpointsCommand = exports.se_ListJobsCommand = exports.se_ListJobParameterDefinitionsCommand = exports.se_ListJobMembersCommand = exports.se_ListFleetsCommand = exports.se_ListFleetMembersCommand = exports.se_ListFarmsCommand = exports.se_ListFarmMembersCommand = exports.se_ListBudgetsCommand = exports.se_ListAvailableMeteredProductsCommand = exports.se_GetWorkerCommand = exports.se_GetTaskCommand = exports.se_GetStorageProfileForQueueCommand = exports.se_GetStorageProfileCommand = void 0;
|
|
5
|
+
exports.de_GetSessionCommand = exports.de_GetQueueFleetAssociationCommand = exports.de_GetQueueEnvironmentCommand = exports.de_GetQueueCommand = exports.de_GetMonitorCommand = exports.de_GetLicenseEndpointCommand = exports.de_GetJobCommand = exports.de_GetFleetCommand = exports.de_GetFarmCommand = exports.de_GetBudgetCommand = exports.de_DisassociateMemberFromQueueCommand = exports.de_DisassociateMemberFromJobCommand = exports.de_DisassociateMemberFromFleetCommand = exports.de_DisassociateMemberFromFarmCommand = exports.de_DeleteWorkerCommand = exports.de_DeleteStorageProfileCommand = exports.de_DeleteQueueFleetAssociationCommand = exports.de_DeleteQueueEnvironmentCommand = exports.de_DeleteQueueCommand = exports.de_DeleteMonitorCommand = exports.de_DeleteMeteredProductCommand = exports.de_DeleteLicenseEndpointCommand = exports.de_DeleteFleetCommand = exports.de_DeleteFarmCommand = exports.de_DeleteBudgetCommand = exports.de_CreateWorkerCommand = exports.de_CreateStorageProfileCommand = exports.de_CreateQueueFleetAssociationCommand = exports.de_CreateQueueEnvironmentCommand = exports.de_CreateQueueCommand = exports.de_CreateMonitorCommand = exports.de_CreateLicenseEndpointCommand = exports.de_CreateJobCommand = exports.de_CreateFleetCommand = exports.de_CreateFarmCommand = exports.de_CreateBudgetCommand = exports.de_CopyJobTemplateCommand = exports.de_BatchGetJobEntityCommand = exports.de_AssumeQueueRoleForWorkerCommand = exports.de_AssumeQueueRoleForUserCommand = exports.de_AssumeQueueRoleForReadCommand = exports.de_AssumeFleetRoleForWorkerCommand = exports.de_AssumeFleetRoleForReadCommand = exports.de_AssociateMemberToQueueCommand = exports.de_AssociateMemberToJobCommand = exports.de_AssociateMemberToFleetCommand = exports.de_AssociateMemberToFarmCommand = exports.se_UpdateWorkerScheduleCommand = exports.se_UpdateWorkerCommand = exports.se_UpdateTaskCommand = void 0;
|
|
6
|
+
exports.de_UpdateQueueFleetAssociationCommand = exports.de_UpdateQueueEnvironmentCommand = exports.de_UpdateQueueCommand = exports.de_UpdateMonitorCommand = exports.de_UpdateJobCommand = exports.de_UpdateFleetCommand = exports.de_UpdateFarmCommand = exports.de_UpdateBudgetCommand = exports.de_UntagResourceCommand = exports.de_TagResourceCommand = exports.de_StartSessionsStatisticsAggregationCommand = exports.de_SearchWorkersCommand = exports.de_SearchTasksCommand = exports.de_SearchStepsCommand = exports.de_SearchJobsCommand = exports.de_PutMeteredProductCommand = exports.de_ListWorkersCommand = exports.de_ListTasksCommand = exports.de_ListTagsForResourceCommand = exports.de_ListStorageProfilesForQueueCommand = exports.de_ListStorageProfilesCommand = exports.de_ListStepsCommand = exports.de_ListStepDependenciesCommand = exports.de_ListStepConsumersCommand = exports.de_ListSessionsForWorkerCommand = exports.de_ListSessionsCommand = exports.de_ListSessionActionsCommand = exports.de_ListQueuesCommand = exports.de_ListQueueMembersCommand = exports.de_ListQueueFleetAssociationsCommand = exports.de_ListQueueEnvironmentsCommand = exports.de_ListMonitorsCommand = exports.de_ListMeteredProductsCommand = exports.de_ListLicenseEndpointsCommand = exports.de_ListJobsCommand = exports.de_ListJobParameterDefinitionsCommand = exports.de_ListJobMembersCommand = exports.de_ListFleetsCommand = exports.de_ListFleetMembersCommand = exports.de_ListFarmsCommand = exports.de_ListFarmMembersCommand = exports.de_ListBudgetsCommand = exports.de_ListAvailableMeteredProductsCommand = exports.de_GetWorkerCommand = exports.de_GetTaskCommand = exports.de_GetStorageProfileForQueueCommand = exports.de_GetStorageProfileCommand = exports.de_GetStepCommand = exports.de_GetSessionsStatisticsAggregationCommand = exports.de_GetSessionActionCommand = void 0;
|
|
7
|
+
exports.de_UpdateWorkerScheduleCommand = exports.de_UpdateWorkerCommand = exports.de_UpdateTaskCommand = exports.de_UpdateStorageProfileCommand = exports.de_UpdateStepCommand = exports.de_UpdateSessionCommand = void 0;
|
|
8
8
|
const core_1 = require("@aws-sdk/core");
|
|
9
9
|
const core_2 = require("@smithy/core");
|
|
10
10
|
const protocol_http_1 = require("@smithy/protocol-http");
|
|
@@ -372,6 +372,7 @@ const se_CreateJobCommand = async (input, context) => {
|
|
|
372
372
|
maxRetriesPerTask: [],
|
|
373
373
|
parameters: (_) => (0, smithy_client_1._json)(_),
|
|
374
374
|
priority: [],
|
|
375
|
+
sourceJobId: [],
|
|
375
376
|
storageProfileId: [],
|
|
376
377
|
targetTaskRunStatus: [],
|
|
377
378
|
template: [],
|
|
@@ -1364,6 +1365,30 @@ const se_ListJobMembersCommand = async (input, context) => {
|
|
|
1364
1365
|
return b.build();
|
|
1365
1366
|
};
|
|
1366
1367
|
exports.se_ListJobMembersCommand = se_ListJobMembersCommand;
|
|
1368
|
+
const se_ListJobParameterDefinitionsCommand = async (input, context) => {
|
|
1369
|
+
const b = (0, core_2.requestBuilder)(input, context);
|
|
1370
|
+
const headers = {};
|
|
1371
|
+
b.bp("/2023-10-12/farms/{farmId}/queues/{queueId}/jobs/{jobId}/parameter-definitions");
|
|
1372
|
+
b.p("farmId", () => input.farmId, "{farmId}", false);
|
|
1373
|
+
b.p("jobId", () => input.jobId, "{jobId}", false);
|
|
1374
|
+
b.p("queueId", () => input.queueId, "{queueId}", false);
|
|
1375
|
+
const query = (0, smithy_client_1.map)({
|
|
1376
|
+
[_nT]: [, input[_nT]],
|
|
1377
|
+
[_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
|
|
1378
|
+
});
|
|
1379
|
+
let body;
|
|
1380
|
+
let { hostname: resolvedHostname } = await context.endpoint();
|
|
1381
|
+
if (context.disableHostPrefix !== true) {
|
|
1382
|
+
resolvedHostname = "management." + resolvedHostname;
|
|
1383
|
+
if (!(0, protocol_http_1.isValidHostname)(resolvedHostname)) {
|
|
1384
|
+
throw new Error("ValidationError: prefixed hostname must be hostname compatible.");
|
|
1385
|
+
}
|
|
1386
|
+
}
|
|
1387
|
+
b.hn(resolvedHostname);
|
|
1388
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
1389
|
+
return b.build();
|
|
1390
|
+
};
|
|
1391
|
+
exports.se_ListJobParameterDefinitionsCommand = se_ListJobParameterDefinitionsCommand;
|
|
1367
1392
|
const se_ListJobsCommand = async (input, context) => {
|
|
1368
1393
|
const b = (0, core_2.requestBuilder)(input, context);
|
|
1369
1394
|
const headers = {};
|
|
@@ -2976,6 +3001,7 @@ const de_GetJobCommand = async (output, context) => {
|
|
|
2976
3001
|
name: smithy_client_1.expectString,
|
|
2977
3002
|
parameters: smithy_client_1._json,
|
|
2978
3003
|
priority: smithy_client_1.expectInt32,
|
|
3004
|
+
sourceJobId: smithy_client_1.expectString,
|
|
2979
3005
|
startedAt: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(_)),
|
|
2980
3006
|
storageProfileId: smithy_client_1.expectString,
|
|
2981
3007
|
targetTaskRunStatus: smithy_client_1.expectString,
|
|
@@ -3409,6 +3435,22 @@ const de_ListJobMembersCommand = async (output, context) => {
|
|
|
3409
3435
|
return contents;
|
|
3410
3436
|
};
|
|
3411
3437
|
exports.de_ListJobMembersCommand = de_ListJobMembersCommand;
|
|
3438
|
+
const de_ListJobParameterDefinitionsCommand = async (output, context) => {
|
|
3439
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
3440
|
+
return de_CommandError(output, context);
|
|
3441
|
+
}
|
|
3442
|
+
const contents = (0, smithy_client_1.map)({
|
|
3443
|
+
$metadata: deserializeMetadata(output),
|
|
3444
|
+
});
|
|
3445
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await (0, core_1.parseJsonBody)(output.body, context)), "body");
|
|
3446
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
3447
|
+
jobParameterDefinitions: (_) => de_JobParameterDefinitions(_, context),
|
|
3448
|
+
nextToken: smithy_client_1.expectString,
|
|
3449
|
+
});
|
|
3450
|
+
Object.assign(contents, doc);
|
|
3451
|
+
return contents;
|
|
3452
|
+
};
|
|
3453
|
+
exports.de_ListJobParameterDefinitionsCommand = de_ListJobParameterDefinitionsCommand;
|
|
3412
3454
|
const de_ListJobsCommand = async (output, context) => {
|
|
3413
3455
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
3414
3456
|
return de_CommandError(output, context);
|
|
@@ -4513,6 +4555,17 @@ const de_JobEntity = (output, context) => {
|
|
|
4513
4555
|
}
|
|
4514
4556
|
return { $unknown: Object.entries(output)[0] };
|
|
4515
4557
|
};
|
|
4558
|
+
const de_JobParameterDefinition = (output, context) => {
|
|
4559
|
+
return output;
|
|
4560
|
+
};
|
|
4561
|
+
const de_JobParameterDefinitions = (output, context) => {
|
|
4562
|
+
const retVal = (output || [])
|
|
4563
|
+
.filter((e) => e != null)
|
|
4564
|
+
.map((entry) => {
|
|
4565
|
+
return de_JobParameterDefinition(entry, context);
|
|
4566
|
+
});
|
|
4567
|
+
return retVal;
|
|
4568
|
+
};
|
|
4516
4569
|
const de_JobSearchSummaries = (output, context) => {
|
|
4517
4570
|
const retVal = (output || [])
|
|
4518
4571
|
.filter((e) => e != null)
|
|
@@ -4535,6 +4588,7 @@ const de_JobSearchSummary = (output, context) => {
|
|
|
4535
4588
|
name: smithy_client_1.expectString,
|
|
4536
4589
|
priority: smithy_client_1.expectInt32,
|
|
4537
4590
|
queueId: smithy_client_1.expectString,
|
|
4591
|
+
sourceJobId: smithy_client_1.expectString,
|
|
4538
4592
|
startedAt: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(_)),
|
|
4539
4593
|
targetTaskRunStatus: smithy_client_1.expectString,
|
|
4540
4594
|
taskRunStatus: smithy_client_1.expectString,
|
|
@@ -4561,6 +4615,7 @@ const de_JobSummary = (output, context) => {
|
|
|
4561
4615
|
maxRetriesPerTask: smithy_client_1.expectInt32,
|
|
4562
4616
|
name: smithy_client_1.expectString,
|
|
4563
4617
|
priority: smithy_client_1.expectInt32,
|
|
4618
|
+
sourceJobId: smithy_client_1.expectString,
|
|
4564
4619
|
startedAt: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(_)),
|
|
4565
4620
|
targetTaskRunStatus: smithy_client_1.expectString,
|
|
4566
4621
|
taskRunStatus: smithy_client_1.expectString,
|
package/dist-es/Deadline.js
CHANGED
|
@@ -60,6 +60,7 @@ import { ListFarmsCommand } from "./commands/ListFarmsCommand";
|
|
|
60
60
|
import { ListFleetMembersCommand, } from "./commands/ListFleetMembersCommand";
|
|
61
61
|
import { ListFleetsCommand } from "./commands/ListFleetsCommand";
|
|
62
62
|
import { ListJobMembersCommand, } from "./commands/ListJobMembersCommand";
|
|
63
|
+
import { ListJobParameterDefinitionsCommand, } from "./commands/ListJobParameterDefinitionsCommand";
|
|
63
64
|
import { ListJobsCommand } from "./commands/ListJobsCommand";
|
|
64
65
|
import { ListLicenseEndpointsCommand, } from "./commands/ListLicenseEndpointsCommand";
|
|
65
66
|
import { ListMeteredProductsCommand, } from "./commands/ListMeteredProductsCommand";
|
|
@@ -164,6 +165,7 @@ const commands = {
|
|
|
164
165
|
ListFleetMembersCommand,
|
|
165
166
|
ListFleetsCommand,
|
|
166
167
|
ListJobMembersCommand,
|
|
168
|
+
ListJobParameterDefinitionsCommand,
|
|
167
169
|
ListJobsCommand,
|
|
168
170
|
ListLicenseEndpointsCommand,
|
|
169
171
|
ListMeteredProductsCommand,
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { de_ListJobParameterDefinitionsCommand, se_ListJobParameterDefinitionsCommand, } from "../protocols/Aws_restJson1";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class ListJobParameterDefinitionsCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep(commonParams)
|
|
10
|
+
.m(function (Command, cs, config, o) {
|
|
11
|
+
return [
|
|
12
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
+
];
|
|
15
|
+
})
|
|
16
|
+
.s("Deadline", "ListJobParameterDefinitions", {})
|
|
17
|
+
.n("DeadlineClient", "ListJobParameterDefinitionsCommand")
|
|
18
|
+
.f(void 0, void 0)
|
|
19
|
+
.ser(se_ListJobParameterDefinitionsCommand)
|
|
20
|
+
.de(de_ListJobParameterDefinitionsCommand)
|
|
21
|
+
.build() {
|
|
22
|
+
}
|
|
@@ -59,6 +59,7 @@ export * from "./ListFarmsCommand";
|
|
|
59
59
|
export * from "./ListFleetMembersCommand";
|
|
60
60
|
export * from "./ListFleetsCommand";
|
|
61
61
|
export * from "./ListJobMembersCommand";
|
|
62
|
+
export * from "./ListJobParameterDefinitionsCommand";
|
|
62
63
|
export * from "./ListJobsCommand";
|
|
63
64
|
export * from "./ListLicenseEndpointsCommand";
|
|
64
65
|
export * from "./ListMeteredProductsCommand";
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
2
|
+
import { ListJobParameterDefinitionsCommand, } from "../commands/ListJobParameterDefinitionsCommand";
|
|
3
|
+
import { DeadlineClient } from "../DeadlineClient";
|
|
4
|
+
export const paginateListJobParameterDefinitions = createPaginator(DeadlineClient, ListJobParameterDefinitionsCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -7,6 +7,7 @@ export * from "./ListFarmsPaginator";
|
|
|
7
7
|
export * from "./ListFleetMembersPaginator";
|
|
8
8
|
export * from "./ListFleetsPaginator";
|
|
9
9
|
export * from "./ListJobMembersPaginator";
|
|
10
|
+
export * from "./ListJobParameterDefinitionsPaginator";
|
|
10
11
|
export * from "./ListJobsPaginator";
|
|
11
12
|
export * from "./ListLicenseEndpointsPaginator";
|
|
12
13
|
export * from "./ListMeteredProductsPaginator";
|
|
@@ -351,6 +351,7 @@ export const se_CreateJobCommand = async (input, context) => {
|
|
|
351
351
|
maxRetriesPerTask: [],
|
|
352
352
|
parameters: (_) => _json(_),
|
|
353
353
|
priority: [],
|
|
354
|
+
sourceJobId: [],
|
|
354
355
|
storageProfileId: [],
|
|
355
356
|
targetTaskRunStatus: [],
|
|
356
357
|
template: [],
|
|
@@ -1296,6 +1297,29 @@ export const se_ListJobMembersCommand = async (input, context) => {
|
|
|
1296
1297
|
b.m("GET").h(headers).q(query).b(body);
|
|
1297
1298
|
return b.build();
|
|
1298
1299
|
};
|
|
1300
|
+
export const se_ListJobParameterDefinitionsCommand = async (input, context) => {
|
|
1301
|
+
const b = rb(input, context);
|
|
1302
|
+
const headers = {};
|
|
1303
|
+
b.bp("/2023-10-12/farms/{farmId}/queues/{queueId}/jobs/{jobId}/parameter-definitions");
|
|
1304
|
+
b.p("farmId", () => input.farmId, "{farmId}", false);
|
|
1305
|
+
b.p("jobId", () => input.jobId, "{jobId}", false);
|
|
1306
|
+
b.p("queueId", () => input.queueId, "{queueId}", false);
|
|
1307
|
+
const query = map({
|
|
1308
|
+
[_nT]: [, input[_nT]],
|
|
1309
|
+
[_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
|
|
1310
|
+
});
|
|
1311
|
+
let body;
|
|
1312
|
+
let { hostname: resolvedHostname } = await context.endpoint();
|
|
1313
|
+
if (context.disableHostPrefix !== true) {
|
|
1314
|
+
resolvedHostname = "management." + resolvedHostname;
|
|
1315
|
+
if (!__isValidHostname(resolvedHostname)) {
|
|
1316
|
+
throw new Error("ValidationError: prefixed hostname must be hostname compatible.");
|
|
1317
|
+
}
|
|
1318
|
+
}
|
|
1319
|
+
b.hn(resolvedHostname);
|
|
1320
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
1321
|
+
return b.build();
|
|
1322
|
+
};
|
|
1299
1323
|
export const se_ListJobsCommand = async (input, context) => {
|
|
1300
1324
|
const b = rb(input, context);
|
|
1301
1325
|
const headers = {};
|
|
@@ -2827,6 +2851,7 @@ export const de_GetJobCommand = async (output, context) => {
|
|
|
2827
2851
|
name: __expectString,
|
|
2828
2852
|
parameters: _json,
|
|
2829
2853
|
priority: __expectInt32,
|
|
2854
|
+
sourceJobId: __expectString,
|
|
2830
2855
|
startedAt: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
|
|
2831
2856
|
storageProfileId: __expectString,
|
|
2832
2857
|
targetTaskRunStatus: __expectString,
|
|
@@ -3239,6 +3264,21 @@ export const de_ListJobMembersCommand = async (output, context) => {
|
|
|
3239
3264
|
Object.assign(contents, doc);
|
|
3240
3265
|
return contents;
|
|
3241
3266
|
};
|
|
3267
|
+
export const de_ListJobParameterDefinitionsCommand = async (output, context) => {
|
|
3268
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
3269
|
+
return de_CommandError(output, context);
|
|
3270
|
+
}
|
|
3271
|
+
const contents = map({
|
|
3272
|
+
$metadata: deserializeMetadata(output),
|
|
3273
|
+
});
|
|
3274
|
+
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
3275
|
+
const doc = take(data, {
|
|
3276
|
+
jobParameterDefinitions: (_) => de_JobParameterDefinitions(_, context),
|
|
3277
|
+
nextToken: __expectString,
|
|
3278
|
+
});
|
|
3279
|
+
Object.assign(contents, doc);
|
|
3280
|
+
return contents;
|
|
3281
|
+
};
|
|
3242
3282
|
export const de_ListJobsCommand = async (output, context) => {
|
|
3243
3283
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
3244
3284
|
return de_CommandError(output, context);
|
|
@@ -4302,6 +4342,17 @@ const de_JobEntity = (output, context) => {
|
|
|
4302
4342
|
}
|
|
4303
4343
|
return { $unknown: Object.entries(output)[0] };
|
|
4304
4344
|
};
|
|
4345
|
+
const de_JobParameterDefinition = (output, context) => {
|
|
4346
|
+
return output;
|
|
4347
|
+
};
|
|
4348
|
+
const de_JobParameterDefinitions = (output, context) => {
|
|
4349
|
+
const retVal = (output || [])
|
|
4350
|
+
.filter((e) => e != null)
|
|
4351
|
+
.map((entry) => {
|
|
4352
|
+
return de_JobParameterDefinition(entry, context);
|
|
4353
|
+
});
|
|
4354
|
+
return retVal;
|
|
4355
|
+
};
|
|
4305
4356
|
const de_JobSearchSummaries = (output, context) => {
|
|
4306
4357
|
const retVal = (output || [])
|
|
4307
4358
|
.filter((e) => e != null)
|
|
@@ -4324,6 +4375,7 @@ const de_JobSearchSummary = (output, context) => {
|
|
|
4324
4375
|
name: __expectString,
|
|
4325
4376
|
priority: __expectInt32,
|
|
4326
4377
|
queueId: __expectString,
|
|
4378
|
+
sourceJobId: __expectString,
|
|
4327
4379
|
startedAt: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
|
|
4328
4380
|
targetTaskRunStatus: __expectString,
|
|
4329
4381
|
taskRunStatus: __expectString,
|
|
@@ -4350,6 +4402,7 @@ const de_JobSummary = (output, context) => {
|
|
|
4350
4402
|
maxRetriesPerTask: __expectInt32,
|
|
4351
4403
|
name: __expectString,
|
|
4352
4404
|
priority: __expectInt32,
|
|
4405
|
+
sourceJobId: __expectString,
|
|
4353
4406
|
startedAt: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
|
|
4354
4407
|
targetTaskRunStatus: __expectString,
|
|
4355
4408
|
taskRunStatus: __expectString,
|
package/dist-types/Deadline.d.ts
CHANGED
|
@@ -60,6 +60,7 @@ import { ListFarmsCommandInput, ListFarmsCommandOutput } from "./commands/ListFa
|
|
|
60
60
|
import { ListFleetMembersCommandInput, ListFleetMembersCommandOutput } from "./commands/ListFleetMembersCommand";
|
|
61
61
|
import { ListFleetsCommandInput, ListFleetsCommandOutput } from "./commands/ListFleetsCommand";
|
|
62
62
|
import { ListJobMembersCommandInput, ListJobMembersCommandOutput } from "./commands/ListJobMembersCommand";
|
|
63
|
+
import { ListJobParameterDefinitionsCommandInput, ListJobParameterDefinitionsCommandOutput } from "./commands/ListJobParameterDefinitionsCommand";
|
|
63
64
|
import { ListJobsCommandInput, ListJobsCommandOutput } from "./commands/ListJobsCommand";
|
|
64
65
|
import { ListLicenseEndpointsCommandInput, ListLicenseEndpointsCommandOutput } from "./commands/ListLicenseEndpointsCommand";
|
|
65
66
|
import { ListMeteredProductsCommandInput, ListMeteredProductsCommandOutput } from "./commands/ListMeteredProductsCommand";
|
|
@@ -471,6 +472,12 @@ export interface Deadline {
|
|
|
471
472
|
listJobMembers(args: ListJobMembersCommandInput, options?: __HttpHandlerOptions): Promise<ListJobMembersCommandOutput>;
|
|
472
473
|
listJobMembers(args: ListJobMembersCommandInput, cb: (err: any, data?: ListJobMembersCommandOutput) => void): void;
|
|
473
474
|
listJobMembers(args: ListJobMembersCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListJobMembersCommandOutput) => void): void;
|
|
475
|
+
/**
|
|
476
|
+
* @see {@link ListJobParameterDefinitionsCommand}
|
|
477
|
+
*/
|
|
478
|
+
listJobParameterDefinitions(args: ListJobParameterDefinitionsCommandInput, options?: __HttpHandlerOptions): Promise<ListJobParameterDefinitionsCommandOutput>;
|
|
479
|
+
listJobParameterDefinitions(args: ListJobParameterDefinitionsCommandInput, cb: (err: any, data?: ListJobParameterDefinitionsCommandOutput) => void): void;
|
|
480
|
+
listJobParameterDefinitions(args: ListJobParameterDefinitionsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListJobParameterDefinitionsCommandOutput) => void): void;
|
|
474
481
|
/**
|
|
475
482
|
* @see {@link ListJobsCommand}
|
|
476
483
|
*/
|
|
@@ -68,6 +68,7 @@ import { ListFarmsCommandInput, ListFarmsCommandOutput } from "./commands/ListFa
|
|
|
68
68
|
import { ListFleetMembersCommandInput, ListFleetMembersCommandOutput } from "./commands/ListFleetMembersCommand";
|
|
69
69
|
import { ListFleetsCommandInput, ListFleetsCommandOutput } from "./commands/ListFleetsCommand";
|
|
70
70
|
import { ListJobMembersCommandInput, ListJobMembersCommandOutput } from "./commands/ListJobMembersCommand";
|
|
71
|
+
import { ListJobParameterDefinitionsCommandInput, ListJobParameterDefinitionsCommandOutput } from "./commands/ListJobParameterDefinitionsCommand";
|
|
71
72
|
import { ListJobsCommandInput, ListJobsCommandOutput } from "./commands/ListJobsCommand";
|
|
72
73
|
import { ListLicenseEndpointsCommandInput, ListLicenseEndpointsCommandOutput } from "./commands/ListLicenseEndpointsCommand";
|
|
73
74
|
import { ListMeteredProductsCommandInput, ListMeteredProductsCommandOutput } from "./commands/ListMeteredProductsCommand";
|
|
@@ -115,11 +116,11 @@ export { __Client };
|
|
|
115
116
|
/**
|
|
116
117
|
* @public
|
|
117
118
|
*/
|
|
118
|
-
export type ServiceInputTypes = AssociateMemberToFarmCommandInput | AssociateMemberToFleetCommandInput | AssociateMemberToJobCommandInput | AssociateMemberToQueueCommandInput | AssumeFleetRoleForReadCommandInput | AssumeFleetRoleForWorkerCommandInput | AssumeQueueRoleForReadCommandInput | AssumeQueueRoleForUserCommandInput | AssumeQueueRoleForWorkerCommandInput | BatchGetJobEntityCommandInput | CopyJobTemplateCommandInput | CreateBudgetCommandInput | CreateFarmCommandInput | CreateFleetCommandInput | CreateJobCommandInput | CreateLicenseEndpointCommandInput | CreateMonitorCommandInput | CreateQueueCommandInput | CreateQueueEnvironmentCommandInput | CreateQueueFleetAssociationCommandInput | CreateStorageProfileCommandInput | CreateWorkerCommandInput | DeleteBudgetCommandInput | DeleteFarmCommandInput | DeleteFleetCommandInput | DeleteLicenseEndpointCommandInput | DeleteMeteredProductCommandInput | DeleteMonitorCommandInput | DeleteQueueCommandInput | DeleteQueueEnvironmentCommandInput | DeleteQueueFleetAssociationCommandInput | DeleteStorageProfileCommandInput | DeleteWorkerCommandInput | DisassociateMemberFromFarmCommandInput | DisassociateMemberFromFleetCommandInput | DisassociateMemberFromJobCommandInput | DisassociateMemberFromQueueCommandInput | GetBudgetCommandInput | GetFarmCommandInput | GetFleetCommandInput | GetJobCommandInput | GetLicenseEndpointCommandInput | GetMonitorCommandInput | GetQueueCommandInput | GetQueueEnvironmentCommandInput | GetQueueFleetAssociationCommandInput | GetSessionActionCommandInput | GetSessionCommandInput | GetSessionsStatisticsAggregationCommandInput | GetStepCommandInput | GetStorageProfileCommandInput | GetStorageProfileForQueueCommandInput | GetTaskCommandInput | GetWorkerCommandInput | ListAvailableMeteredProductsCommandInput | ListBudgetsCommandInput | ListFarmMembersCommandInput | ListFarmsCommandInput | ListFleetMembersCommandInput | ListFleetsCommandInput | ListJobMembersCommandInput | ListJobsCommandInput | ListLicenseEndpointsCommandInput | ListMeteredProductsCommandInput | ListMonitorsCommandInput | ListQueueEnvironmentsCommandInput | ListQueueFleetAssociationsCommandInput | 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 | UpdateMonitorCommandInput | UpdateQueueCommandInput | UpdateQueueEnvironmentCommandInput | UpdateQueueFleetAssociationCommandInput | UpdateSessionCommandInput | UpdateStepCommandInput | UpdateStorageProfileCommandInput | UpdateTaskCommandInput | UpdateWorkerCommandInput | UpdateWorkerScheduleCommandInput;
|
|
119
|
+
export type ServiceInputTypes = AssociateMemberToFarmCommandInput | AssociateMemberToFleetCommandInput | AssociateMemberToJobCommandInput | AssociateMemberToQueueCommandInput | AssumeFleetRoleForReadCommandInput | AssumeFleetRoleForWorkerCommandInput | AssumeQueueRoleForReadCommandInput | AssumeQueueRoleForUserCommandInput | AssumeQueueRoleForWorkerCommandInput | BatchGetJobEntityCommandInput | CopyJobTemplateCommandInput | CreateBudgetCommandInput | CreateFarmCommandInput | CreateFleetCommandInput | CreateJobCommandInput | CreateLicenseEndpointCommandInput | CreateMonitorCommandInput | CreateQueueCommandInput | CreateQueueEnvironmentCommandInput | CreateQueueFleetAssociationCommandInput | CreateStorageProfileCommandInput | CreateWorkerCommandInput | DeleteBudgetCommandInput | DeleteFarmCommandInput | DeleteFleetCommandInput | DeleteLicenseEndpointCommandInput | DeleteMeteredProductCommandInput | DeleteMonitorCommandInput | DeleteQueueCommandInput | DeleteQueueEnvironmentCommandInput | DeleteQueueFleetAssociationCommandInput | DeleteStorageProfileCommandInput | DeleteWorkerCommandInput | DisassociateMemberFromFarmCommandInput | DisassociateMemberFromFleetCommandInput | DisassociateMemberFromJobCommandInput | DisassociateMemberFromQueueCommandInput | GetBudgetCommandInput | GetFarmCommandInput | GetFleetCommandInput | GetJobCommandInput | GetLicenseEndpointCommandInput | GetMonitorCommandInput | GetQueueCommandInput | GetQueueEnvironmentCommandInput | GetQueueFleetAssociationCommandInput | GetSessionActionCommandInput | GetSessionCommandInput | GetSessionsStatisticsAggregationCommandInput | GetStepCommandInput | GetStorageProfileCommandInput | GetStorageProfileForQueueCommandInput | GetTaskCommandInput | GetWorkerCommandInput | ListAvailableMeteredProductsCommandInput | ListBudgetsCommandInput | ListFarmMembersCommandInput | ListFarmsCommandInput | ListFleetMembersCommandInput | ListFleetsCommandInput | ListJobMembersCommandInput | ListJobParameterDefinitionsCommandInput | ListJobsCommandInput | ListLicenseEndpointsCommandInput | ListMeteredProductsCommandInput | ListMonitorsCommandInput | ListQueueEnvironmentsCommandInput | ListQueueFleetAssociationsCommandInput | 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 | UpdateMonitorCommandInput | UpdateQueueCommandInput | UpdateQueueEnvironmentCommandInput | UpdateQueueFleetAssociationCommandInput | UpdateSessionCommandInput | UpdateStepCommandInput | UpdateStorageProfileCommandInput | UpdateTaskCommandInput | UpdateWorkerCommandInput | UpdateWorkerScheduleCommandInput;
|
|
119
120
|
/**
|
|
120
121
|
* @public
|
|
121
122
|
*/
|
|
122
|
-
export type ServiceOutputTypes = AssociateMemberToFarmCommandOutput | AssociateMemberToFleetCommandOutput | AssociateMemberToJobCommandOutput | AssociateMemberToQueueCommandOutput | AssumeFleetRoleForReadCommandOutput | AssumeFleetRoleForWorkerCommandOutput | AssumeQueueRoleForReadCommandOutput | AssumeQueueRoleForUserCommandOutput | AssumeQueueRoleForWorkerCommandOutput | BatchGetJobEntityCommandOutput | CopyJobTemplateCommandOutput | CreateBudgetCommandOutput | CreateFarmCommandOutput | CreateFleetCommandOutput | CreateJobCommandOutput | CreateLicenseEndpointCommandOutput | CreateMonitorCommandOutput | CreateQueueCommandOutput | CreateQueueEnvironmentCommandOutput | CreateQueueFleetAssociationCommandOutput | CreateStorageProfileCommandOutput | CreateWorkerCommandOutput | DeleteBudgetCommandOutput | DeleteFarmCommandOutput | DeleteFleetCommandOutput | DeleteLicenseEndpointCommandOutput | DeleteMeteredProductCommandOutput | DeleteMonitorCommandOutput | DeleteQueueCommandOutput | DeleteQueueEnvironmentCommandOutput | DeleteQueueFleetAssociationCommandOutput | DeleteStorageProfileCommandOutput | DeleteWorkerCommandOutput | DisassociateMemberFromFarmCommandOutput | DisassociateMemberFromFleetCommandOutput | DisassociateMemberFromJobCommandOutput | DisassociateMemberFromQueueCommandOutput | GetBudgetCommandOutput | GetFarmCommandOutput | GetFleetCommandOutput | GetJobCommandOutput | GetLicenseEndpointCommandOutput | GetMonitorCommandOutput | GetQueueCommandOutput | GetQueueEnvironmentCommandOutput | GetQueueFleetAssociationCommandOutput | GetSessionActionCommandOutput | GetSessionCommandOutput | GetSessionsStatisticsAggregationCommandOutput | GetStepCommandOutput | GetStorageProfileCommandOutput | GetStorageProfileForQueueCommandOutput | GetTaskCommandOutput | GetWorkerCommandOutput | ListAvailableMeteredProductsCommandOutput | ListBudgetsCommandOutput | ListFarmMembersCommandOutput | ListFarmsCommandOutput | ListFleetMembersCommandOutput | ListFleetsCommandOutput | ListJobMembersCommandOutput | ListJobsCommandOutput | ListLicenseEndpointsCommandOutput | ListMeteredProductsCommandOutput | ListMonitorsCommandOutput | ListQueueEnvironmentsCommandOutput | ListQueueFleetAssociationsCommandOutput | 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 | UpdateMonitorCommandOutput | UpdateQueueCommandOutput | UpdateQueueEnvironmentCommandOutput | UpdateQueueFleetAssociationCommandOutput | UpdateSessionCommandOutput | UpdateStepCommandOutput | UpdateStorageProfileCommandOutput | UpdateTaskCommandOutput | UpdateWorkerCommandOutput | UpdateWorkerScheduleCommandOutput;
|
|
123
|
+
export type ServiceOutputTypes = AssociateMemberToFarmCommandOutput | AssociateMemberToFleetCommandOutput | AssociateMemberToJobCommandOutput | AssociateMemberToQueueCommandOutput | AssumeFleetRoleForReadCommandOutput | AssumeFleetRoleForWorkerCommandOutput | AssumeQueueRoleForReadCommandOutput | AssumeQueueRoleForUserCommandOutput | AssumeQueueRoleForWorkerCommandOutput | BatchGetJobEntityCommandOutput | CopyJobTemplateCommandOutput | CreateBudgetCommandOutput | CreateFarmCommandOutput | CreateFleetCommandOutput | CreateJobCommandOutput | CreateLicenseEndpointCommandOutput | CreateMonitorCommandOutput | CreateQueueCommandOutput | CreateQueueEnvironmentCommandOutput | CreateQueueFleetAssociationCommandOutput | CreateStorageProfileCommandOutput | CreateWorkerCommandOutput | DeleteBudgetCommandOutput | DeleteFarmCommandOutput | DeleteFleetCommandOutput | DeleteLicenseEndpointCommandOutput | DeleteMeteredProductCommandOutput | DeleteMonitorCommandOutput | DeleteQueueCommandOutput | DeleteQueueEnvironmentCommandOutput | DeleteQueueFleetAssociationCommandOutput | DeleteStorageProfileCommandOutput | DeleteWorkerCommandOutput | DisassociateMemberFromFarmCommandOutput | DisassociateMemberFromFleetCommandOutput | DisassociateMemberFromJobCommandOutput | DisassociateMemberFromQueueCommandOutput | GetBudgetCommandOutput | GetFarmCommandOutput | GetFleetCommandOutput | GetJobCommandOutput | GetLicenseEndpointCommandOutput | GetMonitorCommandOutput | GetQueueCommandOutput | GetQueueEnvironmentCommandOutput | GetQueueFleetAssociationCommandOutput | GetSessionActionCommandOutput | GetSessionCommandOutput | GetSessionsStatisticsAggregationCommandOutput | GetStepCommandOutput | GetStorageProfileCommandOutput | GetStorageProfileForQueueCommandOutput | GetTaskCommandOutput | GetWorkerCommandOutput | ListAvailableMeteredProductsCommandOutput | ListBudgetsCommandOutput | ListFarmMembersCommandOutput | ListFarmsCommandOutput | ListFleetMembersCommandOutput | ListFleetsCommandOutput | ListJobMembersCommandOutput | ListJobParameterDefinitionsCommandOutput | ListJobsCommandOutput | ListLicenseEndpointsCommandOutput | ListMeteredProductsCommandOutput | ListMonitorsCommandOutput | ListQueueEnvironmentsCommandOutput | ListQueueFleetAssociationsCommandOutput | 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 | UpdateMonitorCommandOutput | UpdateQueueCommandOutput | UpdateQueueEnvironmentCommandOutput | UpdateQueueFleetAssociationCommandOutput | UpdateSessionCommandOutput | UpdateStepCommandOutput | UpdateStorageProfileCommandOutput | UpdateTaskCommandOutput | UpdateWorkerCommandOutput | UpdateWorkerScheduleCommandOutput;
|
|
123
124
|
/**
|
|
124
125
|
* @public
|
|
125
126
|
*/
|
|
@@ -40,8 +40,8 @@ declare const CreateJobCommand_base: {
|
|
|
40
40
|
* farmId: "STRING_VALUE", // required
|
|
41
41
|
* queueId: "STRING_VALUE", // required
|
|
42
42
|
* clientToken: "STRING_VALUE",
|
|
43
|
-
* template: "STRING_VALUE",
|
|
44
|
-
* templateType: "JSON" || "YAML",
|
|
43
|
+
* template: "STRING_VALUE",
|
|
44
|
+
* templateType: "JSON" || "YAML",
|
|
45
45
|
* priority: Number("int"), // required
|
|
46
46
|
* parameters: { // JobParameters
|
|
47
47
|
* "<keys>": { // JobParameter Union: only one key present
|
|
@@ -70,6 +70,7 @@ declare const CreateJobCommand_base: {
|
|
|
70
70
|
* targetTaskRunStatus: "READY" || "SUSPENDED",
|
|
71
71
|
* maxFailedTasksCount: Number("int"),
|
|
72
72
|
* maxRetriesPerTask: Number("int"),
|
|
73
|
+
* sourceJobId: "STRING_VALUE",
|
|
73
74
|
* };
|
|
74
75
|
* const command = new CreateJobCommand(input);
|
|
75
76
|
* const response = await client.send(command);
|
|
@@ -0,0 +1,94 @@
|
|
|
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 { ListJobParameterDefinitionsRequest, ListJobParameterDefinitionsResponse } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link ListJobParameterDefinitionsCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface ListJobParameterDefinitionsCommandInput extends ListJobParameterDefinitionsRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link ListJobParameterDefinitionsCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface ListJobParameterDefinitionsCommandOutput extends ListJobParameterDefinitionsResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const ListJobParameterDefinitionsCommand_base: {
|
|
25
|
+
new (input: ListJobParameterDefinitionsCommandInput): import("@smithy/smithy-client").CommandImpl<ListJobParameterDefinitionsCommandInput, ListJobParameterDefinitionsCommandOutput, DeadlineClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (__0_0: ListJobParameterDefinitionsCommandInput): import("@smithy/smithy-client").CommandImpl<ListJobParameterDefinitionsCommandInput, ListJobParameterDefinitionsCommandOutput, DeadlineClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Lists parameter definitions of a job.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { DeadlineClient, ListJobParameterDefinitionsCommand } from "@aws-sdk/client-deadline"; // ES Modules import
|
|
35
|
+
* // const { DeadlineClient, ListJobParameterDefinitionsCommand } = require("@aws-sdk/client-deadline"); // CommonJS import
|
|
36
|
+
* const client = new DeadlineClient(config);
|
|
37
|
+
* const input = { // ListJobParameterDefinitionsRequest
|
|
38
|
+
* farmId: "STRING_VALUE", // required
|
|
39
|
+
* jobId: "STRING_VALUE", // required
|
|
40
|
+
* queueId: "STRING_VALUE", // required
|
|
41
|
+
* nextToken: "STRING_VALUE",
|
|
42
|
+
* maxResults: Number("int"),
|
|
43
|
+
* };
|
|
44
|
+
* const command = new ListJobParameterDefinitionsCommand(input);
|
|
45
|
+
* const response = await client.send(command);
|
|
46
|
+
* // { // ListJobParameterDefinitionsResponse
|
|
47
|
+
* // jobParameterDefinitions: [ // JobParameterDefinitions // required
|
|
48
|
+
* // "DOCUMENT_VALUE",
|
|
49
|
+
* // ],
|
|
50
|
+
* // nextToken: "STRING_VALUE",
|
|
51
|
+
* // };
|
|
52
|
+
*
|
|
53
|
+
* ```
|
|
54
|
+
*
|
|
55
|
+
* @param ListJobParameterDefinitionsCommandInput - {@link ListJobParameterDefinitionsCommandInput}
|
|
56
|
+
* @returns {@link ListJobParameterDefinitionsCommandOutput}
|
|
57
|
+
* @see {@link ListJobParameterDefinitionsCommandInput} for command's `input` shape.
|
|
58
|
+
* @see {@link ListJobParameterDefinitionsCommandOutput} for command's `response` shape.
|
|
59
|
+
* @see {@link DeadlineClientResolvedConfig | config} for DeadlineClient's `config` shape.
|
|
60
|
+
*
|
|
61
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
62
|
+
* <p>You don't have permission to perform the action.</p>
|
|
63
|
+
*
|
|
64
|
+
* @throws {@link InternalServerErrorException} (server fault)
|
|
65
|
+
* <p>Deadline Cloud can't process your request right now. Try again later.</p>
|
|
66
|
+
*
|
|
67
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
68
|
+
* <p>The requested resource can't be found.</p>
|
|
69
|
+
*
|
|
70
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
71
|
+
* <p>Your request exceeded a request rate quota.</p>
|
|
72
|
+
*
|
|
73
|
+
* @throws {@link ValidationException} (client fault)
|
|
74
|
+
* <p>The request isn't valid. This can occur if your request contains malformed JSON or
|
|
75
|
+
* unsupported characters.</p>
|
|
76
|
+
*
|
|
77
|
+
* @throws {@link DeadlineServiceException}
|
|
78
|
+
* <p>Base exception class for all service exceptions from Deadline service.</p>
|
|
79
|
+
*
|
|
80
|
+
* @public
|
|
81
|
+
*/
|
|
82
|
+
export declare class ListJobParameterDefinitionsCommand extends ListJobParameterDefinitionsCommand_base {
|
|
83
|
+
/** @internal type navigation helper, not in runtime. */
|
|
84
|
+
protected static __types: {
|
|
85
|
+
api: {
|
|
86
|
+
input: ListJobParameterDefinitionsRequest;
|
|
87
|
+
output: ListJobParameterDefinitionsResponse;
|
|
88
|
+
};
|
|
89
|
+
sdk: {
|
|
90
|
+
input: ListJobParameterDefinitionsCommandInput;
|
|
91
|
+
output: ListJobParameterDefinitionsCommandOutput;
|
|
92
|
+
};
|
|
93
|
+
};
|
|
94
|
+
}
|
|
@@ -1,7 +1,8 @@
|
|
|
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 { ListQueuesRequest
|
|
4
|
+
import { ListQueuesRequest } from "../models/models_0";
|
|
5
|
+
import { ListQueuesResponse } from "../models/models_1";
|
|
5
6
|
/**
|
|
6
7
|
* @public
|
|
7
8
|
*/
|
|
@@ -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 { ListStorageProfilesForQueueRequest } from "../models/
|
|
5
|
-
import { ListStorageProfilesForQueueResponse } from "../models/models_1";
|
|
4
|
+
import { ListStorageProfilesForQueueRequest, ListStorageProfilesForQueueResponse } from "../models/models_1";
|
|
6
5
|
/**
|
|
7
6
|
* @public
|
|
8
7
|
*/
|