@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
@@ -0,0 +1,7 @@
1
+ import { Paginator } from "@smithy/types";
2
+ import { DescribeServiceEnvironmentsCommandInput, DescribeServiceEnvironmentsCommandOutput } from "../commands/DescribeServiceEnvironmentsCommand";
3
+ import { BatchPaginationConfiguration } from "./Interfaces";
4
+ /**
5
+ * @public
6
+ */
7
+ export declare const paginateDescribeServiceEnvironments: (config: BatchPaginationConfiguration, input: DescribeServiceEnvironmentsCommandInput, ...rest: any[]) => Paginator<DescribeServiceEnvironmentsCommandOutput>;
@@ -0,0 +1,7 @@
1
+ import { Paginator } from "@smithy/types";
2
+ import { ListServiceJobsCommandInput, ListServiceJobsCommandOutput } from "../commands/ListServiceJobsCommand";
3
+ import { BatchPaginationConfiguration } from "./Interfaces";
4
+ /**
5
+ * @public
6
+ */
7
+ export declare const paginateListServiceJobs: (config: BatchPaginationConfiguration, input: ListServiceJobsCommandInput, ...rest: any[]) => Paginator<ListServiceJobsCommandOutput>;
@@ -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";
@@ -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
  /**
35
43
  * serializeAws_restJson1CancelJobCommand
36
44
  */
