@aws-sdk/client-batch 3.750.0 → 3.757.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 (47) hide show
  1. package/README.md +48 -0
  2. package/dist-cjs/index.js +318 -0
  3. package/dist-es/Batch.js +12 -0
  4. package/dist-es/commands/CreateConsumableResourceCommand.js +22 -0
  5. package/dist-es/commands/DeleteConsumableResourceCommand.js +22 -0
  6. package/dist-es/commands/DescribeConsumableResourceCommand.js +22 -0
  7. package/dist-es/commands/ListConsumableResourcesCommand.js +22 -0
  8. package/dist-es/commands/ListJobsByConsumableResourceCommand.js +22 -0
  9. package/dist-es/commands/UpdateConsumableResourceCommand.js +22 -0
  10. package/dist-es/commands/index.js +6 -0
  11. package/dist-es/pagination/ListConsumableResourcesPaginator.js +4 -0
  12. package/dist-es/pagination/ListJobsByConsumableResourcePaginator.js +4 -0
  13. package/dist-es/pagination/index.js +2 -0
  14. package/dist-es/protocols/Aws_restJson1.js +186 -0
  15. package/dist-types/Batch.d.ts +43 -0
  16. package/dist-types/BatchClient.d.ts +8 -2
  17. package/dist-types/commands/CreateConsumableResourceCommand.d.ts +85 -0
  18. package/dist-types/commands/DeleteConsumableResourceCommand.d.ts +77 -0
  19. package/dist-types/commands/DescribeConsumableResourceCommand.d.ts +88 -0
  20. package/dist-types/commands/DescribeJobDefinitionsCommand.d.ts +16 -0
  21. package/dist-types/commands/DescribeJobsCommand.d.ts +16 -0
  22. package/dist-types/commands/ListConsumableResourcesCommand.d.ts +97 -0
  23. package/dist-types/commands/ListJobsByConsumableResourceCommand.d.ts +111 -0
  24. package/dist-types/commands/RegisterJobDefinitionCommand.d.ts +16 -0
  25. package/dist-types/commands/SubmitJobCommand.d.ts +16 -0
  26. package/dist-types/commands/UpdateConsumableResourceCommand.d.ts +84 -0
  27. package/dist-types/commands/index.d.ts +6 -0
  28. package/dist-types/models/models_0.d.ts +550 -1
  29. package/dist-types/pagination/ListConsumableResourcesPaginator.d.ts +7 -0
  30. package/dist-types/pagination/ListJobsByConsumableResourcePaginator.d.ts +7 -0
  31. package/dist-types/pagination/index.d.ts +2 -0
  32. package/dist-types/protocols/Aws_restJson1.d.ts +54 -0
  33. package/dist-types/ts3.4/Batch.d.ts +103 -0
  34. package/dist-types/ts3.4/BatchClient.d.ts +36 -0
  35. package/dist-types/ts3.4/commands/CreateConsumableResourceCommand.d.ts +51 -0
  36. package/dist-types/ts3.4/commands/DeleteConsumableResourceCommand.d.ts +51 -0
  37. package/dist-types/ts3.4/commands/DescribeConsumableResourceCommand.d.ts +51 -0
  38. package/dist-types/ts3.4/commands/ListConsumableResourcesCommand.d.ts +51 -0
  39. package/dist-types/ts3.4/commands/ListJobsByConsumableResourceCommand.d.ts +51 -0
  40. package/dist-types/ts3.4/commands/UpdateConsumableResourceCommand.d.ts +51 -0
  41. package/dist-types/ts3.4/commands/index.d.ts +6 -0
  42. package/dist-types/ts3.4/models/models_0.d.ts +94 -0
  43. package/dist-types/ts3.4/pagination/ListConsumableResourcesPaginator.d.ts +11 -0
  44. package/dist-types/ts3.4/pagination/ListJobsByConsumableResourcePaginator.d.ts +11 -0
  45. package/dist-types/ts3.4/pagination/index.d.ts +2 -0
  46. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +72 -0
  47. package/package.json +4 -2
