@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.
Files changed (53) hide show
  1. package/README.md +64 -0
  2. package/dist-cjs/index.js +490 -3
  3. package/dist-es/Batch.js +16 -0
  4. package/dist-es/commands/CreateServiceEnvironmentCommand.js +22 -0
  5. package/dist-es/commands/DeleteServiceEnvironmentCommand.js +22 -0
  6. package/dist-es/commands/DescribeServiceEnvironmentsCommand.js +22 -0
  7. package/dist-es/commands/DescribeServiceJobCommand.js +22 -0
  8. package/dist-es/commands/ListServiceJobsCommand.js +22 -0
  9. package/dist-es/commands/SubmitServiceJobCommand.js +22 -0
  10. package/dist-es/commands/TerminateServiceJobCommand.js +22 -0
  11. package/dist-es/commands/UpdateServiceEnvironmentCommand.js +22 -0
  12. package/dist-es/commands/index.js +8 -0
  13. package/dist-es/models/models_0.js +42 -0
  14. package/dist-es/pagination/DescribeServiceEnvironmentsPaginator.js +4 -0
  15. package/dist-es/pagination/ListServiceJobsPaginator.js +4 -0
  16. package/dist-es/pagination/index.js +2 -0
  17. package/dist-es/protocols/Aws_restJson1.js +257 -0
  18. package/dist-types/Batch.d.ts +58 -0
  19. package/dist-types/BatchClient.d.ts +10 -2
  20. package/dist-types/commands/CreateJobQueueCommand.d.ts +9 -2
  21. package/dist-types/commands/CreateServiceEnvironmentCommand.d.ts +92 -0
  22. package/dist-types/commands/DeleteServiceEnvironmentCommand.d.ts +78 -0
  23. package/dist-types/commands/DescribeJobQueuesCommand.d.ts +8 -1
  24. package/dist-types/commands/DescribeServiceEnvironmentsCommand.d.ts +102 -0
  25. package/dist-types/commands/DescribeServiceJobCommand.d.ts +125 -0
  26. package/dist-types/commands/ListServiceJobsCommand.d.ts +111 -0
  27. package/dist-types/commands/SubmitServiceJobCommand.d.ts +103 -0
  28. package/dist-types/commands/TerminateServiceJobCommand.d.ts +79 -0
  29. package/dist-types/commands/UpdateJobQueueCommand.d.ts +7 -1
  30. package/dist-types/commands/UpdateServiceEnvironmentCommand.d.ts +88 -0
  31. package/dist-types/commands/index.d.ts +8 -0
  32. package/dist-types/models/models_0.d.ts +843 -75
  33. package/dist-types/pagination/DescribeServiceEnvironmentsPaginator.d.ts +7 -0
  34. package/dist-types/pagination/ListServiceJobsPaginator.d.ts +7 -0
  35. package/dist-types/pagination/index.d.ts +2 -0
  36. package/dist-types/protocols/Aws_restJson1.d.ts +72 -0
  37. package/dist-types/ts3.4/Batch.d.ts +138 -0
  38. package/dist-types/ts3.4/BatchClient.d.ts +50 -2
  39. package/dist-types/ts3.4/commands/CreateServiceEnvironmentCommand.d.ts +51 -0
  40. package/dist-types/ts3.4/commands/DeleteServiceEnvironmentCommand.d.ts +51 -0
  41. package/dist-types/ts3.4/commands/DescribeServiceEnvironmentsCommand.d.ts +51 -0
  42. package/dist-types/ts3.4/commands/DescribeServiceJobCommand.d.ts +51 -0
  43. package/dist-types/ts3.4/commands/ListServiceJobsCommand.d.ts +50 -0
  44. package/dist-types/ts3.4/commands/SubmitServiceJobCommand.d.ts +50 -0
  45. package/dist-types/ts3.4/commands/TerminateServiceJobCommand.d.ts +51 -0
  46. package/dist-types/ts3.4/commands/UpdateServiceEnvironmentCommand.d.ts +51 -0
  47. package/dist-types/ts3.4/commands/index.d.ts +8 -0
  48. package/dist-types/ts3.4/models/models_0.d.ts +207 -1
  49. package/dist-types/ts3.4/pagination/DescribeServiceEnvironmentsPaginator.d.ts +11 -0
  50. package/dist-types/ts3.4/pagination/ListServiceJobsPaginator.d.ts +11 -0
  51. package/dist-types/ts3.4/pagination/index.d.ts +2 -0
  52. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +96 -0
  53. package/package.json +11 -11
