aws-sdk-batch 1.149.0 → 1.151.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.
@@ -36,6 +36,7 @@ module Aws::Batch
36
36
  CancelJobResponse = Shapes::StructureShape.new(name: 'CancelJobResponse')
37
37
  CapacityLimit = Shapes::StructureShape.new(name: 'CapacityLimit')
38
38
  CapacityLimits = Shapes::ListShape.new(name: 'CapacityLimits')
39
+ CapacityReservationRequest = Shapes::StructureShape.new(name: 'CapacityReservationRequest')
39
40
  ClientException = Shapes::StructureShape.new(name: 'ClientException')
40
41
  ClientRequestToken = Shapes::StringShape.new(name: 'ClientRequestToken')
41
42
  ComputeEnvironmentDetail = Shapes::StructureShape.new(name: 'ComputeEnvironmentDetail')
@@ -179,6 +180,10 @@ module Aws::Batch
179
180
  ImagePullSecret = Shapes::StructureShape.new(name: 'ImagePullSecret')
180
181
  ImagePullSecrets = Shapes::ListShape.new(name: 'ImagePullSecrets')
181
182
  ImageType = Shapes::StringShape.new(name: 'ImageType')
183
+ InfrastructureOptimization = Shapes::StructureShape.new(name: 'InfrastructureOptimization')
184
+ InstanceLaunchTemplate = Shapes::StructureShape.new(name: 'InstanceLaunchTemplate')
185
+ InstanceLaunchTemplateUpdate = Shapes::StructureShape.new(name: 'InstanceLaunchTemplateUpdate')
186
+ InstanceRequirementsRequest = Shapes::StructureShape.new(name: 'InstanceRequirementsRequest')
182
187
  Integer = Shapes::IntegerShape.new(name: 'Integer')
183
188
  JQState = Shapes::StringShape.new(name: 'JQState')
184
189
  JQStatus = Shapes::StringShape.new(name: 'JQStatus')
@@ -242,6 +247,10 @@ module Aws::Batch
242
247
  LogConfigurationOptionsMap = Shapes::MapShape.new(name: 'LogConfigurationOptionsMap')
243
248
  LogDriver = Shapes::StringShape.new(name: 'LogDriver')
244
249
  Long = Shapes::IntegerShape.new(name: 'Long')
250
+ ManagedInstancesLocalStorageConfiguration = Shapes::StructureShape.new(name: 'ManagedInstancesLocalStorageConfiguration')
251
+ ManagedInstancesNetworkConfiguration = Shapes::StructureShape.new(name: 'ManagedInstancesNetworkConfiguration')
252
+ ManagedInstancesProvider = Shapes::StructureShape.new(name: 'ManagedInstancesProvider')
253
+ ManagedInstancesStorageConfiguration = Shapes::StructureShape.new(name: 'ManagedInstancesStorageConfiguration')
245
254
  MountPoint = Shapes::StructureShape.new(name: 'MountPoint')
246
255
  MountPoints = Shapes::ListShape.new(name: 'MountPoints')
247
256
  NetworkConfiguration = Shapes::StructureShape.new(name: 'NetworkConfiguration')
@@ -362,6 +371,7 @@ module Aws::Batch
362
371
  UpdateConsumableResourceResponse = Shapes::StructureShape.new(name: 'UpdateConsumableResourceResponse')
363
372
  UpdateJobQueueRequest = Shapes::StructureShape.new(name: 'UpdateJobQueueRequest')
364
373
  UpdateJobQueueResponse = Shapes::StructureShape.new(name: 'UpdateJobQueueResponse')
374
+ UpdateManagedInstancesProviderConfiguration = Shapes::StructureShape.new(name: 'UpdateManagedInstancesProviderConfiguration')
365
375
  UpdatePolicy = Shapes::StructureShape.new(name: 'UpdatePolicy')
366
376
  UpdateQuotaShareRequest = Shapes::StructureShape.new(name: 'UpdateQuotaShareRequest')
367
377
  UpdateQuotaShareResponse = Shapes::StructureShape.new(name: 'UpdateQuotaShareResponse')
@@ -434,6 +444,10 @@ module Aws::Batch
434
444
 
435
445
  CapacityLimits.member = Shapes::ShapeRef.new(shape: CapacityLimit)
436
446
 
447
+ CapacityReservationRequest.add_member(:reservation_group_arn, Shapes::ShapeRef.new(shape: String, location_name: "reservationGroupArn"))
448
+ CapacityReservationRequest.add_member(:reservation_preference, Shapes::ShapeRef.new(shape: String, location_name: "reservationPreference"))
449
+ CapacityReservationRequest.struct_class = Types::CapacityReservationRequest
450
+
437
451
  ClientException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "message"))