@@ -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
+ ListJobsByConsumableResourceRequest,
10
+ ListJobsByConsumableResourceResponse,
11
+ } from "../models/models_0";
12
+ export { __MetadataBearer };
13
+ export { $Command };
14
+ export interface ListJobsByConsumableResourceCommandInput
15
+ extends ListJobsByConsumableResourceRequest {}
16
+ export interface ListJobsByConsumableResourceCommandOutput
17
+ extends ListJobsByConsumableResourceResponse,
18
+ __MetadataBearer {}
19
+ declare const ListJobsByConsumableResourceCommand_base: {
20
+ new (
21
+ input: ListJobsByConsumableResourceCommandInput
22
+ ): import("@smithy/smithy-client").CommandImpl<
23
+ ListJobsByConsumableResourceCommandInput,
24
+ ListJobsByConsumableResourceCommandOutput,
25
+ BatchClientResolvedConfig,
26
+ ServiceInputTypes,
27
+ ServiceOutputTypes
28
+ >;
29
+ new (
30
+ __0_0: ListJobsByConsumableResourceCommandInput
31
+ ): import("@smithy/smithy-client").CommandImpl<
32
+ ListJobsByConsumableResourceCommandInput,
33
+ ListJobsByConsumableResourceCommandOutput,
34
+ BatchClientResolvedConfig,
35
+ ServiceInputTypes,
36
+ ServiceOutputTypes
37
+ >;
38
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
39
+ };
40
+ export declare class ListJobsByConsumableResourceCommand extends ListJobsByConsumableResourceCommand_base {
41
+ protected static __types: {
42
+ api: {
43
+ input: ListJobsByConsumableResourceRequest;
44
+ output: ListJobsByConsumableResourceResponse;
45
+ };
46
+ sdk: {
47
+ input: ListJobsByConsumableResourceCommandInput;
48
+ output: ListJobsByConsumableResourceCommandOutput;
49
+ };
50
+ };
51
+ }
@@ -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
+ UpdateConsumableResourceRequest,
10
+ UpdateConsumableResourceResponse,
11
+ } from "../models/models_0";
12
+ export { __MetadataBearer };
13
+ export { $Command };
14
+ export interface UpdateConsumableResourceCommandInput
15
+ extends UpdateConsumableResourceRequest {}
16
+ export interface UpdateConsumableResourceCommandOutput
17
+ extends UpdateConsumableResourceResponse,
18
+ __MetadataBearer {}
19
+ declare const UpdateConsumableResourceCommand_base: {
20
+ new (
21
+ input: UpdateConsumableResourceCommandInput
22
+ ): import("@smithy/smithy-client").CommandImpl<
23
+ UpdateConsumableResourceCommandInput,
24
+ UpdateConsumableResourceCommandOutput,
25
+ BatchClientResolvedConfig,
26
+ ServiceInputTypes,
27
+ ServiceOutputTypes
28
+ >;
29
+ new (
30
+ __0_0: UpdateConsumableResourceCommandInput
31
+ ): import("@smithy/smithy-client").CommandImpl<
32
+ UpdateConsumableResourceCommandInput,
33
+ UpdateConsumableResourceCommandOutput,
34
+ BatchClientResolvedConfig,
35
+ ServiceInputTypes,
36
+ ServiceOutputTypes
37
+ >;
38
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
39
+ };
40
+ export declare class UpdateConsumableResourceCommand extends UpdateConsumableResourceCommand_base {
41
+ protected static __types: {
42
+ api: {
43
+ input: UpdateConsumableResourceRequest;
44
+ output: UpdateConsumableResourceResponse;
45
+ };
46
+ sdk: {
47
+ input: UpdateConsumableResourceCommandInput;
48
+ output: UpdateConsumableResourceCommandOutput;
49
+ };
50
+ };
51
+ }
@@ -1,17 +1,22 @@
1
1
  export * from "./CancelJobCommand";
