aws-sdk-batch 1.80.0 → 1.82.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.
@@ -76,6 +76,11 @@ module Aws::Batch
76
76
  EFSVolumeConfiguration = Shapes::StructureShape.new(name: 'EFSVolumeConfiguration')
77
77
  Ec2Configuration = Shapes::StructureShape.new(name: 'Ec2Configuration')
78
78
  Ec2ConfigurationList = Shapes::ListShape.new(name: 'Ec2ConfigurationList')
79
+ EcsProperties = Shapes::StructureShape.new(name: 'EcsProperties')
80
+ EcsPropertiesDetail = Shapes::StructureShape.new(name: 'EcsPropertiesDetail')
81
+ EcsPropertiesOverride = Shapes::StructureShape.new(name: 'EcsPropertiesOverride')
82
+ EcsTaskDetails = Shapes::StructureShape.new(name: 'EcsTaskDetails')
83
+ EcsTaskProperties = Shapes::StructureShape.new(name: 'EcsTaskProperties')
79
84
  EksAttemptContainerDetail = Shapes::StructureShape.new(name: 'EksAttemptContainerDetail')
80
85
  EksAttemptContainerDetails = Shapes::ListShape.new(name: 'EksAttemptContainerDetails')
81
86
  EksAttemptDetail = Shapes::StructureShape.new(name: 'EksAttemptDetail')
@@ -140,6 +145,8 @@ module Aws::Batch
140
145
  KubernetesVersion = Shapes::StringShape.new(name: 'KubernetesVersion')
141
146
  LaunchTemplateSpecification = Shapes::StructureShape.new(name: 'LaunchTemplateSpecification')
142
147
  LinuxParameters = Shapes::StructureShape.new(name: 'LinuxParameters')
148
+ ListEcsTaskDetails = Shapes::ListShape.new(name: 'ListEcsTaskDetails')
149
+ ListEcsTaskProperties = Shapes::ListShape.new(name: 'ListEcsTaskProperties')
143
150
  ListJobsFilterList = Shapes::ListShape.new(name: 'ListJobsFilterList')
144
151
  ListJobsRequest = Shapes::StructureShape.new(name: 'ListJobsRequest')
145
152
  ListJobsResponse = Shapes::StructureShape.new(name: 'ListJobsResponse')
@@ -147,6 +154,10 @@ module Aws::Batch
147
154
  ListSchedulingPoliciesResponse = Shapes::StructureShape.new(name: 'ListSchedulingPoliciesResponse')
148
155
  ListTagsForResourceRequest = Shapes::StructureShape.new(name: 'ListTagsForResourceRequest')
149
156
  ListTagsForResourceResponse = Shapes::StructureShape.new(name: 'ListTagsForResourceResponse')
157
+ ListTaskContainerDetails = Shapes::ListShape.new(name: 'ListTaskContainerDetails')
158
+ ListTaskContainerOverrides = Shapes::ListShape.new(name: 'ListTaskContainerOverrides')
159
+ ListTaskContainerProperties = Shapes::ListShape.new(name: 'ListTaskContainerProperties')
160
+ ListTaskPropertiesOverride = Shapes::ListShape.new(name: 'ListTaskPropertiesOverride')
150
161
  LogConfiguration = Shapes::StructureShape.new(name: 'LogConfiguration')
151
162
  LogConfigurationOptionsMap = Shapes::MapShape.new(name: 'LogConfigurationOptionsMap')
152
163
  LogDriver = Shapes::StringShape.new(name: 'LogDriver')
@@ -171,6 +182,7 @@ module Aws::Batch
171
182
  Quantity = Shapes::StringShape.new(name: 'Quantity')
172
183
  RegisterJobDefinitionRequest = Shapes::StructureShape.new(name: 'RegisterJobDefinitionRequest')
173
184
  RegisterJobDefinitionResponse = Shapes::StructureShape.new(name: 'RegisterJobDefinitionResponse')
185
+ RepositoryCredentials = Shapes::StructureShape.new(name: 'RepositoryCredentials')
174
186
  ResourceRequirement = Shapes::StructureShape.new(name: 'ResourceRequirement')
175
187
  ResourceRequirements = Shapes::ListShape.new(name: 'ResourceRequirements')
176
188
  ResourceType = Shapes::StringShape.new(name: 'ResourceType')
@@ -197,6 +209,12 @@ module Aws::Batch
197
209
  TagValue = Shapes::StringShape.new(name: 'TagValue')
