@aws-sdk/client-batch 3.298.0 → 3.300.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 (25) hide show
  1. package/dist-types/commands/CancelJobCommand.d.ts +4 -0
  2. package/dist-types/commands/CreateComputeEnvironmentCommand.d.ts +51 -0
  3. package/dist-types/commands/CreateJobQueueCommand.d.ts +15 -0
  4. package/dist-types/commands/CreateSchedulingPolicyCommand.d.ts +16 -0
  5. package/dist-types/commands/DeleteComputeEnvironmentCommand.d.ts +3 -0
  6. package/dist-types/commands/DeleteJobQueueCommand.d.ts +3 -0
  7. package/dist-types/commands/DeleteSchedulingPolicyCommand.d.ts +3 -0
  8. package/dist-types/commands/DeregisterJobDefinitionCommand.d.ts +3 -0
  9. package/dist-types/commands/DescribeComputeEnvironmentsCommand.d.ts +7 -0
  10. package/dist-types/commands/DescribeJobDefinitionsCommand.d.ts +9 -0
  11. package/dist-types/commands/DescribeJobQueuesCommand.d.ts +7 -0
  12. package/dist-types/commands/DescribeJobsCommand.d.ts +5 -0
  13. package/dist-types/commands/DescribeSchedulingPoliciesCommand.d.ts +5 -0
  14. package/dist-types/commands/ListJobsCommand.d.ts +16 -0
  15. package/dist-types/commands/ListSchedulingPoliciesCommand.d.ts +4 -0
  16. package/dist-types/commands/ListTagsForResourceCommand.d.ts +3 -0
  17. package/dist-types/commands/RegisterJobDefinitionCommand.d.ts +319 -0
  18. package/dist-types/commands/SubmitJobCommand.d.ts +119 -0
  19. package/dist-types/commands/TagResourceCommand.d.ts +6 -0
  20. package/dist-types/commands/TerminateJobCommand.d.ts +4 -0
  21. package/dist-types/commands/UntagResourceCommand.d.ts +6 -0
  22. package/dist-types/commands/UpdateComputeEnvironmentCommand.d.ts +47 -0
  23. package/dist-types/commands/UpdateJobQueueCommand.d.ts +12 -0
  24. package/dist-types/commands/UpdateSchedulingPolicyCommand.d.ts +13 -0
  25. package/package.json +12 -12
@@ -38,6 +38,10 @@ export interface CancelJobCommandOutput extends CancelJobResponse, __MetadataBea
38
38
  * import { BatchClient, CancelJobCommand } from "@aws-sdk/client-batch"; // ES Modules import
39
39
  * // const { BatchClient, CancelJobCommand } = require("@aws-sdk/client-batch"); // CommonJS import
40
40
  * const client = new BatchClient(config);
41
+ * const input = {
42
+ * jobId: "STRING_VALUE", // required
43
+ * reason: "STRING_VALUE", // required
44
+ * };
41
45
  * const command = new CancelJobCommand(input);
42
46
  * const response = await client.send(command);
43
47
  * ```
@@ -104,6 +104,57 @@ export interface CreateComputeEnvironmentCommandOutput extends CreateComputeEnvi
104
104
  * import { BatchClient, CreateComputeEnvironmentCommand } from "@aws-sdk/client-batch"; // ES Modules import
105
105
  * // const { BatchClient, CreateComputeEnvironmentCommand } = require("@aws-sdk/client-batch"); // CommonJS import
106
106
  * const client = new BatchClient(config);
107
+ * const input = {
108
+ * computeEnvironmentName: "STRING_VALUE", // required
109
+ * type: "MANAGED" || "UNMANAGED", // required
110
+ * state: "ENABLED" || "DISABLED",
111
+ * unmanagedvCpus: Number("int"),
112
+ * computeResources: {
113
+ * type: "EC2" || "SPOT" || "FARGATE" || "FARGATE_SPOT", // required
114
+ * allocationStrategy: "BEST_FIT" || "BEST_FIT_PROGRESSIVE" || "SPOT_CAPACITY_OPTIMIZED",
115
+ * minvCpus: Number("int"),
116
+ * maxvCpus: Number("int"), // required
117
+ * desiredvCpus: Number("int"),
118
+ * instanceTypes: [
119
+ * "STRING_VALUE",
120
+ * ],
121
+ * imageId: "STRING_VALUE",
122
+ * subnets: [ // required
123
+ * "STRING_VALUE",
124
+ * ],
125
+ * securityGroupIds: [
126
+ * "STRING_VALUE",
127
+ * ],
128
+ * ec2KeyPair: "STRING_VALUE",
129
+ * instanceRole: "STRING_VALUE",
130
+ * tags: {
131
+ * "<keys>": "STRING_VALUE",
132
+ * },
133
+ * placementGroup: "STRING_VALUE",
134
+ * bidPercentage: Number("int"),
135
+ * spotIamFleetRole: "STRING_VALUE",
136
+ * launchTemplate: {
137
+ * launchTemplateId: "STRING_VALUE",
138
+ * launchTemplateName: "STRING_VALUE",
139
+ * version: "STRING_VALUE",
140
+ * },
141
+ * ec2Configuration: [
142
+ * {
143
+ * imageType: "STRING_VALUE", // required
144
+ * imageIdOverride: "STRING_VALUE",
145
+ * imageKubernetesVersion: "STRING_VALUE",
146
+ * },
147
+ * ],
148
+ * },
149
+ * serviceRole: "STRING_VALUE",
150
+ * tags: {
151
+ * "<keys>": "STRING_VALUE",
152
+ * },
153
+ * eksConfiguration: {
154
+ * eksClusterArn: "STRING_VALUE", // required
155
+ * kubernetesNamespace: "STRING_VALUE", // required
156
+ * },
157
+ * };
107
158
  * const command = new CreateComputeEnvironmentCommand(input);
108
159
  * const response = await client.send(command);
109
160
  * ```