438
452
  ClientException.struct_class = Types::ClientException
439
453
 
@@ -482,6 +496,8 @@ module Aws::Batch
482
496
  ComputeResource.add_member(:launch_template, Shapes::ShapeRef.new(shape: LaunchTemplateSpecification, location_name: "launchTemplate"))
483
497
  ComputeResource.add_member(:ec2_configuration, Shapes::ShapeRef.new(shape: Ec2ConfigurationList, location_name: "ec2Configuration"))
484
498
  ComputeResource.add_member(:scaling_policy, Shapes::ShapeRef.new(shape: ComputeScalingPolicy, location_name: "scalingPolicy"))
499
+ ComputeResource.add_member(:managed_instances_provider, Shapes::ShapeRef.new(shape: ManagedInstancesProvider, location_name: "managedInstancesProvider"))
500
+ ComputeResource.add_member(:capacity_tags, Shapes::ShapeRef.new(shape: TagrisTagsMap, location_name: "capacityTags"))
485
501
  ComputeResource.struct_class = Types::ComputeResource
486
502
 
487
503
  ComputeResourceUpdate.add_member(:minv_cpus, Shapes::ShapeRef.new(shape: Integer, location_name: "minvCpus"))
@@ -502,6 +518,8 @@ module Aws::Batch
502
518
  ComputeResourceUpdate.add_member(:type, Shapes::ShapeRef.new(shape: CRType, location_name: "type"))
503
519
  ComputeResourceUpdate.add_member(:image_id, Shapes::ShapeRef.new(shape: String, location_name: "imageId"))
504
520
  ComputeResourceUpdate.add_member(:scaling_policy, Shapes::ShapeRef.new(shape: ComputeScalingPolicy, location_name: "scalingPolicy"))
521
+ ComputeResourceUpdate.add_member(:managed_instances_provider, Shapes::ShapeRef.new(shape: UpdateManagedInstancesProviderConfiguration, location_name: "managedInstancesProvider"))
522
+ ComputeResourceUpdate.add_member(:capacity_tags, Shapes::ShapeRef.new(shape: TagrisTagsMap, location_name: "capacityTags"))
505
523
  ComputeResourceUpdate.struct_class = Types::ComputeResourceUpdate
506
524
 
507
525
  ComputeScalingPolicy.add_member(:min_scale_down_delay_minutes, Shapes::ShapeRef.new(shape: Integer, location_name: "minScaleDownDelayMinutes"))
@@ -864,6 +882,7 @@ module Aws::Batch
864
882
  EcsTaskDetails.add_member(:runtime_platform, Shapes::ShapeRef.new(shape: RuntimePlatform, location_name: "runtimePlatform"))
865
883
  EcsTaskDetails.add_member(:volumes, Shapes::ShapeRef.new(shape: Volumes, location_name: "volumes"))
866
884
  EcsTaskDetails.add_member(:enable_execute_command, Shapes::ShapeRef.new(shape: Boolean, location_name: "enableExecuteCommand"))
885
+ EcsTaskDetails.add_member(:network_mode, Shapes::ShapeRef.new(shape: String, location_name: "networkMode"))
867
886
  EcsTaskDetails.struct_class = Types::EcsTaskDetails
868
887
 
869
888
  EcsTaskProperties.add_member(:containers, Shapes::ShapeRef.new(shape: ListTaskContainerProperties, required: true, location_name: "containers"))
@@ -877,6 +896,7 @@ module Aws::Batch
877
896
  EcsTaskProperties.add_member(:runtime_platform, Shapes::ShapeRef.new(shape: RuntimePlatform, location_name: "runtimePlatform"))
878
897
  EcsTaskProperties.add_member(:volumes, Shapes::ShapeRef.new(shape: Volumes, location_name: "volumes"))
879
898
  EcsTaskProperties.add_member(:enable_execute_command, Shapes::ShapeRef.new(shape: Boolean, location_name: "enableExecuteCommand"))
899
+ EcsTaskProperties.add_member(:network_mode, Shapes::ShapeRef.new(shape: String, location_name: "networkMode"))
880
900
  EcsTaskProperties.struct_class = Types::EcsTaskProperties
881
901
 
882
902
  EksAnnotationsMap.key = Shapes::ShapeRef.new(shape: String)
@@ -1130,6 +1150,34 @@ module Aws::Batch
1130
1150
 
1131
1151
  ImagePullSecrets.member = Shapes::ShapeRef.new(shape: ImagePullSecret)
