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.
data/sig/client.rbs CHANGED
@@ -100,7 +100,7 @@ module Aws
100
100
  ?state: ("ENABLED" | "DISABLED"),
101
101
  ?unmanagedv_cpus: ::Integer,
102
102
  ?compute_resources: {
103
- type: ("EC2" | "SPOT" | "FARGATE" | "FARGATE_SPOT"),
103
+ type: ("EC2" | "SPOT" | "FARGATE" | "FARGATE_SPOT" | "ECS_MANAGED_INSTANCES"),
104
104
  allocation_strategy: ("BEST_FIT" | "BEST_FIT_PROGRESSIVE" | "BEST_FIT_PROGRESSIVE_ORDERED" | "SPOT_CAPACITY_OPTIMIZED" | "SPOT_PRICE_CAPACITY_OPTIMIZED" | "SPOT_CAPACITY_OPTIMIZED_PRIORITIZED")?,
105
105
  minv_cpus: ::Integer?,
106
106
  maxv_cpus: ::Integer,
@@ -126,7 +126,39 @@ module Aws
126
126
  ]?,
127
127
  scaling_policy: {
128
128
  min_scale_down_delay_minutes: ::Integer?
129
- }?
129
+ }?,
130
+ managed_instances_provider: {
131
+ propagate_tags: ::String?,
132
+ infrastructure_role_arn: ::String,
133
+ instance_launch_template: {
134
+ ec2_instance_profile_arn: ::String,
135
+ network_configuration: {
136
+ subnets: Array[::String],
137
+ security_groups: Array[::String]
138
+ },
139
+ instance_requirements: {
140
+ allowed_instance_types: Array[::String]?
141
+ }?,
142
+ capacity_option_type: ::String?,
143
+ storage_configuration: {
144
+ storage_size_gi_b: ::Integer?
145
+ }?,
146
+ monitoring: ::String?,
147
+ fips_enabled: bool?,
148
+ capacity_reservations: {
149
+ reservation_group_arn: ::String?,
150
+ reservation_preference: ::String?
151
+ }?,
152
+ instance_metadata_tags_propagation: bool?,
153
+ local_storage_configuration: {
154
+ use_local_storage: bool?
155
+ }?
156
+ },
157
+ infrastructure_optimization: {
158
+ scale_in_after: ::Integer?
159
+ }?
160
+ }?,
161
+ capacity_tags: Hash[::String, ::String]?
130
162
  },
131
163
  ?service_role: ::String,
132
164
  ?tags: Hash[::String, ::String],
@@ -178,7 +210,7 @@ module Aws
178
210
  service_environment: ::String
179
211
  }
180
212
  ],
181
- ?job_queue_type: ("EKS" | "ECS" | "ECS_FARGATE" | "SAGEMAKER_TRAINING"),
213
+ ?job_queue_type: ("EKS" | "ECS" | "ECS_FARGATE" | "SAGEMAKER_TRAINING" | "ECS_MANAGED_INSTANCES"),
182
214
  ?tags: Hash[::String, ::String],
183
215
  ?job_state_time_limit_actions: Array[
184
216
  {
@@ -625,7 +657,7 @@ module Aws
625
657
  attempt_duration_seconds: ::Integer?
626
658
  },
627
659
  ?tags: Hash[::String, ::String],
628
- ?platform_capabilities: Array[("EC2" | "FARGATE")],
660
+ ?platform_capabilities: Array[("EC2" | "FARGATE" | "MANAGED_INSTANCES")],
629
661
  ?eks_properties: Params::eks_properties,
630
662
  ?ecs_properties: Params::ecs_properties,
631
663
  ?consumable_resource_properties: {
@@ -810,11 +842,41 @@ module Aws
810
842
  }
811
843
  ]?,
812
844
  update_to_latest_image_version: bool?,
813
- type: ("EC2" | "SPOT" | "FARGATE" | "FARGATE_SPOT")?,
845
+ type: ("EC2" | "SPOT" | "FARGATE" | "FARGATE_SPOT" | "ECS_MANAGED_INSTANCES")?,
814
846
  image_id: ::String?,
