@aws-sdk/client-deadline 3.731.1 → 3.737.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +80 -0
- package/dist-cjs/Deadline.js +20 -0
- package/dist-cjs/commands/CreateLimitCommand.js +27 -0
- package/dist-cjs/commands/CreateQueueLimitAssociationCommand.js +26 -0
- package/dist-cjs/commands/DeleteLimitCommand.js +26 -0
- package/dist-cjs/commands/DeleteQueueLimitAssociationCommand.js +26 -0
- package/dist-cjs/commands/GetLimitCommand.js +27 -0
- package/dist-cjs/commands/GetQueueLimitAssociationCommand.js +26 -0
- package/dist-cjs/commands/ListLimitsCommand.js +26 -0
- package/dist-cjs/commands/ListQueueLimitAssociationsCommand.js +26 -0
- package/dist-cjs/commands/UpdateLimitCommand.js +27 -0
- package/dist-cjs/commands/UpdateQueueLimitAssociationCommand.js +26 -0
- package/dist-cjs/commands/index.js +10 -0
- package/dist-cjs/models/models_0.js +12 -5
- package/dist-cjs/models/models_1.js +20 -1
- package/dist-cjs/pagination/ListLimitsPaginator.js +7 -0
- package/dist-cjs/pagination/ListQueueLimitAssociationsPaginator.js +7 -0
- package/dist-cjs/pagination/index.js +2 -0
- package/dist-cjs/protocols/Aws_restJson1.js +428 -6
- package/dist-cjs/waiters/index.js +1 -0
- package/dist-cjs/waiters/waitForQueueLimitAssociationStopped.js +36 -0
- package/dist-es/Deadline.js +20 -0
- package/dist-es/commands/CreateLimitCommand.js +23 -0
- package/dist-es/commands/CreateQueueLimitAssociationCommand.js +22 -0
- package/dist-es/commands/DeleteLimitCommand.js +22 -0
- package/dist-es/commands/DeleteQueueLimitAssociationCommand.js +22 -0
- package/dist-es/commands/GetLimitCommand.js +23 -0
- package/dist-es/commands/GetQueueLimitAssociationCommand.js +22 -0
- package/dist-es/commands/ListLimitsCommand.js +22 -0
- package/dist-es/commands/ListQueueLimitAssociationsCommand.js +22 -0
- package/dist-es/commands/UpdateLimitCommand.js +23 -0
- package/dist-es/commands/UpdateQueueLimitAssociationCommand.js +22 -0
- package/dist-es/commands/index.js +10 -0
- package/dist-es/models/models_0.js +8 -3
- package/dist-es/models/models_1.js +18 -0
- package/dist-es/pagination/ListLimitsPaginator.js +4 -0
- package/dist-es/pagination/ListQueueLimitAssociationsPaginator.js +4 -0
- package/dist-es/pagination/index.js +2 -0
- package/dist-es/protocols/Aws_restJson1.js +403 -1
- package/dist-es/waiters/index.js +1 -0
- package/dist-es/waiters/waitForQueueLimitAssociationStopped.js +31 -0
- package/dist-types/Deadline.d.ts +70 -0
- package/dist-types/DeadlineClient.d.ts +12 -2
- package/dist-types/commands/CreateJobCommand.d.ts +2 -1
- package/dist-types/commands/CreateLimitCommand.d.ts +100 -0
- package/dist-types/commands/CreateQueueLimitAssociationCommand.d.ts +90 -0
- package/dist-types/commands/DeleteLimitCommand.d.ts +85 -0
- package/dist-types/commands/DeleteQueueLimitAssociationCommand.d.ts +96 -0
- package/dist-types/commands/GetJobCommand.d.ts +2 -1
- package/dist-types/commands/GetLimitCommand.d.ts +98 -0
- package/dist-types/commands/GetQueueLimitAssociationCommand.d.ts +95 -0
- package/dist-types/commands/GetSessionActionCommand.d.ts +6 -0
- package/dist-types/commands/GetWorkerCommand.d.ts +1 -1
- package/dist-types/commands/ListJobsCommand.d.ts +1 -0
- package/dist-types/commands/ListLimitsCommand.d.ts +103 -0
- package/dist-types/commands/ListQueueEnvironmentsCommand.d.ts +1 -1
- package/dist-types/commands/ListQueueLimitAssociationsCommand.d.ts +98 -0
- package/dist-types/commands/ListQueueMembersCommand.d.ts +1 -2
- package/dist-types/commands/SearchJobsCommand.d.ts +1 -0
- package/dist-types/commands/UpdateJobCommand.d.ts +5 -4
- package/dist-types/commands/UpdateLimitCommand.d.ts +89 -0
- package/dist-types/commands/UpdateQueueLimitAssociationCommand.d.ts +90 -0
- package/dist-types/commands/UpdateSessionCommand.d.ts +2 -2
- package/dist-types/commands/UpdateStepCommand.d.ts +2 -2
- package/dist-types/commands/UpdateTaskCommand.d.ts +2 -2
- package/dist-types/commands/index.d.ts +10 -0
- package/dist-types/models/models_0.d.ts +497 -391
- package/dist-types/models/models_1.d.ts +622 -1
- package/dist-types/pagination/ListLimitsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListQueueLimitAssociationsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +2 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +90 -0
- package/dist-types/ts3.4/Deadline.d.ts +170 -0
- package/dist-types/ts3.4/DeadlineClient.d.ts +60 -0
- package/dist-types/ts3.4/commands/CreateLimitCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/CreateQueueLimitAssociationCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DeleteLimitCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/DeleteQueueLimitAssociationCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetLimitCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/GetQueueLimitAssociationCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListLimitsCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/ListQueueEnvironmentsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListQueueLimitAssociationsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListQueueMembersCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/UpdateJobCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateLimitCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/UpdateQueueLimitAssociationCommand.d.ts +51 -0
- 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/UpdateTaskCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/index.d.ts +10 -0
- package/dist-types/ts3.4/models/models_0.d.ts +82 -76
- package/dist-types/ts3.4/models/models_1.d.ts +146 -1
- package/dist-types/ts3.4/pagination/ListLimitsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListQueueLimitAssociationsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +2 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +120 -0
- package/dist-types/ts3.4/waiters/index.d.ts +1 -0
- package/dist-types/ts3.4/waiters/waitForQueueLimitAssociationStopped.d.ts +11 -0
- package/dist-types/waiters/index.d.ts +1 -0
- package/dist-types/waiters/waitForQueueLimitAssociationStopped.d.ts +14 -0
- package/package.json +34 -34
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
exports.
|
|
5
|
-
exports.
|
|
6
|
-
exports.
|
|
7
|
-
exports.de_UpdateWorkerScheduleCommand = exports.de_UpdateWorkerCommand = exports.de_UpdateTaskCommand = exports.de_UpdateStorageProfileCommand = exports.de_UpdateStepCommand = exports.de_UpdateSessionCommand = void 0;
|
|
3
|
+
exports.se_GetQueueEnvironmentCommand = exports.se_GetQueueCommand = exports.se_GetMonitorCommand = exports.se_GetLimitCommand = 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_DeleteQueueLimitAssociationCommand = exports.se_DeleteQueueFleetAssociationCommand = exports.se_DeleteQueueEnvironmentCommand = exports.se_DeleteQueueCommand = exports.se_DeleteMonitorCommand = exports.se_DeleteMeteredProductCommand = exports.se_DeleteLimitCommand = exports.se_DeleteLicenseEndpointCommand = exports.se_DeleteFleetCommand = exports.se_DeleteFarmCommand = exports.se_DeleteBudgetCommand = exports.se_CreateWorkerCommand = exports.se_CreateStorageProfileCommand = exports.se_CreateQueueLimitAssociationCommand = exports.se_CreateQueueFleetAssociationCommand = exports.se_CreateQueueEnvironmentCommand = exports.se_CreateQueueCommand = exports.se_CreateMonitorCommand = exports.se_CreateLimitCommand = 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.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_ListQueueLimitAssociationsCommand = exports.se_ListQueueFleetAssociationsCommand = exports.se_ListQueueEnvironmentsCommand = exports.se_ListMonitorsCommand = exports.se_ListMeteredProductsCommand = exports.se_ListLimitsCommand = 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 = exports.se_GetStepCommand = exports.se_GetSessionsStatisticsAggregationCommand = exports.se_GetSessionActionCommand = exports.se_GetSessionCommand = exports.se_GetQueueLimitAssociationCommand = exports.se_GetQueueFleetAssociationCommand = void 0;
|
|
5
|
+
exports.de_DeleteWorkerCommand = exports.de_DeleteStorageProfileCommand = exports.de_DeleteQueueLimitAssociationCommand = exports.de_DeleteQueueFleetAssociationCommand = exports.de_DeleteQueueEnvironmentCommand = exports.de_DeleteQueueCommand = exports.de_DeleteMonitorCommand = exports.de_DeleteMeteredProductCommand = exports.de_DeleteLimitCommand = exports.de_DeleteLicenseEndpointCommand = exports.de_DeleteFleetCommand = exports.de_DeleteFarmCommand = exports.de_DeleteBudgetCommand = exports.de_CreateWorkerCommand = exports.de_CreateStorageProfileCommand = exports.de_CreateQueueLimitAssociationCommand = exports.de_CreateQueueFleetAssociationCommand = exports.de_CreateQueueEnvironmentCommand = exports.de_CreateQueueCommand = exports.de_CreateMonitorCommand = exports.de_CreateLimitCommand = 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 = exports.se_UpdateStorageProfileCommand = exports.se_UpdateStepCommand = exports.se_UpdateSessionCommand = exports.se_UpdateQueueLimitAssociationCommand = exports.se_UpdateQueueFleetAssociationCommand = exports.se_UpdateQueueEnvironmentCommand = exports.se_UpdateQueueCommand = exports.se_UpdateMonitorCommand = exports.se_UpdateLimitCommand = exports.se_UpdateJobCommand = void 0;
|
|
6
|
+
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_ListQueueLimitAssociationsCommand = exports.de_ListQueueFleetAssociationsCommand = exports.de_ListQueueEnvironmentsCommand = exports.de_ListMonitorsCommand = exports.de_ListMeteredProductsCommand = exports.de_ListLimitsCommand = 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 = exports.de_GetSessionCommand = exports.de_GetQueueLimitAssociationCommand = exports.de_GetQueueFleetAssociationCommand = exports.de_GetQueueEnvironmentCommand = exports.de_GetQueueCommand = exports.de_GetMonitorCommand = exports.de_GetLimitCommand = 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 = void 0;
|
|
7
|
+
exports.de_UpdateWorkerScheduleCommand = exports.de_UpdateWorkerCommand = exports.de_UpdateTaskCommand = exports.de_UpdateStorageProfileCommand = exports.de_UpdateStepCommand = exports.de_UpdateSessionCommand = exports.de_UpdateQueueLimitAssociationCommand = exports.de_UpdateQueueFleetAssociationCommand = exports.de_UpdateQueueEnvironmentCommand = exports.de_UpdateQueueCommand = exports.de_UpdateMonitorCommand = exports.de_UpdateLimitCommand = 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 = 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");
|
|
@@ -370,6 +370,7 @@ const se_CreateJobCommand = async (input, context) => {
|
|
|
370
370
|
attachments: (_) => (0, smithy_client_1._json)(_),
|
|
371
371
|
maxFailedTasksCount: [],
|
|
372
372
|
maxRetriesPerTask: [],
|
|
373
|
+
maxWorkerCount: [],
|
|
373
374
|
parameters: (_) => (0, smithy_client_1._json)(_),
|
|
374
375
|
priority: [],
|
|
375
376
|
sourceJobId: [],
|
|
@@ -416,6 +417,33 @@ const se_CreateLicenseEndpointCommand = async (input, context) => {
|
|
|
416
417
|
return b.build();
|
|
417
418
|
};
|
|
418
419
|
exports.se_CreateLicenseEndpointCommand = se_CreateLicenseEndpointCommand;
|
|
420
|
+
const se_CreateLimitCommand = async (input, context) => {
|
|
421
|
+
const b = (0, core_2.requestBuilder)(input, context);
|
|
422
|
+
const headers = (0, smithy_client_1.map)({}, smithy_client_1.isSerializableHeaderValue, {
|
|
423
|
+
"content-type": "application/json",
|
|
424
|
+
[_xact]: input[_cT] ?? (0, uuid_1.v4)(),
|
|
425
|
+
});
|
|
426
|
+
b.bp("/2023-10-12/farms/{farmId}/limits");
|
|
427
|
+
b.p("farmId", () => input.farmId, "{farmId}", false);
|
|
428
|
+
let body;
|
|
429
|
+
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
430
|
+
amountRequirementName: [],
|
|
431
|
+
description: [],
|
|
432
|
+
displayName: [],
|
|
433
|
+
maxCount: [],
|
|
434
|
+
}));
|
|
435
|
+
let { hostname: resolvedHostname } = await context.endpoint();
|
|
436
|
+
if (context.disableHostPrefix !== true) {
|
|
437
|
+
resolvedHostname = "management." + resolvedHostname;
|
|
438
|
+
if (!(0, protocol_http_1.isValidHostname)(resolvedHostname)) {
|
|
439
|
+
throw new Error("ValidationError: prefixed hostname must be hostname compatible.");
|
|
440
|
+
}
|
|
441
|
+
}
|
|
442
|
+
b.hn(resolvedHostname);
|
|
443
|
+
b.m("POST").h(headers).b(body);
|
|
444
|
+
return b.build();
|
|
445
|
+
};
|
|
446
|
+
exports.se_CreateLimitCommand = se_CreateLimitCommand;
|
|
419
447
|
const se_CreateMonitorCommand = async (input, context) => {
|
|
420
448
|
const b = (0, core_2.requestBuilder)(input, context);
|
|
421
449
|
const headers = (0, smithy_client_1.map)({}, smithy_client_1.isSerializableHeaderValue, {
|
|
@@ -525,6 +553,30 @@ const se_CreateQueueFleetAssociationCommand = async (input, context) => {
|
|
|
525
553
|
return b.build();
|
|
526
554
|
};
|
|
527
555
|
exports.se_CreateQueueFleetAssociationCommand = se_CreateQueueFleetAssociationCommand;
|
|
556
|
+
const se_CreateQueueLimitAssociationCommand = async (input, context) => {
|
|
557
|
+
const b = (0, core_2.requestBuilder)(input, context);
|
|
558
|
+
const headers = {
|
|
559
|
+
"content-type": "application/json",
|
|
560
|
+
};
|
|
561
|
+
b.bp("/2023-10-12/farms/{farmId}/queue-limit-associations");
|
|
562
|
+
b.p("farmId", () => input.farmId, "{farmId}", false);
|
|
563
|
+
let body;
|
|
564
|
+
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
565
|
+
limitId: [],
|
|
566
|
+
queueId: [],
|
|
567
|
+
}));
|
|
568
|
+
let { hostname: resolvedHostname } = await context.endpoint();
|
|
569
|
+
if (context.disableHostPrefix !== true) {
|
|
570
|
+
resolvedHostname = "management." + resolvedHostname;
|
|
571
|
+
if (!(0, protocol_http_1.isValidHostname)(resolvedHostname)) {
|
|
572
|
+
throw new Error("ValidationError: prefixed hostname must be hostname compatible.");
|
|
573
|
+
}
|
|
574
|
+
}
|
|
575
|
+
b.hn(resolvedHostname);
|
|
576
|
+
b.m("PUT").h(headers).b(body);
|
|
577
|
+
return b.build();
|
|
578
|
+
};
|
|
579
|
+
exports.se_CreateQueueLimitAssociationCommand = se_CreateQueueLimitAssociationCommand;
|
|
528
580
|
const se_CreateStorageProfileCommand = async (input, context) => {
|
|
529
581
|
const b = (0, core_2.requestBuilder)(input, context);
|
|
530
582
|
const headers = (0, smithy_client_1.map)({}, smithy_client_1.isSerializableHeaderValue, {
|
|
@@ -652,6 +704,25 @@ const se_DeleteLicenseEndpointCommand = async (input, context) => {
|
|
|
652
704
|
return b.build();
|
|
653
705
|
};
|
|
654
706
|
exports.se_DeleteLicenseEndpointCommand = se_DeleteLicenseEndpointCommand;
|
|
707
|
+
const se_DeleteLimitCommand = async (input, context) => {
|
|
708
|
+
const b = (0, core_2.requestBuilder)(input, context);
|
|
709
|
+
const headers = {};
|
|
710
|
+
b.bp("/2023-10-12/farms/{farmId}/limits/{limitId}");
|
|
711
|
+
b.p("farmId", () => input.farmId, "{farmId}", false);
|
|
712
|
+
b.p("limitId", () => input.limitId, "{limitId}", false);
|
|
713
|
+
let body;
|
|
714
|
+
let { hostname: resolvedHostname } = await context.endpoint();
|
|
715
|
+
if (context.disableHostPrefix !== true) {
|
|
716
|
+
resolvedHostname = "management." + resolvedHostname;
|
|
717
|
+
if (!(0, protocol_http_1.isValidHostname)(resolvedHostname)) {
|
|
718
|
+
throw new Error("ValidationError: prefixed hostname must be hostname compatible.");
|
|
719
|
+
}
|
|
720
|
+
}
|
|
721
|
+
b.hn(resolvedHostname);
|
|
722
|
+
b.m("DELETE").h(headers).b(body);
|
|
723
|
+
return b.build();
|
|
724
|
+
};
|
|
725
|
+
exports.se_DeleteLimitCommand = se_DeleteLimitCommand;
|
|
655
726
|
const se_DeleteMeteredProductCommand = async (input, context) => {
|
|
656
727
|
const b = (0, core_2.requestBuilder)(input, context);
|
|
657
728
|
const headers = {};
|
|
@@ -748,6 +819,26 @@ const se_DeleteQueueFleetAssociationCommand = async (input, context) => {
|
|
|
748
819
|
return b.build();
|
|
749
820
|
};
|
|
750
821
|
exports.se_DeleteQueueFleetAssociationCommand = se_DeleteQueueFleetAssociationCommand;
|
|
822
|
+
const se_DeleteQueueLimitAssociationCommand = async (input, context) => {
|
|
823
|
+
const b = (0, core_2.requestBuilder)(input, context);
|
|
824
|
+
const headers = {};
|
|
825
|
+
b.bp("/2023-10-12/farms/{farmId}/queue-limit-associations/{queueId}/{limitId}");
|
|
826
|
+
b.p("farmId", () => input.farmId, "{farmId}", false);
|
|
827
|
+
b.p("queueId", () => input.queueId, "{queueId}", false);
|
|
828
|
+
b.p("limitId", () => input.limitId, "{limitId}", false);
|
|
829
|
+
let body;
|
|
830
|
+
let { hostname: resolvedHostname } = await context.endpoint();
|
|
831
|
+
if (context.disableHostPrefix !== true) {
|
|
832
|
+
resolvedHostname = "management." + resolvedHostname;
|
|
833
|
+
if (!(0, protocol_http_1.isValidHostname)(resolvedHostname)) {
|
|
834
|
+
throw new Error("ValidationError: prefixed hostname must be hostname compatible.");
|
|
835
|
+
}
|
|
836
|
+
}
|
|
837
|
+
b.hn(resolvedHostname);
|
|
838
|
+
b.m("DELETE").h(headers).b(body);
|
|
839
|
+
return b.build();
|
|
840
|
+
};
|
|
841
|
+
exports.se_DeleteQueueLimitAssociationCommand = se_DeleteQueueLimitAssociationCommand;
|
|
751
842
|
const se_DeleteStorageProfileCommand = async (input, context) => {
|
|
752
843
|
const b = (0, core_2.requestBuilder)(input, context);
|
|
753
844
|
const headers = {};
|
|
@@ -928,8 +1019,8 @@ const se_GetJobCommand = async (input, context) => {
|
|
|
928
1019
|
const headers = {};
|
|
929
1020
|
b.bp("/2023-10-12/farms/{farmId}/queues/{queueId}/jobs/{jobId}");
|
|
930
1021
|
b.p("farmId", () => input.farmId, "{farmId}", false);
|
|
931
|
-
b.p("jobId", () => input.jobId, "{jobId}", false);
|
|
932
1022
|
b.p("queueId", () => input.queueId, "{queueId}", false);
|
|
1023
|
+
b.p("jobId", () => input.jobId, "{jobId}", false);
|
|
933
1024
|
let body;
|
|
934
1025
|
let { hostname: resolvedHostname } = await context.endpoint();
|
|
935
1026
|
if (context.disableHostPrefix !== true) {
|
|
@@ -961,6 +1052,25 @@ const se_GetLicenseEndpointCommand = async (input, context) => {
|
|
|
961
1052
|
return b.build();
|
|
962
1053
|
};
|
|
963
1054
|
exports.se_GetLicenseEndpointCommand = se_GetLicenseEndpointCommand;
|
|
1055
|
+
const se_GetLimitCommand = async (input, context) => {
|
|
1056
|
+
const b = (0, core_2.requestBuilder)(input, context);
|
|
1057
|
+
const headers = {};
|
|
1058
|
+
b.bp("/2023-10-12/farms/{farmId}/limits/{limitId}");
|
|
1059
|
+
b.p("farmId", () => input.farmId, "{farmId}", false);
|
|
1060
|
+
b.p("limitId", () => input.limitId, "{limitId}", false);
|
|
1061
|
+
let body;
|
|
1062
|
+
let { hostname: resolvedHostname } = await context.endpoint();
|
|
1063
|
+
if (context.disableHostPrefix !== true) {
|
|
1064
|
+
resolvedHostname = "management." + resolvedHostname;
|
|
1065
|
+
if (!(0, protocol_http_1.isValidHostname)(resolvedHostname)) {
|
|
1066
|
+
throw new Error("ValidationError: prefixed hostname must be hostname compatible.");
|
|
1067
|
+
}
|
|
1068
|
+
}
|
|
1069
|
+
b.hn(resolvedHostname);
|
|
1070
|
+
b.m("GET").h(headers).b(body);
|
|
1071
|
+
return b.build();
|
|
1072
|
+
};
|
|
1073
|
+
exports.se_GetLimitCommand = se_GetLimitCommand;
|
|
964
1074
|
const se_GetMonitorCommand = async (input, context) => {
|
|
965
1075
|
const b = (0, core_2.requestBuilder)(input, context);
|
|
966
1076
|
const headers = {};
|
|
@@ -1038,6 +1148,26 @@ const se_GetQueueFleetAssociationCommand = async (input, context) => {
|
|
|
1038
1148
|
return b.build();
|
|
1039
1149
|
};
|
|
1040
1150
|
exports.se_GetQueueFleetAssociationCommand = se_GetQueueFleetAssociationCommand;
|
|
1151
|
+
const se_GetQueueLimitAssociationCommand = async (input, context) => {
|
|
1152
|
+
const b = (0, core_2.requestBuilder)(input, context);
|
|
1153
|
+
const headers = {};
|
|
1154
|
+
b.bp("/2023-10-12/farms/{farmId}/queue-limit-associations/{queueId}/{limitId}");
|
|
1155
|
+
b.p("farmId", () => input.farmId, "{farmId}", false);
|
|
1156
|
+
b.p("queueId", () => input.queueId, "{queueId}", false);
|
|
1157
|
+
b.p("limitId", () => input.limitId, "{limitId}", false);
|
|
1158
|
+
let body;
|
|
1159
|
+
let { hostname: resolvedHostname } = await context.endpoint();
|
|
1160
|
+
if (context.disableHostPrefix !== true) {
|
|
1161
|
+
resolvedHostname = "management." + resolvedHostname;
|
|
1162
|
+
if (!(0, protocol_http_1.isValidHostname)(resolvedHostname)) {
|
|
1163
|
+
throw new Error("ValidationError: prefixed hostname must be hostname compatible.");
|
|
1164
|
+
}
|
|
1165
|
+
}
|
|
1166
|
+
b.hn(resolvedHostname);
|
|
1167
|
+
b.m("GET").h(headers).b(body);
|
|
1168
|
+
return b.build();
|
|
1169
|
+
};
|
|
1170
|
+
exports.se_GetQueueLimitAssociationCommand = se_GetQueueLimitAssociationCommand;
|
|
1041
1171
|
const se_GetSessionCommand = async (input, context) => {
|
|
1042
1172
|
const b = (0, core_2.requestBuilder)(input, context);
|
|
1043
1173
|
const headers = {};
|
|
@@ -1434,6 +1564,28 @@ const se_ListLicenseEndpointsCommand = async (input, context) => {
|
|
|
1434
1564
|
return b.build();
|
|
1435
1565
|
};
|
|
1436
1566
|
exports.se_ListLicenseEndpointsCommand = se_ListLicenseEndpointsCommand;
|
|
1567
|
+
const se_ListLimitsCommand = async (input, context) => {
|
|
1568
|
+
const b = (0, core_2.requestBuilder)(input, context);
|
|
1569
|
+
const headers = {};
|
|
1570
|
+
b.bp("/2023-10-12/farms/{farmId}/limits");
|
|
1571
|
+
b.p("farmId", () => input.farmId, "{farmId}", false);
|
|
1572
|
+
const query = (0, smithy_client_1.map)({
|
|
1573
|
+
[_nT]: [, input[_nT]],
|
|
1574
|
+
[_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
|
|
1575
|
+
});
|
|
1576
|
+
let body;
|
|
1577
|
+
let { hostname: resolvedHostname } = await context.endpoint();
|
|
1578
|
+
if (context.disableHostPrefix !== true) {
|
|
1579
|
+
resolvedHostname = "management." + resolvedHostname;
|
|
1580
|
+
if (!(0, protocol_http_1.isValidHostname)(resolvedHostname)) {
|
|
1581
|
+
throw new Error("ValidationError: prefixed hostname must be hostname compatible.");
|
|
1582
|
+
}
|
|
1583
|
+
}
|
|
1584
|
+
b.hn(resolvedHostname);
|
|
1585
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
1586
|
+
return b.build();
|
|
1587
|
+
};
|
|
1588
|
+
exports.se_ListLimitsCommand = se_ListLimitsCommand;
|
|
1437
1589
|
const se_ListMeteredProductsCommand = async (input, context) => {
|
|
1438
1590
|
const b = (0, core_2.requestBuilder)(input, context);
|
|
1439
1591
|
const headers = {};
|
|
@@ -1524,6 +1676,30 @@ const se_ListQueueFleetAssociationsCommand = async (input, context) => {
|
|
|
1524
1676
|
return b.build();
|
|
1525
1677
|
};
|
|
1526
1678
|
exports.se_ListQueueFleetAssociationsCommand = se_ListQueueFleetAssociationsCommand;
|
|
1679
|
+
const se_ListQueueLimitAssociationsCommand = async (input, context) => {
|
|
1680
|
+
const b = (0, core_2.requestBuilder)(input, context);
|
|
1681
|
+
const headers = {};
|
|
1682
|
+
b.bp("/2023-10-12/farms/{farmId}/queue-limit-associations");
|
|
1683
|
+
b.p("farmId", () => input.farmId, "{farmId}", false);
|
|
1684
|
+
const query = (0, smithy_client_1.map)({
|
|
1685
|
+
[_qI]: [, input[_qI]],
|
|
1686
|
+
[_lI]: [, input[_lI]],
|
|
1687
|
+
[_nT]: [, input[_nT]],
|
|
1688
|
+
[_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
|
|
1689
|
+
});
|
|
1690
|
+
let body;
|
|
1691
|
+
let { hostname: resolvedHostname } = await context.endpoint();
|
|
1692
|
+
if (context.disableHostPrefix !== true) {
|
|
1693
|
+
resolvedHostname = "management." + resolvedHostname;
|
|
1694
|
+
if (!(0, protocol_http_1.isValidHostname)(resolvedHostname)) {
|
|
1695
|
+
throw new Error("ValidationError: prefixed hostname must be hostname compatible.");
|
|
1696
|
+
}
|
|
1697
|
+
}
|
|
1698
|
+
b.hn(resolvedHostname);
|
|
1699
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
1700
|
+
return b.build();
|
|
1701
|
+
};
|
|
1702
|
+
exports.se_ListQueueLimitAssociationsCommand = se_ListQueueLimitAssociationsCommand;
|
|
1527
1703
|
const se_ListQueueMembersCommand = async (input, context) => {
|
|
1528
1704
|
const b = (0, core_2.requestBuilder)(input, context);
|
|
1529
1705
|
const headers = {};
|
|
@@ -2132,6 +2308,7 @@ const se_UpdateJobCommand = async (input, context) => {
|
|
|
2132
2308
|
lifecycleStatus: [],
|
|
2133
2309
|
maxFailedTasksCount: [],
|
|
2134
2310
|
maxRetriesPerTask: [],
|
|
2311
|
+
maxWorkerCount: [],
|
|
2135
2312
|
priority: [],
|
|
2136
2313
|
targetTaskRunStatus: [],
|
|
2137
2314
|
}));
|
|
@@ -2147,6 +2324,32 @@ const se_UpdateJobCommand = async (input, context) => {
|
|
|
2147
2324
|
return b.build();
|
|
2148
2325
|
};
|
|
2149
2326
|
exports.se_UpdateJobCommand = se_UpdateJobCommand;
|
|
2327
|
+
const se_UpdateLimitCommand = async (input, context) => {
|
|
2328
|
+
const b = (0, core_2.requestBuilder)(input, context);
|
|
2329
|
+
const headers = {
|
|
2330
|
+
"content-type": "application/json",
|
|
2331
|
+
};
|
|
2332
|
+
b.bp("/2023-10-12/farms/{farmId}/limits/{limitId}");
|
|
2333
|
+
b.p("farmId", () => input.farmId, "{farmId}", false);
|
|
2334
|
+
b.p("limitId", () => input.limitId, "{limitId}", false);
|
|
2335
|
+
let body;
|
|
2336
|
+
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
2337
|
+
description: [],
|
|
2338
|
+
displayName: [],
|
|
2339
|
+
maxCount: [],
|
|
2340
|
+
}));
|
|
2341
|
+
let { hostname: resolvedHostname } = await context.endpoint();
|
|
2342
|
+
if (context.disableHostPrefix !== true) {
|
|
2343
|
+
resolvedHostname = "management." + resolvedHostname;
|
|
2344
|
+
if (!(0, protocol_http_1.isValidHostname)(resolvedHostname)) {
|
|
2345
|
+
throw new Error("ValidationError: prefixed hostname must be hostname compatible.");
|
|
2346
|
+
}
|
|
2347
|
+
}
|
|
2348
|
+
b.hn(resolvedHostname);
|
|
2349
|
+
b.m("PATCH").h(headers).b(body);
|
|
2350
|
+
return b.build();
|
|
2351
|
+
};
|
|
2352
|
+
exports.se_UpdateLimitCommand = se_UpdateLimitCommand;
|
|
2150
2353
|
const se_UpdateMonitorCommand = async (input, context) => {
|
|
2151
2354
|
const b = (0, core_2.requestBuilder)(input, context);
|
|
2152
2355
|
const headers = {
|
|
@@ -2259,6 +2462,31 @@ const se_UpdateQueueFleetAssociationCommand = async (input, context) => {
|
|
|
2259
2462
|
return b.build();
|
|
2260
2463
|
};
|
|
2261
2464
|
exports.se_UpdateQueueFleetAssociationCommand = se_UpdateQueueFleetAssociationCommand;
|
|
2465
|
+
const se_UpdateQueueLimitAssociationCommand = async (input, context) => {
|
|
2466
|
+
const b = (0, core_2.requestBuilder)(input, context);
|
|
2467
|
+
const headers = {
|
|
2468
|
+
"content-type": "application/json",
|
|
2469
|
+
};
|
|
2470
|
+
b.bp("/2023-10-12/farms/{farmId}/queue-limit-associations/{queueId}/{limitId}");
|
|
2471
|
+
b.p("farmId", () => input.farmId, "{farmId}", false);
|
|
2472
|
+
b.p("queueId", () => input.queueId, "{queueId}", false);
|
|
2473
|
+
b.p("limitId", () => input.limitId, "{limitId}", false);
|
|
2474
|
+
let body;
|
|
2475
|
+
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
2476
|
+
status: [],
|
|
2477
|
+
}));
|
|
2478
|
+
let { hostname: resolvedHostname } = await context.endpoint();
|
|
2479
|
+
if (context.disableHostPrefix !== true) {
|
|
2480
|
+
resolvedHostname = "management." + resolvedHostname;
|
|
2481
|
+
if (!(0, protocol_http_1.isValidHostname)(resolvedHostname)) {
|
|
2482
|
+
throw new Error("ValidationError: prefixed hostname must be hostname compatible.");
|
|
2483
|
+
}
|
|
2484
|
+
}
|
|
2485
|
+
b.hn(resolvedHostname);
|
|
2486
|
+
b.m("PATCH").h(headers).b(body);
|
|
2487
|
+
return b.build();
|
|
2488
|
+
};
|
|
2489
|
+
exports.se_UpdateQueueLimitAssociationCommand = se_UpdateQueueLimitAssociationCommand;
|
|
2262
2490
|
const se_UpdateSessionCommand = async (input, context) => {
|
|
2263
2491
|
const b = (0, core_2.requestBuilder)(input, context);
|
|
2264
2492
|
const headers = (0, smithy_client_1.map)({}, smithy_client_1.isSerializableHeaderValue, {
|
|
@@ -2646,6 +2874,21 @@ const de_CreateLicenseEndpointCommand = async (output, context) => {
|
|
|
2646
2874
|
return contents;
|
|
2647
2875
|
};
|
|
2648
2876
|
exports.de_CreateLicenseEndpointCommand = de_CreateLicenseEndpointCommand;
|
|
2877
|
+
const de_CreateLimitCommand = async (output, context) => {
|
|
2878
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2879
|
+
return de_CommandError(output, context);
|
|
2880
|
+
}
|
|
2881
|
+
const contents = (0, smithy_client_1.map)({
|
|
2882
|
+
$metadata: deserializeMetadata(output),
|
|
2883
|
+
});
|
|
2884
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await (0, core_1.parseJsonBody)(output.body, context)), "body");
|
|
2885
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
2886
|
+
limitId: smithy_client_1.expectString,
|
|
2887
|
+
});
|
|
2888
|
+
Object.assign(contents, doc);
|
|
2889
|
+
return contents;
|
|
2890
|
+
};
|
|
2891
|
+
exports.de_CreateLimitCommand = de_CreateLimitCommand;
|
|
2649
2892
|
const de_CreateMonitorCommand = async (output, context) => {
|
|
2650
2893
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2651
2894
|
return de_CommandError(output, context);
|
|
@@ -2703,6 +2946,17 @@ const de_CreateQueueFleetAssociationCommand = async (output, context) => {
|
|
|
2703
2946
|
return contents;
|
|
2704
2947
|
};
|
|
2705
2948
|
exports.de_CreateQueueFleetAssociationCommand = de_CreateQueueFleetAssociationCommand;
|
|
2949
|
+
const de_CreateQueueLimitAssociationCommand = async (output, context) => {
|
|
2950
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2951
|
+
return de_CommandError(output, context);
|
|
2952
|
+
}
|
|
2953
|
+
const contents = (0, smithy_client_1.map)({
|
|
2954
|
+
$metadata: deserializeMetadata(output),
|
|
2955
|
+
});
|
|
2956
|
+
await (0, smithy_client_1.collectBody)(output.body, context);
|
|
2957
|
+
return contents;
|
|
2958
|
+
};
|
|
2959
|
+
exports.de_CreateQueueLimitAssociationCommand = de_CreateQueueLimitAssociationCommand;
|
|
2706
2960
|
const de_CreateStorageProfileCommand = async (output, context) => {
|
|
2707
2961
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2708
2962
|
return de_CommandError(output, context);
|
|
@@ -2777,6 +3031,17 @@ const de_DeleteLicenseEndpointCommand = async (output, context) => {
|
|
|
2777
3031
|
return contents;
|
|
2778
3032
|
};
|
|
2779
3033
|
exports.de_DeleteLicenseEndpointCommand = de_DeleteLicenseEndpointCommand;
|
|
3034
|
+
const de_DeleteLimitCommand = async (output, context) => {
|
|
3035
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
3036
|
+
return de_CommandError(output, context);
|
|
3037
|
+
}
|
|
3038
|
+
const contents = (0, smithy_client_1.map)({
|
|
3039
|
+
$metadata: deserializeMetadata(output),
|
|
3040
|
+
});
|
|
3041
|
+
await (0, smithy_client_1.collectBody)(output.body, context);
|
|
3042
|
+
return contents;
|
|
3043
|
+
};
|
|
3044
|
+
exports.de_DeleteLimitCommand = de_DeleteLimitCommand;
|
|
2780
3045
|
const de_DeleteMeteredProductCommand = async (output, context) => {
|
|
2781
3046
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2782
3047
|
return de_CommandError(output, context);
|
|
@@ -2832,6 +3097,17 @@ const de_DeleteQueueFleetAssociationCommand = async (output, context) => {
|
|
|
2832
3097
|
return contents;
|
|
2833
3098
|
};
|
|
2834
3099
|
exports.de_DeleteQueueFleetAssociationCommand = de_DeleteQueueFleetAssociationCommand;
|
|
3100
|
+
const de_DeleteQueueLimitAssociationCommand = async (output, context) => {
|
|
3101
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
3102
|
+
return de_CommandError(output, context);
|
|
3103
|
+
}
|
|
3104
|
+
const contents = (0, smithy_client_1.map)({
|
|
3105
|
+
$metadata: deserializeMetadata(output),
|
|
3106
|
+
});
|
|
3107
|
+
await (0, smithy_client_1.collectBody)(output.body, context);
|
|
3108
|
+
return contents;
|
|
3109
|
+
};
|
|
3110
|
+
exports.de_DeleteQueueLimitAssociationCommand = de_DeleteQueueLimitAssociationCommand;
|
|
2835
3111
|
const de_DeleteStorageProfileCommand = async (output, context) => {
|
|
2836
3112
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2837
3113
|
return de_CommandError(output, context);
|
|
@@ -2998,6 +3274,7 @@ const de_GetJobCommand = async (output, context) => {
|
|
|
2998
3274
|
lifecycleStatusMessage: smithy_client_1.expectString,
|
|
2999
3275
|
maxFailedTasksCount: smithy_client_1.expectInt32,
|
|
3000
3276
|
maxRetriesPerTask: smithy_client_1.expectInt32,
|
|
3277
|
+
maxWorkerCount: smithy_client_1.expectInt32,
|
|
3001
3278
|
name: smithy_client_1.expectString,
|
|
3002
3279
|
parameters: smithy_client_1._json,
|
|
3003
3280
|
priority: smithy_client_1.expectInt32,
|
|
@@ -3035,6 +3312,31 @@ const de_GetLicenseEndpointCommand = async (output, context) => {
|
|
|
3035
3312
|
return contents;
|
|
3036
3313
|
};
|
|
3037
3314
|
exports.de_GetLicenseEndpointCommand = de_GetLicenseEndpointCommand;
|
|
3315
|
+
const de_GetLimitCommand = async (output, context) => {
|
|
3316
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
3317
|
+
return de_CommandError(output, context);
|
|
3318
|
+
}
|
|
3319
|
+
const contents = (0, smithy_client_1.map)({
|
|
3320
|
+
$metadata: deserializeMetadata(output),
|
|
3321
|
+
});
|
|
3322
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await (0, core_1.parseJsonBody)(output.body, context)), "body");
|
|
3323
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
3324
|
+
amountRequirementName: smithy_client_1.expectString,
|
|
3325
|
+
createdAt: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(_)),
|
|
3326
|
+
createdBy: smithy_client_1.expectString,
|
|
3327
|
+
currentCount: smithy_client_1.expectInt32,
|
|
3328
|
+
description: smithy_client_1.expectString,
|
|
3329
|
+
displayName: smithy_client_1.expectString,
|
|
3330
|
+
farmId: smithy_client_1.expectString,
|
|
3331
|
+
limitId: smithy_client_1.expectString,
|
|
3332
|
+
maxCount: smithy_client_1.expectInt32,
|
|
3333
|
+
updatedAt: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(_)),
|
|
3334
|
+
updatedBy: smithy_client_1.expectString,
|
|
3335
|
+
});
|
|
3336
|
+
Object.assign(contents, doc);
|
|
3337
|
+
return contents;
|
|
3338
|
+
};
|
|
3339
|
+
exports.de_GetLimitCommand = de_GetLimitCommand;
|
|
3038
3340
|
const de_GetMonitorCommand = async (output, context) => {
|
|
3039
3341
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
3040
3342
|
return de_CommandError(output, context);
|
|
@@ -3134,6 +3436,27 @@ const de_GetQueueFleetAssociationCommand = async (output, context) => {
|
|
|
3134
3436
|
return contents;
|
|
3135
3437
|
};
|
|
3136
3438
|
exports.de_GetQueueFleetAssociationCommand = de_GetQueueFleetAssociationCommand;
|
|
3439
|
+
const de_GetQueueLimitAssociationCommand = async (output, context) => {
|
|
3440
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
3441
|
+
return de_CommandError(output, context);
|
|
3442
|
+
}
|
|
3443
|
+
const contents = (0, smithy_client_1.map)({
|
|
3444
|
+
$metadata: deserializeMetadata(output),
|
|
3445
|
+
});
|
|
3446
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await (0, core_1.parseJsonBody)(output.body, context)), "body");
|
|
3447
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
3448
|
+
createdAt: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(_)),
|
|
3449
|
+
createdBy: smithy_client_1.expectString,
|
|
3450
|
+
limitId: smithy_client_1.expectString,
|
|
3451
|
+
queueId: smithy_client_1.expectString,
|
|
3452
|
+
status: smithy_client_1.expectString,
|
|
3453
|
+
updatedAt: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(_)),
|
|
3454
|
+
updatedBy: smithy_client_1.expectString,
|
|
3455
|
+
});
|
|
3456
|
+
Object.assign(contents, doc);
|
|
3457
|
+
return contents;
|
|
3458
|
+
};
|
|
3459
|
+
exports.de_GetQueueLimitAssociationCommand = de_GetQueueLimitAssociationCommand;
|
|
3137
3460
|
const de_GetSessionCommand = async (output, context) => {
|
|
3138
3461
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
3139
3462
|
return de_CommandError(output, context);
|
|
@@ -3169,6 +3492,7 @@ const de_GetSessionActionCommand = async (output, context) => {
|
|
|
3169
3492
|
});
|
|
3170
3493
|
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await (0, core_1.parseJsonBody)(output.body, context)), "body");
|
|
3171
3494
|
const doc = (0, smithy_client_1.take)(data, {
|
|
3495
|
+
acquiredLimits: smithy_client_1._json,
|
|
3172
3496
|
definition: (_) => (0, smithy_client_1._json)((0, core_1.awsExpectUnion)(_)),
|
|
3173
3497
|
endedAt: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(_)),
|
|
3174
3498
|
processExitCode: smithy_client_1.expectInt32,
|
|
@@ -3483,6 +3807,22 @@ const de_ListLicenseEndpointsCommand = async (output, context) => {
|
|
|
3483
3807
|
return contents;
|
|
3484
3808
|
};
|
|
3485
3809
|
exports.de_ListLicenseEndpointsCommand = de_ListLicenseEndpointsCommand;
|
|
3810
|
+
const de_ListLimitsCommand = async (output, context) => {
|
|
3811
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
3812
|
+
return de_CommandError(output, context);
|
|
3813
|
+
}
|
|
3814
|
+
const contents = (0, smithy_client_1.map)({
|
|
3815
|
+
$metadata: deserializeMetadata(output),
|
|
3816
|
+
});
|
|
3817
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await (0, core_1.parseJsonBody)(output.body, context)), "body");
|
|
3818
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
3819
|
+
limits: (_) => de_LimitSummaries(_, context),
|
|
3820
|
+
nextToken: smithy_client_1.expectString,
|
|
3821
|
+
});
|
|
3822
|
+
Object.assign(contents, doc);
|
|
3823
|
+
return contents;
|
|
3824
|
+
};
|
|
3825
|
+
exports.de_ListLimitsCommand = de_ListLimitsCommand;
|
|
3486
3826
|
const de_ListMeteredProductsCommand = async (output, context) => {
|
|
3487
3827
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
3488
3828
|
return de_CommandError(output, context);
|
|
@@ -3547,6 +3887,22 @@ const de_ListQueueFleetAssociationsCommand = async (output, context) => {
|
|
|
3547
3887
|
return contents;
|
|
3548
3888
|
};
|
|
3549
3889
|
exports.de_ListQueueFleetAssociationsCommand = de_ListQueueFleetAssociationsCommand;
|
|
3890
|
+
const de_ListQueueLimitAssociationsCommand = async (output, context) => {
|
|
3891
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
3892
|
+
return de_CommandError(output, context);
|
|
3893
|
+
}
|
|
3894
|
+
const contents = (0, smithy_client_1.map)({
|
|
3895
|
+
$metadata: deserializeMetadata(output),
|
|
3896
|
+
});
|
|
3897
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await (0, core_1.parseJsonBody)(output.body, context)), "body");
|
|
3898
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
3899
|
+
nextToken: smithy_client_1.expectString,
|
|
3900
|
+
queueLimitAssociations: (_) => de_QueueLimitAssociationSummaries(_, context),
|
|
3901
|
+
});
|
|
3902
|
+
Object.assign(contents, doc);
|
|
3903
|
+
return contents;
|
|
3904
|
+
};
|
|
3905
|
+
exports.de_ListQueueLimitAssociationsCommand = de_ListQueueLimitAssociationsCommand;
|
|
3550
3906
|
const de_ListQueueMembersCommand = async (output, context) => {
|
|
3551
3907
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
3552
3908
|
return de_CommandError(output, context);
|
|
@@ -3914,6 +4270,17 @@ const de_UpdateJobCommand = async (output, context) => {
|
|
|
3914
4270
|
return contents;
|
|
3915
4271
|
};
|
|
3916
4272
|
exports.de_UpdateJobCommand = de_UpdateJobCommand;
|
|
4273
|
+
const de_UpdateLimitCommand = async (output, context) => {
|
|
4274
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
4275
|
+
return de_CommandError(output, context);
|
|
4276
|
+
}
|
|
4277
|
+
const contents = (0, smithy_client_1.map)({
|
|
4278
|
+
$metadata: deserializeMetadata(output),
|
|
4279
|
+
});
|
|
4280
|
+
await (0, smithy_client_1.collectBody)(output.body, context);
|
|
4281
|
+
return contents;
|
|
4282
|
+
};
|
|
4283
|
+
exports.de_UpdateLimitCommand = de_UpdateLimitCommand;
|
|
3917
4284
|
const de_UpdateMonitorCommand = async (output, context) => {
|
|
3918
4285
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
3919
4286
|
return de_CommandError(output, context);
|
|
@@ -3958,6 +4325,17 @@ const de_UpdateQueueFleetAssociationCommand = async (output, context) => {
|
|
|
3958
4325
|
return contents;
|
|
3959
4326
|
};
|
|
3960
4327
|
exports.de_UpdateQueueFleetAssociationCommand = de_UpdateQueueFleetAssociationCommand;
|
|
4328
|
+
const de_UpdateQueueLimitAssociationCommand = async (output, context) => {
|
|
4329
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
4330
|
+
return de_CommandError(output, context);
|
|
4331
|
+
}
|
|
4332
|
+
const contents = (0, smithy_client_1.map)({
|
|
4333
|
+
$metadata: deserializeMetadata(output),
|
|
4334
|
+
});
|
|
4335
|
+
await (0, smithy_client_1.collectBody)(output.body, context);
|
|
4336
|
+
return contents;
|
|
4337
|
+
};
|
|
4338
|
+
exports.de_UpdateQueueLimitAssociationCommand = de_UpdateQueueLimitAssociationCommand;
|
|
3961
4339
|
const de_UpdateSessionCommand = async (output, context) => {
|
|
3962
4340
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
3963
4341
|
return de_CommandError(output, context);
|
|
@@ -4586,6 +4964,7 @@ const de_JobSearchSummary = (output, context) => {
|
|
|
4586
4964
|
lifecycleStatusMessage: smithy_client_1.expectString,
|
|
4587
4965
|
maxFailedTasksCount: smithy_client_1.expectInt32,
|
|
4588
4966
|
maxRetriesPerTask: smithy_client_1.expectInt32,
|
|
4967
|
+
maxWorkerCount: smithy_client_1.expectInt32,
|
|
4589
4968
|
name: smithy_client_1.expectString,
|
|
4590
4969
|
priority: smithy_client_1.expectInt32,
|
|
4591
4970
|
queueId: smithy_client_1.expectString,
|
|
@@ -4614,6 +4993,7 @@ const de_JobSummary = (output, context) => {
|
|
|
4614
4993
|
lifecycleStatusMessage: smithy_client_1.expectString,
|
|
4615
4994
|
maxFailedTasksCount: smithy_client_1.expectInt32,
|
|
4616
4995
|
maxRetriesPerTask: smithy_client_1.expectInt32,
|
|
4996
|
+
maxWorkerCount: smithy_client_1.expectInt32,
|
|
4617
4997
|
name: smithy_client_1.expectString,
|
|
4618
4998
|
priority: smithy_client_1.expectInt32,
|
|
4619
4999
|
sourceJobId: smithy_client_1.expectString,
|
|
@@ -4625,6 +5005,28 @@ const de_JobSummary = (output, context) => {
|
|
|
4625
5005
|
updatedBy: smithy_client_1.expectString,
|
|
4626
5006
|
});
|
|
4627
5007
|
};
|
|
5008
|
+
const de_LimitSummaries = (output, context) => {
|
|
5009
|
+
const retVal = (output || [])
|
|
5010
|
+
.filter((e) => e != null)
|
|
5011
|
+
.map((entry) => {
|
|
5012
|
+
return de_LimitSummary(entry, context);
|
|
5013
|
+
});
|
|
5014
|
+
return retVal;
|
|
5015
|
+
};
|
|
5016
|
+
const de_LimitSummary = (output, context) => {
|
|
5017
|
+
return (0, smithy_client_1.take)(output, {
|
|
5018
|
+
amountRequirementName: smithy_client_1.expectString,
|
|
5019
|
+
createdAt: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(_)),
|
|
5020
|
+
createdBy: smithy_client_1.expectString,
|
|
5021
|
+
currentCount: smithy_client_1.expectInt32,
|
|
5022
|
+
displayName: smithy_client_1.expectString,
|
|
5023
|
+
farmId: smithy_client_1.expectString,
|
|
5024
|
+
limitId: smithy_client_1.expectString,
|
|
5025
|
+
maxCount: smithy_client_1.expectInt32,
|
|
5026
|
+
updatedAt: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(_)),
|
|
5027
|
+
updatedBy: smithy_client_1.expectString,
|
|
5028
|
+
});
|
|
5029
|
+
};
|
|
4628
5030
|
const de_ListSessionsForWorkerSummaries = (output, context) => {
|
|
4629
5031
|
const retVal = (output || [])
|
|
4630
5032
|
.filter((e) => e != null)
|
|
@@ -4675,6 +5077,25 @@ const de_QueueFleetAssociationSummary = (output, context) => {
|
|
|
4675
5077
|
updatedBy: smithy_client_1.expectString,
|
|
4676
5078
|
});
|
|
4677
5079
|
};
|
|
5080
|
+
const de_QueueLimitAssociationSummaries = (output, context) => {
|
|
5081
|
+
const retVal = (output || [])
|
|
5082
|
+
.filter((e) => e != null)
|
|
5083
|
+
.map((entry) => {
|
|
5084
|
+
return de_QueueLimitAssociationSummary(entry, context);
|
|
5085
|
+
});
|
|
5086
|
+
return retVal;
|
|
5087
|
+
};
|
|
5088
|
+
const de_QueueLimitAssociationSummary = (output, context) => {
|
|
5089
|
+
return (0, smithy_client_1.take)(output, {
|
|
5090
|
+
createdAt: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(_)),
|
|
5091
|
+
createdBy: smithy_client_1.expectString,
|
|
5092
|
+
limitId: smithy_client_1.expectString,
|
|
5093
|
+
queueId: smithy_client_1.expectString,
|
|
5094
|
+
status: smithy_client_1.expectString,
|
|
5095
|
+
updatedAt: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(_)),
|
|
5096
|
+
updatedBy: smithy_client_1.expectString,
|
|
5097
|
+
});
|
|
5098
|
+
};
|
|
4678
5099
|
const de_QueueSummaries = (output, context) => {
|
|
4679
5100
|
const retVal = (output || [])
|
|
4680
5101
|
.filter((e) => e != null)
|
|
@@ -4997,6 +5418,7 @@ const _aI = "aggregationId";
|
|
|
4997
5418
|
const _cT = "clientToken";
|
|
4998
5419
|
const _dN = "displayName";
|
|
4999
5420
|
const _fI = "fleetId";
|
|
5421
|
+
const _lI = "limitId";
|
|
5000
5422
|
const _mR = "maxResults";
|
|
5001
5423
|
const _nT = "nextToken";
|
|
5002
5424
|
const _pI = "principalId";
|