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.
@@ -34,6 +34,8 @@ 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
+ CapacityLimit = Shapes::StructureShape.new(name: 'CapacityLimit')
38
+ CapacityLimits = Shapes::ListShape.new(name: 'CapacityLimits')
37
39
  ClientException = Shapes::StructureShape.new(name: 'ClientException')
38
40
  ClientRequestToken = Shapes::StringShape.new(name: 'ClientRequestToken')
39
41
  ComputeEnvironmentDetail = Shapes::StructureShape.new(name: 'ComputeEnvironmentDetail')
@@ -59,6 +61,8 @@ module Aws::Batch
59
61
  CreateJobQueueResponse = Shapes::StructureShape.new(name: 'CreateJobQueueResponse')
60
62
  CreateSchedulingPolicyRequest = Shapes::StructureShape.new(name: 'CreateSchedulingPolicyRequest')
61
63
  CreateSchedulingPolicyResponse = Shapes::StructureShape.new(name: 'CreateSchedulingPolicyResponse')
64
+ CreateServiceEnvironmentRequest = Shapes::StructureShape.new(name: 'CreateServiceEnvironmentRequest')
65
+ CreateServiceEnvironmentResponse = Shapes::StructureShape.new(name: 'CreateServiceEnvironmentResponse')
62
66
  DeleteComputeEnvironmentRequest = Shapes::StructureShape.new(name: 'DeleteComputeEnvironmentRequest')
63
67
  DeleteComputeEnvironmentResponse = Shapes::StructureShape.new(name: 'DeleteComputeEnvironmentResponse')
64
68
  DeleteConsumableResourceRequest = Shapes::StructureShape.new(name: 'DeleteConsumableResourceRequest')
@@ -67,6 +71,8 @@ module Aws::Batch
67
71
  DeleteJobQueueResponse = Shapes::StructureShape.new(name: 'DeleteJobQueueResponse')
68
72
  DeleteSchedulingPolicyRequest = Shapes::StructureShape.new(name: 'DeleteSchedulingPolicyRequest')
69
73
  DeleteSchedulingPolicyResponse = Shapes::StructureShape.new(name: 'DeleteSchedulingPolicyResponse')
74
+ DeleteServiceEnvironmentRequest = Shapes::StructureShape.new(name: 'DeleteServiceEnvironmentRequest')
75
+ DeleteServiceEnvironmentResponse = Shapes::StructureShape.new(name: 'DeleteServiceEnvironmentResponse')
70
76
  DeregisterJobDefinitionRequest = Shapes::StructureShape.new(name: 'DeregisterJobDefinitionRequest')
71
77
  DeregisterJobDefinitionResponse = Shapes::StructureShape.new(name: 'DeregisterJobDefinitionResponse')
72
78
  DescribeComputeEnvironmentsRequest = Shapes::StructureShape.new(name: 'DescribeComputeEnvironmentsRequest')
@@ -81,6 +87,10 @@ module Aws::Batch
81
87
  DescribeJobsResponse = Shapes::StructureShape.new(name: 'DescribeJobsResponse')
82
88
  DescribeSchedulingPoliciesRequest = Shapes::StructureShape.new(name: 'DescribeSchedulingPoliciesRequest')
83
89
  DescribeSchedulingPoliciesResponse = Shapes::StructureShape.new(name: 'DescribeSchedulingPoliciesResponse')
90
+ DescribeServiceEnvironmentsRequest = Shapes::StructureShape.new(name: 'DescribeServiceEnvironmentsRequest')
91
+ DescribeServiceEnvironmentsResponse = Shapes::StructureShape.new(name: 'DescribeServiceEnvironmentsResponse')
92
+ DescribeServiceJobRequest = Shapes::StructureShape.new(name: 'DescribeServiceJobRequest')
93
+ DescribeServiceJobResponse = Shapes::StructureShape.new(name: 'DescribeServiceJobResponse')
84
94
  Device = Shapes::StructureShape.new(name: 'Device')
85
95
  DeviceCgroupPermission = Shapes::StringShape.new(name: 'DeviceCgroupPermission')
86
96
  DeviceCgroupPermissions = Shapes::ListShape.new(name: 'DeviceCgroupPermissions')
@@ -163,6 +173,7 @@ module Aws::Batch
163
173
  JobExecutionTimeoutMinutes = Shapes::IntegerShape.new(name: 'JobExecutionTimeoutMinutes')
164
174
  JobQueueDetail = Shapes::StructureShape.new(name: 'JobQueueDetail')
165
175
  JobQueueDetailList = Shapes::ListShape.new(name: 'JobQueueDetailList')
176
+ JobQueueType = Shapes::StringShape.new(name: 'JobQueueType')
166
177
  JobStateTimeLimitAction = Shapes::StructureShape.new(name: 'JobStateTimeLimitAction')
167
178
  JobStateTimeLimitActions = Shapes::ListShape.new(name: 'JobStateTimeLimitActions')
168
179
  JobStateTimeLimitActionsAction = Shapes::StringShape.new(name: 'JobStateTimeLimitActionsAction')
@@ -174,6 +185,7 @@ module Aws::Batch
174
185
  KeyValuePair = Shapes::StructureShape.new(name: 'KeyValuePair')
175
186
  KeyValuesPair = Shapes::StructureShape.new(name: 'KeyValuesPair')
176
187
  KubernetesVersion = Shapes::StringShape.new(name: 'KubernetesVersion')
188
+ LatestServiceJobAttempt = Shapes::StructureShape.new(name: 'LatestServiceJobAttempt')
177
189
  LaunchTemplateSpecification = Shapes::StructureShape.new(name: 'LaunchTemplateSpecification')
178
190
  LaunchTemplateSpecificationOverride = Shapes::StructureShape.new(name: 'LaunchTemplateSpecificationOverride')
179
191
  LaunchTemplateSpecificationOverrideList = Shapes::ListShape.new(name: 'LaunchTemplateSpecificationOverrideList')
@@ -195,6 +207,8 @@ module Aws::Batch
195
207
  ListJobsResponse = Shapes::StructureShape.new(name: 'ListJobsResponse')
196
208
  ListSchedulingPoliciesRequest = Shapes::StructureShape.new(name: 'ListSchedulingPoliciesRequest')