@@ -65,9 +65,11 @@ export const se_CreateJobQueueCommand = async (input, context) => {
65
65
  body = JSON.stringify(take(input, {
66
66
  computeEnvironmentOrder: (_) => _json(_),
67
67
  jobQueueName: [],
68
+ jobQueueType: [],
68
69
  jobStateTimeLimitActions: (_) => _json(_),
69
70
  priority: [],
70
71
  schedulingPolicyArn: [],
72
+ serviceEnvironmentOrder: (_) => _json(_),
71
73
  state: [],
72
74
  tags: (_) => _json(_),
73
75
  }));
@@ -89,6 +91,23 @@ export const se_CreateSchedulingPolicyCommand = async (input, context) => {
89
91
  b.m("POST").h(headers).b(body);
90
92
  return b.build();
91
93
  };
94
+ export const se_CreateServiceEnvironmentCommand = async (input, context) => {
95
+ const b = rb(input, context);
96
+ const headers = {
97
+ "content-type": "application/json",
98
+ };
99
+ b.bp("/v1/createserviceenvironment");
100
+ let body;
101
+ body = JSON.stringify(take(input, {
102
+ capacityLimits: (_) => _json(_),
103
+ serviceEnvironmentName: [],
104
+ serviceEnvironmentType: [],
105
+ state: [],
106
+ tags: (_) => _json(_),
107
+ }));
108
+ b.m("POST").h(headers).b(body);
109
+ return b.build();
110
+ };
92
111
  export const se_DeleteComputeEnvironmentCommand = async (input, context) => {
93
112
  const b = rb(input, context);
94
113
  const headers = {
@@ -141,6 +160,19 @@ export const se_DeleteSchedulingPolicyCommand = async (input, context) => {
141
160
  b.m("POST").h(headers).b(body);
142
161
  return b.build();
143
162
  };
163
+ export const se_DeleteServiceEnvironmentCommand = async (input, context) => {
164
+ const b = rb(input, context);
165
+ const headers = {
166
+ "content-type": "application/json",
167
+ };
168
+ b.bp("/v1/deleteserviceenvironment");
169
+ let body;
170
+ body = JSON.stringify(take(input, {
171
+ serviceEnvironment: [],
172
+ }));
173
+ b.m("POST").h(headers).b(body);
174
+ return b.build();
175
+ };
144
176
  export const se_DeregisterJobDefinitionCommand = async (input, context) => {
145
177
  const b = rb(input, context);
146
178
  const headers = {
@@ -240,6 +272,34 @@ export const se_DescribeSchedulingPoliciesCommand = async (input, context) => {
240
272
  b.m("POST").h(headers).b(body);
241
273
  return b.build();
242
274
  };
275
+ export const se_DescribeServiceEnvironmentsCommand = async (input, context) => {
276
+ const b = rb(input, context);
277
+ const headers = {
278
+ "content-type": "application/json",
279
+ };
280
+ b.bp("/v1/describeserviceenvironments");
281
+ let body;
282
+ body = JSON.stringify(take(input, {
283
+ maxResults: [],
284
+ nextToken: [],
285
+ serviceEnvironments: (_) => _json(_),
286
+ }));
287
+ b.m("POST").h(headers).b(body);
288
+ return b.build();
289
+ };
290
+ export const se_DescribeServiceJobCommand = async (input, context) => {
291
+ const b = rb(input, context);
292
+ const headers = {
293
+ "content-type": "application/json",
294
+ };
295
+ b.bp("/v1/describeservicejob");
296
+ let body;
297
+ body = JSON.stringify(take(input, {
298
+ jobId: [],
299
+ }));
300
+ b.m("POST").h(headers).b(body);
301
+ return b.build();
302
+ };
243
303
  export const se_GetJobQueueSnapshotCommand = async (input, context) => {
244
304
  const b = rb(input, context);
245
305
  const headers = {
@@ -317,6 +377,23 @@ export const se_ListSchedulingPoliciesCommand = async (input, context) => {
317
377
  b.m("POST").h(headers).b(body);
318
378
  return b.build();
319
379
  };
380
+ export const se_ListServiceJobsCommand = async (input, context) => {
381
+ const b = rb(input, context);
382
+ const headers = {
383
+ "content-type": "application/json",
384
+ };
385
+ b.bp("/v1/listservicejobs");
386
+ let body;
387
+ body = JSON.stringify(take(input, {
388
+ filters: (_) => _json(_),
389
+ jobQueue: [],
390
+ jobStatus: [],
391
+ maxResults: [],
392
+ nextToken: [],
393
+ }));
394
+ b.m("POST").h(headers).b(body);
395
+ return b.build();
396
+ };
320
397
  export const se_ListTagsForResourceCommand = async (input, context) => {
321
398
  const b = rb(input, context);
322
399
  const headers = {};
@@ -381,6 +458,28 @@ export const se_SubmitJobCommand = async (input, context) => {
381
458
  b.m("POST").h(headers).b(body);
382
459
  return b.build();
383
460
  };
461
+ export const se_SubmitServiceJobCommand = async (input, context) => {
462
+ const b = rb(input, context);
463
+ const headers = {
464
+ "content-type": "application/json",
465
+ };
466
+ b.bp("/v1/submitservicejob");
467
+ let body;
468
+ body = JSON.stringify(take(input, {
469
+ clientToken: [true, (_) => _ ?? generateIdempotencyToken()],
470
+ jobName: [],
471
+ jobQueue: [],
472
+ retryStrategy: (_) => _json(_),
473
+ schedulingPriority: [],
474
+ serviceJobType: [],
475
+ serviceRequestPayload: [],
476
+ shareIdentifier: [],
477
+ tags: (_) => _json(_),
478
+ timeoutConfig: (_) => _json(_),
479
+ }));
480
+ b.m("POST").h(headers).b(body);
481
+ return b.build();
482
+ };
384
483
  export const se_TagResourceCommand = async (input, context) => {
385
484
  const b = rb(input, context);
386
485
  const headers = {
@@ -409,6 +508,20 @@ export const se_TerminateJobCommand = async (input, context) => {
409
508
  b.m("POST").h(headers).b(body);
410
509
  return b.build();
411
510
  };
511
+ export const se_TerminateServiceJobCommand = async (input, context) => {
512
+ const b = rb(input, context);
513
+ const headers = {
514
+ "content-type": "application/json",
515
+ };
516
+ b.bp("/v1/terminateservicejob");
517
+ let body;
518
+ body = JSON.stringify(take(input, {
519
+ jobId: [],
520
+ reason: [],
521
+ }));
522
+ b.m("POST").h(headers).b(body);
523
+ return b.build();
524
+ };
412
525
  export const se_UntagResourceCommand = async (input, context) => {
413
526
  const b = rb(input, context);
414
527
  const headers = {};
@@ -469,6 +582,7 @@ export const se_UpdateJobQueueCommand = async (input, context) => {
469
582
  jobStateTimeLimitActions: (_) => _json(_),
470
583
  priority: [],
471
584
  schedulingPolicyArn: [],
585
+ serviceEnvironmentOrder: (_) => _json(_),
472
586
  state: [],
473
587
  }));
474
588
  b.m("POST").h(headers).b(body);
@@ -488,6 +602,21 @@ export const se_UpdateSchedulingPolicyCommand = async (input, context) => {
488
602
  b.m("POST").h(headers).b(body);
489
603
  return b.build();
490
604
  };
605
+ export const se_UpdateServiceEnvironmentCommand = async (input, context) => {
606
+ const b = rb(input, context);
607
+ const headers = {
608
+ "content-type": "application/json",
609
+ };
610
+ b.bp("/v1/updateserviceenvironment");
611
+ let body;
612
+ body = JSON.stringify(take(input, {
613
+ capacityLimits: (_) => _json(_),
614
+ serviceEnvironment: [],
615
+ state: [],
616
+ }));
617
+ b.m("POST").h(headers).b(body);
618
+ return b.build();
619
+ };
491
620
  export const de_CancelJobCommand = async (output, context) => {
492
621
  if (output.statusCode !== 200 && output.statusCode >= 300) {
493
622
  return de_CommandError(output, context);
@@ -558,6 +687,21 @@ export const de_CreateSchedulingPolicyCommand = async (output, context) => {
558
687
  Object.assign(contents, doc);
559
688
  return contents;
560
689
  };
690
+ export const de_CreateServiceEnvironmentCommand = async (output, context) => {
691
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
692
+ return de_CommandError(output, context);
693
+ }
694
+ const contents = map({
695
+ $metadata: deserializeMetadata(output),
696
+ });
697
+ const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
698
+ const doc = take(data, {
699
+ serviceEnvironmentArn: __expectString,
700
+ serviceEnvironmentName: __expectString,
701
+ });
702
+ Object.assign(contents, doc);
703
+ return contents;
704
+ };
561
705
  export const de_DeleteComputeEnvironmentCommand = async (output, context) => {
562
706
  if (output.statusCode !== 200 && output.statusCode >= 300) {
563
707
  return de_CommandError(output, context);
@@ -598,6 +742,16 @@ export const de_DeleteSchedulingPolicyCommand = async (output, context) => {
598
742
  await collectBody(output.body, context);
599
743
  return contents;
600
744
  };
745
+ export const de_DeleteServiceEnvironmentCommand = async (output, context) => {
746
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
747
+ return de_CommandError(output, context);
748
+ }
749
+ const contents = map({
750
+ $metadata: deserializeMetadata(output),
751
+ });
752
+ await collectBody(output.body, context);
753
+ return contents;
754
+ };
601
755
  export const de_DeregisterJobDefinitionCommand = async (output, context) => {
602
756
  if (output.statusCode !== 200 && output.statusCode >= 300) {
603
757
  return de_CommandError(output, context);
@@ -702,6 +856,53 @@ export const de_DescribeSchedulingPoliciesCommand = async (output, context) => {
702
856
  Object.assign(contents, doc);
703
857
  return contents;
704
858
  };
859
+ export const de_DescribeServiceEnvironmentsCommand = async (output, context) => {
860
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
861
+ return de_CommandError(output, context);
862
+ }
863
+ const contents = map({
864
+ $metadata: deserializeMetadata(output),
865
+ });
866
+ const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
867
+ const doc = take(data, {
868
+ nextToken: __expectString,
869
+ serviceEnvironments: _json,
870
+ });
871
+ Object.assign(contents, doc);
872
+ return contents;
873
+ };
874
+ export const de_DescribeServiceJobCommand = async (output, context) => {
875
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
876
+ return de_CommandError(output, context);
877
+ }
878
+ const contents = map({
879
+ $metadata: deserializeMetadata(output),
880
+ });
881
+ const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
882
+ const doc = take(data, {
883
+ attempts: _json,
884
+ createdAt: __expectLong,
885
+ isTerminated: __expectBoolean,
886
+ jobArn: __expectString,
887
+ jobId: __expectString,
888
+ jobName: __expectString,
889
+ jobQueue: __expectString,
890
+ latestAttempt: _json,
891
+ retryStrategy: _json,
892
+ schedulingPriority: __expectInt32,
893
+ serviceJobType: __expectString,
894
+ serviceRequestPayload: __expectString,
895
+ shareIdentifier: __expectString,
896
+ startedAt: __expectLong,
897
+ status: __expectString,
898
+ statusReason: __expectString,
899
+ stoppedAt: __expectLong,
900
+ tags: _json,
901
+ timeoutConfig: _json,
902
+ });
903
+ Object.assign(contents, doc);
904
+ return contents;
905
+ };
705
906
  export const de_GetJobQueueSnapshotCommand = async (output, context) => {
706
907
  if (output.statusCode !== 200 && output.statusCode >= 300) {
707
908
  return de_CommandError(output, context);
@@ -776,6 +977,21 @@ export const de_ListSchedulingPoliciesCommand = async (output, context) => {
776
977
  Object.assign(contents, doc);
777
978
  return contents;
778
979
  };
980
+ export const de_ListServiceJobsCommand = async (output, context) => {
981
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
982
+ return de_CommandError(output, context);
983
+ }
984
+ const contents = map({
985
+ $metadata: deserializeMetadata(output),
986
+ });
987
+ const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
988
+ const doc = take(data, {
989
+ jobSummaryList: _json,
990
+ nextToken: __expectString,
991
+ });
992
+ Object.assign(contents, doc);
993
+ return contents;
994
+ };
779
995
  export const de_ListTagsForResourceCommand = async (output, context) => {
780
996
  if (output.statusCode !== 200 && output.statusCode >= 300) {
781
997
  return de_CommandError(output, context);
@@ -822,6 +1038,22 @@ export const de_SubmitJobCommand = async (output, context) => {
822
1038
  Object.assign(contents, doc);
823
1039
  return contents;
824
1040
  };
1041
+ export const de_SubmitServiceJobCommand = async (output, context) => {
1042
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
1043
+ return de_CommandError(output, context);
1044
+ }
1045
+ const contents = map({
1046
+ $metadata: deserializeMetadata(output),
1047
+ });
1048
+ const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
1049
+ const doc = take(data, {
1050
+ jobArn: __expectString,
1051
+ jobId: __expectString,
1052
+ jobName: __expectString,
1053
+ });
1054
+ Object.assign(contents, doc);
1055
+ return contents;
1056
+ };
825
1057
  export const de_TagResourceCommand = async (output, context) => {
826
1058
  if (output.statusCode !== 200 && output.statusCode >= 300) {
827
1059
  return de_CommandError(output, context);
@@ -842,6 +1074,16 @@ export const de_TerminateJobCommand = async (output, context) => {
842
1074
  await collectBody(output.body, context);
843
1075
  return contents;
844
1076
  };
1077
+ export const de_TerminateServiceJobCommand = async (output, context) => {
1078
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
1079
+ return de_CommandError(output, context);
1080
+ }
1081
+ const contents = map({
1082
+ $metadata: deserializeMetadata(output),
1083
+ });
1084
+ await collectBody(output.body, context);
1085
+ return contents;
1086
+ };
845
1087
  export const de_UntagResourceCommand = async (output, context) => {
846
1088
  if (output.statusCode !== 200 && output.statusCode >= 300) {
847
1089
  return de_CommandError(output, context);
@@ -908,6 +1150,21 @@ export const de_UpdateSchedulingPolicyCommand = async (output, context) => {
908
1150
  await collectBody(output.body, context);
909
1151
  return contents;
910
1152
  };
1153
+ export const de_UpdateServiceEnvironmentCommand = async (output, context) => {
1154
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
1155
+ return de_CommandError(output, context);
1156
+ }
1157
+ const contents = map({
1158
+ $metadata: deserializeMetadata(output),
1159
+ });
1160
+ const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
1161
+ const doc = take(data, {
1162
+ serviceEnvironmentArn: __expectString,
1163
+ serviceEnvironmentName: __expectString,
1164
+ });
1165
+ Object.assign(contents, doc);
1166
+ return contents;
1167
+ };
911
1168
  const de_CommandError = async (output, context) => {
912
1169
  const parsedOutput = {
913
1170
  ...output,
@@ -5,10 +5,12 @@ import { CreateComputeEnvironmentCommandInput, CreateComputeEnvironmentCommandOu
5
5
  import { CreateConsumableResourceCommandInput, CreateConsumableResourceCommandOutput } from "./commands/CreateConsumableResourceCommand";
6
6
  import { CreateJobQueueCommandInput, CreateJobQueueCommandOutput } from "./commands/CreateJobQueueCommand";
7
7
  import { CreateSchedulingPolicyCommandInput, CreateSchedulingPolicyCommandOutput } from "./commands/CreateSchedulingPolicyCommand";
8
+ import { CreateServiceEnvironmentCommandInput, CreateServiceEnvironmentCommandOutput } from "./commands/CreateServiceEnvironmentCommand";
8
9
  import { DeleteComputeEnvironmentCommandInput, DeleteComputeEnvironmentCommandOutput } from "./commands/DeleteComputeEnvironmentCommand";
9
10
  import { DeleteConsumableResourceCommandInput, DeleteConsumableResourceCommandOutput } from "./commands/DeleteConsumableResourceCommand";
10
11
  import { DeleteJobQueueCommandInput, DeleteJobQueueCommandOutput } from "./commands/DeleteJobQueueCommand";
11
12
  import { DeleteSchedulingPolicyCommandInput, DeleteSchedulingPolicyCommandOutput } from "./commands/DeleteSchedulingPolicyCommand";
13
+ import { DeleteServiceEnvironmentCommandInput, DeleteServiceEnvironmentCommandOutput } from "./commands/DeleteServiceEnvironmentCommand";
12
14
  import { DeregisterJobDefinitionCommandInput, DeregisterJobDefinitionCommandOutput } from "./commands/DeregisterJobDefinitionCommand";
13
15
  import { DescribeComputeEnvironmentsCommandInput, DescribeComputeEnvironmentsCommandOutput } from "./commands/DescribeComputeEnvironmentsCommand";
14
16
  import { DescribeConsumableResourceCommandInput, DescribeConsumableResourceCommandOutput } from "./commands/DescribeConsumableResourceCommand";
@@ -16,21 +18,27 @@ import { DescribeJobDefinitionsCommandInput, DescribeJobDefinitionsCommandOutput
16
18
  import { DescribeJobQueuesCommandInput, DescribeJobQueuesCommandOutput } from "./commands/DescribeJobQueuesCommand";
17
19
  import { DescribeJobsCommandInput, DescribeJobsCommandOutput } from "./commands/DescribeJobsCommand";
18
20
  import { DescribeSchedulingPoliciesCommandInput, DescribeSchedulingPoliciesCommandOutput } from "./commands/DescribeSchedulingPoliciesCommand";
21
+ import { DescribeServiceEnvironmentsCommandInput, DescribeServiceEnvironmentsCommandOutput } from "./commands/DescribeServiceEnvironmentsCommand";
22
+ import { DescribeServiceJobCommandInput, DescribeServiceJobCommandOutput } from "./commands/DescribeServiceJobCommand";
19
23
  import { GetJobQueueSnapshotCommandInput, GetJobQueueSnapshotCommandOutput } from "./commands/GetJobQueueSnapshotCommand";
20
24
  import { ListConsumableResourcesCommandInput, ListConsumableResourcesCommandOutput } from "./commands/ListConsumableResourcesCommand";
21
25
  import { ListJobsByConsumableResourceCommandInput, ListJobsByConsumableResourceCommandOutput } from "./commands/ListJobsByConsumableResourceCommand";
22
26
  import { ListJobsCommandInput, ListJobsCommandOutput } from "./commands/ListJobsCommand";
23
27
  import { ListSchedulingPoliciesCommandInput, ListSchedulingPoliciesCommandOutput } from "./commands/ListSchedulingPoliciesCommand";
28
+ import { ListServiceJobsCommandInput, ListServiceJobsCommandOutput } from "./commands/ListServiceJobsCommand";
24
29
  import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
25
30
  import { RegisterJobDefinitionCommandInput, RegisterJobDefinitionCommandOutput } from "./commands/RegisterJobDefinitionCommand";
26
31
  import { SubmitJobCommandInput, SubmitJobCommandOutput } from "./commands/SubmitJobCommand";
32
+ import { SubmitServiceJobCommandInput, SubmitServiceJobCommandOutput } from "./commands/SubmitServiceJobCommand";
27
33
  import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
28
34
  import { TerminateJobCommandInput, TerminateJobCommandOutput } from "./commands/TerminateJobCommand";
35
+ import { TerminateServiceJobCommandInput, TerminateServiceJobCommandOutput } from "./commands/TerminateServiceJobCommand";
29
36
  import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
30
37
  import { UpdateComputeEnvironmentCommandInput, UpdateComputeEnvironmentCommandOutput } from "./commands/UpdateComputeEnvironmentCommand";
31
38
  import { UpdateConsumableResourceCommandInput, UpdateConsumableResourceCommandOutput } from "./commands/UpdateConsumableResourceCommand";
32
39
  import { UpdateJobQueueCommandInput, UpdateJobQueueCommandOutput } from "./commands/UpdateJobQueueCommand";
33
40
  import { UpdateSchedulingPolicyCommandInput, UpdateSchedulingPolicyCommandOutput } from "./commands/UpdateSchedulingPolicyCommand";
41
+ import { UpdateServiceEnvironmentCommandInput, UpdateServiceEnvironmentCommandOutput } from "./commands/UpdateServiceEnvironmentCommand";
34
42
  export interface Batch {
35
43
  /**
36
44
  * @see {@link CancelJobCommand}
@@ -62,6 +70,12 @@ export interface Batch {
62
70
  createSchedulingPolicy(args: CreateSchedulingPolicyCommandInput, options?: __HttpHandlerOptions): Promise<CreateSchedulingPolicyCommandOutput>;
63
71
  createSchedulingPolicy(args: CreateSchedulingPolicyCommandInput, cb: (err: any, data?: CreateSchedulingPolicyCommandOutput) => void): void;
64
72
  createSchedulingPolicy(args: CreateSchedulingPolicyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateSchedulingPolicyCommandOutput) => void): void;
73
+ /**
74
+ * @see {@link CreateServiceEnvironmentCommand}
75
+ */
76
+ createServiceEnvironment(args: CreateServiceEnvironmentCommandInput, options?: __HttpHandlerOptions): Promise<CreateServiceEnvironmentCommandOutput>;
77
+ createServiceEnvironment(args: CreateServiceEnvironmentCommandInput, cb: (err: any, data?: CreateServiceEnvironmentCommandOutput) => void): void;
78
+ createServiceEnvironment(args: CreateServiceEnvironmentCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateServiceEnvironmentCommandOutput) => void): void;
65
79
  /**
66
80
  * @see {@link DeleteComputeEnvironmentCommand}
67
81
  */
@@ -86,6 +100,12 @@ export interface Batch {
86
100
  deleteSchedulingPolicy(args: DeleteSchedulingPolicyCommandInput, options?: __HttpHandlerOptions): Promise<DeleteSchedulingPolicyCommandOutput>;
87
101
  deleteSchedulingPolicy(args: DeleteSchedulingPolicyCommandInput, cb: (err: any, data?: DeleteSchedulingPolicyCommandOutput) => void): void;
88
102
  deleteSchedulingPolicy(args: DeleteSchedulingPolicyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteSchedulingPolicyCommandOutput) => void): void;
103
+ /**
104
+ * @see {@link DeleteServiceEnvironmentCommand}
105
+ */
106
+ deleteServiceEnvironment(args: DeleteServiceEnvironmentCommandInput, options?: __HttpHandlerOptions): Promise<DeleteServiceEnvironmentCommandOutput>;
107
+ deleteServiceEnvironment(args: DeleteServiceEnvironmentCommandInput, cb: (err: any, data?: DeleteServiceEnvironmentCommandOutput) => void): void;
108
+ deleteServiceEnvironment(args: DeleteServiceEnvironmentCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteServiceEnvironmentCommandOutput) => void): void;
89
109
  /**
90
110
  * @see {@link DeregisterJobDefinitionCommand}
91
111
  */
@@ -131,6 +151,19 @@ export interface Batch {
131
151
  describeSchedulingPolicies(args: DescribeSchedulingPoliciesCommandInput, options?: __HttpHandlerOptions): Promise<DescribeSchedulingPoliciesCommandOutput>;
132
152
  describeSchedulingPolicies(args: DescribeSchedulingPoliciesCommandInput, cb: (err: any, data?: DescribeSchedulingPoliciesCommandOutput) => void): void;
133
153
  describeSchedulingPolicies(args: DescribeSchedulingPoliciesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeSchedulingPoliciesCommandOutput) => void): void;
154
+ /**
155
+ * @see {@link DescribeServiceEnvironmentsCommand}
156
+ */
157
+ describeServiceEnvironments(): Promise<DescribeServiceEnvironmentsCommandOutput>;
158
+ describeServiceEnvironments(args: DescribeServiceEnvironmentsCommandInput, options?: __HttpHandlerOptions): Promise<DescribeServiceEnvironmentsCommandOutput>;
159
+ describeServiceEnvironments(args: DescribeServiceEnvironmentsCommandInput, cb: (err: any, data?: DescribeServiceEnvironmentsCommandOutput) => void): void;
160
+ describeServiceEnvironments(args: DescribeServiceEnvironmentsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeServiceEnvironmentsCommandOutput) => void): void;
161
+ /**
162
+ * @see {@link DescribeServiceJobCommand}
163
+ */
164
+ describeServiceJob(args: DescribeServiceJobCommandInput, options?: __HttpHandlerOptions): Promise<DescribeServiceJobCommandOutput>;
165
+ describeServiceJob(args: DescribeServiceJobCommandInput, cb: (err: any, data?: DescribeServiceJobCommandOutput) => void): void;
166
+ describeServiceJob(args: DescribeServiceJobCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeServiceJobCommandOutput) => void): void;
134
167
  /**
135
168
  * @see {@link GetJobQueueSnapshotCommand}
136
169
  */
@@ -164,6 +197,13 @@ export interface Batch {
164
197
  listSchedulingPolicies(args: ListSchedulingPoliciesCommandInput, options?: __HttpHandlerOptions): Promise<ListSchedulingPoliciesCommandOutput>;
165
198
  listSchedulingPolicies(args: ListSchedulingPoliciesCommandInput, cb: (err: any, data?: ListSchedulingPoliciesCommandOutput) => void): void;
166
199
  listSchedulingPolicies(args: ListSchedulingPoliciesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListSchedulingPoliciesCommandOutput) => void): void;
200
+ /**
201
+ * @see {@link ListServiceJobsCommand}
202
+ */
203
+ listServiceJobs(): Promise<ListServiceJobsCommandOutput>;
204
+ listServiceJobs(args: ListServiceJobsCommandInput, options?: __HttpHandlerOptions): Promise<ListServiceJobsCommandOutput>;
205
+ listServiceJobs(args: ListServiceJobsCommandInput, cb: (err: any, data?: ListServiceJobsCommandOutput) => void): void;
206
+ listServiceJobs(args: ListServiceJobsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListServiceJobsCommandOutput) => void): void;
167
207
  /**
168
208
  * @see {@link ListTagsForResourceCommand}
169
209
  */
@@ -182,6 +222,12 @@ export interface Batch {
182
222
  submitJob(args: SubmitJobCommandInput, options?: __HttpHandlerOptions): Promise<SubmitJobCommandOutput>;
183
223
  submitJob(args: SubmitJobCommandInput, cb: (err: any, data?: SubmitJobCommandOutput) => void): void;
184
224
  submitJob(args: SubmitJobCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: SubmitJobCommandOutput) => void): void;
225
+ /**
226
+ * @see {@link SubmitServiceJobCommand}
227
+ */
228
+ submitServiceJob(args: SubmitServiceJobCommandInput, options?: __HttpHandlerOptions): Promise<SubmitServiceJobCommandOutput>;
229
+ submitServiceJob(args: SubmitServiceJobCommandInput, cb: (err: any, data?: SubmitServiceJobCommandOutput) => void): void;
230
+ submitServiceJob(args: SubmitServiceJobCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: SubmitServiceJobCommandOutput) => void): void;
185
231
  /**
186
232
  * @see {@link TagResourceCommand}
187
233
  */
@@ -194,6 +240,12 @@ export interface Batch {
194
240
  terminateJob(args: TerminateJobCommandInput, options?: __HttpHandlerOptions): Promise<TerminateJobCommandOutput>;
195
241
  terminateJob(args: TerminateJobCommandInput, cb: (err: any, data?: TerminateJobCommandOutput) => void): void;
196
242
  terminateJob(args: TerminateJobCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: TerminateJobCommandOutput) => void): void;
243
+ /**
244
+ * @see {@link TerminateServiceJobCommand}
245
+ */
246
+ terminateServiceJob(args: TerminateServiceJobCommandInput, options?: __HttpHandlerOptions): Promise<TerminateServiceJobCommandOutput>;
247
+ terminateServiceJob(args: TerminateServiceJobCommandInput, cb: (err: any, data?: TerminateServiceJobCommandOutput) => void): void;
248
+ terminateServiceJob(args: TerminateServiceJobCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: TerminateServiceJobCommandOutput) => void): void;
197
249
  /**
198
250
  * @see {@link UntagResourceCommand}
199
251
  */
@@ -224,6 +276,12 @@ export interface Batch {
224
276
  updateSchedulingPolicy(args: UpdateSchedulingPolicyCommandInput, options?: __HttpHandlerOptions): Promise<UpdateSchedulingPolicyCommandOutput>;
225
277
  updateSchedulingPolicy(args: UpdateSchedulingPolicyCommandInput, cb: (err: any, data?: UpdateSchedulingPolicyCommandOutput) => void): void;
226
278
  updateSchedulingPolicy(args: UpdateSchedulingPolicyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateSchedulingPolicyCommandOutput) => void): void;
279
+ /**
280
+ * @see {@link UpdateServiceEnvironmentCommand}
281
+ */
282
+ updateServiceEnvironment(args: UpdateServiceEnvironmentCommandInput, options?: __HttpHandlerOptions): Promise<UpdateServiceEnvironmentCommandOutput>;
283
+ updateServiceEnvironment(args: UpdateServiceEnvironmentCommandInput, cb: (err: any, data?: UpdateServiceEnvironmentCommandOutput) => void): void;
284
+ updateServiceEnvironment(args: UpdateServiceEnvironmentCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateServiceEnvironmentCommandOutput) => void): void;
227
285
  }
228
286
  /**
229
287
  * <fullname>Batch</fullname>
@@ -12,10 +12,12 @@ import { CreateComputeEnvironmentCommandInput, CreateComputeEnvironmentCommandOu
12
12
  import { CreateConsumableResourceCommandInput, CreateConsumableResourceCommandOutput } from "./commands/CreateConsumableResourceCommand";
13
13
  import { CreateJobQueueCommandInput, CreateJobQueueCommandOutput } from "./commands/CreateJobQueueCommand";
14
14
  import { CreateSchedulingPolicyCommandInput, CreateSchedulingPolicyCommandOutput } from "./commands/CreateSchedulingPolicyCommand";
15
+ import { CreateServiceEnvironmentCommandInput, CreateServiceEnvironmentCommandOutput } from "./commands/CreateServiceEnvironmentCommand";
15
16
  import { DeleteComputeEnvironmentCommandInput, DeleteComputeEnvironmentCommandOutput } from "./commands/DeleteComputeEnvironmentCommand";
16
17
  import { DeleteConsumableResourceCommandInput, DeleteConsumableResourceCommandOutput } from "./commands/DeleteConsumableResourceCommand";
17
18
  import { DeleteJobQueueCommandInput, DeleteJobQueueCommandOutput } from "./commands/DeleteJobQueueCommand";
18
19
  import { DeleteSchedulingPolicyCommandInput, DeleteSchedulingPolicyCommandOutput } from "./commands/DeleteSchedulingPolicyCommand";
20
+ import { DeleteServiceEnvironmentCommandInput, DeleteServiceEnvironmentCommandOutput } from "./commands/DeleteServiceEnvironmentCommand";
19
21
  import { DeregisterJobDefinitionCommandInput, DeregisterJobDefinitionCommandOutput } from "./commands/DeregisterJobDefinitionCommand";
20
22
  import { DescribeComputeEnvironmentsCommandInput, DescribeComputeEnvironmentsCommandOutput } from "./commands/DescribeComputeEnvironmentsCommand";
21
23
  import { DescribeConsumableResourceCommandInput, DescribeConsumableResourceCommandOutput } from "./commands/DescribeConsumableResourceCommand";
@@ -23,32 +25,38 @@ import { DescribeJobDefinitionsCommandInput, DescribeJobDefinitionsCommandOutput
23
25
  import { DescribeJobQueuesCommandInput, DescribeJobQueuesCommandOutput } from "./commands/DescribeJobQueuesCommand";
24
26
  import { DescribeJobsCommandInput, DescribeJobsCommandOutput } from "./commands/DescribeJobsCommand";
25
27
  import { DescribeSchedulingPoliciesCommandInput, DescribeSchedulingPoliciesCommandOutput } from "./commands/DescribeSchedulingPoliciesCommand";
28
+ import { DescribeServiceEnvironmentsCommandInput, DescribeServiceEnvironmentsCommandOutput } from "./commands/DescribeServiceEnvironmentsCommand";
29
+ import { DescribeServiceJobCommandInput, DescribeServiceJobCommandOutput } from "./commands/DescribeServiceJobCommand";
26
30
  import { GetJobQueueSnapshotCommandInput, GetJobQueueSnapshotCommandOutput } from "./commands/GetJobQueueSnapshotCommand";
27
31
  import { ListConsumableResourcesCommandInput, ListConsumableResourcesCommandOutput } from "./commands/ListConsumableResourcesCommand";
28
32
  import { ListJobsByConsumableResourceCommandInput, ListJobsByConsumableResourceCommandOutput } from "./commands/ListJobsByConsumableResourceCommand";
29
33
  import { ListJobsCommandInput, ListJobsCommandOutput } from "./commands/ListJobsCommand";
30
34
  import { ListSchedulingPoliciesCommandInput, ListSchedulingPoliciesCommandOutput } from "./commands/ListSchedulingPoliciesCommand";
35
+ import { ListServiceJobsCommandInput, ListServiceJobsCommandOutput } from "./commands/ListServiceJobsCommand";
31
36
  import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
32
37
  import { RegisterJobDefinitionCommandInput, RegisterJobDefinitionCommandOutput } from "./commands/RegisterJobDefinitionCommand";
33
38
  import { SubmitJobCommandInput, SubmitJobCommandOutput } from "./commands/SubmitJobCommand";
39
+ import { SubmitServiceJobCommandInput, SubmitServiceJobCommandOutput } from "./commands/SubmitServiceJobCommand";
34
40
  import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
35
41
  import { TerminateJobCommandInput, TerminateJobCommandOutput } from "./commands/TerminateJobCommand";
42
+ import { TerminateServiceJobCommandInput, TerminateServiceJobCommandOutput } from "./commands/TerminateServiceJobCommand";
36
43
  import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
37
44
  import { UpdateComputeEnvironmentCommandInput, UpdateComputeEnvironmentCommandOutput } from "./commands/UpdateComputeEnvironmentCommand";
38
45
  import { UpdateConsumableResourceCommandInput, UpdateConsumableResourceCommandOutput } from "./commands/UpdateConsumableResourceCommand";
39
46
  import { UpdateJobQueueCommandInput, UpdateJobQueueCommandOutput } from "./commands/UpdateJobQueueCommand";
40
47
  import { UpdateSchedulingPolicyCommandInput, UpdateSchedulingPolicyCommandOutput } from "./commands/UpdateSchedulingPolicyCommand";
48
+ import { UpdateServiceEnvironmentCommandInput, UpdateServiceEnvironmentCommandOutput } from "./commands/UpdateServiceEnvironmentCommand";
41
49
  import { ClientInputEndpointParameters, ClientResolvedEndpointParameters, EndpointParameters } from "./endpoint/EndpointParameters";
42
50
  import { RuntimeExtension, RuntimeExtensionsConfig } from "./runtimeExtensions";
43
51
  export { __Client };
44
52
  /**
45
53
  * @public
46
54
  */
47
- export type ServiceInputTypes = CancelJobCommandInput | CreateComputeEnvironmentCommandInput | CreateConsumableResourceCommandInput | CreateJobQueueCommandInput | CreateSchedulingPolicyCommandInput | DeleteComputeEnvironmentCommandInput | DeleteConsumableResourceCommandInput | DeleteJobQueueCommandInput | DeleteSchedulingPolicyCommandInput | DeregisterJobDefinitionCommandInput | DescribeComputeEnvironmentsCommandInput | DescribeConsumableResourceCommandInput | DescribeJobDefinitionsCommandInput | DescribeJobQueuesCommandInput | DescribeJobsCommandInput | DescribeSchedulingPoliciesCommandInput | GetJobQueueSnapshotCommandInput | ListConsumableResourcesCommandInput | ListJobsByConsumableResourceCommandInput | ListJobsCommandInput | ListSchedulingPoliciesCommandInput | ListTagsForResourceCommandInput | RegisterJobDefinitionCommandInput | SubmitJobCommandInput | TagResourceCommandInput | TerminateJobCommandInput | UntagResourceCommandInput | UpdateComputeEnvironmentCommandInput | UpdateConsumableResourceCommandInput | UpdateJobQueueCommandInput | UpdateSchedulingPolicyCommandInput;
55
+ export type ServiceInputTypes = CancelJobCommandInput | CreateComputeEnvironmentCommandInput | CreateConsumableResourceCommandInput | CreateJobQueueCommandInput | CreateSchedulingPolicyCommandInput | CreateServiceEnvironmentCommandInput | DeleteComputeEnvironmentCommandInput | DeleteConsumableResourceCommandInput | DeleteJobQueueCommandInput | DeleteSchedulingPolicyCommandInput | DeleteServiceEnvironmentCommandInput | DeregisterJobDefinitionCommandInput | DescribeComputeEnvironmentsCommandInput | DescribeConsumableResourceCommandInput | DescribeJobDefinitionsCommandInput | DescribeJobQueuesCommandInput | DescribeJobsCommandInput | DescribeSchedulingPoliciesCommandInput | DescribeServiceEnvironmentsCommandInput | DescribeServiceJobCommandInput | GetJobQueueSnapshotCommandInput | ListConsumableResourcesCommandInput | ListJobsByConsumableResourceCommandInput | ListJobsCommandInput | ListSchedulingPoliciesCommandInput | ListServiceJobsCommandInput | ListTagsForResourceCommandInput | RegisterJobDefinitionCommandInput | SubmitJobCommandInput | SubmitServiceJobCommandInput | TagResourceCommandInput | TerminateJobCommandInput | TerminateServiceJobCommandInput | UntagResourceCommandInput | UpdateComputeEnvironmentCommandInput | UpdateConsumableResourceCommandInput | UpdateJobQueueCommandInput | UpdateSchedulingPolicyCommandInput | UpdateServiceEnvironmentCommandInput;
48
56
  /**
49
57
  * @public
50
58
  */
51
- export type ServiceOutputTypes = CancelJobCommandOutput | CreateComputeEnvironmentCommandOutput | CreateConsumableResourceCommandOutput | CreateJobQueueCommandOutput | CreateSchedulingPolicyCommandOutput | DeleteComputeEnvironmentCommandOutput | DeleteConsumableResourceCommandOutput | DeleteJobQueueCommandOutput | DeleteSchedulingPolicyCommandOutput | DeregisterJobDefinitionCommandOutput | DescribeComputeEnvironmentsCommandOutput | DescribeConsumableResourceCommandOutput | DescribeJobDefinitionsCommandOutput | DescribeJobQueuesCommandOutput | DescribeJobsCommandOutput | DescribeSchedulingPoliciesCommandOutput | GetJobQueueSnapshotCommandOutput | ListConsumableResourcesCommandOutput | ListJobsByConsumableResourceCommandOutput | ListJobsCommandOutput | ListSchedulingPoliciesCommandOutput | ListTagsForResourceCommandOutput | RegisterJobDefinitionCommandOutput | SubmitJobCommandOutput | TagResourceCommandOutput | TerminateJobCommandOutput | UntagResourceCommandOutput | UpdateComputeEnvironmentCommandOutput | UpdateConsumableResourceCommandOutput | UpdateJobQueueCommandOutput | UpdateSchedulingPolicyCommandOutput;
59
+ export type ServiceOutputTypes = CancelJobCommandOutput | CreateComputeEnvironmentCommandOutput | CreateConsumableResourceCommandOutput | CreateJobQueueCommandOutput | CreateSchedulingPolicyCommandOutput | CreateServiceEnvironmentCommandOutput | DeleteComputeEnvironmentCommandOutput | DeleteConsumableResourceCommandOutput | DeleteJobQueueCommandOutput | DeleteSchedulingPolicyCommandOutput | DeleteServiceEnvironmentCommandOutput | DeregisterJobDefinitionCommandOutput | DescribeComputeEnvironmentsCommandOutput | DescribeConsumableResourceCommandOutput | DescribeJobDefinitionsCommandOutput | DescribeJobQueuesCommandOutput | DescribeJobsCommandOutput | DescribeSchedulingPoliciesCommandOutput | DescribeServiceEnvironmentsCommandOutput | DescribeServiceJobCommandOutput | GetJobQueueSnapshotCommandOutput | ListConsumableResourcesCommandOutput | ListJobsByConsumableResourceCommandOutput | ListJobsCommandOutput | ListSchedulingPoliciesCommandOutput | ListServiceJobsCommandOutput | ListTagsForResourceCommandOutput | RegisterJobDefinitionCommandOutput | SubmitJobCommandOutput | SubmitServiceJobCommandOutput | TagResourceCommandOutput | TerminateJobCommandOutput | TerminateServiceJobCommandOutput | UntagResourceCommandOutput | UpdateComputeEnvironmentCommandOutput | UpdateConsumableResourceCommandOutput | UpdateJobQueueCommandOutput | UpdateSchedulingPolicyCommandOutput | UpdateServiceEnvironmentCommandOutput;
52
60
  /**
53
61
  * @public
54
62
  */
@@ -45,12 +45,19 @@ declare const CreateJobQueueCommand_base: {
45
45
  * state: "ENABLED" || "DISABLED",
46
46
  * schedulingPolicyArn: "STRING_VALUE",
47
47
  * priority: Number("int"), // required
48
- * computeEnvironmentOrder: [ // ComputeEnvironmentOrders // required
48
+ * computeEnvironmentOrder: [ // ComputeEnvironmentOrders
49
49
  * { // ComputeEnvironmentOrder
50
50
  * order: Number("int"), // required
51
51
  * computeEnvironment: "STRING_VALUE", // required
52
52
  * },
53
53
  * ],
54
+ * serviceEnvironmentOrder: [ // ServiceEnvironmentOrders
55
+ * { // ServiceEnvironmentOrder
56
+ * order: Number("int"), // required
57
+ * serviceEnvironment: "STRING_VALUE", // required
58
+ * },
59
+ * ],
60
+ * jobQueueType: "EKS" || "ECS" || "ECS_FARGATE" || "SAGEMAKER_TRAINING",
54
61
  * tags: { // TagrisTagsMap
55
62
  * "<keys>": "STRING_VALUE",
56
63
  * },
@@ -59,7 +66,7 @@ declare const CreateJobQueueCommand_base: {
59
66
  * reason: "STRING_VALUE", // required
60
67
  * state: "RUNNABLE", // required
61
68
  * maxTimeSeconds: Number("int"), // required
62
- * action: "CANCEL", // required
69
+ * action: "CANCEL" || "TERMINATE", // required
63
70
  * },
64
71
  * ],
65
72
  * };