aws-sdk-batch 1.114.0 → 1.119.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/lib/aws-sdk-batch.rb CHANGED
@@ -54,7 +54,7 @@ module Aws::Batch
54
54
  autoload :EndpointProvider, 'aws-sdk-batch/endpoint_provider'
55
55
  autoload :Endpoints, 'aws-sdk-batch/endpoints'
56
56
 
57
- GEM_VERSION = '1.114.0'
57
+ GEM_VERSION = '1.119.0'
58
58
 
59
59
  end
60
60
 
data/sig/client.rbs CHANGED
@@ -18,6 +18,7 @@ module Aws
18
18
  ?account_id: String,
19
19
  ?active_endpoint_cache: bool,
20
20
  ?adaptive_retry_wait_to_fill: bool,
21
+ ?auth_scheme_preference: Array[String],
21
22
  ?client_side_monitoring: bool,
22
23
  ?client_side_monitoring_client_id: String,
23
24
  ?client_side_monitoring_host: String,
@@ -123,9 +124,11 @@ module Aws
123
124
  launch_template_id: ::String?,
124
125
  launch_template_name: ::String?,
125
126
  version: ::String?,
126
- target_instance_types: Array[::String]?
127
+ target_instance_types: Array[::String]?,
128
+ userdata_type: ("EKS_BOOTSTRAP_SH" | "EKS_NODEADM")?
127
129
  },
128
- ]?
130
+ ]?,
131
+ userdata_type: ("EKS_BOOTSTRAP_SH" | "EKS_NODEADM")?
129
132
  }?,
130
133
  ec2_configuration: Array[
131
134
  {
@@ -170,19 +173,26 @@ module Aws
170
173
  ?state: ("ENABLED" | "DISABLED"),
171
174
  ?scheduling_policy_arn: ::String,
172
175
  priority: ::Integer,
173
- compute_environment_order: Array[
176
+ ?compute_environment_order: Array[
174
177
  {
175
178
  order: ::Integer,
176
179
  compute_environment: ::String
177
180
  },
178
181
  ],
182
+ ?service_environment_order: Array[
183
+ {
184
+ order: ::Integer,
185
+ service_environment: ::String
186
+ },
187
+ ],
188
+ ?job_queue_type: ("EKS" | "ECS" | "ECS_FARGATE" | "SAGEMAKER_TRAINING"),
179
189
  ?tags: Hash[::String, ::String],
180
190
  ?job_state_time_limit_actions: Array[
181
191
  {
182
192
  reason: ::String,
183
193
  state: ("RUNNABLE"),
184
194
  max_time_seconds: ::Integer,
185
- action: ("CANCEL")
195
+ action: ("CANCEL" | "TERMINATE")
186
196
  },
187
197
  ]
188
198
  ) -> _CreateJobQueueResponseSuccess
@@ -210,6 +220,26 @@ module Aws
210
220
  ) -> _CreateSchedulingPolicyResponseSuccess
211
221
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateSchedulingPolicyResponseSuccess
212
222
 
223
+ interface _CreateServiceEnvironmentResponseSuccess
224
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreateServiceEnvironmentResponse]
225
+ def service_environment_name: () -> ::String
226
+ def service_environment_arn: () -> ::String
227
+ end
228
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Batch/Client.html#create_service_environment-instance_method
229
+ def create_service_environment: (
230
+ service_environment_name: ::String,
231
+ service_environment_type: ("SAGEMAKER_TRAINING"),
232
+ ?state: ("ENABLED" | "DISABLED"),
233
+ capacity_limits: Array[
234
+ {
235
+ max_capacity: ::Integer?,
236
+ capacity_unit: ::String?
237
+ },
238
+ ],
239
+ ?tags: Hash[::String, ::String]
240
+ ) -> _CreateServiceEnvironmentResponseSuccess
241
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateServiceEnvironmentResponseSuccess
242
+
213
243
  interface _DeleteComputeEnvironmentResponseSuccess
