aws-sdk-batch 1.152.0 → 1.154.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.
@@ -34,6 +34,10 @@ module Aws::Batch
34
34
  CRUpdateAllocationStrategy = Shapes::StringShape.new(name: 'CRUpdateAllocationStrategy')
35
35
  CancelJobRequest = Shapes::StructureShape.new(name: 'CancelJobRequest')
36
36
  CancelJobResponse = Shapes::StructureShape.new(name: 'CancelJobResponse')
37
+ CancelJobsErrorDetail = Shapes::StructureShape.new(name: 'CancelJobsErrorDetail')
38
+ CancelJobsErrorDetailList = Shapes::ListShape.new(name: 'CancelJobsErrorDetailList')
39
+ CancelJobsRequest = Shapes::StructureShape.new(name: 'CancelJobsRequest')
40
+ CancelJobsResponse = Shapes::StructureShape.new(name: 'CancelJobsResponse')
37
41
  CapacityLimit = Shapes::StructureShape.new(name: 'CapacityLimit')
38
42
  CapacityLimits = Shapes::ListShape.new(name: 'CapacityLimits')
39
43
  CapacityReservationRequest = Shapes::StructureShape.new(name: 'CapacityReservationRequest')
@@ -117,12 +121,16 @@ module Aws::Batch
117
121
  EcsSettings = Shapes::StructureShape.new(name: 'EcsSettings')
118
122
  EcsTaskDetails = Shapes::StructureShape.new(name: 'EcsTaskDetails')
119
123
  EcsTaskProperties = Shapes::StructureShape.new(name: 'EcsTaskProperties')
124
+ EksAccessEntry = Shapes::StructureShape.new(name: 'EksAccessEntry')
125
+ EksAccessEntryDesiredState = Shapes::StringShape.new(name: 'EksAccessEntryDesiredState')
126
+ EksAccessEntryStatus = Shapes::StringShape.new(name: 'EksAccessEntryStatus')
120
127
  EksAnnotationsMap = Shapes::MapShape.new(name: 'EksAnnotationsMap')
121
128
  EksAttemptContainerDetail = Shapes::StructureShape.new(name: 'EksAttemptContainerDetail')
122
129
  EksAttemptContainerDetails = Shapes::ListShape.new(name: 'EksAttemptContainerDetails')
123
130
  EksAttemptDetail = Shapes::StructureShape.new(name: 'EksAttemptDetail')
124
131
  EksAttemptDetails = Shapes::ListShape.new(name: 'EksAttemptDetails')
125
132
  EksConfiguration = Shapes::StructureShape.new(name: 'EksConfiguration')
133
+ EksConfigurationUpdate = Shapes::StructureShape.new(name: 'EksConfigurationUpdate')
126
134
  EksContainer = Shapes::StructureShape.new(name: 'EksContainer')
127
135
  EksContainerDetail = Shapes::StructureShape.new(name: 'EksContainerDetail')
128
136
  EksContainerDetails = Shapes::ListShape.new(name: 'EksContainerDetails')
@@ -357,8 +365,16 @@ module Aws::Batch
357
365
  TaskPropertiesOverride = Shapes::StructureShape.new(name: 'TaskPropertiesOverride')
358
366
  TerminateJobRequest = Shapes::StructureShape.new(name: 'TerminateJobRequest')
359
367
  TerminateJobResponse = Shapes::StructureShape.new(name: 'TerminateJobResponse')
368
+ TerminateJobsErrorDetail = Shapes::StructureShape.new(name: 'TerminateJobsErrorDetail')
369
+ TerminateJobsErrorDetailList = Shapes::ListShape.new(name: 'TerminateJobsErrorDetailList')
370
+ TerminateJobsRequest = Shapes::StructureShape.new(name: 'TerminateJobsRequest')
371
+ TerminateJobsResponse = Shapes::StructureShape.new(name: 'TerminateJobsResponse')
360
372
  TerminateServiceJobRequest = Shapes::StructureShape.new(name: 'TerminateServiceJobRequest')
