@aws-sdk/client-batch 3.855.0 → 3.856.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 +5 -5
package/dist-es/Batch.js CHANGED
@@ -5,10 +5,12 @@ import { CreateComputeEnvironmentCommand, } from "./commands/CreateComputeEnviro
5
5
  import { CreateConsumableResourceCommand, } from "./commands/CreateConsumableResourceCommand";
6
6
  import { CreateJobQueueCommand, } from "./commands/CreateJobQueueCommand";
7
7
  import { CreateSchedulingPolicyCommand, } from "./commands/CreateSchedulingPolicyCommand";
8
+ import { CreateServiceEnvironmentCommand, } from "./commands/CreateServiceEnvironmentCommand";
8
9
  import { DeleteComputeEnvironmentCommand, } from "./commands/DeleteComputeEnvironmentCommand";
9
10
  import { DeleteConsumableResourceCommand, } from "./commands/DeleteConsumableResourceCommand";
10
11
  import { DeleteJobQueueCommand, } from "./commands/DeleteJobQueueCommand";
11
12
  import { DeleteSchedulingPolicyCommand, } from "./commands/DeleteSchedulingPolicyCommand";
13
+ import { DeleteServiceEnvironmentCommand, } from "./commands/DeleteServiceEnvironmentCommand";
12
14
  import { DeregisterJobDefinitionCommand, } from "./commands/DeregisterJobDefinitionCommand";
13
15
  import { DescribeComputeEnvironmentsCommand, } from "./commands/DescribeComputeEnvironmentsCommand";
14
16
  import { DescribeConsumableResourceCommand, } from "./commands/DescribeConsumableResourceCommand";
@@ -16,31 +18,39 @@ import { DescribeJobDefinitionsCommand, } from "./commands/DescribeJobDefinition
16
18
  import { DescribeJobQueuesCommand, } from "./commands/DescribeJobQueuesCommand";
17
19
  import { DescribeJobsCommand, } from "./commands/DescribeJobsCommand";
18
20
  import { DescribeSchedulingPoliciesCommand, } from "./commands/DescribeSchedulingPoliciesCommand";
21
+ import { DescribeServiceEnvironmentsCommand, } from "./commands/DescribeServiceEnvironmentsCommand";
22
+ import { DescribeServiceJobCommand, } from "./commands/DescribeServiceJobCommand";
19
23
  import { GetJobQueueSnapshotCommand, } from "./commands/GetJobQueueSnapshotCommand";
20
24
  import { ListConsumableResourcesCommand, } from "./commands/ListConsumableResourcesCommand";
21
25
  import { ListJobsByConsumableResourceCommand, } from "./commands/ListJobsByConsumableResourceCommand";
22
26
  import { ListJobsCommand } from "./commands/ListJobsCommand";
23
27
  import { ListSchedulingPoliciesCommand, } from "./commands/ListSchedulingPoliciesCommand";
28
+ import { ListServiceJobsCommand, } from "./commands/ListServiceJobsCommand";
24
29
  import { ListTagsForResourceCommand, } from "./commands/ListTagsForResourceCommand";
25
30
  import { RegisterJobDefinitionCommand, } from "./commands/RegisterJobDefinitionCommand";
26
31
  import { SubmitJobCommand } from "./commands/SubmitJobCommand";
32
+ import { SubmitServiceJobCommand, } from "./commands/SubmitServiceJobCommand";
27
33
  import { TagResourceCommand } from "./commands/TagResourceCommand";
28
34
  import { TerminateJobCommand, } from "./commands/TerminateJobCommand";
35
+ import { TerminateServiceJobCommand, } from "./commands/TerminateServiceJobCommand";
29
36
  import { UntagResourceCommand, } from "./commands/UntagResourceCommand";
30
37
  import { UpdateComputeEnvironmentCommand, } from "./commands/UpdateComputeEnvironmentCommand";
31
38
  import { UpdateConsumableResourceCommand, } from "./commands/UpdateConsumableResourceCommand";
32
39
  import { UpdateJobQueueCommand, } from "./commands/UpdateJobQueueCommand";