214
244
  include ::Seahorse::Client::_ResponseSuccess[Types::DeleteComputeEnvironmentResponse]
215
245
  end
@@ -246,6 +276,15 @@ module Aws
246
276
  ) -> _DeleteSchedulingPolicyResponseSuccess
247
277
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteSchedulingPolicyResponseSuccess
248
278
 
279
+ interface _DeleteServiceEnvironmentResponseSuccess
280
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeleteServiceEnvironmentResponse]
281
+ end
282
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Batch/Client.html#delete_service_environment-instance_method
283
+ def delete_service_environment: (
284
+ service_environment: ::String
285
+ ) -> _DeleteServiceEnvironmentResponseSuccess
286
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteServiceEnvironmentResponseSuccess
287
+
249
288
  interface _DeregisterJobDefinitionResponseSuccess
250
289
  include ::Seahorse::Client::_ResponseSuccess[Types::DeregisterJobDefinitionResponse]
251
290
  end
@@ -333,6 +372,47 @@ module Aws
333
372
  ) -> _DescribeSchedulingPoliciesResponseSuccess
334
373
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeSchedulingPoliciesResponseSuccess
335
374
 
375
+ interface _DescribeServiceEnvironmentsResponseSuccess
376
+ include ::Seahorse::Client::_ResponseSuccess[Types::DescribeServiceEnvironmentsResponse]
377
+ def service_environments: () -> ::Array[Types::ServiceEnvironmentDetail]
378
+ def next_token: () -> ::String
379
+ end
380
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Batch/Client.html#describe_service_environments-instance_method
381
+ def describe_service_environments: (
382
+ ?service_environments: Array[::String],
383
+ ?max_results: ::Integer,
384
+ ?next_token: ::String
385
+ ) -> _DescribeServiceEnvironmentsResponseSuccess
386
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeServiceEnvironmentsResponseSuccess
387
+
388
+ interface _DescribeServiceJobResponseSuccess
389
+ include ::Seahorse::Client::_ResponseSuccess[Types::DescribeServiceJobResponse]
390
+ def attempts: () -> ::Array[Types::ServiceJobAttemptDetail]
391
+ def created_at: () -> ::Integer
392
+ def is_terminated: () -> bool
393
+ def job_arn: () -> ::String
394
+ def job_id: () -> ::String
395
+ def job_name: () -> ::String
396
+ def job_queue: () -> ::String
397
+ def latest_attempt: () -> Types::LatestServiceJobAttempt
398
+ def retry_strategy: () -> Types::ServiceJobRetryStrategy
399
+ def scheduling_priority: () -> ::Integer
400
+ def service_request_payload: () -> ::String
401
+ def service_job_type: () -> ("SAGEMAKER_TRAINING")
402
+ def share_identifier: () -> ::String
403
+ def started_at: () -> ::Integer
404
+ def status: () -> ("SUBMITTED" | "PENDING" | "RUNNABLE" | "SCHEDULED" | "STARTING" | "RUNNING" | "SUCCEEDED" | "FAILED")
405
+ def status_reason: () -> ::String
406
+ def stopped_at: () -> ::Integer
407
+ def tags: () -> ::Hash[::String, ::String]
408
+ def timeout_config: () -> Types::ServiceJobTimeout
409
+ end
410
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Batch/Client.html#describe_service_job-instance_method
411
+ def describe_service_job: (
412
+ job_id: ::String
413
+ ) -> _DescribeServiceJobResponseSuccess
414
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeServiceJobResponseSuccess
415
+
336
416
  interface _GetJobQueueSnapshotResponseSuccess
337
417
  include ::Seahorse::Client::_ResponseSuccess[Types::GetJobQueueSnapshotResponse]
338
418
  def front_of_queue: () -> Types::FrontOfQueueDetail
@@ -414,6 +494,26 @@ module Aws
414
494
  ) -> _ListSchedulingPoliciesResponseSuccess