198
210
  TagrisTagsMap = Shapes::MapShape.new(name: 'TagrisTagsMap')
199
211
  TagsMap = Shapes::MapShape.new(name: 'TagsMap')
212
+ TaskContainerDependency = Shapes::StructureShape.new(name: 'TaskContainerDependency')
213
+ TaskContainerDependencyList = Shapes::ListShape.new(name: 'TaskContainerDependencyList')
214
+ TaskContainerDetails = Shapes::StructureShape.new(name: 'TaskContainerDetails')
215
+ TaskContainerOverrides = Shapes::StructureShape.new(name: 'TaskContainerOverrides')
216
+ TaskContainerProperties = Shapes::StructureShape.new(name: 'TaskContainerProperties')
217
+ TaskPropertiesOverride = Shapes::StructureShape.new(name: 'TaskPropertiesOverride')
200
218
  TerminateJobRequest = Shapes::StructureShape.new(name: 'TerminateJobRequest')
201
219
  TerminateJobResponse = Shapes::StructureShape.new(name: 'TerminateJobResponse')
202
220
  Tmpfs = Shapes::StructureShape.new(name: 'Tmpfs')
@@ -346,6 +364,7 @@ module Aws::Batch
346
364
  ContainerDetail.add_member(:fargate_platform_configuration, Shapes::ShapeRef.new(shape: FargatePlatformConfiguration, location_name: "fargatePlatformConfiguration"))
347
365
  ContainerDetail.add_member(:ephemeral_storage, Shapes::ShapeRef.new(shape: EphemeralStorage, location_name: "ephemeralStorage"))
348
366
  ContainerDetail.add_member(:runtime_platform, Shapes::ShapeRef.new(shape: RuntimePlatform, location_name: "runtimePlatform"))
367
+ ContainerDetail.add_member(:repository_credentials, Shapes::ShapeRef.new(shape: RepositoryCredentials, location_name: "repositoryCredentials"))
349
368
  ContainerDetail.struct_class = Types::ContainerDetail
350
369
 
351
370
  ContainerOverrides.add_member(:vcpus, Shapes::ShapeRef.new(shape: Integer, deprecated: true, location_name: "vcpus", metadata: {"deprecatedMessage"=>"This field is deprecated, use resourceRequirements instead."}))
@@ -378,6 +397,7 @@ module Aws::Batch
378
397
  ContainerProperties.add_member(:fargate_platform_configuration, Shapes::ShapeRef.new(shape: FargatePlatformConfiguration, location_name: "fargatePlatformConfiguration"))
379
398
  ContainerProperties.add_member(:ephemeral_storage, Shapes::ShapeRef.new(shape: EphemeralStorage, location_name: "ephemeralStorage"))
380
399
  ContainerProperties.add_member(:runtime_platform, Shapes::ShapeRef.new(shape: RuntimePlatform, location_name: "runtimePlatform"))
400
+ ContainerProperties.add_member(:repository_credentials, Shapes::ShapeRef.new(shape: RepositoryCredentials, location_name: "repositoryCredentials"))
381
401
  ContainerProperties.struct_class = Types::ContainerProperties
382
402
 
383
403
  ContainerSummary.add_member(:exit_code, Shapes::ShapeRef.new(shape: Integer, location_name: "exitCode"))
@@ -507,6 +527,41 @@ module Aws::Batch
507
527
 
508
528
  Ec2ConfigurationList.member = Shapes::ShapeRef.new(shape: Ec2Configuration)
509
529
 