361
373
  TerminateServiceJobResponse = Shapes::StructureShape.new(name: 'TerminateServiceJobResponse')
374
+ TerminateServiceJobsErrorDetail = Shapes::StructureShape.new(name: 'TerminateServiceJobsErrorDetail')
375
+ TerminateServiceJobsErrorDetailList = Shapes::ListShape.new(name: 'TerminateServiceJobsErrorDetailList')
376
+ TerminateServiceJobsRequest = Shapes::StructureShape.new(name: 'TerminateServiceJobsRequest')
377
+ TerminateServiceJobsResponse = Shapes::StructureShape.new(name: 'TerminateServiceJobsResponse')
362
378
  Tmpfs = Shapes::StructureShape.new(name: 'Tmpfs')
363
379
  TmpfsList = Shapes::ListShape.new(name: 'TmpfsList')
364
380
  Ulimit = Shapes::StructureShape.new(name: 'Ulimit')
@@ -438,6 +454,21 @@ module Aws::Batch
438
454
 
439
455
  CancelJobResponse.struct_class = Types::CancelJobResponse
440
456
 
457
+ CancelJobsErrorDetail.add_member(:job, Shapes::ShapeRef.new(shape: String, required: true, location_name: "job"))
458
+ CancelJobsErrorDetail.add_member(:code, Shapes::ShapeRef.new(shape: String, required: true, location_name: "code"))
459
+ CancelJobsErrorDetail.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
460
+ CancelJobsErrorDetail.struct_class = Types::CancelJobsErrorDetail
461
+
462
+ CancelJobsErrorDetailList.member = Shapes::ShapeRef.new(shape: CancelJobsErrorDetail)
463
+
464
+ CancelJobsRequest.add_member(:jobs, Shapes::ShapeRef.new(shape: StringList, required: true, location_name: "jobs"))
465
+ CancelJobsRequest.add_member(:reason, Shapes::ShapeRef.new(shape: String, required: true, location_name: "reason"))
466
+ CancelJobsRequest.struct_class = Types::CancelJobsRequest
467
+
468
+ CancelJobsResponse.add_member(:successful, Shapes::ShapeRef.new(shape: StringList, required: true, location_name: "successful"))
469
+ CancelJobsResponse.add_member(:errors, Shapes::ShapeRef.new(shape: CancelJobsErrorDetailList, required: true, location_name: "errors"))
470
+ CancelJobsResponse.struct_class = Types::CancelJobsResponse
471
+
441
472
  CapacityLimit.add_member(:max_capacity, Shapes::ShapeRef.new(shape: Integer, location_name: "maxCapacity"))
442
473
  CapacityLimit.add_member(:capacity_unit, Shapes::ShapeRef.new(shape: String, location_name: "capacityUnit"))
443
474
  CapacityLimit.struct_class = Types::CapacityLimit
@@ -899,6 +930,10 @@ module Aws::Batch
899
930
  EcsTaskProperties.add_member(:network_mode, Shapes::ShapeRef.new(shape: String, location_name: "networkMode"))
900
931
  EcsTaskProperties.struct_class = Types::EcsTaskProperties
901
932
 
933
+ EksAccessEntry.add_member(:desired_state, Shapes::ShapeRef.new(shape: EksAccessEntryDesiredState, required: true, location_name: "desiredState"))
934
+ EksAccessEntry.add_member(:status, Shapes::ShapeRef.new(shape: EksAccessEntryStatus, location_name: "status"))
935
+ EksAccessEntry.struct_class = Types::EksAccessEntry
936
+
902
937
  EksAnnotationsMap.key = Shapes::ShapeRef.new(shape: String)
903
938
  EksAnnotationsMap.value = Shapes::ShapeRef.new(shape: String)
904
939
 