415
495
  | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListSchedulingPoliciesResponseSuccess
416
496
 
497
+ interface _ListServiceJobsResponseSuccess
498
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListServiceJobsResponse]
499
+ def job_summary_list: () -> ::Array[Types::ServiceJobSummary]
500
+ def next_token: () -> ::String
501
+ end
502
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Batch/Client.html#list_service_jobs-instance_method
503
+ def list_service_jobs: (
504
+ ?job_queue: ::String,
505
+ ?job_status: ("SUBMITTED" | "PENDING" | "RUNNABLE" | "SCHEDULED" | "STARTING" | "RUNNING" | "SUCCEEDED" | "FAILED"),
506
+ ?max_results: ::Integer,
507
+ ?next_token: ::String,
508
+ ?filters: Array[
509
+ {
510
+ name: ::String?,
511
+ values: Array[::String]?
512
+ },
513
+ ]
514
+ ) -> _ListServiceJobsResponseSuccess
515
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListServiceJobsResponseSuccess
516
+
417
517
  interface _ListTagsForResourceResponseSuccess
418
518
  include ::Seahorse::Client::_ResponseSuccess[Types::ListTagsForResourceResponse]
419
519
  def tags: () -> ::Hash[::String, ::String]
@@ -1409,6 +1509,37 @@ module Aws
1409
1509
  ) -> _SubmitJobResponseSuccess
1410
1510
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _SubmitJobResponseSuccess
1411
1511
 
1512
+ interface _SubmitServiceJobResponseSuccess
1513
+ include ::Seahorse::Client::_ResponseSuccess[Types::SubmitServiceJobResponse]
1514
+ def job_arn: () -> ::String
1515
+ def job_name: () -> ::String
1516
+ def job_id: () -> ::String
1517
+ end
1518
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Batch/Client.html#submit_service_job-instance_method
1519
+ def submit_service_job: (
1520
+ job_name: ::String,
1521
+ job_queue: ::String,
1522
+ ?retry_strategy: {
1523
+ attempts: ::Integer,
1524
+ evaluate_on_exit: Array[
1525
+ {
1526
+ action: ("RETRY" | "EXIT")?,
1527
+ on_status_reason: ::String?
1528
+ },
1529
+ ]?
1530
+ },
1531
+ ?scheduling_priority: ::Integer,
1532
+ service_request_payload: ::String,
1533
+ service_job_type: ("SAGEMAKER_TRAINING"),
1534
+ ?share_identifier: ::String,
1535
+ ?timeout_config: {
1536
+ attempt_duration_seconds: ::Integer?
1537
+ },
1538
+ ?tags: Hash[::String, ::String],
1539
+ ?client_token: ::String
1540
+ ) -> _SubmitServiceJobResponseSuccess
1541
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _SubmitServiceJobResponseSuccess
1542
+
1412
1543
  interface _TagResourceResponseSuccess
1413
1544
  include ::Seahorse::Client::_ResponseSuccess[Types::TagResourceResponse]
1414
1545
  end
@@ -1429,6 +1560,16 @@ module Aws
1429
1560
  ) -> _TerminateJobResponseSuccess
1430
1561
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _TerminateJobResponseSuccess
1431
1562
 
1563
+ interface _TerminateServiceJobResponseSuccess
1564
+ include ::Seahorse::Client::_ResponseSuccess[Types::TerminateServiceJobResponse]
1565
+ end
1566
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Batch/Client.html#terminate_service_job-instance_method
1567
+ def terminate_service_job: (
1568
+ job_id: ::String,
1569
+ reason: ::String
1570
+ ) -> _TerminateServiceJobResponseSuccess
1571
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _TerminateServiceJobResponseSuccess
1572
+
1432
1573
  interface _UntagResourceResponseSuccess
1433
1574
  include ::Seahorse::Client::_ResponseSuccess[Types::UntagResourceResponse]
1434
1575
  end
@@ -1471,9 +1612,11 @@ module Aws
1471
1612
  launch_template_id: ::String?,
