aws-sdk-batch 1.117.0 → 1.118.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.117.0'
57
+ GEM_VERSION = '1.118.0'
58
58
 
59
59
  end
60
60
 
data/sig/client.rbs CHANGED
@@ -173,19 +173,26 @@ module Aws
173
173
  ?state: ("ENABLED" | "DISABLED"),
174
174
  ?scheduling_policy_arn: ::String,
175
175
  priority: ::Integer,
176
- compute_environment_order: Array[
176
+ ?compute_environment_order: Array[
177
177
  {
178
178
  order: ::Integer,
179
179
  compute_environment: ::String
180
180
  },
181
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"),
182
189
  ?tags: Hash[::String, ::String],
183
190
  ?job_state_time_limit_actions: Array[
184
191
  {
185
192
  reason: ::String,
186
193
  state: ("RUNNABLE"),
187
194
  max_time_seconds: ::Integer,
188
- action: ("CANCEL")
195
+ action: ("CANCEL" | "TERMINATE")
189
196
  },
190
197
  ]
191
198
  ) -> _CreateJobQueueResponseSuccess
@@ -213,6 +220,26 @@ module Aws
213
220
  ) -> _CreateSchedulingPolicyResponseSuccess
214
221
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateSchedulingPolicyResponseSuccess
215
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
+
216
243
  interface _DeleteComputeEnvironmentResponseSuccess
217
244
  include ::Seahorse::Client::_ResponseSuccess[Types::DeleteComputeEnvironmentResponse]
218
245
  end
@@ -249,6 +276,15 @@ module Aws
249
276
  ) -> _DeleteSchedulingPolicyResponseSuccess
250
277
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteSchedulingPolicyResponseSuccess
251
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
+
252
288
  interface _DeregisterJobDefinitionResponseSuccess
253
289
  include ::Seahorse::Client::_ResponseSuccess[Types::DeregisterJobDefinitionResponse]
254
290
  end
@@ -336,6 +372,47 @@ module Aws
336
372
  ) -> _DescribeSchedulingPoliciesResponseSuccess
337
373
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeSchedulingPoliciesResponseSuccess
338
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
+
339
416
  interface _GetJobQueueSnapshotResponseSuccess
340
417
  include ::Seahorse::Client::_ResponseSuccess[Types::GetJobQueueSnapshotResponse]
341
418
  def front_of_queue: () -> Types::FrontOfQueueDetail
@@ -417,6 +494,26 @@ module Aws
417
494
  ) -> _ListSchedulingPoliciesResponseSuccess
418
495
  | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListSchedulingPoliciesResponseSuccess
419
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
+
420
517
  interface _ListTagsForResourceResponseSuccess
421
518
  include ::Seahorse::Client::_ResponseSuccess[Types::ListTagsForResourceResponse]
422
519
  def tags: () -> ::Hash[::String, ::String]
@@ -1412,6 +1509,37 @@ module Aws
1412
1509
  ) -> _SubmitJobResponseSuccess
1413
1510
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _SubmitJobResponseSuccess
1414
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
+
1415
1543
  interface _TagResourceResponseSuccess
1416
1544
  include ::Seahorse::Client::_ResponseSuccess[Types::TagResourceResponse]
1417
1545
  end
@@ -1432,6 +1560,16 @@ module Aws
1432
1560
  ) -> _TerminateJobResponseSuccess
1433
1561
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _TerminateJobResponseSuccess
1434
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
+
1435
1573
  interface _UntagResourceResponseSuccess
1436
1574
  include ::Seahorse::Client::_ResponseSuccess[Types::UntagResourceResponse]
1437
1575
  end
@@ -1532,12 +1670,18 @@ module Aws
1532
1670
  compute_environment: ::String
1533
1671
  },
1534
1672
  ],
1673
+ ?service_environment_order: Array[
1674
+ {
1675
+ order: ::Integer,
1676
+ service_environment: ::String
1677
+ },
1678
+ ],
1535
1679
  ?job_state_time_limit_actions: Array[
1536
1680
  {
1537
1681
  reason: ::String,
1538
1682
  state: ("RUNNABLE"),
1539
1683
  max_time_seconds: ::Integer,
1540
- action: ("CANCEL")
1684
+ action: ("CANCEL" | "TERMINATE")
1541
1685
  },
1542
1686
  ]
1543
1687
  ) -> _UpdateJobQueueResponseSuccess
@@ -1561,6 +1705,24 @@ module Aws
1561
1705
  }
1562
1706
  ) -> _UpdateSchedulingPolicyResponseSuccess
1563
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
1564
1726
  end
1565
1727
  end
1566
1728
  end
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,6 +936,11 @@ 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
@@ -961,6 +1040,21 @@ module Aws::Batch
961
1040
  SENSITIVE: []
962
1041
  end
963
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
+
964
1058
  class ListTagsForResourceRequest
965
1059
  attr_accessor resource_arn: ::String
966
1060
  SENSITIVE: []
@@ -1115,6 +1209,69 @@ module Aws::Batch
1115
1209
  SENSITIVE: []
1116
1210
  end
1117
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
+
1118
1275
  class ShareAttributes
1119
1276
  attr_accessor share_identifier: ::String
1120
1277
  attr_accessor weight_factor: ::Float
@@ -1149,6 +1306,27 @@ module Aws::Batch
1149
1306
  SENSITIVE: []
1150
1307
  end
1151
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
+
1152
1330
  class TagResourceRequest
1153
1331
  attr_accessor resource_arn: ::String
1154
1332
  attr_accessor tags: ::Hash[::String, ::String]
@@ -1232,6 +1410,15 @@ module Aws::Batch
1232
1410
  class TerminateJobResponse < Aws::EmptyStructure
1233
1411
  end
1234
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
+
1235
1422
  class Tmpfs
1236
1423
  attr_accessor container_path: ::String
1237
1424
  attr_accessor size: ::Integer
@@ -1293,6 +1480,7 @@ module Aws::Batch
1293
1480
  attr_accessor scheduling_policy_arn: ::String
1294
1481
  attr_accessor priority: ::Integer
1295
1482
  attr_accessor compute_environment_order: ::Array[Types::ComputeEnvironmentOrder]
1483
+ attr_accessor service_environment_order: ::Array[Types::ServiceEnvironmentOrder]
1296
1484
  attr_accessor job_state_time_limit_actions: ::Array[Types::JobStateTimeLimitAction]
1297
1485
  SENSITIVE: []
1298
1486
  end
@@ -1318,6 +1506,19 @@ module Aws::Batch
1318
1506
  class UpdateSchedulingPolicyResponse < Aws::EmptyStructure
1319
1507
  end
1320
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
+
1321
1522
  class Volume
1322
1523
  attr_accessor host: Types::Host
1323
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.117.0
4
+ version: 1.118.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services