530
+ EcsProperties.add_member(:task_properties, Shapes::ShapeRef.new(shape: ListEcsTaskProperties, required: true, location_name: "taskProperties"))
531
+ EcsProperties.struct_class = Types::EcsProperties
532
+
533
+ EcsPropertiesDetail.add_member(:task_properties, Shapes::ShapeRef.new(shape: ListEcsTaskDetails, location_name: "taskProperties"))
534
+ EcsPropertiesDetail.struct_class = Types::EcsPropertiesDetail
535
+
536
+ EcsPropertiesOverride.add_member(:task_properties, Shapes::ShapeRef.new(shape: ListTaskPropertiesOverride, location_name: "taskProperties"))
537
+ EcsPropertiesOverride.struct_class = Types::EcsPropertiesOverride
538
+
539
+ EcsTaskDetails.add_member(:containers, Shapes::ShapeRef.new(shape: ListTaskContainerDetails, location_name: "containers"))
540
+ EcsTaskDetails.add_member(:container_instance_arn, Shapes::ShapeRef.new(shape: String, location_name: "containerInstanceArn"))
541
+ EcsTaskDetails.add_member(:task_arn, Shapes::ShapeRef.new(shape: String, location_name: "taskArn"))
542
+ EcsTaskDetails.add_member(:ephemeral_storage, Shapes::ShapeRef.new(shape: EphemeralStorage, location_name: "ephemeralStorage"))
543
+ EcsTaskDetails.add_member(:execution_role_arn, Shapes::ShapeRef.new(shape: String, location_name: "executionRoleArn"))
544
+ EcsTaskDetails.add_member(:platform_version, Shapes::ShapeRef.new(shape: String, location_name: "platformVersion"))
545
+ EcsTaskDetails.add_member(:ipc_mode, Shapes::ShapeRef.new(shape: String, location_name: "ipcMode"))
546
+ EcsTaskDetails.add_member(:task_role_arn, Shapes::ShapeRef.new(shape: String, location_name: "taskRoleArn"))
547
+ EcsTaskDetails.add_member(:pid_mode, Shapes::ShapeRef.new(shape: String, location_name: "pidMode"))
548
+ EcsTaskDetails.add_member(:network_configuration, Shapes::ShapeRef.new(shape: NetworkConfiguration, location_name: "networkConfiguration"))
549
+ EcsTaskDetails.add_member(:runtime_platform, Shapes::ShapeRef.new(shape: RuntimePlatform, location_name: "runtimePlatform"))
550
+ EcsTaskDetails.add_member(:volumes, Shapes::ShapeRef.new(shape: Volumes, location_name: "volumes"))
551
+ EcsTaskDetails.struct_class = Types::EcsTaskDetails
552
+
553
+ EcsTaskProperties.add_member(:containers, Shapes::ShapeRef.new(shape: ListTaskContainerProperties, required: true, location_name: "containers"))
554
+ EcsTaskProperties.add_member(:ephemeral_storage, Shapes::ShapeRef.new(shape: EphemeralStorage, location_name: "ephemeralStorage"))
555
+ EcsTaskProperties.add_member(:execution_role_arn, Shapes::ShapeRef.new(shape: String, location_name: "executionRoleArn"))
556
+ EcsTaskProperties.add_member(:platform_version, Shapes::ShapeRef.new(shape: String, location_name: "platformVersion"))
557
+ EcsTaskProperties.add_member(:ipc_mode, Shapes::ShapeRef.new(shape: String, location_name: "ipcMode"))
558
+ EcsTaskProperties.add_member(:task_role_arn, Shapes::ShapeRef.new(shape: String, location_name: "taskRoleArn"))
559
+ EcsTaskProperties.add_member(:pid_mode, Shapes::ShapeRef.new(shape: String, location_name: "pidMode"))
560
+ EcsTaskProperties.add_member(:network_configuration, Shapes::ShapeRef.new(shape: NetworkConfiguration, location_name: "networkConfiguration"))
561
+ EcsTaskProperties.add_member(:runtime_platform, Shapes::ShapeRef.new(shape: RuntimePlatform, location_name: "runtimePlatform"))
562
+ EcsTaskProperties.add_member(:volumes, Shapes::ShapeRef.new(shape: Volumes, location_name: "volumes"))
563
+ EcsTaskProperties.struct_class = Types::EcsTaskProperties
564
+
510
565
  EksAttemptContainerDetail.add_member(:exit_code, Shapes::ShapeRef.new(shape: Integer, location_name: "exitCode"))
511
566
  EksAttemptContainerDetail.add_member(:reason, Shapes::ShapeRef.new(shape: String, location_name: "reason"))
512
567
  EksAttemptContainerDetail.struct_class = Types::EksAttemptContainerDetail
@@ -514,6 +569,7 @@ module Aws::Batch
514
569
  EksAttemptContainerDetails.member = Shapes::ShapeRef.new(shape: EksAttemptContainerDetail)
515
570
 
516
571
  EksAttemptDetail.add_member(:containers, Shapes::ShapeRef.new(shape: EksAttemptContainerDetails, location_name: "containers"))
572
+ EksAttemptDetail.add_member(:init_containers, Shapes::ShapeRef.new(shape: EksAttemptContainerDetails, location_name: "initContainers"))
517
573
  EksAttemptDetail.add_member(:pod_name, Shapes::ShapeRef.new(shape: String, location_name: "podName"))