1472
1613
  launch_template_name: ::String?,
1473
1614
  version: ::String?,
1474
- target_instance_types: Array[::String]?
1615
+ target_instance_types: Array[::String]?,
1616
+ userdata_type: ("EKS_BOOTSTRAP_SH" | "EKS_NODEADM")?
1475
1617
  },
1476
- ]?
1618
+ ]?,
1619
+ userdata_type: ("EKS_BOOTSTRAP_SH" | "EKS_NODEADM")?
1477
1620
  }?,
1478
1621
  ec2_configuration: Array[
1479
1622
  {
@@ -1527,12 +1670,18 @@ module Aws
1527
1670
  compute_environment: ::String
1528
1671
  },
1529
1672
  ],
1673
+ ?service_environment_order: Array[
1674
+ {
1675
+ order: ::Integer,
1676
+ service_environment: ::String
1677
+ },
1678
+ ],
1530
1679
  ?job_state_time_limit_actions: Array[
1531
1680
  {
1532
1681
  reason: ::String,
1533
1682
  state: ("RUNNABLE"),
1534
1683
  max_time_seconds: ::Integer,
1535
- action: ("CANCEL")
1684
+ action: ("CANCEL" | "TERMINATE")
1536
1685
  },
1537
1686
  ]
1538
1687
  ) -> _UpdateJobQueueResponseSuccess
@@ -1556,6 +1705,24 @@ module Aws
1556
1705
  }
1557
1706
  ) -> _UpdateSchedulingPolicyResponseSuccess
1558
1707
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateSchedulingPolicyResponseSuccess
1708
+
1709
+ interface _UpdateServiceEnvironmentResponseSuccess
1710
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateServiceEnvironmentResponse]
1711
+ def service_environment_name: () -> ::String
1712
+ def service_environment_arn: () -> ::String
1713
+ end
1714
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Batch/Client.html#update_service_environment-instance_method
1715
+ def update_service_environment: (
1716
+ service_environment: ::String,
1717
+ ?state: ("ENABLED" | "DISABLED"),
1718
+ ?capacity_limits: Array[
1719
+ {
1720
+ max_capacity: ::Integer?,
1721
+ capacity_unit: ::String?
1722
+ },
1723
+ ]
1724
+ ) -> _UpdateServiceEnvironmentResponseSuccess
1725
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateServiceEnvironmentResponseSuccess
1559
1726
  end
1560
1727
  end
1561
1728
  end
data/sig/resource.rbs CHANGED
@@ -18,6 +18,7 @@ module Aws
18
18
  ?account_id: String,
19
19
  ?active_endpoint_cache: bool,
20
20
  ?adaptive_retry_wait_to_fill: bool,
21
+ ?auth_scheme_preference: Array[String],
21
22
  ?client_side_monitoring: bool,
22
23
  ?client_side_monitoring_client_id: String,
23
24
  ?client_side_monitoring_host: String,
data/sig/types.rbs CHANGED
@@ -70,6 +70,12 @@ module Aws::Batch
70
70
  class CancelJobResponse < Aws::EmptyStructure
71
71
  end
72
72
 
73
+ class CapacityLimit
74
+ attr_accessor max_capacity: ::Integer
75
+ attr_accessor capacity_unit: ::String
76
+ SENSITIVE: []
77
+ end
78
+
73
79
  class ClientException
74
80
  attr_accessor message: ::String
75
81
  SENSITIVE: []
@@ -280,6 +286,8 @@ module Aws::Batch
280
286
  attr_accessor scheduling_policy_arn: ::String
281
287
  attr_accessor priority: ::Integer
282
288
  attr_accessor compute_environment_order: ::Array[Types::ComputeEnvironmentOrder]
289
+ attr_accessor service_environment_order: ::Array[Types::ServiceEnvironmentOrder]
290
+ attr_accessor job_queue_type: ("EKS" | "ECS" | "ECS_FARGATE" | "SAGEMAKER_TRAINING")
283
291
  attr_accessor tags: ::Hash[::String, ::String]