815
847
  scaling_policy: {
816
848
  min_scale_down_delay_minutes: ::Integer?
817
- }?
849
+ }?,
850
+ managed_instances_provider: {
851
+ propagate_tags: ::String?,
852
+ infrastructure_role_arn: ::String?,
853
+ instance_launch_template: {
854
+ ec2_instance_profile_arn: ::String?,
855
+ network_configuration: {
856
+ subnets: Array[::String],
857
+ security_groups: Array[::String]
858
+ }?,
859
+ instance_requirements: {
860
+ allowed_instance_types: Array[::String]?
861
+ }?,
862
+ storage_configuration: {
863
+ storage_size_gi_b: ::Integer?
864
+ }?,
865
+ monitoring: ::String?,
866
+ capacity_reservations: {
867
+ reservation_group_arn: ::String?,
868
+ reservation_preference: ::String?
869
+ }?,
870
+ instance_metadata_tags_propagation: bool?,
871
+ local_storage_configuration: {
872
+ use_local_storage: bool?
873
+ }?
874
+ }?,
875
+ infrastructure_optimization: {
876
+ scale_in_after: ::Integer?
877
+ }?
878
+ }?,
879
+ capacity_tags: Hash[::String, ::String]?
818
880
  },
819
881
  ?service_role: ::String,
820
882
  ?update_policy: {
data/sig/params.rbs CHANGED
@@ -187,7 +187,8 @@ module Aws
187
187
  volumes: Array[
188
188
  Params::volume
189
189
  ]?,
190
- enable_execute_command: bool?
190
+ enable_execute_command: bool?,
191
+ network_mode: ::String?
191
192
  }
192
193
 