@@ -31,6 +31,21 @@ export interface CreateJobQueueCommandOutput extends CreateJobQueueResponse, __M
31
31
  * import { BatchClient, CreateJobQueueCommand } from "@aws-sdk/client-batch"; // ES Modules import
32
32
  * // const { BatchClient, CreateJobQueueCommand } = require("@aws-sdk/client-batch"); // CommonJS import
33
33
  * const client = new BatchClient(config);
34
+ * const input = {
35
+ * jobQueueName: "STRING_VALUE", // required
36
+ * state: "ENABLED" || "DISABLED",
37
+ * schedulingPolicyArn: "STRING_VALUE",
38
+ * priority: Number("int"), // required
39
+ * computeEnvironmentOrder: [ // required
40
+ * {
41
+ * order: Number("int"), // required
42
+ * computeEnvironment: "STRING_VALUE", // required
43
+ * },
44
+ * ],
45
+ * tags: {
46
+ * "<keys>": "STRING_VALUE",
47
+ * },
48
+ * };
34
49
  * const command = new CreateJobQueueCommand(input);
35
50
  * const response = await client.send(command);
36
51
  * ```
@@ -26,6 +26,22 @@ export interface CreateSchedulingPolicyCommandOutput extends CreateSchedulingPol
26
26
  * import { BatchClient, CreateSchedulingPolicyCommand } from "@aws-sdk/client-batch"; // ES Modules import
27
27
  * // const { BatchClient, CreateSchedulingPolicyCommand } = require("@aws-sdk/client-batch"); // CommonJS import
28
28
  * const client = new BatchClient(config);
29
+ * const input = {
30
+ * name: "STRING_VALUE", // required
31
+ * fairsharePolicy: {
32
+ * shareDecaySeconds: Number("int"),
33
+ * computeReservation: Number("int"),
34
+ * shareDistribution: [
35
+ * {
36
+ * shareIdentifier: "STRING_VALUE", // required
37
+ * weightFactor: Number("float"),
38
+ * },
39
+ * ],
40
+ * },
41
+ * tags: {
42
+ * "<keys>": "STRING_VALUE",
43
+ * },
44
+ * };
29
45
  * const command = new CreateSchedulingPolicyCommand(input);
30
46
  * const response = await client.send(command);
31
47
  * ```
@@ -29,6 +29,9 @@ export interface DeleteComputeEnvironmentCommandOutput extends DeleteComputeEnvi
29
29
  * import { BatchClient, DeleteComputeEnvironmentCommand } from "@aws-sdk/client-batch"; // ES Modules import
30
30
  * // const { BatchClient, DeleteComputeEnvironmentCommand } = require("@aws-sdk/client-batch"); // CommonJS import
31
31
  * const client = new BatchClient(config);
32
+ * const input = {
33
+ * computeEnvironment: "STRING_VALUE", // required
34
+ * };
32
35
  * const command = new DeleteComputeEnvironmentCommand(input);
33
36
  * const response = await client.send(command);
34
37
  * ```
@@ -29,6 +29,9 @@ export interface DeleteJobQueueCommandOutput extends DeleteJobQueueResponse, __M
29
29
  * import { BatchClient, DeleteJobQueueCommand } from "@aws-sdk/client-batch"; // ES Modules import
30
30
  * // const { BatchClient, DeleteJobQueueCommand } = require("@aws-sdk/client-batch"); // CommonJS import
31
31
  * const client = new BatchClient(config);
32
+ * const input = {
33
+ * jobQueue: "STRING_VALUE", // required
34
+ * };
32
35
  * const command = new DeleteJobQueueCommand(input);
33
36
  * const response = await client.send(command);
34
37
  * ```
@@ -27,6 +27,9 @@ export interface DeleteSchedulingPolicyCommandOutput extends DeleteSchedulingPol
27
27
  * import { BatchClient, DeleteSchedulingPolicyCommand } from "@aws-sdk/client-batch"; // ES Modules import
28
28
  * // const { BatchClient, DeleteSchedulingPolicyCommand } = require("@aws-sdk/client-batch"); // CommonJS import
29
29
  * const client = new BatchClient(config);
30
+ * const input = {
31
+ * arn: "STRING_VALUE", // required
32
+ * };
30
33
  * const command = new DeleteSchedulingPolicyCommand(input);
31
34
  * const response = await client.send(command);
32
35
  * ```
@@ -26,6 +26,9 @@ export interface DeregisterJobDefinitionCommandOutput extends DeregisterJobDefin
26
26
  * import { BatchClient, DeregisterJobDefinitionCommand } from "@aws-sdk/client-batch"; // ES Modules import
27
27
  * // const { BatchClient, DeregisterJobDefinitionCommand } = require("@aws-sdk/client-batch"); // CommonJS import
28
28
  * const client = new BatchClient(config);
29
+ * const input = {
30
+ * jobDefinition: "STRING_VALUE", // required
31
+ * };
29
32
  * const command = new DeregisterJobDefinitionCommand(input);
30
33
  * const response = await client.send(command);
31
34
  * ```