284
292
  attr_accessor job_state_time_limit_actions: ::Array[Types::JobStateTimeLimitAction]
285
293
  SENSITIVE: []
@@ -304,6 +312,21 @@ module Aws::Batch
304
312
  SENSITIVE: []
305
313
  end
306
314
 
315
+ class CreateServiceEnvironmentRequest
316
+ attr_accessor service_environment_name: ::String
317
+ attr_accessor service_environment_type: ("SAGEMAKER_TRAINING")
318
+ attr_accessor state: ("ENABLED" | "DISABLED")
319
+ attr_accessor capacity_limits: ::Array[Types::CapacityLimit]
320
+ attr_accessor tags: ::Hash[::String, ::String]
321
+ SENSITIVE: []
322
+ end
323
+
324
+ class CreateServiceEnvironmentResponse
325
+ attr_accessor service_environment_name: ::String
326
+ attr_accessor service_environment_arn: ::String
327
+ SENSITIVE: []
328
+ end
329
+
307
330
  class DeleteComputeEnvironmentRequest
308
331
  attr_accessor compute_environment: ::String
309
332
  SENSITIVE: []
@@ -336,6 +359,14 @@ module Aws::Batch
336
359
  class DeleteSchedulingPolicyResponse < Aws::EmptyStructure
337
360
  end
338
361
 
362
+ class DeleteServiceEnvironmentRequest
363
+ attr_accessor service_environment: ::String
364
+ SENSITIVE: []
365
+ end
366
+
367
+ class DeleteServiceEnvironmentResponse < Aws::EmptyStructure
368
+ end
369
+
339
370
  class DeregisterJobDefinitionRequest
340
371
  attr_accessor job_definition: ::String
341
372
  SENSITIVE: []
@@ -422,6 +453,47 @@ module Aws::Batch
422
453
  SENSITIVE: []
423
454
  end
424
455
 
456
+ class DescribeServiceEnvironmentsRequest
457
+ attr_accessor service_environments: ::Array[::String]
458
+ attr_accessor max_results: ::Integer
459
+ attr_accessor next_token: ::String
460
+ SENSITIVE: []
461
+ end
462
+
463
+ class DescribeServiceEnvironmentsResponse
464
+ attr_accessor service_environments: ::Array[Types::ServiceEnvironmentDetail]
465
+ attr_accessor next_token: ::String
466
+ SENSITIVE: []
467
+ end
468
+
469
+ class DescribeServiceJobRequest
470
+ attr_accessor job_id: ::String
471
+ SENSITIVE: []
472
+ end
473
+
474
+ class DescribeServiceJobResponse
475
+ attr_accessor attempts: ::Array[Types::ServiceJobAttemptDetail]
476
+ attr_accessor created_at: ::Integer
477
+ attr_accessor is_terminated: bool
478
+ attr_accessor job_arn: ::String
479
+ attr_accessor job_id: ::String
480
+ attr_accessor job_name: ::String
481
+ attr_accessor job_queue: ::String
482
+ attr_accessor latest_attempt: Types::LatestServiceJobAttempt
483
+ attr_accessor retry_strategy: Types::ServiceJobRetryStrategy
484
+ attr_accessor scheduling_priority: ::Integer
485
+ attr_accessor service_request_payload: ::String
486
+ attr_accessor service_job_type: ("SAGEMAKER_TRAINING")
487
+ attr_accessor share_identifier: ::String
488
+ attr_accessor started_at: ::Integer
489
+ attr_accessor status: ("SUBMITTED" | "PENDING" | "RUNNABLE" | "SCHEDULED" | "STARTING" | "RUNNING" | "SUCCEEDED" | "FAILED")
490
+ attr_accessor status_reason: ::String
491
+ attr_accessor stopped_at: ::Integer
492
+ attr_accessor tags: ::Hash[::String, ::String]
493
+ attr_accessor timeout_config: Types::ServiceJobTimeout
494
+ SENSITIVE: []
495
+ end
496
+
425
497
  class Device