1132
1152
 
1153
+ InfrastructureOptimization.add_member(:scale_in_after, Shapes::ShapeRef.new(shape: Integer, location_name: "scaleInAfter"))
1154
+ InfrastructureOptimization.struct_class = Types::InfrastructureOptimization
1155
+
1156
+ InstanceLaunchTemplate.add_member(:ec2_instance_profile_arn, Shapes::ShapeRef.new(shape: String, required: true, location_name: "ec2InstanceProfileArn"))
1157
+ InstanceLaunchTemplate.add_member(:network_configuration, Shapes::ShapeRef.new(shape: ManagedInstancesNetworkConfiguration, required: true, location_name: "networkConfiguration"))
1158
+ InstanceLaunchTemplate.add_member(:instance_requirements, Shapes::ShapeRef.new(shape: InstanceRequirementsRequest, location_name: "instanceRequirements"))
1159
+ InstanceLaunchTemplate.add_member(:capacity_option_type, Shapes::ShapeRef.new(shape: String, location_name: "capacityOptionType"))
1160
+ InstanceLaunchTemplate.add_member(:storage_configuration, Shapes::ShapeRef.new(shape: ManagedInstancesStorageConfiguration, location_name: "storageConfiguration"))
1161
+ InstanceLaunchTemplate.add_member(:monitoring, Shapes::ShapeRef.new(shape: String, location_name: "monitoring"))
1162
+ InstanceLaunchTemplate.add_member(:fips_enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "fipsEnabled"))
1163
+ InstanceLaunchTemplate.add_member(:capacity_reservations, Shapes::ShapeRef.new(shape: CapacityReservationRequest, location_name: "capacityReservations"))
1164
+ InstanceLaunchTemplate.add_member(:instance_metadata_tags_propagation, Shapes::ShapeRef.new(shape: Boolean, location_name: "instanceMetadataTagsPropagation"))
1165
+ InstanceLaunchTemplate.add_member(:local_storage_configuration, Shapes::ShapeRef.new(shape: ManagedInstancesLocalStorageConfiguration, location_name: "localStorageConfiguration"))
1166
+ InstanceLaunchTemplate.struct_class = Types::InstanceLaunchTemplate
1167
+
1168
+ InstanceLaunchTemplateUpdate.add_member(:ec2_instance_profile_arn, Shapes::ShapeRef.new(shape: String, location_name: "ec2InstanceProfileArn"))
1169
+ InstanceLaunchTemplateUpdate.add_member(:network_configuration, Shapes::ShapeRef.new(shape: ManagedInstancesNetworkConfiguration, location_name: "networkConfiguration"))
1170
+ InstanceLaunchTemplateUpdate.add_member(:instance_requirements, Shapes::ShapeRef.new(shape: InstanceRequirementsRequest, location_name: "instanceRequirements"))
1171
+ InstanceLaunchTemplateUpdate.add_member(:storage_configuration, Shapes::ShapeRef.new(shape: ManagedInstancesStorageConfiguration, location_name: "storageConfiguration"))
1172
+ InstanceLaunchTemplateUpdate.add_member(:monitoring, Shapes::ShapeRef.new(shape: String, location_name: "monitoring"))
1173
+ InstanceLaunchTemplateUpdate.add_member(:capacity_reservations, Shapes::ShapeRef.new(shape: CapacityReservationRequest, location_name: "capacityReservations"))
1174
+ InstanceLaunchTemplateUpdate.add_member(:instance_metadata_tags_propagation, Shapes::ShapeRef.new(shape: Boolean, location_name: "instanceMetadataTagsPropagation"))
1175
+ InstanceLaunchTemplateUpdate.add_member(:local_storage_configuration, Shapes::ShapeRef.new(shape: ManagedInstancesLocalStorageConfiguration, location_name: "localStorageConfiguration"))
1176
+ InstanceLaunchTemplateUpdate.struct_class = Types::InstanceLaunchTemplateUpdate
1177
+
1178
+ InstanceRequirementsRequest.add_member(:allowed_instance_types, Shapes::ShapeRef.new(shape: StringList, location_name: "allowedInstanceTypes"))
1179
+ InstanceRequirementsRequest.struct_class = Types::InstanceRequirementsRequest
1180
+
1133
1181
  JobCapacityUsageSummary.add_member(:capacity_unit, Shapes::ShapeRef.new(shape: String, location_name: "capacityUnit"))
1134
1182
  JobCapacityUsageSummary.add_member(:quantity, Shapes::ShapeRef.new(shape: Double, location_name: "quantity"))