@@ -925,8 +960,12 @@ module Aws::Batch
925
960
 
926
961
  EksConfiguration.add_member(:eks_cluster_arn, Shapes::ShapeRef.new(shape: String, required: true, location_name: "eksClusterArn"))
927
962
  EksConfiguration.add_member(:kubernetes_namespace, Shapes::ShapeRef.new(shape: String, required: true, location_name: "kubernetesNamespace"))
963
+ EksConfiguration.add_member(:access_entry, Shapes::ShapeRef.new(shape: EksAccessEntry, location_name: "accessEntry"))
928
964
  EksConfiguration.struct_class = Types::EksConfiguration
929
965
 
966
+ EksConfigurationUpdate.add_member(:access_entry, Shapes::ShapeRef.new(shape: EksAccessEntry, location_name: "accessEntry"))
967
+ EksConfigurationUpdate.struct_class = Types::EksConfigurationUpdate
968
+
930
969
  EksContainer.add_member(:name, Shapes::ShapeRef.new(shape: String, location_name: "name"))
931
970
  EksContainer.add_member(:image, Shapes::ShapeRef.new(shape: String, required: true, location_name: "image"))
932
971
  EksContainer.add_member(:image_pull_policy, Shapes::ShapeRef.new(shape: String, location_name: "imagePullPolicy"))
@@ -1285,6 +1324,8 @@ module Aws::Batch
1285
1324
  JobSummary.add_member(:array_properties, Shapes::ShapeRef.new(shape: ArrayPropertiesSummary, location_name: "arrayProperties"))
1286
1325
  JobSummary.add_member(:node_properties, Shapes::ShapeRef.new(shape: NodePropertiesSummary, location_name: "nodeProperties"))
1287
1326
  JobSummary.add_member(:job_definition, Shapes::ShapeRef.new(shape: String, location_name: "jobDefinition"))
1327
+ JobSummary.add_member(:is_cancelled, Shapes::ShapeRef.new(shape: Boolean, location_name: "isCancelled"))
1328
+ JobSummary.add_member(:is_terminated, Shapes::ShapeRef.new(shape: Boolean, location_name: "isTerminated"))
1288
1329
  JobSummary.struct_class = Types::JobSummary
1289
1330
 
1290
1331
  JobSummaryList.member = Shapes::ShapeRef.new(shape: JobSummary)
@@ -1712,6 +1753,7 @@ module Aws::Batch
1712
1753
  ServiceJobSummary.add_member(:status_reason, Shapes::ShapeRef.new(shape: String, location_name: "statusReason"))
1713
1754
  ServiceJobSummary.add_member(:started_at, Shapes::ShapeRef.new(shape: Long, location_name: "startedAt"))
1714
1755
  ServiceJobSummary.add_member(:stopped_at, Shapes::ShapeRef.new(shape: Long, location_name: "stoppedAt"))
1756
+ ServiceJobSummary.add_member(:is_terminated, Shapes::ShapeRef.new(shape: Boolean, location_name: "isTerminated"))
1715
1757
  ServiceJobSummary.struct_class = Types::ServiceJobSummary
1716
1758
 
1717
1759
  ServiceJobSummaryList.member = Shapes::ShapeRef.new(shape: ServiceJobSummary)
@@ -1855,12 +1897,42 @@ module Aws::Batch
1855
1897
 
1856
1898
  TerminateJobResponse.struct_class = Types::TerminateJobResponse
1857
1899
 