518
574
  EksAttemptDetail.add_member(:node_name, Shapes::ShapeRef.new(shape: String, location_name: "nodeName"))
519
575
  EksAttemptDetail.add_member(:started_at, Shapes::ShapeRef.new(shape: Long, location_name: "startedAt"))
@@ -559,6 +615,7 @@ module Aws::Batch
559
615
 
560
616
  EksContainerEnvironmentVariables.member = Shapes::ShapeRef.new(shape: EksContainerEnvironmentVariable)
561
617
 
618
+ EksContainerOverride.add_member(:name, Shapes::ShapeRef.new(shape: String, location_name: "name"))
562
619
  EksContainerOverride.add_member(:image, Shapes::ShapeRef.new(shape: String, location_name: "image"))
563
620
  EksContainerOverride.add_member(:command, Shapes::ShapeRef.new(shape: StringList, location_name: "command"))
564
621
  EksContainerOverride.add_member(:args, Shapes::ShapeRef.new(shape: StringList, location_name: "args"))
@@ -608,21 +665,26 @@ module Aws::Batch
608
665
  EksPodProperties.add_member(:host_network, Shapes::ShapeRef.new(shape: Boolean, location_name: "hostNetwork"))
609
666
  EksPodProperties.add_member(:dns_policy, Shapes::ShapeRef.new(shape: String, location_name: "dnsPolicy"))
610
667
  EksPodProperties.add_member(:containers, Shapes::ShapeRef.new(shape: EksContainers, location_name: "containers"))
668
+ EksPodProperties.add_member(:init_containers, Shapes::ShapeRef.new(shape: EksContainers, location_name: "initContainers"))
611
669
  EksPodProperties.add_member(:volumes, Shapes::ShapeRef.new(shape: EksVolumes, location_name: "volumes"))
612
670
  EksPodProperties.add_member(:metadata, Shapes::ShapeRef.new(shape: EksMetadata, location_name: "metadata"))
671
+ EksPodProperties.add_member(:share_process_namespace, Shapes::ShapeRef.new(shape: Boolean, location_name: "shareProcessNamespace"))
613
672
  EksPodProperties.struct_class = Types::EksPodProperties
614
673
 
615
674
  EksPodPropertiesDetail.add_member(:service_account_name, Shapes::ShapeRef.new(shape: String, location_name: "serviceAccountName"))
616
675
  EksPodPropertiesDetail.add_member(:host_network, Shapes::ShapeRef.new(shape: Boolean, location_name: "hostNetwork"))
617
676
  EksPodPropertiesDetail.add_member(:dns_policy, Shapes::ShapeRef.new(shape: String, location_name: "dnsPolicy"))
618
677
  EksPodPropertiesDetail.add_member(:containers, Shapes::ShapeRef.new(shape: EksContainerDetails, location_name: "containers"))
678
+ EksPodPropertiesDetail.add_member(:init_containers, Shapes::ShapeRef.new(shape: EksContainerDetails, location_name: "initContainers"))
619
679
  EksPodPropertiesDetail.add_member(:volumes, Shapes::ShapeRef.new(shape: EksVolumes, location_name: "volumes"))
620
680
  EksPodPropertiesDetail.add_member(:pod_name, Shapes::ShapeRef.new(shape: String, location_name: "podName"))
621
681
  EksPodPropertiesDetail.add_member(:node_name, Shapes::ShapeRef.new(shape: String, location_name: "nodeName"))
622
682
  EksPodPropertiesDetail.add_member(:metadata, Shapes::ShapeRef.new(shape: EksMetadata, location_name: "metadata"))
683
+ EksPodPropertiesDetail.add_member(:share_process_namespace, Shapes::ShapeRef.new(shape: Boolean, location_name: "shareProcessNamespace"))
623
684
  EksPodPropertiesDetail.struct_class = Types::EksPodPropertiesDetail
624
685
 
625
686
  EksPodPropertiesOverride.add_member(:containers, Shapes::ShapeRef.new(shape: EksContainerOverrideList, location_name: "containers"))
687
+ EksPodPropertiesOverride.add_member(:init_containers, Shapes::ShapeRef.new(shape: EksContainerOverrideList, location_name: "initContainers"))
626
688
  EksPodPropertiesOverride.add_member(:metadata, Shapes::ShapeRef.new(shape: EksMetadata, location_name: "metadata"))
627
689
  EksPodPropertiesOverride.struct_class = Types::EksPodPropertiesOverride
