@aws-sdk/client-batch 3.521.0 → 3.524.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.
- package/dist-cjs/index.js +96 -3
- package/dist-es/protocols/Aws_restJson1.js +105 -4
- package/dist-types/commands/CreateComputeEnvironmentCommand.d.ts +59 -45
- package/dist-types/commands/CreateJobQueueCommand.d.ts +7 -6
- package/dist-types/commands/DeleteComputeEnvironmentCommand.d.ts +6 -3
- package/dist-types/commands/DeleteJobQueueCommand.d.ts +5 -3
- package/dist-types/commands/DeregisterJobDefinitionCommand.d.ts +2 -1
- package/dist-types/commands/DescribeComputeEnvironmentsCommand.d.ts +3 -3
- package/dist-types/commands/DescribeJobDefinitionsCommand.d.ts +121 -2
- package/dist-types/commands/DescribeJobsCommand.d.ts +133 -0
- package/dist-types/commands/ListJobsCommand.d.ts +2 -2
- package/dist-types/commands/RegisterJobDefinitionCommand.d.ts +119 -0
- package/dist-types/commands/SubmitJobCommand.d.ts +65 -15
- package/dist-types/commands/TagResourceCommand.d.ts +4 -3
- package/dist-types/commands/TerminateJobCommand.d.ts +4 -3
- package/dist-types/models/models_0.d.ts +1394 -448
- package/dist-types/ts3.4/models/models_0.d.ts +103 -0
- package/package.json +34 -34
|
@@ -26,8 +26,8 @@ declare const DescribeJobDefinitionsCommand_base: {
|
|
|
26
26
|
};
|
|
27
27
|
/**
|
|
28
28
|
* @public
|
|
29
|
-
* <p>Describes a list of job definitions. You can specify a <code>status</code> (such as
|
|
30
|
-
*
|
|
29
|
+
* <p>Describes a list of job definitions. You can specify a <code>status</code> (such as
|
|
30
|
+
* <code>ACTIVE</code>) to only return job definitions that match that status.</p>
|
|
31
31
|
* @example
|
|
32
32
|
* Use a bare-bones client and the command you need to make an API call.
|
|
33
33
|
* ```javascript
|
|
@@ -297,6 +297,47 @@ declare const DescribeJobDefinitionsCommand_base: {
|
|
|
297
297
|
* // credentialsParameter: "STRING_VALUE", // required
|
|
298
298
|
* // },
|
|
299
299
|
* // },
|
|
300
|
+
* // instanceTypes: "<StringList>",
|
|
301
|
+
* // ecsProperties: { // EcsProperties
|
|
302
|
+
* // taskProperties: [ // ListEcsTaskProperties // required
|
|
303
|
+
* // { // EcsTaskProperties
|
|
304
|
+
* // containers: [ // ListTaskContainerProperties // required
|
|
305
|
+
* // { // TaskContainerProperties
|
|
306
|
+
* // command: "<StringList>",
|
|
307
|
+
* // dependsOn: [ // TaskContainerDependencyList
|
|
308
|
+
* // { // TaskContainerDependency
|
|
309
|
+
* // containerName: "STRING_VALUE",
|
|
310
|
+
* // condition: "STRING_VALUE",
|
|
311
|
+
* // },
|
|
312
|
+
* // ],
|
|
313
|
+
* // environment: "<EnvironmentVariables>",
|
|
314
|
+
* // essential: true || false,
|
|
315
|
+
* // image: "STRING_VALUE", // required
|
|
316
|
+
* // linuxParameters: "<LinuxParameters>",
|
|
317
|
+
* // logConfiguration: "<LogConfiguration>",
|
|
318
|
+
* // mountPoints: "<MountPoints>",
|
|
319
|
+
* // name: "STRING_VALUE",
|
|
320
|
+
* // privileged: true || false,
|
|
321
|
+
* // readonlyRootFilesystem: true || false,
|
|
322
|
+
* // repositoryCredentials: "<RepositoryCredentials>",
|
|
323
|
+
* // resourceRequirements: "<ResourceRequirements>",
|
|
324
|
+
* // secrets: "<SecretList>",
|
|
325
|
+
* // ulimits: "<Ulimits>",
|
|
326
|
+
* // user: "STRING_VALUE",
|
|
327
|
+
* // },
|
|
328
|
+
* // ],
|
|
329
|
+
* // ephemeralStorage: "<EphemeralStorage>",
|
|
330
|
+
* // executionRoleArn: "STRING_VALUE",
|
|
331
|
+
* // platformVersion: "STRING_VALUE",
|
|
332
|
+
* // ipcMode: "STRING_VALUE",
|
|
333
|
+
* // taskRoleArn: "STRING_VALUE",
|
|
334
|
+
* // pidMode: "STRING_VALUE",
|
|
335
|
+
* // networkConfiguration: "<NetworkConfiguration>",
|
|
336
|
+
* // runtimePlatform: "<RuntimePlatform>",
|
|
337
|
+
* // volumes: "<Volumes>",
|
|
338
|
+
* // },
|
|
339
|
+
* // ],
|
|
340
|
+
* // },
|
|
300
341
|
* // },
|
|
301
342
|
* // ],
|
|
302
343
|
* // },
|
|
@@ -307,6 +348,46 @@ declare const DescribeJobDefinitionsCommand_base: {
|
|
|
307
348
|
* // platformCapabilities: [ // PlatformCapabilityList
|
|
308
349
|
* // "EC2" || "FARGATE",
|
|
309
350
|
* // ],
|
|
351
|
+
* // ecsProperties: {
|
|
352
|
+
* // taskProperties: [ // required
|
|
353
|
+
* // {
|
|
354
|
+
* // containers: [ // required
|
|
355
|
+
* // {
|
|
356
|
+
* // command: "<StringList>",
|
|
357
|
+
* // dependsOn: [
|
|
358
|
+
* // {
|
|
359
|
+
* // containerName: "STRING_VALUE",
|
|
360
|
+
* // condition: "STRING_VALUE",
|
|
361
|
+
* // },
|
|
362
|
+
* // ],
|
|
363
|
+
* // environment: "<EnvironmentVariables>",
|
|
364
|
+
* // essential: true || false,
|
|
365
|
+
* // image: "STRING_VALUE", // required
|
|
366
|
+
* // linuxParameters: "<LinuxParameters>",
|
|
367
|
+
* // logConfiguration: "<LogConfiguration>",
|
|
368
|
+
* // mountPoints: "<MountPoints>",
|
|
369
|
+
* // name: "STRING_VALUE",
|
|
370
|
+
* // privileged: true || false,
|
|
371
|
+
* // readonlyRootFilesystem: true || false,
|
|
372
|
+
* // repositoryCredentials: "<RepositoryCredentials>",
|
|
373
|
+
* // resourceRequirements: "<ResourceRequirements>",
|
|
374
|
+
* // secrets: "<SecretList>",
|
|
375
|
+
* // ulimits: "<Ulimits>",
|
|
376
|
+
* // user: "STRING_VALUE",
|
|
377
|
+
* // },
|
|
378
|
+
* // ],
|
|
379
|
+
* // ephemeralStorage: "<EphemeralStorage>",
|
|
380
|
+
* // executionRoleArn: "STRING_VALUE",
|
|
381
|
+
* // platformVersion: "STRING_VALUE",
|
|
382
|
+
* // ipcMode: "STRING_VALUE",
|
|
383
|
+
* // taskRoleArn: "STRING_VALUE",
|
|
384
|
+
* // pidMode: "STRING_VALUE",
|
|
385
|
+
* // networkConfiguration: "<NetworkConfiguration>",
|
|
386
|
+
* // runtimePlatform: "<RuntimePlatform>",
|
|
387
|
+
* // volumes: "<Volumes>",
|
|
388
|
+
* // },
|
|
389
|
+
* // ],
|
|
390
|
+
* // },
|
|
310
391
|
* // eksProperties: { // EksProperties
|
|
311
392
|
* // podProperties: { // EksPodProperties
|
|
312
393
|
* // serviceAccountName: "STRING_VALUE",
|
|
@@ -349,6 +430,43 @@ declare const DescribeJobDefinitionsCommand_base: {
|
|
|
349
430
|
* // },
|
|
350
431
|
* // },
|
|
351
432
|
* // ],
|
|
433
|
+
* // initContainers: [
|
|
434
|
+
* // {
|
|
435
|
+
* // name: "STRING_VALUE",
|
|
436
|
+
* // image: "STRING_VALUE", // required
|
|
437
|
+
* // imagePullPolicy: "STRING_VALUE",
|
|
438
|
+
* // command: "<StringList>",
|
|
439
|
+
* // args: "<StringList>",
|
|
440
|
+
* // env: [
|
|
441
|
+
* // {
|
|
442
|
+
* // name: "STRING_VALUE", // required
|
|
443
|
+
* // value: "STRING_VALUE",
|
|
444
|
+
* // },
|
|
445
|
+
* // ],
|
|
446
|
+
* // resources: {
|
|
447
|
+
* // limits: {
|
|
448
|
+
* // "<keys>": "STRING_VALUE",
|
|
449
|
+
* // },
|
|
450
|
+
* // requests: {
|
|
451
|
+
* // "<keys>": "STRING_VALUE",
|
|
452
|
+
* // },
|
|
453
|
+
* // },
|
|
454
|
+
* // volumeMounts: [
|
|
455
|
+
* // {
|
|
456
|
+
* // name: "STRING_VALUE",
|
|
457
|
+
* // mountPath: "STRING_VALUE",
|
|
458
|
+
* // readOnly: true || false,
|
|
459
|
+
* // },
|
|
460
|
+
* // ],
|
|
461
|
+
* // securityContext: {
|
|
462
|
+
* // runAsUser: Number("long"),
|
|
463
|
+
* // runAsGroup: Number("long"),
|
|
464
|
+
* // privileged: true || false,
|
|
465
|
+
* // readOnlyRootFilesystem: true || false,
|
|
466
|
+
* // runAsNonRoot: true || false,
|
|
467
|
+
* // },
|
|
468
|
+
* // },
|
|
469
|
+
* // ],
|
|
352
470
|
* // volumes: [ // EksVolumes
|
|
353
471
|
* // { // EksVolume
|
|
354
472
|
* // name: "STRING_VALUE", // required
|
|
@@ -370,6 +488,7 @@ declare const DescribeJobDefinitionsCommand_base: {
|
|
|
370
488
|
* // "<keys>": "STRING_VALUE",
|
|
371
489
|
* // },
|
|
372
490
|
* // },
|
|
491
|
+
* // shareProcessNamespace: true || false,
|
|
373
492
|
* // },
|
|
374
493
|
* // },
|
|
375
494
|
* // containerOrchestrationType: "ECS" || "EKS",
|
|
@@ -338,6 +338,47 @@ declare const DescribeJobsCommand_base: {
|
|
|
338
338
|
* // credentialsParameter: "STRING_VALUE", // required
|
|
339
339
|
* // },
|
|
340
340
|
* // },
|
|
341
|
+
* // instanceTypes: "<StringList>",
|
|
342
|
+
* // ecsProperties: { // EcsProperties
|
|
343
|
+
* // taskProperties: [ // ListEcsTaskProperties // required
|
|
344
|
+
* // { // EcsTaskProperties
|
|
345
|
+
* // containers: [ // ListTaskContainerProperties // required
|
|
346
|
+
* // { // TaskContainerProperties
|
|
347
|
+
* // command: "<StringList>",
|
|
348
|
+
* // dependsOn: [ // TaskContainerDependencyList
|
|
349
|
+
* // { // TaskContainerDependency
|
|
350
|
+
* // containerName: "STRING_VALUE",
|
|
351
|
+
* // condition: "STRING_VALUE",
|
|
352
|
+
* // },
|
|
353
|
+
* // ],
|
|
354
|
+
* // environment: "<EnvironmentVariables>",
|
|
355
|
+
* // essential: true || false,
|
|
356
|
+
* // image: "STRING_VALUE", // required
|
|
357
|
+
* // linuxParameters: "<LinuxParameters>",
|
|
358
|
+
* // logConfiguration: "<LogConfiguration>",
|
|
359
|
+
* // mountPoints: "<MountPoints>",
|
|
360
|
+
* // name: "STRING_VALUE",
|
|
361
|
+
* // privileged: true || false,
|
|
362
|
+
* // readonlyRootFilesystem: true || false,
|
|
363
|
+
* // repositoryCredentials: "<RepositoryCredentials>",
|
|
364
|
+
* // resourceRequirements: "<ResourceRequirements>",
|
|
365
|
+
* // secrets: "<SecretList>",
|
|
366
|
+
* // ulimits: "<Ulimits>",
|
|
367
|
+
* // user: "STRING_VALUE",
|
|
368
|
+
* // },
|
|
369
|
+
* // ],
|
|
370
|
+
* // ephemeralStorage: "<EphemeralStorage>",
|
|
371
|
+
* // executionRoleArn: "STRING_VALUE",
|
|
372
|
+
* // platformVersion: "STRING_VALUE",
|
|
373
|
+
* // ipcMode: "STRING_VALUE",
|
|
374
|
+
* // taskRoleArn: "STRING_VALUE",
|
|
375
|
+
* // pidMode: "STRING_VALUE",
|
|
376
|
+
* // networkConfiguration: "<NetworkConfiguration>",
|
|
377
|
+
* // runtimePlatform: "<RuntimePlatform>",
|
|
378
|
+
* // volumes: "<Volumes>",
|
|
379
|
+
* // },
|
|
380
|
+
* // ],
|
|
381
|
+
* // },
|
|
341
382
|
* // },
|
|
342
383
|
* // ],
|
|
343
384
|
* // },
|
|
@@ -402,6 +443,45 @@ declare const DescribeJobsCommand_base: {
|
|
|
402
443
|
* // },
|
|
403
444
|
* // },
|
|
404
445
|
* // ],
|
|
446
|
+
* // initContainers: [
|
|
447
|
+
* // {
|
|
448
|
+
* // name: "STRING_VALUE",
|
|
449
|
+
* // image: "STRING_VALUE",
|
|
450
|
+
* // imagePullPolicy: "STRING_VALUE",
|
|
451
|
+
* // command: "<StringList>",
|
|
452
|
+
* // args: "<StringList>",
|
|
453
|
+
* // env: [
|
|
454
|
+
* // {
|
|
455
|
+
* // name: "STRING_VALUE", // required
|
|
456
|
+
* // value: "STRING_VALUE",
|
|
457
|
+
* // },
|
|
458
|
+
* // ],
|
|
459
|
+
* // resources: {
|
|
460
|
+
* // limits: {
|
|
461
|
+
* // "<keys>": "STRING_VALUE",
|
|
462
|
+
* // },
|
|
463
|
+
* // requests: {
|
|
464
|
+
* // "<keys>": "STRING_VALUE",
|
|
465
|
+
* // },
|
|
466
|
+
* // },
|
|
467
|
+
* // exitCode: Number("int"),
|
|
468
|
+
* // reason: "STRING_VALUE",
|
|
469
|
+
* // volumeMounts: [
|
|
470
|
+
* // {
|
|
471
|
+
* // name: "STRING_VALUE",
|
|
472
|
+
* // mountPath: "STRING_VALUE",
|
|
473
|
+
* // readOnly: true || false,
|
|
474
|
+
* // },
|
|
475
|
+
* // ],
|
|
476
|
+
* // securityContext: {
|
|
477
|
+
* // runAsUser: Number("long"),
|
|
478
|
+
* // runAsGroup: Number("long"),
|
|
479
|
+
* // privileged: true || false,
|
|
480
|
+
* // readOnlyRootFilesystem: true || false,
|
|
481
|
+
* // runAsNonRoot: true || false,
|
|
482
|
+
* // },
|
|
483
|
+
* // },
|
|
484
|
+
* // ],
|
|
405
485
|
* // volumes: [ // EksVolumes
|
|
406
486
|
* // { // EksVolume
|
|
407
487
|
* // name: "STRING_VALUE", // required
|
|
@@ -425,6 +505,7 @@ declare const DescribeJobsCommand_base: {
|
|
|
425
505
|
* // "<keys>": "STRING_VALUE",
|
|
426
506
|
* // },
|
|
427
507
|
* // },
|
|
508
|
+
* // shareProcessNamespace: true || false,
|
|
428
509
|
* // },
|
|
429
510
|
* // },
|
|
430
511
|
* // eksAttempts: [ // EksAttemptDetails
|
|
@@ -435,6 +516,12 @@ declare const DescribeJobsCommand_base: {
|
|
|
435
516
|
* // reason: "STRING_VALUE",
|
|
436
517
|
* // },
|
|
437
518
|
* // ],
|
|
519
|
+
* // initContainers: [
|
|
520
|
+
* // {
|
|
521
|
+
* // exitCode: Number("int"),
|
|
522
|
+
* // reason: "STRING_VALUE",
|
|
523
|
+
* // },
|
|
524
|
+
* // ],
|
|
438
525
|
* // podName: "STRING_VALUE",
|
|
439
526
|
* // nodeName: "STRING_VALUE",
|
|
440
527
|
* // startedAt: Number("long"),
|
|
@@ -442,6 +529,52 @@ declare const DescribeJobsCommand_base: {
|
|
|
442
529
|
* // statusReason: "STRING_VALUE",
|
|
443
530
|
* // },
|
|
444
531
|
* // ],
|
|
532
|
+
* // ecsProperties: { // EcsPropertiesDetail
|
|
533
|
+
* // taskProperties: [ // ListEcsTaskDetails
|
|
534
|
+
* // { // EcsTaskDetails
|
|
535
|
+
* // containers: [ // ListTaskContainerDetails
|
|
536
|
+
* // { // TaskContainerDetails
|
|
537
|
+
* // command: "<StringList>",
|
|
538
|
+
* // dependsOn: [
|
|
539
|
+
* // {
|
|
540
|
+
* // containerName: "STRING_VALUE",
|
|
541
|
+
* // condition: "STRING_VALUE",
|
|
542
|
+
* // },
|
|
543
|
+
* // ],
|
|
544
|
+
* // environment: "<EnvironmentVariables>",
|
|
545
|
+
* // essential: true || false,
|
|
546
|
+
* // image: "STRING_VALUE",
|
|
547
|
+
* // linuxParameters: "<LinuxParameters>",
|
|
548
|
+
* // logConfiguration: "<LogConfiguration>",
|
|
549
|
+
* // mountPoints: "<MountPoints>",
|
|
550
|
+
* // name: "STRING_VALUE",
|
|
551
|
+
* // privileged: true || false,
|
|
552
|
+
* // readonlyRootFilesystem: true || false,
|
|
553
|
+
* // repositoryCredentials: "<RepositoryCredentials>",
|
|
554
|
+
* // resourceRequirements: "<ResourceRequirements>",
|
|
555
|
+
* // secrets: "<SecretList>",
|
|
556
|
+
* // ulimits: "<Ulimits>",
|
|
557
|
+
* // user: "STRING_VALUE",
|
|
558
|
+
* // exitCode: Number("int"),
|
|
559
|
+
* // reason: "STRING_VALUE",
|
|
560
|
+
* // logStreamName: "STRING_VALUE",
|
|
561
|
+
* // networkInterfaces: "<NetworkInterfaceList>",
|
|
562
|
+
* // },
|
|
563
|
+
* // ],
|
|
564
|
+
* // containerInstanceArn: "STRING_VALUE",
|
|
565
|
+
* // taskArn: "STRING_VALUE",
|
|
566
|
+
* // ephemeralStorage: "<EphemeralStorage>",
|
|
567
|
+
* // executionRoleArn: "STRING_VALUE",
|
|
568
|
+
* // platformVersion: "STRING_VALUE",
|
|
569
|
+
* // ipcMode: "STRING_VALUE",
|
|
570
|
+
* // taskRoleArn: "STRING_VALUE",
|
|
571
|
+
* // pidMode: "STRING_VALUE",
|
|
572
|
+
* // networkConfiguration: "<NetworkConfiguration>",
|
|
573
|
+
* // runtimePlatform: "<RuntimePlatform>",
|
|
574
|
+
* // volumes: "<Volumes>",
|
|
575
|
+
* // },
|
|
576
|
+
* // ],
|
|
577
|
+
* // },
|
|
445
578
|
* // isCancelled: true || false,
|
|
446
579
|
* // isTerminated: true || false,
|
|
447
580
|
* // },
|
|
@@ -39,8 +39,8 @@ declare const ListJobsCommand_base: {
|
|
|
39
39
|
* <p>An array job ID to return a list of the children for that job</p>
|
|
40
40
|
* </li>
|
|
41
41
|
* </ul>
|
|
42
|
-
* <p>You can filter the results by job status with the <code>jobStatus</code> parameter. If you
|
|
43
|
-
*
|
|
42
|
+
* <p>You can filter the results by job status with the <code>jobStatus</code> parameter. If you
|
|
43
|
+
* don't specify a status, only <code>RUNNING</code> jobs are returned.</p>
|
|
44
44
|
* @example
|
|
45
45
|
* Use a bare-bones client and the command you need to make an API call.
|
|
46
46
|
* ```javascript
|
|
@@ -266,6 +266,47 @@ declare const RegisterJobDefinitionCommand_base: {
|
|
|
266
266
|
* credentialsParameter: "STRING_VALUE", // required
|
|
267
267
|
* },
|
|
268
268
|
* },
|
|
269
|
+
* instanceTypes: "<StringList>",
|
|
270
|
+
* ecsProperties: { // EcsProperties
|
|
271
|
+
* taskProperties: [ // ListEcsTaskProperties // required
|
|
272
|
+
* { // EcsTaskProperties
|
|
273
|
+
* containers: [ // ListTaskContainerProperties // required
|
|
274
|
+
* { // TaskContainerProperties
|
|
275
|
+
* command: "<StringList>",
|
|
276
|
+
* dependsOn: [ // TaskContainerDependencyList
|
|
277
|
+
* { // TaskContainerDependency
|
|
278
|
+
* containerName: "STRING_VALUE",
|
|
279
|
+
* condition: "STRING_VALUE",
|
|
280
|
+
* },
|
|
281
|
+
* ],
|
|
282
|
+
* environment: "<EnvironmentVariables>",
|
|
283
|
+
* essential: true || false,
|
|
284
|
+
* image: "STRING_VALUE", // required
|
|
285
|
+
* linuxParameters: "<LinuxParameters>",
|
|
286
|
+
* logConfiguration: "<LogConfiguration>",
|
|
287
|
+
* mountPoints: "<MountPoints>",
|
|
288
|
+
* name: "STRING_VALUE",
|
|
289
|
+
* privileged: true || false,
|
|
290
|
+
* readonlyRootFilesystem: true || false,
|
|
291
|
+
* repositoryCredentials: "<RepositoryCredentials>",
|
|
292
|
+
* resourceRequirements: "<ResourceRequirements>",
|
|
293
|
+
* secrets: "<SecretList>",
|
|
294
|
+
* ulimits: "<Ulimits>",
|
|
295
|
+
* user: "STRING_VALUE",
|
|
296
|
+
* },
|
|
297
|
+
* ],
|
|
298
|
+
* ephemeralStorage: "<EphemeralStorage>",
|
|
299
|
+
* executionRoleArn: "STRING_VALUE",
|
|
300
|
+
* platformVersion: "STRING_VALUE",
|
|
301
|
+
* ipcMode: "STRING_VALUE",
|
|
302
|
+
* taskRoleArn: "STRING_VALUE",
|
|
303
|
+
* pidMode: "STRING_VALUE",
|
|
304
|
+
* networkConfiguration: "<NetworkConfiguration>",
|
|
305
|
+
* runtimePlatform: "<RuntimePlatform>",
|
|
306
|
+
* volumes: "<Volumes>",
|
|
307
|
+
* },
|
|
308
|
+
* ],
|
|
309
|
+
* },
|
|
269
310
|
* },
|
|
270
311
|
* ],
|
|
271
312
|
* },
|
|
@@ -332,6 +373,43 @@ declare const RegisterJobDefinitionCommand_base: {
|
|
|
332
373
|
* },
|
|
333
374
|
* },
|
|
334
375
|
* ],
|
|
376
|
+
* initContainers: [
|
|
377
|
+
* {
|
|
378
|
+
* name: "STRING_VALUE",
|
|
379
|
+
* image: "STRING_VALUE", // required
|
|
380
|
+
* imagePullPolicy: "STRING_VALUE",
|
|
381
|
+
* command: "<StringList>",
|
|
382
|
+
* args: "<StringList>",
|
|
383
|
+
* env: [
|
|
384
|
+
* {
|
|
385
|
+
* name: "STRING_VALUE", // required
|
|
386
|
+
* value: "STRING_VALUE",
|
|
387
|
+
* },
|
|
388
|
+
* ],
|
|
389
|
+
* resources: {
|
|
390
|
+
* limits: {
|
|
391
|
+
* "<keys>": "STRING_VALUE",
|
|
392
|
+
* },
|
|
393
|
+
* requests: {
|
|
394
|
+
* "<keys>": "STRING_VALUE",
|
|
395
|
+
* },
|
|
396
|
+
* },
|
|
397
|
+
* volumeMounts: [
|
|
398
|
+
* {
|
|
399
|
+
* name: "STRING_VALUE",
|
|
400
|
+
* mountPath: "STRING_VALUE",
|
|
401
|
+
* readOnly: true || false,
|
|
402
|
+
* },
|
|
403
|
+
* ],
|
|
404
|
+
* securityContext: {
|
|
405
|
+
* runAsUser: Number("long"),
|
|
406
|
+
* runAsGroup: Number("long"),
|
|
407
|
+
* privileged: true || false,
|
|
408
|
+
* readOnlyRootFilesystem: true || false,
|
|
409
|
+
* runAsNonRoot: true || false,
|
|
410
|
+
* },
|
|
411
|
+
* },
|
|
412
|
+
* ],
|
|
335
413
|
* volumes: [ // EksVolumes
|
|
336
414
|
* { // EksVolume
|
|
337
415
|
* name: "STRING_VALUE", // required
|
|
@@ -353,8 +431,49 @@ declare const RegisterJobDefinitionCommand_base: {
|
|
|
353
431
|
* "<keys>": "STRING_VALUE",
|
|
354
432
|
* },
|
|
355
433
|
* },
|
|
434
|
+
* shareProcessNamespace: true || false,
|
|
356
435
|
* },
|
|
357
436
|
* },
|
|
437
|
+
* ecsProperties: {
|
|
438
|
+
* taskProperties: [ // required
|
|
439
|
+
* {
|
|
440
|
+
* containers: [ // required
|
|
441
|
+
* {
|
|
442
|
+
* command: "<StringList>",
|
|
443
|
+
* dependsOn: [
|
|
444
|
+
* {
|
|
445
|
+
* containerName: "STRING_VALUE",
|
|
446
|
+
* condition: "STRING_VALUE",
|
|
447
|
+
* },
|
|
448
|
+
* ],
|
|
449
|
+
* environment: "<EnvironmentVariables>",
|
|
450
|
+
* essential: true || false,
|
|
451
|
+
* image: "STRING_VALUE", // required
|
|
452
|
+
* linuxParameters: "<LinuxParameters>",
|
|
453
|
+
* logConfiguration: "<LogConfiguration>",
|
|
454
|
+
* mountPoints: "<MountPoints>",
|
|
455
|
+
* name: "STRING_VALUE",
|
|
456
|
+
* privileged: true || false,
|
|
457
|
+
* readonlyRootFilesystem: true || false,
|
|
458
|
+
* repositoryCredentials: "<RepositoryCredentials>",
|
|
459
|
+
* resourceRequirements: "<ResourceRequirements>",
|
|
460
|
+
* secrets: "<SecretList>",
|
|
461
|
+
* ulimits: "<Ulimits>",
|
|
462
|
+
* user: "STRING_VALUE",
|
|
463
|
+
* },
|
|
464
|
+
* ],
|
|
465
|
+
* ephemeralStorage: "<EphemeralStorage>",
|
|
466
|
+
* executionRoleArn: "STRING_VALUE",
|
|
467
|
+
* platformVersion: "STRING_VALUE",
|
|
468
|
+
* ipcMode: "STRING_VALUE",
|
|
469
|
+
* taskRoleArn: "STRING_VALUE",
|
|
470
|
+
* pidMode: "STRING_VALUE",
|
|
471
|
+
* networkConfiguration: "<NetworkConfiguration>",
|
|
472
|
+
* runtimePlatform: "<RuntimePlatform>",
|
|
473
|
+
* volumes: "<Volumes>",
|
|
474
|
+
* },
|
|
475
|
+
* ],
|
|
476
|
+
* },
|
|
358
477
|
* };
|
|
359
478
|
* const command = new RegisterJobDefinitionCommand(input);
|
|
360
479
|
* const response = await client.send(command);
|
|
@@ -26,18 +26,20 @@ declare const SubmitJobCommand_base: {
|
|
|
26
26
|
};
|
|
27
27
|
/**
|
|
28
28
|
* @public
|
|
29
|
-
* <p>Submits an Batch job from a job definition. Parameters that are specified during <a>SubmitJob</a>
|
|
30
|
-
*
|
|
31
|
-
*
|
|
32
|
-
*
|
|
33
|
-
*
|
|
34
|
-
*
|
|
29
|
+
* <p>Submits an Batch job from a job definition. Parameters that are specified during <a>SubmitJob</a> override parameters defined in the job definition. vCPU and memory
|
|
30
|
+
* requirements that are specified in the <code>resourceRequirements</code> objects in the job
|
|
31
|
+
* definition are the exception. They can't be overridden this way using the <code>memory</code>
|
|
32
|
+
* and <code>vcpus</code> parameters. Rather, you must specify updates to job definition
|
|
33
|
+
* parameters in a <code>resourceRequirements</code> object that's included in the
|
|
34
|
+
* <code>containerOverrides</code> parameter.</p>
|
|
35
35
|
* <note>
|
|
36
|
-
* <p>Job queues with a scheduling policy are limited to 500 active fair share identifiers at
|
|
36
|
+
* <p>Job queues with a scheduling policy are limited to 500 active fair share identifiers at
|
|
37
|
+
* a time. </p>
|
|
37
38
|
* </note>
|
|
38
39
|
* <important>
|
|
39
|
-
* <p>Jobs that run on Fargate resources can't be guaranteed to run for more than 14 days.
|
|
40
|
-
*
|
|
40
|
+
* <p>Jobs that run on Fargate resources can't be guaranteed to run for more than 14 days.
|
|
41
|
+
* This is because, after 14 days, Fargate resources might become unavailable and job might be
|
|
42
|
+
* terminated.</p>
|
|
41
43
|
* </important>
|
|
42
44
|
* @example
|
|
43
45
|
* Use a bare-bones client and the command you need to make an API call.
|
|
@@ -108,6 +110,21 @@ declare const SubmitJobCommand_base: {
|
|
|
108
110
|
* },
|
|
109
111
|
* ],
|
|
110
112
|
* },
|
|
113
|
+
* ecsPropertiesOverride: { // EcsPropertiesOverride
|
|
114
|
+
* taskProperties: [ // ListTaskPropertiesOverride
|
|
115
|
+
* { // TaskPropertiesOverride
|
|
116
|
+
* containers: [ // ListTaskContainerOverrides
|
|
117
|
+
* { // TaskContainerOverrides
|
|
118
|
+
* command: "<StringList>",
|
|
119
|
+
* environment: "<EnvironmentVariables>",
|
|
120
|
+
* name: "STRING_VALUE",
|
|
121
|
+
* resourceRequirements: "<ResourceRequirements>",
|
|
122
|
+
* },
|
|
123
|
+
* ],
|
|
124
|
+
* },
|
|
125
|
+
* ],
|
|
126
|
+
* },
|
|
127
|
+
* instanceTypes: "<StringList>",
|
|
111
128
|
* },
|
|
112
129
|
* ],
|
|
113
130
|
* },
|
|
@@ -133,13 +150,10 @@ declare const SubmitJobCommand_base: {
|
|
|
133
150
|
* podProperties: { // EksPodPropertiesOverride
|
|
134
151
|
* containers: [ // EksContainerOverrideList
|
|
135
152
|
* { // EksContainerOverride
|
|
153
|
+
* name: "STRING_VALUE",
|
|
136
154
|
* image: "STRING_VALUE",
|
|
137
|
-
* command:
|
|
138
|
-
*
|
|
139
|
-
* ],
|
|
140
|
-
* args: [
|
|
141
|
-
* "STRING_VALUE",
|
|
142
|
-
* ],
|
|
155
|
+
* command: "<StringList>",
|
|
156
|
+
* args: "<StringList>",
|
|
143
157
|
* env: [ // EksContainerEnvironmentVariables
|
|
144
158
|
* { // EksContainerEnvironmentVariable
|
|
145
159
|
* name: "STRING_VALUE", // required
|
|
@@ -156,6 +170,28 @@ declare const SubmitJobCommand_base: {
|
|
|
156
170
|
* },
|
|
157
171
|
* },
|
|
158
172
|
* ],
|
|
173
|
+
* initContainers: [
|
|
174
|
+
* {
|
|
175
|
+
* name: "STRING_VALUE",
|
|
176
|
+
* image: "STRING_VALUE",
|
|
177
|
+
* command: "<StringList>",
|
|
178
|
+
* args: "<StringList>",
|
|
179
|
+
* env: [
|
|
180
|
+
* {
|
|
181
|
+
* name: "STRING_VALUE", // required
|
|
182
|
+
* value: "STRING_VALUE",
|
|
183
|
+
* },
|
|
184
|
+
* ],
|
|
185
|
+
* resources: {
|
|
186
|
+
* limits: {
|
|
187
|
+
* "<keys>": "STRING_VALUE",
|
|
188
|
+
* },
|
|
189
|
+
* requests: {
|
|
190
|
+
* "<keys>": "STRING_VALUE",
|
|
191
|
+
* },
|
|
192
|
+
* },
|
|
193
|
+
* },
|
|
194
|
+
* ],
|
|
159
195
|
* metadata: { // EksMetadata
|
|
160
196
|
* labels: { // EksLabelsMap
|
|
161
197
|
* "<keys>": "STRING_VALUE",
|
|
@@ -163,6 +199,20 @@ declare const SubmitJobCommand_base: {
|
|
|
163
199
|
* },
|
|
164
200
|
* },
|
|
165
201
|
* },
|
|
202
|
+
* ecsPropertiesOverride: {
|
|
203
|
+
* taskProperties: [
|
|
204
|
+
* {
|
|
205
|
+
* containers: [
|
|
206
|
+
* {
|
|
207
|
+
* command: "<StringList>",
|
|
208
|
+
* environment: "<EnvironmentVariables>",
|
|
209
|
+
* name: "STRING_VALUE",
|
|
210
|
+
* resourceRequirements: "<ResourceRequirements>",
|
|
211
|
+
* },
|
|
212
|
+
* ],
|
|
213
|
+
* },
|
|
214
|
+
* ],
|
|
215
|
+
* },
|
|
166
216
|
* };
|
|
167
217
|
* const command = new SubmitJobCommand(input);
|
|
168
218
|
* const response = await client.send(command);
|
|
@@ -26,9 +26,10 @@ declare const TagResourceCommand_base: {
|
|
|
26
26
|
};
|
|
27
27
|
/**
|
|
28
28
|
* @public
|
|
29
|
-
* <p>Associates the specified tags to a resource with the specified <code>resourceArn</code>.
|
|
30
|
-
*
|
|
31
|
-
*
|
|
29
|
+
* <p>Associates the specified tags to a resource with the specified <code>resourceArn</code>.
|
|
30
|
+
* If existing tags on a resource aren't specified in the request parameters, they aren't
|
|
31
|
+
* changed. When a resource is deleted, the tags that are associated with that resource are
|
|
32
|
+
* deleted as well. Batch resources that support tags are compute environments, jobs, job definitions, job queues,
|
|
32
33
|
* and scheduling policies. ARNs for child jobs of array and multi-node parallel (MNP) jobs aren't supported.</p>
|
|
33
34
|
* @example
|
|
34
35
|
* Use a bare-bones client and the command you need to make an API call.
|
|
@@ -26,9 +26,10 @@ declare const TerminateJobCommand_base: {
|
|
|
26
26
|
};
|
|
27
27
|
/**
|
|
28
28
|
* @public
|
|
29
|
-
* <p>Terminates a job in a job queue. Jobs that are in the <code>STARTING</code> or
|
|
30
|
-
*
|
|
31
|
-
*
|
|
29
|
+
* <p>Terminates a job in a job queue. Jobs that are in the <code>STARTING</code> or
|
|
30
|
+
* <code>RUNNING</code> state are terminated, which causes them to transition to
|
|
31
|
+
* <code>FAILED</code>. Jobs that have not progressed to the <code>STARTING</code> state are
|
|
32
|
+
* cancelled.</p>
|
|
32
33
|
* @example
|
|
33
34
|
* Use a bare-bones client and the command you need to make an API call.
|
|
34
35
|
* ```javascript
|