@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
@@ -0,0 +1,11 @@
1
+ import { Paginator } from "@smithy/types";
2
+ import {
3
+ DescribeServiceEnvironmentsCommandInput,
4
+ DescribeServiceEnvironmentsCommandOutput,
5
+ } from "../commands/DescribeServiceEnvironmentsCommand";
6
+ import { BatchPaginationConfiguration } from "./Interfaces";
7
+ export declare const paginateDescribeServiceEnvironments: (
8
+ config: BatchPaginationConfiguration,
9
+ input: DescribeServiceEnvironmentsCommandInput,
10
+ ...rest: any[]
11
+ ) => Paginator<DescribeServiceEnvironmentsCommandOutput>;
@@ -0,0 +1,11 @@
1
+ import { Paginator } from "@smithy/types";
2
+ import {
3
+ ListServiceJobsCommandInput,
4
+ ListServiceJobsCommandOutput,
5
+ } from "../commands/ListServiceJobsCommand";
6
+ import { BatchPaginationConfiguration } from "./Interfaces";
7
+ export declare const paginateListServiceJobs: (
8
+ config: BatchPaginationConfiguration,
9
+ input: ListServiceJobsCommandInput,
10
+ ...rest: any[]
11
+ ) => 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";
@@ -23,6 +23,10 @@ import {
23
23
  CreateSchedulingPolicyCommandInput,
24
24
  CreateSchedulingPolicyCommandOutput,
25
25
  } from "../commands/CreateSchedulingPolicyCommand";
