aws-sdk-batch 1.81.0 → 1.83.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-batch/client.rb +765 -22
- data/lib/aws-sdk-batch/client_api.rb +149 -0
- data/lib/aws-sdk-batch/types.rb +1536 -286
- data/lib/aws-sdk-batch.rb +1 -1
- data/sig/client.rbs +364 -3
- data/sig/types.rbs +134 -0
- metadata +2 -2
data/lib/aws-sdk-batch.rb
CHANGED
data/sig/client.rbs
CHANGED
@@ -148,7 +148,15 @@ module Aws
|
|
148
148
|
compute_environment: ::String
|
149
149
|
},
|
150
150
|
],
|
151
|
-
?tags: Hash[::String, ::String]
|
151
|
+
?tags: Hash[::String, ::String],
|
152
|
+
?job_state_time_limit_actions: Array[
|
153
|
+
{
|
154
|
+
reason: ::String,
|
155
|
+
state: ("RUNNABLE"),
|
156
|
+
max_time_seconds: ::Integer,
|
157
|
+
action: ("CANCEL")
|
158
|
+
},
|
159
|
+
]
|
152
160
|
) -> _CreateJobQueueResponseSuccess
|
153
161
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateJobQueueResponseSuccess
|
154
162
|
|
@@ -548,6 +556,128 @@ module Aws
|
|
548
556
|
repository_credentials: {
|
549
557
|
credentials_parameter: ::String
|
550
558
|
}?
|
559
|
+
}?,
|
560
|
+
instance_types: Array[::String]?,
|
561
|
+
ecs_properties: {
|
562
|
+
task_properties: Array[
|
563
|
+
{
|
564
|
+
containers: Array[
|
565
|
+
{
|
566
|
+
command: Array[::String]?,
|
567
|
+
depends_on: Array[
|
568
|
+
{
|
569
|
+
container_name: ::String?,
|
570
|
+
condition: ::String?
|
571
|
+
},
|
572
|
+
]?,
|
573
|
+
environment: Array[
|
574
|
+
{
|
575
|
+
name: ::String?,
|
576
|
+
value: ::String?
|
577
|
+
},
|
578
|
+
]?,
|
579
|
+
essential: bool?,
|
580
|
+
image: ::String,
|
581
|
+
linux_parameters: {
|
582
|
+
devices: Array[
|
583
|
+
{
|
584
|
+
host_path: ::String,
|
585
|
+
container_path: ::String?,
|
586
|
+
permissions: Array[("READ" | "WRITE" | "MKNOD")]?
|
587
|
+
},
|
588
|
+
]?,
|
589
|
+
init_process_enabled: bool?,
|
590
|
+
shared_memory_size: ::Integer?,
|
591
|
+
tmpfs: Array[
|
592
|
+
{
|
593
|
+
container_path: ::String,
|
594
|
+
size: ::Integer,
|
595
|
+
mount_options: Array[::String]?
|
596
|
+
},
|
597
|
+
]?,
|
598
|
+
max_swap: ::Integer?,
|
599
|
+
swappiness: ::Integer?
|
600
|
+
}?,
|
601
|
+
log_configuration: {
|
602
|
+
log_driver: ("json-file" | "syslog" | "journald" | "gelf" | "fluentd" | "awslogs" | "splunk"),
|
603
|
+
options: Hash[::String, ::String]?,
|
604
|
+
secret_options: Array[
|
605
|
+
{
|
606
|
+
name: ::String,
|
607
|
+
value_from: ::String
|
608
|
+
},
|
609
|
+
]?
|
610
|
+
}?,
|
611
|
+
mount_points: Array[
|
612
|
+
{
|
613
|
+
container_path: ::String?,
|
614
|
+
read_only: bool?,
|
615
|
+
source_volume: ::String?
|
616
|
+
},
|
617
|
+
]?,
|
618
|
+
name: ::String?,
|
619
|
+
privileged: bool?,
|
620
|
+
readonly_root_filesystem: bool?,
|
621
|
+
repository_credentials: {
|
622
|
+
credentials_parameter: ::String
|
623
|
+
}?,
|
624
|
+
resource_requirements: Array[
|
625
|
+
{
|
626
|
+
value: ::String,
|
627
|
+
type: ("GPU" | "VCPU" | "MEMORY")
|
628
|
+
},
|
629
|
+
]?,
|
630
|
+
secrets: Array[
|
631
|
+
{
|
632
|
+
name: ::String,
|
633
|
+
value_from: ::String
|
634
|
+
},
|
635
|
+
]?,
|
636
|
+
ulimits: Array[
|
637
|
+
{
|
638
|
+
hard_limit: ::Integer,
|
639
|
+
name: ::String,
|
640
|
+
soft_limit: ::Integer
|
641
|
+
},
|
642
|
+
]?,
|
643
|
+
user: ::String?
|
644
|
+
},
|
645
|
+
],
|
646
|
+
ephemeral_storage: {
|
647
|
+
size_in_gi_b: ::Integer
|
648
|
+
}?,
|
649
|
+
execution_role_arn: ::String?,
|
650
|
+
platform_version: ::String?,
|
651
|
+
ipc_mode: ::String?,
|
652
|
+
task_role_arn: ::String?,
|
653
|
+
pid_mode: ::String?,
|
654
|
+
network_configuration: {
|
655
|
+
assign_public_ip: ("ENABLED" | "DISABLED")?
|
656
|
+
}?,
|
657
|
+
runtime_platform: {
|
658
|
+
operating_system_family: ::String?,
|
659
|
+
cpu_architecture: ::String?
|
660
|
+
}?,
|
661
|
+
volumes: Array[
|
662
|
+
{
|
663
|
+
host: {
|
664
|
+
source_path: ::String?
|
665
|
+
}?,
|
666
|
+
name: ::String?,
|
667
|
+
efs_volume_configuration: {
|
668
|
+
file_system_id: ::String,
|
669
|
+
root_directory: ::String?,
|
670
|
+
transit_encryption: ("ENABLED" | "DISABLED")?,
|
671
|
+
transit_encryption_port: ::Integer?,
|
672
|
+
authorization_config: {
|
673
|
+
access_point_id: ::String?,
|
674
|
+
iam: ("ENABLED" | "DISABLED")?
|
675
|
+
}?
|
676
|
+
}?
|
677
|
+
},
|
678
|
+
]?
|
679
|
+
},
|
680
|
+
]
|
551
681
|
}?
|
552
682
|
},
|
553
683
|
]
|
@@ -607,6 +737,39 @@ module Aws
|
|
607
737
|
}?
|
608
738
|
},
|
609
739
|
]?,
|
740
|
+
init_containers: Array[
|
741
|
+
{
|
742
|
+
name: ::String?,
|
743
|
+
image: ::String,
|
744
|
+
image_pull_policy: ::String?,
|
745
|
+
command: Array[::String]?,
|
746
|
+
args: Array[::String]?,
|
747
|
+
env: Array[
|
748
|
+
{
|
749
|
+
name: ::String,
|
750
|
+
value: ::String?
|
751
|
+
},
|
752
|
+
]?,
|
753
|
+
resources: {
|
754
|
+
limits: Hash[::String, ::String]?,
|
755
|
+
requests: Hash[::String, ::String]?
|
756
|
+
}?,
|
757
|
+
volume_mounts: Array[
|
758
|
+
{
|
759
|
+
name: ::String?,
|
760
|
+
mount_path: ::String?,
|
761
|
+
read_only: bool?
|
762
|
+
},
|
763
|
+
]?,
|
764
|
+
security_context: {
|
765
|
+
run_as_user: ::Integer?,
|
766
|
+
run_as_group: ::Integer?,
|
767
|
+
privileged: bool?,
|
768
|
+
read_only_root_filesystem: bool?,
|
769
|
+
run_as_non_root: bool?
|
770
|
+
}?
|
771
|
+
},
|
772
|
+
]?,
|
610
773
|
volumes: Array[
|
611
774
|
{
|
612
775
|
name: ::String,
|
@@ -625,8 +788,130 @@ module Aws
|
|
625
788
|
]?,
|
626
789
|
metadata: {
|
627
790
|
labels: Hash[::String, ::String]?
|
628
|
-
}
|
791
|
+
}?,
|
792
|
+
share_process_namespace: bool?
|
629
793
|
}?
|
794
|
+
},
|
795
|
+
?ecs_properties: {
|
796
|
+
task_properties: Array[
|
797
|
+
{
|
798
|
+
containers: Array[
|
799
|
+
{
|
800
|
+
command: Array[::String]?,
|
801
|
+
depends_on: Array[
|
802
|
+
{
|
803
|
+
container_name: ::String?,
|
804
|
+
condition: ::String?
|
805
|
+
},
|
806
|
+
]?,
|
807
|
+
environment: Array[
|
808
|
+
{
|
809
|
+
name: ::String?,
|
810
|
+
value: ::String?
|
811
|
+
},
|
812
|
+
]?,
|
813
|
+
essential: bool?,
|
814
|
+
image: ::String,
|
815
|
+
linux_parameters: {
|
816
|
+
devices: Array[
|
817
|
+
{
|
818
|
+
host_path: ::String,
|
819
|
+
container_path: ::String?,
|
820
|
+
permissions: Array[("READ" | "WRITE" | "MKNOD")]?
|
821
|
+
},
|
822
|
+
]?,
|
823
|
+
init_process_enabled: bool?,
|
824
|
+
shared_memory_size: ::Integer?,
|
825
|
+
tmpfs: Array[
|
826
|
+
{
|
827
|
+
container_path: ::String,
|
828
|
+
size: ::Integer,
|
829
|
+
mount_options: Array[::String]?
|
830
|
+
},
|
831
|
+
]?,
|
832
|
+
max_swap: ::Integer?,
|
833
|
+
swappiness: ::Integer?
|
834
|
+
}?,
|
835
|
+
log_configuration: {
|
836
|
+
log_driver: ("json-file" | "syslog" | "journald" | "gelf" | "fluentd" | "awslogs" | "splunk"),
|
837
|
+
options: Hash[::String, ::String]?,
|
838
|
+
secret_options: Array[
|
839
|
+
{
|
840
|
+
name: ::String,
|
841
|
+
value_from: ::String
|
842
|
+
},
|
843
|
+
]?
|
844
|
+
}?,
|
845
|
+
mount_points: Array[
|
846
|
+
{
|
847
|
+
container_path: ::String?,
|
848
|
+
read_only: bool?,
|
849
|
+
source_volume: ::String?
|
850
|
+
},
|
851
|
+
]?,
|
852
|
+
name: ::String?,
|
853
|
+
privileged: bool?,
|
854
|
+
readonly_root_filesystem: bool?,
|
855
|
+
repository_credentials: {
|
856
|
+
credentials_parameter: ::String
|
857
|
+
}?,
|
858
|
+
resource_requirements: Array[
|
859
|
+
{
|
860
|
+
value: ::String,
|
861
|
+
type: ("GPU" | "VCPU" | "MEMORY")
|
862
|
+
},
|
863
|
+
]?,
|
864
|
+
secrets: Array[
|
865
|
+
{
|
866
|
+
name: ::String,
|
867
|
+
value_from: ::String
|
868
|
+
},
|
869
|
+
]?,
|
870
|
+
ulimits: Array[
|
871
|
+
{
|
872
|
+
hard_limit: ::Integer,
|
873
|
+
name: ::String,
|
874
|
+
soft_limit: ::Integer
|
875
|
+
},
|
876
|
+
]?,
|
877
|
+
user: ::String?
|
878
|
+
},
|
879
|
+
],
|
880
|
+
ephemeral_storage: {
|
881
|
+
size_in_gi_b: ::Integer
|
882
|
+
}?,
|
883
|
+
execution_role_arn: ::String?,
|
884
|
+
platform_version: ::String?,
|
885
|
+
ipc_mode: ::String?,
|
886
|
+
task_role_arn: ::String?,
|
887
|
+
pid_mode: ::String?,
|
888
|
+
network_configuration: {
|
889
|
+
assign_public_ip: ("ENABLED" | "DISABLED")?
|
890
|
+
}?,
|
891
|
+
runtime_platform: {
|
892
|
+
operating_system_family: ::String?,
|
893
|
+
cpu_architecture: ::String?
|
894
|
+
}?,
|
895
|
+
volumes: Array[
|
896
|
+
{
|
897
|
+
host: {
|
898
|
+
source_path: ::String?
|
899
|
+
}?,
|
900
|
+
name: ::String?,
|
901
|
+
efs_volume_configuration: {
|
902
|
+
file_system_id: ::String,
|
903
|
+
root_directory: ::String?,
|
904
|
+
transit_encryption: ("ENABLED" | "DISABLED")?,
|
905
|
+
transit_encryption_port: ::Integer?,
|
906
|
+
authorization_config: {
|
907
|
+
access_point_id: ::String?,
|
908
|
+
iam: ("ENABLED" | "DISABLED")?
|
909
|
+
}?
|
910
|
+
}?
|
911
|
+
},
|
912
|
+
]?
|
913
|
+
},
|
914
|
+
]
|
630
915
|
}
|
631
916
|
) -> _RegisterJobDefinitionResponseSuccess
|
632
917
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _RegisterJobDefinitionResponseSuccess
|
@@ -694,7 +979,32 @@ module Aws
|
|
694
979
|
type: ("GPU" | "VCPU" | "MEMORY")
|
695
980
|
},
|
696
981
|
]?
|
697
|
-
}
|
982
|
+
}?,
|
983
|
+
ecs_properties_override: {
|
984
|
+
task_properties: Array[
|
985
|
+
{
|
986
|
+
containers: Array[
|
987
|
+
{
|
988
|
+
command: Array[::String]?,
|
989
|
+
environment: Array[
|
990
|
+
{
|
991
|
+
name: ::String?,
|
992
|
+
value: ::String?
|
993
|
+
},
|
994
|
+
]?,
|
995
|
+
name: ::String?,
|
996
|
+
resource_requirements: Array[
|
997
|
+
{
|
998
|
+
value: ::String,
|
999
|
+
type: ("GPU" | "VCPU" | "MEMORY")
|
1000
|
+
},
|
1001
|
+
]?
|
1002
|
+
},
|
1003
|
+
]?
|
1004
|
+
},
|
1005
|
+
]?
|
1006
|
+
}?,
|
1007
|
+
instance_types: Array[::String]?
|
698
1008
|
},
|
699
1009
|
]?
|
700
1010
|
},
|
@@ -718,6 +1028,25 @@ module Aws
|
|
718
1028
|
pod_properties: {
|
719
1029
|
containers: Array[
|
720
1030
|
{
|
1031
|
+
name: ::String?,
|
1032
|
+
image: ::String?,
|
1033
|
+
command: Array[::String]?,
|
1034
|
+
args: Array[::String]?,
|
1035
|
+
env: Array[
|
1036
|
+
{
|
1037
|
+
name: ::String,
|
1038
|
+
value: ::String?
|
1039
|
+
},
|
1040
|
+
]?,
|
1041
|
+
resources: {
|
1042
|
+
limits: Hash[::String, ::String]?,
|
1043
|
+
requests: Hash[::String, ::String]?
|
1044
|
+
}?
|
1045
|
+
},
|
1046
|
+
]?,
|
1047
|
+
init_containers: Array[
|
1048
|
+
{
|
1049
|
+
name: ::String?,
|
721
1050
|
image: ::String?,
|
722
1051
|
command: Array[::String]?,
|
723
1052
|
args: Array[::String]?,
|
@@ -737,6 +1066,30 @@ module Aws
|
|
737
1066
|
labels: Hash[::String, ::String]?
|
738
1067
|
}?
|
739
1068
|
}?
|
1069
|
+
},
|
1070
|
+
?ecs_properties_override: {
|
1071
|
+
task_properties: Array[
|
1072
|
+
{
|
1073
|
+
containers: Array[
|
1074
|
+
{
|
1075
|
+
command: Array[::String]?,
|
1076
|
+
environment: Array[
|
1077
|
+
{
|
1078
|
+
name: ::String?,
|
1079
|
+
value: ::String?
|
1080
|
+
},
|
1081
|
+
]?,
|
1082
|
+
name: ::String?,
|
1083
|
+
resource_requirements: Array[
|
1084
|
+
{
|
1085
|
+
value: ::String,
|
1086
|
+
type: ("GPU" | "VCPU" | "MEMORY")
|
1087
|
+
},
|
1088
|
+
]?
|
1089
|
+
},
|
1090
|
+
]?
|
1091
|
+
},
|
1092
|
+
]?
|
740
1093
|
}
|
741
1094
|
) -> _SubmitJobResponseSuccess
|
742
1095
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _SubmitJobResponseSuccess
|
@@ -834,6 +1187,14 @@ module Aws
|
|
834
1187
|
order: ::Integer,
|
835
1188
|
compute_environment: ::String
|
836
1189
|
},
|
1190
|
+
],
|
1191
|
+
?job_state_time_limit_actions: Array[
|
1192
|
+
{
|
1193
|
+
reason: ::String,
|
1194
|
+
state: ("RUNNABLE"),
|
1195
|
+
max_time_seconds: ::Integer,
|
1196
|
+
action: ("CANCEL")
|
1197
|
+
},
|
837
1198
|
]
|
838
1199
|
) -> _UpdateJobQueueResponseSuccess
|
839
1200
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateJobQueueResponseSuccess
|
data/sig/types.rbs
CHANGED
@@ -226,6 +226,7 @@ module Aws::Batch
|
|
226
226
|
attr_accessor priority: ::Integer
|
227
227
|
attr_accessor compute_environment_order: ::Array[Types::ComputeEnvironmentOrder]
|
228
228
|
attr_accessor tags: ::Hash[::String, ::String]
|
229
|
+
attr_accessor job_state_time_limit_actions: ::Array[Types::JobStateTimeLimitAction]
|
229
230
|
SENSITIVE: []
|
230
231
|
end
|
231
232
|
|
@@ -370,6 +371,51 @@ module Aws::Batch
|
|
370
371
|
SENSITIVE: []
|
371
372
|
end
|
372
373
|
|
374
|
+
class EcsProperties
|
375
|
+
attr_accessor task_properties: ::Array[Types::EcsTaskProperties]
|
376
|
+
SENSITIVE: []
|
377
|
+
end
|
378
|
+
|
379
|
+
class EcsPropertiesDetail
|
380
|
+
attr_accessor task_properties: ::Array[Types::EcsTaskDetails]
|
381
|
+
SENSITIVE: []
|
382
|
+
end
|
383
|
+
|
384
|
+
class EcsPropertiesOverride
|
385
|
+
attr_accessor task_properties: ::Array[Types::TaskPropertiesOverride]
|
386
|
+
SENSITIVE: []
|
387
|
+
end
|
388
|
+
|
389
|
+
class EcsTaskDetails
|
390
|
+
attr_accessor containers: ::Array[Types::TaskContainerDetails]
|
391
|
+
attr_accessor container_instance_arn: ::String
|
392
|
+
attr_accessor task_arn: ::String
|
393
|
+
attr_accessor ephemeral_storage: Types::EphemeralStorage
|
394
|
+
attr_accessor execution_role_arn: ::String
|
395
|
+
attr_accessor platform_version: ::String
|
396
|
+
attr_accessor ipc_mode: ::String
|
397
|
+
attr_accessor task_role_arn: ::String
|
398
|
+
attr_accessor pid_mode: ::String
|
399
|
+
attr_accessor network_configuration: Types::NetworkConfiguration
|
400
|
+
attr_accessor runtime_platform: Types::RuntimePlatform
|
401
|
+
attr_accessor volumes: ::Array[Types::Volume]
|
402
|
+
SENSITIVE: []
|
403
|
+
end
|
404
|
+
|
405
|
+
class EcsTaskProperties
|
406
|
+
attr_accessor containers: ::Array[Types::TaskContainerProperties]
|
407
|
+
attr_accessor ephemeral_storage: Types::EphemeralStorage
|
408
|
+
attr_accessor execution_role_arn: ::String
|
409
|
+
attr_accessor platform_version: ::String
|
410
|
+
attr_accessor ipc_mode: ::String
|
411
|
+
attr_accessor task_role_arn: ::String
|
412
|
+
attr_accessor pid_mode: ::String
|
413
|
+
attr_accessor network_configuration: Types::NetworkConfiguration
|
414
|
+
attr_accessor runtime_platform: Types::RuntimePlatform
|
415
|
+
attr_accessor volumes: ::Array[Types::Volume]
|
416
|
+
SENSITIVE: []
|
417
|
+
end
|
418
|
+
|
373
419
|
class EksAttemptContainerDetail
|
374
420
|
attr_accessor exit_code: ::Integer
|
375
421
|
attr_accessor reason: ::String
|
@@ -378,6 +424,7 @@ module Aws::Batch
|
|
378
424
|
|
379
425
|
class EksAttemptDetail
|
380
426
|
attr_accessor containers: ::Array[Types::EksAttemptContainerDetail]
|
427
|
+
attr_accessor init_containers: ::Array[Types::EksAttemptContainerDetail]
|
381
428
|
attr_accessor pod_name: ::String
|
382
429
|
attr_accessor node_name: ::String
|
383
430
|
attr_accessor started_at: ::Integer
|
@@ -427,6 +474,7 @@ module Aws::Batch
|
|
427
474
|
end
|
428
475
|
|
429
476
|
class EksContainerOverride
|
477
|
+
attr_accessor name: ::String
|
430
478
|
attr_accessor image: ::String
|
431
479
|
attr_accessor command: ::Array[::String]
|
432
480
|
attr_accessor args: ::Array[::String]
|
@@ -478,8 +526,10 @@ module Aws::Batch
|
|
478
526
|
attr_accessor host_network: bool
|
479
527
|
attr_accessor dns_policy: ::String
|
480
528
|
attr_accessor containers: ::Array[Types::EksContainer]
|
529
|
+
attr_accessor init_containers: ::Array[Types::EksContainer]
|
481
530
|
attr_accessor volumes: ::Array[Types::EksVolume]
|
482
531
|
attr_accessor metadata: Types::EksMetadata
|
532
|
+
attr_accessor share_process_namespace: bool
|
483
533
|
SENSITIVE: []
|
484
534
|
end
|
485
535
|
|
@@ -488,15 +538,18 @@ module Aws::Batch
|
|
488
538
|
attr_accessor host_network: bool
|
489
539
|
attr_accessor dns_policy: ::String
|
490
540
|
attr_accessor containers: ::Array[Types::EksContainerDetail]
|
541
|
+
attr_accessor init_containers: ::Array[Types::EksContainerDetail]
|
491
542
|
attr_accessor volumes: ::Array[Types::EksVolume]
|
492
543
|
attr_accessor pod_name: ::String
|
493
544
|
attr_accessor node_name: ::String
|
494
545
|
attr_accessor metadata: Types::EksMetadata
|
546
|
+
attr_accessor share_process_namespace: bool
|
495
547
|
SENSITIVE: []
|
496
548
|
end
|
497
549
|
|
498
550
|
class EksPodPropertiesOverride
|
499
551
|
attr_accessor containers: ::Array[Types::EksContainerOverride]
|
552
|
+
attr_accessor init_containers: ::Array[Types::EksContainerOverride]
|
500
553
|
attr_accessor metadata: Types::EksMetadata
|
501
554
|
SENSITIVE: []
|
502
555
|
end
|
@@ -575,6 +628,7 @@ module Aws::Batch
|
|
575
628
|
attr_accessor tags: ::Hash[::String, ::String]
|
576
629
|
attr_accessor propagate_tags: bool
|
577
630
|
attr_accessor platform_capabilities: ::Array[("EC2" | "FARGATE")]
|
631
|
+
attr_accessor ecs_properties: Types::EcsProperties
|
578
632
|
attr_accessor eks_properties: Types::EksProperties
|
579
633
|
attr_accessor container_orchestration_type: ("ECS" | "EKS")
|
580
634
|
SENSITIVE: []
|
@@ -613,6 +667,7 @@ module Aws::Batch
|
|
613
667
|
attr_accessor platform_capabilities: ::Array[("EC2" | "FARGATE")]
|
614
668
|
attr_accessor eks_properties: Types::EksPropertiesDetail
|
615
669
|
attr_accessor eks_attempts: ::Array[Types::EksAttemptDetail]
|
670
|
+
attr_accessor ecs_properties: Types::EcsPropertiesDetail
|
616
671
|
attr_accessor is_cancelled: bool
|
617
672
|
attr_accessor is_terminated: bool
|
618
673
|
SENSITIVE: []
|
@@ -628,6 +683,15 @@ module Aws::Batch
|
|
628
683
|
attr_accessor priority: ::Integer
|
629
684
|
attr_accessor compute_environment_order: ::Array[Types::ComputeEnvironmentOrder]
|
630
685
|
attr_accessor tags: ::Hash[::String, ::String]
|
686
|
+
attr_accessor job_state_time_limit_actions: ::Array[Types::JobStateTimeLimitAction]
|
687
|
+
SENSITIVE: []
|
688
|
+
end
|
689
|
+
|
690
|
+
class JobStateTimeLimitAction
|
691
|
+
attr_accessor reason: ::String
|
692
|
+
attr_accessor state: ("RUNNABLE")
|
693
|
+
attr_accessor max_time_seconds: ::Integer
|
694
|
+
attr_accessor action: ("CANCEL")
|
631
695
|
SENSITIVE: []
|
632
696
|
end
|
633
697
|
|
@@ -775,12 +839,16 @@ module Aws::Batch
|
|
775
839
|
class NodePropertyOverride
|
776
840
|
attr_accessor target_nodes: ::String
|
777
841
|
attr_accessor container_overrides: Types::ContainerOverrides
|
842
|
+
attr_accessor ecs_properties_override: Types::EcsPropertiesOverride
|
843
|
+
attr_accessor instance_types: ::Array[::String]
|
778
844
|
SENSITIVE: []
|
779
845
|
end
|
780
846
|
|
781
847
|
class NodeRangeProperty
|
782
848
|
attr_accessor target_nodes: ::String
|
783
849
|
attr_accessor container: Types::ContainerProperties
|
850
|
+
attr_accessor instance_types: ::Array[::String]
|
851
|
+
attr_accessor ecs_properties: Types::EcsProperties
|
784
852
|
SENSITIVE: []
|
785
853
|
end
|
786
854
|
|
@@ -797,6 +865,7 @@ module Aws::Batch
|
|
797
865
|
attr_accessor tags: ::Hash[::String, ::String]
|
798
866
|
attr_accessor platform_capabilities: ::Array[("EC2" | "FARGATE")]
|
799
867
|
attr_accessor eks_properties: Types::EksProperties
|
868
|
+
attr_accessor ecs_properties: Types::EcsProperties
|
800
869
|
SENSITIVE: []
|
801
870
|
end
|
802
871
|
|
@@ -876,6 +945,7 @@ module Aws::Batch
|
|
876
945
|
attr_accessor timeout: Types::JobTimeout
|
877
946
|
attr_accessor tags: ::Hash[::String, ::String]
|
878
947
|
attr_accessor eks_properties_override: Types::EksPropertiesOverride
|
948
|
+
attr_accessor ecs_properties_override: Types::EcsPropertiesOverride
|
879
949
|
SENSITIVE: []
|
880
950
|
end
|
881
951
|
|
@@ -895,6 +965,69 @@ module Aws::Batch
|
|
895
965
|
class TagResourceResponse < Aws::EmptyStructure
|
896
966
|
end
|
897
967
|
|
968
|
+
class TaskContainerDependency
|
969
|
+
attr_accessor container_name: ::String
|
970
|
+
attr_accessor condition: ::String
|
971
|
+
SENSITIVE: []
|
972
|
+
end
|
973
|
+
|
974
|
+
class TaskContainerDetails
|
975
|
+
attr_accessor command: ::Array[::String]
|
976
|
+
attr_accessor depends_on: ::Array[Types::TaskContainerDependency]
|
977
|
+
attr_accessor environment: ::Array[Types::KeyValuePair]
|
978
|
+
attr_accessor essential: bool
|
979
|
+
attr_accessor image: ::String
|
980
|
+
attr_accessor linux_parameters: Types::LinuxParameters
|
981
|
+
attr_accessor log_configuration: Types::LogConfiguration
|
982
|
+
attr_accessor mount_points: ::Array[Types::MountPoint]
|
983
|
+
attr_accessor name: ::String
|
984
|
+
attr_accessor privileged: bool
|
985
|
+
attr_accessor readonly_root_filesystem: bool
|
986
|
+
attr_accessor repository_credentials: Types::RepositoryCredentials
|
987
|
+
attr_accessor resource_requirements: ::Array[Types::ResourceRequirement]
|
988
|
+
attr_accessor secrets: ::Array[Types::Secret]
|
989
|
+
attr_accessor ulimits: ::Array[Types::Ulimit]
|
990
|
+
attr_accessor user: ::String
|
991
|
+
attr_accessor exit_code: ::Integer
|
992
|
+
attr_accessor reason: ::String
|
993
|
+
attr_accessor log_stream_name: ::String
|
994
|
+
attr_accessor network_interfaces: ::Array[Types::NetworkInterface]
|
995
|
+
SENSITIVE: []
|
996
|
+
end
|
997
|
+
|
998
|
+
class TaskContainerOverrides
|
999
|
+
attr_accessor command: ::Array[::String]
|
1000
|
+
attr_accessor environment: ::Array[Types::KeyValuePair]
|
1001
|
+
attr_accessor name: ::String
|
1002
|
+
attr_accessor resource_requirements: ::Array[Types::ResourceRequirement]
|
1003
|
+
SENSITIVE: []
|
1004
|
+
end
|
1005
|
+
|
1006
|
+
class TaskContainerProperties
|
1007
|
+
attr_accessor command: ::Array[::String]
|
1008
|
+
attr_accessor depends_on: ::Array[Types::TaskContainerDependency]
|
1009
|
+
attr_accessor environment: ::Array[Types::KeyValuePair]
|
1010
|
+
attr_accessor essential: bool
|
1011
|
+
attr_accessor image: ::String
|
1012
|
+
attr_accessor linux_parameters: Types::LinuxParameters
|
1013
|
+
attr_accessor log_configuration: Types::LogConfiguration
|
1014
|
+
attr_accessor mount_points: ::Array[Types::MountPoint]
|
1015
|
+
attr_accessor name: ::String
|
1016
|
+
attr_accessor privileged: bool
|
1017
|
+
attr_accessor readonly_root_filesystem: bool
|
1018
|
+
attr_accessor repository_credentials: Types::RepositoryCredentials
|
1019
|
+
attr_accessor resource_requirements: ::Array[Types::ResourceRequirement]
|
1020
|
+
attr_accessor secrets: ::Array[Types::Secret]
|
1021
|
+
attr_accessor ulimits: ::Array[Types::Ulimit]
|
1022
|
+
attr_accessor user: ::String
|
1023
|
+
SENSITIVE: []
|
1024
|
+
end
|
1025
|
+
|
1026
|
+
class TaskPropertiesOverride
|
1027
|
+
attr_accessor containers: ::Array[Types::TaskContainerOverrides]
|
1028
|
+
SENSITIVE: []
|
1029
|
+
end
|
1030
|
+
|
898
1031
|
class TerminateJobRequest
|
899
1032
|
attr_accessor job_id: ::String
|
900
1033
|
attr_accessor reason: ::String
|
@@ -949,6 +1082,7 @@ module Aws::Batch
|
|
949
1082
|
attr_accessor scheduling_policy_arn: ::String
|
950
1083
|
attr_accessor priority: ::Integer
|
951
1084
|
attr_accessor compute_environment_order: ::Array[Types::ComputeEnvironmentOrder]
|
1085
|
+
attr_accessor job_state_time_limit_actions: ::Array[Types::JobStateTimeLimitAction]
|
952
1086
|
SENSITIVE: []
|
953
1087
|
end
|
954
1088
|
|