@@ -29,6 +29,13 @@ export interface DescribeComputeEnvironmentsCommandOutput extends DescribeComput
29
29
  * import { BatchClient, DescribeComputeEnvironmentsCommand } from "@aws-sdk/client-batch"; // ES Modules import
30
30
  * // const { BatchClient, DescribeComputeEnvironmentsCommand } = require("@aws-sdk/client-batch"); // CommonJS import
31
31
  * const client = new BatchClient(config);
32
+ * const input = {
33
+ * computeEnvironments: [
34
+ * "STRING_VALUE",
35
+ * ],
36
+ * maxResults: Number("int"),
37
+ * nextToken: "STRING_VALUE",
38
+ * };
32
39
  * const command = new DescribeComputeEnvironmentsCommand(input);
33
40
  * const response = await client.send(command);
34
41
  * ```
@@ -27,6 +27,15 @@ export interface DescribeJobDefinitionsCommandOutput extends DescribeJobDefiniti
27
27
  * import { BatchClient, DescribeJobDefinitionsCommand } from "@aws-sdk/client-batch"; // ES Modules import
28
28
  * // const { BatchClient, DescribeJobDefinitionsCommand } = require("@aws-sdk/client-batch"); // CommonJS import
29
29
  * const client = new BatchClient(config);
30
+ * const input = {
31
+ * jobDefinitions: [
32
+ * "STRING_VALUE",
33
+ * ],
34
+ * maxResults: Number("int"),
35
+ * jobDefinitionName: "STRING_VALUE",
36
+ * status: "STRING_VALUE",
37
+ * nextToken: "STRING_VALUE",
38
+ * };
30
39
  * const command = new DescribeJobDefinitionsCommand(input);
31
40
  * const response = await client.send(command);
32
41
  * ```
@@ -26,6 +26,13 @@ export interface DescribeJobQueuesCommandOutput extends DescribeJobQueuesRespons
26
26
  * import { BatchClient, DescribeJobQueuesCommand } from "@aws-sdk/client-batch"; // ES Modules import
27
27
  * // const { BatchClient, DescribeJobQueuesCommand } = require("@aws-sdk/client-batch"); // CommonJS import
28
28
  * const client = new BatchClient(config);
29
+ * const input = {
30
+ * jobQueues: [
31
+ * "STRING_VALUE",
32
+ * ],
33
+ * maxResults: Number("int"),
34
+ * nextToken: "STRING_VALUE",
35
+ * };
29
36
  * const command = new DescribeJobQueuesCommand(input);
30
37
  * const response = await client.send(command);
31
38
  * ```
@@ -26,6 +26,11 @@ export interface DescribeJobsCommandOutput extends DescribeJobsResponse, __Metad
26
26
  * import { BatchClient, DescribeJobsCommand } from "@aws-sdk/client-batch"; // ES Modules import
27
27
  * // const { BatchClient, DescribeJobsCommand } = require("@aws-sdk/client-batch"); // CommonJS import
28
28
  * const client = new BatchClient(config);
29
+ * const input = {
30
+ * jobs: [ // required
31
+ * "STRING_VALUE",
32
+ * ],
33
+ * };
29
34
  * const command = new DescribeJobsCommand(input);
30
35
  * const response = await client.send(command);
31
36
  * ```
@@ -26,6 +26,11 @@ export interface DescribeSchedulingPoliciesCommandOutput extends DescribeSchedul
26
26
  * import { BatchClient, DescribeSchedulingPoliciesCommand } from "@aws-sdk/client-batch"; // ES Modules import
27
27
  * // const { BatchClient, DescribeSchedulingPoliciesCommand } = require("@aws-sdk/client-batch"); // CommonJS import
28
28
  * const client = new BatchClient(config);
29
+ * const input = {
30
+ * arns: [ // required
31
+ * "STRING_VALUE",
32
+ * ],
33
+ * };
29
34
  * const command = new DescribeSchedulingPoliciesCommand(input);
30
35
  * const response = await client.send(command);
31
36
  * ```
@@ -40,6 +40,22 @@ export interface ListJobsCommandOutput extends ListJobsResponse, __MetadataBeare
40
40
  * import { BatchClient, ListJobsCommand } from "@aws-sdk/client-batch"; // ES Modules import
41
41
  * // const { BatchClient, ListJobsCommand } = require("@aws-sdk/client-batch"); // CommonJS import
42
42
  * const client = new BatchClient(config);
43
+ * const input = {
44
+ * jobQueue: "STRING_VALUE",
45
+ * arrayJobId: "STRING_VALUE",
46
+ * multiNodeJobId: "STRING_VALUE",
47
+ * jobStatus: "SUBMITTED" || "PENDING" || "RUNNABLE" || "STARTING" || "RUNNING" || "SUCCEEDED" || "FAILED",
48
+ * maxResults: Number("int"),
49
+ * nextToken: "STRING_VALUE",
50
+ * filters: [
51
+ * {
52
+ * name: "STRING_VALUE",
53
+ * values: [
54
+ * "STRING_VALUE",
55
+ * ],
56
+ * },
57
+ * ],
58
+ * };
43
59
  * const command = new ListJobsCommand(input);
44
60
  * const response = await client.send(command);
45
61
  * ```
@@ -26,6 +26,10 @@ export interface ListSchedulingPoliciesCommandOutput extends ListSchedulingPolic
26
26
  * import { BatchClient, ListSchedulingPoliciesCommand } from "@aws-sdk/client-batch"; // ES Modules import
27
27
  * // const { BatchClient, ListSchedulingPoliciesCommand } = require("@aws-sdk/client-batch"); // CommonJS import
