aws-sdk-batch 1.0.0.rc1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/lib/aws-sdk-batch.rb +47 -0
- data/lib/aws-sdk-batch/client.rb +1103 -0
- data/lib/aws-sdk-batch/client_api.rb +565 -0
- data/lib/aws-sdk-batch/customizations.rb +0 -0
- data/lib/aws-sdk-batch/errors.rb +14 -0
- data/lib/aws-sdk-batch/resource.rb +23 -0
- data/lib/aws-sdk-batch/types.rb +1785 -0
- metadata +80 -0
@@ -0,0 +1,565 @@
|
|
1
|
+
# WARNING ABOUT GENERATED CODE
|
2
|
+
#
|
3
|
+
# This file is generated. See the contributing guide for more information:
|
4
|
+
# https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
|
5
|
+
#
|
6
|
+
# WARNING ABOUT GENERATED CODE
|
7
|
+
|
8
|
+
module Aws::Batch
|
9
|
+
# @api private
|
10
|
+
module ClientApi
|
11
|
+
|
12
|
+
include Seahorse::Model
|
13
|
+
|
14
|
+
Boolean = Shapes::BooleanShape.new(name: 'Boolean')
|
15
|
+
CEState = Shapes::StringShape.new(name: 'CEState')
|
16
|
+
CEStatus = Shapes::StringShape.new(name: 'CEStatus')
|
17
|
+
CEType = Shapes::StringShape.new(name: 'CEType')
|
18
|
+
CRType = Shapes::StringShape.new(name: 'CRType')
|
19
|
+
CancelJobRequest = Shapes::StructureShape.new(name: 'CancelJobRequest')
|
20
|
+
CancelJobResponse = Shapes::StructureShape.new(name: 'CancelJobResponse')
|
21
|
+
ClientException = Shapes::StructureShape.new(name: 'ClientException')
|
22
|
+
ComputeEnvironmentDetail = Shapes::StructureShape.new(name: 'ComputeEnvironmentDetail')
|
23
|
+
ComputeEnvironmentDetailList = Shapes::ListShape.new(name: 'ComputeEnvironmentDetailList')
|
24
|
+
ComputeEnvironmentOrder = Shapes::StructureShape.new(name: 'ComputeEnvironmentOrder')
|
25
|
+
ComputeEnvironmentOrders = Shapes::ListShape.new(name: 'ComputeEnvironmentOrders')
|
26
|
+
ComputeResource = Shapes::StructureShape.new(name: 'ComputeResource')
|
27
|
+
ComputeResourceUpdate = Shapes::StructureShape.new(name: 'ComputeResourceUpdate')
|
28
|
+
ContainerDetail = Shapes::StructureShape.new(name: 'ContainerDetail')
|
29
|
+
ContainerOverrides = Shapes::StructureShape.new(name: 'ContainerOverrides')
|
30
|
+
ContainerProperties = Shapes::StructureShape.new(name: 'ContainerProperties')
|
31
|
+
CreateComputeEnvironmentRequest = Shapes::StructureShape.new(name: 'CreateComputeEnvironmentRequest')
|
32
|
+
CreateComputeEnvironmentResponse = Shapes::StructureShape.new(name: 'CreateComputeEnvironmentResponse')
|
33
|
+
CreateJobQueueRequest = Shapes::StructureShape.new(name: 'CreateJobQueueRequest')
|
34
|
+
CreateJobQueueResponse = Shapes::StructureShape.new(name: 'CreateJobQueueResponse')
|
35
|
+
DeleteComputeEnvironmentRequest = Shapes::StructureShape.new(name: 'DeleteComputeEnvironmentRequest')
|
36
|
+
DeleteComputeEnvironmentResponse = Shapes::StructureShape.new(name: 'DeleteComputeEnvironmentResponse')
|
37
|
+
DeleteJobQueueRequest = Shapes::StructureShape.new(name: 'DeleteJobQueueRequest')
|
38
|
+
DeleteJobQueueResponse = Shapes::StructureShape.new(name: 'DeleteJobQueueResponse')
|
39
|
+
DeregisterJobDefinitionRequest = Shapes::StructureShape.new(name: 'DeregisterJobDefinitionRequest')
|
40
|
+
DeregisterJobDefinitionResponse = Shapes::StructureShape.new(name: 'DeregisterJobDefinitionResponse')
|
41
|
+
DescribeComputeEnvironmentsRequest = Shapes::StructureShape.new(name: 'DescribeComputeEnvironmentsRequest')
|
42
|
+
DescribeComputeEnvironmentsResponse = Shapes::StructureShape.new(name: 'DescribeComputeEnvironmentsResponse')
|
43
|
+
DescribeJobDefinitionsRequest = Shapes::StructureShape.new(name: 'DescribeJobDefinitionsRequest')
|
44
|
+
DescribeJobDefinitionsResponse = Shapes::StructureShape.new(name: 'DescribeJobDefinitionsResponse')
|
45
|
+
DescribeJobQueuesRequest = Shapes::StructureShape.new(name: 'DescribeJobQueuesRequest')
|
46
|
+
DescribeJobQueuesResponse = Shapes::StructureShape.new(name: 'DescribeJobQueuesResponse')
|
47
|
+
DescribeJobsRequest = Shapes::StructureShape.new(name: 'DescribeJobsRequest')
|
48
|
+
DescribeJobsResponse = Shapes::StructureShape.new(name: 'DescribeJobsResponse')
|
49
|
+
EnvironmentVariables = Shapes::ListShape.new(name: 'EnvironmentVariables')
|
50
|
+
Host = Shapes::StructureShape.new(name: 'Host')
|
51
|
+
Integer = Shapes::IntegerShape.new(name: 'Integer')
|
52
|
+
JQState = Shapes::StringShape.new(name: 'JQState')
|
53
|
+
JQStatus = Shapes::StringShape.new(name: 'JQStatus')
|
54
|
+
JobDefinition = Shapes::StructureShape.new(name: 'JobDefinition')
|
55
|
+
JobDefinitionList = Shapes::ListShape.new(name: 'JobDefinitionList')
|
56
|
+
JobDefinitionType = Shapes::StringShape.new(name: 'JobDefinitionType')
|
57
|
+
JobDependency = Shapes::StructureShape.new(name: 'JobDependency')
|
58
|
+
JobDependencyList = Shapes::ListShape.new(name: 'JobDependencyList')
|
59
|
+
JobDetail = Shapes::StructureShape.new(name: 'JobDetail')
|
60
|
+
JobDetailList = Shapes::ListShape.new(name: 'JobDetailList')
|
61
|
+
JobQueueDetail = Shapes::StructureShape.new(name: 'JobQueueDetail')
|
62
|
+
JobQueueDetailList = Shapes::ListShape.new(name: 'JobQueueDetailList')
|
63
|
+
JobStatus = Shapes::StringShape.new(name: 'JobStatus')
|
64
|
+
JobSummary = Shapes::StructureShape.new(name: 'JobSummary')
|
65
|
+
JobSummaryList = Shapes::ListShape.new(name: 'JobSummaryList')
|
66
|
+
KeyValuePair = Shapes::StructureShape.new(name: 'KeyValuePair')
|
67
|
+
ListJobsRequest = Shapes::StructureShape.new(name: 'ListJobsRequest')
|
68
|
+
ListJobsResponse = Shapes::StructureShape.new(name: 'ListJobsResponse')
|
69
|
+
Long = Shapes::IntegerShape.new(name: 'Long')
|
70
|
+
MountPoint = Shapes::StructureShape.new(name: 'MountPoint')
|
71
|
+
MountPoints = Shapes::ListShape.new(name: 'MountPoints')
|
72
|
+
ParametersMap = Shapes::MapShape.new(name: 'ParametersMap')
|
73
|
+
RegisterJobDefinitionRequest = Shapes::StructureShape.new(name: 'RegisterJobDefinitionRequest')
|
74
|
+
RegisterJobDefinitionResponse = Shapes::StructureShape.new(name: 'RegisterJobDefinitionResponse')
|
75
|
+
ServerException = Shapes::StructureShape.new(name: 'ServerException')
|
76
|
+
String = Shapes::StringShape.new(name: 'String')
|
77
|
+
StringList = Shapes::ListShape.new(name: 'StringList')
|
78
|
+
SubmitJobRequest = Shapes::StructureShape.new(name: 'SubmitJobRequest')
|
79
|
+
SubmitJobResponse = Shapes::StructureShape.new(name: 'SubmitJobResponse')
|
80
|
+
TagsMap = Shapes::MapShape.new(name: 'TagsMap')
|
81
|
+
TerminateJobRequest = Shapes::StructureShape.new(name: 'TerminateJobRequest')
|
82
|
+
TerminateJobResponse = Shapes::StructureShape.new(name: 'TerminateJobResponse')
|
83
|
+
Ulimit = Shapes::StructureShape.new(name: 'Ulimit')
|
84
|
+
Ulimits = Shapes::ListShape.new(name: 'Ulimits')
|
85
|
+
UpdateComputeEnvironmentRequest = Shapes::StructureShape.new(name: 'UpdateComputeEnvironmentRequest')
|
86
|
+
UpdateComputeEnvironmentResponse = Shapes::StructureShape.new(name: 'UpdateComputeEnvironmentResponse')
|
87
|
+
UpdateJobQueueRequest = Shapes::StructureShape.new(name: 'UpdateJobQueueRequest')
|
88
|
+
UpdateJobQueueResponse = Shapes::StructureShape.new(name: 'UpdateJobQueueResponse')
|
89
|
+
Volume = Shapes::StructureShape.new(name: 'Volume')
|
90
|
+
Volumes = Shapes::ListShape.new(name: 'Volumes')
|
91
|
+
|
92
|
+
CancelJobRequest.add_member(:job_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "jobId"))
|
93
|
+
CancelJobRequest.add_member(:reason, Shapes::ShapeRef.new(shape: String, required: true, location_name: "reason"))
|
94
|
+
CancelJobRequest.struct_class = Types::CancelJobRequest
|
95
|
+
|
96
|
+
CancelJobResponse.struct_class = Types::CancelJobResponse
|
97
|
+
|
98
|
+
ComputeEnvironmentDetail.add_member(:compute_environment_name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "computeEnvironmentName"))
|
99
|
+
ComputeEnvironmentDetail.add_member(:compute_environment_arn, Shapes::ShapeRef.new(shape: String, required: true, location_name: "computeEnvironmentArn"))
|
100
|
+
ComputeEnvironmentDetail.add_member(:ecs_cluster_arn, Shapes::ShapeRef.new(shape: String, required: true, location_name: "ecsClusterArn"))
|
101
|
+
ComputeEnvironmentDetail.add_member(:type, Shapes::ShapeRef.new(shape: CEType, location_name: "type"))
|
102
|
+
ComputeEnvironmentDetail.add_member(:state, Shapes::ShapeRef.new(shape: CEState, location_name: "state"))
|
103
|
+
ComputeEnvironmentDetail.add_member(:status, Shapes::ShapeRef.new(shape: CEStatus, location_name: "status"))
|
104
|
+
ComputeEnvironmentDetail.add_member(:status_reason, Shapes::ShapeRef.new(shape: String, location_name: "statusReason"))
|
105
|
+
ComputeEnvironmentDetail.add_member(:compute_resources, Shapes::ShapeRef.new(shape: ComputeResource, location_name: "computeResources"))
|
106
|
+
ComputeEnvironmentDetail.add_member(:service_role, Shapes::ShapeRef.new(shape: String, location_name: "serviceRole"))
|
107
|
+
ComputeEnvironmentDetail.struct_class = Types::ComputeEnvironmentDetail
|
108
|
+
|
109
|
+
ComputeEnvironmentDetailList.member = Shapes::ShapeRef.new(shape: ComputeEnvironmentDetail)
|
110
|
+
|
111
|
+
ComputeEnvironmentOrder.add_member(:order, Shapes::ShapeRef.new(shape: Integer, required: true, location_name: "order"))
|
112
|
+
ComputeEnvironmentOrder.add_member(:compute_environment, Shapes::ShapeRef.new(shape: String, required: true, location_name: "computeEnvironment"))
|
113
|
+
ComputeEnvironmentOrder.struct_class = Types::ComputeEnvironmentOrder
|
114
|
+
|
115
|
+
ComputeEnvironmentOrders.member = Shapes::ShapeRef.new(shape: ComputeEnvironmentOrder)
|
116
|
+
|
117
|
+
ComputeResource.add_member(:type, Shapes::ShapeRef.new(shape: CRType, required: true, location_name: "type"))
|
118
|
+
ComputeResource.add_member(:minv_cpus, Shapes::ShapeRef.new(shape: Integer, required: true, location_name: "minvCpus"))
|
119
|
+
ComputeResource.add_member(:maxv_cpus, Shapes::ShapeRef.new(shape: Integer, required: true, location_name: "maxvCpus"))
|
120
|
+
ComputeResource.add_member(:desiredv_cpus, Shapes::ShapeRef.new(shape: Integer, location_name: "desiredvCpus"))
|
121
|
+
ComputeResource.add_member(:instance_types, Shapes::ShapeRef.new(shape: StringList, required: true, location_name: "instanceTypes"))
|
122
|
+
ComputeResource.add_member(:subnets, Shapes::ShapeRef.new(shape: StringList, required: true, location_name: "subnets"))
|
123
|
+
ComputeResource.add_member(:security_group_ids, Shapes::ShapeRef.new(shape: StringList, required: true, location_name: "securityGroupIds"))
|
124
|
+
ComputeResource.add_member(:ec2_key_pair, Shapes::ShapeRef.new(shape: String, location_name: "ec2KeyPair"))
|
125
|
+
ComputeResource.add_member(:instance_role, Shapes::ShapeRef.new(shape: String, required: true, location_name: "instanceRole"))
|
126
|
+
ComputeResource.add_member(:tags, Shapes::ShapeRef.new(shape: TagsMap, location_name: "tags"))
|
127
|
+
ComputeResource.add_member(:bid_percentage, Shapes::ShapeRef.new(shape: Integer, location_name: "bidPercentage"))
|
128
|
+
ComputeResource.add_member(:spot_iam_fleet_role, Shapes::ShapeRef.new(shape: String, location_name: "spotIamFleetRole"))
|
129
|
+
ComputeResource.struct_class = Types::ComputeResource
|
130
|
+
|
131
|
+
ComputeResourceUpdate.add_member(:minv_cpus, Shapes::ShapeRef.new(shape: Integer, location_name: "minvCpus"))
|
132
|
+
ComputeResourceUpdate.add_member(:maxv_cpus, Shapes::ShapeRef.new(shape: Integer, location_name: "maxvCpus"))
|
133
|
+
ComputeResourceUpdate.add_member(:desiredv_cpus, Shapes::ShapeRef.new(shape: Integer, location_name: "desiredvCpus"))
|
134
|
+
ComputeResourceUpdate.struct_class = Types::ComputeResourceUpdate
|
135
|
+
|
136
|
+
ContainerDetail.add_member(:image, Shapes::ShapeRef.new(shape: String, location_name: "image"))
|
137
|
+
ContainerDetail.add_member(:vcpus, Shapes::ShapeRef.new(shape: Integer, location_name: "vcpus"))
|
138
|
+
ContainerDetail.add_member(:memory, Shapes::ShapeRef.new(shape: Integer, location_name: "memory"))
|
139
|
+
ContainerDetail.add_member(:command, Shapes::ShapeRef.new(shape: StringList, location_name: "command"))
|
140
|
+
ContainerDetail.add_member(:job_role_arn, Shapes::ShapeRef.new(shape: String, location_name: "jobRoleArn"))
|
141
|
+
ContainerDetail.add_member(:volumes, Shapes::ShapeRef.new(shape: Volumes, location_name: "volumes"))
|
142
|
+
ContainerDetail.add_member(:environment, Shapes::ShapeRef.new(shape: EnvironmentVariables, location_name: "environment"))
|
143
|
+
ContainerDetail.add_member(:mount_points, Shapes::ShapeRef.new(shape: MountPoints, location_name: "mountPoints"))
|
144
|
+
ContainerDetail.add_member(:readonly_root_filesystem, Shapes::ShapeRef.new(shape: Boolean, location_name: "readonlyRootFilesystem"))
|
145
|
+
ContainerDetail.add_member(:ulimits, Shapes::ShapeRef.new(shape: Ulimits, location_name: "ulimits"))
|
146
|
+
ContainerDetail.add_member(:privileged, Shapes::ShapeRef.new(shape: Boolean, location_name: "privileged"))
|
147
|
+
ContainerDetail.add_member(:user, Shapes::ShapeRef.new(shape: String, location_name: "user"))
|
148
|
+
ContainerDetail.add_member(:exit_code, Shapes::ShapeRef.new(shape: Integer, location_name: "exitCode"))
|
149
|
+
ContainerDetail.add_member(:reason, Shapes::ShapeRef.new(shape: String, location_name: "reason"))
|
150
|
+
ContainerDetail.add_member(:container_instance_arn, Shapes::ShapeRef.new(shape: String, location_name: "containerInstanceArn"))
|
151
|
+
ContainerDetail.struct_class = Types::ContainerDetail
|
152
|
+
|
153
|
+
ContainerOverrides.add_member(:vcpus, Shapes::ShapeRef.new(shape: Integer, location_name: "vcpus"))
|
154
|
+
ContainerOverrides.add_member(:memory, Shapes::ShapeRef.new(shape: Integer, location_name: "memory"))
|
155
|
+
ContainerOverrides.add_member(:command, Shapes::ShapeRef.new(shape: StringList, location_name: "command"))
|
156
|
+
ContainerOverrides.add_member(:environment, Shapes::ShapeRef.new(shape: EnvironmentVariables, location_name: "environment"))
|
157
|
+
ContainerOverrides.struct_class = Types::ContainerOverrides
|
158
|
+
|
159
|
+
ContainerProperties.add_member(:image, Shapes::ShapeRef.new(shape: String, required: true, location_name: "image"))
|
160
|
+
ContainerProperties.add_member(:vcpus, Shapes::ShapeRef.new(shape: Integer, required: true, location_name: "vcpus"))
|
161
|
+
ContainerProperties.add_member(:memory, Shapes::ShapeRef.new(shape: Integer, required: true, location_name: "memory"))
|
162
|
+
ContainerProperties.add_member(:command, Shapes::ShapeRef.new(shape: StringList, location_name: "command"))
|
163
|
+
ContainerProperties.add_member(:job_role_arn, Shapes::ShapeRef.new(shape: String, location_name: "jobRoleArn"))
|
164
|
+
ContainerProperties.add_member(:volumes, Shapes::ShapeRef.new(shape: Volumes, location_name: "volumes"))
|
165
|
+
ContainerProperties.add_member(:environment, Shapes::ShapeRef.new(shape: EnvironmentVariables, location_name: "environment"))
|
166
|
+
ContainerProperties.add_member(:mount_points, Shapes::ShapeRef.new(shape: MountPoints, location_name: "mountPoints"))
|
167
|
+
ContainerProperties.add_member(:readonly_root_filesystem, Shapes::ShapeRef.new(shape: Boolean, location_name: "readonlyRootFilesystem"))
|
168
|
+
ContainerProperties.add_member(:privileged, Shapes::ShapeRef.new(shape: Boolean, location_name: "privileged"))
|
169
|
+
ContainerProperties.add_member(:ulimits, Shapes::ShapeRef.new(shape: Ulimits, location_name: "ulimits"))
|
170
|
+
ContainerProperties.add_member(:user, Shapes::ShapeRef.new(shape: String, location_name: "user"))
|
171
|
+
ContainerProperties.struct_class = Types::ContainerProperties
|
172
|
+
|
173
|
+
CreateComputeEnvironmentRequest.add_member(:compute_environment_name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "computeEnvironmentName"))
|
174
|
+
CreateComputeEnvironmentRequest.add_member(:type, Shapes::ShapeRef.new(shape: CEType, required: true, location_name: "type"))
|
175
|
+
CreateComputeEnvironmentRequest.add_member(:state, Shapes::ShapeRef.new(shape: CEState, location_name: "state"))
|
176
|
+
CreateComputeEnvironmentRequest.add_member(:compute_resources, Shapes::ShapeRef.new(shape: ComputeResource, location_name: "computeResources"))
|
177
|
+
CreateComputeEnvironmentRequest.add_member(:service_role, Shapes::ShapeRef.new(shape: String, required: true, location_name: "serviceRole"))
|
178
|
+
CreateComputeEnvironmentRequest.struct_class = Types::CreateComputeEnvironmentRequest
|
179
|
+
|
180
|
+
CreateComputeEnvironmentResponse.add_member(:compute_environment_name, Shapes::ShapeRef.new(shape: String, location_name: "computeEnvironmentName"))
|
181
|
+
CreateComputeEnvironmentResponse.add_member(:compute_environment_arn, Shapes::ShapeRef.new(shape: String, location_name: "computeEnvironmentArn"))
|
182
|
+
CreateComputeEnvironmentResponse.struct_class = Types::CreateComputeEnvironmentResponse
|
183
|
+
|
184
|
+
CreateJobQueueRequest.add_member(:job_queue_name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "jobQueueName"))
|
185
|
+
CreateJobQueueRequest.add_member(:state, Shapes::ShapeRef.new(shape: JQState, location_name: "state"))
|
186
|
+
CreateJobQueueRequest.add_member(:priority, Shapes::ShapeRef.new(shape: Integer, required: true, location_name: "priority"))
|
187
|
+
CreateJobQueueRequest.add_member(:compute_environment_order, Shapes::ShapeRef.new(shape: ComputeEnvironmentOrders, required: true, location_name: "computeEnvironmentOrder"))
|
188
|
+
CreateJobQueueRequest.struct_class = Types::CreateJobQueueRequest
|
189
|
+
|
190
|
+
CreateJobQueueResponse.add_member(:job_queue_name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "jobQueueName"))
|
191
|
+
CreateJobQueueResponse.add_member(:job_queue_arn, Shapes::ShapeRef.new(shape: String, required: true, location_name: "jobQueueArn"))
|
192
|
+
CreateJobQueueResponse.struct_class = Types::CreateJobQueueResponse
|
193
|
+
|
194
|
+
DeleteComputeEnvironmentRequest.add_member(:compute_environment, Shapes::ShapeRef.new(shape: String, required: true, location_name: "computeEnvironment"))
|
195
|
+
DeleteComputeEnvironmentRequest.struct_class = Types::DeleteComputeEnvironmentRequest
|
196
|
+
|
197
|
+
DeleteComputeEnvironmentResponse.struct_class = Types::DeleteComputeEnvironmentResponse
|
198
|
+
|
199
|
+
DeleteJobQueueRequest.add_member(:job_queue, Shapes::ShapeRef.new(shape: String, required: true, location_name: "jobQueue"))
|
200
|
+
DeleteJobQueueRequest.struct_class = Types::DeleteJobQueueRequest
|
201
|
+
|
202
|
+
DeleteJobQueueResponse.struct_class = Types::DeleteJobQueueResponse
|
203
|
+
|
204
|
+
DeregisterJobDefinitionRequest.add_member(:job_definition, Shapes::ShapeRef.new(shape: String, required: true, location_name: "jobDefinition"))
|
205
|
+
DeregisterJobDefinitionRequest.struct_class = Types::DeregisterJobDefinitionRequest
|
206
|
+
|
207
|
+
DeregisterJobDefinitionResponse.struct_class = Types::DeregisterJobDefinitionResponse
|
208
|
+
|
209
|
+
DescribeComputeEnvironmentsRequest.add_member(:compute_environments, Shapes::ShapeRef.new(shape: StringList, location_name: "computeEnvironments"))
|
210
|
+
DescribeComputeEnvironmentsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: Integer, location_name: "maxResults"))
|
211
|
+
DescribeComputeEnvironmentsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "nextToken"))
|
212
|
+
DescribeComputeEnvironmentsRequest.struct_class = Types::DescribeComputeEnvironmentsRequest
|
213
|
+
|
214
|
+
DescribeComputeEnvironmentsResponse.add_member(:compute_environments, Shapes::ShapeRef.new(shape: ComputeEnvironmentDetailList, location_name: "computeEnvironments"))
|
215
|
+
DescribeComputeEnvironmentsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "nextToken"))
|
216
|
+
DescribeComputeEnvironmentsResponse.struct_class = Types::DescribeComputeEnvironmentsResponse
|
217
|
+
|
218
|
+
DescribeJobDefinitionsRequest.add_member(:job_definitions, Shapes::ShapeRef.new(shape: StringList, location_name: "jobDefinitions"))
|
219
|
+
DescribeJobDefinitionsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: Integer, location_name: "maxResults"))
|
220
|
+
DescribeJobDefinitionsRequest.add_member(:job_definition_name, Shapes::ShapeRef.new(shape: String, location_name: "jobDefinitionName"))
|
221
|
+
DescribeJobDefinitionsRequest.add_member(:status, Shapes::ShapeRef.new(shape: String, location_name: "status"))
|
222
|
+
DescribeJobDefinitionsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "nextToken"))
|
223
|
+
DescribeJobDefinitionsRequest.struct_class = Types::DescribeJobDefinitionsRequest
|
224
|
+
|
225
|
+
DescribeJobDefinitionsResponse.add_member(:job_definitions, Shapes::ShapeRef.new(shape: JobDefinitionList, location_name: "jobDefinitions"))
|
226
|
+
DescribeJobDefinitionsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "nextToken"))
|
227
|
+
DescribeJobDefinitionsResponse.struct_class = Types::DescribeJobDefinitionsResponse
|
228
|
+
|
229
|
+
DescribeJobQueuesRequest.add_member(:job_queues, Shapes::ShapeRef.new(shape: StringList, location_name: "jobQueues"))
|
230
|
+
DescribeJobQueuesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: Integer, location_name: "maxResults"))
|
231
|
+
DescribeJobQueuesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "nextToken"))
|
232
|
+
DescribeJobQueuesRequest.struct_class = Types::DescribeJobQueuesRequest
|
233
|
+
|
234
|
+
DescribeJobQueuesResponse.add_member(:job_queues, Shapes::ShapeRef.new(shape: JobQueueDetailList, location_name: "jobQueues"))
|
235
|
+
DescribeJobQueuesResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "nextToken"))
|
236
|
+
DescribeJobQueuesResponse.struct_class = Types::DescribeJobQueuesResponse
|
237
|
+
|
238
|
+
DescribeJobsRequest.add_member(:jobs, Shapes::ShapeRef.new(shape: StringList, required: true, location_name: "jobs"))
|
239
|
+
DescribeJobsRequest.struct_class = Types::DescribeJobsRequest
|
240
|
+
|
241
|
+
DescribeJobsResponse.add_member(:jobs, Shapes::ShapeRef.new(shape: JobDetailList, location_name: "jobs"))
|
242
|
+
DescribeJobsResponse.struct_class = Types::DescribeJobsResponse
|
243
|
+
|
244
|
+
EnvironmentVariables.member = Shapes::ShapeRef.new(shape: KeyValuePair)
|
245
|
+
|
246
|
+
Host.add_member(:source_path, Shapes::ShapeRef.new(shape: String, location_name: "sourcePath"))
|
247
|
+
Host.struct_class = Types::Host
|
248
|
+
|
249
|
+
JobDefinition.add_member(:job_definition_name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "jobDefinitionName"))
|
250
|
+
JobDefinition.add_member(:job_definition_arn, Shapes::ShapeRef.new(shape: String, required: true, location_name: "jobDefinitionArn"))
|
251
|
+
JobDefinition.add_member(:revision, Shapes::ShapeRef.new(shape: Integer, required: true, location_name: "revision"))
|
252
|
+
JobDefinition.add_member(:status, Shapes::ShapeRef.new(shape: String, location_name: "status"))
|
253
|
+
JobDefinition.add_member(:type, Shapes::ShapeRef.new(shape: String, required: true, location_name: "type"))
|
254
|
+
JobDefinition.add_member(:parameters, Shapes::ShapeRef.new(shape: ParametersMap, location_name: "parameters"))
|
255
|
+
JobDefinition.add_member(:container_properties, Shapes::ShapeRef.new(shape: ContainerProperties, location_name: "containerProperties"))
|
256
|
+
JobDefinition.struct_class = Types::JobDefinition
|
257
|
+
|
258
|
+
JobDefinitionList.member = Shapes::ShapeRef.new(shape: JobDefinition)
|
259
|
+
|
260
|
+
JobDependency.add_member(:job_id, Shapes::ShapeRef.new(shape: String, location_name: "jobId"))
|
261
|
+
JobDependency.struct_class = Types::JobDependency
|
262
|
+
|
263
|
+
JobDependencyList.member = Shapes::ShapeRef.new(shape: JobDependency)
|
264
|
+
|
265
|
+
JobDetail.add_member(:job_name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "jobName"))
|
266
|
+
JobDetail.add_member(:job_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "jobId"))
|
267
|
+
JobDetail.add_member(:job_queue, Shapes::ShapeRef.new(shape: String, required: true, location_name: "jobQueue"))
|
268
|
+
JobDetail.add_member(:status, Shapes::ShapeRef.new(shape: JobStatus, required: true, location_name: "status"))
|
269
|
+
JobDetail.add_member(:status_reason, Shapes::ShapeRef.new(shape: String, location_name: "statusReason"))
|
270
|
+
JobDetail.add_member(:created_at, Shapes::ShapeRef.new(shape: Long, location_name: "createdAt"))
|
271
|
+
JobDetail.add_member(:started_at, Shapes::ShapeRef.new(shape: Long, required: true, location_name: "startedAt"))
|
272
|
+
JobDetail.add_member(:stopped_at, Shapes::ShapeRef.new(shape: Long, location_name: "stoppedAt"))
|
273
|
+
JobDetail.add_member(:depends_on, Shapes::ShapeRef.new(shape: JobDependencyList, location_name: "dependsOn"))
|
274
|
+
JobDetail.add_member(:job_definition, Shapes::ShapeRef.new(shape: String, required: true, location_name: "jobDefinition"))
|
275
|
+
JobDetail.add_member(:parameters, Shapes::ShapeRef.new(shape: ParametersMap, location_name: "parameters"))
|
276
|
+
JobDetail.add_member(:container, Shapes::ShapeRef.new(shape: ContainerDetail, location_name: "container"))
|
277
|
+
JobDetail.struct_class = Types::JobDetail
|
278
|
+
|
279
|
+
JobDetailList.member = Shapes::ShapeRef.new(shape: JobDetail)
|
280
|
+
|
281
|
+
JobQueueDetail.add_member(:job_queue_name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "jobQueueName"))
|
282
|
+
JobQueueDetail.add_member(:job_queue_arn, Shapes::ShapeRef.new(shape: String, required: true, location_name: "jobQueueArn"))
|
283
|
+
JobQueueDetail.add_member(:state, Shapes::ShapeRef.new(shape: JQState, required: true, location_name: "state"))
|
284
|
+
JobQueueDetail.add_member(:status, Shapes::ShapeRef.new(shape: JQStatus, location_name: "status"))
|
285
|
+
JobQueueDetail.add_member(:status_reason, Shapes::ShapeRef.new(shape: String, location_name: "statusReason"))
|
286
|
+
JobQueueDetail.add_member(:priority, Shapes::ShapeRef.new(shape: Integer, required: true, location_name: "priority"))
|
287
|
+
JobQueueDetail.add_member(:compute_environment_order, Shapes::ShapeRef.new(shape: ComputeEnvironmentOrders, required: true, location_name: "computeEnvironmentOrder"))
|
288
|
+
JobQueueDetail.struct_class = Types::JobQueueDetail
|
289
|
+
|
290
|
+
JobQueueDetailList.member = Shapes::ShapeRef.new(shape: JobQueueDetail)
|
291
|
+
|
292
|
+
JobSummary.add_member(:job_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "jobId"))
|
293
|
+
JobSummary.add_member(:job_name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "jobName"))
|
294
|
+
JobSummary.struct_class = Types::JobSummary
|
295
|
+
|
296
|
+
JobSummaryList.member = Shapes::ShapeRef.new(shape: JobSummary)
|
297
|
+
|
298
|
+
KeyValuePair.add_member(:name, Shapes::ShapeRef.new(shape: String, location_name: "name"))
|
299
|
+
KeyValuePair.add_member(:value, Shapes::ShapeRef.new(shape: String, location_name: "value"))
|
300
|
+
KeyValuePair.struct_class = Types::KeyValuePair
|
301
|
+
|
302
|
+
ListJobsRequest.add_member(:job_queue, Shapes::ShapeRef.new(shape: String, required: true, location_name: "jobQueue"))
|
303
|
+
ListJobsRequest.add_member(:job_status, Shapes::ShapeRef.new(shape: JobStatus, location_name: "jobStatus"))
|
304
|
+
ListJobsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: Integer, location_name: "maxResults"))
|
305
|
+
ListJobsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "nextToken"))
|
306
|
+
ListJobsRequest.struct_class = Types::ListJobsRequest
|
307
|
+
|
308
|
+
ListJobsResponse.add_member(:job_summary_list, Shapes::ShapeRef.new(shape: JobSummaryList, required: true, location_name: "jobSummaryList"))
|
309
|
+
ListJobsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "nextToken"))
|
310
|
+
ListJobsResponse.struct_class = Types::ListJobsResponse
|
311
|
+
|
312
|
+
MountPoint.add_member(:container_path, Shapes::ShapeRef.new(shape: String, location_name: "containerPath"))
|
313
|
+
MountPoint.add_member(:read_only, Shapes::ShapeRef.new(shape: Boolean, location_name: "readOnly"))
|
314
|
+
MountPoint.add_member(:source_volume, Shapes::ShapeRef.new(shape: String, location_name: "sourceVolume"))
|
315
|
+
MountPoint.struct_class = Types::MountPoint
|
316
|
+
|
317
|
+
MountPoints.member = Shapes::ShapeRef.new(shape: MountPoint)
|
318
|
+
|
319
|
+
ParametersMap.key = Shapes::ShapeRef.new(shape: String)
|
320
|
+
ParametersMap.value = Shapes::ShapeRef.new(shape: String)
|
321
|
+
|
322
|
+
RegisterJobDefinitionRequest.add_member(:job_definition_name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "jobDefinitionName"))
|
323
|
+
RegisterJobDefinitionRequest.add_member(:type, Shapes::ShapeRef.new(shape: JobDefinitionType, required: true, location_name: "type"))
|
324
|
+
RegisterJobDefinitionRequest.add_member(:parameters, Shapes::ShapeRef.new(shape: ParametersMap, location_name: "parameters"))
|
325
|
+
RegisterJobDefinitionRequest.add_member(:container_properties, Shapes::ShapeRef.new(shape: ContainerProperties, location_name: "containerProperties"))
|
326
|
+
RegisterJobDefinitionRequest.struct_class = Types::RegisterJobDefinitionRequest
|
327
|
+
|
328
|
+
RegisterJobDefinitionResponse.add_member(:job_definition_name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "jobDefinitionName"))
|
329
|
+
RegisterJobDefinitionResponse.add_member(:job_definition_arn, Shapes::ShapeRef.new(shape: String, required: true, location_name: "jobDefinitionArn"))
|
330
|
+
RegisterJobDefinitionResponse.add_member(:revision, Shapes::ShapeRef.new(shape: Integer, required: true, location_name: "revision"))
|
331
|
+
RegisterJobDefinitionResponse.struct_class = Types::RegisterJobDefinitionResponse
|
332
|
+
|
333
|
+
StringList.member = Shapes::ShapeRef.new(shape: String)
|
334
|
+
|
335
|
+
SubmitJobRequest.add_member(:job_name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "jobName"))
|
336
|
+
SubmitJobRequest.add_member(:job_queue, Shapes::ShapeRef.new(shape: String, required: true, location_name: "jobQueue"))
|
337
|
+
SubmitJobRequest.add_member(:depends_on, Shapes::ShapeRef.new(shape: JobDependencyList, location_name: "dependsOn"))
|
338
|
+
SubmitJobRequest.add_member(:job_definition, Shapes::ShapeRef.new(shape: String, required: true, location_name: "jobDefinition"))
|
339
|
+
SubmitJobRequest.add_member(:parameters, Shapes::ShapeRef.new(shape: ParametersMap, location_name: "parameters"))
|
340
|
+
SubmitJobRequest.add_member(:container_overrides, Shapes::ShapeRef.new(shape: ContainerOverrides, location_name: "containerOverrides"))
|
341
|
+
SubmitJobRequest.struct_class = Types::SubmitJobRequest
|
342
|
+
|
343
|
+
SubmitJobResponse.add_member(:job_name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "jobName"))
|
344
|
+
SubmitJobResponse.add_member(:job_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "jobId"))
|
345
|
+
SubmitJobResponse.struct_class = Types::SubmitJobResponse
|
346
|
+
|
347
|
+
TagsMap.key = Shapes::ShapeRef.new(shape: String)
|
348
|
+
TagsMap.value = Shapes::ShapeRef.new(shape: String)
|
349
|
+
|
350
|
+
TerminateJobRequest.add_member(:job_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "jobId"))
|
351
|
+
TerminateJobRequest.add_member(:reason, Shapes::ShapeRef.new(shape: String, required: true, location_name: "reason"))
|
352
|
+
TerminateJobRequest.struct_class = Types::TerminateJobRequest
|
353
|
+
|
354
|
+
TerminateJobResponse.struct_class = Types::TerminateJobResponse
|
355
|
+
|
356
|
+
Ulimit.add_member(:hard_limit, Shapes::ShapeRef.new(shape: Integer, required: true, location_name: "hardLimit"))
|
357
|
+
Ulimit.add_member(:name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "name"))
|
358
|
+
Ulimit.add_member(:soft_limit, Shapes::ShapeRef.new(shape: Integer, required: true, location_name: "softLimit"))
|
359
|
+
Ulimit.struct_class = Types::Ulimit
|
360
|
+
|
361
|
+
Ulimits.member = Shapes::ShapeRef.new(shape: Ulimit)
|
362
|
+
|
363
|
+
UpdateComputeEnvironmentRequest.add_member(:compute_environment, Shapes::ShapeRef.new(shape: String, required: true, location_name: "computeEnvironment"))
|
364
|
+
UpdateComputeEnvironmentRequest.add_member(:state, Shapes::ShapeRef.new(shape: CEState, location_name: "state"))
|
365
|
+
UpdateComputeEnvironmentRequest.add_member(:compute_resources, Shapes::ShapeRef.new(shape: ComputeResourceUpdate, location_name: "computeResources"))
|
366
|
+
UpdateComputeEnvironmentRequest.add_member(:service_role, Shapes::ShapeRef.new(shape: String, location_name: "serviceRole"))
|
367
|
+
UpdateComputeEnvironmentRequest.struct_class = Types::UpdateComputeEnvironmentRequest
|
368
|
+
|
369
|
+
UpdateComputeEnvironmentResponse.add_member(:compute_environment_name, Shapes::ShapeRef.new(shape: String, location_name: "computeEnvironmentName"))
|
370
|
+
UpdateComputeEnvironmentResponse.add_member(:compute_environment_arn, Shapes::ShapeRef.new(shape: String, location_name: "computeEnvironmentArn"))
|
371
|
+
UpdateComputeEnvironmentResponse.struct_class = Types::UpdateComputeEnvironmentResponse
|
372
|
+
|
373
|
+
UpdateJobQueueRequest.add_member(:job_queue, Shapes::ShapeRef.new(shape: String, required: true, location_name: "jobQueue"))
|
374
|
+
UpdateJobQueueRequest.add_member(:state, Shapes::ShapeRef.new(shape: JQState, location_name: "state"))
|
375
|
+
UpdateJobQueueRequest.add_member(:priority, Shapes::ShapeRef.new(shape: Integer, location_name: "priority"))
|
376
|
+
UpdateJobQueueRequest.add_member(:compute_environment_order, Shapes::ShapeRef.new(shape: ComputeEnvironmentOrders, location_name: "computeEnvironmentOrder"))
|
377
|
+
UpdateJobQueueRequest.struct_class = Types::UpdateJobQueueRequest
|
378
|
+
|
379
|
+
UpdateJobQueueResponse.add_member(:job_queue_name, Shapes::ShapeRef.new(shape: String, location_name: "jobQueueName"))
|
380
|
+
UpdateJobQueueResponse.add_member(:job_queue_arn, Shapes::ShapeRef.new(shape: String, location_name: "jobQueueArn"))
|
381
|
+
UpdateJobQueueResponse.struct_class = Types::UpdateJobQueueResponse
|
382
|
+
|
383
|
+
Volume.add_member(:host, Shapes::ShapeRef.new(shape: Host, location_name: "host"))
|
384
|
+
Volume.add_member(:name, Shapes::ShapeRef.new(shape: String, location_name: "name"))
|
385
|
+
Volume.struct_class = Types::Volume
|
386
|
+
|
387
|
+
Volumes.member = Shapes::ShapeRef.new(shape: Volume)
|
388
|
+
|
389
|
+
|
390
|
+
# @api private
|
391
|
+
API = Seahorse::Model::Api.new.tap do |api|
|
392
|
+
|
393
|
+
api.version = "2016-08-10"
|
394
|
+
|
395
|
+
api.metadata = {
|
396
|
+
"endpointPrefix" => "batch",
|
397
|
+
"jsonVersion" => "1.1",
|
398
|
+
"protocol" => "rest-json",
|
399
|
+
"serviceFullName" => "AWS Batch",
|
400
|
+
"signatureVersion" => "v4",
|
401
|
+
}
|
402
|
+
|
403
|
+
api.add_operation(:cancel_job, Seahorse::Model::Operation.new.tap do |o|
|
404
|
+
o.name = "CancelJob"
|
405
|
+
o.http_method = "POST"
|
406
|
+
o.http_request_uri = "/v1/canceljob"
|
407
|
+
o.input = Shapes::ShapeRef.new(shape: CancelJobRequest)
|
408
|
+
o.output = Shapes::ShapeRef.new(shape: CancelJobResponse)
|
409
|
+
o.errors << Shapes::ShapeRef.new(shape: ClientException)
|
410
|
+
o.errors << Shapes::ShapeRef.new(shape: ServerException)
|
411
|
+
end)
|
412
|
+
|
413
|
+
api.add_operation(:create_compute_environment, Seahorse::Model::Operation.new.tap do |o|
|
414
|
+
o.name = "CreateComputeEnvironment"
|
415
|
+
o.http_method = "POST"
|
416
|
+
o.http_request_uri = "/v1/createcomputeenvironment"
|
417
|
+
o.input = Shapes::ShapeRef.new(shape: CreateComputeEnvironmentRequest)
|
418
|
+
o.output = Shapes::ShapeRef.new(shape: CreateComputeEnvironmentResponse)
|
419
|
+
o.errors << Shapes::ShapeRef.new(shape: ClientException)
|
420
|
+
o.errors << Shapes::ShapeRef.new(shape: ServerException)
|
421
|
+
end)
|
422
|
+
|
423
|
+
api.add_operation(:create_job_queue, Seahorse::Model::Operation.new.tap do |o|
|
424
|
+
o.name = "CreateJobQueue"
|
425
|
+
o.http_method = "POST"
|
426
|
+
o.http_request_uri = "/v1/createjobqueue"
|
427
|
+
o.input = Shapes::ShapeRef.new(shape: CreateJobQueueRequest)
|
428
|
+
o.output = Shapes::ShapeRef.new(shape: CreateJobQueueResponse)
|
429
|
+
o.errors << Shapes::ShapeRef.new(shape: ClientException)
|
430
|
+
o.errors << Shapes::ShapeRef.new(shape: ServerException)
|
431
|
+
end)
|
432
|
+
|
433
|
+
api.add_operation(:delete_compute_environment, Seahorse::Model::Operation.new.tap do |o|
|
434
|
+
o.name = "DeleteComputeEnvironment"
|
435
|
+
o.http_method = "POST"
|
436
|
+
o.http_request_uri = "/v1/deletecomputeenvironment"
|
437
|
+
o.input = Shapes::ShapeRef.new(shape: DeleteComputeEnvironmentRequest)
|
438
|
+
o.output = Shapes::ShapeRef.new(shape: DeleteComputeEnvironmentResponse)
|
439
|
+
o.errors << Shapes::ShapeRef.new(shape: ClientException)
|
440
|
+
o.errors << Shapes::ShapeRef.new(shape: ServerException)
|
441
|
+
end)
|
442
|
+
|
443
|
+
api.add_operation(:delete_job_queue, Seahorse::Model::Operation.new.tap do |o|
|
444
|
+
o.name = "DeleteJobQueue"
|
445
|
+
o.http_method = "POST"
|
446
|
+
o.http_request_uri = "/v1/deletejobqueue"
|
447
|
+
o.input = Shapes::ShapeRef.new(shape: DeleteJobQueueRequest)
|
448
|
+
o.output = Shapes::ShapeRef.new(shape: DeleteJobQueueResponse)
|
449
|
+
o.errors << Shapes::ShapeRef.new(shape: ClientException)
|
450
|
+
o.errors << Shapes::ShapeRef.new(shape: ServerException)
|
451
|
+
end)
|
452
|
+
|
453
|
+
api.add_operation(:deregister_job_definition, Seahorse::Model::Operation.new.tap do |o|
|
454
|
+
o.name = "DeregisterJobDefinition"
|
455
|
+
o.http_method = "POST"
|
456
|
+
o.http_request_uri = "/v1/deregisterjobdefinition"
|
457
|
+
o.input = Shapes::ShapeRef.new(shape: DeregisterJobDefinitionRequest)
|
458
|
+
o.output = Shapes::ShapeRef.new(shape: DeregisterJobDefinitionResponse)
|
459
|
+
o.errors << Shapes::ShapeRef.new(shape: ClientException)
|
460
|
+
o.errors << Shapes::ShapeRef.new(shape: ServerException)
|
461
|
+
end)
|
462
|
+
|
463
|
+
api.add_operation(:describe_compute_environments, Seahorse::Model::Operation.new.tap do |o|
|
464
|
+
o.name = "DescribeComputeEnvironments"
|
465
|
+
o.http_method = "POST"
|
466
|
+
o.http_request_uri = "/v1/describecomputeenvironments"
|
467
|
+
o.input = Shapes::ShapeRef.new(shape: DescribeComputeEnvironmentsRequest)
|
468
|
+
o.output = Shapes::ShapeRef.new(shape: DescribeComputeEnvironmentsResponse)
|
469
|
+
o.errors << Shapes::ShapeRef.new(shape: ClientException)
|
470
|
+
o.errors << Shapes::ShapeRef.new(shape: ServerException)
|
471
|
+
end)
|
472
|
+
|
473
|
+
api.add_operation(:describe_job_definitions, Seahorse::Model::Operation.new.tap do |o|
|
474
|
+
o.name = "DescribeJobDefinitions"
|
475
|
+
o.http_method = "POST"
|
476
|
+
o.http_request_uri = "/v1/describejobdefinitions"
|
477
|
+
o.input = Shapes::ShapeRef.new(shape: DescribeJobDefinitionsRequest)
|
478
|
+
o.output = Shapes::ShapeRef.new(shape: DescribeJobDefinitionsResponse)
|
479
|
+
o.errors << Shapes::ShapeRef.new(shape: ClientException)
|
480
|
+
o.errors << Shapes::ShapeRef.new(shape: ServerException)
|
481
|
+
end)
|
482
|
+
|
483
|
+
api.add_operation(:describe_job_queues, Seahorse::Model::Operation.new.tap do |o|
|
484
|
+
o.name = "DescribeJobQueues"
|
485
|
+
o.http_method = "POST"
|
486
|
+
o.http_request_uri = "/v1/describejobqueues"
|
487
|
+
o.input = Shapes::ShapeRef.new(shape: DescribeJobQueuesRequest)
|
488
|
+
o.output = Shapes::ShapeRef.new(shape: DescribeJobQueuesResponse)
|
489
|
+
o.errors << Shapes::ShapeRef.new(shape: ClientException)
|
490
|
+
o.errors << Shapes::ShapeRef.new(shape: ServerException)
|
491
|
+
end)
|
492
|
+
|
493
|
+
api.add_operation(:describe_jobs, Seahorse::Model::Operation.new.tap do |o|
|
494
|
+
o.name = "DescribeJobs"
|
495
|
+
o.http_method = "POST"
|
496
|
+
o.http_request_uri = "/v1/describejobs"
|
497
|
+
o.input = Shapes::ShapeRef.new(shape: DescribeJobsRequest)
|
498
|
+
o.output = Shapes::ShapeRef.new(shape: DescribeJobsResponse)
|
499
|
+
o.errors << Shapes::ShapeRef.new(shape: ClientException)
|
500
|
+
o.errors << Shapes::ShapeRef.new(shape: ServerException)
|
501
|
+
end)
|
502
|
+
|
503
|
+
api.add_operation(:list_jobs, Seahorse::Model::Operation.new.tap do |o|
|
504
|
+
o.name = "ListJobs"
|
505
|
+
o.http_method = "POST"
|
506
|
+
o.http_request_uri = "/v1/listjobs"
|
507
|
+
o.input = Shapes::ShapeRef.new(shape: ListJobsRequest)
|
508
|
+
o.output = Shapes::ShapeRef.new(shape: ListJobsResponse)
|
509
|
+
o.errors << Shapes::ShapeRef.new(shape: ClientException)
|
510
|
+
o.errors << Shapes::ShapeRef.new(shape: ServerException)
|
511
|
+
end)
|
512
|
+
|
513
|
+
api.add_operation(:register_job_definition, Seahorse::Model::Operation.new.tap do |o|
|
514
|
+
o.name = "RegisterJobDefinition"
|
515
|
+
o.http_method = "POST"
|
516
|
+
o.http_request_uri = "/v1/registerjobdefinition"
|
517
|
+
o.input = Shapes::ShapeRef.new(shape: RegisterJobDefinitionRequest)
|
518
|
+
o.output = Shapes::ShapeRef.new(shape: RegisterJobDefinitionResponse)
|
519
|
+
o.errors << Shapes::ShapeRef.new(shape: ClientException)
|
520
|
+
o.errors << Shapes::ShapeRef.new(shape: ServerException)
|
521
|
+
end)
|
522
|
+
|
523
|
+
api.add_operation(:submit_job, Seahorse::Model::Operation.new.tap do |o|
|
524
|
+
o.name = "SubmitJob"
|
525
|
+
o.http_method = "POST"
|
526
|
+
o.http_request_uri = "/v1/submitjob"
|
527
|
+
o.input = Shapes::ShapeRef.new(shape: SubmitJobRequest)
|
528
|
+
o.output = Shapes::ShapeRef.new(shape: SubmitJobResponse)
|
529
|
+
o.errors << Shapes::ShapeRef.new(shape: ClientException)
|
530
|
+
o.errors << Shapes::ShapeRef.new(shape: ServerException)
|
531
|
+
end)
|
532
|
+
|
533
|
+
api.add_operation(:terminate_job, Seahorse::Model::Operation.new.tap do |o|
|
534
|
+
o.name = "TerminateJob"
|
535
|
+
o.http_method = "POST"
|
536
|
+
o.http_request_uri = "/v1/terminatejob"
|
537
|
+
o.input = Shapes::ShapeRef.new(shape: TerminateJobRequest)
|
538
|
+
o.output = Shapes::ShapeRef.new(shape: TerminateJobResponse)
|
539
|
+
o.errors << Shapes::ShapeRef.new(shape: ClientException)
|
540
|
+
o.errors << Shapes::ShapeRef.new(shape: ServerException)
|
541
|
+
end)
|
542
|
+
|
543
|
+
api.add_operation(:update_compute_environment, Seahorse::Model::Operation.new.tap do |o|
|
544
|
+
o.name = "UpdateComputeEnvironment"
|
545
|
+
o.http_method = "POST"
|
546
|
+
o.http_request_uri = "/v1/updatecomputeenvironment"
|
547
|
+
o.input = Shapes::ShapeRef.new(shape: UpdateComputeEnvironmentRequest)
|
548
|
+
o.output = Shapes::ShapeRef.new(shape: UpdateComputeEnvironmentResponse)
|
549
|
+
o.errors << Shapes::ShapeRef.new(shape: ClientException)
|
550
|
+
o.errors << Shapes::ShapeRef.new(shape: ServerException)
|
551
|
+
end)
|
552
|
+
|
553
|
+
api.add_operation(:update_job_queue, Seahorse::Model::Operation.new.tap do |o|
|
554
|
+
o.name = "UpdateJobQueue"
|
555
|
+
o.http_method = "POST"
|
556
|
+
o.http_request_uri = "/v1/updatejobqueue"
|
557
|
+
o.input = Shapes::ShapeRef.new(shape: UpdateJobQueueRequest)
|
558
|
+
o.output = Shapes::ShapeRef.new(shape: UpdateJobQueueResponse)
|
559
|
+
o.errors << Shapes::ShapeRef.new(shape: ClientException)
|
560
|
+
o.errors << Shapes::ShapeRef.new(shape: ServerException)
|
561
|
+
end)
|
562
|
+
end
|
563
|
+
|
564
|
+
end
|
565
|
+
end
|