1900
+ TerminateJobsErrorDetail.add_member(:job, Shapes::ShapeRef.new(shape: String, required: true, location_name: "job"))
1901
+ TerminateJobsErrorDetail.add_member(:code, Shapes::ShapeRef.new(shape: String, required: true, location_name: "code"))
1902
+ TerminateJobsErrorDetail.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
1903
+ TerminateJobsErrorDetail.struct_class = Types::TerminateJobsErrorDetail
1904
+
1905
+ TerminateJobsErrorDetailList.member = Shapes::ShapeRef.new(shape: TerminateJobsErrorDetail)
1906
+
1907
+ TerminateJobsRequest.add_member(:jobs, Shapes::ShapeRef.new(shape: StringList, required: true, location_name: "jobs"))
1908
+ TerminateJobsRequest.add_member(:reason, Shapes::ShapeRef.new(shape: String, required: true, location_name: "reason"))
1909
+ TerminateJobsRequest.struct_class = Types::TerminateJobsRequest
1910
+
1911
+ TerminateJobsResponse.add_member(:successful, Shapes::ShapeRef.new(shape: StringList, required: true, location_name: "successful"))
1912
+ TerminateJobsResponse.add_member(:errors, Shapes::ShapeRef.new(shape: TerminateJobsErrorDetailList, required: true, location_name: "errors"))
1913
+ TerminateJobsResponse.struct_class = Types::TerminateJobsResponse
1914
+
1858
1915
  TerminateServiceJobRequest.add_member(:job_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "jobId"))
1859
1916
  TerminateServiceJobRequest.add_member(:reason, Shapes::ShapeRef.new(shape: String, required: true, location_name: "reason"))
1860
1917
  TerminateServiceJobRequest.struct_class = Types::TerminateServiceJobRequest
1861
1918
 
1862
1919
  TerminateServiceJobResponse.struct_class = Types::TerminateServiceJobResponse
1863
1920
 
1921
+ TerminateServiceJobsErrorDetail.add_member(:job, Shapes::ShapeRef.new(shape: String, required: true, location_name: "job"))
1922
+ TerminateServiceJobsErrorDetail.add_member(:code, Shapes::ShapeRef.new(shape: String, required: true, location_name: "code"))
1923
+ TerminateServiceJobsErrorDetail.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
1924
+ TerminateServiceJobsErrorDetail.struct_class = Types::TerminateServiceJobsErrorDetail
1925
+
1926
+ TerminateServiceJobsErrorDetailList.member = Shapes::ShapeRef.new(shape: TerminateServiceJobsErrorDetail)
1927
+
1928
+ TerminateServiceJobsRequest.add_member(:jobs, Shapes::ShapeRef.new(shape: StringList, required: true, location_name: "jobs"))
1929
+ TerminateServiceJobsRequest.add_member(:reason, Shapes::ShapeRef.new(shape: String, required: true, location_name: "reason"))
1930
+ TerminateServiceJobsRequest.struct_class = Types::TerminateServiceJobsRequest
1931
+
1932
+ TerminateServiceJobsResponse.add_member(:successful, Shapes::ShapeRef.new(shape: StringList, required: true, location_name: "successful"))
1933
+ TerminateServiceJobsResponse.add_member(:errors, Shapes::ShapeRef.new(shape: TerminateServiceJobsErrorDetailList, required: true, location_name: "errors"))
1934
+ TerminateServiceJobsResponse.struct_class = Types::TerminateServiceJobsResponse
1935
+
1864
1936
  Tmpfs.add_member(:container_path, Shapes::ShapeRef.new(shape: String, required: true, location_name: "containerPath"))
1865
1937
  Tmpfs.add_member(:size, Shapes::ShapeRef.new(shape: Integer, required: true, location_name: "size"))
1866
1938
  Tmpfs.add_member(:mount_options, Shapes::ShapeRef.new(shape: StringList, location_name: "mountOptions"))
@@ -1889,6 +1961,7 @@ module Aws::Batch
1889
1961
  UpdateComputeEnvironmentRequest.add_member(:update_policy, Shapes::ShapeRef.new(shape: UpdatePolicy, location_name: "updatePolicy"))
1890
1962
  UpdateComputeEnvironmentRequest.add_member(:context, Shapes::ShapeRef.new(shape: String, location_name: "context"))