28
28
  * const client = new BatchClient(config);
29
+ * const input = {
30
+ * maxResults: Number("int"),
31
+ * nextToken: "STRING_VALUE",
32
+ * };
29
33
  * const command = new ListSchedulingPoliciesCommand(input);
30
34
  * const response = await client.send(command);
31
35
  * ```
@@ -27,6 +27,9 @@ export interface ListTagsForResourceCommandOutput extends ListTagsForResourceRes
27
27
  * import { BatchClient, ListTagsForResourceCommand } from "@aws-sdk/client-batch"; // ES Modules import
28
28
  * // const { BatchClient, ListTagsForResourceCommand } = require("@aws-sdk/client-batch"); // CommonJS import
29
29
  * const client = new BatchClient(config);
30
+ * const input = {
31
+ * resourceArn: "STRING_VALUE", // required
32
+ * };
30
33
  * const command = new ListTagsForResourceCommand(input);
31
34
  * const response = await client.send(command);
32
35
  * ```
@@ -26,6 +26,325 @@ export interface RegisterJobDefinitionCommandOutput extends RegisterJobDefinitio
26
26
  * import { BatchClient, RegisterJobDefinitionCommand } from "@aws-sdk/client-batch"; // ES Modules import
27
27
  * // const { BatchClient, RegisterJobDefinitionCommand } = require("@aws-sdk/client-batch"); // CommonJS import
28
28
  * const client = new BatchClient(config);