197
209
  ListSchedulingPoliciesResponse = Shapes::StructureShape.new(name: 'ListSchedulingPoliciesResponse')
210
+ ListServiceJobsRequest = Shapes::StructureShape.new(name: 'ListServiceJobsRequest')
211
+ ListServiceJobsResponse = Shapes::StructureShape.new(name: 'ListServiceJobsResponse')
198
212
  ListTagsForResourceRequest = Shapes::StructureShape.new(name: 'ListTagsForResourceRequest')
199
213
  ListTagsForResourceResponse = Shapes::StructureShape.new(name: 'ListTagsForResourceResponse')
200
214
  ListTaskContainerDetails = Shapes::ListShape.new(name: 'ListTaskContainerDetails')
@@ -239,12 +253,34 @@ module Aws::Batch
239
253
  Secret = Shapes::StructureShape.new(name: 'Secret')
240
254
  SecretList = Shapes::ListShape.new(name: 'SecretList')
241
255
  ServerException = Shapes::StructureShape.new(name: 'ServerException')
256
+ ServiceEnvironmentDetail = Shapes::StructureShape.new(name: 'ServiceEnvironmentDetail')
257
+ ServiceEnvironmentDetailList = Shapes::ListShape.new(name: 'ServiceEnvironmentDetailList')
258
+ ServiceEnvironmentOrder = Shapes::StructureShape.new(name: 'ServiceEnvironmentOrder')
259
+ ServiceEnvironmentOrders = Shapes::ListShape.new(name: 'ServiceEnvironmentOrders')
260
+ ServiceEnvironmentState = Shapes::StringShape.new(name: 'ServiceEnvironmentState')
261
+ ServiceEnvironmentStatus = Shapes::StringShape.new(name: 'ServiceEnvironmentStatus')
262
+ ServiceEnvironmentType = Shapes::StringShape.new(name: 'ServiceEnvironmentType')
263
+ ServiceJobAttemptDetail = Shapes::StructureShape.new(name: 'ServiceJobAttemptDetail')
264
+ ServiceJobAttemptDetails = Shapes::ListShape.new(name: 'ServiceJobAttemptDetails')
265
+ ServiceJobEvaluateOnExit = Shapes::StructureShape.new(name: 'ServiceJobEvaluateOnExit')
266
+ ServiceJobEvaluateOnExitList = Shapes::ListShape.new(name: 'ServiceJobEvaluateOnExitList')
267
+ ServiceJobRetryAction = Shapes::StringShape.new(name: 'ServiceJobRetryAction')
268
+ ServiceJobRetryStrategy = Shapes::StructureShape.new(name: 'ServiceJobRetryStrategy')
269
+ ServiceJobStatus = Shapes::StringShape.new(name: 'ServiceJobStatus')
270
+ ServiceJobSummary = Shapes::StructureShape.new(name: 'ServiceJobSummary')
271
+ ServiceJobSummaryList = Shapes::ListShape.new(name: 'ServiceJobSummaryList')
272
+ ServiceJobTimeout = Shapes::StructureShape.new(name: 'ServiceJobTimeout')
273
+ ServiceJobType = Shapes::StringShape.new(name: 'ServiceJobType')
274
+ ServiceResourceId = Shapes::StructureShape.new(name: 'ServiceResourceId')
275
+ ServiceResourceIdName = Shapes::StringShape.new(name: 'ServiceResourceIdName')
242
276
  ShareAttributes = Shapes::StructureShape.new(name: 'ShareAttributes')
243
277
  ShareAttributesList = Shapes::ListShape.new(name: 'ShareAttributesList')
244
278
  String = Shapes::StringShape.new(name: 'String')
245
279
  StringList = Shapes::ListShape.new(name: 'StringList')
246
280
  SubmitJobRequest = Shapes::StructureShape.new(name: 'SubmitJobRequest')
247
281
  SubmitJobResponse = Shapes::StructureShape.new(name: 'SubmitJobResponse')
282
+ SubmitServiceJobRequest = Shapes::StructureShape.new(name: 'SubmitServiceJobRequest')
283
+ SubmitServiceJobResponse = Shapes::StructureShape.new(name: 'SubmitServiceJobResponse')
248
284
  TagKey = Shapes::StringShape.new(name: 'TagKey')
249
285
  TagKeysList = Shapes::ListShape.new(name: 'TagKeysList')
250
286
  TagResourceRequest = Shapes::StructureShape.new(name: 'TagResourceRequest')
@@ -260,6 +296,8 @@ module Aws::Batch
260
296
  TaskPropertiesOverride = Shapes::StructureShape.new(name: 'TaskPropertiesOverride')
261
297
  TerminateJobRequest = Shapes::StructureShape.new(name: 'TerminateJobRequest')
262
298
  TerminateJobResponse = Shapes::StructureShape.new(name: 'TerminateJobResponse')
299
+ TerminateServiceJobRequest = Shapes::StructureShape.new(name: 'TerminateServiceJobRequest')
300
+ TerminateServiceJobResponse = Shapes::StructureShape.new(name: 'TerminateServiceJobResponse')
263
301
  Tmpfs = Shapes::StructureShape.new(name: 'Tmpfs')
264
302
  TmpfsList = Shapes::ListShape.new(name: 'TmpfsList')
265
303
  Ulimit = Shapes::StructureShape.new(name: 'Ulimit')
@@ -275,6 +313,9 @@ module Aws::Batch
275
313
  UpdatePolicy = Shapes::StructureShape.new(name: 'UpdatePolicy')
276
314
  UpdateSchedulingPolicyRequest = Shapes::StructureShape.new(name: 'UpdateSchedulingPolicyRequest')
277
315
  UpdateSchedulingPolicyResponse = Shapes::StructureShape.new(name: 'UpdateSchedulingPolicyResponse')
316
+ UpdateServiceEnvironmentRequest = Shapes::StructureShape.new(name: 'UpdateServiceEnvironmentRequest')
317
+ UpdateServiceEnvironmentResponse = Shapes::StructureShape.new(name: 'UpdateServiceEnvironmentResponse')
318
+ UserdataType = Shapes::StringShape.new(name: 'UserdataType')
278
319
  Volume = Shapes::StructureShape.new(name: 'Volume')
279
320
  Volumes = Shapes::ListShape.new(name: 'Volumes')
280
321
 