@@ -51,6 +59,10 @@ export declare const se_CreateJobQueueCommand: (input: CreateJobQueueCommandInpu
51
59
  * serializeAws_restJson1CreateSchedulingPolicyCommand
52
60
  */
53
61
  export declare const se_CreateSchedulingPolicyCommand: (input: CreateSchedulingPolicyCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
62
+ /**
63
+ * serializeAws_restJson1CreateServiceEnvironmentCommand
64
+ */
65
+ export declare const se_CreateServiceEnvironmentCommand: (input: CreateServiceEnvironmentCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
54
66
  /**
55
67
  * serializeAws_restJson1DeleteComputeEnvironmentCommand
56
68
  */
@@ -67,6 +79,10 @@ export declare const se_DeleteJobQueueCommand: (input: DeleteJobQueueCommandInpu
67
79
  * serializeAws_restJson1DeleteSchedulingPolicyCommand
68
80
  */
69
81
  export declare const se_DeleteSchedulingPolicyCommand: (input: DeleteSchedulingPolicyCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
82
+ /**
83
+ * serializeAws_restJson1DeleteServiceEnvironmentCommand
84
+ */
85
+ export declare const se_DeleteServiceEnvironmentCommand: (input: DeleteServiceEnvironmentCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
70
86
  /**
71
87
  * serializeAws_restJson1DeregisterJobDefinitionCommand
72
88
  */
@@ -95,6 +111,14 @@ export declare const se_DescribeJobsCommand: (input: DescribeJobsCommandInput, c
95
111
  * serializeAws_restJson1DescribeSchedulingPoliciesCommand
96
112
  */
97
113
  export declare const se_DescribeSchedulingPoliciesCommand: (input: DescribeSchedulingPoliciesCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
114
+ /**
115
+ * serializeAws_restJson1DescribeServiceEnvironmentsCommand
116
+ */
117
+ export declare const se_DescribeServiceEnvironmentsCommand: (input: DescribeServiceEnvironmentsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
118
+ /**
119
+ * serializeAws_restJson1DescribeServiceJobCommand
120
+ */
121
+ export declare const se_DescribeServiceJobCommand: (input: DescribeServiceJobCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
98
122
  /**
99
123
  * serializeAws_restJson1GetJobQueueSnapshotCommand
100
124
  */
@@ -115,6 +139,10 @@ export declare const se_ListJobsByConsumableResourceCommand: (input: ListJobsByC
115
139
  * serializeAws_restJson1ListSchedulingPoliciesCommand
116
140
  */
117
141
  export declare const se_ListSchedulingPoliciesCommand: (input: ListSchedulingPoliciesCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
142
+ /**
143
+ * serializeAws_restJson1ListServiceJobsCommand
144
+ */
145
+ export declare const se_ListServiceJobsCommand: (input: ListServiceJobsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
118
146
  /**
119
147
  * serializeAws_restJson1ListTagsForResourceCommand
120
148
  */
@@ -127,6 +155,10 @@ export declare const se_RegisterJobDefinitionCommand: (input: RegisterJobDefinit
127
155
  * serializeAws_restJson1SubmitJobCommand
128
156
  */
129
157
  export declare const se_SubmitJobCommand: (input: SubmitJobCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
158
+ /**
159
+ * serializeAws_restJson1SubmitServiceJobCommand
160
+ */
161
+ export declare const se_SubmitServiceJobCommand: (input: SubmitServiceJobCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
130
162
  /**
131
163
  * serializeAws_restJson1TagResourceCommand
132
164
  */
@@ -135,6 +167,10 @@ export declare const se_TagResourceCommand: (input: TagResourceCommandInput, con
135
167
  * serializeAws_restJson1TerminateJobCommand
136
168
  */
137
169
  export declare const se_TerminateJobCommand: (input: TerminateJobCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
170
+ /**
171
+ * serializeAws_restJson1TerminateServiceJobCommand
172
+ */
173
+ export declare const se_TerminateServiceJobCommand: (input: TerminateServiceJobCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
138
174
  /**
139
175
  * serializeAws_restJson1UntagResourceCommand
140
176
  */
@@ -155,6 +191,10 @@ export declare const se_UpdateJobQueueCommand: (input: UpdateJobQueueCommandInpu
155
191
  * serializeAws_restJson1UpdateSchedulingPolicyCommand
156
192
  */
157
193
  export declare const se_UpdateSchedulingPolicyCommand: (input: UpdateSchedulingPolicyCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
194
+ /**
195
+ * serializeAws_restJson1UpdateServiceEnvironmentCommand
196
+ */
197
+ export declare const se_UpdateServiceEnvironmentCommand: (input: UpdateServiceEnvironmentCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
158
198
  /**
159
199
  * deserializeAws_restJson1CancelJobCommand
160
200
  */
@@ -175,6 +215,10 @@ export declare const de_CreateJobQueueCommand: (output: __HttpResponse, context:
175
215
  * deserializeAws_restJson1CreateSchedulingPolicyCommand
176
216
  */
177
217
  export declare const de_CreateSchedulingPolicyCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<CreateSchedulingPolicyCommandOutput>;
218
+ /**
219
+ * deserializeAws_restJson1CreateServiceEnvironmentCommand
220
+ */
221
+ export declare const de_CreateServiceEnvironmentCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<CreateServiceEnvironmentCommandOutput>;
178
222
  /**
179
223
  * deserializeAws_restJson1DeleteComputeEnvironmentCommand
180
224
  */
@@ -191,6 +235,10 @@ export declare const de_DeleteJobQueueCommand: (output: __HttpResponse, context:
191
235
  * deserializeAws_restJson1DeleteSchedulingPolicyCommand
192
236
  */
193
237
  export declare const de_DeleteSchedulingPolicyCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DeleteSchedulingPolicyCommandOutput>;
238
+ /**
239
+ * deserializeAws_restJson1DeleteServiceEnvironmentCommand
240
+ */
241
+ export declare const de_DeleteServiceEnvironmentCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DeleteServiceEnvironmentCommandOutput>;
194
242
  /**
195
243
  * deserializeAws_restJson1DeregisterJobDefinitionCommand
196
244
  */
@@ -219,6 +267,14 @@ export declare const de_DescribeJobsCommand: (output: __HttpResponse, context: _
219
267
  * deserializeAws_restJson1DescribeSchedulingPoliciesCommand
220
268
  */
221
269
  export declare const de_DescribeSchedulingPoliciesCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DescribeSchedulingPoliciesCommandOutput>;
270
+ /**
271
+ * deserializeAws_restJson1DescribeServiceEnvironmentsCommand
272
+ */
273
+ export declare const de_DescribeServiceEnvironmentsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DescribeServiceEnvironmentsCommandOutput>;
274
+ /**
275
+ * deserializeAws_restJson1DescribeServiceJobCommand
276
+ */
277
+ export declare const de_DescribeServiceJobCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DescribeServiceJobCommandOutput>;
222
278
  /**
223
279
  * deserializeAws_restJson1GetJobQueueSnapshotCommand
224
280
  */
@@ -239,6 +295,10 @@ export declare const de_ListJobsByConsumableResourceCommand: (output: __HttpResp
239
295
  * deserializeAws_restJson1ListSchedulingPoliciesCommand
240
296
  */
241
297
  export declare const de_ListSchedulingPoliciesCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListSchedulingPoliciesCommandOutput>;
298
+ /**
299
+ * deserializeAws_restJson1ListServiceJobsCommand
300
+ */
301
+ export declare const de_ListServiceJobsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListServiceJobsCommandOutput>;
242
302
  /**
243
303
  * deserializeAws_restJson1ListTagsForResourceCommand
244
304
  */
@@ -251,6 +311,10 @@ export declare const de_RegisterJobDefinitionCommand: (output: __HttpResponse, c
251
311
  * deserializeAws_restJson1SubmitJobCommand
252
312
  */
253
313
  export declare const de_SubmitJobCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<SubmitJobCommandOutput>;
314
+ /**
315
+ * deserializeAws_restJson1SubmitServiceJobCommand
316
+ */
317
+ export declare const de_SubmitServiceJobCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<SubmitServiceJobCommandOutput>;
254
318
  /**
255
319
  * deserializeAws_restJson1TagResourceCommand
256
320
  */
@@ -259,6 +323,10 @@ export declare const de_TagResourceCommand: (output: __HttpResponse, context: __
259
323
  * deserializeAws_restJson1TerminateJobCommand
260
324
  */
261
325
  export declare const de_TerminateJobCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<TerminateJobCommandOutput>;
326
+ /**
327
+ * deserializeAws_restJson1TerminateServiceJobCommand
328
+ */
329
+ export declare const de_TerminateServiceJobCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<TerminateServiceJobCommandOutput>;
262
330
  /**
263
331
  * deserializeAws_restJson1UntagResourceCommand
264
332
  */
@@ -279,3 +347,7 @@ export declare const de_UpdateJobQueueCommand: (output: __HttpResponse, context:
279
347
  * deserializeAws_restJson1UpdateSchedulingPolicyCommand
280
348
  */
281
349
  export declare const de_UpdateSchedulingPolicyCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UpdateSchedulingPolicyCommandOutput>;
350
+ /**
351
+ * deserializeAws_restJson1UpdateServiceEnvironmentCommand
352
+ */
353
+ export declare const de_UpdateServiceEnvironmentCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UpdateServiceEnvironmentCommandOutput>;
@@ -20,6 +20,10 @@ import {
20
20
  CreateSchedulingPolicyCommandInput,
21
21
  CreateSchedulingPolicyCommandOutput,
22
22
  } from "./commands/CreateSchedulingPolicyCommand";
23
+ import {
24
+ CreateServiceEnvironmentCommandInput,
25
+ CreateServiceEnvironmentCommandOutput,
26
+ } from "./commands/CreateServiceEnvironmentCommand";
23
27
  import {
24
28
  DeleteComputeEnvironmentCommandInput,
25
29
  DeleteComputeEnvironmentCommandOutput,
@@ -36,6 +40,10 @@ import {
36
40
  DeleteSchedulingPolicyCommandInput,
37
41
  DeleteSchedulingPolicyCommandOutput,
38
42
  } from "./commands/DeleteSchedulingPolicyCommand";
43
+ import {
44
+ DeleteServiceEnvironmentCommandInput,
45
+ DeleteServiceEnvironmentCommandOutput,
46
+ } from "./commands/DeleteServiceEnvironmentCommand";
39
47
  import {
40
48
  DeregisterJobDefinitionCommandInput,
41
49
  DeregisterJobDefinitionCommandOutput,
@@ -64,6 +72,14 @@ import {
64
72
  DescribeSchedulingPoliciesCommandInput,
65
73
  DescribeSchedulingPoliciesCommandOutput,
66
74
  } from "./commands/DescribeSchedulingPoliciesCommand";
75
+ import {
76
+ DescribeServiceEnvironmentsCommandInput,
77
+ DescribeServiceEnvironmentsCommandOutput,
78
+ } from "./commands/DescribeServiceEnvironmentsCommand";
79
+ import {
80
+ DescribeServiceJobCommandInput,
81
+ DescribeServiceJobCommandOutput,
82
+ } from "./commands/DescribeServiceJobCommand";
67
83
  import {
68
84
  GetJobQueueSnapshotCommandInput,
69
85
  GetJobQueueSnapshotCommandOutput,
@@ -84,6 +100,10 @@ import {
84
100
  ListSchedulingPoliciesCommandInput,
85
101
  ListSchedulingPoliciesCommandOutput,
86
102
  } from "./commands/ListSchedulingPoliciesCommand";
103
+ import {
104
+ ListServiceJobsCommandInput,
105
+ ListServiceJobsCommandOutput,
106
+ } from "./commands/ListServiceJobsCommand";
87
107
  import {
88
108
  ListTagsForResourceCommandInput,
89
109
  ListTagsForResourceCommandOutput,
@@ -96,6 +116,10 @@ import {
96
116
  SubmitJobCommandInput,
97
117
  SubmitJobCommandOutput,
98
118
  } from "./commands/SubmitJobCommand";
119
+ import {
120
+ SubmitServiceJobCommandInput,
121
+ SubmitServiceJobCommandOutput,
122
+ } from "./commands/SubmitServiceJobCommand";
99
123
  import {
100
124
  TagResourceCommandInput,
101
125
  TagResourceCommandOutput,
@@ -104,6 +128,10 @@ import {
104
128
  TerminateJobCommandInput,
105
129
  TerminateJobCommandOutput,
106
130
  } from "./commands/TerminateJobCommand";
131
+ import {
132
+ TerminateServiceJobCommandInput,
133
+ TerminateServiceJobCommandOutput,
134
+ } from "./commands/TerminateServiceJobCommand";
107
135
  import {
108
136
  UntagResourceCommandInput,
109
137
  UntagResourceCommandOutput,
@@ -124,6 +152,10 @@ import {
124
152
  UpdateSchedulingPolicyCommandInput,
125
153
  UpdateSchedulingPolicyCommandOutput,
126
154
  } from "./commands/UpdateSchedulingPolicyCommand";
155
+ import {
156
+ UpdateServiceEnvironmentCommandInput,
157
+ UpdateServiceEnvironmentCommandOutput,
158
+ } from "./commands/UpdateServiceEnvironmentCommand";
127
159
  export interface Batch {
128
160
  cancelJob(
129
161
  args: CancelJobCommandInput,
@@ -190,6 +222,19 @@ export interface Batch {
190
222
  options: __HttpHandlerOptions,
191
223
  cb: (err: any, data?: CreateSchedulingPolicyCommandOutput) => void
192
224
  ): void;
225
+ createServiceEnvironment(
226
+ args: CreateServiceEnvironmentCommandInput,
227
+ options?: __HttpHandlerOptions
228
+ ): Promise<CreateServiceEnvironmentCommandOutput>;
229
+ createServiceEnvironment(
230
+ args: CreateServiceEnvironmentCommandInput,
231
+ cb: (err: any, data?: CreateServiceEnvironmentCommandOutput) => void
232
+ ): void;
233
+ createServiceEnvironment(
234
+ args: CreateServiceEnvironmentCommandInput,
235
+ options: __HttpHandlerOptions,
236
+ cb: (err: any, data?: CreateServiceEnvironmentCommandOutput) => void
237
+ ): void;
193
238
  deleteComputeEnvironment(
194
239
  args: DeleteComputeEnvironmentCommandInput,
195
240
  options?: __HttpHandlerOptions
@@ -242,6 +287,19 @@ export interface Batch {
242
287
  options: __HttpHandlerOptions,
243
288
  cb: (err: any, data?: DeleteSchedulingPolicyCommandOutput) => void
244
289
  ): void;
290
+ deleteServiceEnvironment(
291
+ args: DeleteServiceEnvironmentCommandInput,
292
+ options?: __HttpHandlerOptions
293
+ ): Promise<DeleteServiceEnvironmentCommandOutput>;
294
+ deleteServiceEnvironment(
295
+ args: DeleteServiceEnvironmentCommandInput,
296
+ cb: (err: any, data?: DeleteServiceEnvironmentCommandOutput) => void
297
+ ): void;
298
+ deleteServiceEnvironment(
299
+ args: DeleteServiceEnvironmentCommandInput,
300
+ options: __HttpHandlerOptions,
301
+ cb: (err: any, data?: DeleteServiceEnvironmentCommandOutput) => void
302
+ ): void;
245
303
  deregisterJobDefinition(
246
304
  args: DeregisterJobDefinitionCommandInput,
247
305
  options?: __HttpHandlerOptions
@@ -336,6 +394,33 @@ export interface Batch {
336
394
  options: __HttpHandlerOptions,
337
395
  cb: (err: any, data?: DescribeSchedulingPoliciesCommandOutput) => void
338
396
  ): void;
397
+ describeServiceEnvironments(): Promise<DescribeServiceEnvironmentsCommandOutput>;
398
+ describeServiceEnvironments(
399
+ args: DescribeServiceEnvironmentsCommandInput,
400
+ options?: __HttpHandlerOptions
401
+ ): Promise<DescribeServiceEnvironmentsCommandOutput>;
402
+ describeServiceEnvironments(
403
+ args: DescribeServiceEnvironmentsCommandInput,
404
+ cb: (err: any, data?: DescribeServiceEnvironmentsCommandOutput) => void
405
+ ): void;
406
+ describeServiceEnvironments(
407
+ args: DescribeServiceEnvironmentsCommandInput,
408
+ options: __HttpHandlerOptions,
409
+ cb: (err: any, data?: DescribeServiceEnvironmentsCommandOutput) => void
410
+ ): void;
411
+ describeServiceJob(
412
+ args: DescribeServiceJobCommandInput,
413
+ options?: __HttpHandlerOptions
414
+ ): Promise<DescribeServiceJobCommandOutput>;
415
+ describeServiceJob(
416
+ args: DescribeServiceJobCommandInput,
417
+ cb: (err: any, data?: DescribeServiceJobCommandOutput) => void
418
+ ): void;
419
+ describeServiceJob(
420
+ args: DescribeServiceJobCommandInput,
421
+ options: __HttpHandlerOptions,
422
+ cb: (err: any, data?: DescribeServiceJobCommandOutput) => void
423
+ ): void;
339
424
  getJobQueueSnapshot(
340
425
  args: GetJobQueueSnapshotCommandInput,
341
426
  options?: __HttpHandlerOptions
@@ -404,6 +489,20 @@ export interface Batch {
404
489
  options: __HttpHandlerOptions,
405
490
  cb: (err: any, data?: ListSchedulingPoliciesCommandOutput) => void
406
491
  ): void;
492
+ listServiceJobs(): Promise<ListServiceJobsCommandOutput>;
493
+ listServiceJobs(
494
+ args: ListServiceJobsCommandInput,
495
+ options?: __HttpHandlerOptions
496
+ ): Promise<ListServiceJobsCommandOutput>;
497
+ listServiceJobs(
498
+ args: ListServiceJobsCommandInput,
499
+ cb: (err: any, data?: ListServiceJobsCommandOutput) => void
500
+ ): void;
501
+ listServiceJobs(
502
+ args: ListServiceJobsCommandInput,
503
+ options: __HttpHandlerOptions,
504
+ cb: (err: any, data?: ListServiceJobsCommandOutput) => void
505
+ ): void;
407
506
  listTagsForResource(
408
507
  args: ListTagsForResourceCommandInput,
409
508
  options?: __HttpHandlerOptions
@@ -443,6 +542,19 @@ export interface Batch {
443
542
  options: __HttpHandlerOptions,
444
543
  cb: (err: any, data?: SubmitJobCommandOutput) => void
445
544
  ): void;
545
+ submitServiceJob(
546
+ args: SubmitServiceJobCommandInput,
547
+ options?: __HttpHandlerOptions
548
+ ): Promise<SubmitServiceJobCommandOutput>;
549
+ submitServiceJob(
550
+ args: SubmitServiceJobCommandInput,
551
+ cb: (err: any, data?: SubmitServiceJobCommandOutput) => void
552
+ ): void;
553
+ submitServiceJob(
554
+ args: SubmitServiceJobCommandInput,
555
+ options: __HttpHandlerOptions,
556
+ cb: (err: any, data?: SubmitServiceJobCommandOutput) => void
557
+ ): void;
446
558
  tagResource(
447
559
  args: TagResourceCommandInput,
448
560
  options?: __HttpHandlerOptions
@@ -469,6 +581,19 @@ export interface Batch {
469
581
  options: __HttpHandlerOptions,
470
582
  cb: (err: any, data?: TerminateJobCommandOutput) => void
471
583
  ): void;
584
+ terminateServiceJob(
585
+ args: TerminateServiceJobCommandInput,
586
+ options?: __HttpHandlerOptions
587
+ ): Promise<TerminateServiceJobCommandOutput>;
588
+ terminateServiceJob(
589
+ args: TerminateServiceJobCommandInput,
590
+ cb: (err: any, data?: TerminateServiceJobCommandOutput) => void
591
+ ): void;
592
+ terminateServiceJob(
593
+ args: TerminateServiceJobCommandInput,
594
+ options: __HttpHandlerOptions,
595
+ cb: (err: any, data?: TerminateServiceJobCommandOutput) => void
596
+ ): void;
472
597
  untagResource(
473
598
  args: UntagResourceCommandInput,
474
599
  options?: __HttpHandlerOptions
@@ -534,5 +659,18 @@ export interface Batch {
534
659
  options: __HttpHandlerOptions,
535
660
  cb: (err: any, data?: UpdateSchedulingPolicyCommandOutput) => void
536
661
  ): void;
662
+ updateServiceEnvironment(
663
+ args: UpdateServiceEnvironmentCommandInput,
664
+ options?: __HttpHandlerOptions
665
+ ): Promise<UpdateServiceEnvironmentCommandOutput>;
666
+ updateServiceEnvironment(
667
+ args: UpdateServiceEnvironmentCommandInput,
668
+ cb: (err: any, data?: UpdateServiceEnvironmentCommandOutput) => void
669
+ ): void;
670
+ updateServiceEnvironment(
671
+ args: UpdateServiceEnvironmentCommandInput,
672
+ options: __HttpHandlerOptions,
673
+ cb: (err: any, data?: UpdateServiceEnvironmentCommandOutput) => void
674
+ ): void;
537
675
  }
538
676
  export declare class Batch extends BatchClient implements Batch {}
@@ -65,6 +65,10 @@ import {
65
65
  CreateSchedulingPolicyCommandInput,
66
66
  CreateSchedulingPolicyCommandOutput,
67
67
  } from "./commands/CreateSchedulingPolicyCommand";
68
+ import {
69
+ CreateServiceEnvironmentCommandInput,
70
+ CreateServiceEnvironmentCommandOutput,
71
+ } from "./commands/CreateServiceEnvironmentCommand";
68
72
  import {
69
73
  DeleteComputeEnvironmentCommandInput,
70
74
  DeleteComputeEnvironmentCommandOutput,
@@ -81,6 +85,10 @@ import {
81
85
  DeleteSchedulingPolicyCommandInput,
82
86
  DeleteSchedulingPolicyCommandOutput,
83
87
  } from "./commands/DeleteSchedulingPolicyCommand";
88
+ import {
89
+ DeleteServiceEnvironmentCommandInput,
90
+ DeleteServiceEnvironmentCommandOutput,
91
+ } from "./commands/DeleteServiceEnvironmentCommand";
84
92
  import {
85
93
  DeregisterJobDefinitionCommandInput,
86
94
  DeregisterJobDefinitionCommandOutput,
@@ -109,6 +117,14 @@ import {
109
117
  DescribeSchedulingPoliciesCommandInput,
110
118
  DescribeSchedulingPoliciesCommandOutput,
111
119
  } from "./commands/DescribeSchedulingPoliciesCommand";
120
+ import {
121
+ DescribeServiceEnvironmentsCommandInput,
122
+ DescribeServiceEnvironmentsCommandOutput,
123
+ } from "./commands/DescribeServiceEnvironmentsCommand";
124
+ import {
125
+ DescribeServiceJobCommandInput,
126
+ DescribeServiceJobCommandOutput,
127
+ } from "./commands/DescribeServiceJobCommand";
112
128
  import {
113
129
  GetJobQueueSnapshotCommandInput,
114
130
  GetJobQueueSnapshotCommandOutput,
@@ -129,6 +145,10 @@ import {
129
145
  ListSchedulingPoliciesCommandInput,
130
146
  ListSchedulingPoliciesCommandOutput,
131
147
  } from "./commands/ListSchedulingPoliciesCommand";
148
+ import {
149
+ ListServiceJobsCommandInput,
150
+ ListServiceJobsCommandOutput,
151
+ } from "./commands/ListServiceJobsCommand";
132
152
  import {
133
153
  ListTagsForResourceCommandInput,
134
154
  ListTagsForResourceCommandOutput,
@@ -141,6 +161,10 @@ import {
141
161
  SubmitJobCommandInput,
142
162
  SubmitJobCommandOutput,
143
163
  } from "./commands/SubmitJobCommand";
164
+ import {
165
+ SubmitServiceJobCommandInput,
166
+ SubmitServiceJobCommandOutput,
167
+ } from "./commands/SubmitServiceJobCommand";
144
168
  import {
145
169
  TagResourceCommandInput,
146
170
  TagResourceCommandOutput,
@@ -149,6 +173,10 @@ import {
149
173
  TerminateJobCommandInput,
150
174
  TerminateJobCommandOutput,
151
175
  } from "./commands/TerminateJobCommand";
176
+ import {
177
+ TerminateServiceJobCommandInput,
178
+ TerminateServiceJobCommandOutput,
179
+ } from "./commands/TerminateServiceJobCommand";
152
180
  import {
153
181
  UntagResourceCommandInput,
154
182
  UntagResourceCommandOutput,
@@ -169,6 +197,10 @@ import {
169
197
  UpdateSchedulingPolicyCommandInput,
170
198
  UpdateSchedulingPolicyCommandOutput,
171
199
  } from "./commands/UpdateSchedulingPolicyCommand";
200
+ import {
201
+ UpdateServiceEnvironmentCommandInput,
202
+ UpdateServiceEnvironmentCommandOutput,
203
+ } from "./commands/UpdateServiceEnvironmentCommand";
172
204
  import {
173
205
  ClientInputEndpointParameters,
174
206
  ClientResolvedEndpointParameters,
@@ -182,10 +214,12 @@ export type ServiceInputTypes =
182
214
  | CreateConsumableResourceCommandInput
183
215
  | CreateJobQueueCommandInput
184
216
  | CreateSchedulingPolicyCommandInput
217
+ | CreateServiceEnvironmentCommandInput
185
218
  | DeleteComputeEnvironmentCommandInput
186
219
  | DeleteConsumableResourceCommandInput
187
220
  | DeleteJobQueueCommandInput
188
221
  | DeleteSchedulingPolicyCommandInput
222
+ | DeleteServiceEnvironmentCommandInput
189
223
  | DeregisterJobDefinitionCommandInput
190
224
  | DescribeComputeEnvironmentsCommandInput
191
225
  | DescribeConsumableResourceCommandInput
@@ -193,31 +227,39 @@ export type ServiceInputTypes =
193
227
  | DescribeJobQueuesCommandInput
194
228
  | DescribeJobsCommandInput
195
229
  | DescribeSchedulingPoliciesCommandInput
230
+ | DescribeServiceEnvironmentsCommandInput
231
+ | DescribeServiceJobCommandInput
196
232
  | GetJobQueueSnapshotCommandInput
197
233
  | ListConsumableResourcesCommandInput
198
234
  | ListJobsByConsumableResourceCommandInput
199
235
  | ListJobsCommandInput
200
236
  | ListSchedulingPoliciesCommandInput
237
+ | ListServiceJobsCommandInput
201
238
  | ListTagsForResourceCommandInput
202
239
  | RegisterJobDefinitionCommandInput
203
240
  | SubmitJobCommandInput
241
+ | SubmitServiceJobCommandInput
204
242
  | TagResourceCommandInput
205
243
  | TerminateJobCommandInput
244
+ | TerminateServiceJobCommandInput
206
245
  | UntagResourceCommandInput
207
246
  | UpdateComputeEnvironmentCommandInput
208
247
  | UpdateConsumableResourceCommandInput
209
248
  | UpdateJobQueueCommandInput
210
- | UpdateSchedulingPolicyCommandInput;
249
+ | UpdateSchedulingPolicyCommandInput
250
+ | UpdateServiceEnvironmentCommandInput;
211
251
  export type ServiceOutputTypes =
212
252
  | CancelJobCommandOutput
213
253
  | CreateComputeEnvironmentCommandOutput
214
254
  | CreateConsumableResourceCommandOutput
215
255
  | CreateJobQueueCommandOutput
216
256
  | CreateSchedulingPolicyCommandOutput
257
+ | CreateServiceEnvironmentCommandOutput
217
258
  | DeleteComputeEnvironmentCommandOutput
218
259
  | DeleteConsumableResourceCommandOutput
219
260
  | DeleteJobQueueCommandOutput
220
261
  | DeleteSchedulingPolicyCommandOutput
262
+ | DeleteServiceEnvironmentCommandOutput
221
263
  | DeregisterJobDefinitionCommandOutput
222
264
  | DescribeComputeEnvironmentsCommandOutput
223
265
  | DescribeConsumableResourceCommandOutput
@@ -225,21 +267,27 @@ export type ServiceOutputTypes =
225
267
  | DescribeJobQueuesCommandOutput
226
268
  | DescribeJobsCommandOutput
227
269
  | DescribeSchedulingPoliciesCommandOutput
270
+ | DescribeServiceEnvironmentsCommandOutput
271
+ | DescribeServiceJobCommandOutput
228
272
  | GetJobQueueSnapshotCommandOutput
229
273
  | ListConsumableResourcesCommandOutput
230
274
  | ListJobsByConsumableResourceCommandOutput
231
275
  | ListJobsCommandOutput
232
276
  | ListSchedulingPoliciesCommandOutput
277
+ | ListServiceJobsCommandOutput
233
278
  | ListTagsForResourceCommandOutput
234
279
  | RegisterJobDefinitionCommandOutput
235
280
  | SubmitJobCommandOutput
281
+ | SubmitServiceJobCommandOutput
236
282
  | TagResourceCommandOutput
237
283
  | TerminateJobCommandOutput
284
+ | TerminateServiceJobCommandOutput
238
285
  | UntagResourceCommandOutput
239
286
  | UpdateComputeEnvironmentCommandOutput
240
287
  | UpdateConsumableResourceCommandOutput
241
288
  | UpdateJobQueueCommandOutput
242
- | UpdateSchedulingPolicyCommandOutput;
289
+ | UpdateSchedulingPolicyCommandOutput
290
+ | UpdateServiceEnvironmentCommandOutput;
243
291
  export interface ClientDefaults
244
292
  extends Partial<__SmithyConfiguration<__HttpHandlerOptions>> {
245
293
  requestHandler?: __HttpHandlerUserInput;
@@ -0,0 +1,51 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import {
4
+ BatchClientResolvedConfig,
5
+ ServiceInputTypes,
6
+ ServiceOutputTypes,
7
+ } from "../BatchClient";
8
+ import {
9
+ CreateServiceEnvironmentRequest,
10
+ CreateServiceEnvironmentResponse,
11
+ } from "../models/models_0";
12
+ export { __MetadataBearer };
13
+ export { $Command };
14
+ export interface CreateServiceEnvironmentCommandInput
15
+ extends CreateServiceEnvironmentRequest {}
16
+ export interface CreateServiceEnvironmentCommandOutput
17
+ extends CreateServiceEnvironmentResponse,
18
+ __MetadataBearer {}
19
+ declare const CreateServiceEnvironmentCommand_base: {
20
+ new (
21
+ input: CreateServiceEnvironmentCommandInput
22
+ ): import("@smithy/smithy-client").CommandImpl<
23
+ CreateServiceEnvironmentCommandInput,
24
+ CreateServiceEnvironmentCommandOutput,
25
+ BatchClientResolvedConfig,
26
+ ServiceInputTypes,
27
+ ServiceOutputTypes
28
+ >;
29
+ new (
30
+ input: CreateServiceEnvironmentCommandInput
31
+ ): import("@smithy/smithy-client").CommandImpl<
32
+ CreateServiceEnvironmentCommandInput,
33
+ CreateServiceEnvironmentCommandOutput,
34
+ BatchClientResolvedConfig,
35
+ ServiceInputTypes,
36
+ ServiceOutputTypes
37
+ >;
38
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
39
+ };
40
+ export declare class CreateServiceEnvironmentCommand extends CreateServiceEnvironmentCommand_base {
41
+ protected static __types: {
42
+ api: {
43
+ input: CreateServiceEnvironmentRequest;
44
+ output: CreateServiceEnvironmentResponse;
45
+ };
46
+ sdk: {
47
+ input: CreateServiceEnvironmentCommandInput;
48
+ output: CreateServiceEnvironmentCommandOutput;
49
+ };
50
+ };
51
+ }