29
+ * const input = {
30
+ * jobDefinitionName: "STRING_VALUE", // required
31
+ * type: "container" || "multinode", // required
32
+ * parameters: {
33
+ * "<keys>": "STRING_VALUE",
34
+ * },
35
+ * schedulingPriority: Number("int"),
36
+ * containerProperties: {
37
+ * image: "STRING_VALUE",
38
+ * vcpus: Number("int"),
39
+ * memory: Number("int"),
40
+ * command: [
41
+ * "STRING_VALUE",
42
+ * ],
43
+ * jobRoleArn: "STRING_VALUE",
44
+ * executionRoleArn: "STRING_VALUE",
45
+ * volumes: [
46
+ * {
47
+ * host: {
48
+ * sourcePath: "STRING_VALUE",
49
+ * },
50
+ * name: "STRING_VALUE",
51
+ * efsVolumeConfiguration: {
52
+ * fileSystemId: "STRING_VALUE", // required
53
+ * rootDirectory: "STRING_VALUE",
54
+ * transitEncryption: "ENABLED" || "DISABLED",
55
+ * transitEncryptionPort: Number("int"),
56
+ * authorizationConfig: {
57
+ * accessPointId: "STRING_VALUE",
58
+ * iam: "ENABLED" || "DISABLED",
59
+ * },
60
+ * },
61
+ * },
62
+ * ],
63
+ * environment: [
64
+ * {
65
+ * name: "STRING_VALUE",
66
+ * value: "STRING_VALUE",
67
+ * },
68
+ * ],
69
+ * mountPoints: [
70
+ * {
71
+ * containerPath: "STRING_VALUE",
72
+ * readOnly: true || false,
73
+ * sourceVolume: "STRING_VALUE",
74
+ * },
75
+ * ],
76
+ * readonlyRootFilesystem: true || false,
77
+ * privileged: true || false,
78
+ * ulimits: [
79
+ * {
80
+ * hardLimit: Number("int"), // required
81
+ * name: "STRING_VALUE", // required
82
+ * softLimit: Number("int"), // required
83
+ * },
84
+ * ],
85
+ * user: "STRING_VALUE",
86
+ * instanceType: "STRING_VALUE",
87
+ * resourceRequirements: [
88
+ * {
89
+ * value: "STRING_VALUE", // required
90
+ * type: "GPU" || "VCPU" || "MEMORY", // required
91
+ * },
92
+ * ],
93
+ * linuxParameters: {
94
+ * devices: [
95
+ * {
96
+ * hostPath: "STRING_VALUE", // required
97
+ * containerPath: "STRING_VALUE",
98
+ * permissions: [
99
+ * "READ" || "WRITE" || "MKNOD",
100
+ * ],
101
+ * },
102
+ * ],
103
+ * initProcessEnabled: true || false,
104
+ * sharedMemorySize: Number("int"),
105
+ * tmpfs: [
106
+ * {
107
+ * containerPath: "STRING_VALUE", // required
108
+ * size: Number("int"), // required
109
+ * mountOptions: [
110
+ * "STRING_VALUE",
111
+ * ],
112
+ * },
113
+ * ],
114
+ * maxSwap: Number("int"),
115
+ * swappiness: Number("int"),
116
+ * },
117
+ * logConfiguration: {
118
+ * logDriver: "json-file" || "syslog" || "journald" || "gelf" || "fluentd" || "awslogs" || "splunk", // required
119
+ * options: {
120
+ * "<keys>": "STRING_VALUE",
121
+ * },
122
+ * secretOptions: [
123
+ * {
124
+ * name: "STRING_VALUE", // required
125
+ * valueFrom: "STRING_VALUE", // required
126
+ * },
127
+ * ],
128
+ * },
129
+ * secrets: [
130
+ * {
131
+ * name: "STRING_VALUE", // required
132
+ * valueFrom: "STRING_VALUE", // required
133
+ * },
134
+ * ],
135
+ * networkConfiguration: {
136
+ * assignPublicIp: "ENABLED" || "DISABLED",
137
+ * },
138
+ * fargatePlatformConfiguration: {
139
+ * platformVersion: "STRING_VALUE",
140
+ * },
141
+ * ephemeralStorage: {
142
+ * sizeInGiB: Number("int"), // required
143
+ * },
144
+ * },
145
+ * nodeProperties: {
146
+ * numNodes: Number("int"), // required
147
+ * mainNode: Number("int"), // required
148
+ * nodeRangeProperties: [ // required
149
+ * {
150
+ * targetNodes: "STRING_VALUE", // required
151
+ * container: {
152
+ * image: "STRING_VALUE",
153
+ * vcpus: Number("int"),
154
+ * memory: Number("int"),
155
+ * command: [
156
+ * "STRING_VALUE",
157
+ * ],
158
+ * jobRoleArn: "STRING_VALUE",
159
+ * executionRoleArn: "STRING_VALUE",
160
+ * volumes: [
161
+ * {
162
+ * host: {
163
+ * sourcePath: "STRING_VALUE",
164
+ * },
165
+ * name: "STRING_VALUE",
166
+ * efsVolumeConfiguration: {
167
+ * fileSystemId: "STRING_VALUE", // required
168
+ * rootDirectory: "STRING_VALUE",
169
+ * transitEncryption: "ENABLED" || "DISABLED",
170
+ * transitEncryptionPort: Number("int"),
171
+ * authorizationConfig: {
172
+ * accessPointId: "STRING_VALUE",
173
+ * iam: "ENABLED" || "DISABLED",
174
+ * },
175
+ * },
176
+ * },
177
+ * ],
178
+ * environment: [
179
+ * {
180
+ * name: "STRING_VALUE",
181
+ * value: "STRING_VALUE",
182
+ * },
183
+ * ],
184
+ * mountPoints: [
185
+ * {
186
+ * containerPath: "STRING_VALUE",
187
+ * readOnly: true || false,
188
+ * sourceVolume: "STRING_VALUE",
189
+ * },
190
+ * ],
191
+ * readonlyRootFilesystem: true || false,
192
+ * privileged: true || false,
193
+ * ulimits: [
194
+ * {
195
+ * hardLimit: Number("int"), // required
196
+ * name: "STRING_VALUE", // required
197
+ * softLimit: Number("int"), // required
198
+ * },
199
+ * ],
200
+ * user: "STRING_VALUE",
201
+ * instanceType: "STRING_VALUE",
202
+ * resourceRequirements: [
203
+ * {
204
+ * value: "STRING_VALUE", // required
205
+ * type: "GPU" || "VCPU" || "MEMORY", // required
206
+ * },
207
+ * ],
208
+ * linuxParameters: {
209
+ * devices: [
210
+ * {
211
+ * hostPath: "STRING_VALUE", // required
212
+ * containerPath: "STRING_VALUE",
213
+ * permissions: [
214
+ * "READ" || "WRITE" || "MKNOD",
215
+ * ],
216
+ * },
217
+ * ],
218
+ * initProcessEnabled: true || false,
219
+ * sharedMemorySize: Number("int"),
220
+ * tmpfs: [
221
+ * {
222
+ * containerPath: "STRING_VALUE", // required
223
+ * size: Number("int"), // required
224
+ * mountOptions: [
225
+ * "<StringList>",
226
+ * ],
227
+ * },
228
+ * ],
229
+ * maxSwap: Number("int"),
230
+ * swappiness: Number("int"),
231
+ * },
232
+ * logConfiguration: {
233
+ * logDriver: "json-file" || "syslog" || "journald" || "gelf" || "fluentd" || "awslogs" || "splunk", // required
234
+ * options: {
235
+ * "<keys>": "<String>",
236
+ * },
237
+ * secretOptions: [
238
+ * "<SecretList>",
239
+ * ],
240
+ * },
241
+ * secrets: [
242
+ * "<SecretList>",
243
+ * ],
244
+ * networkConfiguration: {
245
+ * assignPublicIp: "ENABLED" || "DISABLED",
246
+ * },
247
+ * fargatePlatformConfiguration: {
248
+ * platformVersion: "STRING_VALUE",
249
+ * },
250
+ * ephemeralStorage: {
251
+ * sizeInGiB: Number("int"), // required
252
+ * },
253
+ * },
254
+ * },
255
+ * ],
256
+ * },
257
+ * retryStrategy: {
258
+ * attempts: Number("int"),
259
+ * evaluateOnExit: [
260
+ * {
261
+ * onStatusReason: "STRING_VALUE",
262
+ * onReason: "STRING_VALUE",
263
+ * onExitCode: "STRING_VALUE",
264
+ * action: "RETRY" || "EXIT", // required
265
+ * },
266
+ * ],
267
+ * },
268
+ * propagateTags: true || false,
269
+ * timeout: {
270
+ * attemptDurationSeconds: Number("int"),
271
+ * },
272
+ * tags: {
273
+ * "<keys>": "STRING_VALUE",
274
+ * },
275
+ * platformCapabilities: [
276
+ * "EC2" || "FARGATE",
277
+ * ],
278
+ * eksProperties: {
279
+ * podProperties: {
280
+ * serviceAccountName: "STRING_VALUE",
281
+ * hostNetwork: true || false,
282
+ * dnsPolicy: "STRING_VALUE",
283
+ * containers: [
284
+ * {
285
+ * name: "STRING_VALUE",
286
+ * image: "STRING_VALUE", // required
287
+ * imagePullPolicy: "STRING_VALUE",
288
+ * command: [
289
+ * "<StringList>",
290
+ * ],
291
+ * args: [
292
+ * "<StringList>",
293
+ * ],
294
+ * env: [
295
+ * {
296
+ * name: "STRING_VALUE", // required
297
+ * value: "STRING_VALUE",
298
+ * },
299
+ * ],
300
+ * resources: {
301
+ * limits: {
302
+ * "<keys>": "STRING_VALUE",
303
+ * },
304
+ * requests: {
305
+ * "<keys>": "STRING_VALUE",
306
+ * },
307
+ * },
308
+ * volumeMounts: [
309
+ * {
310
+ * name: "STRING_VALUE",
311
+ * mountPath: "STRING_VALUE",
312
+ * readOnly: true || false,
313
+ * },
314
+ * ],
315
+ * securityContext: {
316
+ * runAsUser: Number("long"),
317
+ * runAsGroup: Number("long"),
318
+ * privileged: true || false,
319
+ * readOnlyRootFilesystem: true || false,
320
+ * runAsNonRoot: true || false,
321
+ * },
322
+ * },
323
+ * ],
324
+ * volumes: [
325
+ * {
326
+ * name: "STRING_VALUE", // required
327
+ * hostPath: {
328
+ * path: "STRING_VALUE",
329
+ * },
330
+ * emptyDir: {
331
+ * medium: "STRING_VALUE",
332
+ * sizeLimit: "STRING_VALUE",
333
+ * },
334
+ * secret: {
335
+ * secretName: "STRING_VALUE", // required
336
+ * optional: true || false,
337
+ * },
338
+ * },
339
+ * ],
340
+ * metadata: {
341
+ * labels: {
342
+ * "<keys>": "<String>",
343
+ * },
344
+ * },
345
+ * },
346
+ * },
347
+ * };
29
348
  * const command = new RegisterJobDefinitionCommand(input);
