@aws-sdk/client-batch 3.855.0 → 3.857.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 +64 -0
- package/dist-cjs/index.js +490 -3
- package/dist-es/Batch.js +16 -0
- package/dist-es/commands/CreateServiceEnvironmentCommand.js +22 -0
- package/dist-es/commands/DeleteServiceEnvironmentCommand.js +22 -0
- package/dist-es/commands/DescribeServiceEnvironmentsCommand.js +22 -0
- package/dist-es/commands/DescribeServiceJobCommand.js +22 -0
- package/dist-es/commands/ListServiceJobsCommand.js +22 -0
- package/dist-es/commands/SubmitServiceJobCommand.js +22 -0
- package/dist-es/commands/TerminateServiceJobCommand.js +22 -0
- package/dist-es/commands/UpdateServiceEnvironmentCommand.js +22 -0
- package/dist-es/commands/index.js +8 -0
- package/dist-es/models/models_0.js +42 -0
- package/dist-es/pagination/DescribeServiceEnvironmentsPaginator.js +4 -0
- package/dist-es/pagination/ListServiceJobsPaginator.js +4 -0
- package/dist-es/pagination/index.js +2 -0
- package/dist-es/protocols/Aws_restJson1.js +257 -0
- package/dist-types/Batch.d.ts +58 -0
- package/dist-types/BatchClient.d.ts +10 -2
- package/dist-types/commands/CreateJobQueueCommand.d.ts +9 -2
- package/dist-types/commands/CreateServiceEnvironmentCommand.d.ts +92 -0
- package/dist-types/commands/DeleteServiceEnvironmentCommand.d.ts +78 -0
- package/dist-types/commands/DescribeJobQueuesCommand.d.ts +8 -1
- package/dist-types/commands/DescribeServiceEnvironmentsCommand.d.ts +102 -0
- package/dist-types/commands/DescribeServiceJobCommand.d.ts +125 -0
- package/dist-types/commands/ListServiceJobsCommand.d.ts +111 -0
- package/dist-types/commands/SubmitServiceJobCommand.d.ts +103 -0
- package/dist-types/commands/TerminateServiceJobCommand.d.ts +79 -0
- package/dist-types/commands/UpdateJobQueueCommand.d.ts +7 -1
- package/dist-types/commands/UpdateServiceEnvironmentCommand.d.ts +88 -0
- package/dist-types/commands/index.d.ts +8 -0
- package/dist-types/models/models_0.d.ts +843 -75
- package/dist-types/pagination/DescribeServiceEnvironmentsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListServiceJobsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +2 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +72 -0
- package/dist-types/ts3.4/Batch.d.ts +138 -0
- package/dist-types/ts3.4/BatchClient.d.ts +50 -2
- package/dist-types/ts3.4/commands/CreateServiceEnvironmentCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DeleteServiceEnvironmentCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DescribeServiceEnvironmentsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DescribeServiceJobCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListServiceJobsCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/SubmitServiceJobCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/TerminateServiceJobCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/UpdateServiceEnvironmentCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/index.d.ts +8 -0
- package/dist-types/ts3.4/models/models_0.d.ts +207 -1
- package/dist-types/ts3.4/pagination/DescribeServiceEnvironmentsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListServiceJobsPaginator.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 +96 -0
- package/package.json +11 -11
package/dist-cjs/index.js
CHANGED
|
@@ -38,10 +38,12 @@ __export(index_exports, {
|
|
|
38
38
|
CreateConsumableResourceCommand: () => CreateConsumableResourceCommand,
|
|
39
39
|
CreateJobQueueCommand: () => CreateJobQueueCommand,
|
|
40
40
|
CreateSchedulingPolicyCommand: () => CreateSchedulingPolicyCommand,
|
|
41
|
+
CreateServiceEnvironmentCommand: () => CreateServiceEnvironmentCommand,
|
|
41
42
|
DeleteComputeEnvironmentCommand: () => DeleteComputeEnvironmentCommand,
|
|
42
43
|
DeleteConsumableResourceCommand: () => DeleteConsumableResourceCommand,
|
|
43
44
|
DeleteJobQueueCommand: () => DeleteJobQueueCommand,
|
|
44
45
|
DeleteSchedulingPolicyCommand: () => DeleteSchedulingPolicyCommand,
|
|
46
|
+
DeleteServiceEnvironmentCommand: () => DeleteServiceEnvironmentCommand,
|
|
45
47
|
DeregisterJobDefinitionCommand: () => DeregisterJobDefinitionCommand,
|
|
46
48
|
DescribeComputeEnvironmentsCommand: () => DescribeComputeEnvironmentsCommand,
|
|
47
49
|
DescribeConsumableResourceCommand: () => DescribeConsumableResourceCommand,
|
|
@@ -49,6 +51,8 @@ __export(index_exports, {
|
|
|
49
51
|
DescribeJobQueuesCommand: () => DescribeJobQueuesCommand,
|
|
50
52
|
DescribeJobsCommand: () => DescribeJobsCommand,
|
|
51
53
|
DescribeSchedulingPoliciesCommand: () => DescribeSchedulingPoliciesCommand,
|
|
54
|
+
DescribeServiceEnvironmentsCommand: () => DescribeServiceEnvironmentsCommand,
|
|
55
|
+
DescribeServiceJobCommand: () => DescribeServiceJobCommand,
|
|
52
56
|
DeviceCgroupPermission: () => DeviceCgroupPermission,
|
|
53
57
|
EFSAuthorizationConfigIAM: () => EFSAuthorizationConfigIAM,
|
|
54
58
|
EFSTransitEncryption: () => EFSTransitEncryption,
|
|
@@ -57,6 +61,7 @@ __export(index_exports, {
|
|
|
57
61
|
JQState: () => JQState,
|
|
58
62
|
JQStatus: () => JQStatus,
|
|
59
63
|
JobDefinitionType: () => JobDefinitionType,
|
|
64
|
+
JobQueueType: () => JobQueueType,
|
|
60
65
|
JobStateTimeLimitActionsAction: () => JobStateTimeLimitActionsAction,
|
|
61
66
|
JobStateTimeLimitActionsState: () => JobStateTimeLimitActionsState,
|
|
62
67
|
JobStatus: () => JobStatus,
|
|
@@ -64,6 +69,7 @@ __export(index_exports, {
|
|
|
64
69
|
ListJobsByConsumableResourceCommand: () => ListJobsByConsumableResourceCommand,
|
|
65
70
|
ListJobsCommand: () => ListJobsCommand,
|
|
66
71
|
ListSchedulingPoliciesCommand: () => ListSchedulingPoliciesCommand,
|
|
72
|
+
ListServiceJobsCommand: () => ListServiceJobsCommand,
|
|
67
73
|
ListTagsForResourceCommand: () => ListTagsForResourceCommand,
|
|
68
74
|
LogDriver: () => LogDriver,
|
|
69
75
|
OrchestrationType: () => OrchestrationType,
|
|
@@ -72,23 +78,35 @@ __export(index_exports, {
|
|
|
72
78
|
ResourceType: () => ResourceType,
|
|
73
79
|
RetryAction: () => RetryAction,
|
|
74
80
|
ServerException: () => ServerException,
|
|
81
|
+
ServiceEnvironmentState: () => ServiceEnvironmentState,
|
|
82
|
+
ServiceEnvironmentStatus: () => ServiceEnvironmentStatus,
|
|
83
|
+
ServiceEnvironmentType: () => ServiceEnvironmentType,
|
|
84
|
+
ServiceJobRetryAction: () => ServiceJobRetryAction,
|
|
85
|
+
ServiceJobStatus: () => ServiceJobStatus,
|
|
86
|
+
ServiceJobType: () => ServiceJobType,
|
|
87
|
+
ServiceResourceIdName: () => ServiceResourceIdName,
|
|
75
88
|
SubmitJobCommand: () => SubmitJobCommand,
|
|
89
|
+
SubmitServiceJobCommand: () => SubmitServiceJobCommand,
|
|
76
90
|
TagResourceCommand: () => TagResourceCommand,
|
|
77
91
|
TerminateJobCommand: () => TerminateJobCommand,
|
|
92
|
+
TerminateServiceJobCommand: () => TerminateServiceJobCommand,
|
|
78
93
|
UntagResourceCommand: () => UntagResourceCommand,
|
|
79
94
|
UpdateComputeEnvironmentCommand: () => UpdateComputeEnvironmentCommand,
|
|
80
95
|
UpdateConsumableResourceCommand: () => UpdateConsumableResourceCommand,
|
|
81
96
|
UpdateJobQueueCommand: () => UpdateJobQueueCommand,
|
|
82
97
|
UpdateSchedulingPolicyCommand: () => UpdateSchedulingPolicyCommand,
|
|
98
|
+
UpdateServiceEnvironmentCommand: () => UpdateServiceEnvironmentCommand,
|
|
83
99
|
UserdataType: () => UserdataType,
|
|
84
100
|
__Client: () => import_smithy_client.Client,
|
|
85
101
|
paginateDescribeComputeEnvironments: () => paginateDescribeComputeEnvironments,
|
|
86
102
|
paginateDescribeJobDefinitions: () => paginateDescribeJobDefinitions,
|
|
87
103
|
paginateDescribeJobQueues: () => paginateDescribeJobQueues,
|
|
104
|
+
paginateDescribeServiceEnvironments: () => paginateDescribeServiceEnvironments,
|
|
88
105
|
paginateListConsumableResources: () => paginateListConsumableResources,
|
|
89
106
|
paginateListJobs: () => paginateListJobs,
|
|
90
107
|
paginateListJobsByConsumableResource: () => paginateListJobsByConsumableResource,
|
|
91
|
-
paginateListSchedulingPolicies: () => paginateListSchedulingPolicies
|
|
108
|
+
paginateListSchedulingPolicies: () => paginateListSchedulingPolicies,
|
|
109
|
+
paginateListServiceJobs: () => paginateListServiceJobs
|
|
92
110
|
});
|
|
93
111
|
module.exports = __toCommonJS(index_exports);
|
|
94
112
|
|
|
@@ -331,8 +349,15 @@ var CEType = {
|
|
|
331
349
|
MANAGED: "MANAGED",
|
|
332
350
|
UNMANAGED: "UNMANAGED"
|
|
333
351
|
};
|
|
352
|
+
var JobQueueType = {
|
|
353
|
+
ECS: "ECS",
|
|
354
|
+
ECS_FARGATE: "ECS_FARGATE",
|
|
355
|
+
EKS: "EKS",
|
|
356
|
+
SAGEMAKER_TRAINING: "SAGEMAKER_TRAINING"
|
|
357
|
+
};
|
|
334
358
|
var JobStateTimeLimitActionsAction = {
|
|
335
|
-
CANCEL: "CANCEL"
|
|
359
|
+
CANCEL: "CANCEL",
|
|
360
|
+
TERMINATE: "TERMINATE"
|
|
336
361
|
};
|
|
337
362
|
var JobStateTimeLimitActionsState = {
|
|
338
363
|
RUNNABLE: "RUNNABLE"
|
|
@@ -341,6 +366,13 @@ var JQState = {
|
|
|
341
366
|
DISABLED: "DISABLED",
|
|
342
367
|
ENABLED: "ENABLED"
|
|
343
368
|
};
|
|
369
|
+
var ServiceEnvironmentType = {
|
|
370
|
+
SAGEMAKER_TRAINING: "SAGEMAKER_TRAINING"
|
|
371
|
+
};
|
|
372
|
+
var ServiceEnvironmentState = {
|
|
373
|
+
DISABLED: "DISABLED",
|
|
374
|
+
ENABLED: "ENABLED"
|
|
375
|
+
};
|
|
344
376
|
var OrchestrationType = {
|
|
345
377
|
ECS: "ECS",
|
|
346
378
|
EKS: "EKS"
|
|
@@ -410,6 +442,34 @@ var JobStatus = {
|
|
|
410
442
|
SUBMITTED: "SUBMITTED",
|
|
411
443
|
SUCCEEDED: "SUCCEEDED"
|
|
412
444
|
};
|
|
445
|
+
var ServiceEnvironmentStatus = {
|
|
446
|
+
CREATING: "CREATING",
|
|
447
|
+
DELETED: "DELETED",
|
|
448
|
+
DELETING: "DELETING",
|
|
449
|
+
INVALID: "INVALID",
|
|
450
|
+
UPDATING: "UPDATING",
|
|
451
|
+
VALID: "VALID"
|
|
452
|
+
};
|
|
453
|
+
var ServiceResourceIdName = {
|
|
454
|
+
SAGEMAKER_TRAINING_JOB_ARN: "TrainingJobArn"
|
|
455
|
+
};
|
|
456
|
+
var ServiceJobRetryAction = {
|
|
457
|
+
EXIT: "EXIT",
|
|
458
|
+
RETRY: "RETRY"
|
|
459
|
+
};
|
|
460
|
+
var ServiceJobType = {
|
|
461
|
+
SAGEMAKER_TRAINING: "SAGEMAKER_TRAINING"
|
|
462
|
+
};
|
|
463
|
+
var ServiceJobStatus = {
|
|
464
|
+
FAILED: "FAILED",
|
|
465
|
+
PENDING: "PENDING",
|
|
466
|
+
RUNNABLE: "RUNNABLE",
|
|
467
|
+
RUNNING: "RUNNING",
|
|
468
|
+
SCHEDULED: "SCHEDULED",
|
|
469
|
+
STARTING: "STARTING",
|
|
470
|
+
SUBMITTED: "SUBMITTED",
|
|
471
|
+
SUCCEEDED: "SUCCEEDED"
|
|
472
|
+
};
|
|
413
473
|
var JobDefinitionType = {
|
|
414
474
|
Container: "container",
|
|
415
475
|
Multinode: "multinode"
|
|
@@ -489,9 +549,11 @@ var se_CreateJobQueueCommand = /* @__PURE__ */ __name(async (input, context) =>
|
|
|
489
549
|
(0, import_smithy_client.take)(input, {
|
|
490
550
|
computeEnvironmentOrder: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "computeEnvironmentOrder"),
|
|
491
551
|
jobQueueName: [],
|
|
552
|
+
jobQueueType: [],
|
|
492
553
|
jobStateTimeLimitActions: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "jobStateTimeLimitActions"),
|
|
493
554
|
priority: [],
|
|
494
555
|
schedulingPolicyArn: [],
|
|
556
|
+
serviceEnvironmentOrder: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "serviceEnvironmentOrder"),
|
|
495
557
|
state: [],
|
|
496
558
|
tags: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "tags")
|
|
497
559
|
})
|
|
@@ -516,6 +578,25 @@ var se_CreateSchedulingPolicyCommand = /* @__PURE__ */ __name(async (input, cont
|
|
|
516
578
|
b.m("POST").h(headers).b(body);
|
|
517
579
|
return b.build();
|
|
518
580
|
}, "se_CreateSchedulingPolicyCommand");
|
|
581
|
+
var se_CreateServiceEnvironmentCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
582
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
583
|
+
const headers = {
|
|
584
|
+
"content-type": "application/json"
|
|
585
|
+
};
|
|
586
|
+
b.bp("/v1/createserviceenvironment");
|
|
587
|
+
let body;
|
|
588
|
+
body = JSON.stringify(
|
|
589
|
+
(0, import_smithy_client.take)(input, {
|
|
590
|
+
capacityLimits: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "capacityLimits"),
|
|
591
|
+
serviceEnvironmentName: [],
|
|
592
|
+
serviceEnvironmentType: [],
|
|
593
|
+
state: [],
|
|
594
|
+
tags: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "tags")
|
|
595
|
+
})
|
|
596
|
+
);
|
|
597
|
+
b.m("POST").h(headers).b(body);
|
|
598
|
+
return b.build();
|
|
599
|
+
}, "se_CreateServiceEnvironmentCommand");
|
|
519
600
|
var se_DeleteComputeEnvironmentCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
520
601
|
const b = (0, import_core.requestBuilder)(input, context);
|
|
521
602
|
const headers = {
|
|
@@ -576,6 +657,21 @@ var se_DeleteSchedulingPolicyCommand = /* @__PURE__ */ __name(async (input, cont
|
|
|
576
657
|
b.m("POST").h(headers).b(body);
|
|
577
658
|
return b.build();
|
|
578
659
|
}, "se_DeleteSchedulingPolicyCommand");
|
|
660
|
+
var se_DeleteServiceEnvironmentCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
661
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
662
|
+
const headers = {
|
|
663
|
+
"content-type": "application/json"
|
|
664
|
+
};
|
|
665
|
+
b.bp("/v1/deleteserviceenvironment");
|
|
666
|
+
let body;
|
|
667
|
+
body = JSON.stringify(
|
|
668
|
+
(0, import_smithy_client.take)(input, {
|
|
669
|
+
serviceEnvironment: []
|
|
670
|
+
})
|
|
671
|
+
);
|
|
672
|
+
b.m("POST").h(headers).b(body);
|
|
673
|
+
return b.build();
|
|
674
|
+
}, "se_DeleteServiceEnvironmentCommand");
|
|
579
675
|
var se_DeregisterJobDefinitionCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
580
676
|
const b = (0, import_core.requestBuilder)(input, context);
|
|
581
677
|
const headers = {
|
|
@@ -689,6 +785,38 @@ var se_DescribeSchedulingPoliciesCommand = /* @__PURE__ */ __name(async (input,
|
|
|
689
785
|
b.m("POST").h(headers).b(body);
|
|
690
786
|
return b.build();
|
|
691
787
|
}, "se_DescribeSchedulingPoliciesCommand");
|
|
788
|
+
var se_DescribeServiceEnvironmentsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
789
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
790
|
+
const headers = {
|
|
791
|
+
"content-type": "application/json"
|
|
792
|
+
};
|
|
793
|
+
b.bp("/v1/describeserviceenvironments");
|
|
794
|
+
let body;
|
|
795
|
+
body = JSON.stringify(
|
|
796
|
+
(0, import_smithy_client.take)(input, {
|
|
797
|
+
maxResults: [],
|
|
798
|
+
nextToken: [],
|
|
799
|
+
serviceEnvironments: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "serviceEnvironments")
|
|
800
|
+
})
|
|
801
|
+
);
|
|
802
|
+
b.m("POST").h(headers).b(body);
|
|
803
|
+
return b.build();
|
|
804
|
+
}, "se_DescribeServiceEnvironmentsCommand");
|
|
805
|
+
var se_DescribeServiceJobCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
806
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
807
|
+
const headers = {
|
|
808
|
+
"content-type": "application/json"
|
|
809
|
+
};
|
|
810
|
+
b.bp("/v1/describeservicejob");
|
|
811
|
+
let body;
|
|
812
|
+
body = JSON.stringify(
|
|
813
|
+
(0, import_smithy_client.take)(input, {
|
|
814
|
+
jobId: []
|
|
815
|
+
})
|
|
816
|
+
);
|
|
817
|
+
b.m("POST").h(headers).b(body);
|
|
818
|
+
return b.build();
|
|
819
|
+
}, "se_DescribeServiceJobCommand");
|
|
692
820
|
var se_GetJobQueueSnapshotCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
693
821
|
const b = (0, import_core.requestBuilder)(input, context);
|
|
694
822
|
const headers = {
|
|
@@ -776,6 +904,25 @@ var se_ListSchedulingPoliciesCommand = /* @__PURE__ */ __name(async (input, cont
|
|
|
776
904
|
b.m("POST").h(headers).b(body);
|
|
777
905
|
return b.build();
|
|
778
906
|
}, "se_ListSchedulingPoliciesCommand");
|
|
907
|
+
var se_ListServiceJobsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
908
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
909
|
+
const headers = {
|
|
910
|
+
"content-type": "application/json"
|
|
911
|
+
};
|
|
912
|
+
b.bp("/v1/listservicejobs");
|
|
913
|
+
let body;
|
|
914
|
+
body = JSON.stringify(
|
|
915
|
+
(0, import_smithy_client.take)(input, {
|
|
916
|
+
filters: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "filters"),
|
|
917
|
+
jobQueue: [],
|
|
918
|
+
jobStatus: [],
|
|
919
|
+
maxResults: [],
|
|
920
|
+
nextToken: []
|
|
921
|
+
})
|
|
922
|
+
);
|
|
923
|
+
b.m("POST").h(headers).b(body);
|
|
924
|
+
return b.build();
|
|
925
|
+
}, "se_ListServiceJobsCommand");
|
|
779
926
|
var se_ListTagsForResourceCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
780
927
|
const b = (0, import_core.requestBuilder)(input, context);
|
|
781
928
|
const headers = {};
|
|
@@ -844,6 +991,30 @@ var se_SubmitJobCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
|
844
991
|
b.m("POST").h(headers).b(body);
|
|
845
992
|
return b.build();
|
|
846
993
|
}, "se_SubmitJobCommand");
|
|
994
|
+
var se_SubmitServiceJobCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
995
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
996
|
+
const headers = {
|
|
997
|
+
"content-type": "application/json"
|
|
998
|
+
};
|
|
999
|
+
b.bp("/v1/submitservicejob");
|
|
1000
|
+
let body;
|
|
1001
|
+
body = JSON.stringify(
|
|
1002
|
+
(0, import_smithy_client.take)(input, {
|
|
1003
|
+
clientToken: [true, (_) => _ ?? (0, import_uuid.v4)()],
|
|
1004
|
+
jobName: [],
|
|
1005
|
+
jobQueue: [],
|
|
1006
|
+
retryStrategy: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "retryStrategy"),
|
|
1007
|
+
schedulingPriority: [],
|
|
1008
|
+
serviceJobType: [],
|
|
1009
|
+
serviceRequestPayload: [],
|
|
1010
|
+
shareIdentifier: [],
|
|
1011
|
+
tags: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "tags"),
|
|
1012
|
+
timeoutConfig: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "timeoutConfig")
|
|
1013
|
+
})
|
|
1014
|
+
);
|
|
1015
|
+
b.m("POST").h(headers).b(body);
|
|
1016
|
+
return b.build();
|
|
1017
|
+
}, "se_SubmitServiceJobCommand");
|
|
847
1018
|
var se_TagResourceCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
848
1019
|
const b = (0, import_core.requestBuilder)(input, context);
|
|
849
1020
|
const headers = {
|
|
@@ -876,6 +1047,22 @@ var se_TerminateJobCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
|
876
1047
|
b.m("POST").h(headers).b(body);
|
|
877
1048
|
return b.build();
|
|
878
1049
|
}, "se_TerminateJobCommand");
|
|
1050
|
+
var se_TerminateServiceJobCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1051
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
1052
|
+
const headers = {
|
|
1053
|
+
"content-type": "application/json"
|
|
1054
|
+
};
|
|
1055
|
+
b.bp("/v1/terminateservicejob");
|
|
1056
|
+
let body;
|
|
1057
|
+
body = JSON.stringify(
|
|
1058
|
+
(0, import_smithy_client.take)(input, {
|
|
1059
|
+
jobId: [],
|
|
1060
|
+
reason: []
|
|
1061
|
+
})
|
|
1062
|
+
);
|
|
1063
|
+
b.m("POST").h(headers).b(body);
|
|
1064
|
+
return b.build();
|
|
1065
|
+
}, "se_TerminateServiceJobCommand");
|
|
879
1066
|
var se_UntagResourceCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
880
1067
|
const b = (0, import_core.requestBuilder)(input, context);
|
|
881
1068
|
const headers = {};
|
|
@@ -941,6 +1128,7 @@ var se_UpdateJobQueueCommand = /* @__PURE__ */ __name(async (input, context) =>
|
|
|
941
1128
|
jobStateTimeLimitActions: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "jobStateTimeLimitActions"),
|
|
942
1129
|
priority: [],
|
|
943
1130
|
schedulingPolicyArn: [],
|
|
1131
|
+
serviceEnvironmentOrder: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "serviceEnvironmentOrder"),
|
|
944
1132
|
state: []
|
|
945
1133
|
})
|
|
946
1134
|
);
|
|
@@ -963,6 +1151,23 @@ var se_UpdateSchedulingPolicyCommand = /* @__PURE__ */ __name(async (input, cont
|
|
|
963
1151
|
b.m("POST").h(headers).b(body);
|
|
964
1152
|
return b.build();
|
|
965
1153
|
}, "se_UpdateSchedulingPolicyCommand");
|
|
1154
|
+
var se_UpdateServiceEnvironmentCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1155
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
1156
|
+
const headers = {
|
|
1157
|
+
"content-type": "application/json"
|
|
1158
|
+
};
|
|
1159
|
+
b.bp("/v1/updateserviceenvironment");
|
|
1160
|
+
let body;
|
|
1161
|
+
body = JSON.stringify(
|
|
1162
|
+
(0, import_smithy_client.take)(input, {
|
|
1163
|
+
capacityLimits: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "capacityLimits"),
|
|
1164
|
+
serviceEnvironment: [],
|
|
1165
|
+
state: []
|
|
1166
|
+
})
|
|
1167
|
+
);
|
|
1168
|
+
b.m("POST").h(headers).b(body);
|
|
1169
|
+
return b.build();
|
|
1170
|
+
}, "se_UpdateServiceEnvironmentCommand");
|
|
966
1171
|
var de_CancelJobCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
967
1172
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
968
1173
|
return de_CommandError(output, context);
|
|
@@ -1033,6 +1238,21 @@ var de_CreateSchedulingPolicyCommand = /* @__PURE__ */ __name(async (output, con
|
|
|
1033
1238
|
Object.assign(contents, doc);
|
|
1034
1239
|
return contents;
|
|
1035
1240
|
}, "de_CreateSchedulingPolicyCommand");
|
|
1241
|
+
var de_CreateServiceEnvironmentCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1242
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1243
|
+
return de_CommandError(output, context);
|
|
1244
|
+
}
|
|
1245
|
+
const contents = (0, import_smithy_client.map)({
|
|
1246
|
+
$metadata: deserializeMetadata(output)
|
|
1247
|
+
});
|
|
1248
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1249
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1250
|
+
serviceEnvironmentArn: import_smithy_client.expectString,
|
|
1251
|
+
serviceEnvironmentName: import_smithy_client.expectString
|
|
1252
|
+
});
|
|
1253
|
+
Object.assign(contents, doc);
|
|
1254
|
+
return contents;
|
|
1255
|
+
}, "de_CreateServiceEnvironmentCommand");
|
|
1036
1256
|
var de_DeleteComputeEnvironmentCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1037
1257
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1038
1258
|
return de_CommandError(output, context);
|
|
@@ -1073,6 +1293,16 @@ var de_DeleteSchedulingPolicyCommand = /* @__PURE__ */ __name(async (output, con
|
|
|
1073
1293
|
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
1074
1294
|
return contents;
|
|
1075
1295
|
}, "de_DeleteSchedulingPolicyCommand");
|
|
1296
|
+
var de_DeleteServiceEnvironmentCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1297
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1298
|
+
return de_CommandError(output, context);
|
|
1299
|
+
}
|
|
1300
|
+
const contents = (0, import_smithy_client.map)({
|
|
1301
|
+
$metadata: deserializeMetadata(output)
|
|
1302
|
+
});
|
|
1303
|
+
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
1304
|
+
return contents;
|
|
1305
|
+
}, "de_DeleteServiceEnvironmentCommand");
|
|
1076
1306
|
var de_DeregisterJobDefinitionCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1077
1307
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1078
1308
|
return de_CommandError(output, context);
|
|
@@ -1177,6 +1407,53 @@ var de_DescribeSchedulingPoliciesCommand = /* @__PURE__ */ __name(async (output,
|
|
|
1177
1407
|
Object.assign(contents, doc);
|
|
1178
1408
|
return contents;
|
|
1179
1409
|
}, "de_DescribeSchedulingPoliciesCommand");
|
|
1410
|
+
var de_DescribeServiceEnvironmentsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1411
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1412
|
+
return de_CommandError(output, context);
|
|
1413
|
+
}
|
|
1414
|
+
const contents = (0, import_smithy_client.map)({
|
|
1415
|
+
$metadata: deserializeMetadata(output)
|
|
1416
|
+
});
|
|
1417
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1418
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1419
|
+
nextToken: import_smithy_client.expectString,
|
|
1420
|
+
serviceEnvironments: import_smithy_client._json
|
|
1421
|
+
});
|
|
1422
|
+
Object.assign(contents, doc);
|
|
1423
|
+
return contents;
|
|
1424
|
+
}, "de_DescribeServiceEnvironmentsCommand");
|
|
1425
|
+
var de_DescribeServiceJobCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1426
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1427
|
+
return de_CommandError(output, context);
|
|
1428
|
+
}
|
|
1429
|
+
const contents = (0, import_smithy_client.map)({
|
|
1430
|
+
$metadata: deserializeMetadata(output)
|
|
1431
|
+
});
|
|
1432
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1433
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1434
|
+
attempts: import_smithy_client._json,
|
|
1435
|
+
createdAt: import_smithy_client.expectLong,
|
|
1436
|
+
isTerminated: import_smithy_client.expectBoolean,
|
|
1437
|
+
jobArn: import_smithy_client.expectString,
|
|
1438
|
+
jobId: import_smithy_client.expectString,
|
|
1439
|
+
jobName: import_smithy_client.expectString,
|
|
1440
|
+
jobQueue: import_smithy_client.expectString,
|
|
1441
|
+
latestAttempt: import_smithy_client._json,
|
|
1442
|
+
retryStrategy: import_smithy_client._json,
|
|
1443
|
+
schedulingPriority: import_smithy_client.expectInt32,
|
|
1444
|
+
serviceJobType: import_smithy_client.expectString,
|
|
1445
|
+
serviceRequestPayload: import_smithy_client.expectString,
|
|
1446
|
+
shareIdentifier: import_smithy_client.expectString,
|
|
1447
|
+
startedAt: import_smithy_client.expectLong,
|
|
1448
|
+
status: import_smithy_client.expectString,
|
|
1449
|
+
statusReason: import_smithy_client.expectString,
|
|
1450
|
+
stoppedAt: import_smithy_client.expectLong,
|
|
1451
|
+
tags: import_smithy_client._json,
|
|
1452
|
+
timeoutConfig: import_smithy_client._json
|
|
1453
|
+
});
|
|
1454
|
+
Object.assign(contents, doc);
|
|
1455
|
+
return contents;
|
|
1456
|
+
}, "de_DescribeServiceJobCommand");
|
|
1180
1457
|
var de_GetJobQueueSnapshotCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1181
1458
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1182
1459
|
return de_CommandError(output, context);
|
|
@@ -1251,6 +1528,21 @@ var de_ListSchedulingPoliciesCommand = /* @__PURE__ */ __name(async (output, con
|
|
|
1251
1528
|
Object.assign(contents, doc);
|
|
1252
1529
|
return contents;
|
|
1253
1530
|
}, "de_ListSchedulingPoliciesCommand");
|
|
1531
|
+
var de_ListServiceJobsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1532
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1533
|
+
return de_CommandError(output, context);
|
|
1534
|
+
}
|
|
1535
|
+
const contents = (0, import_smithy_client.map)({
|
|
1536
|
+
$metadata: deserializeMetadata(output)
|
|
1537
|
+
});
|
|
1538
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1539
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1540
|
+
jobSummaryList: import_smithy_client._json,
|
|
1541
|
+
nextToken: import_smithy_client.expectString
|
|
1542
|
+
});
|
|
1543
|
+
Object.assign(contents, doc);
|
|
1544
|
+
return contents;
|
|
1545
|
+
}, "de_ListServiceJobsCommand");
|
|
1254
1546
|
var de_ListTagsForResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1255
1547
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1256
1548
|
return de_CommandError(output, context);
|
|
@@ -1297,6 +1589,22 @@ var de_SubmitJobCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
1297
1589
|
Object.assign(contents, doc);
|
|
1298
1590
|
return contents;
|
|
1299
1591
|
}, "de_SubmitJobCommand");
|
|
1592
|
+
var de_SubmitServiceJobCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1593
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1594
|
+
return de_CommandError(output, context);
|
|
1595
|
+
}
|
|
1596
|
+
const contents = (0, import_smithy_client.map)({
|
|
1597
|
+
$metadata: deserializeMetadata(output)
|
|
1598
|
+
});
|
|
1599
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1600
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1601
|
+
jobArn: import_smithy_client.expectString,
|
|
1602
|
+
jobId: import_smithy_client.expectString,
|
|
1603
|
+
jobName: import_smithy_client.expectString
|
|
1604
|
+
});
|
|
1605
|
+
Object.assign(contents, doc);
|
|
1606
|
+
return contents;
|
|
1607
|
+
}, "de_SubmitServiceJobCommand");
|
|
1300
1608
|
var de_TagResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1301
1609
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1302
1610
|
return de_CommandError(output, context);
|
|
@@ -1317,6 +1625,16 @@ var de_TerminateJobCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
1317
1625
|
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
1318
1626
|
return contents;
|
|
1319
1627
|
}, "de_TerminateJobCommand");
|
|
1628
|
+
var de_TerminateServiceJobCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1629
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1630
|
+
return de_CommandError(output, context);
|
|
1631
|
+
}
|
|
1632
|
+
const contents = (0, import_smithy_client.map)({
|
|
1633
|
+
$metadata: deserializeMetadata(output)
|
|
1634
|
+
});
|
|
1635
|
+
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
1636
|
+
return contents;
|
|
1637
|
+
}, "de_TerminateServiceJobCommand");
|
|
1320
1638
|
var de_UntagResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1321
1639
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1322
1640
|
return de_CommandError(output, context);
|
|
@@ -1383,6 +1701,21 @@ var de_UpdateSchedulingPolicyCommand = /* @__PURE__ */ __name(async (output, con
|
|
|
1383
1701
|
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
1384
1702
|
return contents;
|
|
1385
1703
|
}, "de_UpdateSchedulingPolicyCommand");
|
|
1704
|
+
var de_UpdateServiceEnvironmentCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1705
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1706
|
+
return de_CommandError(output, context);
|
|
1707
|
+
}
|
|
1708
|
+
const contents = (0, import_smithy_client.map)({
|
|
1709
|
+
$metadata: deserializeMetadata(output)
|
|
1710
|
+
});
|
|
1711
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1712
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1713
|
+
serviceEnvironmentArn: import_smithy_client.expectString,
|
|
1714
|
+
serviceEnvironmentName: import_smithy_client.expectString
|
|
1715
|
+
});
|
|
1716
|
+
Object.assign(contents, doc);
|
|
1717
|
+
return contents;
|
|
1718
|
+
}, "de_UpdateServiceEnvironmentCommand");
|
|
1386
1719
|
var de_CommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1387
1720
|
const parsedOutput = {
|
|
1388
1721
|
...output,
|
|
@@ -1656,6 +1989,21 @@ var CreateSchedulingPolicyCommand = class extends import_smithy_client.Command.c
|
|
|
1656
1989
|
}
|
|
1657
1990
|
};
|
|
1658
1991
|
|
|
1992
|
+
// src/commands/CreateServiceEnvironmentCommand.ts
|
|
1993
|
+
|
|
1994
|
+
|
|
1995
|
+
|
|
1996
|
+
var CreateServiceEnvironmentCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1997
|
+
return [
|
|
1998
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1999
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2000
|
+
];
|
|
2001
|
+
}).s("AWSBatchV20160810", "CreateServiceEnvironment", {}).n("BatchClient", "CreateServiceEnvironmentCommand").f(void 0, void 0).ser(se_CreateServiceEnvironmentCommand).de(de_CreateServiceEnvironmentCommand).build() {
|
|
2002
|
+
static {
|
|
2003
|
+
__name(this, "CreateServiceEnvironmentCommand");
|
|
2004
|
+
}
|
|
2005
|
+
};
|
|
2006
|
+
|
|
1659
2007
|
// src/commands/DeleteComputeEnvironmentCommand.ts
|
|
1660
2008
|
|
|
1661
2009
|
|
|
@@ -1716,6 +2064,21 @@ var DeleteSchedulingPolicyCommand = class extends import_smithy_client.Command.c
|
|
|
1716
2064
|
}
|
|
1717
2065
|
};
|
|
1718
2066
|
|
|
2067
|
+
// src/commands/DeleteServiceEnvironmentCommand.ts
|
|
2068
|
+
|
|
2069
|
+
|
|
2070
|
+
|
|
2071
|
+
var DeleteServiceEnvironmentCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
2072
|
+
return [
|
|
2073
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2074
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2075
|
+
];
|
|
2076
|
+
}).s("AWSBatchV20160810", "DeleteServiceEnvironment", {}).n("BatchClient", "DeleteServiceEnvironmentCommand").f(void 0, void 0).ser(se_DeleteServiceEnvironmentCommand).de(de_DeleteServiceEnvironmentCommand).build() {
|
|
2077
|
+
static {
|
|
2078
|
+
__name(this, "DeleteServiceEnvironmentCommand");
|
|
2079
|
+
}
|
|
2080
|
+
};
|
|
2081
|
+
|
|
1719
2082
|
// src/commands/DeregisterJobDefinitionCommand.ts
|
|
1720
2083
|
|
|
1721
2084
|
|
|
@@ -1821,6 +2184,36 @@ var DescribeSchedulingPoliciesCommand = class extends import_smithy_client.Comma
|
|
|
1821
2184
|
}
|
|
1822
2185
|
};
|
|
1823
2186
|
|
|
2187
|
+
// src/commands/DescribeServiceEnvironmentsCommand.ts
|
|
2188
|
+
|
|
2189
|
+
|
|
2190
|
+
|
|
2191
|
+
var DescribeServiceEnvironmentsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
2192
|
+
return [
|
|
2193
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2194
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2195
|
+
];
|
|
2196
|
+
}).s("AWSBatchV20160810", "DescribeServiceEnvironments", {}).n("BatchClient", "DescribeServiceEnvironmentsCommand").f(void 0, void 0).ser(se_DescribeServiceEnvironmentsCommand).de(de_DescribeServiceEnvironmentsCommand).build() {
|
|
2197
|
+
static {
|
|
2198
|
+
__name(this, "DescribeServiceEnvironmentsCommand");
|
|
2199
|
+
}
|
|
2200
|
+
};
|
|
2201
|
+
|
|
2202
|
+
// src/commands/DescribeServiceJobCommand.ts
|
|
2203
|
+
|
|
2204
|
+
|
|
2205
|
+
|
|
2206
|
+
var DescribeServiceJobCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
2207
|
+
return [
|
|
2208
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2209
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2210
|
+
];
|
|
2211
|
+
}).s("AWSBatchV20160810", "DescribeServiceJob", {}).n("BatchClient", "DescribeServiceJobCommand").f(void 0, void 0).ser(se_DescribeServiceJobCommand).de(de_DescribeServiceJobCommand).build() {
|
|
2212
|
+
static {
|
|
2213
|
+
__name(this, "DescribeServiceJobCommand");
|
|
2214
|
+
}
|
|
2215
|
+
};
|
|
2216
|
+
|
|
1824
2217
|
// src/commands/GetJobQueueSnapshotCommand.ts
|
|
1825
2218
|
|
|
1826
2219
|
|
|
@@ -1896,6 +2289,21 @@ var ListSchedulingPoliciesCommand = class extends import_smithy_client.Command.c
|
|
|
1896
2289
|
}
|
|
1897
2290
|
};
|
|
1898
2291
|
|
|
2292
|
+
// src/commands/ListServiceJobsCommand.ts
|
|
2293
|
+
|
|
2294
|
+
|
|
2295
|
+
|
|
2296
|
+
var ListServiceJobsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
2297
|
+
return [
|
|
2298
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2299
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2300
|
+
];
|
|
2301
|
+
}).s("AWSBatchV20160810", "ListServiceJobs", {}).n("BatchClient", "ListServiceJobsCommand").f(void 0, void 0).ser(se_ListServiceJobsCommand).de(de_ListServiceJobsCommand).build() {
|
|
2302
|
+
static {
|
|
2303
|
+
__name(this, "ListServiceJobsCommand");
|
|
2304
|
+
}
|
|
2305
|
+
};
|
|
2306
|
+
|
|
1899
2307
|
// src/commands/ListTagsForResourceCommand.ts
|
|
1900
2308
|
|
|
1901
2309
|
|
|
@@ -1941,6 +2349,21 @@ var SubmitJobCommand = class extends import_smithy_client.Command.classBuilder()
|
|
|
1941
2349
|
}
|
|
1942
2350
|
};
|
|
1943
2351
|
|
|
2352
|
+
// src/commands/SubmitServiceJobCommand.ts
|
|
2353
|
+
|
|
2354
|
+
|
|
2355
|
+
|
|
2356
|
+
var SubmitServiceJobCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
2357
|
+
return [
|
|
2358
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2359
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2360
|
+
];
|
|
2361
|
+
}).s("AWSBatchV20160810", "SubmitServiceJob", {}).n("BatchClient", "SubmitServiceJobCommand").f(void 0, void 0).ser(se_SubmitServiceJobCommand).de(de_SubmitServiceJobCommand).build() {
|
|
2362
|
+
static {
|
|
2363
|
+
__name(this, "SubmitServiceJobCommand");
|
|
2364
|
+
}
|
|
2365
|
+
};
|
|
2366
|
+
|
|
1944
2367
|
// src/commands/TagResourceCommand.ts
|
|
1945
2368
|
|
|
1946
2369
|
|
|
@@ -1971,6 +2394,21 @@ var TerminateJobCommand = class extends import_smithy_client.Command.classBuilde
|
|
|
1971
2394
|
}
|
|
1972
2395
|
};
|
|
1973
2396
|
|
|
2397
|
+
// src/commands/TerminateServiceJobCommand.ts
|
|
2398
|
+
|
|
2399
|
+
|
|
2400
|
+
|
|
2401
|
+
var TerminateServiceJobCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
2402
|
+
return [
|
|
2403
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2404
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2405
|
+
];
|
|
2406
|
+
}).s("AWSBatchV20160810", "TerminateServiceJob", {}).n("BatchClient", "TerminateServiceJobCommand").f(void 0, void 0).ser(se_TerminateServiceJobCommand).de(de_TerminateServiceJobCommand).build() {
|
|
2407
|
+
static {
|
|
2408
|
+
__name(this, "TerminateServiceJobCommand");
|
|
2409
|
+
}
|
|
2410
|
+
};
|
|
2411
|
+
|
|
1974
2412
|
// src/commands/UntagResourceCommand.ts
|
|
1975
2413
|
|
|
1976
2414
|
|
|
@@ -2046,6 +2484,21 @@ var UpdateSchedulingPolicyCommand = class extends import_smithy_client.Command.c
|
|
|
2046
2484
|
}
|
|
2047
2485
|
};
|
|
2048
2486
|
|
|
2487
|
+
// src/commands/UpdateServiceEnvironmentCommand.ts
|
|
2488
|
+
|
|
2489
|
+
|
|
2490
|
+
|
|
2491
|
+
var UpdateServiceEnvironmentCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
2492
|
+
return [
|
|
2493
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2494
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2495
|
+
];
|
|
2496
|
+
}).s("AWSBatchV20160810", "UpdateServiceEnvironment", {}).n("BatchClient", "UpdateServiceEnvironmentCommand").f(void 0, void 0).ser(se_UpdateServiceEnvironmentCommand).de(de_UpdateServiceEnvironmentCommand).build() {
|
|
2497
|
+
static {
|
|
2498
|
+
__name(this, "UpdateServiceEnvironmentCommand");
|
|
2499
|
+
}
|
|
2500
|
+
};
|
|
2501
|
+
|
|
2049
2502
|
// src/Batch.ts
|
|
2050
2503
|
var commands = {
|
|
2051
2504
|
CancelJobCommand,
|
|
@@ -2053,10 +2506,12 @@ var commands = {
|
|
|
2053
2506
|
CreateConsumableResourceCommand,
|
|
2054
2507
|
CreateJobQueueCommand,
|
|
2055
2508
|
CreateSchedulingPolicyCommand,
|
|
2509
|
+
CreateServiceEnvironmentCommand,
|
|
2056
2510
|
DeleteComputeEnvironmentCommand,
|
|
2057
2511
|
DeleteConsumableResourceCommand,
|
|
2058
2512
|
DeleteJobQueueCommand,
|
|
2059
2513
|
DeleteSchedulingPolicyCommand,
|
|
2514
|
+
DeleteServiceEnvironmentCommand,
|
|
2060
2515
|
DeregisterJobDefinitionCommand,
|
|
2061
2516
|
DescribeComputeEnvironmentsCommand,
|
|
2062
2517
|
DescribeConsumableResourceCommand,
|
|
@@ -2064,21 +2519,27 @@ var commands = {
|
|
|
2064
2519
|
DescribeJobQueuesCommand,
|
|
2065
2520
|
DescribeJobsCommand,
|
|
2066
2521
|
DescribeSchedulingPoliciesCommand,
|
|
2522
|
+
DescribeServiceEnvironmentsCommand,
|
|
2523
|
+
DescribeServiceJobCommand,
|
|
2067
2524
|
GetJobQueueSnapshotCommand,
|
|
2068
2525
|
ListConsumableResourcesCommand,
|
|
2069
2526
|
ListJobsCommand,
|
|
2070
2527
|
ListJobsByConsumableResourceCommand,
|
|
2071
2528
|
ListSchedulingPoliciesCommand,
|
|
2529
|
+
ListServiceJobsCommand,
|
|
2072
2530
|
ListTagsForResourceCommand,
|
|
2073
2531
|
RegisterJobDefinitionCommand,
|
|
2074
2532
|
SubmitJobCommand,
|
|
2533
|
+
SubmitServiceJobCommand,
|
|
2075
2534
|
TagResourceCommand,
|
|
2076
2535
|
TerminateJobCommand,
|
|
2536
|
+
TerminateServiceJobCommand,
|
|
2077
2537
|
UntagResourceCommand,
|
|
2078
2538
|
UpdateComputeEnvironmentCommand,
|
|
2079
2539
|
UpdateConsumableResourceCommand,
|
|
2080
2540
|
UpdateJobQueueCommand,
|
|
2081
|
-
UpdateSchedulingPolicyCommand
|
|
2541
|
+
UpdateSchedulingPolicyCommand,
|
|
2542
|
+
UpdateServiceEnvironmentCommand
|
|
2082
2543
|
};
|
|
2083
2544
|
var Batch = class extends BatchClient {
|
|
2084
2545
|
static {
|
|
@@ -2099,6 +2560,10 @@ var paginateDescribeJobDefinitions = (0, import_core.createPaginator)(BatchClien
|
|
|
2099
2560
|
|
|
2100
2561
|
var paginateDescribeJobQueues = (0, import_core.createPaginator)(BatchClient, DescribeJobQueuesCommand, "nextToken", "nextToken", "maxResults");
|
|
2101
2562
|
|
|
2563
|
+
// src/pagination/DescribeServiceEnvironmentsPaginator.ts
|
|
2564
|
+
|
|
2565
|
+
var paginateDescribeServiceEnvironments = (0, import_core.createPaginator)(BatchClient, DescribeServiceEnvironmentsCommand, "nextToken", "nextToken", "maxResults");
|
|
2566
|
+
|
|
2102
2567
|
// src/pagination/ListConsumableResourcesPaginator.ts
|
|
2103
2568
|
|
|
2104
2569
|
var paginateListConsumableResources = (0, import_core.createPaginator)(BatchClient, ListConsumableResourcesCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -2114,6 +2579,10 @@ var paginateListJobs = (0, import_core.createPaginator)(BatchClient, ListJobsCom
|
|
|
2114
2579
|
// src/pagination/ListSchedulingPoliciesPaginator.ts
|
|
2115
2580
|
|
|
2116
2581
|
var paginateListSchedulingPolicies = (0, import_core.createPaginator)(BatchClient, ListSchedulingPoliciesCommand, "nextToken", "nextToken", "maxResults");
|
|
2582
|
+
|
|
2583
|
+
// src/pagination/ListServiceJobsPaginator.ts
|
|
2584
|
+
|
|
2585
|
+
var paginateListServiceJobs = (0, import_core.createPaginator)(BatchClient, ListServiceJobsCommand, "nextToken", "nextToken", "maxResults");
|
|
2117
2586
|
// Annotate the CommonJS export names for ESM import in node:
|
|
2118
2587
|
|
|
2119
2588
|
0 && (module.exports = {
|
|
@@ -2127,10 +2596,12 @@ var paginateListSchedulingPolicies = (0, import_core.createPaginator)(BatchClien
|
|
|
2127
2596
|
CreateConsumableResourceCommand,
|
|
2128
2597
|
CreateJobQueueCommand,
|
|
2129
2598
|
CreateSchedulingPolicyCommand,
|
|
2599
|
+
CreateServiceEnvironmentCommand,
|
|
2130
2600
|
DeleteComputeEnvironmentCommand,
|
|
2131
2601
|
DeleteConsumableResourceCommand,
|
|
2132
2602
|
DeleteJobQueueCommand,
|
|
2133
2603
|
DeleteSchedulingPolicyCommand,
|
|
2604
|
+
DeleteServiceEnvironmentCommand,
|
|
2134
2605
|
DeregisterJobDefinitionCommand,
|
|
2135
2606
|
DescribeComputeEnvironmentsCommand,
|
|
2136
2607
|
DescribeConsumableResourceCommand,
|
|
@@ -2138,28 +2609,36 @@ var paginateListSchedulingPolicies = (0, import_core.createPaginator)(BatchClien
|
|
|
2138
2609
|
DescribeJobQueuesCommand,
|
|
2139
2610
|
DescribeJobsCommand,
|
|
2140
2611
|
DescribeSchedulingPoliciesCommand,
|
|
2612
|
+
DescribeServiceEnvironmentsCommand,
|
|
2613
|
+
DescribeServiceJobCommand,
|
|
2141
2614
|
GetJobQueueSnapshotCommand,
|
|
2142
2615
|
ListConsumableResourcesCommand,
|
|
2143
2616
|
ListJobsByConsumableResourceCommand,
|
|
2144
2617
|
ListJobsCommand,
|
|
2145
2618
|
ListSchedulingPoliciesCommand,
|
|
2619
|
+
ListServiceJobsCommand,
|
|
2146
2620
|
ListTagsForResourceCommand,
|
|
2147
2621
|
RegisterJobDefinitionCommand,
|
|
2148
2622
|
SubmitJobCommand,
|
|
2623
|
+
SubmitServiceJobCommand,
|
|
2149
2624
|
TagResourceCommand,
|
|
2150
2625
|
TerminateJobCommand,
|
|
2626
|
+
TerminateServiceJobCommand,
|
|
2151
2627
|
UntagResourceCommand,
|
|
2152
2628
|
UpdateComputeEnvironmentCommand,
|
|
2153
2629
|
UpdateConsumableResourceCommand,
|
|
2154
2630
|
UpdateJobQueueCommand,
|
|
2155
2631
|
UpdateSchedulingPolicyCommand,
|
|
2632
|
+
UpdateServiceEnvironmentCommand,
|
|
2156
2633
|
paginateDescribeComputeEnvironments,
|
|
2157
2634
|
paginateDescribeJobDefinitions,
|
|
2158
2635
|
paginateDescribeJobQueues,
|
|
2636
|
+
paginateDescribeServiceEnvironments,
|
|
2159
2637
|
paginateListConsumableResources,
|
|
2160
2638
|
paginateListJobsByConsumableResource,
|
|
2161
2639
|
paginateListJobs,
|
|
2162
2640
|
paginateListSchedulingPolicies,
|
|
2641
|
+
paginateListServiceJobs,
|
|
2163
2642
|
ArrayJobDependency,
|
|
2164
2643
|
AssignPublicIp,
|
|
2165
2644
|
ClientException,
|
|
@@ -2169,9 +2648,12 @@ var paginateListSchedulingPolicies = (0, import_core.createPaginator)(BatchClien
|
|
|
2169
2648
|
CRType,
|
|
2170
2649
|
CEState,
|
|
2171
2650
|
CEType,
|
|
2651
|
+
JobQueueType,
|
|
2172
2652
|
JobStateTimeLimitActionsAction,
|
|
2173
2653
|
JobStateTimeLimitActionsState,
|
|
2174
2654
|
JQState,
|
|
2655
|
+
ServiceEnvironmentType,
|
|
2656
|
+
ServiceEnvironmentState,
|
|
2175
2657
|
OrchestrationType,
|
|
2176
2658
|
CEStatus,
|
|
2177
2659
|
DeviceCgroupPermission,
|
|
@@ -2184,6 +2666,11 @@ var paginateListSchedulingPolicies = (0, import_core.createPaginator)(BatchClien
|
|
|
2184
2666
|
RetryAction,
|
|
2185
2667
|
JQStatus,
|
|
2186
2668
|
JobStatus,
|
|
2669
|
+
ServiceEnvironmentStatus,
|
|
2670
|
+
ServiceResourceIdName,
|
|
2671
|
+
ServiceJobRetryAction,
|
|
2672
|
+
ServiceJobType,
|
|
2673
|
+
ServiceJobStatus,
|
|
2187
2674
|
JobDefinitionType,
|
|
2188
2675
|
CRUpdateAllocationStrategy
|
|
2189
2676
|
});
|