@@ -328,6 +369,12 @@ module Aws::Batch
328
369
 
329
370
  CancelJobResponse.struct_class = Types::CancelJobResponse
330
371
 
372
+ CapacityLimit.add_member(:max_capacity, Shapes::ShapeRef.new(shape: Integer, location_name: "maxCapacity"))
373
+ CapacityLimit.add_member(:capacity_unit, Shapes::ShapeRef.new(shape: String, location_name: "capacityUnit"))
374
+ CapacityLimit.struct_class = Types::CapacityLimit
375
+
376
+ CapacityLimits.member = Shapes::ShapeRef.new(shape: CapacityLimit)
377
+
331
378
  ClientException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "message"))
332
379
  ClientException.struct_class = Types::ClientException
333
380
 
@@ -512,7 +559,9 @@ module Aws::Batch
512
559
  CreateJobQueueRequest.add_member(:state, Shapes::ShapeRef.new(shape: JQState, location_name: "state"))
513
560
  CreateJobQueueRequest.add_member(:scheduling_policy_arn, Shapes::ShapeRef.new(shape: String, location_name: "schedulingPolicyArn"))
514
561
  CreateJobQueueRequest.add_member(:priority, Shapes::ShapeRef.new(shape: Integer, required: true, location_name: "priority"))
515
- CreateJobQueueRequest.add_member(:compute_environment_order, Shapes::ShapeRef.new(shape: ComputeEnvironmentOrders, required: true, location_name: "computeEnvironmentOrder"))
562
+ CreateJobQueueRequest.add_member(:compute_environment_order, Shapes::ShapeRef.new(shape: ComputeEnvironmentOrders, location_name: "computeEnvironmentOrder"))
563
+ CreateJobQueueRequest.add_member(:service_environment_order, Shapes::ShapeRef.new(shape: ServiceEnvironmentOrders, location_name: "serviceEnvironmentOrder"))
564
+ CreateJobQueueRequest.add_member(:job_queue_type, Shapes::ShapeRef.new(shape: JobQueueType, location_name: "jobQueueType"))
516
565
  CreateJobQueueRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagrisTagsMap, location_name: "tags"))
517
566
  CreateJobQueueRequest.add_member(:job_state_time_limit_actions, Shapes::ShapeRef.new(shape: JobStateTimeLimitActions, location_name: "jobStateTimeLimitActions"))
518
567
  CreateJobQueueRequest.struct_class = Types::CreateJobQueueRequest
@@ -530,6 +579,17 @@ module Aws::Batch
530
579
  CreateSchedulingPolicyResponse.add_member(:arn, Shapes::ShapeRef.new(shape: String, required: true, location_name: "arn"))
531
580
  CreateSchedulingPolicyResponse.struct_class = Types::CreateSchedulingPolicyResponse
532
581
 
582
+ CreateServiceEnvironmentRequest.add_member(:service_environment_name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "serviceEnvironmentName"))
583
+ CreateServiceEnvironmentRequest.add_member(:service_environment_type, Shapes::ShapeRef.new(shape: ServiceEnvironmentType, required: true, location_name: "serviceEnvironmentType"))
584
+ CreateServiceEnvironmentRequest.add_member(:state, Shapes::ShapeRef.new(shape: ServiceEnvironmentState, location_name: "state"))
585
+ CreateServiceEnvironmentRequest.add_member(:capacity_limits, Shapes::ShapeRef.new(shape: CapacityLimits, required: true, location_name: "capacityLimits"))
586
+ CreateServiceEnvironmentRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagrisTagsMap, location_name: "tags"))
587
+ CreateServiceEnvironmentRequest.struct_class = Types::CreateServiceEnvironmentRequest
588
+
589
+ CreateServiceEnvironmentResponse.add_member(:service_environment_name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "serviceEnvironmentName"))
590
+ CreateServiceEnvironmentResponse.add_member(:service_environment_arn, Shapes::ShapeRef.new(shape: String, required: true, location_name: "serviceEnvironmentArn"))
591
+ CreateServiceEnvironmentResponse.struct_class = Types::CreateServiceEnvironmentResponse
592
+
533
593
  DeleteComputeEnvironmentRequest.add_member(:compute_environment, Shapes::ShapeRef.new(shape: String, required: true, location_name: "computeEnvironment"))
534
594
  DeleteComputeEnvironmentRequest.struct_class = Types::DeleteComputeEnvironmentRequest
535
595
 
@@ -550,6 +610,11 @@ module Aws::Batch
550
610
 
551
611
  DeleteSchedulingPolicyResponse.struct_class = Types::DeleteSchedulingPolicyResponse
552
612
 
613
+ DeleteServiceEnvironmentRequest.add_member(:service_environment, Shapes::ShapeRef.new(shape: String, required: true, location_name: "serviceEnvironment"))
614
+ DeleteServiceEnvironmentRequest.struct_class = Types::DeleteServiceEnvironmentRequest
615
+
616
+ DeleteServiceEnvironmentResponse.struct_class = Types::DeleteServiceEnvironmentResponse
617
+
553
618
  DeregisterJobDefinitionRequest.add_member(:job_definition, Shapes::ShapeRef.new(shape: String, required: true, location_name: "jobDefinition"))
554
619
  DeregisterJobDefinitionRequest.struct_class = Types::DeregisterJobDefinitionRequest
555
620
 
@@ -609,6 +674,39 @@ module Aws::Batch
609
674
  DescribeSchedulingPoliciesResponse.add_member(:scheduling_policies, Shapes::ShapeRef.new(shape: SchedulingPolicyDetailList, location_name: "schedulingPolicies"))
610
675
  DescribeSchedulingPoliciesResponse.struct_class = Types::DescribeSchedulingPoliciesResponse
611
676
 