2
2
  export * from "./CreateComputeEnvironmentCommand";
3
+ export * from "./CreateConsumableResourceCommand";
3
4
  export * from "./CreateJobQueueCommand";
4
5
  export * from "./CreateSchedulingPolicyCommand";
5
6
  export * from "./DeleteComputeEnvironmentCommand";
7
+ export * from "./DeleteConsumableResourceCommand";
6
8
  export * from "./DeleteJobQueueCommand";
7
9
  export * from "./DeleteSchedulingPolicyCommand";
8
10
  export * from "./DeregisterJobDefinitionCommand";
9
11
  export * from "./DescribeComputeEnvironmentsCommand";
12
+ export * from "./DescribeConsumableResourceCommand";
10
13
  export * from "./DescribeJobDefinitionsCommand";
11
14
  export * from "./DescribeJobQueuesCommand";
12
15
  export * from "./DescribeJobsCommand";
13
16
  export * from "./DescribeSchedulingPoliciesCommand";
14
17
  export * from "./GetJobQueueSnapshotCommand";
18
+ export * from "./ListConsumableResourcesCommand";
19
+ export * from "./ListJobsByConsumableResourceCommand";
15
20
  export * from "./ListJobsCommand";
16
21
  export * from "./ListSchedulingPoliciesCommand";
17
22
  export * from "./ListTagsForResourceCommand";
@@ -21,5 +26,6 @@ export * from "./TagResourceCommand";
21
26
  export * from "./TerminateJobCommand";
22
27
  export * from "./UntagResourceCommand";
23
28
  export * from "./UpdateComputeEnvironmentCommand";
29
+ export * from "./UpdateConsumableResourceCommand";
24
30
  export * from "./UpdateJobQueueCommand";
25
31
  export * from "./UpdateSchedulingPolicyCommand";
@@ -151,6 +151,16 @@ export interface CreateComputeEnvironmentResponse {
151
151
  computeEnvironmentName?: string | undefined;
152
152
  computeEnvironmentArn?: string | undefined;
153
153
  }