30
349
  * const response = await client.send(command);
31
350
  * ```
@@ -38,6 +38,125 @@ export interface SubmitJobCommandOutput extends SubmitJobResponse, __MetadataBea
38
38
  * import { BatchClient, SubmitJobCommand } from "@aws-sdk/client-batch"; // ES Modules import
39
39
  * // const { BatchClient, SubmitJobCommand } = require("@aws-sdk/client-batch"); // CommonJS import
40
40
  * const client = new BatchClient(config);
41
+ * const input = {
42
+ * jobName: "STRING_VALUE", // required
43
+ * jobQueue: "STRING_VALUE", // required
44
+ * shareIdentifier: "STRING_VALUE",
45
+ * schedulingPriorityOverride: Number("int"),
46
+ * arrayProperties: {
47
+ * size: Number("int"),
48
+ * },
49
+ * dependsOn: [
50
+ * {
51
+ * jobId: "STRING_VALUE",
52
+ * type: "N_TO_N" || "SEQUENTIAL",
53
+ * },
54
+ * ],
55
+ * jobDefinition: "STRING_VALUE", // required
56
+ * parameters: {
57
+ * "<keys>": "STRING_VALUE",
58
+ * },
59
+ * containerOverrides: {
60
+ * vcpus: Number("int"),
61
+ * memory: Number("int"),
62
+ * command: [
63
+ * "STRING_VALUE",
64
+ * ],
65
+ * instanceType: "STRING_VALUE",
66
+ * environment: [
67
+ * {
68
+ * name: "STRING_VALUE",
69
+ * value: "STRING_VALUE",
70
+ * },
71
+ * ],
72
+ * resourceRequirements: [
73
+ * {
74
+ * value: "STRING_VALUE", // required
75
+ * type: "GPU" || "VCPU" || "MEMORY", // required
76
+ * },
77
+ * ],
78
+ * },
79
+ * nodeOverrides: {
80
+ * numNodes: Number("int"),
81
+ * nodePropertyOverrides: [
82
+ * {
83
+ * targetNodes: "STRING_VALUE", // required
84
+ * containerOverrides: {
85
+ * vcpus: Number("int"),
86
+ * memory: Number("int"),
87
+ * command: [
88
+ * "STRING_VALUE",
89
+ * ],
90
+ * instanceType: "STRING_VALUE",
91
+ * environment: [
92
+ * {
93
+ * name: "STRING_VALUE",
94
+ * value: "STRING_VALUE",
95
+ * },
96
+ * ],
97
+ * resourceRequirements: [
98
+ * {
99
+ * value: "STRING_VALUE", // required
100
+ * type: "GPU" || "VCPU" || "MEMORY", // required
101
+ * },
102
+ * ],
103
+ * },
104
+ * },
105
+ * ],
106
+ * },
107
+ * retryStrategy: {
108
+ * attempts: Number("int"),
109
+ * evaluateOnExit: [
110
+ * {
111
+ * onStatusReason: "STRING_VALUE",
112
+ * onReason: "STRING_VALUE",
113
+ * onExitCode: "STRING_VALUE",
114
+ * action: "RETRY" || "EXIT", // required
115
+ * },
116
+ * ],
117
+ * },
118
+ * propagateTags: true || false,
119
+ * timeout: {
120
+ * attemptDurationSeconds: Number("int"),
121
+ * },
122
+ * tags: {
123
+ * "<keys>": "STRING_VALUE",
124
+ * },
125
+ * eksPropertiesOverride: {
126
+ * podProperties: {
127
+ * containers: [
128
+ * {
129
+ * image: "STRING_VALUE",
130
+ * command: [
131
+ * "STRING_VALUE",
132
+ * ],
133
+ * args: [
134
+ * "STRING_VALUE",
135
+ * ],
136
+ * env: [
137
+ * {
138
+ * name: "STRING_VALUE", // required
139
+ * value: "STRING_VALUE",
140
+ * },
141
+ * ],
142
+ * resources: {
143
+ * limits: {
144
+ * "<keys>": "STRING_VALUE",
145
+ * },
146
+ * requests: {
147
+ * "<keys>": "STRING_VALUE",
148
+ * },
149
+ * },
150
+ * },
151
+ * ],
152
+ * metadata: {
153
+ * labels: {
154
+ * "<keys>": "STRING_VALUE",
155
+ * },
156
+ * },
157
+ * },
158
+ * },
159
+ * };
41
160
  * const command = new SubmitJobCommand(input);
42
161
  * const response = await client.send(command);
43
162
  * ```