677
+ DescribeServiceEnvironmentsRequest.add_member(:service_environments, Shapes::ShapeRef.new(shape: StringList, location_name: "serviceEnvironments"))
678
+ DescribeServiceEnvironmentsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: Integer, location_name: "maxResults"))
679
+ DescribeServiceEnvironmentsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "nextToken"))
680
+ DescribeServiceEnvironmentsRequest.struct_class = Types::DescribeServiceEnvironmentsRequest
681
+
682
+ DescribeServiceEnvironmentsResponse.add_member(:service_environments, Shapes::ShapeRef.new(shape: ServiceEnvironmentDetailList, location_name: "serviceEnvironments"))
683
+ DescribeServiceEnvironmentsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "nextToken"))
684
+ DescribeServiceEnvironmentsResponse.struct_class = Types::DescribeServiceEnvironmentsResponse
685
+
686
+ DescribeServiceJobRequest.add_member(:job_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "jobId"))
687
+ DescribeServiceJobRequest.struct_class = Types::DescribeServiceJobRequest
688
+
689
+ DescribeServiceJobResponse.add_member(:attempts, Shapes::ShapeRef.new(shape: ServiceJobAttemptDetails, location_name: "attempts"))
690
+ DescribeServiceJobResponse.add_member(:created_at, Shapes::ShapeRef.new(shape: Long, location_name: "createdAt"))
691
+ DescribeServiceJobResponse.add_member(:is_terminated, Shapes::ShapeRef.new(shape: Boolean, location_name: "isTerminated"))
692
+ DescribeServiceJobResponse.add_member(:job_arn, Shapes::ShapeRef.new(shape: String, location_name: "jobArn"))
693
+ DescribeServiceJobResponse.add_member(:job_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "jobId"))
694
+ DescribeServiceJobResponse.add_member(:job_name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "jobName"))
695
+ DescribeServiceJobResponse.add_member(:job_queue, Shapes::ShapeRef.new(shape: String, required: true, location_name: "jobQueue"))
696
+ DescribeServiceJobResponse.add_member(:latest_attempt, Shapes::ShapeRef.new(shape: LatestServiceJobAttempt, location_name: "latestAttempt"))
697
+ DescribeServiceJobResponse.add_member(:retry_strategy, Shapes::ShapeRef.new(shape: ServiceJobRetryStrategy, location_name: "retryStrategy"))
698
+ DescribeServiceJobResponse.add_member(:scheduling_priority, Shapes::ShapeRef.new(shape: Integer, location_name: "schedulingPriority"))
699
+ DescribeServiceJobResponse.add_member(:service_request_payload, Shapes::ShapeRef.new(shape: String, location_name: "serviceRequestPayload"))
700
+ DescribeServiceJobResponse.add_member(:service_job_type, Shapes::ShapeRef.new(shape: ServiceJobType, required: true, location_name: "serviceJobType"))
701
+ DescribeServiceJobResponse.add_member(:share_identifier, Shapes::ShapeRef.new(shape: String, location_name: "shareIdentifier"))
702
+ DescribeServiceJobResponse.add_member(:started_at, Shapes::ShapeRef.new(shape: Long, required: true, location_name: "startedAt"))
703
+ DescribeServiceJobResponse.add_member(:status, Shapes::ShapeRef.new(shape: ServiceJobStatus, required: true, location_name: "status"))
704
+ DescribeServiceJobResponse.add_member(:status_reason, Shapes::ShapeRef.new(shape: String, location_name: "statusReason"))
705
+ DescribeServiceJobResponse.add_member(:stopped_at, Shapes::ShapeRef.new(shape: Long, location_name: "stoppedAt"))
706
+ DescribeServiceJobResponse.add_member(:tags, Shapes::ShapeRef.new(shape: TagrisTagsMap, location_name: "tags"))
707
+ DescribeServiceJobResponse.add_member(:timeout_config, Shapes::ShapeRef.new(shape: ServiceJobTimeout, location_name: "timeoutConfig"))
708
+ DescribeServiceJobResponse.struct_class = Types::DescribeServiceJobResponse
709
+
612
710
  Device.add_member(:host_path, Shapes::ShapeRef.new(shape: String, required: true, location_name: "hostPath"))
613
711
  Device.add_member(:container_path, Shapes::ShapeRef.new(shape: String, location_name: "containerPath"))
614
712
  Device.add_member(:permissions, Shapes::ShapeRef.new(shape: DeviceCgroupPermissions, location_name: "permissions"))
@@ -963,6 +1061,8 @@ module Aws::Batch
963
1061
  JobQueueDetail.add_member(:status_reason, Shapes::ShapeRef.new(shape: String, location_name: "statusReason"))
964
1062
  JobQueueDetail.add_member(:priority, Shapes::ShapeRef.new(shape: Integer, required: true, location_name: "priority"))
965
1063
  JobQueueDetail.add_member(:compute_environment_order, Shapes::ShapeRef.new(shape: ComputeEnvironmentOrders, required: true, location_name: "computeEnvironmentOrder"))
1064
+ JobQueueDetail.add_member(:service_environment_order, Shapes::ShapeRef.new(shape: ServiceEnvironmentOrders, location_name: "serviceEnvironmentOrder"))
1065
+ JobQueueDetail.add_member(:job_queue_type, Shapes::ShapeRef.new(shape: JobQueueType, location_name: "jobQueueType"))
966
1066
  JobQueueDetail.add_member(:tags, Shapes::ShapeRef.new(shape: TagrisTagsMap, location_name: "tags"))
967
1067
  JobQueueDetail.add_member(:job_state_time_limit_actions, Shapes::ShapeRef.new(shape: JobStateTimeLimitActions, location_name: "jobStateTimeLimitActions"))
968
1068
  JobQueueDetail.struct_class = Types::JobQueueDetail
@@ -1004,16 +1104,21 @@ module Aws::Batch
1004
1104
  KeyValuesPair.add_member(:values, Shapes::ShapeRef.new(shape: StringList, location_name: "values"))
1005
1105
  KeyValuesPair.struct_class = Types::KeyValuesPair
1006
1106
 
1107
+ LatestServiceJobAttempt.add_member(:service_resource_id, Shapes::ShapeRef.new(shape: ServiceResourceId, location_name: "serviceResourceId"))
1108
+ LatestServiceJobAttempt.struct_class = Types::LatestServiceJobAttempt
1109
+
1007
1110
  LaunchTemplateSpecification.add_member(:launch_template_id, Shapes::ShapeRef.new(shape: String, location_name: "launchTemplateId"))
1008
1111
  LaunchTemplateSpecification.add_member(:launch_template_name, Shapes::ShapeRef.new(shape: String, location_name: "launchTemplateName"))
1009
1112
  LaunchTemplateSpecification.add_member(:version, Shapes::ShapeRef.new(shape: String, location_name: "version"))