154
+ export interface CreateConsumableResourceRequest {
155
+ consumableResourceName: string | undefined;
156
+ totalQuantity?: number | undefined;
157
+ resourceType?: string | undefined;
158
+ tags?: Record<string, string> | undefined;
159
+ }
160
+ export interface CreateConsumableResourceResponse {
161
+ consumableResourceName: string | undefined;
162
+ consumableResourceArn: string | undefined;
163
+ }
154
164
  export interface ComputeEnvironmentOrder {
155
165
  order: number | undefined;
156
166
  computeEnvironment: string | undefined;
@@ -211,6 +221,10 @@ export interface DeleteComputeEnvironmentRequest {
211
221
  computeEnvironment: string | undefined;
212
222
  }
213
223
  export interface DeleteComputeEnvironmentResponse {}
224
+ export interface DeleteConsumableResourceRequest {
225
+ consumableResource: string | undefined;
226
+ }
227
+ export interface DeleteConsumableResourceResponse {}
214
228
  export interface DeleteJobQueueRequest {
215
229
  jobQueue: string | undefined;
216
230
  }
@@ -269,6 +283,19 @@ export interface DescribeComputeEnvironmentsResponse {
269
283
  computeEnvironments?: ComputeEnvironmentDetail[] | undefined;
270
284
  nextToken?: string | undefined;
271
285
  }
286
+ export interface DescribeConsumableResourceRequest {
287
+ consumableResource: string | undefined;
288
+ }
289
+ export interface DescribeConsumableResourceResponse {
290
+ consumableResourceName: string | undefined;
291
+ consumableResourceArn: string | undefined;
292
+ totalQuantity?: number | undefined;
293
+ inUseQuantity?: number | undefined;
294
+ availableQuantity?: number | undefined;
295
+ resourceType?: string | undefined;
296
+ createdAt?: number | undefined;
297
+ tags?: Record<string, string> | undefined;
298
+ }
272
299
  export interface DescribeJobDefinitionsRequest {
273
300
  jobDefinitions?: string[] | undefined;
274
301
  maxResults?: number | undefined;
@@ -276,6 +303,13 @@ export interface DescribeJobDefinitionsRequest {
276
303
  status?: string | undefined;
277
304
  nextToken?: string | undefined;
278
305
  }
306
+ export interface ConsumableResourceRequirement {
307
+ consumableResource?: string | undefined;
308
+ quantity?: number | undefined;
309
+ }
310
+ export interface ConsumableResourceProperties {
311
+ consumableResourceList?: ConsumableResourceRequirement[] | undefined;
312
+ }
279
313
  export interface KeyValuePair {
280
314
  name?: string | undefined;
281
315
  value?: string | undefined;
@@ -536,6 +570,7 @@ export interface NodeRangeProperty {
536
570
  instanceTypes?: string[] | undefined;
537
571
  ecsProperties?: EcsProperties | undefined;
538
572
  eksProperties?: EksProperties | undefined;
573
+ consumableResourceProperties?: ConsumableResourceProperties | undefined;
539
574
  }
540
575
  export interface NodeProperties {
541
576
  numNodes: number | undefined;
@@ -584,6 +619,7 @@ export interface JobDefinition {
584
619
  ecsProperties?: EcsProperties | undefined;
585
620
  eksProperties?: EksProperties | undefined;
586
621
  containerOrchestrationType?: OrchestrationType | undefined;
622
+ consumableResourceProperties?: ConsumableResourceProperties | undefined;
587
623
  }
588
624
  export interface DescribeJobDefinitionsResponse {
589
625
  jobDefinitions?: JobDefinition[] | undefined;
@@ -786,6 +822,7 @@ export interface JobDetail {
786
822
  ecsProperties?: EcsPropertiesDetail | undefined;
787
823
  isCancelled?: boolean | undefined;
788
824
  isTerminated?: boolean | undefined;
825
+ consumableResourceProperties?: ConsumableResourceProperties | undefined;
789
826
  }
790
827
  export interface DescribeJobsResponse {
791
828
  jobs?: JobDetail[] | undefined;
@@ -820,6 +857,22 @@ export interface KeyValuesPair {
820
857
  name?: string | undefined;
821
858
  values?: string[] | undefined;
822
859
  }
860
+ export interface ListConsumableResourcesRequest {
861
+ filters?: KeyValuesPair[] | undefined;
862
+ maxResults?: number | undefined;
863
+ nextToken?: string | undefined;
864
+ }
865
+ export interface ConsumableResourceSummary {
866
+ consumableResourceArn: string | undefined;
867
+ consumableResourceName: string | undefined;
868
+ totalQuantity?: number | undefined;
869
+ inUseQuantity?: number | undefined;
870
+ resourceType?: string | undefined;
871
+ }
872
+ export interface ListConsumableResourcesResponse {
873
+ consumableResources: ConsumableResourceSummary[] | undefined;
874
+ nextToken?: string | undefined;
875
+ }
823
876
  export interface ListJobsRequest {
824
877
  jobQueue?: string | undefined;
825
878
  arrayJobId?: string | undefined;
@@ -856,6 +909,29 @@ export interface ListJobsResponse {
856
909
  jobSummaryList: JobSummary[] | undefined;
857
910
  nextToken?: string | undefined;
858
911
  }
912
+ export interface ListJobsByConsumableResourceRequest {
913
+ consumableResource: string | undefined;
914
+ filters?: KeyValuesPair[] | undefined;
915
+ maxResults?: number | undefined;
916
+ nextToken?: string | undefined;
917
+ }
918
+ export interface ListJobsByConsumableResourceSummary {
919
+ jobArn: string | undefined;
920
+ jobQueueArn: string | undefined;
921
+ jobName: string | undefined;
922
+ jobDefinitionArn?: string | undefined;
923
+ shareIdentifier?: string | undefined;
924
+ jobStatus: string | undefined;
925
+ quantity: number | undefined;
926
+ statusReason?: string | undefined;
927
+ startedAt?: number | undefined;
928
+ createdAt: number | undefined;
929
+ consumableResourceProperties: ConsumableResourceProperties | undefined;
930
+ }
931
+ export interface ListJobsByConsumableResourceResponse {
932
+ jobs: ListJobsByConsumableResourceSummary[] | undefined;
933
+ nextToken?: string | undefined;
934
+ }
859
935
  export interface ListSchedulingPoliciesRequest {
860
936
  maxResults?: number | undefined;
861
937
  nextToken?: string | undefined;
@@ -893,6 +969,7 @@ export interface RegisterJobDefinitionRequest {
893
969
  platformCapabilities?: PlatformCapability[] | undefined;
894
970
  eksProperties?: EksProperties | undefined;
895
971
  ecsProperties?: EcsProperties | undefined;
972
+ consumableResourceProperties?: ConsumableResourceProperties | undefined;
896
973
  }
897
974
  export interface RegisterJobDefinitionResponse {
898
975
  jobDefinitionName: string | undefined;
@@ -941,6 +1018,9 @@ export interface NodePropertyOverride {
941
1018
  ecsPropertiesOverride?: EcsPropertiesOverride | undefined;
942
1019
  instanceTypes?: string[] | undefined;
943
1020
  eksPropertiesOverride?: EksPropertiesOverride | undefined;
1021
+ consumableResourcePropertiesOverride?:
1022
+ | ConsumableResourceProperties
1023
+ | undefined;
944
1024
  }
945
1025
  export interface NodeOverrides {
946
1026
  numNodes?: number | undefined;
@@ -963,6 +1043,9 @@ export interface SubmitJobRequest {
963
1043
  tags?: Record<string, string> | undefined;
964
1044
  eksPropertiesOverride?: EksPropertiesOverride | undefined;
965
1045
  ecsPropertiesOverride?: EcsPropertiesOverride | undefined;
1046
+ consumableResourcePropertiesOverride?:
1047
+ | ConsumableResourceProperties
1048
+ | undefined;
966
1049
  }
967
1050
  export interface SubmitJobResponse {
968
1051
  jobArn?: string | undefined;
@@ -1023,6 +1106,17 @@ export interface UpdateComputeEnvironmentResponse {
1023
1106
  computeEnvironmentName?: string | undefined;
1024
1107
  computeEnvironmentArn?: string | undefined;
1025
1108
  }
1109
+ export interface UpdateConsumableResourceRequest {
1110
+ consumableResource: string | undefined;
1111
+ operation?: string | undefined;
1112
+ quantity?: number | undefined;
1113
+ clientToken?: string | undefined;
1114
+ }
1115
+ export interface UpdateConsumableResourceResponse {
1116
+ consumableResourceName: string | undefined;
1117
+ consumableResourceArn: string | undefined;
1118
+ totalQuantity?: number | undefined;
1119
+ }
1026
1120
  export interface UpdateJobQueueRequest {
1027
1121
  jobQueue: string | undefined;
1028
1122
  state?: JQState | undefined;
@@ -0,0 +1,11 @@
1
+ import { Paginator } from "@smithy/types";
2
+ import {
3
+ ListConsumableResourcesCommandInput,
4
+ ListConsumableResourcesCommandOutput,
5
+ } from "../commands/ListConsumableResourcesCommand";
6
+ import { BatchPaginationConfiguration } from "./Interfaces";
7
+ export declare const paginateListConsumableResources: (
8
+ config: BatchPaginationConfiguration,
9
+ input: ListConsumableResourcesCommandInput,
10
+ ...rest: any[]
11
+ ) => Paginator<ListConsumableResourcesCommandOutput>;
@@ -0,0 +1,11 @@
1
+ import { Paginator } from "@smithy/types";
2
+ import {
3
+ ListJobsByConsumableResourceCommandInput,
4
+ ListJobsByConsumableResourceCommandOutput,
5
+ } from "../commands/ListJobsByConsumableResourceCommand";
6
+ import { BatchPaginationConfiguration } from "./Interfaces";
7
+ export declare const paginateListJobsByConsumableResource: (
8
+ config: BatchPaginationConfiguration,
9
+ input: ListJobsByConsumableResourceCommandInput,
10
+ ...rest: any[]
11
+ ) => Paginator<ListJobsByConsumableResourceCommandOutput>;
@@ -2,5 +2,7 @@ export * from "./DescribeComputeEnvironmentsPaginator";
2
2
  export * from "./DescribeJobDefinitionsPaginator";
3
3
  export * from "./DescribeJobQueuesPaginator";
4
4
  export * from "./Interfaces";
5
+ export * from "./ListConsumableResourcesPaginator";
6
+ export * from "./ListJobsByConsumableResourcePaginator";
5
7
  export * from "./ListJobsPaginator";
6
8
  export * from "./ListSchedulingPoliciesPaginator";
@@ -11,6 +11,10 @@ import {
11
11
  CreateComputeEnvironmentCommandInput,
12
12
  CreateComputeEnvironmentCommandOutput,
13
13
  } from "../commands/CreateComputeEnvironmentCommand";
14
+ import {
15
+ CreateConsumableResourceCommandInput,
16
+ CreateConsumableResourceCommandOutput,
17
+ } from "../commands/CreateConsumableResourceCommand";
14
18
  import {
15
19
  CreateJobQueueCommandInput,
16
20
  CreateJobQueueCommandOutput,
@@ -23,6 +27,10 @@ import {
23
27
  DeleteComputeEnvironmentCommandInput,
24
28
  DeleteComputeEnvironmentCommandOutput,
25
29
  } from "../commands/DeleteComputeEnvironmentCommand";
30
+ import {
31
+ DeleteConsumableResourceCommandInput,
32
+ DeleteConsumableResourceCommandOutput,
33
+ } from "../commands/DeleteConsumableResourceCommand";
26
34
  import {
27
35
  DeleteJobQueueCommandInput,
28
36
  DeleteJobQueueCommandOutput,
@@ -39,6 +47,10 @@ import {
39
47
  DescribeComputeEnvironmentsCommandInput,
40
48
  DescribeComputeEnvironmentsCommandOutput,
41
49
  } from "../commands/DescribeComputeEnvironmentsCommand";
50
+ import {
51
+ DescribeConsumableResourceCommandInput,
52
+ DescribeConsumableResourceCommandOutput,
53
+ } from "../commands/DescribeConsumableResourceCommand";
42
54
  import {
43
55
  DescribeJobDefinitionsCommandInput,
44
56
  DescribeJobDefinitionsCommandOutput,
@@ -59,6 +71,14 @@ import {
59
71
  GetJobQueueSnapshotCommandInput,
60
72
  GetJobQueueSnapshotCommandOutput,
61
73
  } from "../commands/GetJobQueueSnapshotCommand";
74
+ import {
75
+ ListConsumableResourcesCommandInput,
76
+ ListConsumableResourcesCommandOutput,
77
+ } from "../commands/ListConsumableResourcesCommand";
78
+ import {
79
+ ListJobsByConsumableResourceCommandInput,
80
+ ListJobsByConsumableResourceCommandOutput,
81
+ } from "../commands/ListJobsByConsumableResourceCommand";
62
82
  import {
63
83
  ListJobsCommandInput,
64
84
  ListJobsCommandOutput,
@@ -95,6 +115,10 @@ import {
95
115
  UpdateComputeEnvironmentCommandInput,
96
116
  UpdateComputeEnvironmentCommandOutput,
97
117
  } from "../commands/UpdateComputeEnvironmentCommand";
118
+ import {
119
+ UpdateConsumableResourceCommandInput,
120
+ UpdateConsumableResourceCommandOutput,
121
+ } from "../commands/UpdateConsumableResourceCommand";
98
122
  import {
99
123
  UpdateJobQueueCommandInput,
100
124
  UpdateJobQueueCommandOutput,
@@ -111,6 +135,10 @@ export declare const se_CreateComputeEnvironmentCommand: (
111
135
  input: CreateComputeEnvironmentCommandInput,
112
136
  context: __SerdeContext
113
137
  ) => Promise<__HttpRequest>;
138
+ export declare const se_CreateConsumableResourceCommand: (
139
+ input: CreateConsumableResourceCommandInput,
140
+ context: __SerdeContext
141
+ ) => Promise<__HttpRequest>;
114
142
  export declare const se_CreateJobQueueCommand: (
115
143
  input: CreateJobQueueCommandInput,
116
144
  context: __SerdeContext
@@ -123,6 +151,10 @@ export declare const se_DeleteComputeEnvironmentCommand: (
123
151
  input: DeleteComputeEnvironmentCommandInput,
124
152
  context: __SerdeContext
125
153
  ) => Promise<__HttpRequest>;
154
+ export declare const se_DeleteConsumableResourceCommand: (
155
+ input: DeleteConsumableResourceCommandInput,
156
+ context: __SerdeContext
157
+ ) => Promise<__HttpRequest>;
126
158
  export declare const se_DeleteJobQueueCommand: (
127
159
  input: DeleteJobQueueCommandInput,
128
160
  context: __SerdeContext
@@ -139,6 +171,10 @@ export declare const se_DescribeComputeEnvironmentsCommand: (
139
171
  input: DescribeComputeEnvironmentsCommandInput,
140
172
  context: __SerdeContext
141
173
  ) => Promise<__HttpRequest>;
174
+ export declare const se_DescribeConsumableResourceCommand: (
175
+ input: DescribeConsumableResourceCommandInput,
176
+ context: __SerdeContext
177
+ ) => Promise<__HttpRequest>;
142
178
  export declare const se_DescribeJobDefinitionsCommand: (
143
179
  input: DescribeJobDefinitionsCommandInput,
144
180
  context: __SerdeContext
@@ -159,10 +195,18 @@ export declare const se_GetJobQueueSnapshotCommand: (
159
195
  input: GetJobQueueSnapshotCommandInput,
160
196
  context: __SerdeContext
161
197
  ) => Promise<__HttpRequest>;
198
+ export declare const se_ListConsumableResourcesCommand: (
199
+ input: ListConsumableResourcesCommandInput,
200
+ context: __SerdeContext
201
+ ) => Promise<__HttpRequest>;
162
202
  export declare const se_ListJobsCommand: (
163
203
  input: ListJobsCommandInput,
164
204
  context: __SerdeContext
165
205
  ) => Promise<__HttpRequest>;
206
+ export declare const se_ListJobsByConsumableResourceCommand: (
207
+ input: ListJobsByConsumableResourceCommandInput,
208
+ context: __SerdeContext
209
+ ) => Promise<__HttpRequest>;
166
210
  export declare const se_ListSchedulingPoliciesCommand: (
167
211
  input: ListSchedulingPoliciesCommandInput,
168
212
  context: __SerdeContext
@@ -195,6 +239,10 @@ export declare const se_UpdateComputeEnvironmentCommand: (
195
239
  input: UpdateComputeEnvironmentCommandInput,
196
240
  context: __SerdeContext
197
241
  ) => Promise<__HttpRequest>;
242
+ export declare const se_UpdateConsumableResourceCommand: (
243
+ input: UpdateConsumableResourceCommandInput,
244
+ context: __SerdeContext
245
+ ) => Promise<__HttpRequest>;
198
246
  export declare const se_UpdateJobQueueCommand: (
199
247
  input: UpdateJobQueueCommandInput,
200
248
  context: __SerdeContext
@@ -211,6 +259,10 @@ export declare const de_CreateComputeEnvironmentCommand: (
211
259
  output: __HttpResponse,
212
260
  context: __SerdeContext
213
261
  ) => Promise<CreateComputeEnvironmentCommandOutput>;
262
+ export declare const de_CreateConsumableResourceCommand: (
263
+ output: __HttpResponse,
264
+ context: __SerdeContext
265
+ ) => Promise<CreateConsumableResourceCommandOutput>;
214
266
  export declare const de_CreateJobQueueCommand: (
215
267
  output: __HttpResponse,
216
268
  context: __SerdeContext
@@ -223,6 +275,10 @@ export declare const de_DeleteComputeEnvironmentCommand: (
223
275
  output: __HttpResponse,
224
276
  context: __SerdeContext
225
277
  ) => Promise<DeleteComputeEnvironmentCommandOutput>;
278
+ export declare const de_DeleteConsumableResourceCommand: (
279
+ output: __HttpResponse,
280
+ context: __SerdeContext
281
+ ) => Promise<DeleteConsumableResourceCommandOutput>;
226
282
  export declare const de_DeleteJobQueueCommand: (
227
283
  output: __HttpResponse,
228
284
  context: __SerdeContext
@@ -239,6 +295,10 @@ export declare const de_DescribeComputeEnvironmentsCommand: (
239
295
  output: __HttpResponse,
240
296
  context: __SerdeContext
241
297
  ) => Promise<DescribeComputeEnvironmentsCommandOutput>;
298
+ export declare const de_DescribeConsumableResourceCommand: (
299
+ output: __HttpResponse,
300
+ context: __SerdeContext
301
+ ) => Promise<DescribeConsumableResourceCommandOutput>;
242
302
  export declare const de_DescribeJobDefinitionsCommand: (
243
303
  output: __HttpResponse,
244
304
  context: __SerdeContext
@@ -259,10 +319,18 @@ export declare const de_GetJobQueueSnapshotCommand: (
259
319
  output: __HttpResponse,
260
320
  context: __SerdeContext
261
321
  ) => Promise<GetJobQueueSnapshotCommandOutput>;
322
+ export declare const de_ListConsumableResourcesCommand: (
323
+ output: __HttpResponse,
324
+ context: __SerdeContext
325
+ ) => Promise<ListConsumableResourcesCommandOutput>;
262
326
  export declare const de_ListJobsCommand: (
263
327
  output: __HttpResponse,
264
328
  context: __SerdeContext
265
329
  ) => Promise<ListJobsCommandOutput>;
330
+ export declare const de_ListJobsByConsumableResourceCommand: (
331
+ output: __HttpResponse,
332
+ context: __SerdeContext
333
+ ) => Promise<ListJobsByConsumableResourceCommandOutput>;
266
334
  export declare const de_ListSchedulingPoliciesCommand: (
267
335
  output: __HttpResponse,
268
336
  context: __SerdeContext
@@ -295,6 +363,10 @@ export declare const de_UpdateComputeEnvironmentCommand: (
295
363
  output: __HttpResponse,
296
364
  context: __SerdeContext
297
365
  ) => Promise<UpdateComputeEnvironmentCommandOutput>;
366
+ export declare const de_UpdateConsumableResourceCommand: (
367
+ output: __HttpResponse,
368
+ context: __SerdeContext
369
+ ) => Promise<UpdateConsumableResourceCommandOutput>;
298
370
  export declare const de_UpdateJobQueueCommand: (
299
371
  output: __HttpResponse,
300
372
  context: __SerdeContext
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.750.0",
4
+ "version": "3.757.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",
@@ -56,7 +56,9 @@
56
56
  "@smithy/util-middleware": "^4.0.1",
57
57
  "@smithy/util-retry": "^4.0.1",
58
58
  "@smithy/util-utf8": "^4.0.0",
59
- "tslib": "^2.6.2"
59
+ "@types/uuid": "^9.0.1",
60
+ "tslib": "^2.6.2",
61
+ "uuid": "^9.0.1"
60
62
  },
61
63
  "devDependencies": {
62
64
  "@tsconfig/node18": "18.2.4",