aws-sdk-emrcontainers 1.0.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.
- checksums.yaml +7 -0
- data/lib/aws-sdk-emrcontainers.rb +53 -0
- data/lib/aws-sdk-emrcontainers/client.rb +1221 -0
- data/lib/aws-sdk-emrcontainers/client_api.rb +567 -0
- data/lib/aws-sdk-emrcontainers/customizations.rb +0 -0
- data/lib/aws-sdk-emrcontainers/errors.rb +86 -0
- data/lib/aws-sdk-emrcontainers/resource.rb +26 -0
- data/lib/aws-sdk-emrcontainers/types.rb +1457 -0
- metadata +88 -0
@@ -0,0 +1,567 @@
|
|
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/master/CONTRIBUTING.md
|
7
|
+
#
|
8
|
+
# WARNING ABOUT GENERATED CODE
|
9
|
+
|
10
|
+
module Aws::EMRContainers
|
11
|
+
# @api private
|
12
|
+
module ClientApi
|
13
|
+
|
14
|
+
include Seahorse::Model
|
15
|
+
|
16
|
+
ACMCertArn = Shapes::StringShape.new(name: 'ACMCertArn')
|
17
|
+
CancelJobRunRequest = Shapes::StructureShape.new(name: 'CancelJobRunRequest')
|
18
|
+
CancelJobRunResponse = Shapes::StructureShape.new(name: 'CancelJobRunResponse')
|
19
|
+
ClientToken = Shapes::StringShape.new(name: 'ClientToken')
|
20
|
+
CloudWatchMonitoringConfiguration = Shapes::StructureShape.new(name: 'CloudWatchMonitoringConfiguration')
|
21
|
+
Configuration = Shapes::StructureShape.new(name: 'Configuration')
|
22
|
+
ConfigurationList = Shapes::ListShape.new(name: 'ConfigurationList')
|
23
|
+
ConfigurationOverrides = Shapes::StructureShape.new(name: 'ConfigurationOverrides')
|
24
|
+
ContainerInfo = Shapes::StructureShape.new(name: 'ContainerInfo')
|
25
|
+
ContainerProvider = Shapes::StructureShape.new(name: 'ContainerProvider')
|
26
|
+
ContainerProviderType = Shapes::StringShape.new(name: 'ContainerProviderType')
|
27
|
+
CreateManagedEndpointRequest = Shapes::StructureShape.new(name: 'CreateManagedEndpointRequest')
|
28
|
+
CreateManagedEndpointResponse = Shapes::StructureShape.new(name: 'CreateManagedEndpointResponse')
|
29
|
+
CreateVirtualClusterRequest = Shapes::StructureShape.new(name: 'CreateVirtualClusterRequest')
|
30
|
+
CreateVirtualClusterResponse = Shapes::StructureShape.new(name: 'CreateVirtualClusterResponse')
|
31
|
+
Date = Shapes::TimestampShape.new(name: 'Date')
|
32
|
+
DeleteManagedEndpointRequest = Shapes::StructureShape.new(name: 'DeleteManagedEndpointRequest')
|
33
|
+
DeleteManagedEndpointResponse = Shapes::StructureShape.new(name: 'DeleteManagedEndpointResponse')
|
34
|
+
DeleteVirtualClusterRequest = Shapes::StructureShape.new(name: 'DeleteVirtualClusterRequest')
|
35
|
+
DeleteVirtualClusterResponse = Shapes::StructureShape.new(name: 'DeleteVirtualClusterResponse')
|
36
|
+
DescribeJobRunRequest = Shapes::StructureShape.new(name: 'DescribeJobRunRequest')
|
37
|
+
DescribeJobRunResponse = Shapes::StructureShape.new(name: 'DescribeJobRunResponse')
|
38
|
+
DescribeManagedEndpointRequest = Shapes::StructureShape.new(name: 'DescribeManagedEndpointRequest')
|
39
|
+
DescribeManagedEndpointResponse = Shapes::StructureShape.new(name: 'DescribeManagedEndpointResponse')
|
40
|
+
DescribeVirtualClusterRequest = Shapes::StructureShape.new(name: 'DescribeVirtualClusterRequest')
|
41
|
+
DescribeVirtualClusterResponse = Shapes::StructureShape.new(name: 'DescribeVirtualClusterResponse')
|
42
|
+
EksInfo = Shapes::StructureShape.new(name: 'EksInfo')
|
43
|
+
Endpoint = Shapes::StructureShape.new(name: 'Endpoint')
|
44
|
+
EndpointArn = Shapes::StringShape.new(name: 'EndpointArn')
|
45
|
+
EndpointState = Shapes::StringShape.new(name: 'EndpointState')
|
46
|
+
EndpointStates = Shapes::ListShape.new(name: 'EndpointStates')
|
47
|
+
EndpointType = Shapes::StringShape.new(name: 'EndpointType')
|
48
|
+
EndpointTypes = Shapes::ListShape.new(name: 'EndpointTypes')
|
49
|
+
Endpoints = Shapes::ListShape.new(name: 'Endpoints')
|
50
|
+
EntryPointArgument = Shapes::StringShape.new(name: 'EntryPointArgument')
|
51
|
+
EntryPointArguments = Shapes::ListShape.new(name: 'EntryPointArguments')
|
52
|
+
EntryPointPath = Shapes::StringShape.new(name: 'EntryPointPath')
|
53
|
+
FailureReason = Shapes::StringShape.new(name: 'FailureReason')
|
54
|
+
IAMRoleArn = Shapes::StringShape.new(name: 'IAMRoleArn')
|
55
|
+
InternalServerException = Shapes::StructureShape.new(name: 'InternalServerException')
|
56
|
+
JavaInteger = Shapes::IntegerShape.new(name: 'JavaInteger')
|
57
|
+
JobArn = Shapes::StringShape.new(name: 'JobArn')
|
58
|
+
JobDriver = Shapes::StructureShape.new(name: 'JobDriver')
|
59
|
+
JobRun = Shapes::StructureShape.new(name: 'JobRun')
|
60
|
+
JobRunState = Shapes::StringShape.new(name: 'JobRunState')
|
61
|
+
JobRunStates = Shapes::ListShape.new(name: 'JobRunStates')
|
62
|
+
JobRuns = Shapes::ListShape.new(name: 'JobRuns')
|
63
|
+
ListJobRunsRequest = Shapes::StructureShape.new(name: 'ListJobRunsRequest')
|
64
|
+
ListJobRunsResponse = Shapes::StructureShape.new(name: 'ListJobRunsResponse')
|
65
|
+
ListManagedEndpointsRequest = Shapes::StructureShape.new(name: 'ListManagedEndpointsRequest')
|
66
|
+
ListManagedEndpointsResponse = Shapes::StructureShape.new(name: 'ListManagedEndpointsResponse')
|
67
|
+
ListTagsForResourceRequest = Shapes::StructureShape.new(name: 'ListTagsForResourceRequest')
|
68
|
+
ListTagsForResourceResponse = Shapes::StructureShape.new(name: 'ListTagsForResourceResponse')
|
69
|
+
ListVirtualClustersRequest = Shapes::StructureShape.new(name: 'ListVirtualClustersRequest')
|
70
|
+
ListVirtualClustersResponse = Shapes::StructureShape.new(name: 'ListVirtualClustersResponse')
|
71
|
+
LogGroupName = Shapes::StringShape.new(name: 'LogGroupName')
|
72
|
+
MonitoringConfiguration = Shapes::StructureShape.new(name: 'MonitoringConfiguration')
|
73
|
+
NextToken = Shapes::StringShape.new(name: 'NextToken')
|
74
|
+
PersistentAppUI = Shapes::StringShape.new(name: 'PersistentAppUI')
|
75
|
+
ReleaseLabel = Shapes::StringShape.new(name: 'ReleaseLabel')
|
76
|
+
RequestIdentityUserArn = Shapes::StringShape.new(name: 'RequestIdentityUserArn')
|
77
|
+
ResourceIdString = Shapes::StringShape.new(name: 'ResourceIdString')
|
78
|
+
ResourceNameString = Shapes::StringShape.new(name: 'ResourceNameString')
|
79
|
+
ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
|
80
|
+
RsiArn = Shapes::StringShape.new(name: 'RsiArn')
|
81
|
+
S3MonitoringConfiguration = Shapes::StructureShape.new(name: 'S3MonitoringConfiguration')
|
82
|
+
SensitivePropertiesMap = Shapes::MapShape.new(name: 'SensitivePropertiesMap')
|
83
|
+
SparkSubmitJobDriver = Shapes::StructureShape.new(name: 'SparkSubmitJobDriver')
|
84
|
+
SparkSubmitParameters = Shapes::StringShape.new(name: 'SparkSubmitParameters')
|
85
|
+
StartJobRunRequest = Shapes::StructureShape.new(name: 'StartJobRunRequest')
|
86
|
+
StartJobRunResponse = Shapes::StructureShape.new(name: 'StartJobRunResponse')
|
87
|
+
String1024 = Shapes::StringShape.new(name: 'String1024')
|
88
|
+
String128 = Shapes::StringShape.new(name: 'String128')
|
89
|
+
String256 = Shapes::StringShape.new(name: 'String256')
|
90
|
+
StringEmpty256 = Shapes::StringShape.new(name: 'StringEmpty256')
|
91
|
+
SubnetIds = Shapes::ListShape.new(name: 'SubnetIds')
|
92
|
+
TagKeyList = Shapes::ListShape.new(name: 'TagKeyList')
|
93
|
+
TagMap = Shapes::MapShape.new(name: 'TagMap')
|
94
|
+
TagResourceRequest = Shapes::StructureShape.new(name: 'TagResourceRequest')
|
95
|
+
TagResourceResponse = Shapes::StructureShape.new(name: 'TagResourceResponse')
|
96
|
+
UntagResourceRequest = Shapes::StructureShape.new(name: 'UntagResourceRequest')
|
97
|
+
UntagResourceResponse = Shapes::StructureShape.new(name: 'UntagResourceResponse')
|
98
|
+
UriString = Shapes::StringShape.new(name: 'UriString')
|
99
|
+
ValidationException = Shapes::StructureShape.new(name: 'ValidationException')
|
100
|
+
VirtualCluster = Shapes::StructureShape.new(name: 'VirtualCluster')
|
101
|
+
VirtualClusterArn = Shapes::StringShape.new(name: 'VirtualClusterArn')
|
102
|
+
VirtualClusterState = Shapes::StringShape.new(name: 'VirtualClusterState')
|
103
|
+
VirtualClusterStates = Shapes::ListShape.new(name: 'VirtualClusterStates')
|
104
|
+
VirtualClusters = Shapes::ListShape.new(name: 'VirtualClusters')
|
105
|
+
|
106
|
+
CancelJobRunRequest.add_member(:id, Shapes::ShapeRef.new(shape: ResourceIdString, required: true, location: "uri", location_name: "jobRunId"))
|
107
|
+
CancelJobRunRequest.add_member(:virtual_cluster_id, Shapes::ShapeRef.new(shape: ResourceIdString, required: true, location: "uri", location_name: "virtualClusterId"))
|
108
|
+
CancelJobRunRequest.struct_class = Types::CancelJobRunRequest
|
109
|
+
|
110
|
+
CancelJobRunResponse.add_member(:id, Shapes::ShapeRef.new(shape: ResourceIdString, location_name: "id"))
|
111
|
+
CancelJobRunResponse.add_member(:virtual_cluster_id, Shapes::ShapeRef.new(shape: ResourceIdString, location_name: "virtualClusterId"))
|
112
|
+
CancelJobRunResponse.struct_class = Types::CancelJobRunResponse
|
113
|
+
|
114
|
+
CloudWatchMonitoringConfiguration.add_member(:log_group_name, Shapes::ShapeRef.new(shape: LogGroupName, required: true, location_name: "logGroupName"))
|
115
|
+
CloudWatchMonitoringConfiguration.add_member(:log_stream_name_prefix, Shapes::ShapeRef.new(shape: String256, location_name: "logStreamNamePrefix"))
|
116
|
+
CloudWatchMonitoringConfiguration.struct_class = Types::CloudWatchMonitoringConfiguration
|
117
|
+
|
118
|
+
Configuration.add_member(:classification, Shapes::ShapeRef.new(shape: String1024, required: true, location_name: "classification"))
|
119
|
+
Configuration.add_member(:properties, Shapes::ShapeRef.new(shape: SensitivePropertiesMap, location_name: "properties"))
|
120
|
+
Configuration.add_member(:configurations, Shapes::ShapeRef.new(shape: ConfigurationList, location_name: "configurations"))
|
121
|
+
Configuration.struct_class = Types::Configuration
|
122
|
+
|
123
|
+
ConfigurationList.member = Shapes::ShapeRef.new(shape: Configuration)
|
124
|
+
|
125
|
+
ConfigurationOverrides.add_member(:application_configuration, Shapes::ShapeRef.new(shape: ConfigurationList, location_name: "applicationConfiguration"))
|
126
|
+
ConfigurationOverrides.add_member(:monitoring_configuration, Shapes::ShapeRef.new(shape: MonitoringConfiguration, location_name: "monitoringConfiguration"))
|
127
|
+
ConfigurationOverrides.struct_class = Types::ConfigurationOverrides
|
128
|
+
|
129
|
+
ContainerInfo.add_member(:eks_info, Shapes::ShapeRef.new(shape: EksInfo, location_name: "eksInfo"))
|
130
|
+
ContainerInfo.struct_class = Types::ContainerInfo
|
131
|
+
|
132
|
+
ContainerProvider.add_member(:type, Shapes::ShapeRef.new(shape: ContainerProviderType, required: true, location_name: "type"))
|
133
|
+
ContainerProvider.add_member(:id, Shapes::ShapeRef.new(shape: String256, required: true, location_name: "id"))
|
134
|
+
ContainerProvider.add_member(:info, Shapes::ShapeRef.new(shape: ContainerInfo, location_name: "info"))
|
135
|
+
ContainerProvider.struct_class = Types::ContainerProvider
|
136
|
+
|
137
|
+
CreateManagedEndpointRequest.add_member(:name, Shapes::ShapeRef.new(shape: ResourceNameString, required: true, location_name: "name"))
|
138
|
+
CreateManagedEndpointRequest.add_member(:virtual_cluster_id, Shapes::ShapeRef.new(shape: ResourceIdString, required: true, location: "uri", location_name: "virtualClusterId"))
|
139
|
+
CreateManagedEndpointRequest.add_member(:type, Shapes::ShapeRef.new(shape: EndpointType, required: true, location_name: "type"))
|
140
|
+
CreateManagedEndpointRequest.add_member(:release_label, Shapes::ShapeRef.new(shape: ReleaseLabel, required: true, location_name: "releaseLabel"))
|
141
|
+
CreateManagedEndpointRequest.add_member(:execution_role_arn, Shapes::ShapeRef.new(shape: IAMRoleArn, required: true, location_name: "executionRoleArn"))
|
142
|
+
CreateManagedEndpointRequest.add_member(:certificate_arn, Shapes::ShapeRef.new(shape: ACMCertArn, required: true, location_name: "certificateArn"))
|
143
|
+
CreateManagedEndpointRequest.add_member(:configuration_overrides, Shapes::ShapeRef.new(shape: ConfigurationOverrides, location_name: "configurationOverrides"))
|
144
|
+
CreateManagedEndpointRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, required: true, location_name: "clientToken", metadata: {"idempotencyToken"=>true}))
|
145
|
+
CreateManagedEndpointRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "tags"))
|
146
|
+
CreateManagedEndpointRequest.struct_class = Types::CreateManagedEndpointRequest
|
147
|
+
|
148
|
+
CreateManagedEndpointResponse.add_member(:id, Shapes::ShapeRef.new(shape: ResourceIdString, location_name: "id"))
|
149
|
+
CreateManagedEndpointResponse.add_member(:name, Shapes::ShapeRef.new(shape: ResourceNameString, location_name: "name"))
|
150
|
+
CreateManagedEndpointResponse.add_member(:arn, Shapes::ShapeRef.new(shape: EndpointArn, location_name: "arn"))
|
151
|
+
CreateManagedEndpointResponse.add_member(:virtual_cluster_id, Shapes::ShapeRef.new(shape: ResourceIdString, location_name: "virtualClusterId"))
|
152
|
+
CreateManagedEndpointResponse.struct_class = Types::CreateManagedEndpointResponse
|
153
|
+
|
154
|
+
CreateVirtualClusterRequest.add_member(:name, Shapes::ShapeRef.new(shape: ResourceNameString, required: true, location_name: "name"))
|
155
|
+
CreateVirtualClusterRequest.add_member(:container_provider, Shapes::ShapeRef.new(shape: ContainerProvider, required: true, location_name: "containerProvider"))
|
156
|
+
CreateVirtualClusterRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, required: true, location_name: "clientToken", metadata: {"idempotencyToken"=>true}))
|
157
|
+
CreateVirtualClusterRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "tags"))
|
158
|
+
CreateVirtualClusterRequest.struct_class = Types::CreateVirtualClusterRequest
|
159
|
+
|
160
|
+
CreateVirtualClusterResponse.add_member(:id, Shapes::ShapeRef.new(shape: ResourceIdString, location_name: "id"))
|
161
|
+
CreateVirtualClusterResponse.add_member(:name, Shapes::ShapeRef.new(shape: ResourceNameString, location_name: "name"))
|
162
|
+
CreateVirtualClusterResponse.add_member(:arn, Shapes::ShapeRef.new(shape: VirtualClusterArn, location_name: "arn"))
|
163
|
+
CreateVirtualClusterResponse.struct_class = Types::CreateVirtualClusterResponse
|
164
|
+
|
165
|
+
DeleteManagedEndpointRequest.add_member(:id, Shapes::ShapeRef.new(shape: ResourceIdString, required: true, location: "uri", location_name: "endpointId"))
|
166
|
+
DeleteManagedEndpointRequest.add_member(:virtual_cluster_id, Shapes::ShapeRef.new(shape: ResourceIdString, required: true, location: "uri", location_name: "virtualClusterId"))
|
167
|
+
DeleteManagedEndpointRequest.struct_class = Types::DeleteManagedEndpointRequest
|
168
|
+
|
169
|
+
DeleteManagedEndpointResponse.add_member(:id, Shapes::ShapeRef.new(shape: ResourceIdString, location_name: "id"))
|
170
|
+
DeleteManagedEndpointResponse.add_member(:virtual_cluster_id, Shapes::ShapeRef.new(shape: ResourceIdString, location_name: "virtualClusterId"))
|
171
|
+
DeleteManagedEndpointResponse.struct_class = Types::DeleteManagedEndpointResponse
|
172
|
+
|
173
|
+
DeleteVirtualClusterRequest.add_member(:id, Shapes::ShapeRef.new(shape: ResourceIdString, required: true, location: "uri", location_name: "virtualClusterId"))
|
174
|
+
DeleteVirtualClusterRequest.struct_class = Types::DeleteVirtualClusterRequest
|
175
|
+
|
176
|
+
DeleteVirtualClusterResponse.add_member(:id, Shapes::ShapeRef.new(shape: ResourceIdString, location_name: "id"))
|
177
|
+
DeleteVirtualClusterResponse.struct_class = Types::DeleteVirtualClusterResponse
|
178
|
+
|
179
|
+
DescribeJobRunRequest.add_member(:id, Shapes::ShapeRef.new(shape: ResourceIdString, required: true, location: "uri", location_name: "jobRunId"))
|
180
|
+
DescribeJobRunRequest.add_member(:virtual_cluster_id, Shapes::ShapeRef.new(shape: ResourceIdString, required: true, location: "uri", location_name: "virtualClusterId"))
|
181
|
+
DescribeJobRunRequest.struct_class = Types::DescribeJobRunRequest
|
182
|
+
|
183
|
+
DescribeJobRunResponse.add_member(:job_run, Shapes::ShapeRef.new(shape: JobRun, location_name: "jobRun"))
|
184
|
+
DescribeJobRunResponse.struct_class = Types::DescribeJobRunResponse
|
185
|
+
|
186
|
+
DescribeManagedEndpointRequest.add_member(:id, Shapes::ShapeRef.new(shape: ResourceIdString, required: true, location: "uri", location_name: "endpointId"))
|
187
|
+
DescribeManagedEndpointRequest.add_member(:virtual_cluster_id, Shapes::ShapeRef.new(shape: ResourceIdString, required: true, location: "uri", location_name: "virtualClusterId"))
|
188
|
+
DescribeManagedEndpointRequest.struct_class = Types::DescribeManagedEndpointRequest
|
189
|
+
|
190
|
+
DescribeManagedEndpointResponse.add_member(:endpoint, Shapes::ShapeRef.new(shape: Endpoint, location_name: "endpoint"))
|
191
|
+
DescribeManagedEndpointResponse.struct_class = Types::DescribeManagedEndpointResponse
|
192
|
+
|
193
|
+
DescribeVirtualClusterRequest.add_member(:id, Shapes::ShapeRef.new(shape: ResourceIdString, required: true, location: "uri", location_name: "virtualClusterId"))
|
194
|
+
DescribeVirtualClusterRequest.struct_class = Types::DescribeVirtualClusterRequest
|
195
|
+
|
196
|
+
DescribeVirtualClusterResponse.add_member(:virtual_cluster, Shapes::ShapeRef.new(shape: VirtualCluster, location_name: "virtualCluster"))
|
197
|
+
DescribeVirtualClusterResponse.struct_class = Types::DescribeVirtualClusterResponse
|
198
|
+
|
199
|
+
EksInfo.add_member(:namespace, Shapes::ShapeRef.new(shape: String256, location_name: "namespace"))
|
200
|
+
EksInfo.struct_class = Types::EksInfo
|
201
|
+
|
202
|
+
Endpoint.add_member(:id, Shapes::ShapeRef.new(shape: ResourceIdString, location_name: "id"))
|
203
|
+
Endpoint.add_member(:name, Shapes::ShapeRef.new(shape: ResourceNameString, location_name: "name"))
|
204
|
+
Endpoint.add_member(:arn, Shapes::ShapeRef.new(shape: EndpointArn, location_name: "arn"))
|
205
|
+
Endpoint.add_member(:virtual_cluster_id, Shapes::ShapeRef.new(shape: ResourceIdString, location_name: "virtualClusterId"))
|
206
|
+
Endpoint.add_member(:type, Shapes::ShapeRef.new(shape: EndpointType, location_name: "type"))
|
207
|
+
Endpoint.add_member(:state, Shapes::ShapeRef.new(shape: EndpointState, location_name: "state"))
|
208
|
+
Endpoint.add_member(:release_label, Shapes::ShapeRef.new(shape: ReleaseLabel, location_name: "releaseLabel"))
|
209
|
+
Endpoint.add_member(:execution_role_arn, Shapes::ShapeRef.new(shape: IAMRoleArn, location_name: "executionRoleArn"))
|
210
|
+
Endpoint.add_member(:certificate_arn, Shapes::ShapeRef.new(shape: ACMCertArn, location_name: "certificateArn"))
|
211
|
+
Endpoint.add_member(:configuration_overrides, Shapes::ShapeRef.new(shape: ConfigurationOverrides, location_name: "configurationOverrides"))
|
212
|
+
Endpoint.add_member(:server_url, Shapes::ShapeRef.new(shape: UriString, location_name: "serverUrl"))
|
213
|
+
Endpoint.add_member(:created_at, Shapes::ShapeRef.new(shape: Date, location_name: "createdAt"))
|
214
|
+
Endpoint.add_member(:security_group, Shapes::ShapeRef.new(shape: String256, location_name: "securityGroup"))
|
215
|
+
Endpoint.add_member(:subnet_ids, Shapes::ShapeRef.new(shape: SubnetIds, location_name: "subnetIds"))
|
216
|
+
Endpoint.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "tags"))
|
217
|
+
Endpoint.struct_class = Types::Endpoint
|
218
|
+
|
219
|
+
EndpointStates.member = Shapes::ShapeRef.new(shape: EndpointState)
|
220
|
+
|
221
|
+
EndpointTypes.member = Shapes::ShapeRef.new(shape: EndpointType)
|
222
|
+
|
223
|
+
Endpoints.member = Shapes::ShapeRef.new(shape: Endpoint)
|
224
|
+
|
225
|
+
EntryPointArguments.member = Shapes::ShapeRef.new(shape: EntryPointArgument)
|
226
|
+
|
227
|
+
InternalServerException.add_member(:message, Shapes::ShapeRef.new(shape: String1024, location_name: "message"))
|
228
|
+
InternalServerException.struct_class = Types::InternalServerException
|
229
|
+
|
230
|
+
JobDriver.add_member(:spark_submit_job_driver, Shapes::ShapeRef.new(shape: SparkSubmitJobDriver, location_name: "sparkSubmitJobDriver"))
|
231
|
+
JobDriver.struct_class = Types::JobDriver
|
232
|
+
|
233
|
+
JobRun.add_member(:id, Shapes::ShapeRef.new(shape: ResourceIdString, location_name: "id"))
|
234
|
+
JobRun.add_member(:name, Shapes::ShapeRef.new(shape: ResourceNameString, location_name: "name"))
|
235
|
+
JobRun.add_member(:virtual_cluster_id, Shapes::ShapeRef.new(shape: ResourceIdString, location_name: "virtualClusterId"))
|
236
|
+
JobRun.add_member(:arn, Shapes::ShapeRef.new(shape: JobArn, location_name: "arn"))
|
237
|
+
JobRun.add_member(:state, Shapes::ShapeRef.new(shape: JobRunState, location_name: "state"))
|
238
|
+
JobRun.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location_name: "clientToken"))
|
239
|
+
JobRun.add_member(:execution_role_arn, Shapes::ShapeRef.new(shape: IAMRoleArn, location_name: "executionRoleArn"))
|
240
|
+
JobRun.add_member(:release_label, Shapes::ShapeRef.new(shape: ReleaseLabel, location_name: "releaseLabel"))
|
241
|
+
JobRun.add_member(:configuration_overrides, Shapes::ShapeRef.new(shape: ConfigurationOverrides, location_name: "configurationOverrides"))
|
242
|
+
JobRun.add_member(:job_driver, Shapes::ShapeRef.new(shape: JobDriver, location_name: "jobDriver"))
|
243
|
+
JobRun.add_member(:created_at, Shapes::ShapeRef.new(shape: Date, location_name: "createdAt"))
|
244
|
+
JobRun.add_member(:created_by, Shapes::ShapeRef.new(shape: RequestIdentityUserArn, location_name: "createdBy"))
|
245
|
+
JobRun.add_member(:finished_at, Shapes::ShapeRef.new(shape: Date, location_name: "finishedAt"))
|
246
|
+
JobRun.add_member(:state_details, Shapes::ShapeRef.new(shape: String256, location_name: "stateDetails"))
|
247
|
+
JobRun.add_member(:failure_reason, Shapes::ShapeRef.new(shape: FailureReason, location_name: "failureReason"))
|
248
|
+
JobRun.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "tags"))
|
249
|
+
JobRun.struct_class = Types::JobRun
|
250
|
+
|
251
|
+
JobRunStates.member = Shapes::ShapeRef.new(shape: JobRunState)
|
252
|
+
|
253
|
+
JobRuns.member = Shapes::ShapeRef.new(shape: JobRun)
|
254
|
+
|
255
|
+
ListJobRunsRequest.add_member(:virtual_cluster_id, Shapes::ShapeRef.new(shape: ResourceIdString, required: true, location: "uri", location_name: "virtualClusterId"))
|
256
|
+
ListJobRunsRequest.add_member(:created_before, Shapes::ShapeRef.new(shape: Date, location: "querystring", location_name: "createdBefore"))
|
257
|
+
ListJobRunsRequest.add_member(:created_after, Shapes::ShapeRef.new(shape: Date, location: "querystring", location_name: "createdAfter"))
|
258
|
+
ListJobRunsRequest.add_member(:name, Shapes::ShapeRef.new(shape: ResourceNameString, location: "querystring", location_name: "name"))
|
259
|
+
ListJobRunsRequest.add_member(:states, Shapes::ShapeRef.new(shape: JobRunStates, location: "querystring", location_name: "states"))
|
260
|
+
ListJobRunsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: JavaInteger, location: "querystring", location_name: "maxResults"))
|
261
|
+
ListJobRunsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "nextToken"))
|
262
|
+
ListJobRunsRequest.struct_class = Types::ListJobRunsRequest
|
263
|
+
|
264
|
+
ListJobRunsResponse.add_member(:job_runs, Shapes::ShapeRef.new(shape: JobRuns, location_name: "jobRuns"))
|
265
|
+
ListJobRunsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
|
266
|
+
ListJobRunsResponse.struct_class = Types::ListJobRunsResponse
|
267
|
+
|
268
|
+
ListManagedEndpointsRequest.add_member(:virtual_cluster_id, Shapes::ShapeRef.new(shape: ResourceIdString, required: true, location: "uri", location_name: "virtualClusterId"))
|
269
|
+
ListManagedEndpointsRequest.add_member(:created_before, Shapes::ShapeRef.new(shape: Date, location: "querystring", location_name: "createdBefore"))
|
270
|
+
ListManagedEndpointsRequest.add_member(:created_after, Shapes::ShapeRef.new(shape: Date, location: "querystring", location_name: "createdAfter"))
|
271
|
+
ListManagedEndpointsRequest.add_member(:types, Shapes::ShapeRef.new(shape: EndpointTypes, location: "querystring", location_name: "types"))
|
272
|
+
ListManagedEndpointsRequest.add_member(:states, Shapes::ShapeRef.new(shape: EndpointStates, location: "querystring", location_name: "states"))
|
273
|
+
ListManagedEndpointsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: JavaInteger, location: "querystring", location_name: "maxResults"))
|
274
|
+
ListManagedEndpointsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "nextToken"))
|
275
|
+
ListManagedEndpointsRequest.struct_class = Types::ListManagedEndpointsRequest
|
276
|
+
|
277
|
+
ListManagedEndpointsResponse.add_member(:endpoints, Shapes::ShapeRef.new(shape: Endpoints, location_name: "endpoints"))
|
278
|
+
ListManagedEndpointsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
|
279
|
+
ListManagedEndpointsResponse.struct_class = Types::ListManagedEndpointsResponse
|
280
|
+
|
281
|
+
ListTagsForResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: RsiArn, required: true, location: "uri", location_name: "resourceArn"))
|
282
|
+
ListTagsForResourceRequest.struct_class = Types::ListTagsForResourceRequest
|
283
|
+
|
284
|
+
ListTagsForResourceResponse.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "tags"))
|
285
|
+
ListTagsForResourceResponse.struct_class = Types::ListTagsForResourceResponse
|
286
|
+
|
287
|
+
ListVirtualClustersRequest.add_member(:container_provider_id, Shapes::ShapeRef.new(shape: String1024, location: "querystring", location_name: "containerProviderId"))
|
288
|
+
ListVirtualClustersRequest.add_member(:container_provider_type, Shapes::ShapeRef.new(shape: ContainerProviderType, location: "querystring", location_name: "containerProviderType"))
|
289
|
+
ListVirtualClustersRequest.add_member(:created_after, Shapes::ShapeRef.new(shape: Date, location: "querystring", location_name: "createdAfter"))
|
290
|
+
ListVirtualClustersRequest.add_member(:created_before, Shapes::ShapeRef.new(shape: Date, location: "querystring", location_name: "createdBefore"))
|
291
|
+
ListVirtualClustersRequest.add_member(:states, Shapes::ShapeRef.new(shape: VirtualClusterStates, location: "querystring", location_name: "states"))
|
292
|
+
ListVirtualClustersRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: JavaInteger, location: "querystring", location_name: "maxResults"))
|
293
|
+
ListVirtualClustersRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "nextToken"))
|
294
|
+
ListVirtualClustersRequest.struct_class = Types::ListVirtualClustersRequest
|
295
|
+
|
296
|
+
ListVirtualClustersResponse.add_member(:virtual_clusters, Shapes::ShapeRef.new(shape: VirtualClusters, location_name: "virtualClusters"))
|
297
|
+
ListVirtualClustersResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
|
298
|
+
ListVirtualClustersResponse.struct_class = Types::ListVirtualClustersResponse
|
299
|
+
|
300
|
+
MonitoringConfiguration.add_member(:persistent_app_ui, Shapes::ShapeRef.new(shape: PersistentAppUI, location_name: "persistentAppUI"))
|
301
|
+
MonitoringConfiguration.add_member(:cloud_watch_monitoring_configuration, Shapes::ShapeRef.new(shape: CloudWatchMonitoringConfiguration, location_name: "cloudWatchMonitoringConfiguration"))
|
302
|
+
MonitoringConfiguration.add_member(:s3_monitoring_configuration, Shapes::ShapeRef.new(shape: S3MonitoringConfiguration, location_name: "s3MonitoringConfiguration"))
|
303
|
+
MonitoringConfiguration.struct_class = Types::MonitoringConfiguration
|
304
|
+
|
305
|
+
ResourceNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: String1024, location_name: "message"))
|
306
|
+
ResourceNotFoundException.struct_class = Types::ResourceNotFoundException
|
307
|
+
|
308
|
+
S3MonitoringConfiguration.add_member(:log_uri, Shapes::ShapeRef.new(shape: UriString, required: true, location_name: "logUri"))
|
309
|
+
S3MonitoringConfiguration.struct_class = Types::S3MonitoringConfiguration
|
310
|
+
|
311
|
+
SensitivePropertiesMap.key = Shapes::ShapeRef.new(shape: String1024)
|
312
|
+
SensitivePropertiesMap.value = Shapes::ShapeRef.new(shape: String1024)
|
313
|
+
|
314
|
+
SparkSubmitJobDriver.add_member(:entry_point, Shapes::ShapeRef.new(shape: EntryPointPath, required: true, location_name: "entryPoint"))
|
315
|
+
SparkSubmitJobDriver.add_member(:entry_point_arguments, Shapes::ShapeRef.new(shape: EntryPointArguments, location_name: "entryPointArguments"))
|
316
|
+
SparkSubmitJobDriver.add_member(:spark_submit_parameters, Shapes::ShapeRef.new(shape: SparkSubmitParameters, location_name: "sparkSubmitParameters"))
|
317
|
+
SparkSubmitJobDriver.struct_class = Types::SparkSubmitJobDriver
|
318
|
+
|
319
|
+
StartJobRunRequest.add_member(:name, Shapes::ShapeRef.new(shape: ResourceNameString, location_name: "name"))
|
320
|
+
StartJobRunRequest.add_member(:virtual_cluster_id, Shapes::ShapeRef.new(shape: ResourceIdString, required: true, location: "uri", location_name: "virtualClusterId"))
|
321
|
+
StartJobRunRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, required: true, location_name: "clientToken", metadata: {"idempotencyToken"=>true}))
|
322
|
+
StartJobRunRequest.add_member(:execution_role_arn, Shapes::ShapeRef.new(shape: IAMRoleArn, required: true, location_name: "executionRoleArn"))
|
323
|
+
StartJobRunRequest.add_member(:release_label, Shapes::ShapeRef.new(shape: ReleaseLabel, required: true, location_name: "releaseLabel"))
|
324
|
+
StartJobRunRequest.add_member(:job_driver, Shapes::ShapeRef.new(shape: JobDriver, required: true, location_name: "jobDriver"))
|
325
|
+
StartJobRunRequest.add_member(:configuration_overrides, Shapes::ShapeRef.new(shape: ConfigurationOverrides, location_name: "configurationOverrides"))
|
326
|
+
StartJobRunRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "tags"))
|
327
|
+
StartJobRunRequest.struct_class = Types::StartJobRunRequest
|
328
|
+
|
329
|
+
StartJobRunResponse.add_member(:id, Shapes::ShapeRef.new(shape: ResourceIdString, location_name: "id"))
|
330
|
+
StartJobRunResponse.add_member(:name, Shapes::ShapeRef.new(shape: ResourceNameString, location_name: "name"))
|
331
|
+
StartJobRunResponse.add_member(:arn, Shapes::ShapeRef.new(shape: JobArn, location_name: "arn"))
|
332
|
+
StartJobRunResponse.add_member(:virtual_cluster_id, Shapes::ShapeRef.new(shape: ResourceIdString, location_name: "virtualClusterId"))
|
333
|
+
StartJobRunResponse.struct_class = Types::StartJobRunResponse
|
334
|
+
|
335
|
+
SubnetIds.member = Shapes::ShapeRef.new(shape: String256)
|
336
|
+
|
337
|
+
TagKeyList.member = Shapes::ShapeRef.new(shape: String128)
|
338
|
+
|
339
|
+
TagMap.key = Shapes::ShapeRef.new(shape: String128)
|
340
|
+
TagMap.value = Shapes::ShapeRef.new(shape: StringEmpty256)
|
341
|
+
|
342
|
+
TagResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: RsiArn, required: true, location: "uri", location_name: "resourceArn"))
|
343
|
+
TagResourceRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, required: true, location_name: "tags"))
|
344
|
+
TagResourceRequest.struct_class = Types::TagResourceRequest
|
345
|
+
|
346
|
+
TagResourceResponse.struct_class = Types::TagResourceResponse
|
347
|
+
|
348
|
+
UntagResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: RsiArn, required: true, location: "uri", location_name: "resourceArn"))
|
349
|
+
UntagResourceRequest.add_member(:tag_keys, Shapes::ShapeRef.new(shape: TagKeyList, required: true, location: "querystring", location_name: "tagKeys"))
|
350
|
+
UntagResourceRequest.struct_class = Types::UntagResourceRequest
|
351
|
+
|
352
|
+
UntagResourceResponse.struct_class = Types::UntagResourceResponse
|
353
|
+
|
354
|
+
ValidationException.add_member(:message, Shapes::ShapeRef.new(shape: String1024, location_name: "message"))
|
355
|
+
ValidationException.struct_class = Types::ValidationException
|
356
|
+
|
357
|
+
VirtualCluster.add_member(:id, Shapes::ShapeRef.new(shape: ResourceIdString, location_name: "id"))
|
358
|
+
VirtualCluster.add_member(:name, Shapes::ShapeRef.new(shape: ResourceNameString, location_name: "name"))
|
359
|
+
VirtualCluster.add_member(:arn, Shapes::ShapeRef.new(shape: VirtualClusterArn, location_name: "arn"))
|
360
|
+
VirtualCluster.add_member(:state, Shapes::ShapeRef.new(shape: VirtualClusterState, location_name: "state"))
|
361
|
+
VirtualCluster.add_member(:container_provider, Shapes::ShapeRef.new(shape: ContainerProvider, location_name: "containerProvider"))
|
362
|
+
VirtualCluster.add_member(:created_at, Shapes::ShapeRef.new(shape: Date, location_name: "createdAt"))
|
363
|
+
VirtualCluster.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "tags"))
|
364
|
+
VirtualCluster.struct_class = Types::VirtualCluster
|
365
|
+
|
366
|
+
VirtualClusterStates.member = Shapes::ShapeRef.new(shape: VirtualClusterState)
|
367
|
+
|
368
|
+
VirtualClusters.member = Shapes::ShapeRef.new(shape: VirtualCluster)
|
369
|
+
|
370
|
+
|
371
|
+
# @api private
|
372
|
+
API = Seahorse::Model::Api.new.tap do |api|
|
373
|
+
|
374
|
+
api.version = "2020-10-01"
|
375
|
+
|
376
|
+
api.metadata = {
|
377
|
+
"apiVersion" => "2020-10-01",
|
378
|
+
"endpointPrefix" => "emr-containers",
|
379
|
+
"jsonVersion" => "1.1",
|
380
|
+
"protocol" => "rest-json",
|
381
|
+
"serviceFullName" => "Amazon EMR Containers",
|
382
|
+
"serviceId" => "EMR containers",
|
383
|
+
"signatureVersion" => "v4",
|
384
|
+
"signingName" => "emr-containers",
|
385
|
+
"uid" => "emr-containers-2020-10-01",
|
386
|
+
}
|
387
|
+
|
388
|
+
api.add_operation(:cancel_job_run, Seahorse::Model::Operation.new.tap do |o|
|
389
|
+
o.name = "CancelJobRun"
|
390
|
+
o.http_method = "DELETE"
|
391
|
+
o.http_request_uri = "/virtualclusters/{virtualClusterId}/jobruns/{jobRunId}"
|
392
|
+
o.input = Shapes::ShapeRef.new(shape: CancelJobRunRequest)
|
393
|
+
o.output = Shapes::ShapeRef.new(shape: CancelJobRunResponse)
|
394
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
395
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
396
|
+
end)
|
397
|
+
|
398
|
+
api.add_operation(:create_managed_endpoint, Seahorse::Model::Operation.new.tap do |o|
|
399
|
+
o.name = "CreateManagedEndpoint"
|
400
|
+
o.http_method = "POST"
|
401
|
+
o.http_request_uri = "/virtualclusters/{virtualClusterId}/endpoints"
|
402
|
+
o.input = Shapes::ShapeRef.new(shape: CreateManagedEndpointRequest)
|
403
|
+
o.output = Shapes::ShapeRef.new(shape: CreateManagedEndpointResponse)
|
404
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
405
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
406
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
407
|
+
end)
|
408
|
+
|
409
|
+
api.add_operation(:create_virtual_cluster, Seahorse::Model::Operation.new.tap do |o|
|
410
|
+
o.name = "CreateVirtualCluster"
|
411
|
+
o.http_method = "POST"
|
412
|
+
o.http_request_uri = "/virtualclusters"
|
413
|
+
o.input = Shapes::ShapeRef.new(shape: CreateVirtualClusterRequest)
|
414
|
+
o.output = Shapes::ShapeRef.new(shape: CreateVirtualClusterResponse)
|
415
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
416
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
417
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
418
|
+
end)
|
419
|
+
|
420
|
+
api.add_operation(:delete_managed_endpoint, Seahorse::Model::Operation.new.tap do |o|
|
421
|
+
o.name = "DeleteManagedEndpoint"
|
422
|
+
o.http_method = "DELETE"
|
423
|
+
o.http_request_uri = "/virtualclusters/{virtualClusterId}/endpoints/{endpointId}"
|
424
|
+
o.input = Shapes::ShapeRef.new(shape: DeleteManagedEndpointRequest)
|
425
|
+
o.output = Shapes::ShapeRef.new(shape: DeleteManagedEndpointResponse)
|
426
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
427
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
428
|
+
end)
|
429
|
+
|
430
|
+
api.add_operation(:delete_virtual_cluster, Seahorse::Model::Operation.new.tap do |o|
|
431
|
+
o.name = "DeleteVirtualCluster"
|
432
|
+
o.http_method = "DELETE"
|
433
|
+
o.http_request_uri = "/virtualclusters/{virtualClusterId}"
|
434
|
+
o.input = Shapes::ShapeRef.new(shape: DeleteVirtualClusterRequest)
|
435
|
+
o.output = Shapes::ShapeRef.new(shape: DeleteVirtualClusterResponse)
|
436
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
437
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
438
|
+
end)
|
439
|
+
|
440
|
+
api.add_operation(:describe_job_run, Seahorse::Model::Operation.new.tap do |o|
|
441
|
+
o.name = "DescribeJobRun"
|
442
|
+
o.http_method = "GET"
|
443
|
+
o.http_request_uri = "/virtualclusters/{virtualClusterId}/jobruns/{jobRunId}"
|
444
|
+
o.input = Shapes::ShapeRef.new(shape: DescribeJobRunRequest)
|
445
|
+
o.output = Shapes::ShapeRef.new(shape: DescribeJobRunResponse)
|
446
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
447
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
448
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
449
|
+
end)
|
450
|
+
|
451
|
+
api.add_operation(:describe_managed_endpoint, Seahorse::Model::Operation.new.tap do |o|
|
452
|
+
o.name = "DescribeManagedEndpoint"
|
453
|
+
o.http_method = "GET"
|
454
|
+
o.http_request_uri = "/virtualclusters/{virtualClusterId}/endpoints/{endpointId}"
|
455
|
+
o.input = Shapes::ShapeRef.new(shape: DescribeManagedEndpointRequest)
|
456
|
+
o.output = Shapes::ShapeRef.new(shape: DescribeManagedEndpointResponse)
|
457
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
458
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
459
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
460
|
+
end)
|
461
|
+
|
462
|
+
api.add_operation(:describe_virtual_cluster, Seahorse::Model::Operation.new.tap do |o|
|
463
|
+
o.name = "DescribeVirtualCluster"
|
464
|
+
o.http_method = "GET"
|
465
|
+
o.http_request_uri = "/virtualclusters/{virtualClusterId}"
|
466
|
+
o.input = Shapes::ShapeRef.new(shape: DescribeVirtualClusterRequest)
|
467
|
+
o.output = Shapes::ShapeRef.new(shape: DescribeVirtualClusterResponse)
|
468
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
469
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
470
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
471
|
+
end)
|
472
|
+
|
473
|
+
api.add_operation(:list_job_runs, Seahorse::Model::Operation.new.tap do |o|
|
474
|
+
o.name = "ListJobRuns"
|
475
|
+
o.http_method = "GET"
|
476
|
+
o.http_request_uri = "/virtualclusters/{virtualClusterId}/jobruns"
|
477
|
+
o.input = Shapes::ShapeRef.new(shape: ListJobRunsRequest)
|
478
|
+
o.output = Shapes::ShapeRef.new(shape: ListJobRunsResponse)
|
479
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
480
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
481
|
+
o[:pager] = Aws::Pager.new(
|
482
|
+
limit_key: "max_results",
|
483
|
+
tokens: {
|
484
|
+
"next_token" => "next_token"
|
485
|
+
}
|
486
|
+
)
|
487
|
+
end)
|
488
|
+
|
489
|
+
api.add_operation(:list_managed_endpoints, Seahorse::Model::Operation.new.tap do |o|
|
490
|
+
o.name = "ListManagedEndpoints"
|
491
|
+
o.http_method = "GET"
|
492
|
+
o.http_request_uri = "/virtualclusters/{virtualClusterId}/endpoints"
|
493
|
+
o.input = Shapes::ShapeRef.new(shape: ListManagedEndpointsRequest)
|
494
|
+
o.output = Shapes::ShapeRef.new(shape: ListManagedEndpointsResponse)
|
495
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
496
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
497
|
+
o[:pager] = Aws::Pager.new(
|
498
|
+
limit_key: "max_results",
|
499
|
+
tokens: {
|
500
|
+
"next_token" => "next_token"
|
501
|
+
}
|
502
|
+
)
|
503
|
+
end)
|
504
|
+
|
505
|
+
api.add_operation(:list_tags_for_resource, Seahorse::Model::Operation.new.tap do |o|
|
506
|
+
o.name = "ListTagsForResource"
|
507
|
+
o.http_method = "GET"
|
508
|
+
o.http_request_uri = "/tags/{resourceArn}"
|
509
|
+
o.input = Shapes::ShapeRef.new(shape: ListTagsForResourceRequest)
|
510
|
+
o.output = Shapes::ShapeRef.new(shape: ListTagsForResourceResponse)
|
511
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
512
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
513
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
514
|
+
end)
|
515
|
+
|
516
|
+
api.add_operation(:list_virtual_clusters, Seahorse::Model::Operation.new.tap do |o|
|
517
|
+
o.name = "ListVirtualClusters"
|
518
|
+
o.http_method = "GET"
|
519
|
+
o.http_request_uri = "/virtualclusters"
|
520
|
+
o.input = Shapes::ShapeRef.new(shape: ListVirtualClustersRequest)
|
521
|
+
o.output = Shapes::ShapeRef.new(shape: ListVirtualClustersResponse)
|
522
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
523
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
524
|
+
o[:pager] = Aws::Pager.new(
|
525
|
+
limit_key: "max_results",
|
526
|
+
tokens: {
|
527
|
+
"next_token" => "next_token"
|
528
|
+
}
|
529
|
+
)
|
530
|
+
end)
|
531
|
+
|
532
|
+
api.add_operation(:start_job_run, Seahorse::Model::Operation.new.tap do |o|
|
533
|
+
o.name = "StartJobRun"
|
534
|
+
o.http_method = "POST"
|
535
|
+
o.http_request_uri = "/virtualclusters/{virtualClusterId}/jobruns"
|
536
|
+
o.input = Shapes::ShapeRef.new(shape: StartJobRunRequest)
|
537
|
+
o.output = Shapes::ShapeRef.new(shape: StartJobRunResponse)
|
538
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
539
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
540
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
541
|
+
end)
|
542
|
+
|
543
|
+
api.add_operation(:tag_resource, Seahorse::Model::Operation.new.tap do |o|
|
544
|
+
o.name = "TagResource"
|
545
|
+
o.http_method = "POST"
|
546
|
+
o.http_request_uri = "/tags/{resourceArn}"
|
547
|
+
o.input = Shapes::ShapeRef.new(shape: TagResourceRequest)
|
548
|
+
o.output = Shapes::ShapeRef.new(shape: TagResourceResponse)
|
549
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
550
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
551
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
552
|
+
end)
|
553
|
+
|
554
|
+
api.add_operation(:untag_resource, Seahorse::Model::Operation.new.tap do |o|
|
555
|
+
o.name = "UntagResource"
|
556
|
+
o.http_method = "DELETE"
|
557
|
+
o.http_request_uri = "/tags/{resourceArn}"
|
558
|
+
o.input = Shapes::ShapeRef.new(shape: UntagResourceRequest)
|
559
|
+
o.output = Shapes::ShapeRef.new(shape: UntagResourceResponse)
|
560
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
561
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
562
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
563
|
+
end)
|
564
|
+
end
|
565
|
+
|
566
|
+
end
|
567
|
+
end
|