1010
1113
  LaunchTemplateSpecification.add_member(:overrides, Shapes::ShapeRef.new(shape: LaunchTemplateSpecificationOverrideList, location_name: "overrides"))
1114
+ LaunchTemplateSpecification.add_member(:userdata_type, Shapes::ShapeRef.new(shape: UserdataType, location_name: "userdataType"))
1011
1115
  LaunchTemplateSpecification.struct_class = Types::LaunchTemplateSpecification
1012
1116
 
1013
1117
  LaunchTemplateSpecificationOverride.add_member(:launch_template_id, Shapes::ShapeRef.new(shape: String, location_name: "launchTemplateId"))
1014
1118
  LaunchTemplateSpecificationOverride.add_member(:launch_template_name, Shapes::ShapeRef.new(shape: String, location_name: "launchTemplateName"))
1015
1119
  LaunchTemplateSpecificationOverride.add_member(:version, Shapes::ShapeRef.new(shape: String, location_name: "version"))
1016
1120
  LaunchTemplateSpecificationOverride.add_member(:target_instance_types, Shapes::ShapeRef.new(shape: StringList, location_name: "targetInstanceTypes"))
1121
+ LaunchTemplateSpecificationOverride.add_member(:userdata_type, Shapes::ShapeRef.new(shape: UserdataType, location_name: "userdataType"))
1017
1122
  LaunchTemplateSpecificationOverride.struct_class = Types::LaunchTemplateSpecificationOverride
1018
1123
 
1019
1124
  LaunchTemplateSpecificationOverrideList.member = Shapes::ShapeRef.new(shape: LaunchTemplateSpecificationOverride)
@@ -1095,6 +1200,17 @@ module Aws::Batch
1095
1200
  ListSchedulingPoliciesResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "nextToken"))
1096
1201
  ListSchedulingPoliciesResponse.struct_class = Types::ListSchedulingPoliciesResponse
1097
1202
 
1203
+ ListServiceJobsRequest.add_member(:job_queue, Shapes::ShapeRef.new(shape: String, location_name: "jobQueue"))
1204
+ ListServiceJobsRequest.add_member(:job_status, Shapes::ShapeRef.new(shape: ServiceJobStatus, location_name: "jobStatus"))
1205
+ ListServiceJobsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: Integer, location_name: "maxResults"))
1206
+ ListServiceJobsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "nextToken"))
1207
+ ListServiceJobsRequest.add_member(:filters, Shapes::ShapeRef.new(shape: ListJobsFilterList, location_name: "filters"))
1208
+ ListServiceJobsRequest.struct_class = Types::ListServiceJobsRequest
1209
+
1210
+ ListServiceJobsResponse.add_member(:job_summary_list, Shapes::ShapeRef.new(shape: ServiceJobSummaryList, required: true, location_name: "jobSummaryList"))
1211
+ ListServiceJobsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "nextToken"))
1212
+ ListServiceJobsResponse.struct_class = Types::ListServiceJobsResponse
1213
+
1098
1214
  ListTagsForResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "resourceArn"))
1099
1215
  ListTagsForResourceRequest.struct_class = Types::ListTagsForResourceRequest
1100
1216
 
@@ -1237,6 +1353,63 @@ module Aws::Batch
1237
1353
  ServerException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "message"))
1238
1354
  ServerException.struct_class = Types::ServerException
1239
1355
 
