@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
|
@@ -377,6 +377,43 @@ export interface ContainerProperties {
|
|
|
377
377
|
runtimePlatform?: RuntimePlatform;
|
|
378
378
|
repositoryCredentials?: RepositoryCredentials;
|
|
379
379
|
}
|
|
380
|
+
export interface TaskContainerDependency {
|
|
381
|
+
containerName?: string;
|
|
382
|
+
condition?: string;
|
|
383
|
+
}
|
|
384
|
+
export interface TaskContainerProperties {
|
|
385
|
+
command?: string[];
|
|
386
|
+
dependsOn?: TaskContainerDependency[];
|
|
387
|
+
environment?: KeyValuePair[];
|
|
388
|
+
essential?: boolean;
|
|
389
|
+
image: string | undefined;
|
|
390
|
+
linuxParameters?: LinuxParameters;
|
|
391
|
+
logConfiguration?: LogConfiguration;
|
|
392
|
+
mountPoints?: MountPoint[];
|
|
393
|
+
name?: string;
|
|
394
|
+
privileged?: boolean;
|
|
395
|
+
readonlyRootFilesystem?: boolean;
|
|
396
|
+
repositoryCredentials?: RepositoryCredentials;
|
|
397
|
+
resourceRequirements?: ResourceRequirement[];
|
|
398
|
+
secrets?: Secret[];
|
|
399
|
+
ulimits?: Ulimit[];
|
|
400
|
+
user?: string;
|
|
401
|
+
}
|
|
402
|
+
export interface EcsTaskProperties {
|
|
403
|
+
containers: TaskContainerProperties[] | undefined;
|
|
404
|
+
ephemeralStorage?: EphemeralStorage;
|
|
405
|
+
executionRoleArn?: string;
|
|
406
|
+
platformVersion?: string;
|
|
407
|
+
ipcMode?: string;
|
|
408
|
+
taskRoleArn?: string;
|
|
409
|
+
pidMode?: string;
|
|
410
|
+
networkConfiguration?: NetworkConfiguration;
|
|
411
|
+
runtimePlatform?: RuntimePlatform;
|
|
412
|
+
volumes?: Volume[];
|
|
413
|
+
}
|
|
414
|
+
export interface EcsProperties {
|
|
415
|
+
taskProperties: EcsTaskProperties[] | undefined;
|
|
416
|
+
}
|
|
380
417
|
export interface EksContainerEnvironmentVariable {
|
|
381
418
|
name: string | undefined;
|
|
382
419
|
value?: string;
|
|
@@ -433,8 +470,10 @@ export interface EksPodProperties {
|
|
|
433
470
|
hostNetwork?: boolean;
|
|
434
471
|
dnsPolicy?: string;
|
|
435
472
|
containers?: EksContainer[];
|
|
473
|
+
initContainers?: EksContainer[];
|
|
436
474
|
volumes?: EksVolume[];
|
|
437
475
|
metadata?: EksMetadata;
|
|
476
|
+
shareProcessNamespace?: boolean;
|
|
438
477
|
}
|
|
439
478
|
export interface EksProperties {
|
|
440
479
|
podProperties?: EksPodProperties;
|
|
@@ -442,6 +481,8 @@ export interface EksProperties {
|
|
|
442
481
|
export interface NodeRangeProperty {
|
|
443
482
|
targetNodes: string | undefined;
|
|
444
483
|
container?: ContainerProperties;
|
|
484
|
+
instanceTypes?: string[];
|
|
485
|
+
ecsProperties?: EcsProperties;
|
|
445
486
|
}
|
|
446
487
|
export interface NodeProperties {
|
|
447
488
|
numNodes: number | undefined;
|
|
@@ -487,6 +528,7 @@ export interface JobDefinition {
|
|
|
487
528
|
tags?: Record<string, string>;
|
|
488
529
|
propagateTags?: boolean;
|
|
489
530
|
platformCapabilities?: PlatformCapability[];
|
|
531
|
+
ecsProperties?: EcsProperties;
|
|
490
532
|
eksProperties?: EksProperties;
|
|
491
533
|
containerOrchestrationType?: OrchestrationType;
|
|
492
534
|
}
|
|
@@ -561,12 +603,52 @@ export interface JobDependency {
|
|
|
561
603
|
jobId?: string;
|
|
562
604
|
type?: ArrayJobDependency;
|
|
563
605
|
}
|
|
606
|
+
export interface TaskContainerDetails {
|
|
607
|
+
command?: string[];
|
|
608
|
+
dependsOn?: TaskContainerDependency[];
|
|
609
|
+
environment?: KeyValuePair[];
|
|
610
|
+
essential?: boolean;
|
|
611
|
+
image?: string;
|
|
612
|
+
linuxParameters?: LinuxParameters;
|
|
613
|
+
logConfiguration?: LogConfiguration;
|
|
614
|
+
mountPoints?: MountPoint[];
|
|
615
|
+
name?: string;
|
|
616
|
+
privileged?: boolean;
|
|
617
|
+
readonlyRootFilesystem?: boolean;
|
|
618
|
+
repositoryCredentials?: RepositoryCredentials;
|
|
619
|
+
resourceRequirements?: ResourceRequirement[];
|
|
620
|
+
secrets?: Secret[];
|
|
621
|
+
ulimits?: Ulimit[];
|
|
622
|
+
user?: string;
|
|
623
|
+
exitCode?: number;
|
|
624
|
+
reason?: string;
|
|
625
|
+
logStreamName?: string;
|
|
626
|
+
networkInterfaces?: NetworkInterface[];
|
|
627
|
+
}
|
|
628
|
+
export interface EcsTaskDetails {
|
|
629
|
+
containers?: TaskContainerDetails[];
|
|
630
|
+
containerInstanceArn?: string;
|
|
631
|
+
taskArn?: string;
|
|
632
|
+
ephemeralStorage?: EphemeralStorage;
|
|
633
|
+
executionRoleArn?: string;
|
|
634
|
+
platformVersion?: string;
|
|
635
|
+
ipcMode?: string;
|
|
636
|
+
taskRoleArn?: string;
|
|
637
|
+
pidMode?: string;
|
|
638
|
+
networkConfiguration?: NetworkConfiguration;
|
|
639
|
+
runtimePlatform?: RuntimePlatform;
|
|
640
|
+
volumes?: Volume[];
|
|
641
|
+
}
|
|
642
|
+
export interface EcsPropertiesDetail {
|
|
643
|
+
taskProperties?: EcsTaskDetails[];
|
|
644
|
+
}
|
|
564
645
|
export interface EksAttemptContainerDetail {
|
|
565
646
|
exitCode?: number;
|
|
566
647
|
reason?: string;
|
|
567
648
|
}
|
|
568
649
|
export interface EksAttemptDetail {
|
|
569
650
|
containers?: EksAttemptContainerDetail[];
|
|
651
|
+
initContainers?: EksAttemptContainerDetail[];
|
|
570
652
|
podName?: string;
|
|
571
653
|
nodeName?: string;
|
|
572
654
|
startedAt?: number;
|
|
@@ -591,10 +673,12 @@ export interface EksPodPropertiesDetail {
|
|
|
591
673
|
hostNetwork?: boolean;
|
|
592
674
|
dnsPolicy?: string;
|
|
593
675
|
containers?: EksContainerDetail[];
|
|
676
|
+
initContainers?: EksContainerDetail[];
|
|
594
677
|
volumes?: EksVolume[];
|
|
595
678
|
podName?: string;
|
|
596
679
|
nodeName?: string;
|
|
597
680
|
metadata?: EksMetadata;
|
|
681
|
+
shareProcessNamespace?: boolean;
|
|
598
682
|
}
|
|
599
683
|
export interface EksPropertiesDetail {
|
|
600
684
|
podProperties?: EksPodPropertiesDetail;
|
|
@@ -640,6 +724,7 @@ export interface JobDetail {
|
|
|
640
724
|
platformCapabilities?: PlatformCapability[];
|
|
641
725
|
eksProperties?: EksPropertiesDetail;
|
|
642
726
|
eksAttempts?: EksAttemptDetail[];
|
|
727
|
+
ecsProperties?: EcsPropertiesDetail;
|
|
643
728
|
isCancelled?: boolean;
|
|
644
729
|
isTerminated?: boolean;
|
|
645
730
|
}
|
|
@@ -734,6 +819,7 @@ export interface RegisterJobDefinitionRequest {
|
|
|
734
819
|
tags?: Record<string, string>;
|
|
735
820
|
platformCapabilities?: PlatformCapability[];
|
|
736
821
|
eksProperties?: EksProperties;
|
|
822
|
+
ecsProperties?: EcsProperties;
|
|
737
823
|
}
|
|
738
824
|
export interface RegisterJobDefinitionResponse {
|
|
739
825
|
jobDefinitionName: string | undefined;
|
|
@@ -748,7 +834,20 @@ export interface ContainerOverrides {
|
|
|
748
834
|
environment?: KeyValuePair[];
|
|
749
835
|
resourceRequirements?: ResourceRequirement[];
|
|
750
836
|
}
|
|
837
|
+
export interface TaskContainerOverrides {
|
|
838
|
+
command?: string[];
|
|
839
|
+
environment?: KeyValuePair[];
|
|
840
|
+
name?: string;
|
|
841
|
+
resourceRequirements?: ResourceRequirement[];
|
|
842
|
+
}
|
|
843
|
+
export interface TaskPropertiesOverride {
|
|
844
|
+
containers?: TaskContainerOverrides[];
|
|
845
|
+
}
|
|
846
|
+
export interface EcsPropertiesOverride {
|
|
847
|
+
taskProperties?: TaskPropertiesOverride[];
|
|
848
|
+
}
|
|
751
849
|
export interface EksContainerOverride {
|
|
850
|
+
name?: string;
|
|
752
851
|
image?: string;
|
|
753
852
|
command?: string[];
|
|
754
853
|
args?: string[];
|
|
@@ -757,6 +856,7 @@ export interface EksContainerOverride {
|
|
|
757
856
|
}
|
|
758
857
|
export interface EksPodPropertiesOverride {
|
|
759
858
|
containers?: EksContainerOverride[];
|
|
859
|
+
initContainers?: EksContainerOverride[];
|
|
760
860
|
metadata?: EksMetadata;
|
|
761
861
|
}
|
|
762
862
|
export interface EksPropertiesOverride {
|
|
@@ -765,6 +865,8 @@ export interface EksPropertiesOverride {
|
|
|
765
865
|
export interface NodePropertyOverride {
|
|
766
866
|
targetNodes: string | undefined;
|
|
767
867
|
containerOverrides?: ContainerOverrides;
|
|
868
|
+
ecsPropertiesOverride?: EcsPropertiesOverride;
|
|
869
|
+
instanceTypes?: string[];
|
|
768
870
|
}
|
|
769
871
|
export interface NodeOverrides {
|
|
770
872
|
numNodes?: number;
|
|
@@ -786,6 +888,7 @@ export interface SubmitJobRequest {
|
|
|
786
888
|
timeout?: JobTimeout;
|
|
787
889
|
tags?: Record<string, string>;
|
|
788
890
|
eksPropertiesOverride?: EksPropertiesOverride;
|
|
891
|
+
ecsPropertiesOverride?: EcsPropertiesOverride;
|
|
789
892
|
}
|
|
790
893
|
export interface SubmitJobResponse {
|
|
791
894
|
jobArn?: string;
|
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.
|
|
4
|
+
"version": "3.524.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,42 +20,42 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
23
|
-
"@aws-sdk/client-sts": "3.
|
|
24
|
-
"@aws-sdk/core": "3.
|
|
25
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
26
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
27
|
-
"@aws-sdk/middleware-logger": "3.
|
|
28
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
29
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
30
|
-
"@aws-sdk/region-config-resolver": "3.
|
|
31
|
-
"@aws-sdk/types": "3.
|
|
32
|
-
"@aws-sdk/util-endpoints": "3.
|
|
33
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
34
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
35
|
-
"@smithy/config-resolver": "^2.1.
|
|
36
|
-
"@smithy/core": "^1.3.
|
|
37
|
-
"@smithy/fetch-http-handler": "^2.4.
|
|
38
|
-
"@smithy/hash-node": "^2.1.
|
|
39
|
-
"@smithy/invalid-dependency": "^2.1.
|
|
40
|
-
"@smithy/middleware-content-length": "^2.1.
|
|
41
|
-
"@smithy/middleware-endpoint": "^2.4.
|
|
42
|
-
"@smithy/middleware-retry": "^2.1.
|
|
43
|
-
"@smithy/middleware-serde": "^2.1.
|
|
44
|
-
"@smithy/middleware-stack": "^2.1.
|
|
45
|
-
"@smithy/node-config-provider": "^2.2.
|
|
46
|
-
"@smithy/node-http-handler": "^2.4.
|
|
47
|
-
"@smithy/protocol-http": "^3.2.
|
|
48
|
-
"@smithy/smithy-client": "^2.4.
|
|
49
|
-
"@smithy/types": "^2.10.
|
|
50
|
-
"@smithy/url-parser": "^2.1.
|
|
23
|
+
"@aws-sdk/client-sts": "3.523.0",
|
|
24
|
+
"@aws-sdk/core": "3.523.0",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "3.523.0",
|
|
26
|
+
"@aws-sdk/middleware-host-header": "3.523.0",
|
|
27
|
+
"@aws-sdk/middleware-logger": "3.523.0",
|
|
28
|
+
"@aws-sdk/middleware-recursion-detection": "3.523.0",
|
|
29
|
+
"@aws-sdk/middleware-user-agent": "3.523.0",
|
|
30
|
+
"@aws-sdk/region-config-resolver": "3.523.0",
|
|
31
|
+
"@aws-sdk/types": "3.523.0",
|
|
32
|
+
"@aws-sdk/util-endpoints": "3.523.0",
|
|
33
|
+
"@aws-sdk/util-user-agent-browser": "3.523.0",
|
|
34
|
+
"@aws-sdk/util-user-agent-node": "3.523.0",
|
|
35
|
+
"@smithy/config-resolver": "^2.1.3",
|
|
36
|
+
"@smithy/core": "^1.3.4",
|
|
37
|
+
"@smithy/fetch-http-handler": "^2.4.3",
|
|
38
|
+
"@smithy/hash-node": "^2.1.3",
|
|
39
|
+
"@smithy/invalid-dependency": "^2.1.3",
|
|
40
|
+
"@smithy/middleware-content-length": "^2.1.3",
|
|
41
|
+
"@smithy/middleware-endpoint": "^2.4.3",
|
|
42
|
+
"@smithy/middleware-retry": "^2.1.3",
|
|
43
|
+
"@smithy/middleware-serde": "^2.1.3",
|
|
44
|
+
"@smithy/middleware-stack": "^2.1.3",
|
|
45
|
+
"@smithy/node-config-provider": "^2.2.3",
|
|
46
|
+
"@smithy/node-http-handler": "^2.4.1",
|
|
47
|
+
"@smithy/protocol-http": "^3.2.1",
|
|
48
|
+
"@smithy/smithy-client": "^2.4.1",
|
|
49
|
+
"@smithy/types": "^2.10.1",
|
|
50
|
+
"@smithy/url-parser": "^2.1.3",
|
|
51
51
|
"@smithy/util-base64": "^2.1.1",
|
|
52
52
|
"@smithy/util-body-length-browser": "^2.1.1",
|
|
53
53
|
"@smithy/util-body-length-node": "^2.2.1",
|
|
54
|
-
"@smithy/util-defaults-mode-browser": "^2.1.
|
|
55
|
-
"@smithy/util-defaults-mode-node": "^2.2.
|
|
56
|
-
"@smithy/util-endpoints": "^1.1.
|
|
57
|
-
"@smithy/util-middleware": "^2.1.
|
|
58
|
-
"@smithy/util-retry": "^2.1.
|
|
54
|
+
"@smithy/util-defaults-mode-browser": "^2.1.3",
|
|
55
|
+
"@smithy/util-defaults-mode-node": "^2.2.2",
|
|
56
|
+
"@smithy/util-endpoints": "^1.1.3",
|
|
57
|
+
"@smithy/util-middleware": "^2.1.3",
|
|
58
|
+
"@smithy/util-retry": "^2.1.3",
|
|
59
59
|
"@smithy/util-utf8": "^2.1.1",
|
|
60
60
|
"tslib": "^2.5.0"
|
|
61
61
|
},
|