426
498
  attr_accessor host_path: ::String
427
499
  attr_accessor container_path: ::String
@@ -816,6 +888,8 @@ module Aws::Batch
816
888
  attr_accessor status_reason: ::String
817
889
  attr_accessor priority: ::Integer
818
890
  attr_accessor compute_environment_order: ::Array[Types::ComputeEnvironmentOrder]
891
+ attr_accessor service_environment_order: ::Array[Types::ServiceEnvironmentOrder]
892
+ attr_accessor job_queue_type: ("EKS" | "ECS" | "ECS_FARGATE" | "SAGEMAKER_TRAINING")
819
893
  attr_accessor tags: ::Hash[::String, ::String]
820
894
  attr_accessor job_state_time_limit_actions: ::Array[Types::JobStateTimeLimitAction]
821
895
  SENSITIVE: []
@@ -825,7 +899,7 @@ module Aws::Batch
825
899
  attr_accessor reason: ::String
826
900
  attr_accessor state: ("RUNNABLE")
827
901
  attr_accessor max_time_seconds: ::Integer
828
- attr_accessor action: ("CANCEL")
902
+ attr_accessor action: ("CANCEL" | "TERMINATE")
829
903
  SENSITIVE: []
830
904
  end
831
905
 
@@ -862,11 +936,17 @@ module Aws::Batch
862
936
  SENSITIVE: []
863
937
  end
864
938
 
939
+ class LatestServiceJobAttempt
940
+ attr_accessor service_resource_id: Types::ServiceResourceId
941
+ SENSITIVE: []
942
+ end
943
+
865
944
  class LaunchTemplateSpecification
866
945
  attr_accessor launch_template_id: ::String
867
946
  attr_accessor launch_template_name: ::String
868
947
  attr_accessor version: ::String
869
948
  attr_accessor overrides: ::Array[Types::LaunchTemplateSpecificationOverride]
949
+ attr_accessor userdata_type: ("EKS_BOOTSTRAP_SH" | "EKS_NODEADM")
870
950
  SENSITIVE: []
871
951
  end
872
952
 
@@ -875,6 +955,7 @@ module Aws::Batch
875
955
  attr_accessor launch_template_name: ::String
876
956
  attr_accessor version: ::String
877
957
  attr_accessor target_instance_types: ::Array[::String]
958
+ attr_accessor userdata_type: ("EKS_BOOTSTRAP_SH" | "EKS_NODEADM")
878
959
  SENSITIVE: []
879
960
  end
880
961
 
@@ -959,6 +1040,21 @@ module Aws::Batch
959
1040
  SENSITIVE: []
960
1041
  end
961
1042
 
1043
+ class ListServiceJobsRequest
1044
+ attr_accessor job_queue: ::String
1045
+ attr_accessor job_status: ("SUBMITTED" | "PENDING" | "RUNNABLE" | "SCHEDULED" | "STARTING" | "RUNNING" | "SUCCEEDED" | "FAILED")
1046
+ attr_accessor max_results: ::Integer
1047
+ attr_accessor next_token: ::String
1048
+ attr_accessor filters: ::Array[Types::KeyValuesPair]
1049
+ SENSITIVE: []
1050
+ end
1051
+
1052
+ class ListServiceJobsResponse
1053
+ attr_accessor job_summary_list: ::Array[Types::ServiceJobSummary]
1054
+ attr_accessor next_token: ::String
1055
+ SENSITIVE: []
1056
+ end
1057
+
962
1058
  class ListTagsForResourceRequest
963
1059
  attr_accessor resource_arn: ::String
964
1060
  SENSITIVE: []
@@ -1113,6 +1209,69 @@ module Aws::Batch
1113
1209
  SENSITIVE: []
1114
1210
  end
1115
1211
 