1356
+ ServiceEnvironmentDetail.add_member(:service_environment_name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "serviceEnvironmentName"))
1357
+ ServiceEnvironmentDetail.add_member(:service_environment_arn, Shapes::ShapeRef.new(shape: String, required: true, location_name: "serviceEnvironmentArn"))
1358
+ ServiceEnvironmentDetail.add_member(:service_environment_type, Shapes::ShapeRef.new(shape: ServiceEnvironmentType, required: true, location_name: "serviceEnvironmentType"))
1359
+ ServiceEnvironmentDetail.add_member(:state, Shapes::ShapeRef.new(shape: ServiceEnvironmentState, location_name: "state"))
1360
+ ServiceEnvironmentDetail.add_member(:status, Shapes::ShapeRef.new(shape: ServiceEnvironmentStatus, location_name: "status"))
1361
+ ServiceEnvironmentDetail.add_member(:capacity_limits, Shapes::ShapeRef.new(shape: CapacityLimits, required: true, location_name: "capacityLimits"))
1362
+ ServiceEnvironmentDetail.add_member(:tags, Shapes::ShapeRef.new(shape: TagrisTagsMap, location_name: "tags"))
1363
+ ServiceEnvironmentDetail.struct_class = Types::ServiceEnvironmentDetail
1364
+
1365
+ ServiceEnvironmentDetailList.member = Shapes::ShapeRef.new(shape: ServiceEnvironmentDetail)
1366
+
1367
+ ServiceEnvironmentOrder.add_member(:order, Shapes::ShapeRef.new(shape: Integer, required: true, location_name: "order"))
1368
+ ServiceEnvironmentOrder.add_member(:service_environment, Shapes::ShapeRef.new(shape: String, required: true, location_name: "serviceEnvironment"))
1369
+ ServiceEnvironmentOrder.struct_class = Types::ServiceEnvironmentOrder
1370
+
1371
+ ServiceEnvironmentOrders.member = Shapes::ShapeRef.new(shape: ServiceEnvironmentOrder)
1372
+
1373
+ ServiceJobAttemptDetail.add_member(:service_resource_id, Shapes::ShapeRef.new(shape: ServiceResourceId, location_name: "serviceResourceId"))
1374
+ ServiceJobAttemptDetail.add_member(:started_at, Shapes::ShapeRef.new(shape: Long, location_name: "startedAt"))
1375
+ ServiceJobAttemptDetail.add_member(:stopped_at, Shapes::ShapeRef.new(shape: Long, location_name: "stoppedAt"))
1376
+ ServiceJobAttemptDetail.add_member(:status_reason, Shapes::ShapeRef.new(shape: String, location_name: "statusReason"))
1377
+ ServiceJobAttemptDetail.struct_class = Types::ServiceJobAttemptDetail
1378
+
1379
+ ServiceJobAttemptDetails.member = Shapes::ShapeRef.new(shape: ServiceJobAttemptDetail)
1380
+
1381
+ ServiceJobEvaluateOnExit.add_member(:action, Shapes::ShapeRef.new(shape: ServiceJobRetryAction, location_name: "action"))
1382
+ ServiceJobEvaluateOnExit.add_member(:on_status_reason, Shapes::ShapeRef.new(shape: String, location_name: "onStatusReason"))
1383
+ ServiceJobEvaluateOnExit.struct_class = Types::ServiceJobEvaluateOnExit
1384
+
1385
+ ServiceJobEvaluateOnExitList.member = Shapes::ShapeRef.new(shape: ServiceJobEvaluateOnExit)
1386
+
1387
+ ServiceJobRetryStrategy.add_member(:attempts, Shapes::ShapeRef.new(shape: Integer, required: true, location_name: "attempts"))
1388
+ ServiceJobRetryStrategy.add_member(:evaluate_on_exit, Shapes::ShapeRef.new(shape: ServiceJobEvaluateOnExitList, location_name: "evaluateOnExit"))
1389
+ ServiceJobRetryStrategy.struct_class = Types::ServiceJobRetryStrategy
1390
+
1391
+ ServiceJobSummary.add_member(:latest_attempt, Shapes::ShapeRef.new(shape: LatestServiceJobAttempt, location_name: "latestAttempt"))
1392
+ ServiceJobSummary.add_member(:created_at, Shapes::ShapeRef.new(shape: Long, location_name: "createdAt"))
1393
+ ServiceJobSummary.add_member(:job_arn, Shapes::ShapeRef.new(shape: String, location_name: "jobArn"))
1394
+ ServiceJobSummary.add_member(:job_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "jobId"))
1395
+ ServiceJobSummary.add_member(:job_name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "jobName"))
1396
+ ServiceJobSummary.add_member(:service_job_type, Shapes::ShapeRef.new(shape: ServiceJobType, required: true, location_name: "serviceJobType"))
1397
+ ServiceJobSummary.add_member(:share_identifier, Shapes::ShapeRef.new(shape: String, location_name: "shareIdentifier"))
1398
+ ServiceJobSummary.add_member(:status, Shapes::ShapeRef.new(shape: ServiceJobStatus, location_name: "status"))
1399
+ ServiceJobSummary.add_member(:status_reason, Shapes::ShapeRef.new(shape: String, location_name: "statusReason"))
1400
+ ServiceJobSummary.add_member(:started_at, Shapes::ShapeRef.new(shape: Long, location_name: "startedAt"))
1401
+ ServiceJobSummary.add_member(:stopped_at, Shapes::ShapeRef.new(shape: Long, location_name: "stoppedAt"))
1402
+ ServiceJobSummary.struct_class = Types::ServiceJobSummary
1403
+
1404
+ ServiceJobSummaryList.member = Shapes::ShapeRef.new(shape: ServiceJobSummary)
1405
+
1406
+ ServiceJobTimeout.add_member(:attempt_duration_seconds, Shapes::ShapeRef.new(shape: Integer, location_name: "attemptDurationSeconds"))
1407
+ ServiceJobTimeout.struct_class = Types::ServiceJobTimeout
1408
+
1409
+ ServiceResourceId.add_member(:name, Shapes::ShapeRef.new(shape: ServiceResourceIdName, required: true, location_name: "name"))
1410
+ ServiceResourceId.add_member(:value, Shapes::ShapeRef.new(shape: String, required: true, location_name: "value"))
1411
+ ServiceResourceId.struct_class = Types::ServiceResourceId
1412
+
1240
1413
  ShareAttributes.add_member(:share_identifier, Shapes::ShapeRef.new(shape: String, required: true, location_name: "shareIdentifier"))
1241
1414
  ShareAttributes.add_member(:weight_factor, Shapes::ShapeRef.new(shape: Float, location_name: "weightFactor"))
1242
1415
  ShareAttributes.struct_class = Types::ShareAttributes
@@ -1269,6 +1442,23 @@ module Aws::Batch
1269
1442
  SubmitJobResponse.add_member(:job_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "jobId"))
1270
1443
  SubmitJobResponse.struct_class = Types::SubmitJobResponse
1271
1444
 
1445
+ SubmitServiceJobRequest.add_member(:job_name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "jobName"))
1446
+ SubmitServiceJobRequest.add_member(:job_queue, Shapes::ShapeRef.new(shape: String, required: true, location_name: "jobQueue"))
1447
+ SubmitServiceJobRequest.add_member(:retry_strategy, Shapes::ShapeRef.new(shape: ServiceJobRetryStrategy, location_name: "retryStrategy"))
1448
+ SubmitServiceJobRequest.add_member(:scheduling_priority, Shapes::ShapeRef.new(shape: Integer, location_name: "schedulingPriority"))
1449
+ SubmitServiceJobRequest.add_member(:service_request_payload, Shapes::ShapeRef.new(shape: String, required: true, location_name: "serviceRequestPayload"))
1450
+ SubmitServiceJobRequest.add_member(:service_job_type, Shapes::ShapeRef.new(shape: ServiceJobType, required: true, location_name: "serviceJobType"))
1451
+ SubmitServiceJobRequest.add_member(:share_identifier, Shapes::ShapeRef.new(shape: String, location_name: "shareIdentifier"))
1452
+ SubmitServiceJobRequest.add_member(:timeout_config, Shapes::ShapeRef.new(shape: ServiceJobTimeout, location_name: "timeoutConfig"))
1453
+ SubmitServiceJobRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagrisTagsMap, location_name: "tags"))
1454
+ SubmitServiceJobRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientRequestToken, location_name: "clientToken", metadata: {"idempotencyToken" => true}))
1455
+ SubmitServiceJobRequest.struct_class = Types::SubmitServiceJobRequest
1456
+
1457
+ SubmitServiceJobResponse.add_member(:job_arn, Shapes::ShapeRef.new(shape: String, location_name: "jobArn"))
1458
+ SubmitServiceJobResponse.add_member(:job_name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "jobName"))
1459
+ SubmitServiceJobResponse.add_member(:job_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "jobId"))
1460
+ SubmitServiceJobResponse.struct_class = Types::SubmitServiceJobResponse
1461
+
1272
1462
  TagKeysList.member = Shapes::ShapeRef.new(shape: TagKey)
1273
1463
 
1274
1464
  TagResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "resourceArn"))