628
690
 
@@ -688,6 +750,7 @@ module Aws::Batch
688
750
  JobDefinition.add_member(:tags, Shapes::ShapeRef.new(shape: TagrisTagsMap, location_name: "tags"))
689
751
  JobDefinition.add_member(:propagate_tags, Shapes::ShapeRef.new(shape: Boolean, location_name: "propagateTags"))
690
752
  JobDefinition.add_member(:platform_capabilities, Shapes::ShapeRef.new(shape: PlatformCapabilityList, location_name: "platformCapabilities"))
753
+ JobDefinition.add_member(:ecs_properties, Shapes::ShapeRef.new(shape: EcsProperties, location_name: "ecsProperties"))
691
754
  JobDefinition.add_member(:eks_properties, Shapes::ShapeRef.new(shape: EksProperties, location_name: "eksProperties"))
692
755
  JobDefinition.add_member(:container_orchestration_type, Shapes::ShapeRef.new(shape: OrchestrationType, location_name: "containerOrchestrationType"))
693
756
  JobDefinition.struct_class = Types::JobDefinition
@@ -726,6 +789,7 @@ module Aws::Batch
726
789
  JobDetail.add_member(:platform_capabilities, Shapes::ShapeRef.new(shape: PlatformCapabilityList, location_name: "platformCapabilities"))
727
790
  JobDetail.add_member(:eks_properties, Shapes::ShapeRef.new(shape: EksPropertiesDetail, location_name: "eksProperties"))
728
791
  JobDetail.add_member(:eks_attempts, Shapes::ShapeRef.new(shape: EksAttemptDetails, location_name: "eksAttempts"))
792
+ JobDetail.add_member(:ecs_properties, Shapes::ShapeRef.new(shape: EcsPropertiesDetail, location_name: "ecsProperties"))
729
793
  JobDetail.add_member(:is_cancelled, Shapes::ShapeRef.new(shape: Boolean, location_name: "isCancelled"))
730
794
  JobDetail.add_member(:is_terminated, Shapes::ShapeRef.new(shape: Boolean, location_name: "isTerminated"))
731
795
  JobDetail.struct_class = Types::JobDetail
@@ -785,6 +849,10 @@ module Aws::Batch
785
849
  LinuxParameters.add_member(:swappiness, Shapes::ShapeRef.new(shape: Integer, location_name: "swappiness"))
786
850
  LinuxParameters.struct_class = Types::LinuxParameters
787
851
 
852
+ ListEcsTaskDetails.member = Shapes::ShapeRef.new(shape: EcsTaskDetails)
853
+
854
+ ListEcsTaskProperties.member = Shapes::ShapeRef.new(shape: EcsTaskProperties)
855
+
788
856
  ListJobsFilterList.member = Shapes::ShapeRef.new(shape: KeyValuesPair)
789
857
 
790
858
  ListJobsRequest.add_member(:job_queue, Shapes::ShapeRef.new(shape: String, location_name: "jobQueue"))
@@ -814,6 +882,14 @@ module Aws::Batch
814
882
  ListTagsForResourceResponse.add_member(:tags, Shapes::ShapeRef.new(shape: TagrisTagsMap, location_name: "tags"))
815
883
  ListTagsForResourceResponse.struct_class = Types::ListTagsForResourceResponse
816
884
 
885
+ ListTaskContainerDetails.member = Shapes::ShapeRef.new(shape: TaskContainerDetails)
886
+
887
+ ListTaskContainerOverrides.member = Shapes::ShapeRef.new(shape: TaskContainerOverrides)
888
+
889
+ ListTaskContainerProperties.member = Shapes::ShapeRef.new(shape: TaskContainerProperties)
890
+
891
+ ListTaskPropertiesOverride.member = Shapes::ShapeRef.new(shape: TaskPropertiesOverride)
892
+
817
893
  LogConfiguration.add_member(:log_driver, Shapes::ShapeRef.new(shape: LogDriver, required: true, location_name: "logDriver"))
818
894
  LogConfiguration.add_member(:options, Shapes::ShapeRef.new(shape: LogConfigurationOptionsMap, location_name: "options"))
819
895
  LogConfiguration.add_member(:secret_options, Shapes::ShapeRef.new(shape: SecretList, location_name: "secretOptions"))
@@ -859,6 +935,8 @@ module Aws::Batch
859
935
 
860
936
  NodePropertyOverride.add_member(:target_nodes, Shapes::ShapeRef.new(shape: String, required: true, location_name: "targetNodes"))