1212
+ class ServiceEnvironmentDetail
1213
+ attr_accessor service_environment_name: ::String
1214
+ attr_accessor service_environment_arn: ::String
1215
+ attr_accessor service_environment_type: ("SAGEMAKER_TRAINING")
1216
+ attr_accessor state: ("ENABLED" | "DISABLED")
1217
+ attr_accessor status: ("CREATING" | "UPDATING" | "DELETING" | "DELETED" | "VALID" | "INVALID")
1218
+ attr_accessor capacity_limits: ::Array[Types::CapacityLimit]
1219
+ attr_accessor tags: ::Hash[::String, ::String]
1220
+ SENSITIVE: []
1221
+ end
1222
+
1223
+ class ServiceEnvironmentOrder
1224
+ attr_accessor order: ::Integer
1225
+ attr_accessor service_environment: ::String
1226
+ SENSITIVE: []
1227
+ end
1228
+
1229
+ class ServiceJobAttemptDetail
1230
+ attr_accessor service_resource_id: Types::ServiceResourceId
1231
+ attr_accessor started_at: ::Integer
1232
+ attr_accessor stopped_at: ::Integer
1233
+ attr_accessor status_reason: ::String
1234
+ SENSITIVE: []
1235
+ end
1236
+
1237
+ class ServiceJobEvaluateOnExit
1238
+ attr_accessor action: ("RETRY" | "EXIT")
1239
+ attr_accessor on_status_reason: ::String
1240
+ SENSITIVE: []
1241
+ end
1242
+
1243
+ class ServiceJobRetryStrategy
1244
+ attr_accessor attempts: ::Integer
1245
+ attr_accessor evaluate_on_exit: ::Array[Types::ServiceJobEvaluateOnExit]
1246
+ SENSITIVE: []
1247
+ end
1248
+
1249
+ class ServiceJobSummary
1250
+ attr_accessor latest_attempt: Types::LatestServiceJobAttempt
1251
+ attr_accessor created_at: ::Integer
1252
+ attr_accessor job_arn: ::String
1253
+ attr_accessor job_id: ::String
1254
+ attr_accessor job_name: ::String
1255
+ attr_accessor service_job_type: ("SAGEMAKER_TRAINING")
1256
+ attr_accessor share_identifier: ::String
1257
+ attr_accessor status: ("SUBMITTED" | "PENDING" | "RUNNABLE" | "SCHEDULED" | "STARTING" | "RUNNING" | "SUCCEEDED" | "FAILED")
1258
+ attr_accessor status_reason: ::String
1259
+ attr_accessor started_at: ::Integer
1260
+ attr_accessor stopped_at: ::Integer
1261
+ SENSITIVE: []
1262
+ end
1263
+
1264
+ class ServiceJobTimeout
1265
+ attr_accessor attempt_duration_seconds: ::Integer
1266
+ SENSITIVE: []
1267
+ end
1268
+
1269
+ class ServiceResourceId
1270
+ attr_accessor name: ("TrainingJobArn")
1271
+ attr_accessor value: ::String
1272
+ SENSITIVE: []
1273
+ end
1274
+
1116
1275
  class ShareAttributes
1117
1276
  attr_accessor share_identifier: ::String
1118
1277
  attr_accessor weight_factor: ::Float
@@ -1147,6 +1306,27 @@ module Aws::Batch
1147
1306
  SENSITIVE: []
1148
1307
  end
1149
1308
 