@@ -1346,6 +1536,12 @@ module Aws::Batch
1346
1536
 
1347
1537
  TerminateJobResponse.struct_class = Types::TerminateJobResponse
1348
1538
 
1539
+ TerminateServiceJobRequest.add_member(:job_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "jobId"))
1540
+ TerminateServiceJobRequest.add_member(:reason, Shapes::ShapeRef.new(shape: String, required: true, location_name: "reason"))
1541
+ TerminateServiceJobRequest.struct_class = Types::TerminateServiceJobRequest
1542
+
1543
+ TerminateServiceJobResponse.struct_class = Types::TerminateServiceJobResponse
1544
+
1349
1545
  Tmpfs.add_member(:container_path, Shapes::ShapeRef.new(shape: String, required: true, location_name: "containerPath"))
1350
1546
  Tmpfs.add_member(:size, Shapes::ShapeRef.new(shape: Integer, required: true, location_name: "size"))
1351
1547
  Tmpfs.add_member(:mount_options, Shapes::ShapeRef.new(shape: StringList, location_name: "mountOptions"))
@@ -1395,6 +1591,7 @@ module Aws::Batch
1395
1591
  UpdateJobQueueRequest.add_member(:scheduling_policy_arn, Shapes::ShapeRef.new(shape: String, location_name: "schedulingPolicyArn"))
1396
1592
  UpdateJobQueueRequest.add_member(:priority, Shapes::ShapeRef.new(shape: Integer, location_name: "priority"))
1397
1593
  UpdateJobQueueRequest.add_member(:compute_environment_order, Shapes::ShapeRef.new(shape: ComputeEnvironmentOrders, location_name: "computeEnvironmentOrder"))
1594
+ UpdateJobQueueRequest.add_member(:service_environment_order, Shapes::ShapeRef.new(shape: ServiceEnvironmentOrders, location_name: "serviceEnvironmentOrder"))
1398
1595
  UpdateJobQueueRequest.add_member(:job_state_time_limit_actions, Shapes::ShapeRef.new(shape: JobStateTimeLimitActions, location_name: "jobStateTimeLimitActions"))
1399
1596
  UpdateJobQueueRequest.struct_class = Types::UpdateJobQueueRequest
1400
1597
 
@@ -1412,6 +1609,15 @@ module Aws::Batch
1412
1609
 
1413
1610
  UpdateSchedulingPolicyResponse.struct_class = Types::UpdateSchedulingPolicyResponse
1414
1611
 
1612
+ UpdateServiceEnvironmentRequest.add_member(:service_environment, Shapes::ShapeRef.new(shape: String, required: true, location_name: "serviceEnvironment"))
1613
+ UpdateServiceEnvironmentRequest.add_member(:state, Shapes::ShapeRef.new(shape: ServiceEnvironmentState, location_name: "state"))
1614
+ UpdateServiceEnvironmentRequest.add_member(:capacity_limits, Shapes::ShapeRef.new(shape: CapacityLimits, location_name: "capacityLimits"))
1615
+ UpdateServiceEnvironmentRequest.struct_class = Types::UpdateServiceEnvironmentRequest
1616
+
1617
+ UpdateServiceEnvironmentResponse.add_member(:service_environment_name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "serviceEnvironmentName"))
1618
+ UpdateServiceEnvironmentResponse.add_member(:service_environment_arn, Shapes::ShapeRef.new(shape: String, required: true, location_name: "serviceEnvironmentArn"))
1619
+ UpdateServiceEnvironmentResponse.struct_class = Types::UpdateServiceEnvironmentResponse
1620
+
1415
1621
  Volume.add_member(:host, Shapes::ShapeRef.new(shape: Host, location_name: "host"))
1416
1622
  Volume.add_member(:name, Shapes::ShapeRef.new(shape: String, location_name: "name"))
1417
1623
  Volume.add_member(:efs_volume_configuration, Shapes::ShapeRef.new(shape: EFSVolumeConfiguration, location_name: "efsVolumeConfiguration"))
@@ -1489,6 +1695,16 @@ module Aws::Batch
1489
1695
  o.errors << Shapes::ShapeRef.new(shape: ServerException)
1490
1696
  end)
1491
1697
 
1698
+ api.add_operation(:create_service_environment, Seahorse::Model::Operation.new.tap do |o|
1699
+ o.name = "CreateServiceEnvironment"
1700
+ o.http_method = "POST"
1701
+ o.http_request_uri = "/v1/createserviceenvironment"
1702
+ o.input = Shapes::ShapeRef.new(shape: CreateServiceEnvironmentRequest)
1703
+ o.output = Shapes::ShapeRef.new(shape: CreateServiceEnvironmentResponse)
1704
+ o.errors << Shapes::ShapeRef.new(shape: ClientException)
1705
+ o.errors << Shapes::ShapeRef.new(shape: ServerException)
1706
+ end)
1707
+
1492
1708
  api.add_operation(:delete_compute_environment, Seahorse::Model::Operation.new.tap do |o|
1493
1709
  o.name = "DeleteComputeEnvironment"
1494
1710
  o.http_method = "POST"
@@ -1529,6 +1745,16 @@ module Aws::Batch
1529
1745
  o.errors << Shapes::ShapeRef.new(shape: ServerException)
1530
1746
  end)
1531
1747
 
1748
+ api.add_operation(:delete_service_environment, Seahorse::Model::Operation.new.tap do |o|
1749
+ o.name = "DeleteServiceEnvironment"
1750
+ o.http_method = "POST"
1751
+ o.http_request_uri = "/v1/deleteserviceenvironment"
1752
+ o.input = Shapes::ShapeRef.new(shape: DeleteServiceEnvironmentRequest)
1753
+ o.output = Shapes::ShapeRef.new(shape: DeleteServiceEnvironmentResponse)
1754
+ o.errors << Shapes::ShapeRef.new(shape: ClientException)
1755
+ o.errors << Shapes::ShapeRef.new(shape: ServerException)
1756
+ end)
1757
+
1532
1758
  api.add_operation(:deregister_job_definition, Seahorse::Model::Operation.new.tap do |o|
1533
1759
  o.name = "DeregisterJobDefinition"
1534
1760
  o.http_method = "POST"
@@ -1617,6 +1843,32 @@ module Aws::Batch
1617
1843
  o.errors << Shapes::ShapeRef.new(shape: ServerException)
1618
1844
  end)