861
937
  NodePropertyOverride.add_member(:container_overrides, Shapes::ShapeRef.new(shape: ContainerOverrides, location_name: "containerOverrides"))
938
+ NodePropertyOverride.add_member(:ecs_properties_override, Shapes::ShapeRef.new(shape: EcsPropertiesOverride, location_name: "ecsPropertiesOverride"))
939
+ NodePropertyOverride.add_member(:instance_types, Shapes::ShapeRef.new(shape: StringList, location_name: "instanceTypes"))
862
940
  NodePropertyOverride.struct_class = Types::NodePropertyOverride
863
941
 
864
942
  NodePropertyOverrides.member = Shapes::ShapeRef.new(shape: NodePropertyOverride)
@@ -867,6 +945,8 @@ module Aws::Batch
867
945
 
868
946
  NodeRangeProperty.add_member(:target_nodes, Shapes::ShapeRef.new(shape: String, required: true, location_name: "targetNodes"))
869
947
  NodeRangeProperty.add_member(:container, Shapes::ShapeRef.new(shape: ContainerProperties, location_name: "container"))
948
+ NodeRangeProperty.add_member(:instance_types, Shapes::ShapeRef.new(shape: StringList, location_name: "instanceTypes"))
949
+ NodeRangeProperty.add_member(:ecs_properties, Shapes::ShapeRef.new(shape: EcsProperties, location_name: "ecsProperties"))
870
950
  NodeRangeProperty.struct_class = Types::NodeRangeProperty
871
951
 
872
952
  ParametersMap.key = Shapes::ShapeRef.new(shape: String)
@@ -886,6 +966,7 @@ module Aws::Batch
886
966
  RegisterJobDefinitionRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagrisTagsMap, location_name: "tags"))
887
967
  RegisterJobDefinitionRequest.add_member(:platform_capabilities, Shapes::ShapeRef.new(shape: PlatformCapabilityList, location_name: "platformCapabilities"))
888
968
  RegisterJobDefinitionRequest.add_member(:eks_properties, Shapes::ShapeRef.new(shape: EksProperties, location_name: "eksProperties"))
969
+ RegisterJobDefinitionRequest.add_member(:ecs_properties, Shapes::ShapeRef.new(shape: EcsProperties, location_name: "ecsProperties"))
889
970
  RegisterJobDefinitionRequest.struct_class = Types::RegisterJobDefinitionRequest
890
971
 
891
972
  RegisterJobDefinitionResponse.add_member(:job_definition_name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "jobDefinitionName"))
@@ -893,6 +974,9 @@ module Aws::Batch
893
974
  RegisterJobDefinitionResponse.add_member(:revision, Shapes::ShapeRef.new(shape: Integer, required: true, location_name: "revision"))
894
975
  RegisterJobDefinitionResponse.struct_class = Types::RegisterJobDefinitionResponse
895
976
 
977
+ RepositoryCredentials.add_member(:credentials_parameter, Shapes::ShapeRef.new(shape: String, required: true, location_name: "credentialsParameter"))
978
+ RepositoryCredentials.struct_class = Types::RepositoryCredentials
979
+
896
980
  ResourceRequirement.add_member(:value, Shapes::ShapeRef.new(shape: String, required: true, location_name: "value"))
897
981
  ResourceRequirement.add_member(:type, Shapes::ShapeRef.new(shape: ResourceType, required: true, location_name: "type"))
898
982
  ResourceRequirement.struct_class = Types::ResourceRequirement
@@ -952,6 +1036,7 @@ module Aws::Batch
952
1036
  SubmitJobRequest.add_member(:timeout, Shapes::ShapeRef.new(shape: JobTimeout, location_name: "timeout"))
953
1037
  SubmitJobRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagrisTagsMap, location_name: "tags"))
954
1038
  SubmitJobRequest.add_member(:eks_properties_override, Shapes::ShapeRef.new(shape: EksPropertiesOverride, location_name: "eksPropertiesOverride"))
1039
+ SubmitJobRequest.add_member(:ecs_properties_override, Shapes::ShapeRef.new(shape: EcsPropertiesOverride, location_name: "ecsPropertiesOverride"))
955
1040
  SubmitJobRequest.struct_class = Types::SubmitJobRequest
956
1041
 
957
1042
  SubmitJobResponse.add_member(:job_arn, Shapes::ShapeRef.new(shape: String, location_name: "jobArn"))
