@aws-sdk/client-batch 3.523.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.
@@ -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.523.0",
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",