26
+ import {
27
+ CreateServiceEnvironmentCommandInput,
28
+ CreateServiceEnvironmentCommandOutput,
29
+ } from "../commands/CreateServiceEnvironmentCommand";
26
30
  import {
27
31
  DeleteComputeEnvironmentCommandInput,
28
32
  DeleteComputeEnvironmentCommandOutput,
@@ -39,6 +43,10 @@ import {
39
43
  DeleteSchedulingPolicyCommandInput,
40
44
  DeleteSchedulingPolicyCommandOutput,
41
45
  } from "../commands/DeleteSchedulingPolicyCommand";
46
+ import {
47
+ DeleteServiceEnvironmentCommandInput,
48
+ DeleteServiceEnvironmentCommandOutput,
49
+ } from "../commands/DeleteServiceEnvironmentCommand";
42
50
  import {
43
51
  DeregisterJobDefinitionCommandInput,
44
52
  DeregisterJobDefinitionCommandOutput,
@@ -67,6 +75,14 @@ import {
67
75
  DescribeSchedulingPoliciesCommandInput,
68
76
  DescribeSchedulingPoliciesCommandOutput,
69
77
  } from "../commands/DescribeSchedulingPoliciesCommand";
78
+ import {
79
+ DescribeServiceEnvironmentsCommandInput,
80
+ DescribeServiceEnvironmentsCommandOutput,
81
+ } from "../commands/DescribeServiceEnvironmentsCommand";
82
+ import {
83
+ DescribeServiceJobCommandInput,
84
+ DescribeServiceJobCommandOutput,
85
+ } from "../commands/DescribeServiceJobCommand";
70
86
  import {
71
87
  GetJobQueueSnapshotCommandInput,
72
88
  GetJobQueueSnapshotCommandOutput,
@@ -87,6 +103,10 @@ import {
87
103
  ListSchedulingPoliciesCommandInput,
88
104
  ListSchedulingPoliciesCommandOutput,
89
105
  } from "../commands/ListSchedulingPoliciesCommand";
106
+ import {
107
+ ListServiceJobsCommandInput,
108
+ ListServiceJobsCommandOutput,
109
+ } from "../commands/ListServiceJobsCommand";
90
110
  import {
91
111
  ListTagsForResourceCommandInput,
92
112
  ListTagsForResourceCommandOutput,
@@ -99,6 +119,10 @@ import {
99
119
  SubmitJobCommandInput,
100
120
  SubmitJobCommandOutput,
101
121
  } from "../commands/SubmitJobCommand";
122
+ import {
123
+ SubmitServiceJobCommandInput,
124
+ SubmitServiceJobCommandOutput,
125
+ } from "../commands/SubmitServiceJobCommand";
102
126
  import {
103
127
  TagResourceCommandInput,
104
128
  TagResourceCommandOutput,
@@ -107,6 +131,10 @@ import {
107
131
  TerminateJobCommandInput,
108
132
  TerminateJobCommandOutput,
109
133
  } from "../commands/TerminateJobCommand";
134
+ import {
135
+ TerminateServiceJobCommandInput,
136
+ TerminateServiceJobCommandOutput,
137
+ } from "../commands/TerminateServiceJobCommand";
110
138
  import {
111
139
  UntagResourceCommandInput,
112
140
  UntagResourceCommandOutput,
@@ -127,6 +155,10 @@ import {
127
155
  UpdateSchedulingPolicyCommandInput,
128
156
  UpdateSchedulingPolicyCommandOutput,
129
157
  } from "../commands/UpdateSchedulingPolicyCommand";
158
+ import {
159
+ UpdateServiceEnvironmentCommandInput,
160
+ UpdateServiceEnvironmentCommandOutput,
161
+ } from "../commands/UpdateServiceEnvironmentCommand";
130
162
  export declare const se_CancelJobCommand: (
131
163
  input: CancelJobCommandInput,
132
164
  context: __SerdeContext
@@ -147,6 +179,10 @@ export declare const se_CreateSchedulingPolicyCommand: (
147
179
  input: CreateSchedulingPolicyCommandInput,
148
180
  context: __SerdeContext
149
181
  ) => Promise<__HttpRequest>;
182
+ export declare const se_CreateServiceEnvironmentCommand: (
183
+ input: CreateServiceEnvironmentCommandInput,
184
+ context: __SerdeContext
185
+ ) => Promise<__HttpRequest>;
150
186
  export declare const se_DeleteComputeEnvironmentCommand: (
151
187
  input: DeleteComputeEnvironmentCommandInput,
152
188
  context: __SerdeContext
@@ -163,6 +199,10 @@ export declare const se_DeleteSchedulingPolicyCommand: (
163
199
  input: DeleteSchedulingPolicyCommandInput,
164
200
  context: __SerdeContext
165
201
  ) => Promise<__HttpRequest>;
202
+ export declare const se_DeleteServiceEnvironmentCommand: (
203
+ input: DeleteServiceEnvironmentCommandInput,
204
+ context: __SerdeContext
205
+ ) => Promise<__HttpRequest>;
166
206
  export declare const se_DeregisterJobDefinitionCommand: (
167
207
  input: DeregisterJobDefinitionCommandInput,
168
208
  context: __SerdeContext
@@ -191,6 +231,14 @@ export declare const se_DescribeSchedulingPoliciesCommand: (
191
231
  input: DescribeSchedulingPoliciesCommandInput,
192
232
  context: __SerdeContext
193
233
  ) => Promise<__HttpRequest>;
234
+ export declare const se_DescribeServiceEnvironmentsCommand: (
235
+ input: DescribeServiceEnvironmentsCommandInput,
236
+ context: __SerdeContext
237
+ ) => Promise<__HttpRequest>;
238
+ export declare const se_DescribeServiceJobCommand: (
239
+ input: DescribeServiceJobCommandInput,
240
+ context: __SerdeContext
241
+ ) => Promise<__HttpRequest>;
194
242
  export declare const se_GetJobQueueSnapshotCommand: (
195
243
  input: GetJobQueueSnapshotCommandInput,
196
244
  context: __SerdeContext
@@ -211,6 +259,10 @@ export declare const se_ListSchedulingPoliciesCommand: (
211
259
  input: ListSchedulingPoliciesCommandInput,
212
260
  context: __SerdeContext
213
261
  ) => Promise<__HttpRequest>;
262
+ export declare const se_ListServiceJobsCommand: (
263
+ input: ListServiceJobsCommandInput,
264
+ context: __SerdeContext
265
+ ) => Promise<__HttpRequest>;
214
266
  export declare const se_ListTagsForResourceCommand: (
215
267
  input: ListTagsForResourceCommandInput,
216
268
  context: __SerdeContext
@@ -223,6 +275,10 @@ export declare const se_SubmitJobCommand: (
223
275
  input: SubmitJobCommandInput,
224
276
  context: __SerdeContext
225
277
  ) => Promise<__HttpRequest>;
278
+ export declare const se_SubmitServiceJobCommand: (
279
+ input: SubmitServiceJobCommandInput,
280
+ context: __SerdeContext
281
+ ) => Promise<__HttpRequest>;
226
282
  export declare const se_TagResourceCommand: (
227
283
  input: TagResourceCommandInput,
228
284
  context: __SerdeContext
@@ -231,6 +287,10 @@ export declare const se_TerminateJobCommand: (
231
287
  input: TerminateJobCommandInput,
232
288
  context: __SerdeContext
233
289
  ) => Promise<__HttpRequest>;
290
+ export declare const se_TerminateServiceJobCommand: (
291
+ input: TerminateServiceJobCommandInput,
292
+ context: __SerdeContext
293
+ ) => Promise<__HttpRequest>;
234
294
  export declare const se_UntagResourceCommand: (
235
295
  input: UntagResourceCommandInput,
236
296
  context: __SerdeContext
@@ -251,6 +311,10 @@ export declare const se_UpdateSchedulingPolicyCommand: (
251
311
  input: UpdateSchedulingPolicyCommandInput,
252
312
  context: __SerdeContext
253
313
  ) => Promise<__HttpRequest>;
314
+ export declare const se_UpdateServiceEnvironmentCommand: (
315
+ input: UpdateServiceEnvironmentCommandInput,
316
+ context: __SerdeContext
317
+ ) => Promise<__HttpRequest>;
254
318
  export declare const de_CancelJobCommand: (
255
319
  output: __HttpResponse,
256
320
  context: __SerdeContext
@@ -271,6 +335,10 @@ export declare const de_CreateSchedulingPolicyCommand: (
271
335
  output: __HttpResponse,
272
336
  context: __SerdeContext
273
337
  ) => Promise<CreateSchedulingPolicyCommandOutput>;
338
+ export declare const de_CreateServiceEnvironmentCommand: (
339
+ output: __HttpResponse,
340
+ context: __SerdeContext
341
+ ) => Promise<CreateServiceEnvironmentCommandOutput>;
274
342
  export declare const de_DeleteComputeEnvironmentCommand: (
275
343
  output: __HttpResponse,
276
344
  context: __SerdeContext
@@ -287,6 +355,10 @@ export declare const de_DeleteSchedulingPolicyCommand: (
287
355
  output: __HttpResponse,
288
356
  context: __SerdeContext
289
357
  ) => Promise<DeleteSchedulingPolicyCommandOutput>;
358
+ export declare const de_DeleteServiceEnvironmentCommand: (
359
+ output: __HttpResponse,
360
+ context: __SerdeContext
361
+ ) => Promise<DeleteServiceEnvironmentCommandOutput>;
290
362
  export declare const de_DeregisterJobDefinitionCommand: (
291
363
  output: __HttpResponse,
292
364
  context: __SerdeContext
@@ -315,6 +387,14 @@ export declare const de_DescribeSchedulingPoliciesCommand: (
315
387
  output: __HttpResponse,
316
388
  context: __SerdeContext
317
389
  ) => Promise<DescribeSchedulingPoliciesCommandOutput>;
390
+ export declare const de_DescribeServiceEnvironmentsCommand: (
391
+ output: __HttpResponse,
392
+ context: __SerdeContext
393
+ ) => Promise<DescribeServiceEnvironmentsCommandOutput>;
394
+ export declare const de_DescribeServiceJobCommand: (
395
+ output: __HttpResponse,
396
+ context: __SerdeContext
397
+ ) => Promise<DescribeServiceJobCommandOutput>;
318
398
  export declare const de_GetJobQueueSnapshotCommand: (
319
399
  output: __HttpResponse,
320
400
  context: __SerdeContext
@@ -335,6 +415,10 @@ export declare const de_ListSchedulingPoliciesCommand: (
335
415
  output: __HttpResponse,
336
416
  context: __SerdeContext
337
417
  ) => Promise<ListSchedulingPoliciesCommandOutput>;
418
+ export declare const de_ListServiceJobsCommand: (
419
+ output: __HttpResponse,
420
+ context: __SerdeContext
421
+ ) => Promise<ListServiceJobsCommandOutput>;
338
422
  export declare const de_ListTagsForResourceCommand: (
339
423
  output: __HttpResponse,
340
424
  context: __SerdeContext
@@ -347,6 +431,10 @@ export declare const de_SubmitJobCommand: (
347
431
  output: __HttpResponse,
348
432
  context: __SerdeContext
349
433
  ) => Promise<SubmitJobCommandOutput>;
434
+ export declare const de_SubmitServiceJobCommand: (
435
+ output: __HttpResponse,
436
+ context: __SerdeContext
437
+ ) => Promise<SubmitServiceJobCommandOutput>;
350
438
  export declare const de_TagResourceCommand: (
351
439
  output: __HttpResponse,
352
440
  context: __SerdeContext
@@ -355,6 +443,10 @@ export declare const de_TerminateJobCommand: (
355
443
  output: __HttpResponse,
356
444
  context: __SerdeContext
357
445
  ) => Promise<TerminateJobCommandOutput>;
446
+ export declare const de_TerminateServiceJobCommand: (
447
+ output: __HttpResponse,
448
+ context: __SerdeContext
449
+ ) => Promise<TerminateServiceJobCommandOutput>;
358
450
  export declare const de_UntagResourceCommand: (
359
451
  output: __HttpResponse,
360
452
  context: __SerdeContext
@@ -375,3 +467,7 @@ export declare const de_UpdateSchedulingPolicyCommand: (
375
467
  output: __HttpResponse,
376
468
  context: __SerdeContext
377
469
  ) => Promise<UpdateSchedulingPolicyCommandOutput>;
470
+ export declare const de_UpdateServiceEnvironmentCommand: (
471
+ output: __HttpResponse,
472
+ context: __SerdeContext
473
+ ) => Promise<UpdateServiceEnvironmentCommandOutput>;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-batch",
3
3
  "description": "AWS SDK for JavaScript Batch Client for Node.js, Browser and React Native",
4
- "version": "3.855.0",
4
+ "version": "3.857.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-batch",
@@ -20,38 +20,38 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
- "@aws-sdk/core": "3.855.0",
24
- "@aws-sdk/credential-provider-node": "3.855.0",
23
+ "@aws-sdk/core": "3.857.0",
24
+ "@aws-sdk/credential-provider-node": "3.857.0",
25
25
  "@aws-sdk/middleware-host-header": "3.840.0",
26
26
  "@aws-sdk/middleware-logger": "3.840.0",
27
27
  "@aws-sdk/middleware-recursion-detection": "3.840.0",
28
- "@aws-sdk/middleware-user-agent": "3.855.0",
28
+ "@aws-sdk/middleware-user-agent": "3.857.0",
29
29
  "@aws-sdk/region-config-resolver": "3.840.0",
30
30
  "@aws-sdk/types": "3.840.0",
31
31
  "@aws-sdk/util-endpoints": "3.848.0",
32
32
  "@aws-sdk/util-user-agent-browser": "3.840.0",
33
- "@aws-sdk/util-user-agent-node": "3.855.0",
33
+ "@aws-sdk/util-user-agent-node": "3.857.0",
34
34
  "@smithy/config-resolver": "^4.1.4",
35
- "@smithy/core": "^3.7.0",
35
+ "@smithy/core": "^3.7.2",
36
36
  "@smithy/fetch-http-handler": "^5.1.0",
37
37
  "@smithy/hash-node": "^4.0.4",
38
38
  "@smithy/invalid-dependency": "^4.0.4",
39
39
  "@smithy/middleware-content-length": "^4.0.4",
40
- "@smithy/middleware-endpoint": "^4.1.15",
41
- "@smithy/middleware-retry": "^4.1.16",
40
+ "@smithy/middleware-endpoint": "^4.1.17",
41
+ "@smithy/middleware-retry": "^4.1.18",
42
42
  "@smithy/middleware-serde": "^4.0.8",
43
43
  "@smithy/middleware-stack": "^4.0.4",
44
44
  "@smithy/node-config-provider": "^4.1.3",
45
45
  "@smithy/node-http-handler": "^4.1.0",
46
46
  "@smithy/protocol-http": "^5.1.2",
47
- "@smithy/smithy-client": "^4.4.7",
47
+ "@smithy/smithy-client": "^4.4.9",
48
48
  "@smithy/types": "^4.3.1",
49
49
  "@smithy/url-parser": "^4.0.4",
50
50
  "@smithy/util-base64": "^4.0.0",
51
51
  "@smithy/util-body-length-browser": "^4.0.0",
52
52
  "@smithy/util-body-length-node": "^4.0.0",
53
- "@smithy/util-defaults-mode-browser": "^4.0.23",
54
- "@smithy/util-defaults-mode-node": "^4.0.23",
53
+ "@smithy/util-defaults-mode-browser": "^4.0.25",
54
+ "@smithy/util-defaults-mode-node": "^4.0.25",
55
55
  "@smithy/util-endpoints": "^3.0.6",
56
56
  "@smithy/util-middleware": "^4.0.4",
57
57
  "@smithy/util-retry": "^4.0.6",