@@ -973,6 +1058,61 @@ module Aws::Batch
973
1058
  TagsMap.key = Shapes::ShapeRef.new(shape: String)
974
1059
  TagsMap.value = Shapes::ShapeRef.new(shape: String)
975
1060
 
1061
+ TaskContainerDependency.add_member(:container_name, Shapes::ShapeRef.new(shape: String, location_name: "containerName"))
1062
+ TaskContainerDependency.add_member(:condition, Shapes::ShapeRef.new(shape: String, location_name: "condition"))
1063
+ TaskContainerDependency.struct_class = Types::TaskContainerDependency
1064
+
1065
+ TaskContainerDependencyList.member = Shapes::ShapeRef.new(shape: TaskContainerDependency)
1066
+
1067
+ TaskContainerDetails.add_member(:command, Shapes::ShapeRef.new(shape: StringList, location_name: "command"))
1068
+ TaskContainerDetails.add_member(:depends_on, Shapes::ShapeRef.new(shape: TaskContainerDependencyList, location_name: "dependsOn"))
1069
+ TaskContainerDetails.add_member(:environment, Shapes::ShapeRef.new(shape: EnvironmentVariables, location_name: "environment"))
1070
+ TaskContainerDetails.add_member(:essential, Shapes::ShapeRef.new(shape: Boolean, location_name: "essential"))
1071
+ TaskContainerDetails.add_member(:image, Shapes::ShapeRef.new(shape: String, location_name: "image"))
1072
+ TaskContainerDetails.add_member(:linux_parameters, Shapes::ShapeRef.new(shape: LinuxParameters, location_name: "linuxParameters"))
1073
+ TaskContainerDetails.add_member(:log_configuration, Shapes::ShapeRef.new(shape: LogConfiguration, location_name: "logConfiguration"))
1074
+ TaskContainerDetails.add_member(:mount_points, Shapes::ShapeRef.new(shape: MountPoints, location_name: "mountPoints"))
1075
+ TaskContainerDetails.add_member(:name, Shapes::ShapeRef.new(shape: String, location_name: "name"))
1076
+ TaskContainerDetails.add_member(:privileged, Shapes::ShapeRef.new(shape: Boolean, location_name: "privileged"))
1077
+ TaskContainerDetails.add_member(:readonly_root_filesystem, Shapes::ShapeRef.new(shape: Boolean, location_name: "readonlyRootFilesystem"))
1078
+ TaskContainerDetails.add_member(:repository_credentials, Shapes::ShapeRef.new(shape: RepositoryCredentials, location_name: "repositoryCredentials"))
1079
+ TaskContainerDetails.add_member(:resource_requirements, Shapes::ShapeRef.new(shape: ResourceRequirements, location_name: "resourceRequirements"))
1080
+ TaskContainerDetails.add_member(:secrets, Shapes::ShapeRef.new(shape: SecretList, location_name: "secrets"))
1081
+ TaskContainerDetails.add_member(:ulimits, Shapes::ShapeRef.new(shape: Ulimits, location_name: "ulimits"))
1082
+ TaskContainerDetails.add_member(:user, Shapes::ShapeRef.new(shape: String, location_name: "user"))
1083
+ TaskContainerDetails.add_member(:exit_code, Shapes::ShapeRef.new(shape: Integer, location_name: "exitCode"))
1084
+ TaskContainerDetails.add_member(:reason, Shapes::ShapeRef.new(shape: String, location_name: "reason"))
1085
+ TaskContainerDetails.add_member(:log_stream_name, Shapes::ShapeRef.new(shape: String, location_name: "logStreamName"))
1086
+ TaskContainerDetails.add_member(:network_interfaces, Shapes::ShapeRef.new(shape: NetworkInterfaceList, location_name: "networkInterfaces"))
1087
+ TaskContainerDetails.struct_class = Types::TaskContainerDetails
1088
+
1089
+ TaskContainerOverrides.add_member(:command, Shapes::ShapeRef.new(shape: StringList, location_name: "command"))
1090
+ TaskContainerOverrides.add_member(:environment, Shapes::ShapeRef.new(shape: EnvironmentVariables, location_name: "environment"))
1091
+ TaskContainerOverrides.add_member(:name, Shapes::ShapeRef.new(shape: String, location_name: "name"))
1092
+ TaskContainerOverrides.add_member(:resource_requirements, Shapes::ShapeRef.new(shape: ResourceRequirements, location_name: "resourceRequirements"))
1093
+ TaskContainerOverrides.struct_class = Types::TaskContainerOverrides
1094
+
1095
+ TaskContainerProperties.add_member(:command, Shapes::ShapeRef.new(shape: StringList, location_name: "command"))
1096
+ TaskContainerProperties.add_member(:depends_on, Shapes::ShapeRef.new(shape: TaskContainerDependencyList, location_name: "dependsOn"))
1097
+ TaskContainerProperties.add_member(:environment, Shapes::ShapeRef.new(shape: EnvironmentVariables, location_name: "environment"))
1098
+ TaskContainerProperties.add_member(:essential, Shapes::ShapeRef.new(shape: Boolean, location_name: "essential"))
1099
+ TaskContainerProperties.add_member(:image, Shapes::ShapeRef.new(shape: String, required: true, location_name: "image"))
1100
+ TaskContainerProperties.add_member(:linux_parameters, Shapes::ShapeRef.new(shape: LinuxParameters, location_name: "linuxParameters"))
1101
+ TaskContainerProperties.add_member(:log_configuration, Shapes::ShapeRef.new(shape: LogConfiguration, location_name: "logConfiguration"))
1102
+ TaskContainerProperties.add_member(:mount_points, Shapes::ShapeRef.new(shape: MountPoints, location_name: "mountPoints"))
1103
+ TaskContainerProperties.add_member(:name, Shapes::ShapeRef.new(shape: String, location_name: "name"))
1104
+ TaskContainerProperties.add_member(:privileged, Shapes::ShapeRef.new(shape: Boolean, location_name: "privileged"))
1105
+ TaskContainerProperties.add_member(:readonly_root_filesystem, Shapes::ShapeRef.new(shape: Boolean, location_name: "readonlyRootFilesystem"))
1106
+ TaskContainerProperties.add_member(:repository_credentials, Shapes::ShapeRef.new(shape: RepositoryCredentials, location_name: "repositoryCredentials"))
1107
+ TaskContainerProperties.add_member(:resource_requirements, Shapes::ShapeRef.new(shape: ResourceRequirements, location_name: "resourceRequirements"))
1108
+ TaskContainerProperties.add_member(:secrets, Shapes::ShapeRef.new(shape: SecretList, location_name: "secrets"))
1109
+ TaskContainerProperties.add_member(:ulimits, Shapes::ShapeRef.new(shape: Ulimits, location_name: "ulimits"))
1110
+ TaskContainerProperties.add_member(:user, Shapes::ShapeRef.new(shape: String, location_name: "user"))
1111
+ TaskContainerProperties.struct_class = Types::TaskContainerProperties
1112
+
1113
+ TaskPropertiesOverride.add_member(:containers, Shapes::ShapeRef.new(shape: ListTaskContainerOverrides, location_name: "containers"))
1114
+ TaskPropertiesOverride.struct_class = Types::TaskPropertiesOverride
1115
+
976
1116
  TerminateJobRequest.add_member(:job_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "jobId"))