1309
+ class SubmitServiceJobRequest
1310
+ attr_accessor job_name: ::String
1311
+ attr_accessor job_queue: ::String
1312
+ attr_accessor retry_strategy: Types::ServiceJobRetryStrategy
1313
+ attr_accessor scheduling_priority: ::Integer
1314
+ attr_accessor service_request_payload: ::String
1315
+ attr_accessor service_job_type: ("SAGEMAKER_TRAINING")
1316
+ attr_accessor share_identifier: ::String
1317
+ attr_accessor timeout_config: Types::ServiceJobTimeout
1318
+ attr_accessor tags: ::Hash[::String, ::String]
1319
+ attr_accessor client_token: ::String
1320
+ SENSITIVE: []
1321
+ end
1322
+
1323
+ class SubmitServiceJobResponse
1324
+ attr_accessor job_arn: ::String
1325
+ attr_accessor job_name: ::String
1326
+ attr_accessor job_id: ::String
1327
+ SENSITIVE: []
1328
+ end
1329
+
1150
1330
  class TagResourceRequest
1151
1331
  attr_accessor resource_arn: ::String
1152
1332
  attr_accessor tags: ::Hash[::String, ::String]
@@ -1230,6 +1410,15 @@ module Aws::Batch
1230
1410
  class TerminateJobResponse < Aws::EmptyStructure
1231
1411
  end
1232
1412
 
1413
+ class TerminateServiceJobRequest
1414
+ attr_accessor job_id: ::String
1415
+ attr_accessor reason: ::String
1416
+ SENSITIVE: []
1417
+ end
1418
+
1419
+ class TerminateServiceJobResponse < Aws::EmptyStructure
1420
+ end
1421
+
1233
1422
  class Tmpfs
1234
1423
  attr_accessor container_path: ::String
1235
1424
  attr_accessor size: ::Integer
@@ -1291,6 +1480,7 @@ module Aws::Batch
1291
1480
  attr_accessor scheduling_policy_arn: ::String
1292
1481
  attr_accessor priority: ::Integer
1293
1482
  attr_accessor compute_environment_order: ::Array[Types::ComputeEnvironmentOrder]
1483
+ attr_accessor service_environment_order: ::Array[Types::ServiceEnvironmentOrder]
1294
1484
  attr_accessor job_state_time_limit_actions: ::Array[Types::JobStateTimeLimitAction]
1295
1485
  SENSITIVE: []
1296
1486
  end
@@ -1316,6 +1506,19 @@ module Aws::Batch
1316
1506
  class UpdateSchedulingPolicyResponse < Aws::EmptyStructure
1317
1507
  end
1318
1508
 
1509
+ class UpdateServiceEnvironmentRequest
1510
+ attr_accessor service_environment: ::String
1511
+ attr_accessor state: ("ENABLED" | "DISABLED")
1512
+ attr_accessor capacity_limits: ::Array[Types::CapacityLimit]
1513
+ SENSITIVE: []
1514
+ end
1515
+
1516
+ class UpdateServiceEnvironmentResponse
1517
+ attr_accessor service_environment_name: ::String
1518
+ attr_accessor service_environment_arn: ::String
1519
+ SENSITIVE: []
1520
+ end
1521
+
1319
1522
  class Volume
1320
1523
  attr_accessor host: Types::Host
1321
1524
  attr_accessor name: ::String
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.114.0
4
+ version: 1.119.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
@@ -18,7 +18,7 @@ dependencies:
18
18
  version: '3'
19
19
  - - ">="
20
20
  - !ruby/object:Gem::Version
21
- version: 3.216.0
21
+ version: 3.228.0
22
22
  type: :runtime
23
23
  prerelease: false
24
24
  version_requirements: !ruby/object:Gem::Requirement
@@ -28,7 +28,7 @@ dependencies:
28
28
  version: '3'
29
29
  - - ">="
30
30
  - !ruby/object:Gem::Version
31
- version: 3.216.0
31
+ version: 3.228.0
32
32
  - !ruby/object:Gem::Dependency
33
33
  name: aws-sigv4
34
34
  requirement: !ruby/object:Gem::Requirement
@@ -83,7 +83,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
83
83
  requirements:
84
84
  - - ">="
85
85
  - !ruby/object:Gem::Version
86
- version: '2.5'
86
+ version: '2.7'
87
87
  required_rubygems_version: !ruby/object:Gem::Requirement
88
88
  requirements:
89
89
  - - ">="