@@ -29,6 +29,12 @@ export interface TagResourceCommandOutput extends TagResourceResponse, __Metadat
29
29
  * import { BatchClient, TagResourceCommand } from "@aws-sdk/client-batch"; // ES Modules import
30
30
  * // const { BatchClient, TagResourceCommand } = require("@aws-sdk/client-batch"); // CommonJS import
31
31
  * const client = new BatchClient(config);
32
+ * const input = {
33
+ * resourceArn: "STRING_VALUE", // required
34
+ * tags: { // required
35
+ * "<keys>": "STRING_VALUE",
36
+ * },
37
+ * };
32
38
  * const command = new TagResourceCommand(input);
33
39
  * const response = await client.send(command);
34
40
  * ```
@@ -28,6 +28,10 @@ export interface TerminateJobCommandOutput extends TerminateJobResponse, __Metad
28
28
  * import { BatchClient, TerminateJobCommand } from "@aws-sdk/client-batch"; // ES Modules import
29
29
  * // const { BatchClient, TerminateJobCommand } = require("@aws-sdk/client-batch"); // CommonJS import
30
30
  * const client = new BatchClient(config);
31
+ * const input = {
32
+ * jobId: "STRING_VALUE", // required
33
+ * reason: "STRING_VALUE", // required
34
+ * };
31
35
  * const command = new TerminateJobCommand(input);
32
36
  * const response = await client.send(command);
33
37
  * ```
@@ -26,6 +26,12 @@ export interface UntagResourceCommandOutput extends UntagResourceResponse, __Met
26
26
  * import { BatchClient, UntagResourceCommand } from "@aws-sdk/client-batch"; // ES Modules import
27
27
  * // const { BatchClient, UntagResourceCommand } = require("@aws-sdk/client-batch"); // CommonJS import
28
28
  * const client = new BatchClient(config);
29
+ * const input = {
30
+ * resourceArn: "STRING_VALUE", // required
31
+ * tagKeys: [ // required
32
+ * "STRING_VALUE",
33
+ * ],
34
+ * };
29
35
  * const command = new UntagResourceCommand(input);
30
36
  * const response = await client.send(command);
31
37
  * ```
@@ -26,6 +26,53 @@ export interface UpdateComputeEnvironmentCommandOutput extends UpdateComputeEnvi
26
26
  * import { BatchClient, UpdateComputeEnvironmentCommand } from "@aws-sdk/client-batch"; // ES Modules import
27
27
  * // const { BatchClient, UpdateComputeEnvironmentCommand } = require("@aws-sdk/client-batch"); // CommonJS import
28
28
  * const client = new BatchClient(config);
29
+ * const input = {
30
+ * computeEnvironment: "STRING_VALUE", // required
31
+ * state: "ENABLED" || "DISABLED",
32
+ * unmanagedvCpus: Number("int"),
33
+ * computeResources: {
34
+ * minvCpus: Number("int"),
35
+ * maxvCpus: Number("int"),
36
+ * desiredvCpus: Number("int"),
37
+ * subnets: [
38
+ * "STRING_VALUE",
39
+ * ],
40
+ * securityGroupIds: [
41
+ * "STRING_VALUE",
42
+ * ],
43
+ * allocationStrategy: "BEST_FIT_PROGRESSIVE" || "SPOT_CAPACITY_OPTIMIZED",
44
+ * instanceTypes: [
45
+ * "STRING_VALUE",
46
+ * ],
47
+ * ec2KeyPair: "STRING_VALUE",
48
+ * instanceRole: "STRING_VALUE",
49
+ * tags: {
50
+ * "<keys>": "STRING_VALUE",
51
+ * },
52
+ * placementGroup: "STRING_VALUE",
53
+ * bidPercentage: Number("int"),
54
+ * launchTemplate: {
55
+ * launchTemplateId: "STRING_VALUE",
56
+ * launchTemplateName: "STRING_VALUE",
57
+ * version: "STRING_VALUE",
58
+ * },
59
+ * ec2Configuration: [
60
+ * {
61
+ * imageType: "STRING_VALUE", // required
62
+ * imageIdOverride: "STRING_VALUE",
63
+ * imageKubernetesVersion: "STRING_VALUE",
64
+ * },
65
+ * ],
66
+ * updateToLatestImageVersion: true || false,
67
+ * type: "EC2" || "SPOT" || "FARGATE" || "FARGATE_SPOT",
68
+ * imageId: "STRING_VALUE",
69
+ * },
70
+ * serviceRole: "STRING_VALUE",
71
+ * updatePolicy: {
72
+ * terminateJobsOnUpdate: true || false,
73
+ * jobExecutionTimeoutMinutes: Number("long"),
74
+ * },
75
+ * };
29
76
  * const command = new UpdateComputeEnvironmentCommand(input);
30
77
  * const response = await client.send(command);
31
78
  * ```