977
1117
  TerminateJobRequest.add_member(:reason, Shapes::ShapeRef.new(shape: String, required: true, location_name: "reason"))
978
1118
  TerminateJobRequest.struct_class = Types::TerminateJobRequest
@@ -32,11 +32,11 @@ module Aws::Batch
32
32
  raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
33
33
  end
34
34
  if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
35
- if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"))
36
- if Aws::Endpoints::Matchers.string_equals?("aws", Aws::Endpoints::Matchers.attr(partition_result, "name"))
35
+ if Aws::Endpoints::Matchers.boolean_equals?(Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"), true)
36
+ if Aws::Endpoints::Matchers.string_equals?(Aws::Endpoints::Matchers.attr(partition_result, "name"), "aws")
37
37
  return Aws::Endpoints::Endpoint.new(url: "https://fips.batch.#{region}.amazonaws.com", headers: {}, properties: {})
38
38
  end
39
- if Aws::Endpoints::Matchers.string_equals?("aws-us-gov", Aws::Endpoints::Matchers.attr(partition_result, "name"))
39
+ if Aws::Endpoints::Matchers.string_equals?(Aws::Endpoints::Matchers.attr(partition_result, "name"), "aws-us-gov")
40
40
  return Aws::Endpoints::Endpoint.new(url: "https://batch.#{region}.amazonaws.com", headers: {}, properties: {})
41
41
  end
42
42
  return Aws::Endpoints::Endpoint.new(url: "https://batch-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})