aws-sdk-emrserverless 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/CHANGELOG.md +8 -0
- data/LICENSE.txt +202 -0
- data/VERSION +1 -0
- data/lib/aws-sdk-emrserverless/client.rb +1133 -0
- data/lib/aws-sdk-emrserverless/client_api.rb +600 -0
- data/lib/aws-sdk-emrserverless/customizations.rb +0 -0
- data/lib/aws-sdk-emrserverless/errors.rb +118 -0
- data/lib/aws-sdk-emrserverless/resource.rb +26 -0
- data/lib/aws-sdk-emrserverless/types.rb +1639 -0
- data/lib/aws-sdk-emrserverless.rb +53 -0
- metadata +90 -0
@@ -0,0 +1,600 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# WARNING ABOUT GENERATED CODE
|
4
|
+
#
|
5
|
+
# This file is generated. See the contributing guide for more information:
|
6
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
7
|
+
#
|
8
|
+
# WARNING ABOUT GENERATED CODE
|
9
|
+
|
10
|
+
module Aws::EMRServerless
|
11
|
+
# @api private
|
12
|
+
module ClientApi
|
13
|
+
|
14
|
+
include Seahorse::Model
|
15
|
+
|
16
|
+
Application = Shapes::StructureShape.new(name: 'Application')
|
17
|
+
ApplicationArn = Shapes::StringShape.new(name: 'ApplicationArn')
|
18
|
+
ApplicationId = Shapes::StringShape.new(name: 'ApplicationId')
|
19
|
+
ApplicationList = Shapes::ListShape.new(name: 'ApplicationList')
|
20
|
+
ApplicationName = Shapes::StringShape.new(name: 'ApplicationName')
|
21
|
+
ApplicationState = Shapes::StringShape.new(name: 'ApplicationState')
|
22
|
+
ApplicationStateSet = Shapes::ListShape.new(name: 'ApplicationStateSet')
|
23
|
+
ApplicationSummary = Shapes::StructureShape.new(name: 'ApplicationSummary')
|
24
|
+
AutoStartConfig = Shapes::StructureShape.new(name: 'AutoStartConfig')
|
25
|
+
AutoStopConfig = Shapes::StructureShape.new(name: 'AutoStopConfig')
|
26
|
+
AutoStopConfigIdleTimeoutMinutesInteger = Shapes::IntegerShape.new(name: 'AutoStopConfigIdleTimeoutMinutesInteger')
|
27
|
+
Boolean = Shapes::BooleanShape.new(name: 'Boolean')
|
28
|
+
CancelJobRunRequest = Shapes::StructureShape.new(name: 'CancelJobRunRequest')
|
29
|
+
CancelJobRunResponse = Shapes::StructureShape.new(name: 'CancelJobRunResponse')
|
30
|
+
ClientToken = Shapes::StringShape.new(name: 'ClientToken')
|
31
|
+
Configuration = Shapes::StructureShape.new(name: 'Configuration')
|
32
|
+
ConfigurationList = Shapes::ListShape.new(name: 'ConfigurationList')
|
33
|
+
ConfigurationOverrides = Shapes::StructureShape.new(name: 'ConfigurationOverrides')
|
34
|
+
ConflictException = Shapes::StructureShape.new(name: 'ConflictException')
|
35
|
+
CpuSize = Shapes::StringShape.new(name: 'CpuSize')
|
36
|
+
CreateApplicationRequest = Shapes::StructureShape.new(name: 'CreateApplicationRequest')
|
37
|
+
CreateApplicationResponse = Shapes::StructureShape.new(name: 'CreateApplicationResponse')
|
38
|
+
Date = Shapes::TimestampShape.new(name: 'Date')
|
39
|
+
DeleteApplicationRequest = Shapes::StructureShape.new(name: 'DeleteApplicationRequest')
|
40
|
+
DeleteApplicationResponse = Shapes::StructureShape.new(name: 'DeleteApplicationResponse')
|
41
|
+
DiskSize = Shapes::StringShape.new(name: 'DiskSize')
|
42
|
+
Double = Shapes::FloatShape.new(name: 'Double')
|
43
|
+
Duration = Shapes::IntegerShape.new(name: 'Duration')
|
44
|
+
EncryptionKeyArn = Shapes::StringShape.new(name: 'EncryptionKeyArn')
|
45
|
+
EngineType = Shapes::StringShape.new(name: 'EngineType')
|
46
|
+
EntryPointArgument = Shapes::StringShape.new(name: 'EntryPointArgument')
|
47
|
+
EntryPointArguments = Shapes::ListShape.new(name: 'EntryPointArguments')
|
48
|
+
EntryPointPath = Shapes::StringShape.new(name: 'EntryPointPath')
|
49
|
+
GetApplicationRequest = Shapes::StructureShape.new(name: 'GetApplicationRequest')
|
50
|
+
GetApplicationResponse = Shapes::StructureShape.new(name: 'GetApplicationResponse')
|
51
|
+
GetJobRunRequest = Shapes::StructureShape.new(name: 'GetJobRunRequest')
|
52
|
+
GetJobRunResponse = Shapes::StructureShape.new(name: 'GetJobRunResponse')
|
53
|
+
Hive = Shapes::StructureShape.new(name: 'Hive')
|
54
|
+
HiveCliParameters = Shapes::StringShape.new(name: 'HiveCliParameters')
|
55
|
+
IAMRoleArn = Shapes::StringShape.new(name: 'IAMRoleArn')
|
56
|
+
InitScriptPath = Shapes::StringShape.new(name: 'InitScriptPath')
|
57
|
+
InitialCapacityConfig = Shapes::StructureShape.new(name: 'InitialCapacityConfig')
|
58
|
+
InitialCapacityConfigMap = Shapes::MapShape.new(name: 'InitialCapacityConfigMap')
|
59
|
+
Integer = Shapes::IntegerShape.new(name: 'Integer')
|
60
|
+
InternalServerException = Shapes::StructureShape.new(name: 'InternalServerException')
|
61
|
+
JobArn = Shapes::StringShape.new(name: 'JobArn')
|
62
|
+
JobDriver = Shapes::UnionShape.new(name: 'JobDriver')
|
63
|
+
JobRun = Shapes::StructureShape.new(name: 'JobRun')
|
64
|
+
JobRunId = Shapes::StringShape.new(name: 'JobRunId')
|
65
|
+
JobRunState = Shapes::StringShape.new(name: 'JobRunState')
|
66
|
+
JobRunStateSet = Shapes::ListShape.new(name: 'JobRunStateSet')
|
67
|
+
JobRunSummary = Shapes::StructureShape.new(name: 'JobRunSummary')
|
68
|
+
JobRunType = Shapes::StringShape.new(name: 'JobRunType')
|
69
|
+
JobRuns = Shapes::ListShape.new(name: 'JobRuns')
|
70
|
+
ListApplicationsRequest = Shapes::StructureShape.new(name: 'ListApplicationsRequest')
|
71
|
+
ListApplicationsRequestMaxResultsInteger = Shapes::IntegerShape.new(name: 'ListApplicationsRequestMaxResultsInteger')
|
72
|
+
ListApplicationsResponse = Shapes::StructureShape.new(name: 'ListApplicationsResponse')
|
73
|
+
ListJobRunsRequest = Shapes::StructureShape.new(name: 'ListJobRunsRequest')
|
74
|
+
ListJobRunsRequestMaxResultsInteger = Shapes::IntegerShape.new(name: 'ListJobRunsRequestMaxResultsInteger')
|
75
|
+
ListJobRunsResponse = Shapes::StructureShape.new(name: 'ListJobRunsResponse')
|
76
|
+
ListTagsForResourceRequest = Shapes::StructureShape.new(name: 'ListTagsForResourceRequest')
|
77
|
+
ListTagsForResourceResponse = Shapes::StructureShape.new(name: 'ListTagsForResourceResponse')
|
78
|
+
ManagedPersistenceMonitoringConfiguration = Shapes::StructureShape.new(name: 'ManagedPersistenceMonitoringConfiguration')
|
79
|
+
MaximumAllowedResources = Shapes::StructureShape.new(name: 'MaximumAllowedResources')
|
80
|
+
MemorySize = Shapes::StringShape.new(name: 'MemorySize')
|
81
|
+
MonitoringConfiguration = Shapes::StructureShape.new(name: 'MonitoringConfiguration')
|
82
|
+
NetworkConfiguration = Shapes::StructureShape.new(name: 'NetworkConfiguration')
|
83
|
+
NextToken = Shapes::StringShape.new(name: 'NextToken')
|
84
|
+
Query = Shapes::StringShape.new(name: 'Query')
|
85
|
+
ReleaseLabel = Shapes::StringShape.new(name: 'ReleaseLabel')
|
86
|
+
RequestIdentityUserArn = Shapes::StringShape.new(name: 'RequestIdentityUserArn')
|
87
|
+
ResourceArn = Shapes::StringShape.new(name: 'ResourceArn')
|
88
|
+
ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
|
89
|
+
S3MonitoringConfiguration = Shapes::StructureShape.new(name: 'S3MonitoringConfiguration')
|
90
|
+
SecurityGroupIds = Shapes::ListShape.new(name: 'SecurityGroupIds')
|
91
|
+
SecurityGroupString = Shapes::StringShape.new(name: 'SecurityGroupString')
|
92
|
+
SensitivePropertiesMap = Shapes::MapShape.new(name: 'SensitivePropertiesMap')
|
93
|
+
ServiceQuotaExceededException = Shapes::StructureShape.new(name: 'ServiceQuotaExceededException')
|
94
|
+
SparkSubmit = Shapes::StructureShape.new(name: 'SparkSubmit')
|
95
|
+
SparkSubmitParameters = Shapes::StringShape.new(name: 'SparkSubmitParameters')
|
96
|
+
StartApplicationRequest = Shapes::StructureShape.new(name: 'StartApplicationRequest')
|
97
|
+
StartApplicationResponse = Shapes::StructureShape.new(name: 'StartApplicationResponse')
|
98
|
+
StartJobRunRequest = Shapes::StructureShape.new(name: 'StartJobRunRequest')
|
99
|
+
StartJobRunResponse = Shapes::StructureShape.new(name: 'StartJobRunResponse')
|
100
|
+
StopApplicationRequest = Shapes::StructureShape.new(name: 'StopApplicationRequest')
|
101
|
+
StopApplicationResponse = Shapes::StructureShape.new(name: 'StopApplicationResponse')
|
102
|
+
String1024 = Shapes::StringShape.new(name: 'String1024')
|
103
|
+
String256 = Shapes::StringShape.new(name: 'String256')
|
104
|
+
SubnetIds = Shapes::ListShape.new(name: 'SubnetIds')
|
105
|
+
SubnetString = Shapes::StringShape.new(name: 'SubnetString')
|
106
|
+
TagKey = Shapes::StringShape.new(name: 'TagKey')
|
107
|
+
TagKeyList = Shapes::ListShape.new(name: 'TagKeyList')
|
108
|
+
TagMap = Shapes::MapShape.new(name: 'TagMap')
|
109
|
+
TagResourceRequest = Shapes::StructureShape.new(name: 'TagResourceRequest')
|
110
|
+
TagResourceResponse = Shapes::StructureShape.new(name: 'TagResourceResponse')
|
111
|
+
TagValue = Shapes::StringShape.new(name: 'TagValue')
|
112
|
+
TotalResourceUtilization = Shapes::StructureShape.new(name: 'TotalResourceUtilization')
|
113
|
+
UntagResourceRequest = Shapes::StructureShape.new(name: 'UntagResourceRequest')
|
114
|
+
UntagResourceResponse = Shapes::StructureShape.new(name: 'UntagResourceResponse')
|
115
|
+
UpdateApplicationRequest = Shapes::StructureShape.new(name: 'UpdateApplicationRequest')
|
116
|
+
UpdateApplicationResponse = Shapes::StructureShape.new(name: 'UpdateApplicationResponse')
|
117
|
+
UriString = Shapes::StringShape.new(name: 'UriString')
|
118
|
+
ValidationException = Shapes::StructureShape.new(name: 'ValidationException')
|
119
|
+
WorkerCounts = Shapes::IntegerShape.new(name: 'WorkerCounts')
|
120
|
+
WorkerResourceConfig = Shapes::StructureShape.new(name: 'WorkerResourceConfig')
|
121
|
+
WorkerTypeString = Shapes::StringShape.new(name: 'WorkerTypeString')
|
122
|
+
|
123
|
+
Application.add_member(:application_id, Shapes::ShapeRef.new(shape: ApplicationId, required: true, location_name: "applicationId"))
|
124
|
+
Application.add_member(:name, Shapes::ShapeRef.new(shape: ApplicationName, location_name: "name"))
|
125
|
+
Application.add_member(:arn, Shapes::ShapeRef.new(shape: ApplicationArn, required: true, location_name: "arn"))
|
126
|
+
Application.add_member(:release_label, Shapes::ShapeRef.new(shape: ReleaseLabel, required: true, location_name: "releaseLabel"))
|
127
|
+
Application.add_member(:type, Shapes::ShapeRef.new(shape: EngineType, required: true, location_name: "type"))
|
128
|
+
Application.add_member(:state, Shapes::ShapeRef.new(shape: ApplicationState, required: true, location_name: "state"))
|
129
|
+
Application.add_member(:state_details, Shapes::ShapeRef.new(shape: String256, location_name: "stateDetails"))
|
130
|
+
Application.add_member(:initial_capacity, Shapes::ShapeRef.new(shape: InitialCapacityConfigMap, location_name: "initialCapacity"))
|
131
|
+
Application.add_member(:maximum_capacity, Shapes::ShapeRef.new(shape: MaximumAllowedResources, location_name: "maximumCapacity"))
|
132
|
+
Application.add_member(:created_at, Shapes::ShapeRef.new(shape: Date, required: true, location_name: "createdAt"))
|
133
|
+
Application.add_member(:updated_at, Shapes::ShapeRef.new(shape: Date, required: true, location_name: "updatedAt"))
|
134
|
+
Application.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "tags"))
|
135
|
+
Application.add_member(:auto_start_configuration, Shapes::ShapeRef.new(shape: AutoStartConfig, location_name: "autoStartConfiguration"))
|
136
|
+
Application.add_member(:auto_stop_configuration, Shapes::ShapeRef.new(shape: AutoStopConfig, location_name: "autoStopConfiguration"))
|
137
|
+
Application.add_member(:network_configuration, Shapes::ShapeRef.new(shape: NetworkConfiguration, location_name: "networkConfiguration"))
|
138
|
+
Application.struct_class = Types::Application
|
139
|
+
|
140
|
+
ApplicationList.member = Shapes::ShapeRef.new(shape: ApplicationSummary)
|
141
|
+
|
142
|
+
ApplicationStateSet.member = Shapes::ShapeRef.new(shape: ApplicationState)
|
143
|
+
|
144
|
+
ApplicationSummary.add_member(:id, Shapes::ShapeRef.new(shape: ApplicationId, required: true, location_name: "id"))
|
145
|
+
ApplicationSummary.add_member(:name, Shapes::ShapeRef.new(shape: ApplicationName, location_name: "name"))
|
146
|
+
ApplicationSummary.add_member(:arn, Shapes::ShapeRef.new(shape: ApplicationArn, required: true, location_name: "arn"))
|
147
|
+
ApplicationSummary.add_member(:release_label, Shapes::ShapeRef.new(shape: ReleaseLabel, required: true, location_name: "releaseLabel"))
|
148
|
+
ApplicationSummary.add_member(:type, Shapes::ShapeRef.new(shape: EngineType, required: true, location_name: "type"))
|
149
|
+
ApplicationSummary.add_member(:state, Shapes::ShapeRef.new(shape: ApplicationState, required: true, location_name: "state"))
|
150
|
+
ApplicationSummary.add_member(:state_details, Shapes::ShapeRef.new(shape: String256, location_name: "stateDetails"))
|
151
|
+
ApplicationSummary.add_member(:created_at, Shapes::ShapeRef.new(shape: Date, required: true, location_name: "createdAt"))
|
152
|
+
ApplicationSummary.add_member(:updated_at, Shapes::ShapeRef.new(shape: Date, required: true, location_name: "updatedAt"))
|
153
|
+
ApplicationSummary.struct_class = Types::ApplicationSummary
|
154
|
+
|
155
|
+
AutoStartConfig.add_member(:enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "enabled"))
|
156
|
+
AutoStartConfig.struct_class = Types::AutoStartConfig
|
157
|
+
|
158
|
+
AutoStopConfig.add_member(:enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "enabled"))
|
159
|
+
AutoStopConfig.add_member(:idle_timeout_minutes, Shapes::ShapeRef.new(shape: AutoStopConfigIdleTimeoutMinutesInteger, location_name: "idleTimeoutMinutes", metadata: {"box"=>true}))
|
160
|
+
AutoStopConfig.struct_class = Types::AutoStopConfig
|
161
|
+
|
162
|
+
CancelJobRunRequest.add_member(:application_id, Shapes::ShapeRef.new(shape: ApplicationId, required: true, location: "uri", location_name: "applicationId"))
|
163
|
+
CancelJobRunRequest.add_member(:job_run_id, Shapes::ShapeRef.new(shape: JobRunId, required: true, location: "uri", location_name: "jobRunId"))
|
164
|
+
CancelJobRunRequest.struct_class = Types::CancelJobRunRequest
|
165
|
+
|
166
|
+
CancelJobRunResponse.add_member(:application_id, Shapes::ShapeRef.new(shape: ApplicationId, required: true, location_name: "applicationId"))
|
167
|
+
CancelJobRunResponse.add_member(:job_run_id, Shapes::ShapeRef.new(shape: JobRunId, required: true, location_name: "jobRunId"))
|
168
|
+
CancelJobRunResponse.struct_class = Types::CancelJobRunResponse
|
169
|
+
|
170
|
+
Configuration.add_member(:classification, Shapes::ShapeRef.new(shape: String1024, required: true, location_name: "classification"))
|
171
|
+
Configuration.add_member(:properties, Shapes::ShapeRef.new(shape: SensitivePropertiesMap, location_name: "properties"))
|
172
|
+
Configuration.add_member(:configurations, Shapes::ShapeRef.new(shape: ConfigurationList, location_name: "configurations"))
|
173
|
+
Configuration.struct_class = Types::Configuration
|
174
|
+
|
175
|
+
ConfigurationList.member = Shapes::ShapeRef.new(shape: Configuration)
|
176
|
+
|
177
|
+
ConfigurationOverrides.add_member(:application_configuration, Shapes::ShapeRef.new(shape: ConfigurationList, location_name: "applicationConfiguration"))
|
178
|
+
ConfigurationOverrides.add_member(:monitoring_configuration, Shapes::ShapeRef.new(shape: MonitoringConfiguration, location_name: "monitoringConfiguration"))
|
179
|
+
ConfigurationOverrides.struct_class = Types::ConfigurationOverrides
|
180
|
+
|
181
|
+
ConflictException.add_member(:message, Shapes::ShapeRef.new(shape: String1024, required: true, location_name: "message"))
|
182
|
+
ConflictException.struct_class = Types::ConflictException
|
183
|
+
|
184
|
+
CreateApplicationRequest.add_member(:name, Shapes::ShapeRef.new(shape: ApplicationName, location_name: "name"))
|
185
|
+
CreateApplicationRequest.add_member(:release_label, Shapes::ShapeRef.new(shape: ReleaseLabel, required: true, location_name: "releaseLabel"))
|
186
|
+
CreateApplicationRequest.add_member(:type, Shapes::ShapeRef.new(shape: EngineType, required: true, location_name: "type"))
|
187
|
+
CreateApplicationRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, required: true, location_name: "clientToken", metadata: {"idempotencyToken"=>true}))
|
188
|
+
CreateApplicationRequest.add_member(:initial_capacity, Shapes::ShapeRef.new(shape: InitialCapacityConfigMap, location_name: "initialCapacity"))
|
189
|
+
CreateApplicationRequest.add_member(:maximum_capacity, Shapes::ShapeRef.new(shape: MaximumAllowedResources, location_name: "maximumCapacity"))
|
190
|
+
CreateApplicationRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "tags"))
|
191
|
+
CreateApplicationRequest.add_member(:auto_start_configuration, Shapes::ShapeRef.new(shape: AutoStartConfig, location_name: "autoStartConfiguration"))
|
192
|
+
CreateApplicationRequest.add_member(:auto_stop_configuration, Shapes::ShapeRef.new(shape: AutoStopConfig, location_name: "autoStopConfiguration"))
|
193
|
+
CreateApplicationRequest.add_member(:network_configuration, Shapes::ShapeRef.new(shape: NetworkConfiguration, location_name: "networkConfiguration"))
|
194
|
+
CreateApplicationRequest.struct_class = Types::CreateApplicationRequest
|
195
|
+
|
196
|
+
CreateApplicationResponse.add_member(:application_id, Shapes::ShapeRef.new(shape: ApplicationId, required: true, location_name: "applicationId"))
|
197
|
+
CreateApplicationResponse.add_member(:name, Shapes::ShapeRef.new(shape: ApplicationName, location_name: "name"))
|
198
|
+
CreateApplicationResponse.add_member(:arn, Shapes::ShapeRef.new(shape: ApplicationArn, required: true, location_name: "arn"))
|
199
|
+
CreateApplicationResponse.struct_class = Types::CreateApplicationResponse
|
200
|
+
|
201
|
+
DeleteApplicationRequest.add_member(:application_id, Shapes::ShapeRef.new(shape: ApplicationId, required: true, location: "uri", location_name: "applicationId"))
|
202
|
+
DeleteApplicationRequest.struct_class = Types::DeleteApplicationRequest
|
203
|
+
|
204
|
+
DeleteApplicationResponse.struct_class = Types::DeleteApplicationResponse
|
205
|
+
|
206
|
+
EntryPointArguments.member = Shapes::ShapeRef.new(shape: EntryPointArgument)
|
207
|
+
|
208
|
+
GetApplicationRequest.add_member(:application_id, Shapes::ShapeRef.new(shape: ApplicationId, required: true, location: "uri", location_name: "applicationId"))
|
209
|
+
GetApplicationRequest.struct_class = Types::GetApplicationRequest
|
210
|
+
|
211
|
+
GetApplicationResponse.add_member(:application, Shapes::ShapeRef.new(shape: Application, required: true, location_name: "application"))
|
212
|
+
GetApplicationResponse.struct_class = Types::GetApplicationResponse
|
213
|
+
|
214
|
+
GetJobRunRequest.add_member(:application_id, Shapes::ShapeRef.new(shape: ApplicationId, required: true, location: "uri", location_name: "applicationId"))
|
215
|
+
GetJobRunRequest.add_member(:job_run_id, Shapes::ShapeRef.new(shape: JobRunId, required: true, location: "uri", location_name: "jobRunId"))
|
216
|
+
GetJobRunRequest.struct_class = Types::GetJobRunRequest
|
217
|
+
|
218
|
+
GetJobRunResponse.add_member(:job_run, Shapes::ShapeRef.new(shape: JobRun, required: true, location_name: "jobRun"))
|
219
|
+
GetJobRunResponse.struct_class = Types::GetJobRunResponse
|
220
|
+
|
221
|
+
Hive.add_member(:query, Shapes::ShapeRef.new(shape: Query, required: true, location_name: "query"))
|
222
|
+
Hive.add_member(:init_query_file, Shapes::ShapeRef.new(shape: InitScriptPath, location_name: "initQueryFile"))
|
223
|
+
Hive.add_member(:parameters, Shapes::ShapeRef.new(shape: HiveCliParameters, location_name: "parameters"))
|
224
|
+
Hive.struct_class = Types::Hive
|
225
|
+
|
226
|
+
InitialCapacityConfig.add_member(:worker_count, Shapes::ShapeRef.new(shape: WorkerCounts, required: true, location_name: "workerCount"))
|
227
|
+
InitialCapacityConfig.add_member(:worker_configuration, Shapes::ShapeRef.new(shape: WorkerResourceConfig, location_name: "workerConfiguration"))
|
228
|
+
InitialCapacityConfig.struct_class = Types::InitialCapacityConfig
|
229
|
+
|
230
|
+
InitialCapacityConfigMap.key = Shapes::ShapeRef.new(shape: WorkerTypeString)
|
231
|
+
InitialCapacityConfigMap.value = Shapes::ShapeRef.new(shape: InitialCapacityConfig)
|
232
|
+
|
233
|
+
InternalServerException.add_member(:message, Shapes::ShapeRef.new(shape: String1024, required: true, location_name: "message"))
|
234
|
+
InternalServerException.struct_class = Types::InternalServerException
|
235
|
+
|
236
|
+
JobDriver.add_member(:spark_submit, Shapes::ShapeRef.new(shape: SparkSubmit, location_name: "sparkSubmit"))
|
237
|
+
JobDriver.add_member(:hive, Shapes::ShapeRef.new(shape: Hive, location_name: "hive"))
|
238
|
+
JobDriver.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
|
239
|
+
JobDriver.add_member_subclass(:spark_submit, Types::JobDriver::SparkSubmit)
|
240
|
+
JobDriver.add_member_subclass(:hive, Types::JobDriver::Hive)
|
241
|
+
JobDriver.add_member_subclass(:unknown, Types::JobDriver::Unknown)
|
242
|
+
JobDriver.struct_class = Types::JobDriver
|
243
|
+
|
244
|
+
JobRun.add_member(:application_id, Shapes::ShapeRef.new(shape: ApplicationId, required: true, location_name: "applicationId"))
|
245
|
+
JobRun.add_member(:job_run_id, Shapes::ShapeRef.new(shape: JobRunId, required: true, location_name: "jobRunId"))
|
246
|
+
JobRun.add_member(:name, Shapes::ShapeRef.new(shape: String256, location_name: "name"))
|
247
|
+
JobRun.add_member(:arn, Shapes::ShapeRef.new(shape: JobArn, required: true, location_name: "arn"))
|
248
|
+
JobRun.add_member(:created_by, Shapes::ShapeRef.new(shape: RequestIdentityUserArn, required: true, location_name: "createdBy"))
|
249
|
+
JobRun.add_member(:created_at, Shapes::ShapeRef.new(shape: Date, required: true, location_name: "createdAt"))
|
250
|
+
JobRun.add_member(:updated_at, Shapes::ShapeRef.new(shape: Date, required: true, location_name: "updatedAt"))
|
251
|
+
JobRun.add_member(:execution_role, Shapes::ShapeRef.new(shape: IAMRoleArn, required: true, location_name: "executionRole"))
|
252
|
+
JobRun.add_member(:state, Shapes::ShapeRef.new(shape: JobRunState, required: true, location_name: "state"))
|
253
|
+
JobRun.add_member(:state_details, Shapes::ShapeRef.new(shape: String256, required: true, location_name: "stateDetails"))
|
254
|
+
JobRun.add_member(:release_label, Shapes::ShapeRef.new(shape: ReleaseLabel, required: true, location_name: "releaseLabel"))
|
255
|
+
JobRun.add_member(:configuration_overrides, Shapes::ShapeRef.new(shape: ConfigurationOverrides, location_name: "configurationOverrides"))
|
256
|
+
JobRun.add_member(:job_driver, Shapes::ShapeRef.new(shape: JobDriver, required: true, location_name: "jobDriver"))
|
257
|
+
JobRun.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "tags"))
|
258
|
+
JobRun.add_member(:total_resource_utilization, Shapes::ShapeRef.new(shape: TotalResourceUtilization, location_name: "totalResourceUtilization"))
|
259
|
+
JobRun.add_member(:network_configuration, Shapes::ShapeRef.new(shape: NetworkConfiguration, location_name: "networkConfiguration"))
|
260
|
+
JobRun.add_member(:total_execution_duration_seconds, Shapes::ShapeRef.new(shape: Integer, location_name: "totalExecutionDurationSeconds"))
|
261
|
+
JobRun.struct_class = Types::JobRun
|
262
|
+
|
263
|
+
JobRunStateSet.member = Shapes::ShapeRef.new(shape: JobRunState)
|
264
|
+
|
265
|
+
JobRunSummary.add_member(:application_id, Shapes::ShapeRef.new(shape: ApplicationId, required: true, location_name: "applicationId"))
|
266
|
+
JobRunSummary.add_member(:id, Shapes::ShapeRef.new(shape: JobRunId, required: true, location_name: "id"))
|
267
|
+
JobRunSummary.add_member(:name, Shapes::ShapeRef.new(shape: String256, location_name: "name"))
|
268
|
+
JobRunSummary.add_member(:arn, Shapes::ShapeRef.new(shape: JobArn, required: true, location_name: "arn"))
|
269
|
+
JobRunSummary.add_member(:created_by, Shapes::ShapeRef.new(shape: RequestIdentityUserArn, required: true, location_name: "createdBy"))
|
270
|
+
JobRunSummary.add_member(:created_at, Shapes::ShapeRef.new(shape: Date, required: true, location_name: "createdAt"))
|
271
|
+
JobRunSummary.add_member(:updated_at, Shapes::ShapeRef.new(shape: Date, required: true, location_name: "updatedAt"))
|
272
|
+
JobRunSummary.add_member(:execution_role, Shapes::ShapeRef.new(shape: IAMRoleArn, required: true, location_name: "executionRole"))
|
273
|
+
JobRunSummary.add_member(:state, Shapes::ShapeRef.new(shape: JobRunState, required: true, location_name: "state"))
|
274
|
+
JobRunSummary.add_member(:state_details, Shapes::ShapeRef.new(shape: String256, required: true, location_name: "stateDetails"))
|
275
|
+
JobRunSummary.add_member(:release_label, Shapes::ShapeRef.new(shape: ReleaseLabel, required: true, location_name: "releaseLabel"))
|
276
|
+
JobRunSummary.add_member(:type, Shapes::ShapeRef.new(shape: JobRunType, location_name: "type"))
|
277
|
+
JobRunSummary.struct_class = Types::JobRunSummary
|
278
|
+
|
279
|
+
JobRuns.member = Shapes::ShapeRef.new(shape: JobRunSummary)
|
280
|
+
|
281
|
+
ListApplicationsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "nextToken"))
|
282
|
+
ListApplicationsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: ListApplicationsRequestMaxResultsInteger, location: "querystring", location_name: "maxResults", metadata: {"box"=>true}))
|
283
|
+
ListApplicationsRequest.add_member(:states, Shapes::ShapeRef.new(shape: ApplicationStateSet, location: "querystring", location_name: "states"))
|
284
|
+
ListApplicationsRequest.struct_class = Types::ListApplicationsRequest
|
285
|
+
|
286
|
+
ListApplicationsResponse.add_member(:applications, Shapes::ShapeRef.new(shape: ApplicationList, required: true, location_name: "applications"))
|
287
|
+
ListApplicationsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
|
288
|
+
ListApplicationsResponse.struct_class = Types::ListApplicationsResponse
|
289
|
+
|
290
|
+
ListJobRunsRequest.add_member(:application_id, Shapes::ShapeRef.new(shape: ApplicationId, required: true, location: "uri", location_name: "applicationId"))
|
291
|
+
ListJobRunsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "nextToken"))
|
292
|
+
ListJobRunsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: ListJobRunsRequestMaxResultsInteger, location: "querystring", location_name: "maxResults", metadata: {"box"=>true}))
|
293
|
+
ListJobRunsRequest.add_member(:created_at_after, Shapes::ShapeRef.new(shape: Date, location: "querystring", location_name: "createdAtAfter"))
|
294
|
+
ListJobRunsRequest.add_member(:created_at_before, Shapes::ShapeRef.new(shape: Date, location: "querystring", location_name: "createdAtBefore"))
|
295
|
+
ListJobRunsRequest.add_member(:states, Shapes::ShapeRef.new(shape: JobRunStateSet, location: "querystring", location_name: "states"))
|
296
|
+
ListJobRunsRequest.struct_class = Types::ListJobRunsRequest
|
297
|
+
|
298
|
+
ListJobRunsResponse.add_member(:job_runs, Shapes::ShapeRef.new(shape: JobRuns, required: true, location_name: "jobRuns"))
|
299
|
+
ListJobRunsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
|
300
|
+
ListJobRunsResponse.struct_class = Types::ListJobRunsResponse
|
301
|
+
|
302
|
+
ListTagsForResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: ResourceArn, required: true, location: "uri", location_name: "resourceArn"))
|
303
|
+
ListTagsForResourceRequest.struct_class = Types::ListTagsForResourceRequest
|
304
|
+
|
305
|
+
ListTagsForResourceResponse.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "tags"))
|
306
|
+
ListTagsForResourceResponse.struct_class = Types::ListTagsForResourceResponse
|
307
|
+
|
308
|
+
ManagedPersistenceMonitoringConfiguration.add_member(:enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "enabled"))
|
309
|
+
ManagedPersistenceMonitoringConfiguration.add_member(:encryption_key_arn, Shapes::ShapeRef.new(shape: EncryptionKeyArn, location_name: "encryptionKeyArn"))
|
310
|
+
ManagedPersistenceMonitoringConfiguration.struct_class = Types::ManagedPersistenceMonitoringConfiguration
|
311
|
+
|
312
|
+
MaximumAllowedResources.add_member(:cpu, Shapes::ShapeRef.new(shape: CpuSize, required: true, location_name: "cpu"))
|
313
|
+
MaximumAllowedResources.add_member(:memory, Shapes::ShapeRef.new(shape: MemorySize, required: true, location_name: "memory"))
|
314
|
+
MaximumAllowedResources.add_member(:disk, Shapes::ShapeRef.new(shape: DiskSize, location_name: "disk"))
|
315
|
+
MaximumAllowedResources.struct_class = Types::MaximumAllowedResources
|
316
|
+
|
317
|
+
MonitoringConfiguration.add_member(:s3_monitoring_configuration, Shapes::ShapeRef.new(shape: S3MonitoringConfiguration, location_name: "s3MonitoringConfiguration"))
|
318
|
+
MonitoringConfiguration.add_member(:managed_persistence_monitoring_configuration, Shapes::ShapeRef.new(shape: ManagedPersistenceMonitoringConfiguration, location_name: "managedPersistenceMonitoringConfiguration"))
|
319
|
+
MonitoringConfiguration.struct_class = Types::MonitoringConfiguration
|
320
|
+
|
321
|
+
NetworkConfiguration.add_member(:subnet_ids, Shapes::ShapeRef.new(shape: SubnetIds, location_name: "subnetIds"))
|
322
|
+
NetworkConfiguration.add_member(:security_group_ids, Shapes::ShapeRef.new(shape: SecurityGroupIds, location_name: "securityGroupIds"))
|
323
|
+
NetworkConfiguration.struct_class = Types::NetworkConfiguration
|
324
|
+
|
325
|
+
ResourceNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: String1024, required: true, location_name: "message"))
|
326
|
+
ResourceNotFoundException.struct_class = Types::ResourceNotFoundException
|
327
|
+
|
328
|
+
S3MonitoringConfiguration.add_member(:log_uri, Shapes::ShapeRef.new(shape: UriString, location_name: "logUri"))
|
329
|
+
S3MonitoringConfiguration.add_member(:encryption_key_arn, Shapes::ShapeRef.new(shape: EncryptionKeyArn, location_name: "encryptionKeyArn"))
|
330
|
+
S3MonitoringConfiguration.struct_class = Types::S3MonitoringConfiguration
|
331
|
+
|
332
|
+
SecurityGroupIds.member = Shapes::ShapeRef.new(shape: SecurityGroupString)
|
333
|
+
|
334
|
+
SensitivePropertiesMap.key = Shapes::ShapeRef.new(shape: String1024)
|
335
|
+
SensitivePropertiesMap.value = Shapes::ShapeRef.new(shape: String1024)
|
336
|
+
|
337
|
+
ServiceQuotaExceededException.add_member(:message, Shapes::ShapeRef.new(shape: String1024, required: true, location_name: "message"))
|
338
|
+
ServiceQuotaExceededException.struct_class = Types::ServiceQuotaExceededException
|
339
|
+
|
340
|
+
SparkSubmit.add_member(:entry_point, Shapes::ShapeRef.new(shape: EntryPointPath, required: true, location_name: "entryPoint"))
|
341
|
+
SparkSubmit.add_member(:entry_point_arguments, Shapes::ShapeRef.new(shape: EntryPointArguments, location_name: "entryPointArguments"))
|
342
|
+
SparkSubmit.add_member(:spark_submit_parameters, Shapes::ShapeRef.new(shape: SparkSubmitParameters, location_name: "sparkSubmitParameters"))
|
343
|
+
SparkSubmit.struct_class = Types::SparkSubmit
|
344
|
+
|
345
|
+
StartApplicationRequest.add_member(:application_id, Shapes::ShapeRef.new(shape: ApplicationId, required: true, location: "uri", location_name: "applicationId"))
|
346
|
+
StartApplicationRequest.struct_class = Types::StartApplicationRequest
|
347
|
+
|
348
|
+
StartApplicationResponse.struct_class = Types::StartApplicationResponse
|
349
|
+
|
350
|
+
StartJobRunRequest.add_member(:application_id, Shapes::ShapeRef.new(shape: ApplicationId, required: true, location: "uri", location_name: "applicationId"))
|
351
|
+
StartJobRunRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, required: true, location_name: "clientToken", metadata: {"idempotencyToken"=>true}))
|
352
|
+
StartJobRunRequest.add_member(:execution_role_arn, Shapes::ShapeRef.new(shape: IAMRoleArn, required: true, location_name: "executionRoleArn"))
|
353
|
+
StartJobRunRequest.add_member(:job_driver, Shapes::ShapeRef.new(shape: JobDriver, location_name: "jobDriver"))
|
354
|
+
StartJobRunRequest.add_member(:configuration_overrides, Shapes::ShapeRef.new(shape: ConfigurationOverrides, location_name: "configurationOverrides"))
|
355
|
+
StartJobRunRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "tags"))
|
356
|
+
StartJobRunRequest.add_member(:execution_timeout_minutes, Shapes::ShapeRef.new(shape: Duration, location_name: "executionTimeoutMinutes", metadata: {"box"=>true}))
|
357
|
+
StartJobRunRequest.add_member(:name, Shapes::ShapeRef.new(shape: String256, location_name: "name"))
|
358
|
+
StartJobRunRequest.struct_class = Types::StartJobRunRequest
|
359
|
+
|
360
|
+
StartJobRunResponse.add_member(:application_id, Shapes::ShapeRef.new(shape: ApplicationId, required: true, location_name: "applicationId"))
|
361
|
+
StartJobRunResponse.add_member(:job_run_id, Shapes::ShapeRef.new(shape: JobRunId, required: true, location_name: "jobRunId"))
|
362
|
+
StartJobRunResponse.add_member(:arn, Shapes::ShapeRef.new(shape: JobArn, required: true, location_name: "arn"))
|
363
|
+
StartJobRunResponse.struct_class = Types::StartJobRunResponse
|
364
|
+
|
365
|
+
StopApplicationRequest.add_member(:application_id, Shapes::ShapeRef.new(shape: ApplicationId, required: true, location: "uri", location_name: "applicationId"))
|
366
|
+
StopApplicationRequest.struct_class = Types::StopApplicationRequest
|
367
|
+
|
368
|
+
StopApplicationResponse.struct_class = Types::StopApplicationResponse
|
369
|
+
|
370
|
+
SubnetIds.member = Shapes::ShapeRef.new(shape: SubnetString)
|
371
|
+
|
372
|
+
TagKeyList.member = Shapes::ShapeRef.new(shape: TagKey)
|
373
|
+
|
374
|
+
TagMap.key = Shapes::ShapeRef.new(shape: TagKey)
|
375
|
+
TagMap.value = Shapes::ShapeRef.new(shape: TagValue)
|
376
|
+
|
377
|
+
TagResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: ResourceArn, required: true, location: "uri", location_name: "resourceArn"))
|
378
|
+
TagResourceRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, required: true, location_name: "tags"))
|
379
|
+
TagResourceRequest.struct_class = Types::TagResourceRequest
|
380
|
+
|
381
|
+
TagResourceResponse.struct_class = Types::TagResourceResponse
|
382
|
+
|
383
|
+
TotalResourceUtilization.add_member(:v_cpu_hour, Shapes::ShapeRef.new(shape: Double, location_name: "vCPUHour"))
|
384
|
+
TotalResourceUtilization.add_member(:memory_gb_hour, Shapes::ShapeRef.new(shape: Double, location_name: "memoryGBHour"))
|
385
|
+
TotalResourceUtilization.add_member(:storage_gb_hour, Shapes::ShapeRef.new(shape: Double, location_name: "storageGBHour"))
|
386
|
+
TotalResourceUtilization.struct_class = Types::TotalResourceUtilization
|
387
|
+
|
388
|
+
UntagResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: ResourceArn, required: true, location: "uri", location_name: "resourceArn"))
|
389
|
+
UntagResourceRequest.add_member(:tag_keys, Shapes::ShapeRef.new(shape: TagKeyList, required: true, location: "querystring", location_name: "tagKeys"))
|
390
|
+
UntagResourceRequest.struct_class = Types::UntagResourceRequest
|
391
|
+
|
392
|
+
UntagResourceResponse.struct_class = Types::UntagResourceResponse
|
393
|
+
|
394
|
+
UpdateApplicationRequest.add_member(:application_id, Shapes::ShapeRef.new(shape: ApplicationId, required: true, location: "uri", location_name: "applicationId"))
|
395
|
+
UpdateApplicationRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, required: true, location_name: "clientToken", metadata: {"idempotencyToken"=>true}))
|
396
|
+
UpdateApplicationRequest.add_member(:initial_capacity, Shapes::ShapeRef.new(shape: InitialCapacityConfigMap, location_name: "initialCapacity"))
|
397
|
+
UpdateApplicationRequest.add_member(:maximum_capacity, Shapes::ShapeRef.new(shape: MaximumAllowedResources, location_name: "maximumCapacity"))
|
398
|
+
UpdateApplicationRequest.add_member(:auto_start_configuration, Shapes::ShapeRef.new(shape: AutoStartConfig, location_name: "autoStartConfiguration"))
|
399
|
+
UpdateApplicationRequest.add_member(:auto_stop_configuration, Shapes::ShapeRef.new(shape: AutoStopConfig, location_name: "autoStopConfiguration"))
|
400
|
+
UpdateApplicationRequest.add_member(:network_configuration, Shapes::ShapeRef.new(shape: NetworkConfiguration, location_name: "networkConfiguration"))
|
401
|
+
UpdateApplicationRequest.struct_class = Types::UpdateApplicationRequest
|
402
|
+
|
403
|
+
UpdateApplicationResponse.add_member(:application, Shapes::ShapeRef.new(shape: Application, required: true, location_name: "application"))
|
404
|
+
UpdateApplicationResponse.struct_class = Types::UpdateApplicationResponse
|
405
|
+
|
406
|
+
ValidationException.add_member(:message, Shapes::ShapeRef.new(shape: String1024, required: true, location_name: "message"))
|
407
|
+
ValidationException.struct_class = Types::ValidationException
|
408
|
+
|
409
|
+
WorkerResourceConfig.add_member(:cpu, Shapes::ShapeRef.new(shape: CpuSize, required: true, location_name: "cpu"))
|
410
|
+
WorkerResourceConfig.add_member(:memory, Shapes::ShapeRef.new(shape: MemorySize, required: true, location_name: "memory"))
|
411
|
+
WorkerResourceConfig.add_member(:disk, Shapes::ShapeRef.new(shape: DiskSize, location_name: "disk"))
|
412
|
+
WorkerResourceConfig.struct_class = Types::WorkerResourceConfig
|
413
|
+
|
414
|
+
|
415
|
+
# @api private
|
416
|
+
API = Seahorse::Model::Api.new.tap do |api|
|
417
|
+
|
418
|
+
api.version = "2021-07-13"
|
419
|
+
|
420
|
+
api.metadata = {
|
421
|
+
"apiVersion" => "2021-07-13",
|
422
|
+
"endpointPrefix" => "emr-serverless",
|
423
|
+
"jsonVersion" => "1.1",
|
424
|
+
"protocol" => "rest-json",
|
425
|
+
"serviceFullName" => "EMR Serverless",
|
426
|
+
"serviceId" => "EMR Serverless",
|
427
|
+
"signatureVersion" => "v4",
|
428
|
+
"signingName" => "emr-serverless",
|
429
|
+
"uid" => "emr-serverless-2021-07-13",
|
430
|
+
}
|
431
|
+
|
432
|
+
api.add_operation(:cancel_job_run, Seahorse::Model::Operation.new.tap do |o|
|
433
|
+
o.name = "CancelJobRun"
|
434
|
+
o.http_method = "DELETE"
|
435
|
+
o.http_request_uri = "/applications/{applicationId}/jobruns/{jobRunId}"
|
436
|
+
o.input = Shapes::ShapeRef.new(shape: CancelJobRunRequest)
|
437
|
+
o.output = Shapes::ShapeRef.new(shape: CancelJobRunResponse)
|
438
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
439
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
440
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
441
|
+
end)
|
442
|
+
|
443
|
+
api.add_operation(:create_application, Seahorse::Model::Operation.new.tap do |o|
|
444
|
+
o.name = "CreateApplication"
|
445
|
+
o.http_method = "POST"
|
446
|
+
o.http_request_uri = "/applications"
|
447
|
+
o.input = Shapes::ShapeRef.new(shape: CreateApplicationRequest)
|
448
|
+
o.output = Shapes::ShapeRef.new(shape: CreateApplicationResponse)
|
449
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
450
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
451
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
452
|
+
end)
|
453
|
+
|
454
|
+
api.add_operation(:delete_application, Seahorse::Model::Operation.new.tap do |o|
|
455
|
+
o.name = "DeleteApplication"
|
456
|
+
o.http_method = "DELETE"
|
457
|
+
o.http_request_uri = "/applications/{applicationId}"
|
458
|
+
o.input = Shapes::ShapeRef.new(shape: DeleteApplicationRequest)
|
459
|
+
o.output = Shapes::ShapeRef.new(shape: DeleteApplicationResponse)
|
460
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
461
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
462
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
463
|
+
end)
|
464
|
+
|
465
|
+
api.add_operation(:get_application, Seahorse::Model::Operation.new.tap do |o|
|
466
|
+
o.name = "GetApplication"
|
467
|
+
o.http_method = "GET"
|
468
|
+
o.http_request_uri = "/applications/{applicationId}"
|
469
|
+
o.input = Shapes::ShapeRef.new(shape: GetApplicationRequest)
|
470
|
+
o.output = Shapes::ShapeRef.new(shape: GetApplicationResponse)
|
471
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
472
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
473
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
474
|
+
end)
|
475
|
+
|
476
|
+
api.add_operation(:get_job_run, Seahorse::Model::Operation.new.tap do |o|
|
477
|
+
o.name = "GetJobRun"
|
478
|
+
o.http_method = "GET"
|
479
|
+
o.http_request_uri = "/applications/{applicationId}/jobruns/{jobRunId}"
|
480
|
+
o.input = Shapes::ShapeRef.new(shape: GetJobRunRequest)
|
481
|
+
o.output = Shapes::ShapeRef.new(shape: GetJobRunResponse)
|
482
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
483
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
484
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
485
|
+
end)
|
486
|
+
|
487
|
+
api.add_operation(:list_applications, Seahorse::Model::Operation.new.tap do |o|
|
488
|
+
o.name = "ListApplications"
|
489
|
+
o.http_method = "GET"
|
490
|
+
o.http_request_uri = "/applications"
|
491
|
+
o.input = Shapes::ShapeRef.new(shape: ListApplicationsRequest)
|
492
|
+
o.output = Shapes::ShapeRef.new(shape: ListApplicationsResponse)
|
493
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
494
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
495
|
+
o[:pager] = Aws::Pager.new(
|
496
|
+
limit_key: "max_results",
|
497
|
+
tokens: {
|
498
|
+
"next_token" => "next_token"
|
499
|
+
}
|
500
|
+
)
|
501
|
+
end)
|
502
|
+
|
503
|
+
api.add_operation(:list_job_runs, Seahorse::Model::Operation.new.tap do |o|
|
504
|
+
o.name = "ListJobRuns"
|
505
|
+
o.http_method = "GET"
|
506
|
+
o.http_request_uri = "/applications/{applicationId}/jobruns"
|
507
|
+
o.input = Shapes::ShapeRef.new(shape: ListJobRunsRequest)
|
508
|
+
o.output = Shapes::ShapeRef.new(shape: ListJobRunsResponse)
|
509
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
510
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
511
|
+
o[:pager] = Aws::Pager.new(
|
512
|
+
limit_key: "max_results",
|
513
|
+
tokens: {
|
514
|
+
"next_token" => "next_token"
|
515
|
+
}
|
516
|
+
)
|
517
|
+
end)
|
518
|
+
|
519
|
+
api.add_operation(:list_tags_for_resource, Seahorse::Model::Operation.new.tap do |o|
|
520
|
+
o.name = "ListTagsForResource"
|
521
|
+
o.http_method = "GET"
|
522
|
+
o.http_request_uri = "/tags/{resourceArn}"
|
523
|
+
o.input = Shapes::ShapeRef.new(shape: ListTagsForResourceRequest)
|
524
|
+
o.output = Shapes::ShapeRef.new(shape: ListTagsForResourceResponse)
|
525
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
526
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
527
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
528
|
+
end)
|
529
|
+
|
530
|
+
api.add_operation(:start_application, Seahorse::Model::Operation.new.tap do |o|
|
531
|
+
o.name = "StartApplication"
|
532
|
+
o.http_method = "POST"
|
533
|
+
o.http_request_uri = "/applications/{applicationId}/start"
|
534
|
+
o.input = Shapes::ShapeRef.new(shape: StartApplicationRequest)
|
535
|
+
o.output = Shapes::ShapeRef.new(shape: StartApplicationResponse)
|
536
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
537
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
538
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
539
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
|
540
|
+
end)
|
541
|
+
|
542
|
+
api.add_operation(:start_job_run, Seahorse::Model::Operation.new.tap do |o|
|
543
|
+
o.name = "StartJobRun"
|
544
|
+
o.http_method = "POST"
|
545
|
+
o.http_request_uri = "/applications/{applicationId}/jobruns"
|
546
|
+
o.input = Shapes::ShapeRef.new(shape: StartJobRunRequest)
|
547
|
+
o.output = Shapes::ShapeRef.new(shape: StartJobRunResponse)
|
548
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
549
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
550
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
551
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
552
|
+
end)
|
553
|
+
|
554
|
+
api.add_operation(:stop_application, Seahorse::Model::Operation.new.tap do |o|
|
555
|
+
o.name = "StopApplication"
|
556
|
+
o.http_method = "POST"
|
557
|
+
o.http_request_uri = "/applications/{applicationId}/stop"
|
558
|
+
o.input = Shapes::ShapeRef.new(shape: StopApplicationRequest)
|
559
|
+
o.output = Shapes::ShapeRef.new(shape: StopApplicationResponse)
|
560
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
561
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
562
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
563
|
+
end)
|
564
|
+
|
565
|
+
api.add_operation(:tag_resource, Seahorse::Model::Operation.new.tap do |o|
|
566
|
+
o.name = "TagResource"
|
567
|
+
o.http_method = "POST"
|
568
|
+
o.http_request_uri = "/tags/{resourceArn}"
|
569
|
+
o.input = Shapes::ShapeRef.new(shape: TagResourceRequest)
|
570
|
+
o.output = Shapes::ShapeRef.new(shape: TagResourceResponse)
|
571
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
572
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
573
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
574
|
+
end)
|
575
|
+
|
576
|
+
api.add_operation(:untag_resource, Seahorse::Model::Operation.new.tap do |o|
|
577
|
+
o.name = "UntagResource"
|
578
|
+
o.http_method = "DELETE"
|
579
|
+
o.http_request_uri = "/tags/{resourceArn}"
|
580
|
+
o.input = Shapes::ShapeRef.new(shape: UntagResourceRequest)
|
581
|
+
o.output = Shapes::ShapeRef.new(shape: UntagResourceResponse)
|
582
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
583
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
584
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
585
|
+
end)
|
586
|
+
|
587
|
+
api.add_operation(:update_application, Seahorse::Model::Operation.new.tap do |o|
|
588
|
+
o.name = "UpdateApplication"
|
589
|
+
o.http_method = "PATCH"
|
590
|
+
o.http_request_uri = "/applications/{applicationId}"
|
591
|
+
o.input = Shapes::ShapeRef.new(shape: UpdateApplicationRequest)
|
592
|
+
o.output = Shapes::ShapeRef.new(shape: UpdateApplicationResponse)
|
593
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
594
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
595
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
596
|
+
end)
|
597
|
+
end
|
598
|
+
|
599
|
+
end
|
600
|
+
end
|
File without changes
|