@@ -26,6 +26,18 @@ export interface UpdateJobQueueCommandOutput extends UpdateJobQueueResponse, __M
26
26
  * import { BatchClient, UpdateJobQueueCommand } from "@aws-sdk/client-batch"; // ES Modules import
27
27
  * // const { BatchClient, UpdateJobQueueCommand } = require("@aws-sdk/client-batch"); // CommonJS import
28
28
  * const client = new BatchClient(config);
29
+ * const input = {
30
+ * jobQueue: "STRING_VALUE", // required
31
+ * state: "ENABLED" || "DISABLED",
32
+ * schedulingPolicyArn: "STRING_VALUE",
33
+ * priority: Number("int"),
34
+ * computeEnvironmentOrder: [
35
+ * {
36
+ * order: Number("int"), // required
37
+ * computeEnvironment: "STRING_VALUE", // required
38
+ * },
39
+ * ],
40
+ * };
29
41
  * const command = new UpdateJobQueueCommand(input);
30
42
  * const response = await client.send(command);
31
43
  * ```
@@ -26,6 +26,19 @@ export interface UpdateSchedulingPolicyCommandOutput extends UpdateSchedulingPol
26
26
  * import { BatchClient, UpdateSchedulingPolicyCommand } from "@aws-sdk/client-batch"; // ES Modules import
27
27
  * // const { BatchClient, UpdateSchedulingPolicyCommand } = require("@aws-sdk/client-batch"); // CommonJS import
28
28
  * const client = new BatchClient(config);
29
+ * const input = {
30
+ * arn: "STRING_VALUE", // required
31
+ * fairsharePolicy: {
32
+ * shareDecaySeconds: Number("int"),
33
+ * computeReservation: Number("int"),
34
+ * shareDistribution: [
35
+ * {
36
+ * shareIdentifier: "STRING_VALUE", // required
37
+ * weightFactor: Number("float"),
38
+ * },
39
+ * ],
40
+ * },
41
+ * };
29
42
  * const command = new UpdateSchedulingPolicyCommand(input);
30
43
  * const response = await client.send(command);
31
44
  * ```
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.298.0",
4
+ "version": "3.300.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -21,23 +21,23 @@
21
21
  "dependencies": {
22
22
  "@aws-crypto/sha256-browser": "3.0.0",
23
23
  "@aws-crypto/sha256-js": "3.0.0",
24
- "@aws-sdk/client-sts": "3.298.0",
25
- "@aws-sdk/config-resolver": "3.296.0",
26
- "@aws-sdk/credential-provider-node": "3.298.0",
24
+ "@aws-sdk/client-sts": "3.300.0",
25
+ "@aws-sdk/config-resolver": "3.300.0",
26
+ "@aws-sdk/credential-provider-node": "3.300.0",
27
27
  "@aws-sdk/fetch-http-handler": "3.296.0",
28
28
  "@aws-sdk/hash-node": "3.296.0",
29
29
  "@aws-sdk/invalid-dependency": "3.296.0",
30
30
  "@aws-sdk/middleware-content-length": "3.296.0",
31
- "@aws-sdk/middleware-endpoint": "3.296.0",
31
+ "@aws-sdk/middleware-endpoint": "3.299.0",
32
32
  "@aws-sdk/middleware-host-header": "3.296.0",
33
33
  "@aws-sdk/middleware-logger": "3.296.0",
34
34
  "@aws-sdk/middleware-recursion-detection": "3.296.0",
35
- "@aws-sdk/middleware-retry": "3.296.0",
35
+ "@aws-sdk/middleware-retry": "3.300.0",
36
36
  "@aws-sdk/middleware-serde": "3.296.0",
37
- "@aws-sdk/middleware-signing": "3.296.0",
37
+ "@aws-sdk/middleware-signing": "3.299.0",
38
38
  "@aws-sdk/middleware-stack": "3.296.0",
39
- "@aws-sdk/middleware-user-agent": "3.296.0",
40
- "@aws-sdk/node-config-provider": "3.296.0",
39
+ "@aws-sdk/middleware-user-agent": "3.299.0",
40
+ "@aws-sdk/node-config-provider": "3.300.0",
41
41
  "@aws-sdk/node-http-handler": "3.296.0",
42
42
  "@aws-sdk/protocol-http": "3.296.0",
43
43
  "@aws-sdk/smithy-client": "3.296.0",
@@ -47,11 +47,11 @@
47
47
  "@aws-sdk/util-body-length-browser": "3.295.0",
48
48
  "@aws-sdk/util-body-length-node": "3.295.0",
49
49
  "@aws-sdk/util-defaults-mode-browser": "3.296.0",
50
- "@aws-sdk/util-defaults-mode-node": "3.296.0",
50
+ "@aws-sdk/util-defaults-mode-node": "3.300.0",
51
51
  "@aws-sdk/util-endpoints": "3.296.0",
52
52
  "@aws-sdk/util-retry": "3.296.0",
53
- "@aws-sdk/util-user-agent-browser": "3.296.0",
54
- "@aws-sdk/util-user-agent-node": "3.296.0",
53
+ "@aws-sdk/util-user-agent-browser": "3.299.0",
54
+ "@aws-sdk/util-user-agent-node": "3.300.0",
55
55
  "@aws-sdk/util-utf8": "3.295.0",
56
56
  "tslib": "^2.5.0"
57
57
  },