@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
|
@@ -349,6 +349,7 @@ export const se_CreateJobCommand = async (input, context) => {
|
|
|
349
349
|
attachments: (_) => _json(_),
|
|
350
350
|
maxFailedTasksCount: [],
|
|
351
351
|
maxRetriesPerTask: [],
|
|
352
|
+
maxWorkerCount: [],
|
|
352
353
|
parameters: (_) => _json(_),
|
|
353
354
|
priority: [],
|
|
354
355
|
sourceJobId: [],
|
|
@@ -393,6 +394,32 @@ export const se_CreateLicenseEndpointCommand = async (input, context) => {
|
|
|
393
394
|
b.m("POST").h(headers).b(body);
|
|
394
395
|
return b.build();
|
|
395
396
|
};
|
|
397
|
+
export const se_CreateLimitCommand = async (input, context) => {
|
|
398
|
+
const b = rb(input, context);
|
|
399
|
+
const headers = map({}, isSerializableHeaderValue, {
|
|
400
|
+
"content-type": "application/json",
|
|
401
|
+
[_xact]: input[_cT] ?? generateIdempotencyToken(),
|
|
402
|
+
});
|
|
403
|
+
b.bp("/2023-10-12/farms/{farmId}/limits");
|
|
404
|
+
b.p("farmId", () => input.farmId, "{farmId}", false);
|
|
405
|
+
let body;
|
|
406
|
+
body = JSON.stringify(take(input, {
|
|
407
|
+
amountRequirementName: [],
|
|
408
|
+
description: [],
|
|
409
|
+
displayName: [],
|
|
410
|
+
maxCount: [],
|
|
411
|
+
}));
|
|
412
|
+
let { hostname: resolvedHostname } = await context.endpoint();
|
|
413
|
+
if (context.disableHostPrefix !== true) {
|
|
414
|
+
resolvedHostname = "management." + resolvedHostname;
|
|
415
|
+
if (!__isValidHostname(resolvedHostname)) {
|
|
416
|
+
throw new Error("ValidationError: prefixed hostname must be hostname compatible.");
|
|
417
|
+
}
|
|
418
|
+
}
|
|
419
|
+
b.hn(resolvedHostname);
|
|
420
|
+
b.m("POST").h(headers).b(body);
|
|
421
|
+
return b.build();
|
|
422
|
+
};
|
|
396
423
|
export const se_CreateMonitorCommand = async (input, context) => {
|
|
397
424
|
const b = rb(input, context);
|
|
398
425
|
const headers = map({}, isSerializableHeaderValue, {
|
|
@@ -498,6 +525,29 @@ export const se_CreateQueueFleetAssociationCommand = async (input, context) => {
|
|
|
498
525
|
b.m("PUT").h(headers).b(body);
|
|
499
526
|
return b.build();
|
|
500
527
|
};
|
|
528
|
+
export const se_CreateQueueLimitAssociationCommand = async (input, context) => {
|
|
529
|
+
const b = rb(input, context);
|
|
530
|
+
const headers = {
|
|
531
|
+
"content-type": "application/json",
|
|
532
|
+
};
|
|
533
|
+
b.bp("/2023-10-12/farms/{farmId}/queue-limit-associations");
|
|
534
|
+
b.p("farmId", () => input.farmId, "{farmId}", false);
|
|
535
|
+
let body;
|
|
536
|
+
body = JSON.stringify(take(input, {
|
|
537
|
+
limitId: [],
|
|
538
|
+
queueId: [],
|
|
539
|
+
}));
|
|
540
|
+
let { hostname: resolvedHostname } = await context.endpoint();
|
|
541
|
+
if (context.disableHostPrefix !== true) {
|
|
542
|
+
resolvedHostname = "management." + resolvedHostname;
|
|
543
|
+
if (!__isValidHostname(resolvedHostname)) {
|
|
544
|
+
throw new Error("ValidationError: prefixed hostname must be hostname compatible.");
|
|
545
|
+
}
|
|
546
|
+
}
|
|
547
|
+
b.hn(resolvedHostname);
|
|
548
|
+
b.m("PUT").h(headers).b(body);
|
|
549
|
+
return b.build();
|
|
550
|
+
};
|
|
501
551
|
export const se_CreateStorageProfileCommand = async (input, context) => {
|
|
502
552
|
const b = rb(input, context);
|
|
503
553
|
const headers = map({}, isSerializableHeaderValue, {
|
|
@@ -619,6 +669,24 @@ export const se_DeleteLicenseEndpointCommand = async (input, context) => {
|
|
|
619
669
|
b.m("DELETE").h(headers).b(body);
|
|
620
670
|
return b.build();
|
|
621
671
|
};
|
|
672
|
+
export const se_DeleteLimitCommand = async (input, context) => {
|
|
673
|
+
const b = rb(input, context);
|
|
674
|
+
const headers = {};
|
|
675
|
+
b.bp("/2023-10-12/farms/{farmId}/limits/{limitId}");
|
|
676
|
+
b.p("farmId", () => input.farmId, "{farmId}", false);
|
|
677
|
+
b.p("limitId", () => input.limitId, "{limitId}", false);
|
|
678
|
+
let body;
|
|
679
|
+
let { hostname: resolvedHostname } = await context.endpoint();
|
|
680
|
+
if (context.disableHostPrefix !== true) {
|
|
681
|
+
resolvedHostname = "management." + resolvedHostname;
|
|
682
|
+
if (!__isValidHostname(resolvedHostname)) {
|
|
683
|
+
throw new Error("ValidationError: prefixed hostname must be hostname compatible.");
|
|
684
|
+
}
|
|
685
|
+
}
|
|
686
|
+
b.hn(resolvedHostname);
|
|
687
|
+
b.m("DELETE").h(headers).b(body);
|
|
688
|
+
return b.build();
|
|
689
|
+
};
|
|
622
690
|
export const se_DeleteMeteredProductCommand = async (input, context) => {
|
|
623
691
|
const b = rb(input, context);
|
|
624
692
|
const headers = {};
|
|
@@ -710,6 +778,25 @@ export const se_DeleteQueueFleetAssociationCommand = async (input, context) => {
|
|
|
710
778
|
b.m("DELETE").h(headers).b(body);
|
|
711
779
|
return b.build();
|
|
712
780
|
};
|
|
781
|
+
export const se_DeleteQueueLimitAssociationCommand = async (input, context) => {
|
|
782
|
+
const b = rb(input, context);
|
|
783
|
+
const headers = {};
|
|
784
|
+
b.bp("/2023-10-12/farms/{farmId}/queue-limit-associations/{queueId}/{limitId}");
|
|
785
|
+
b.p("farmId", () => input.farmId, "{farmId}", false);
|
|
786
|
+
b.p("queueId", () => input.queueId, "{queueId}", false);
|
|
787
|
+
b.p("limitId", () => input.limitId, "{limitId}", false);
|
|
788
|
+
let body;
|
|
789
|
+
let { hostname: resolvedHostname } = await context.endpoint();
|
|
790
|
+
if (context.disableHostPrefix !== true) {
|
|
791
|
+
resolvedHostname = "management." + resolvedHostname;
|
|
792
|
+
if (!__isValidHostname(resolvedHostname)) {
|
|
793
|
+
throw new Error("ValidationError: prefixed hostname must be hostname compatible.");
|
|
794
|
+
}
|
|
795
|
+
}
|
|
796
|
+
b.hn(resolvedHostname);
|
|
797
|
+
b.m("DELETE").h(headers).b(body);
|
|
798
|
+
return b.build();
|
|
799
|
+
};
|
|
713
800
|
export const se_DeleteStorageProfileCommand = async (input, context) => {
|
|
714
801
|
const b = rb(input, context);
|
|
715
802
|
const headers = {};
|
|
@@ -881,8 +968,8 @@ export const se_GetJobCommand = async (input, context) => {
|
|
|
881
968
|
const headers = {};
|
|
882
969
|
b.bp("/2023-10-12/farms/{farmId}/queues/{queueId}/jobs/{jobId}");
|
|
883
970
|
b.p("farmId", () => input.farmId, "{farmId}", false);
|
|
884
|
-
b.p("jobId", () => input.jobId, "{jobId}", false);
|
|
885
971
|
b.p("queueId", () => input.queueId, "{queueId}", false);
|
|
972
|
+
b.p("jobId", () => input.jobId, "{jobId}", false);
|
|
886
973
|
let body;
|
|
887
974
|
let { hostname: resolvedHostname } = await context.endpoint();
|
|
888
975
|
if (context.disableHostPrefix !== true) {
|
|
@@ -912,6 +999,24 @@ export const se_GetLicenseEndpointCommand = async (input, context) => {
|
|
|
912
999
|
b.m("GET").h(headers).b(body);
|
|
913
1000
|
return b.build();
|
|
914
1001
|
};
|
|
1002
|
+
export const se_GetLimitCommand = async (input, context) => {
|
|
1003
|
+
const b = rb(input, context);
|
|
1004
|
+
const headers = {};
|
|
1005
|
+
b.bp("/2023-10-12/farms/{farmId}/limits/{limitId}");
|
|
1006
|
+
b.p("farmId", () => input.farmId, "{farmId}", false);
|
|
1007
|
+
b.p("limitId", () => input.limitId, "{limitId}", false);
|
|
1008
|
+
let body;
|
|
1009
|
+
let { hostname: resolvedHostname } = await context.endpoint();
|
|
1010
|
+
if (context.disableHostPrefix !== true) {
|
|
1011
|
+
resolvedHostname = "management." + resolvedHostname;
|
|
1012
|
+
if (!__isValidHostname(resolvedHostname)) {
|
|
1013
|
+
throw new Error("ValidationError: prefixed hostname must be hostname compatible.");
|
|
1014
|
+
}
|
|
1015
|
+
}
|
|
1016
|
+
b.hn(resolvedHostname);
|
|
1017
|
+
b.m("GET").h(headers).b(body);
|
|
1018
|
+
return b.build();
|
|
1019
|
+
};
|
|
915
1020
|
export const se_GetMonitorCommand = async (input, context) => {
|
|
916
1021
|
const b = rb(input, context);
|
|
917
1022
|
const headers = {};
|
|
@@ -985,6 +1090,25 @@ export const se_GetQueueFleetAssociationCommand = async (input, context) => {
|
|
|
985
1090
|
b.m("GET").h(headers).b(body);
|
|
986
1091
|
return b.build();
|
|
987
1092
|
};
|
|
1093
|
+
export const se_GetQueueLimitAssociationCommand = async (input, context) => {
|
|
1094
|
+
const b = rb(input, context);
|
|
1095
|
+
const headers = {};
|
|
1096
|
+
b.bp("/2023-10-12/farms/{farmId}/queue-limit-associations/{queueId}/{limitId}");
|
|
1097
|
+
b.p("farmId", () => input.farmId, "{farmId}", false);
|
|
1098
|
+
b.p("queueId", () => input.queueId, "{queueId}", false);
|
|
1099
|
+
b.p("limitId", () => input.limitId, "{limitId}", false);
|
|
1100
|
+
let body;
|
|
1101
|
+
let { hostname: resolvedHostname } = await context.endpoint();
|
|
1102
|
+
if (context.disableHostPrefix !== true) {
|
|
1103
|
+
resolvedHostname = "management." + resolvedHostname;
|
|
1104
|
+
if (!__isValidHostname(resolvedHostname)) {
|
|
1105
|
+
throw new Error("ValidationError: prefixed hostname must be hostname compatible.");
|
|
1106
|
+
}
|
|
1107
|
+
}
|
|
1108
|
+
b.hn(resolvedHostname);
|
|
1109
|
+
b.m("GET").h(headers).b(body);
|
|
1110
|
+
return b.build();
|
|
1111
|
+
};
|
|
988
1112
|
export const se_GetSessionCommand = async (input, context) => {
|
|
989
1113
|
const b = rb(input, context);
|
|
990
1114
|
const headers = {};
|
|
@@ -1363,6 +1487,27 @@ export const se_ListLicenseEndpointsCommand = async (input, context) => {
|
|
|
1363
1487
|
b.m("GET").h(headers).q(query).b(body);
|
|
1364
1488
|
return b.build();
|
|
1365
1489
|
};
|
|
1490
|
+
export const se_ListLimitsCommand = async (input, context) => {
|
|
1491
|
+
const b = rb(input, context);
|
|
1492
|
+
const headers = {};
|
|
1493
|
+
b.bp("/2023-10-12/farms/{farmId}/limits");
|
|
1494
|
+
b.p("farmId", () => input.farmId, "{farmId}", false);
|
|
1495
|
+
const query = map({
|
|
1496
|
+
[_nT]: [, input[_nT]],
|
|
1497
|
+
[_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
|
|
1498
|
+
});
|
|
1499
|
+
let body;
|
|
1500
|
+
let { hostname: resolvedHostname } = await context.endpoint();
|
|
1501
|
+
if (context.disableHostPrefix !== true) {
|
|
1502
|
+
resolvedHostname = "management." + resolvedHostname;
|
|
1503
|
+
if (!__isValidHostname(resolvedHostname)) {
|
|
1504
|
+
throw new Error("ValidationError: prefixed hostname must be hostname compatible.");
|
|
1505
|
+
}
|
|
1506
|
+
}
|
|
1507
|
+
b.hn(resolvedHostname);
|
|
1508
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
1509
|
+
return b.build();
|
|
1510
|
+
};
|
|
1366
1511
|
export const se_ListMeteredProductsCommand = async (input, context) => {
|
|
1367
1512
|
const b = rb(input, context);
|
|
1368
1513
|
const headers = {};
|
|
@@ -1449,6 +1594,29 @@ export const se_ListQueueFleetAssociationsCommand = async (input, context) => {
|
|
|
1449
1594
|
b.m("GET").h(headers).q(query).b(body);
|
|
1450
1595
|
return b.build();
|
|
1451
1596
|
};
|
|
1597
|
+
export const se_ListQueueLimitAssociationsCommand = async (input, context) => {
|
|
1598
|
+
const b = rb(input, context);
|
|
1599
|
+
const headers = {};
|
|
1600
|
+
b.bp("/2023-10-12/farms/{farmId}/queue-limit-associations");
|
|
1601
|
+
b.p("farmId", () => input.farmId, "{farmId}", false);
|
|
1602
|
+
const query = map({
|
|
1603
|
+
[_qI]: [, input[_qI]],
|
|
1604
|
+
[_lI]: [, input[_lI]],
|
|
1605
|
+
[_nT]: [, input[_nT]],
|
|
1606
|
+
[_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
|
|
1607
|
+
});
|
|
1608
|
+
let body;
|
|
1609
|
+
let { hostname: resolvedHostname } = await context.endpoint();
|
|
1610
|
+
if (context.disableHostPrefix !== true) {
|
|
1611
|
+
resolvedHostname = "management." + resolvedHostname;
|
|
1612
|
+
if (!__isValidHostname(resolvedHostname)) {
|
|
1613
|
+
throw new Error("ValidationError: prefixed hostname must be hostname compatible.");
|
|
1614
|
+
}
|
|
1615
|
+
}
|
|
1616
|
+
b.hn(resolvedHostname);
|
|
1617
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
1618
|
+
return b.build();
|
|
1619
|
+
};
|
|
1452
1620
|
export const se_ListQueueMembersCommand = async (input, context) => {
|
|
1453
1621
|
const b = rb(input, context);
|
|
1454
1622
|
const headers = {};
|
|
@@ -2033,6 +2201,7 @@ export const se_UpdateJobCommand = async (input, context) => {
|
|
|
2033
2201
|
lifecycleStatus: [],
|
|
2034
2202
|
maxFailedTasksCount: [],
|
|
2035
2203
|
maxRetriesPerTask: [],
|
|
2204
|
+
maxWorkerCount: [],
|
|
2036
2205
|
priority: [],
|
|
2037
2206
|
targetTaskRunStatus: [],
|
|
2038
2207
|
}));
|
|
@@ -2047,6 +2216,31 @@ export const se_UpdateJobCommand = async (input, context) => {
|
|
|
2047
2216
|
b.m("PATCH").h(headers).b(body);
|
|
2048
2217
|
return b.build();
|
|
2049
2218
|
};
|
|
2219
|
+
export const se_UpdateLimitCommand = async (input, context) => {
|
|
2220
|
+
const b = rb(input, context);
|
|
2221
|
+
const headers = {
|
|
2222
|
+
"content-type": "application/json",
|
|
2223
|
+
};
|
|
2224
|
+
b.bp("/2023-10-12/farms/{farmId}/limits/{limitId}");
|
|
2225
|
+
b.p("farmId", () => input.farmId, "{farmId}", false);
|
|
2226
|
+
b.p("limitId", () => input.limitId, "{limitId}", false);
|
|
2227
|
+
let body;
|
|
2228
|
+
body = JSON.stringify(take(input, {
|
|
2229
|
+
description: [],
|
|
2230
|
+
displayName: [],
|
|
2231
|
+
maxCount: [],
|
|
2232
|
+
}));
|
|
2233
|
+
let { hostname: resolvedHostname } = await context.endpoint();
|
|
2234
|
+
if (context.disableHostPrefix !== true) {
|
|
2235
|
+
resolvedHostname = "management." + resolvedHostname;
|
|
2236
|
+
if (!__isValidHostname(resolvedHostname)) {
|
|
2237
|
+
throw new Error("ValidationError: prefixed hostname must be hostname compatible.");
|
|
2238
|
+
}
|
|
2239
|
+
}
|
|
2240
|
+
b.hn(resolvedHostname);
|
|
2241
|
+
b.m("PATCH").h(headers).b(body);
|
|
2242
|
+
return b.build();
|
|
2243
|
+
};
|
|
2050
2244
|
export const se_UpdateMonitorCommand = async (input, context) => {
|
|
2051
2245
|
const b = rb(input, context);
|
|
2052
2246
|
const headers = {
|
|
@@ -2155,6 +2349,30 @@ export const se_UpdateQueueFleetAssociationCommand = async (input, context) => {
|
|
|
2155
2349
|
b.m("PATCH").h(headers).b(body);
|
|
2156
2350
|
return b.build();
|
|
2157
2351
|
};
|
|
2352
|
+
export const se_UpdateQueueLimitAssociationCommand = async (input, context) => {
|
|
2353
|
+
const b = rb(input, context);
|
|
2354
|
+
const headers = {
|
|
2355
|
+
"content-type": "application/json",
|
|
2356
|
+
};
|
|
2357
|
+
b.bp("/2023-10-12/farms/{farmId}/queue-limit-associations/{queueId}/{limitId}");
|
|
2358
|
+
b.p("farmId", () => input.farmId, "{farmId}", false);
|
|
2359
|
+
b.p("queueId", () => input.queueId, "{queueId}", false);
|
|
2360
|
+
b.p("limitId", () => input.limitId, "{limitId}", false);
|
|
2361
|
+
let body;
|
|
2362
|
+
body = JSON.stringify(take(input, {
|
|
2363
|
+
status: [],
|
|
2364
|
+
}));
|
|
2365
|
+
let { hostname: resolvedHostname } = await context.endpoint();
|
|
2366
|
+
if (context.disableHostPrefix !== true) {
|
|
2367
|
+
resolvedHostname = "management." + resolvedHostname;
|
|
2368
|
+
if (!__isValidHostname(resolvedHostname)) {
|
|
2369
|
+
throw new Error("ValidationError: prefixed hostname must be hostname compatible.");
|
|
2370
|
+
}
|
|
2371
|
+
}
|
|
2372
|
+
b.hn(resolvedHostname);
|
|
2373
|
+
b.m("PATCH").h(headers).b(body);
|
|
2374
|
+
return b.build();
|
|
2375
|
+
};
|
|
2158
2376
|
export const se_UpdateSessionCommand = async (input, context) => {
|
|
2159
2377
|
const b = rb(input, context);
|
|
2160
2378
|
const headers = map({}, isSerializableHeaderValue, {
|
|
@@ -2520,6 +2738,20 @@ export const de_CreateLicenseEndpointCommand = async (output, context) => {
|
|
|
2520
2738
|
Object.assign(contents, doc);
|
|
2521
2739
|
return contents;
|
|
2522
2740
|
};
|
|
2741
|
+
export const de_CreateLimitCommand = async (output, context) => {
|
|
2742
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2743
|
+
return de_CommandError(output, context);
|
|
2744
|
+
}
|
|
2745
|
+
const contents = map({
|
|
2746
|
+
$metadata: deserializeMetadata(output),
|
|
2747
|
+
});
|
|
2748
|
+
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2749
|
+
const doc = take(data, {
|
|
2750
|
+
limitId: __expectString,
|
|
2751
|
+
});
|
|
2752
|
+
Object.assign(contents, doc);
|
|
2753
|
+
return contents;
|
|
2754
|
+
};
|
|
2523
2755
|
export const de_CreateMonitorCommand = async (output, context) => {
|
|
2524
2756
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2525
2757
|
return de_CommandError(output, context);
|
|
@@ -2573,6 +2805,16 @@ export const de_CreateQueueFleetAssociationCommand = async (output, context) =>
|
|
|
2573
2805
|
await collectBody(output.body, context);
|
|
2574
2806
|
return contents;
|
|
2575
2807
|
};
|
|
2808
|
+
export const de_CreateQueueLimitAssociationCommand = async (output, context) => {
|
|
2809
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2810
|
+
return de_CommandError(output, context);
|
|
2811
|
+
}
|
|
2812
|
+
const contents = map({
|
|
2813
|
+
$metadata: deserializeMetadata(output),
|
|
2814
|
+
});
|
|
2815
|
+
await collectBody(output.body, context);
|
|
2816
|
+
return contents;
|
|
2817
|
+
};
|
|
2576
2818
|
export const de_CreateStorageProfileCommand = async (output, context) => {
|
|
2577
2819
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2578
2820
|
return de_CommandError(output, context);
|
|
@@ -2641,6 +2883,16 @@ export const de_DeleteLicenseEndpointCommand = async (output, context) => {
|
|
|
2641
2883
|
await collectBody(output.body, context);
|
|
2642
2884
|
return contents;
|
|
2643
2885
|
};
|
|
2886
|
+
export const de_DeleteLimitCommand = async (output, context) => {
|
|
2887
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2888
|
+
return de_CommandError(output, context);
|
|
2889
|
+
}
|
|
2890
|
+
const contents = map({
|
|
2891
|
+
$metadata: deserializeMetadata(output),
|
|
2892
|
+
});
|
|
2893
|
+
await collectBody(output.body, context);
|
|
2894
|
+
return contents;
|
|
2895
|
+
};
|
|
2644
2896
|
export const de_DeleteMeteredProductCommand = async (output, context) => {
|
|
2645
2897
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2646
2898
|
return de_CommandError(output, context);
|
|
@@ -2691,6 +2943,16 @@ export const de_DeleteQueueFleetAssociationCommand = async (output, context) =>
|
|
|
2691
2943
|
await collectBody(output.body, context);
|
|
2692
2944
|
return contents;
|
|
2693
2945
|
};
|
|
2946
|
+
export const de_DeleteQueueLimitAssociationCommand = async (output, context) => {
|
|
2947
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2948
|
+
return de_CommandError(output, context);
|
|
2949
|
+
}
|
|
2950
|
+
const contents = map({
|
|
2951
|
+
$metadata: deserializeMetadata(output),
|
|
2952
|
+
});
|
|
2953
|
+
await collectBody(output.body, context);
|
|
2954
|
+
return contents;
|
|
2955
|
+
};
|
|
2694
2956
|
export const de_DeleteStorageProfileCommand = async (output, context) => {
|
|
2695
2957
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2696
2958
|
return de_CommandError(output, context);
|
|
@@ -2848,6 +3110,7 @@ export const de_GetJobCommand = async (output, context) => {
|
|
|
2848
3110
|
lifecycleStatusMessage: __expectString,
|
|
2849
3111
|
maxFailedTasksCount: __expectInt32,
|
|
2850
3112
|
maxRetriesPerTask: __expectInt32,
|
|
3113
|
+
maxWorkerCount: __expectInt32,
|
|
2851
3114
|
name: __expectString,
|
|
2852
3115
|
parameters: _json,
|
|
2853
3116
|
priority: __expectInt32,
|
|
@@ -2883,6 +3146,30 @@ export const de_GetLicenseEndpointCommand = async (output, context) => {
|
|
|
2883
3146
|
Object.assign(contents, doc);
|
|
2884
3147
|
return contents;
|
|
2885
3148
|
};
|
|
3149
|
+
export const de_GetLimitCommand = async (output, context) => {
|
|
3150
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
3151
|
+
return de_CommandError(output, context);
|
|
3152
|
+
}
|
|
3153
|
+
const contents = map({
|
|
3154
|
+
$metadata: deserializeMetadata(output),
|
|
3155
|
+
});
|
|
3156
|
+
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
3157
|
+
const doc = take(data, {
|
|
3158
|
+
amountRequirementName: __expectString,
|
|
3159
|
+
createdAt: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
|
|
3160
|
+
createdBy: __expectString,
|
|
3161
|
+
currentCount: __expectInt32,
|
|
3162
|
+
description: __expectString,
|
|
3163
|
+
displayName: __expectString,
|
|
3164
|
+
farmId: __expectString,
|
|
3165
|
+
limitId: __expectString,
|
|
3166
|
+
maxCount: __expectInt32,
|
|
3167
|
+
updatedAt: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
|
|
3168
|
+
updatedBy: __expectString,
|
|
3169
|
+
});
|
|
3170
|
+
Object.assign(contents, doc);
|
|
3171
|
+
return contents;
|
|
3172
|
+
};
|
|
2886
3173
|
export const de_GetMonitorCommand = async (output, context) => {
|
|
2887
3174
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2888
3175
|
return de_CommandError(output, context);
|
|
@@ -2978,6 +3265,26 @@ export const de_GetQueueFleetAssociationCommand = async (output, context) => {
|
|
|
2978
3265
|
Object.assign(contents, doc);
|
|
2979
3266
|
return contents;
|
|
2980
3267
|
};
|
|
3268
|
+
export const de_GetQueueLimitAssociationCommand = async (output, context) => {
|
|
3269
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
3270
|
+
return de_CommandError(output, context);
|
|
3271
|
+
}
|
|
3272
|
+
const contents = map({
|
|
3273
|
+
$metadata: deserializeMetadata(output),
|
|
3274
|
+
});
|
|
3275
|
+
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
3276
|
+
const doc = take(data, {
|
|
3277
|
+
createdAt: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
|
|
3278
|
+
createdBy: __expectString,
|
|
3279
|
+
limitId: __expectString,
|
|
3280
|
+
queueId: __expectString,
|
|
3281
|
+
status: __expectString,
|
|
3282
|
+
updatedAt: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
|
|
3283
|
+
updatedBy: __expectString,
|
|
3284
|
+
});
|
|
3285
|
+
Object.assign(contents, doc);
|
|
3286
|
+
return contents;
|
|
3287
|
+
};
|
|
2981
3288
|
export const de_GetSessionCommand = async (output, context) => {
|
|
2982
3289
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2983
3290
|
return de_CommandError(output, context);
|
|
@@ -3012,6 +3319,7 @@ export const de_GetSessionActionCommand = async (output, context) => {
|
|
|
3012
3319
|
});
|
|
3013
3320
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
3014
3321
|
const doc = take(data, {
|
|
3322
|
+
acquiredLimits: _json,
|
|
3015
3323
|
definition: (_) => _json(__expectUnion(_)),
|
|
3016
3324
|
endedAt: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
|
|
3017
3325
|
processExitCode: __expectInt32,
|
|
@@ -3309,6 +3617,21 @@ export const de_ListLicenseEndpointsCommand = async (output, context) => {
|
|
|
3309
3617
|
Object.assign(contents, doc);
|
|
3310
3618
|
return contents;
|
|
3311
3619
|
};
|
|
3620
|
+
export const de_ListLimitsCommand = async (output, context) => {
|
|
3621
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
3622
|
+
return de_CommandError(output, context);
|
|
3623
|
+
}
|
|
3624
|
+
const contents = map({
|
|
3625
|
+
$metadata: deserializeMetadata(output),
|
|
3626
|
+
});
|
|
3627
|
+
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
3628
|
+
const doc = take(data, {
|
|
3629
|
+
limits: (_) => de_LimitSummaries(_, context),
|
|
3630
|
+
nextToken: __expectString,
|
|
3631
|
+
});
|
|
3632
|
+
Object.assign(contents, doc);
|
|
3633
|
+
return contents;
|
|
3634
|
+
};
|
|
3312
3635
|
export const de_ListMeteredProductsCommand = async (output, context) => {
|
|
3313
3636
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
3314
3637
|
return de_CommandError(output, context);
|
|
@@ -3369,6 +3692,21 @@ export const de_ListQueueFleetAssociationsCommand = async (output, context) => {
|
|
|
3369
3692
|
Object.assign(contents, doc);
|
|
3370
3693
|
return contents;
|
|
3371
3694
|
};
|
|
3695
|
+
export const de_ListQueueLimitAssociationsCommand = async (output, context) => {
|
|
3696
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
3697
|
+
return de_CommandError(output, context);
|
|
3698
|
+
}
|
|
3699
|
+
const contents = map({
|
|
3700
|
+
$metadata: deserializeMetadata(output),
|
|
3701
|
+
});
|
|
3702
|
+
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
3703
|
+
const doc = take(data, {
|
|
3704
|
+
nextToken: __expectString,
|
|
3705
|
+
queueLimitAssociations: (_) => de_QueueLimitAssociationSummaries(_, context),
|
|
3706
|
+
});
|
|
3707
|
+
Object.assign(contents, doc);
|
|
3708
|
+
return contents;
|
|
3709
|
+
};
|
|
3372
3710
|
export const de_ListQueueMembersCommand = async (output, context) => {
|
|
3373
3711
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
3374
3712
|
return de_CommandError(output, context);
|
|
@@ -3711,6 +4049,16 @@ export const de_UpdateJobCommand = async (output, context) => {
|
|
|
3711
4049
|
await collectBody(output.body, context);
|
|
3712
4050
|
return contents;
|
|
3713
4051
|
};
|
|
4052
|
+
export const de_UpdateLimitCommand = async (output, context) => {
|
|
4053
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
4054
|
+
return de_CommandError(output, context);
|
|
4055
|
+
}
|
|
4056
|
+
const contents = map({
|
|
4057
|
+
$metadata: deserializeMetadata(output),
|
|
4058
|
+
});
|
|
4059
|
+
await collectBody(output.body, context);
|
|
4060
|
+
return contents;
|
|
4061
|
+
};
|
|
3714
4062
|
export const de_UpdateMonitorCommand = async (output, context) => {
|
|
3715
4063
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
3716
4064
|
return de_CommandError(output, context);
|
|
@@ -3751,6 +4099,16 @@ export const de_UpdateQueueFleetAssociationCommand = async (output, context) =>
|
|
|
3751
4099
|
await collectBody(output.body, context);
|
|
3752
4100
|
return contents;
|
|
3753
4101
|
};
|
|
4102
|
+
export const de_UpdateQueueLimitAssociationCommand = async (output, context) => {
|
|
4103
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
4104
|
+
return de_CommandError(output, context);
|
|
4105
|
+
}
|
|
4106
|
+
const contents = map({
|
|
4107
|
+
$metadata: deserializeMetadata(output),
|
|
4108
|
+
});
|
|
4109
|
+
await collectBody(output.body, context);
|
|
4110
|
+
return contents;
|
|
4111
|
+
};
|
|
3754
4112
|
export const de_UpdateSessionCommand = async (output, context) => {
|
|
3755
4113
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
3756
4114
|
return de_CommandError(output, context);
|
|
@@ -4373,6 +4731,7 @@ const de_JobSearchSummary = (output, context) => {
|
|
|
4373
4731
|
lifecycleStatusMessage: __expectString,
|
|
4374
4732
|
maxFailedTasksCount: __expectInt32,
|
|
4375
4733
|
maxRetriesPerTask: __expectInt32,
|
|
4734
|
+
maxWorkerCount: __expectInt32,
|
|
4376
4735
|
name: __expectString,
|
|
4377
4736
|
priority: __expectInt32,
|
|
4378
4737
|
queueId: __expectString,
|
|
@@ -4401,6 +4760,7 @@ const de_JobSummary = (output, context) => {
|
|
|
4401
4760
|
lifecycleStatusMessage: __expectString,
|
|
4402
4761
|
maxFailedTasksCount: __expectInt32,
|
|
4403
4762
|
maxRetriesPerTask: __expectInt32,
|
|
4763
|
+
maxWorkerCount: __expectInt32,
|
|
4404
4764
|
name: __expectString,
|
|
4405
4765
|
priority: __expectInt32,
|
|
4406
4766
|
sourceJobId: __expectString,
|
|
@@ -4412,6 +4772,28 @@ const de_JobSummary = (output, context) => {
|
|
|
4412
4772
|
updatedBy: __expectString,
|
|
4413
4773
|
});
|
|
4414
4774
|
};
|
|
4775
|
+
const de_LimitSummaries = (output, context) => {
|
|
4776
|
+
const retVal = (output || [])
|
|
4777
|
+
.filter((e) => e != null)
|
|
4778
|
+
.map((entry) => {
|
|
4779
|
+
return de_LimitSummary(entry, context);
|
|
4780
|
+
});
|
|
4781
|
+
return retVal;
|
|
4782
|
+
};
|
|
4783
|
+
const de_LimitSummary = (output, context) => {
|
|
4784
|
+
return take(output, {
|
|
4785
|
+
amountRequirementName: __expectString,
|
|
4786
|
+
createdAt: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
|
|
4787
|
+
createdBy: __expectString,
|
|
4788
|
+
currentCount: __expectInt32,
|
|
4789
|
+
displayName: __expectString,
|
|
4790
|
+
farmId: __expectString,
|
|
4791
|
+
limitId: __expectString,
|
|
4792
|
+
maxCount: __expectInt32,
|
|
4793
|
+
updatedAt: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
|
|
4794
|
+
updatedBy: __expectString,
|
|
4795
|
+
});
|
|
4796
|
+
};
|
|
4415
4797
|
const de_ListSessionsForWorkerSummaries = (output, context) => {
|
|
4416
4798
|
const retVal = (output || [])
|
|
4417
4799
|
.filter((e) => e != null)
|
|
@@ -4462,6 +4844,25 @@ const de_QueueFleetAssociationSummary = (output, context) => {
|
|
|
4462
4844
|
updatedBy: __expectString,
|
|
4463
4845
|
});
|
|
4464
4846
|
};
|
|
4847
|
+
const de_QueueLimitAssociationSummaries = (output, context) => {
|
|
4848
|
+
const retVal = (output || [])
|
|
4849
|
+
.filter((e) => e != null)
|
|
4850
|
+
.map((entry) => {
|
|
4851
|
+
return de_QueueLimitAssociationSummary(entry, context);
|
|
4852
|
+
});
|
|
4853
|
+
return retVal;
|
|
4854
|
+
};
|
|
4855
|
+
const de_QueueLimitAssociationSummary = (output, context) => {
|
|
4856
|
+
return take(output, {
|
|
4857
|
+
createdAt: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
|
|
4858
|
+
createdBy: __expectString,
|
|
4859
|
+
limitId: __expectString,
|
|
4860
|
+
queueId: __expectString,
|
|
4861
|
+
status: __expectString,
|
|
4862
|
+
updatedAt: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
|
|
4863
|
+
updatedBy: __expectString,
|
|
4864
|
+
});
|
|
4865
|
+
};
|
|
4465
4866
|
const de_QueueSummaries = (output, context) => {
|
|
4466
4867
|
const retVal = (output || [])
|
|
4467
4868
|
.filter((e) => e != null)
|
|
@@ -4784,6 +5185,7 @@ const _aI = "aggregationId";
|
|
|
4784
5185
|
const _cT = "clientToken";
|
|
4785
5186
|
const _dN = "displayName";
|
|
4786
5187
|
const _fI = "fleetId";
|
|
5188
|
+
const _lI = "limitId";
|
|
4787
5189
|
const _mR = "maxResults";
|
|
4788
5190
|
const _nT = "nextToken";
|
|
4789
5191
|
const _pI = "principalId";
|
package/dist-es/waiters/index.js
CHANGED
|
@@ -3,5 +3,6 @@ export * from "./waitForJobCreateComplete";
|
|
|
3
3
|
export * from "./waitForLicenseEndpointDeleted";
|
|
4
4
|
export * from "./waitForLicenseEndpointValid";
|
|
5
5
|
export * from "./waitForQueueFleetAssociationStopped";
|
|
6
|
+
export * from "./waitForQueueLimitAssociationStopped";
|
|
6
7
|
export * from "./waitForQueueScheduling";
|
|
7
8
|
export * from "./waitForQueueSchedulingBlocked";
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { checkExceptions, createWaiter, WaiterState } from "@smithy/util-waiter";
|
|
2
|
+
import { GetQueueLimitAssociationCommand, } from "../commands/GetQueueLimitAssociationCommand";
|
|
3
|
+
const checkState = async (client, input) => {
|
|
4
|
+
let reason;
|
|
5
|
+
try {
|
|
6
|
+
const result = await client.send(new GetQueueLimitAssociationCommand(input));
|
|
7
|
+
reason = result;
|
|
8
|
+
try {
|
|
9
|
+
const returnComparator = () => {
|
|
10
|
+
return result.status;
|
|
11
|
+
};
|
|
12
|
+
if (returnComparator() === "STOPPED") {
|
|
13
|
+
return { state: WaiterState.SUCCESS, reason };
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
catch (e) { }
|
|
17
|
+
}
|
|
18
|
+
catch (exception) {
|
|
19
|
+
reason = exception;
|
|
20
|
+
}
|
|
21
|
+
return { state: WaiterState.RETRY, reason };
|
|
22
|
+
};
|
|
23
|
+
export const waitForQueueLimitAssociationStopped = async (params, input) => {
|
|
24
|
+
const serviceDefaults = { minDelay: 10, maxDelay: 600 };
|
|
25
|
+
return createWaiter({ ...serviceDefaults, ...params }, input, checkState);
|
|
26
|
+
};
|
|
27
|
+
export const waitUntilQueueLimitAssociationStopped = async (params, input) => {
|
|
28
|
+
const serviceDefaults = { minDelay: 10, maxDelay: 600 };
|
|
29
|
+
const result = await createWaiter({ ...serviceDefaults, ...params }, input, checkState);
|
|
30
|
+
return checkExceptions(result);
|
|
31
|
+
};
|