1135
1183
  JobCapacityUsageSummary.struct_class = Types::JobCapacityUsageSummary
@@ -1390,6 +1438,22 @@ module Aws::Batch
1390
1438
  LogConfigurationOptionsMap.key = Shapes::ShapeRef.new(shape: String)
1391
1439
  LogConfigurationOptionsMap.value = Shapes::ShapeRef.new(shape: String)
1392
1440
 
1441
+ ManagedInstancesLocalStorageConfiguration.add_member(:use_local_storage, Shapes::ShapeRef.new(shape: Boolean, location_name: "useLocalStorage"))
1442
+ ManagedInstancesLocalStorageConfiguration.struct_class = Types::ManagedInstancesLocalStorageConfiguration
1443
+
1444
+ ManagedInstancesNetworkConfiguration.add_member(:subnets, Shapes::ShapeRef.new(shape: StringList, required: true, location_name: "subnets"))
1445
+ ManagedInstancesNetworkConfiguration.add_member(:security_groups, Shapes::ShapeRef.new(shape: StringList, required: true, location_name: "securityGroups"))
1446
+ ManagedInstancesNetworkConfiguration.struct_class = Types::ManagedInstancesNetworkConfiguration
1447
+
1448
+ ManagedInstancesProvider.add_member(:propagate_tags, Shapes::ShapeRef.new(shape: String, location_name: "propagateTags"))
1449
+ ManagedInstancesProvider.add_member(:infrastructure_role_arn, Shapes::ShapeRef.new(shape: String, required: true, location_name: "infrastructureRoleArn"))
1450
+ ManagedInstancesProvider.add_member(:instance_launch_template, Shapes::ShapeRef.new(shape: InstanceLaunchTemplate, required: true, location_name: "instanceLaunchTemplate"))
1451
+ ManagedInstancesProvider.add_member(:infrastructure_optimization, Shapes::ShapeRef.new(shape: InfrastructureOptimization, location_name: "infrastructureOptimization"))
1452
+ ManagedInstancesProvider.struct_class = Types::ManagedInstancesProvider
1453
+
1454
+ ManagedInstancesStorageConfiguration.add_member(:storage_size_gi_b, Shapes::ShapeRef.new(shape: Integer, location_name: "storageSizeGiB"))
1455
+ ManagedInstancesStorageConfiguration.struct_class = Types::ManagedInstancesStorageConfiguration
1456
+
1393
1457
  MountPoint.add_member(:container_path, Shapes::ShapeRef.new(shape: String, location_name: "containerPath"))
1394
1458
  MountPoint.add_member(:read_only, Shapes::ShapeRef.new(shape: Boolean, location_name: "readOnly"))
1395
1459
  MountPoint.add_member(:source_volume, Shapes::ShapeRef.new(shape: String, location_name: "sourceVolume"))
@@ -1855,6 +1919,12 @@ module Aws::Batch
1855
1919
  UpdateJobQueueResponse.add_member(:job_queue_arn, Shapes::ShapeRef.new(shape: String, location_name: "jobQueueArn"))
1856
1920
  UpdateJobQueueResponse.struct_class = Types::UpdateJobQueueResponse
1857
1921
 
1922
+ UpdateManagedInstancesProviderConfiguration.add_member(:propagate_tags, Shapes::ShapeRef.new(shape: String, location_name: "propagateTags"))
1923
+ UpdateManagedInstancesProviderConfiguration.add_member(:infrastructure_role_arn, Shapes::ShapeRef.new(shape: String, location_name: "infrastructureRoleArn"))
1924
+ UpdateManagedInstancesProviderConfiguration.add_member(:instance_launch_template, Shapes::ShapeRef.new(shape: InstanceLaunchTemplateUpdate, location_name: "instanceLaunchTemplate"))
1925
+ UpdateManagedInstancesProviderConfiguration.add_member(:infrastructure_optimization, Shapes::ShapeRef.new(shape: InfrastructureOptimization, location_name: "infrastructureOptimization"))
1926
+ UpdateManagedInstancesProviderConfiguration.struct_class = Types::UpdateManagedInstancesProviderConfiguration
1927
+
1858
1928
  UpdatePolicy.add_member(:terminate_jobs_on_update, Shapes::ShapeRef.new(shape: Boolean, location_name: "terminateJobsOnUpdate"))
1859
1929
  UpdatePolicy.add_member(:job_execution_timeout_minutes, Shapes::ShapeRef.new(shape: JobExecutionTimeoutMinutes, location_name: "jobExecutionTimeoutMinutes"))
1860
1930
  UpdatePolicy.struct_class = Types::UpdatePolicy