193
194
  type task_container_properties = {
data/sig/types.rbs CHANGED
@@ -79,6 +79,12 @@ module Aws::Batch
79
79
  SENSITIVE: []
80
80
  end
81
81
 
82
+ class CapacityReservationRequest
83
+ attr_accessor reservation_group_arn: ::String
84
+ attr_accessor reservation_preference: ::String
85
+ SENSITIVE: []
86
+ end
87
+
82
88
  class ClientException
83
89
  attr_accessor message: ::String
84
90
  SENSITIVE: []
@@ -112,7 +118,7 @@ module Aws::Batch
112
118
  end
113
119
 
114
120
  class ComputeResource
115
- attr_accessor type: ("EC2" | "SPOT" | "FARGATE" | "FARGATE_SPOT")
121
+ attr_accessor type: ("EC2" | "SPOT" | "FARGATE" | "FARGATE_SPOT" | "ECS_MANAGED_INSTANCES")
116
122
  attr_accessor allocation_strategy: ("BEST_FIT" | "BEST_FIT_PROGRESSIVE" | "BEST_FIT_PROGRESSIVE_ORDERED" | "SPOT_CAPACITY_OPTIMIZED" | "SPOT_PRICE_CAPACITY_OPTIMIZED" | "SPOT_CAPACITY_OPTIMIZED_PRIORITIZED")
117
123
  attr_accessor minv_cpus: ::Integer
118
124
  attr_accessor maxv_cpus: ::Integer
@@ -130,6 +136,8 @@ module Aws::Batch
130
136
  attr_accessor launch_template: Types::LaunchTemplateSpecification
131
137
  attr_accessor ec2_configuration: ::Array[Types::Ec2Configuration]
132
138
  attr_accessor scaling_policy: Types::ComputeScalingPolicy
139
+ attr_accessor managed_instances_provider: Types::ManagedInstancesProvider
140
+ attr_accessor capacity_tags: ::Hash[::String, ::String]
133
141
  SENSITIVE: []
134
142
  end
135
143
 
@@ -149,9 +157,11 @@ module Aws::Batch
149
157
  attr_accessor launch_template: Types::LaunchTemplateSpecification
150
158
  attr_accessor ec2_configuration: ::Array[Types::Ec2Configuration]
151
159
  attr_accessor update_to_latest_image_version: bool
152
- attr_accessor type: ("EC2" | "SPOT" | "FARGATE" | "FARGATE_SPOT")
160
+ attr_accessor type: ("EC2" | "SPOT" | "FARGATE" | "FARGATE_SPOT" | "ECS_MANAGED_INSTANCES")
153
161
  attr_accessor image_id: ::String
154
162
  attr_accessor scaling_policy: Types::ComputeScalingPolicy
163
+ attr_accessor managed_instances_provider: Types::UpdateManagedInstancesProviderConfiguration
164
+ attr_accessor capacity_tags: ::Hash[::String, ::String]
155
165
  SENSITIVE: []
156
166
  end
157
167
 
@@ -299,7 +309,7 @@ module Aws::Batch
299
309
  attr_accessor priority: ::Integer
300
310
  attr_accessor compute_environment_order: ::Array[Types::ComputeEnvironmentOrder]
301
311
  attr_accessor service_environment_order: ::Array[Types::ServiceEnvironmentOrder]
302
- attr_accessor job_queue_type: ("EKS" | "ECS" | "ECS_FARGATE" | "SAGEMAKER_TRAINING")
312
+ attr_accessor job_queue_type: ("EKS" | "ECS" | "ECS_FARGATE" | "SAGEMAKER_TRAINING" | "ECS_MANAGED_INSTANCES")
303
313
  attr_accessor tags: ::Hash[::String, ::String]
304
314
  attr_accessor job_state_time_limit_actions: ::Array[Types::JobStateTimeLimitAction]
305
315
  SENSITIVE: []
@@ -619,6 +629,7 @@ module Aws::Batch
619
629
  attr_accessor runtime_platform: Types::RuntimePlatform
620
630
  attr_accessor volumes: ::Array[Types::Volume]
621
631
  attr_accessor enable_execute_command: bool
632
+ attr_accessor network_mode: ::String
622
633
  SENSITIVE: []
623
634
  end
624
635
 
@@ -634,6 +645,7 @@ module Aws::Batch
634
645
  attr_accessor runtime_platform: Types::RuntimePlatform
635
646
  attr_accessor volumes: ::Array[Types::Volume]
636
647
  attr_accessor enable_execute_command: bool
648
+ attr_accessor network_mode: ::String
637
649
  SENSITIVE: []
638
650
  end
639
651
 
@@ -916,6 +928,42 @@ module Aws::Batch
916
928
  SENSITIVE: []
917
929
  end
918
930
 
931
+ class InfrastructureOptimization
932
+ attr_accessor scale_in_after: ::Integer
933
+ SENSITIVE: []
934
+ end
935
+
936
+ class InstanceLaunchTemplate
937
+ attr_accessor ec2_instance_profile_arn: ::String
938
+ attr_accessor network_configuration: Types::ManagedInstancesNetworkConfiguration
939
+ attr_accessor instance_requirements: Types::InstanceRequirementsRequest
940
+ attr_accessor capacity_option_type: ::String
941
+ attr_accessor storage_configuration: Types::ManagedInstancesStorageConfiguration
942
+ attr_accessor monitoring: ::String
943
+ attr_accessor fips_enabled: bool
944
+ attr_accessor capacity_reservations: Types::CapacityReservationRequest
945
+ attr_accessor instance_metadata_tags_propagation: bool
946
+ attr_accessor local_storage_configuration: Types::ManagedInstancesLocalStorageConfiguration
947
+ SENSITIVE: []
948
+ end
949
+
950
+ class InstanceLaunchTemplateUpdate
951
+ attr_accessor ec2_instance_profile_arn: ::String
952
+ attr_accessor network_configuration: Types::ManagedInstancesNetworkConfiguration
953
+ attr_accessor instance_requirements: Types::InstanceRequirementsRequest
954
+ attr_accessor storage_configuration: Types::ManagedInstancesStorageConfiguration
955
+ attr_accessor monitoring: ::String
956
+ attr_accessor capacity_reservations: Types::CapacityReservationRequest
957
+ attr_accessor instance_metadata_tags_propagation: bool
958
+ attr_accessor local_storage_configuration: Types::ManagedInstancesLocalStorageConfiguration
959
+ SENSITIVE: []
960
+ end
961
+
962
+ class InstanceRequirementsRequest
963
+ attr_accessor allowed_instance_types: ::Array[::String]
964
+ SENSITIVE: []
965
+ end
966
+
919
967
  class JobCapacityUsageSummary
920
968
  attr_accessor capacity_unit: ::String
921
969
  attr_accessor quantity: ::Float
@@ -936,7 +984,7 @@ module Aws::Batch
936
984
  attr_accessor node_properties: Types::NodeProperties
937
985
  attr_accessor tags: ::Hash[::String, ::String]
938
986
  attr_accessor propagate_tags: bool
939
- attr_accessor platform_capabilities: ::Array[("EC2" | "FARGATE")]
987
+ attr_accessor platform_capabilities: ::Array[("EC2" | "FARGATE" | "MANAGED_INSTANCES")]
940
988
  attr_accessor ecs_properties: Types::EcsProperties
941
989
  attr_accessor eks_properties: Types::EksProperties
942
990
  attr_accessor container_orchestration_type: ("ECS" | "EKS")
@@ -974,7 +1022,7 @@ module Aws::Batch
974
1022
  attr_accessor timeout: Types::JobTimeout
975
1023
  attr_accessor tags: ::Hash[::String, ::String]
976
1024
  attr_accessor propagate_tags: bool
977
- attr_accessor platform_capabilities: ::Array[("EC2" | "FARGATE")]
1025
+ attr_accessor platform_capabilities: ::Array[("EC2" | "FARGATE" | "MANAGED_INSTANCES")]
978
1026
  attr_accessor eks_properties: Types::EksPropertiesDetail
979
1027
  attr_accessor eks_attempts: ::Array[Types::EksAttemptDetail]
980
1028
  attr_accessor ecs_properties: Types::EcsPropertiesDetail
@@ -994,7 +1042,7 @@ module Aws::Batch
994
1042
  attr_accessor priority: ::Integer
995
1043
  attr_accessor compute_environment_order: ::Array[Types::ComputeEnvironmentOrder]
996
1044
  attr_accessor service_environment_order: ::Array[Types::ServiceEnvironmentOrder]
997
- attr_accessor job_queue_type: ("EKS" | "ECS" | "ECS_FARGATE" | "SAGEMAKER_TRAINING")
1045
+ attr_accessor job_queue_type: ("EKS" | "ECS" | "ECS_FARGATE" | "SAGEMAKER_TRAINING" | "ECS_MANAGED_INSTANCES")
998
1046
  attr_accessor tags: ::Hash[::String, ::String]
999
1047
  attr_accessor job_state_time_limit_actions: ::Array[Types::JobStateTimeLimitAction]
1000
1048
  SENSITIVE: []
@@ -1193,6 +1241,30 @@ module Aws::Batch
1193
1241
  SENSITIVE: []
1194
1242
  end
1195
1243
 
1244
+ class ManagedInstancesLocalStorageConfiguration
1245
+ attr_accessor use_local_storage: bool
1246
+ SENSITIVE: []
1247
+ end
1248
+
1249
+ class ManagedInstancesNetworkConfiguration
1250
+ attr_accessor subnets: ::Array[::String]
1251
+ attr_accessor security_groups: ::Array[::String]
1252
+ SENSITIVE: []
1253
+ end
1254
+
1255
+ class ManagedInstancesProvider
1256
+ attr_accessor propagate_tags: ::String
1257
+ attr_accessor infrastructure_role_arn: ::String
1258
+ attr_accessor instance_launch_template: Types::InstanceLaunchTemplate
1259
+ attr_accessor infrastructure_optimization: Types::InfrastructureOptimization
1260
+ SENSITIVE: []
1261
+ end
1262
+
1263
+ class ManagedInstancesStorageConfiguration
1264
+ attr_accessor storage_size_gi_b: ::Integer
1265
+ SENSITIVE: []
1266
+ end
1267
+
1196
1268
  class MountPoint
1197
1269
  attr_accessor container_path: ::String
1198
1270
  attr_accessor read_only: bool
@@ -1334,7 +1406,7 @@ module Aws::Batch
1334
1406
  attr_accessor propagate_tags: bool
1335
1407
  attr_accessor timeout: Types::JobTimeout
1336
1408
  attr_accessor tags: ::Hash[::String, ::String]
1337
- attr_accessor platform_capabilities: ::Array[("EC2" | "FARGATE")]
1409
+ attr_accessor platform_capabilities: ::Array[("EC2" | "FARGATE" | "MANAGED_INSTANCES")]
1338
1410
  attr_accessor eks_properties: Types::EksProperties
1339
1411
  attr_accessor ecs_properties: Types::EcsProperties
1340
1412
  attr_accessor consumable_resource_properties: Types::ConsumableResourceProperties
@@ -1727,6 +1799,14 @@ module Aws::Batch
1727
1799
  SENSITIVE: []
1728
1800
  end
1729
1801
 
1802
+ class UpdateManagedInstancesProviderConfiguration
1803
+ attr_accessor propagate_tags: ::String
1804
+ attr_accessor infrastructure_role_arn: ::String
1805
+ attr_accessor instance_launch_template: Types::InstanceLaunchTemplateUpdate
1806
+ attr_accessor infrastructure_optimization: Types::InfrastructureOptimization
1807
+ SENSITIVE: []
1808
+ end
1809
+
1730
1810
  class UpdatePolicy
1731
1811
  attr_accessor terminate_jobs_on_update: bool
1732
1812
  attr_accessor job_execution_timeout_minutes: ::Integer
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-batch
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.149.0
4
+ version: 1.151.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services