1619
1845
 
1846
+ api.add_operation(:describe_service_environments, Seahorse::Model::Operation.new.tap do |o|
1847
+ o.name = "DescribeServiceEnvironments"
1848
+ o.http_method = "POST"
1849
+ o.http_request_uri = "/v1/describeserviceenvironments"
1850
+ o.input = Shapes::ShapeRef.new(shape: DescribeServiceEnvironmentsRequest)
1851
+ o.output = Shapes::ShapeRef.new(shape: DescribeServiceEnvironmentsResponse)
1852
+ o.errors << Shapes::ShapeRef.new(shape: ClientException)
1853
+ o.errors << Shapes::ShapeRef.new(shape: ServerException)
1854
+ o[:pager] = Aws::Pager.new(
1855
+ limit_key: "max_results",
1856
+ tokens: {
1857
+ "next_token" => "next_token"
1858
+ }
1859
+ )
1860
+ end)
1861
+
1862
+ api.add_operation(:describe_service_job, Seahorse::Model::Operation.new.tap do |o|
1863
+ o.name = "DescribeServiceJob"
1864
+ o.http_method = "POST"
1865
+ o.http_request_uri = "/v1/describeservicejob"
1866
+ o.input = Shapes::ShapeRef.new(shape: DescribeServiceJobRequest)
1867
+ o.output = Shapes::ShapeRef.new(shape: DescribeServiceJobResponse)
1868
+ o.errors << Shapes::ShapeRef.new(shape: ClientException)
1869
+ o.errors << Shapes::ShapeRef.new(shape: ServerException)
1870
+ end)
1871
+
1620
1872
  api.add_operation(:get_job_queue_snapshot, Seahorse::Model::Operation.new.tap do |o|
1621
1873
  o.name = "GetJobQueueSnapshot"
1622
1874
  o.http_method = "POST"
@@ -1691,6 +1943,22 @@ module Aws::Batch
1691
1943
  )
1692
1944
  end)
1693
1945
 
1946
+ api.add_operation(:list_service_jobs, Seahorse::Model::Operation.new.tap do |o|
1947
+ o.name = "ListServiceJobs"
1948
+ o.http_method = "POST"
1949
+ o.http_request_uri = "/v1/listservicejobs"
1950
+ o.input = Shapes::ShapeRef.new(shape: ListServiceJobsRequest)
1951
+ o.output = Shapes::ShapeRef.new(shape: ListServiceJobsResponse)
1952
+ o.errors << Shapes::ShapeRef.new(shape: ClientException)
1953
+ o.errors << Shapes::ShapeRef.new(shape: ServerException)
1954
+ o[:pager] = Aws::Pager.new(
1955
+ limit_key: "max_results",
1956
+ tokens: {
1957
+ "next_token" => "next_token"
1958
+ }
1959
+ )
1960
+ end)
1961
+
1694
1962
  api.add_operation(:list_tags_for_resource, Seahorse::Model::Operation.new.tap do |o|
1695
1963
  o.name = "ListTagsForResource"
1696
1964
  o.http_method = "GET"
@@ -1721,6 +1989,16 @@ module Aws::Batch
1721
1989
  o.errors << Shapes::ShapeRef.new(shape: ServerException)
1722
1990
  end)
1723
1991
 
1992
+ api.add_operation(:submit_service_job, Seahorse::Model::Operation.new.tap do |o|
1993
+ o.name = "SubmitServiceJob"
1994
+ o.http_method = "POST"
1995
+ o.http_request_uri = "/v1/submitservicejob"
1996
+ o.input = Shapes::ShapeRef.new(shape: SubmitServiceJobRequest)
1997
+ o.output = Shapes::ShapeRef.new(shape: SubmitServiceJobResponse)
1998
+ o.errors << Shapes::ShapeRef.new(shape: ClientException)
1999
+ o.errors << Shapes::ShapeRef.new(shape: ServerException)
2000
+ end)
2001
+
1724
2002
  api.add_operation(:tag_resource, Seahorse::Model::Operation.new.tap do |o|
1725
2003
  o.name = "TagResource"
1726
2004
  o.http_method = "POST"
@@ -1741,6 +2019,16 @@ module Aws::Batch
1741
2019
  o.errors << Shapes::ShapeRef.new(shape: ServerException)
1742
2020
  end)
1743
2021
 
2022
+ api.add_operation(:terminate_service_job, Seahorse::Model::Operation.new.tap do |o|
2023
+ o.name = "TerminateServiceJob"
2024
+ o.http_method = "POST"
2025
+ o.http_request_uri = "/v1/terminateservicejob"
2026
+ o.input = Shapes::ShapeRef.new(shape: TerminateServiceJobRequest)
2027
+ o.output = Shapes::ShapeRef.new(shape: TerminateServiceJobResponse)
2028
+ o.errors << Shapes::ShapeRef.new(shape: ClientException)
2029
+ o.errors << Shapes::ShapeRef.new(shape: ServerException)
2030
+ end)
2031
+
1744
2032
  api.add_operation(:untag_resource, Seahorse::Model::Operation.new.tap do |o|
1745
2033
  o.name = "UntagResource"
1746
2034
  o.http_method = "DELETE"
@@ -1790,6 +2078,16 @@ module Aws::Batch
1790
2078
  o.errors << Shapes::ShapeRef.new(shape: ClientException)
1791
2079
  o.errors << Shapes::ShapeRef.new(shape: ServerException)
1792
2080
  end)
2081
+
2082
+ api.add_operation(:update_service_environment, Seahorse::Model::Operation.new.tap do |o|
2083
+ o.name = "UpdateServiceEnvironment"
2084
+ o.http_method = "POST"
2085
+ o.http_request_uri = "/v1/updateserviceenvironment"
2086
+ o.input = Shapes::ShapeRef.new(shape: UpdateServiceEnvironmentRequest)
2087
+ o.output = Shapes::ShapeRef.new(shape: UpdateServiceEnvironmentResponse)
2088
+ o.errors << Shapes::ShapeRef.new(shape: ClientException)
2089
+ o.errors << Shapes::ShapeRef.new(shape: ServerException)
2090
+ end)
1793
2091
  end
1794
2092
 
1795
2093
  end