1891
1963
  UpdateComputeEnvironmentRequest.add_member(:ecs_settings, Shapes::ShapeRef.new(shape: EcsSettings, location_name: "ecsSettings"))
1964
+ UpdateComputeEnvironmentRequest.add_member(:eks_configuration, Shapes::ShapeRef.new(shape: EksConfigurationUpdate, location_name: "eksConfiguration"))
1892
1965
  UpdateComputeEnvironmentRequest.struct_class = Types::UpdateComputeEnvironmentRequest
1893
1966
 
1894
1967
  UpdateComputeEnvironmentResponse.add_member(:compute_environment_name, Shapes::ShapeRef.new(shape: String, location_name: "computeEnvironmentName"))
@@ -2003,6 +2076,16 @@ module Aws::Batch
2003
2076
  o.errors << Shapes::ShapeRef.new(shape: ServerException)
2004
2077
  end)
2005
2078
 
2079
+ api.add_operation(:cancel_jobs, Seahorse::Model::Operation.new.tap do |o|
2080
+ o.name = "CancelJobs"
2081
+ o.http_method = "POST"
2082
+ o.http_request_uri = "/v1/canceljobs"
2083
+ o.input = Shapes::ShapeRef.new(shape: CancelJobsRequest)
2084
+ o.output = Shapes::ShapeRef.new(shape: CancelJobsResponse)
2085
+ o.errors << Shapes::ShapeRef.new(shape: ClientException)
2086
+ o.errors << Shapes::ShapeRef.new(shape: ServerException)
2087
+ end)
2088
+
2006
2089
  api.add_operation(:create_compute_environment, Seahorse::Model::Operation.new.tap do |o|
2007
2090
  o.name = "CreateComputeEnvironment"
2008
2091
  o.http_method = "POST"
@@ -2413,6 +2496,16 @@ module Aws::Batch
2413
2496
  o.errors << Shapes::ShapeRef.new(shape: ServerException)
2414
2497
  end)
2415
2498
 
2499
+ api.add_operation(:terminate_jobs, Seahorse::Model::Operation.new.tap do |o|
2500
+ o.name = "TerminateJobs"
2501
+ o.http_method = "POST"
2502
+ o.http_request_uri = "/v1/terminatejobs"
2503
+ o.input = Shapes::ShapeRef.new(shape: TerminateJobsRequest)
2504
+ o.output = Shapes::ShapeRef.new(shape: TerminateJobsResponse)
2505
+ o.errors << Shapes::ShapeRef.new(shape: ClientException)
2506
+ o.errors << Shapes::ShapeRef.new(shape: ServerException)
2507
+ end)
2508
+
2416
2509
  api.add_operation(:terminate_service_job, Seahorse::Model::Operation.new.tap do |o|
2417
2510
  o.name = "TerminateServiceJob"
2418
2511
  o.http_method = "POST"
@@ -2423,6 +2516,16 @@ module Aws::Batch
2423
2516
  o.errors << Shapes::ShapeRef.new(shape: ServerException)
2424
2517
  end)
2425
2518
 
2519
+ api.add_operation(:terminate_service_jobs, Seahorse::Model::Operation.new.tap do |o|
2520
+ o.name = "TerminateServiceJobs"
2521
+ o.http_method = "POST"
2522
+ o.http_request_uri = "/v1/terminateservicejobs"
2523
+ o.input = Shapes::ShapeRef.new(shape: TerminateServiceJobsRequest)
2524
+ o.output = Shapes::ShapeRef.new(shape: TerminateServiceJobsResponse)
2525
+ o.errors << Shapes::ShapeRef.new(shape: ClientException)
2526
+ o.errors << Shapes::ShapeRef.new(shape: ServerException)
2527
+ end)
2528
+
2426
2529
  api.add_operation(:untag_resource, Seahorse::Model::Operation.new.tap do |o|
2427
2530
  o.name = "UntagResource"
2428
2531
  o.http_method = "DELETE"