33
40
  import { UpdateSchedulingPolicyCommand, } from "./commands/UpdateSchedulingPolicyCommand";
41
+ import { UpdateServiceEnvironmentCommand, } from "./commands/UpdateServiceEnvironmentCommand";
34
42
  const commands = {
35
43
  CancelJobCommand,
36
44
  CreateComputeEnvironmentCommand,
37
45
  CreateConsumableResourceCommand,
38
46
  CreateJobQueueCommand,
39
47
  CreateSchedulingPolicyCommand,
48
+ CreateServiceEnvironmentCommand,
40
49
  DeleteComputeEnvironmentCommand,
41
50
  DeleteConsumableResourceCommand,
42
51
  DeleteJobQueueCommand,
43
52
  DeleteSchedulingPolicyCommand,
53
+ DeleteServiceEnvironmentCommand,
44
54
  DeregisterJobDefinitionCommand,
45
55
  DescribeComputeEnvironmentsCommand,
46
56
  DescribeConsumableResourceCommand,
@@ -48,21 +58,27 @@ const commands = {
48
58
  DescribeJobQueuesCommand,
49
59
  DescribeJobsCommand,
50
60
  DescribeSchedulingPoliciesCommand,
61
+ DescribeServiceEnvironmentsCommand,
62
+ DescribeServiceJobCommand,
51
63
  GetJobQueueSnapshotCommand,
52
64
  ListConsumableResourcesCommand,
53
65
  ListJobsCommand,
54
66
  ListJobsByConsumableResourceCommand,
55
67
  ListSchedulingPoliciesCommand,
68
+ ListServiceJobsCommand,
56
69
  ListTagsForResourceCommand,
57
70
  RegisterJobDefinitionCommand,
58
71
  SubmitJobCommand,
72
+ SubmitServiceJobCommand,
59
73
  TagResourceCommand,
60
74
  TerminateJobCommand,
75
+ TerminateServiceJobCommand,
61
76
  UntagResourceCommand,
62
77
  UpdateComputeEnvironmentCommand,
63
78
  UpdateConsumableResourceCommand,
64
79
  UpdateJobQueueCommand,
65
80
  UpdateSchedulingPolicyCommand,
81
+ UpdateServiceEnvironmentCommand,
66
82
  };
67
83
  export class Batch extends BatchClient {
68
84
  }
@@ -0,0 +1,22 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { de_CreateServiceEnvironmentCommand, se_CreateServiceEnvironmentCommand } from "../protocols/Aws_restJson1";
6
+ export { $Command };
7
+ export class CreateServiceEnvironmentCommand extends $Command
8
+ .classBuilder()
9
+ .ep(commonParams)
10
+ .m(function (Command, cs, config, o) {
11
+ return [
12
+ getSerdePlugin(config, this.serialize, this.deserialize),
13
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
+ ];
15
+ })
16
+ .s("AWSBatchV20160810", "CreateServiceEnvironment", {})
17
+ .n("BatchClient", "CreateServiceEnvironmentCommand")
18
+ .f(void 0, void 0)
19
+ .ser(se_CreateServiceEnvironmentCommand)
20
+ .de(de_CreateServiceEnvironmentCommand)
21
+ .build() {
22
+ }
@@ -0,0 +1,22 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { de_DeleteServiceEnvironmentCommand, se_DeleteServiceEnvironmentCommand } from "../protocols/Aws_restJson1";
6
+ export { $Command };
7
+ export class DeleteServiceEnvironmentCommand extends $Command
8
+ .classBuilder()
9
+ .ep(commonParams)
10
+ .m(function (Command, cs, config, o) {
11
+ return [
12
+ getSerdePlugin(config, this.serialize, this.deserialize),
13
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
+ ];
15
+ })
16
+ .s("AWSBatchV20160810", "DeleteServiceEnvironment", {})
17
+ .n("BatchClient", "DeleteServiceEnvironmentCommand")
18
+ .f(void 0, void 0)
19
+ .ser(se_DeleteServiceEnvironmentCommand)
20
+ .de(de_DeleteServiceEnvironmentCommand)
21
+ .build() {
22
+ }
@@ -0,0 +1,22 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { de_DescribeServiceEnvironmentsCommand, se_DescribeServiceEnvironmentsCommand, } from "../protocols/Aws_restJson1";
6
+ export { $Command };
7
+ export class DescribeServiceEnvironmentsCommand extends $Command
8
+ .classBuilder()
9
+ .ep(commonParams)
10
+ .m(function (Command, cs, config, o) {
11
+ return [
12
+ getSerdePlugin(config, this.serialize, this.deserialize),
13
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
+ ];
15
+ })
16
+ .s("AWSBatchV20160810", "DescribeServiceEnvironments", {})
17
+ .n("BatchClient", "DescribeServiceEnvironmentsCommand")
18
+ .f(void 0, void 0)
19
+ .ser(se_DescribeServiceEnvironmentsCommand)
20
+ .de(de_DescribeServiceEnvironmentsCommand)
21
+ .build() {
22
+ }
@@ -0,0 +1,22 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { de_DescribeServiceJobCommand, se_DescribeServiceJobCommand } from "../protocols/Aws_restJson1";
6
+ export { $Command };
7
+ export class DescribeServiceJobCommand extends $Command
8
+ .classBuilder()
9
+ .ep(commonParams)
10
+ .m(function (Command, cs, config, o) {
11
+ return [
12
+ getSerdePlugin(config, this.serialize, this.deserialize),
13
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
+ ];
15
+ })
16
+ .s("AWSBatchV20160810", "DescribeServiceJob", {})
17
+ .n("BatchClient", "DescribeServiceJobCommand")
18
+ .f(void 0, void 0)
19
+ .ser(se_DescribeServiceJobCommand)
20
+ .de(de_DescribeServiceJobCommand)
21
+ .build() {
22
+ }
@@ -0,0 +1,22 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { de_ListServiceJobsCommand, se_ListServiceJobsCommand } from "../protocols/Aws_restJson1";
6
+ export { $Command };
7
+ export class ListServiceJobsCommand extends $Command
8
+ .classBuilder()
9
+ .ep(commonParams)
10
+ .m(function (Command, cs, config, o) {
11
+ return [
12
+ getSerdePlugin(config, this.serialize, this.deserialize),
13
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
+ ];
15
+ })
16
+ .s("AWSBatchV20160810", "ListServiceJobs", {})
17
+ .n("BatchClient", "ListServiceJobsCommand")
18
+ .f(void 0, void 0)
19
+ .ser(se_ListServiceJobsCommand)
20
+ .de(de_ListServiceJobsCommand)
21
+ .build() {
22
+ }
@@ -0,0 +1,22 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { de_SubmitServiceJobCommand, se_SubmitServiceJobCommand } from "../protocols/Aws_restJson1";
6
+ export { $Command };
7
+ export class SubmitServiceJobCommand extends $Command
8
+ .classBuilder()
9
+ .ep(commonParams)
10
+ .m(function (Command, cs, config, o) {
11
+ return [
12
+ getSerdePlugin(config, this.serialize, this.deserialize),
13
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
+ ];
15
+ })
16
+ .s("AWSBatchV20160810", "SubmitServiceJob", {})
17
+ .n("BatchClient", "SubmitServiceJobCommand")
18
+ .f(void 0, void 0)
19
+ .ser(se_SubmitServiceJobCommand)
20
+ .de(de_SubmitServiceJobCommand)
21
+ .build() {
22
+ }
@@ -0,0 +1,22 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { de_TerminateServiceJobCommand, se_TerminateServiceJobCommand } from "../protocols/Aws_restJson1";
6
+ export { $Command };
7
+ export class TerminateServiceJobCommand extends $Command
8
+ .classBuilder()
9
+ .ep(commonParams)
10
+ .m(function (Command, cs, config, o) {
11
+ return [
12
+ getSerdePlugin(config, this.serialize, this.deserialize),
13
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
+ ];
15
+ })
16
+ .s("AWSBatchV20160810", "TerminateServiceJob", {})
17
+ .n("BatchClient", "TerminateServiceJobCommand")
18
+ .f(void 0, void 0)
19
+ .ser(se_TerminateServiceJobCommand)
20
+ .de(de_TerminateServiceJobCommand)
21
+ .build() {
22
+ }
@@ -0,0 +1,22 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { de_UpdateServiceEnvironmentCommand, se_UpdateServiceEnvironmentCommand } from "../protocols/Aws_restJson1";
6
+ export { $Command };
7
+ export class UpdateServiceEnvironmentCommand extends $Command
8
+ .classBuilder()
9
+ .ep(commonParams)
10
+ .m(function (Command, cs, config, o) {
11
+ return [
12
+ getSerdePlugin(config, this.serialize, this.deserialize),
13
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
+ ];
15
+ })
16
+ .s("AWSBatchV20160810", "UpdateServiceEnvironment", {})
17
+ .n("BatchClient", "UpdateServiceEnvironmentCommand")
18
+ .f(void 0, void 0)
19
+ .ser(se_UpdateServiceEnvironmentCommand)
20
+ .de(de_UpdateServiceEnvironmentCommand)
21
+ .build() {
22
+ }
@@ -3,10 +3,12 @@ export * from "./CreateComputeEnvironmentCommand";
3
3
  export * from "./CreateConsumableResourceCommand";
4
4
  export * from "./CreateJobQueueCommand";
5
5
  export * from "./CreateSchedulingPolicyCommand";
6
+ export * from "./CreateServiceEnvironmentCommand";
6
7
  export * from "./DeleteComputeEnvironmentCommand";
7
8
  export * from "./DeleteConsumableResourceCommand";
8
9
  export * from "./DeleteJobQueueCommand";
9
10
  export * from "./DeleteSchedulingPolicyCommand";
11
+ export * from "./DeleteServiceEnvironmentCommand";
10
12
  export * from "./DeregisterJobDefinitionCommand";
11
13
  export * from "./DescribeComputeEnvironmentsCommand";
12
14
  export * from "./DescribeConsumableResourceCommand";
@@ -14,18 +16,24 @@ export * from "./DescribeJobDefinitionsCommand";
14
16
  export * from "./DescribeJobQueuesCommand";
15
17
  export * from "./DescribeJobsCommand";
16
18
  export * from "./DescribeSchedulingPoliciesCommand";
19
+ export * from "./DescribeServiceEnvironmentsCommand";
20
+ export * from "./DescribeServiceJobCommand";
17
21
  export * from "./GetJobQueueSnapshotCommand";
18
22
  export * from "./ListConsumableResourcesCommand";
19
23
  export * from "./ListJobsByConsumableResourceCommand";
20
24
  export * from "./ListJobsCommand";
21
25
  export * from "./ListSchedulingPoliciesCommand";
26
+ export * from "./ListServiceJobsCommand";
22
27
  export * from "./ListTagsForResourceCommand";
23
28
  export * from "./RegisterJobDefinitionCommand";
24
29
  export * from "./SubmitJobCommand";
30
+ export * from "./SubmitServiceJobCommand";
25
31
  export * from "./TagResourceCommand";
26
32
  export * from "./TerminateJobCommand";
33
+ export * from "./TerminateServiceJobCommand";
27
34
  export * from "./UntagResourceCommand";
28
35
  export * from "./UpdateComputeEnvironmentCommand";
29
36
  export * from "./UpdateConsumableResourceCommand";
30
37
  export * from "./UpdateJobQueueCommand";
31
38
  export * from "./UpdateSchedulingPolicyCommand";
39
+ export * from "./UpdateServiceEnvironmentCommand";
@@ -55,8 +55,15 @@ export const CEType = {
55
55
  MANAGED: "MANAGED",
56
56
  UNMANAGED: "UNMANAGED",
57
57
  };
58
+ export const JobQueueType = {
59
+ ECS: "ECS",
60
+ ECS_FARGATE: "ECS_FARGATE",
61
+ EKS: "EKS",
62
+ SAGEMAKER_TRAINING: "SAGEMAKER_TRAINING",
63
+ };
58
64
  export const JobStateTimeLimitActionsAction = {
59
65
  CANCEL: "CANCEL",
66
+ TERMINATE: "TERMINATE",
60
67
  };
61
68
  export const JobStateTimeLimitActionsState = {
62
69
  RUNNABLE: "RUNNABLE",
@@ -65,6 +72,13 @@ export const JQState = {
65
72
  DISABLED: "DISABLED",
66
73
  ENABLED: "ENABLED",
67
74
  };
75
+ export const ServiceEnvironmentType = {
76
+ SAGEMAKER_TRAINING: "SAGEMAKER_TRAINING",
77
+ };
78
+ export const ServiceEnvironmentState = {
79
+ DISABLED: "DISABLED",
80
+ ENABLED: "ENABLED",
81
+ };
68
82
  export const OrchestrationType = {
69
83
  ECS: "ECS",
70
84
  EKS: "EKS",
@@ -134,6 +148,34 @@ export const JobStatus = {
134
148
  SUBMITTED: "SUBMITTED",
135
149
  SUCCEEDED: "SUCCEEDED",
136
150
  };
151
+ export const ServiceEnvironmentStatus = {
152
+ CREATING: "CREATING",
153
+ DELETED: "DELETED",
154
+ DELETING: "DELETING",
155
+ INVALID: "INVALID",
156
+ UPDATING: "UPDATING",
157
+ VALID: "VALID",
158
+ };
159
+ export const ServiceResourceIdName = {
160
+ SAGEMAKER_TRAINING_JOB_ARN: "TrainingJobArn",
161
+ };
162
+ export const ServiceJobRetryAction = {
163
+ EXIT: "EXIT",
164
+ RETRY: "RETRY",
165
+ };
166
+ export const ServiceJobType = {
167
+ SAGEMAKER_TRAINING: "SAGEMAKER_TRAINING",
168
+ };
169
+ export const ServiceJobStatus = {
170
+ FAILED: "FAILED",
171
+ PENDING: "PENDING",
172
+ RUNNABLE: "RUNNABLE",
173
+ RUNNING: "RUNNING",
174
+ SCHEDULED: "SCHEDULED",
175
+ STARTING: "STARTING",
176
+ SUBMITTED: "SUBMITTED",
177
+ SUCCEEDED: "SUCCEEDED",
178
+ };
137
179
  export const JobDefinitionType = {
138
180
  Container: "container",
139
181
  Multinode: "multinode",
@@ -0,0 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
2
+ import { BatchClient } from "../BatchClient";
3
+ import { DescribeServiceEnvironmentsCommand, } from "../commands/DescribeServiceEnvironmentsCommand";
4
+ export const paginateDescribeServiceEnvironments = createPaginator(BatchClient, DescribeServiceEnvironmentsCommand, "nextToken", "nextToken", "maxResults");
@@ -0,0 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
2
+ import { BatchClient } from "../BatchClient";
3
+ import { ListServiceJobsCommand, } from "../commands/ListServiceJobsCommand";
4
+ export const paginateListServiceJobs = createPaginator(BatchClient, ListServiceJobsCommand, "nextToken", "nextToken", "maxResults");
@@ -1,8 +1,10 @@
1
1
  export * from "./DescribeComputeEnvironmentsPaginator";
2
2
  export * from "./DescribeJobDefinitionsPaginator";
3
3
  export * from "./DescribeJobQueuesPaginator";
4
+ export * from "./DescribeServiceEnvironmentsPaginator";
4
5
  export * from "./Interfaces";
5
6
  export * from "./ListConsumableResourcesPaginator";
6
7
  export * from "./ListJobsByConsumableResourcePaginator";
7
8
  export * from "./ListJobsPaginator";
8
9
  export * from "./ListSchedulingPoliciesPaginator";
10
+ export * from "./ListServiceJobsPaginator";