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.
@@ -0,0 +1,86 @@
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
+
12
+ # When EMRContainers returns an error response, the Ruby SDK constructs and raises an error.
13
+ # These errors all extend Aws::EMRContainers::Errors::ServiceError < {Aws::Errors::ServiceError}
14
+ #
15
+ # You can rescue all EMRContainers errors using ServiceError:
16
+ #
17
+ # begin
18
+ # # do stuff
19
+ # rescue Aws::EMRContainers::Errors::ServiceError
20
+ # # rescues all EMRContainers API errors
21
+ # end
22
+ #
23
+ #
24
+ # ## Request Context
25
+ # ServiceError objects have a {Aws::Errors::ServiceError#context #context} method that returns
26
+ # information about the request that generated the error.
27
+ # See {Seahorse::Client::RequestContext} for more information.
28
+ #
29
+ # ## Error Classes
30
+ # * {InternalServerException}
31
+ # * {ResourceNotFoundException}
32
+ # * {ValidationException}
33
+ #
34
+ # Additionally, error classes are dynamically generated for service errors based on the error code
35
+ # if they are not defined above.
36
+ module Errors
37
+
38
+ extend Aws::Errors::DynamicErrors
39
+
40
+ class InternalServerException < ServiceError
41
+
42
+ # @param [Seahorse::Client::RequestContext] context
43
+ # @param [String] message
44
+ # @param [Aws::EMRContainers::Types::InternalServerException] data
45
+ def initialize(context, message, data = Aws::EmptyStructure.new)
46
+ super(context, message, data)
47
+ end
48
+
49
+ # @return [String]
50
+ def message
51
+ @message || @data[:message]
52
+ end
53
+ end
54
+
55
+ class ResourceNotFoundException < ServiceError
56
+
57
+ # @param [Seahorse::Client::RequestContext] context
58
+ # @param [String] message
59
+ # @param [Aws::EMRContainers::Types::ResourceNotFoundException] data
60
+ def initialize(context, message, data = Aws::EmptyStructure.new)
61
+ super(context, message, data)
62
+ end
63
+
64
+ # @return [String]
65
+ def message
66
+ @message || @data[:message]
67
+ end
68
+ end
69
+
70
+ class ValidationException < ServiceError
71
+
72
+ # @param [Seahorse::Client::RequestContext] context
73
+ # @param [String] message
74
+ # @param [Aws::EMRContainers::Types::ValidationException] data
75
+ def initialize(context, message, data = Aws::EmptyStructure.new)
76
+ super(context, message, data)
77
+ end
78
+
79
+ # @return [String]
80
+ def message
81
+ @message || @data[:message]
82
+ end
83
+ end
84
+
85
+ end
86
+ end
@@ -0,0 +1,26 @@
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
+
12
+ class Resource
13
+
14
+ # @param options ({})
15
+ # @option options [Client] :client
16
+ def initialize(options = {})
17
+ @client = options[:client] || Client.new(options)
18
+ end
19
+
20
+ # @return [Client]
21
+ def client
22
+ @client
23
+ end
24
+
25
+ end
26
+ end
@@ -0,0 +1,1457 @@
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
+ module Types
12
+
13
+ # @note When making an API call, you may pass CancelJobRunRequest
14
+ # data as a hash:
15
+ #
16
+ # {
17
+ # id: "ResourceIdString", # required
18
+ # virtual_cluster_id: "ResourceIdString", # required
19
+ # }
20
+ #
21
+ # @!attribute [rw] id
22
+ # The ID of the job run to cancel.
23
+ # @return [String]
24
+ #
25
+ # @!attribute [rw] virtual_cluster_id
26
+ # The ID of the virtual cluster for which the job run will be
27
+ # canceled.
28
+ # @return [String]
29
+ #
30
+ # @see http://docs.aws.amazon.com/goto/WebAPI/emr-containers-2020-10-01/CancelJobRunRequest AWS API Documentation
31
+ #
32
+ class CancelJobRunRequest < Struct.new(
33
+ :id,
34
+ :virtual_cluster_id)
35
+ SENSITIVE = []
36
+ include Aws::Structure
37
+ end
38
+
39
+ # @!attribute [rw] id
40
+ # The output contains the ID of the cancelled job run.
41
+ # @return [String]
42
+ #
43
+ # @!attribute [rw] virtual_cluster_id
44
+ # The output contains the virtual cluster ID for which the job run is
45
+ # cancelled.
46
+ # @return [String]
47
+ #
48
+ # @see http://docs.aws.amazon.com/goto/WebAPI/emr-containers-2020-10-01/CancelJobRunResponse AWS API Documentation
49
+ #
50
+ class CancelJobRunResponse < Struct.new(
51
+ :id,
52
+ :virtual_cluster_id)
53
+ SENSITIVE = []
54
+ include Aws::Structure
55
+ end
56
+
57
+ # A configuration for CloudWatch monitoring. You can configure your jobs
58
+ # to send log information to CloudWatch Logs.
59
+ #
60
+ # @note When making an API call, you may pass CloudWatchMonitoringConfiguration
61
+ # data as a hash:
62
+ #
63
+ # {
64
+ # log_group_name: "LogGroupName", # required
65
+ # log_stream_name_prefix: "String256",
66
+ # }
67
+ #
68
+ # @!attribute [rw] log_group_name
69
+ # The name of the log group for log publishing.
70
+ # @return [String]
71
+ #
72
+ # @!attribute [rw] log_stream_name_prefix
73
+ # The specified name prefix for log streams.
74
+ # @return [String]
75
+ #
76
+ # @see http://docs.aws.amazon.com/goto/WebAPI/emr-containers-2020-10-01/CloudWatchMonitoringConfiguration AWS API Documentation
77
+ #
78
+ class CloudWatchMonitoringConfiguration < Struct.new(
79
+ :log_group_name,
80
+ :log_stream_name_prefix)
81
+ SENSITIVE = []
82
+ include Aws::Structure
83
+ end
84
+
85
+ # A configuration specification to be used when provisioning virtual
86
+ # clusters, which can include configurations for applications and
87
+ # software bundled with Amazon EMR on EKS. A configuration consists of a
88
+ # classification, properties, and optional nested configurations. A
89
+ # classification refers to an application-specific configuration file.
90
+ # Properties are the settings you want to change in that file.
91
+ #
92
+ # @note When making an API call, you may pass Configuration
93
+ # data as a hash:
94
+ #
95
+ # {
96
+ # classification: "String1024", # required
97
+ # properties: {
98
+ # "String1024" => "String1024",
99
+ # },
100
+ # configurations: [
101
+ # {
102
+ # classification: "String1024", # required
103
+ # properties: {
104
+ # "String1024" => "String1024",
105
+ # },
106
+ # configurations: {
107
+ # # recursive ConfigurationList
108
+ # },
109
+ # },
110
+ # ],
111
+ # }
112
+ #
113
+ # @!attribute [rw] classification
114
+ # The classification within a configuration.
115
+ # @return [String]
116
+ #
117
+ # @!attribute [rw] properties
118
+ # A set of properties specified within a configuration classification.
119
+ # @return [Hash<String,String>]
120
+ #
121
+ # @!attribute [rw] configurations
122
+ # A list of additional configurations to apply within a configuration
123
+ # object.
124
+ # @return [Array<Types::Configuration>]
125
+ #
126
+ # @see http://docs.aws.amazon.com/goto/WebAPI/emr-containers-2020-10-01/Configuration AWS API Documentation
127
+ #
128
+ class Configuration < Struct.new(
129
+ :classification,
130
+ :properties,
131
+ :configurations)
132
+ SENSITIVE = [:properties]
133
+ include Aws::Structure
134
+ end
135
+
136
+ # A configuration specification to be used to override existing
137
+ # configurations.
138
+ #
139
+ # @note When making an API call, you may pass ConfigurationOverrides
140
+ # data as a hash:
141
+ #
142
+ # {
143
+ # application_configuration: [
144
+ # {
145
+ # classification: "String1024", # required
146
+ # properties: {
147
+ # "String1024" => "String1024",
148
+ # },
149
+ # configurations: {
150
+ # # recursive ConfigurationList
151
+ # },
152
+ # },
153
+ # ],
154
+ # monitoring_configuration: {
155
+ # persistent_app_ui: "ENABLED", # accepts ENABLED, DISABLED
156
+ # cloud_watch_monitoring_configuration: {
157
+ # log_group_name: "LogGroupName", # required
158
+ # log_stream_name_prefix: "String256",
159
+ # },
160
+ # s3_monitoring_configuration: {
161
+ # log_uri: "UriString", # required
162
+ # },
163
+ # },
164
+ # }
165
+ #
166
+ # @!attribute [rw] application_configuration
167
+ # The configurations for the application running by the job run.
168
+ # @return [Array<Types::Configuration>]
169
+ #
170
+ # @!attribute [rw] monitoring_configuration
171
+ # The configurations for monitoring.
172
+ # @return [Types::MonitoringConfiguration]
173
+ #
174
+ # @see http://docs.aws.amazon.com/goto/WebAPI/emr-containers-2020-10-01/ConfigurationOverrides AWS API Documentation
175
+ #
176
+ class ConfigurationOverrides < Struct.new(
177
+ :application_configuration,
178
+ :monitoring_configuration)
179
+ SENSITIVE = []
180
+ include Aws::Structure
181
+ end
182
+
183
+ # The information about the container used for a job run or a managed
184
+ # endpoint.
185
+ #
186
+ # @note When making an API call, you may pass ContainerInfo
187
+ # data as a hash:
188
+ #
189
+ # {
190
+ # eks_info: {
191
+ # namespace: "String256",
192
+ # },
193
+ # }
194
+ #
195
+ # @!attribute [rw] eks_info
196
+ # The information about the EKS cluster.
197
+ # @return [Types::EksInfo]
198
+ #
199
+ # @see http://docs.aws.amazon.com/goto/WebAPI/emr-containers-2020-10-01/ContainerInfo AWS API Documentation
200
+ #
201
+ class ContainerInfo < Struct.new(
202
+ :eks_info)
203
+ SENSITIVE = []
204
+ include Aws::Structure
205
+ end
206
+
207
+ # The information about the container provider.
208
+ #
209
+ # @note When making an API call, you may pass ContainerProvider
210
+ # data as a hash:
211
+ #
212
+ # {
213
+ # type: "EKS", # required, accepts EKS
214
+ # id: "String256", # required
215
+ # info: {
216
+ # eks_info: {
217
+ # namespace: "String256",
218
+ # },
219
+ # },
220
+ # }
221
+ #
222
+ # @!attribute [rw] type
223
+ # The type of the container provider. EKS is the only supported type
224
+ # as of now.
225
+ # @return [String]
226
+ #
227
+ # @!attribute [rw] id
228
+ # The ID of the container cluster.
229
+ # @return [String]
230
+ #
231
+ # @!attribute [rw] info
232
+ # The information about the container cluster.
233
+ # @return [Types::ContainerInfo]
234
+ #
235
+ # @see http://docs.aws.amazon.com/goto/WebAPI/emr-containers-2020-10-01/ContainerProvider AWS API Documentation
236
+ #
237
+ class ContainerProvider < Struct.new(
238
+ :type,
239
+ :id,
240
+ :info)
241
+ SENSITIVE = []
242
+ include Aws::Structure
243
+ end
244
+
245
+ # @note When making an API call, you may pass CreateManagedEndpointRequest
246
+ # data as a hash:
247
+ #
248
+ # {
249
+ # name: "ResourceNameString", # required
250
+ # virtual_cluster_id: "ResourceIdString", # required
251
+ # type: "EndpointType", # required
252
+ # release_label: "ReleaseLabel", # required
253
+ # execution_role_arn: "IAMRoleArn", # required
254
+ # certificate_arn: "ACMCertArn", # required
255
+ # configuration_overrides: {
256
+ # application_configuration: [
257
+ # {
258
+ # classification: "String1024", # required
259
+ # properties: {
260
+ # "String1024" => "String1024",
261
+ # },
262
+ # configurations: {
263
+ # # recursive ConfigurationList
264
+ # },
265
+ # },
266
+ # ],
267
+ # monitoring_configuration: {
268
+ # persistent_app_ui: "ENABLED", # accepts ENABLED, DISABLED
269
+ # cloud_watch_monitoring_configuration: {
270
+ # log_group_name: "LogGroupName", # required
271
+ # log_stream_name_prefix: "String256",
272
+ # },
273
+ # s3_monitoring_configuration: {
274
+ # log_uri: "UriString", # required
275
+ # },
276
+ # },
277
+ # },
278
+ # client_token: "ClientToken", # required
279
+ # tags: {
280
+ # "String128" => "StringEmpty256",
281
+ # },
282
+ # }
283
+ #
284
+ # @!attribute [rw] name
285
+ # The name of the managed endpoint.
286
+ # @return [String]
287
+ #
288
+ # @!attribute [rw] virtual_cluster_id
289
+ # The ID of the virtual cluster for which a managed endpoint is
290
+ # created.
291
+ # @return [String]
292
+ #
293
+ # @!attribute [rw] type
294
+ # The type of the managed endpoint.
295
+ # @return [String]
296
+ #
297
+ # @!attribute [rw] release_label
298
+ # The Amazon EMR release version.
299
+ # @return [String]
300
+ #
301
+ # @!attribute [rw] execution_role_arn
302
+ # The ARN of the execution role.
303
+ # @return [String]
304
+ #
305
+ # @!attribute [rw] certificate_arn
306
+ # The certificate ARN of the managed endpoint.
307
+ # @return [String]
308
+ #
309
+ # @!attribute [rw] configuration_overrides
310
+ # The configuration settings that will be used to override existing
311
+ # configurations.
312
+ # @return [Types::ConfigurationOverrides]
313
+ #
314
+ # @!attribute [rw] client_token
315
+ # The client idempotency token for this create call.
316
+ #
317
+ # **A suitable default value is auto-generated.** You should normally
318
+ # not need to pass this option.
319
+ # @return [String]
320
+ #
321
+ # @!attribute [rw] tags
322
+ # The tags of the managed endpoint.
323
+ # @return [Hash<String,String>]
324
+ #
325
+ # @see http://docs.aws.amazon.com/goto/WebAPI/emr-containers-2020-10-01/CreateManagedEndpointRequest AWS API Documentation
326
+ #
327
+ class CreateManagedEndpointRequest < Struct.new(
328
+ :name,
329
+ :virtual_cluster_id,
330
+ :type,
331
+ :release_label,
332
+ :execution_role_arn,
333
+ :certificate_arn,
334
+ :configuration_overrides,
335
+ :client_token,
336
+ :tags)
337
+ SENSITIVE = []
338
+ include Aws::Structure
339
+ end
340
+
341
+ # @!attribute [rw] id
342
+ # The output contains the ID of the managed endpoint.
343
+ # @return [String]
344
+ #
345
+ # @!attribute [rw] name
346
+ # The output contains the name of the managed endpoint.
347
+ # @return [String]
348
+ #
349
+ # @!attribute [rw] arn
350
+ # The output contains the ARN of the managed endpoint.
351
+ # @return [String]
352
+ #
353
+ # @!attribute [rw] virtual_cluster_id
354
+ # The output contains the ID of the virtual cluster.
355
+ # @return [String]
356
+ #
357
+ # @see http://docs.aws.amazon.com/goto/WebAPI/emr-containers-2020-10-01/CreateManagedEndpointResponse AWS API Documentation
358
+ #
359
+ class CreateManagedEndpointResponse < Struct.new(
360
+ :id,
361
+ :name,
362
+ :arn,
363
+ :virtual_cluster_id)
364
+ SENSITIVE = []
365
+ include Aws::Structure
366
+ end
367
+
368
+ # @note When making an API call, you may pass CreateVirtualClusterRequest
369
+ # data as a hash:
370
+ #
371
+ # {
372
+ # name: "ResourceNameString", # required
373
+ # container_provider: { # required
374
+ # type: "EKS", # required, accepts EKS
375
+ # id: "String256", # required
376
+ # info: {
377
+ # eks_info: {
378
+ # namespace: "String256",
379
+ # },
380
+ # },
381
+ # },
382
+ # client_token: "ClientToken", # required
383
+ # tags: {
384
+ # "String128" => "StringEmpty256",
385
+ # },
386
+ # }
387
+ #
388
+ # @!attribute [rw] name
389
+ # The specified name of the virtual cluster.
390
+ # @return [String]
391
+ #
392
+ # @!attribute [rw] container_provider
393
+ # The container provider of the virtual cluster.
394
+ # @return [Types::ContainerProvider]
395
+ #
396
+ # @!attribute [rw] client_token
397
+ # The client token of the virtual cluster.
398
+ #
399
+ # **A suitable default value is auto-generated.** You should normally
400
+ # not need to pass this option.
401
+ # @return [String]
402
+ #
403
+ # @!attribute [rw] tags
404
+ # The tags assigned to the virtual cluster.
405
+ # @return [Hash<String,String>]
406
+ #
407
+ # @see http://docs.aws.amazon.com/goto/WebAPI/emr-containers-2020-10-01/CreateVirtualClusterRequest AWS API Documentation
408
+ #
409
+ class CreateVirtualClusterRequest < Struct.new(
410
+ :name,
411
+ :container_provider,
412
+ :client_token,
413
+ :tags)
414
+ SENSITIVE = []
415
+ include Aws::Structure
416
+ end
417
+
418
+ # @!attribute [rw] id
419
+ # This output contains the virtual cluster ID.
420
+ # @return [String]
421
+ #
422
+ # @!attribute [rw] name
423
+ # This output contains the name of the virtual cluster.
424
+ # @return [String]
425
+ #
426
+ # @!attribute [rw] arn
427
+ # This output contains the ARN of virtual cluster.
428
+ # @return [String]
429
+ #
430
+ # @see http://docs.aws.amazon.com/goto/WebAPI/emr-containers-2020-10-01/CreateVirtualClusterResponse AWS API Documentation
431
+ #
432
+ class CreateVirtualClusterResponse < Struct.new(
433
+ :id,
434
+ :name,
435
+ :arn)
436
+ SENSITIVE = []
437
+ include Aws::Structure
438
+ end
439
+
440
+ # @note When making an API call, you may pass DeleteManagedEndpointRequest
441
+ # data as a hash:
442
+ #
443
+ # {
444
+ # id: "ResourceIdString", # required
445
+ # virtual_cluster_id: "ResourceIdString", # required
446
+ # }
447
+ #
448
+ # @!attribute [rw] id
449
+ # The ID of the managed endpoint.
450
+ # @return [String]
451
+ #
452
+ # @!attribute [rw] virtual_cluster_id
453
+ # The ID of the endpoint's virtual cluster.
454
+ # @return [String]
455
+ #
456
+ # @see http://docs.aws.amazon.com/goto/WebAPI/emr-containers-2020-10-01/DeleteManagedEndpointRequest AWS API Documentation
457
+ #
458
+ class DeleteManagedEndpointRequest < Struct.new(
459
+ :id,
460
+ :virtual_cluster_id)
461
+ SENSITIVE = []
462
+ include Aws::Structure
463
+ end
464
+
465
+ # @!attribute [rw] id
466
+ # The output displays the ID of the managed endpoint.
467
+ # @return [String]
468
+ #
469
+ # @!attribute [rw] virtual_cluster_id
470
+ # The output displays the ID of the endpoint's virtual cluster.
471
+ # @return [String]
472
+ #
473
+ # @see http://docs.aws.amazon.com/goto/WebAPI/emr-containers-2020-10-01/DeleteManagedEndpointResponse AWS API Documentation
474
+ #
475
+ class DeleteManagedEndpointResponse < Struct.new(
476
+ :id,
477
+ :virtual_cluster_id)
478
+ SENSITIVE = []
479
+ include Aws::Structure
480
+ end
481
+
482
+ # @note When making an API call, you may pass DeleteVirtualClusterRequest
483
+ # data as a hash:
484
+ #
485
+ # {
486
+ # id: "ResourceIdString", # required
487
+ # }
488
+ #
489
+ # @!attribute [rw] id
490
+ # The ID of the virtual cluster that will be deleted.
491
+ # @return [String]
492
+ #
493
+ # @see http://docs.aws.amazon.com/goto/WebAPI/emr-containers-2020-10-01/DeleteVirtualClusterRequest AWS API Documentation
494
+ #
495
+ class DeleteVirtualClusterRequest < Struct.new(
496
+ :id)
497
+ SENSITIVE = []
498
+ include Aws::Structure
499
+ end
500
+
501
+ # @!attribute [rw] id
502
+ # This output contains the ID of the virtual cluster that will be
503
+ # deleted.
504
+ # @return [String]
505
+ #
506
+ # @see http://docs.aws.amazon.com/goto/WebAPI/emr-containers-2020-10-01/DeleteVirtualClusterResponse AWS API Documentation
507
+ #
508
+ class DeleteVirtualClusterResponse < Struct.new(
509
+ :id)
510
+ SENSITIVE = []
511
+ include Aws::Structure
512
+ end
513
+
514
+ # @note When making an API call, you may pass DescribeJobRunRequest
515
+ # data as a hash:
516
+ #
517
+ # {
518
+ # id: "ResourceIdString", # required
519
+ # virtual_cluster_id: "ResourceIdString", # required
520
+ # }
521
+ #
522
+ # @!attribute [rw] id
523
+ # The ID of the job run request.
524
+ # @return [String]
525
+ #
526
+ # @!attribute [rw] virtual_cluster_id
527
+ # The ID of the virtual cluster for which the job run is submitted.
528
+ # @return [String]
529
+ #
530
+ # @see http://docs.aws.amazon.com/goto/WebAPI/emr-containers-2020-10-01/DescribeJobRunRequest AWS API Documentation
531
+ #
532
+ class DescribeJobRunRequest < Struct.new(
533
+ :id,
534
+ :virtual_cluster_id)
535
+ SENSITIVE = []
536
+ include Aws::Structure
537
+ end
538
+
539
+ # @!attribute [rw] job_run
540
+ # The output displays information about a job run.
541
+ # @return [Types::JobRun]
542
+ #
543
+ # @see http://docs.aws.amazon.com/goto/WebAPI/emr-containers-2020-10-01/DescribeJobRunResponse AWS API Documentation
544
+ #
545
+ class DescribeJobRunResponse < Struct.new(
546
+ :job_run)
547
+ SENSITIVE = []
548
+ include Aws::Structure
549
+ end
550
+
551
+ # @note When making an API call, you may pass DescribeManagedEndpointRequest
552
+ # data as a hash:
553
+ #
554
+ # {
555
+ # id: "ResourceIdString", # required
556
+ # virtual_cluster_id: "ResourceIdString", # required
557
+ # }
558
+ #
559
+ # @!attribute [rw] id
560
+ # This output displays ID of the managed endpoint.
561
+ # @return [String]
562
+ #
563
+ # @!attribute [rw] virtual_cluster_id
564
+ # The ID of the endpoint's virtual cluster.
565
+ # @return [String]
566
+ #
567
+ # @see http://docs.aws.amazon.com/goto/WebAPI/emr-containers-2020-10-01/DescribeManagedEndpointRequest AWS API Documentation
568
+ #
569
+ class DescribeManagedEndpointRequest < Struct.new(
570
+ :id,
571
+ :virtual_cluster_id)
572
+ SENSITIVE = []
573
+ include Aws::Structure
574
+ end
575
+
576
+ # @!attribute [rw] endpoint
577
+ # This output displays information about a managed endpoint.
578
+ # @return [Types::Endpoint]
579
+ #
580
+ # @see http://docs.aws.amazon.com/goto/WebAPI/emr-containers-2020-10-01/DescribeManagedEndpointResponse AWS API Documentation
581
+ #
582
+ class DescribeManagedEndpointResponse < Struct.new(
583
+ :endpoint)
584
+ SENSITIVE = []
585
+ include Aws::Structure
586
+ end
587
+
588
+ # @note When making an API call, you may pass DescribeVirtualClusterRequest
589
+ # data as a hash:
590
+ #
591
+ # {
592
+ # id: "ResourceIdString", # required
593
+ # }
594
+ #
595
+ # @!attribute [rw] id
596
+ # The ID of the virtual cluster that will be described.
597
+ # @return [String]
598
+ #
599
+ # @see http://docs.aws.amazon.com/goto/WebAPI/emr-containers-2020-10-01/DescribeVirtualClusterRequest AWS API Documentation
600
+ #
601
+ class DescribeVirtualClusterRequest < Struct.new(
602
+ :id)
603
+ SENSITIVE = []
604
+ include Aws::Structure
605
+ end
606
+
607
+ # @!attribute [rw] virtual_cluster
608
+ # This output displays information about the specified virtual
609
+ # cluster.
610
+ # @return [Types::VirtualCluster]
611
+ #
612
+ # @see http://docs.aws.amazon.com/goto/WebAPI/emr-containers-2020-10-01/DescribeVirtualClusterResponse AWS API Documentation
613
+ #
614
+ class DescribeVirtualClusterResponse < Struct.new(
615
+ :virtual_cluster)
616
+ SENSITIVE = []
617
+ include Aws::Structure
618
+ end
619
+
620
+ # The information about the EKS cluster.
621
+ #
622
+ # @note When making an API call, you may pass EksInfo
623
+ # data as a hash:
624
+ #
625
+ # {
626
+ # namespace: "String256",
627
+ # }
628
+ #
629
+ # @!attribute [rw] namespace
630
+ # The namespaces of the EKS cluster.
631
+ # @return [String]
632
+ #
633
+ # @see http://docs.aws.amazon.com/goto/WebAPI/emr-containers-2020-10-01/EksInfo AWS API Documentation
634
+ #
635
+ class EksInfo < Struct.new(
636
+ :namespace)
637
+ SENSITIVE = []
638
+ include Aws::Structure
639
+ end
640
+
641
+ # This entity represents the endpoint that is managed by Amazon EMR on
642
+ # EKS.
643
+ #
644
+ # @!attribute [rw] id
645
+ # The ID of the endpoint.
646
+ # @return [String]
647
+ #
648
+ # @!attribute [rw] name
649
+ # The name of the endpoint.
650
+ # @return [String]
651
+ #
652
+ # @!attribute [rw] arn
653
+ # The ARN of the endpoint.
654
+ # @return [String]
655
+ #
656
+ # @!attribute [rw] virtual_cluster_id
657
+ # The ID of the endpoint's virtual cluster.
658
+ # @return [String]
659
+ #
660
+ # @!attribute [rw] type
661
+ # The type of the endpoint.
662
+ # @return [String]
663
+ #
664
+ # @!attribute [rw] state
665
+ # The state of the endpoint.
666
+ # @return [String]
667
+ #
668
+ # @!attribute [rw] release_label
669
+ # The EMR release version to be used for the endpoint.
670
+ # @return [String]
671
+ #
672
+ # @!attribute [rw] execution_role_arn
673
+ # The execution role ARN of the endpoint.
674
+ # @return [String]
675
+ #
676
+ # @!attribute [rw] certificate_arn
677
+ # The certificate ARN of the endpoint.
678
+ # @return [String]
679
+ #
680
+ # @!attribute [rw] configuration_overrides
681
+ # The configuration settings that are used to override existing
682
+ # configurations for endpoints.
683
+ # @return [Types::ConfigurationOverrides]
684
+ #
685
+ # @!attribute [rw] server_url
686
+ # The server URL of the endpoint.
687
+ # @return [String]
688
+ #
689
+ # @!attribute [rw] created_at
690
+ # The date and time when the endpoint was created.
691
+ # @return [Time]
692
+ #
693
+ # @!attribute [rw] security_group
694
+ # The security group configuration of the endpoint.
695
+ # @return [String]
696
+ #
697
+ # @!attribute [rw] subnet_ids
698
+ # The subnet IDs of the endpoint.
699
+ # @return [Array<String>]
700
+ #
701
+ # @!attribute [rw] tags
702
+ # The tags of the endpoint.
703
+ # @return [Hash<String,String>]
704
+ #
705
+ # @see http://docs.aws.amazon.com/goto/WebAPI/emr-containers-2020-10-01/Endpoint AWS API Documentation
706
+ #
707
+ class Endpoint < Struct.new(
708
+ :id,
709
+ :name,
710
+ :arn,
711
+ :virtual_cluster_id,
712
+ :type,
713
+ :state,
714
+ :release_label,
715
+ :execution_role_arn,
716
+ :certificate_arn,
717
+ :configuration_overrides,
718
+ :server_url,
719
+ :created_at,
720
+ :security_group,
721
+ :subnet_ids,
722
+ :tags)
723
+ SENSITIVE = []
724
+ include Aws::Structure
725
+ end
726
+
727
+ # This is an internal server exception.
728
+ #
729
+ # @!attribute [rw] message
730
+ # @return [String]
731
+ #
732
+ # @see http://docs.aws.amazon.com/goto/WebAPI/emr-containers-2020-10-01/InternalServerException AWS API Documentation
733
+ #
734
+ class InternalServerException < Struct.new(
735
+ :message)
736
+ SENSITIVE = []
737
+ include Aws::Structure
738
+ end
739
+
740
+ # Specify the driver that the job runs on.
741
+ #
742
+ # @note When making an API call, you may pass JobDriver
743
+ # data as a hash:
744
+ #
745
+ # {
746
+ # spark_submit_job_driver: {
747
+ # entry_point: "EntryPointPath", # required
748
+ # entry_point_arguments: ["EntryPointArgument"],
749
+ # spark_submit_parameters: "SparkSubmitParameters",
750
+ # },
751
+ # }
752
+ #
753
+ # @!attribute [rw] spark_submit_job_driver
754
+ # The job driver parameters specified for spark submit.
755
+ # @return [Types::SparkSubmitJobDriver]
756
+ #
757
+ # @see http://docs.aws.amazon.com/goto/WebAPI/emr-containers-2020-10-01/JobDriver AWS API Documentation
758
+ #
759
+ class JobDriver < Struct.new(
760
+ :spark_submit_job_driver)
761
+ SENSITIVE = []
762
+ include Aws::Structure
763
+ end
764
+
765
+ # This entity describes a job run. A job run is a unit of work, such as
766
+ # a Spark jar, PySpark script, or SparkSQL query, that you submit to
767
+ # Amazon EMR on EKS.
768
+ #
769
+ # @!attribute [rw] id
770
+ # The ID of the job run.
771
+ # @return [String]
772
+ #
773
+ # @!attribute [rw] name
774
+ # The name of the job run.
775
+ # @return [String]
776
+ #
777
+ # @!attribute [rw] virtual_cluster_id
778
+ # The ID of the job run's virtual cluster.
779
+ # @return [String]
780
+ #
781
+ # @!attribute [rw] arn
782
+ # The ARN of job run.
783
+ # @return [String]
784
+ #
785
+ # @!attribute [rw] state
786
+ # The state of the job run.
787
+ # @return [String]
788
+ #
789
+ # @!attribute [rw] client_token
790
+ # The client token used to start a job run.
791
+ # @return [String]
792
+ #
793
+ # @!attribute [rw] execution_role_arn
794
+ # The execution role ARN of the job run.
795
+ # @return [String]
796
+ #
797
+ # @!attribute [rw] release_label
798
+ # The release version of Amazon EMR.
799
+ # @return [String]
800
+ #
801
+ # @!attribute [rw] configuration_overrides
802
+ # The configuration settings that are used to override default
803
+ # configuration.
804
+ # @return [Types::ConfigurationOverrides]
805
+ #
806
+ # @!attribute [rw] job_driver
807
+ # Parameters of job driver for the job run.
808
+ # @return [Types::JobDriver]
809
+ #
810
+ # @!attribute [rw] created_at
811
+ # The date and time when the job run was created.
812
+ # @return [Time]
813
+ #
814
+ # @!attribute [rw] created_by
815
+ # The user who created the job run.
816
+ # @return [String]
817
+ #
818
+ # @!attribute [rw] finished_at
819
+ # The date and time when the job run has finished.
820
+ # @return [Time]
821
+ #
822
+ # @!attribute [rw] state_details
823
+ # Additional details of the job run state.
824
+ # @return [String]
825
+ #
826
+ # @!attribute [rw] failure_reason
827
+ # The reasons why the job run has failed.
828
+ # @return [String]
829
+ #
830
+ # @!attribute [rw] tags
831
+ # The assigned tags of the job run.
832
+ # @return [Hash<String,String>]
833
+ #
834
+ # @see http://docs.aws.amazon.com/goto/WebAPI/emr-containers-2020-10-01/JobRun AWS API Documentation
835
+ #
836
+ class JobRun < Struct.new(
837
+ :id,
838
+ :name,
839
+ :virtual_cluster_id,
840
+ :arn,
841
+ :state,
842
+ :client_token,
843
+ :execution_role_arn,
844
+ :release_label,
845
+ :configuration_overrides,
846
+ :job_driver,
847
+ :created_at,
848
+ :created_by,
849
+ :finished_at,
850
+ :state_details,
851
+ :failure_reason,
852
+ :tags)
853
+ SENSITIVE = []
854
+ include Aws::Structure
855
+ end
856
+
857
+ # @note When making an API call, you may pass ListJobRunsRequest
858
+ # data as a hash:
859
+ #
860
+ # {
861
+ # virtual_cluster_id: "ResourceIdString", # required
862
+ # created_before: Time.now,
863
+ # created_after: Time.now,
864
+ # name: "ResourceNameString",
865
+ # states: ["PENDING"], # accepts PENDING, SUBMITTED, RUNNING, FAILED, CANCELLED, CANCEL_PENDING, COMPLETED
866
+ # max_results: 1,
867
+ # next_token: "NextToken",
868
+ # }
869
+ #
870
+ # @!attribute [rw] virtual_cluster_id
871
+ # The ID of the virtual cluster for which to list the job run.
872
+ # @return [String]
873
+ #
874
+ # @!attribute [rw] created_before
875
+ # The date and time before which the job runs were submitted.
876
+ # @return [Time]
877
+ #
878
+ # @!attribute [rw] created_after
879
+ # The date and time after which the job runs were submitted.
880
+ # @return [Time]
881
+ #
882
+ # @!attribute [rw] name
883
+ # The name of the job run.
884
+ # @return [String]
885
+ #
886
+ # @!attribute [rw] states
887
+ # The states of the job run.
888
+ # @return [Array<String>]
889
+ #
890
+ # @!attribute [rw] max_results
891
+ # The maximum number of job runs that can be listed.
892
+ # @return [Integer]
893
+ #
894
+ # @!attribute [rw] next_token
895
+ # The token for the next set of job runs to return.
896
+ # @return [String]
897
+ #
898
+ # @see http://docs.aws.amazon.com/goto/WebAPI/emr-containers-2020-10-01/ListJobRunsRequest AWS API Documentation
899
+ #
900
+ class ListJobRunsRequest < Struct.new(
901
+ :virtual_cluster_id,
902
+ :created_before,
903
+ :created_after,
904
+ :name,
905
+ :states,
906
+ :max_results,
907
+ :next_token)
908
+ SENSITIVE = []
909
+ include Aws::Structure
910
+ end
911
+
912
+ # @!attribute [rw] job_runs
913
+ # This output lists information about the specified job runs.
914
+ # @return [Array<Types::JobRun>]
915
+ #
916
+ # @!attribute [rw] next_token
917
+ # This output displays the token for the next set of job runs.
918
+ # @return [String]
919
+ #
920
+ # @see http://docs.aws.amazon.com/goto/WebAPI/emr-containers-2020-10-01/ListJobRunsResponse AWS API Documentation
921
+ #
922
+ class ListJobRunsResponse < Struct.new(
923
+ :job_runs,
924
+ :next_token)
925
+ SENSITIVE = []
926
+ include Aws::Structure
927
+ end
928
+
929
+ # @note When making an API call, you may pass ListManagedEndpointsRequest
930
+ # data as a hash:
931
+ #
932
+ # {
933
+ # virtual_cluster_id: "ResourceIdString", # required
934
+ # created_before: Time.now,
935
+ # created_after: Time.now,
936
+ # types: ["EndpointType"],
937
+ # states: ["CREATING"], # accepts CREATING, ACTIVE, TERMINATING, TERMINATED, TERMINATED_WITH_ERRORS
938
+ # max_results: 1,
939
+ # next_token: "NextToken",
940
+ # }
941
+ #
942
+ # @!attribute [rw] virtual_cluster_id
943
+ # The ID of the virtual cluster.
944
+ # @return [String]
945
+ #
946
+ # @!attribute [rw] created_before
947
+ # The date and time before which the endpoints are created.
948
+ # @return [Time]
949
+ #
950
+ # @!attribute [rw] created_after
951
+ # The date and time after which the endpoints are created.
952
+ # @return [Time]
953
+ #
954
+ # @!attribute [rw] types
955
+ # The types of the managed endpoints.
956
+ # @return [Array<String>]
957
+ #
958
+ # @!attribute [rw] states
959
+ # The states of the managed endpoints.
960
+ # @return [Array<String>]
961
+ #
962
+ # @!attribute [rw] max_results
963
+ # The maximum number of managed endpoints that can be listed.
964
+ # @return [Integer]
965
+ #
966
+ # @!attribute [rw] next_token
967
+ # The token for the next set of managed endpoints to return.
968
+ # @return [String]
969
+ #
970
+ # @see http://docs.aws.amazon.com/goto/WebAPI/emr-containers-2020-10-01/ListManagedEndpointsRequest AWS API Documentation
971
+ #
972
+ class ListManagedEndpointsRequest < Struct.new(
973
+ :virtual_cluster_id,
974
+ :created_before,
975
+ :created_after,
976
+ :types,
977
+ :states,
978
+ :max_results,
979
+ :next_token)
980
+ SENSITIVE = []
981
+ include Aws::Structure
982
+ end
983
+
984
+ # @!attribute [rw] endpoints
985
+ # The managed endpoints to be listed.
986
+ # @return [Array<Types::Endpoint>]
987
+ #
988
+ # @!attribute [rw] next_token
989
+ # The token for the next set of endpoints to return.
990
+ # @return [String]
991
+ #
992
+ # @see http://docs.aws.amazon.com/goto/WebAPI/emr-containers-2020-10-01/ListManagedEndpointsResponse AWS API Documentation
993
+ #
994
+ class ListManagedEndpointsResponse < Struct.new(
995
+ :endpoints,
996
+ :next_token)
997
+ SENSITIVE = []
998
+ include Aws::Structure
999
+ end
1000
+
1001
+ # @note When making an API call, you may pass ListTagsForResourceRequest
1002
+ # data as a hash:
1003
+ #
1004
+ # {
1005
+ # resource_arn: "RsiArn", # required
1006
+ # }
1007
+ #
1008
+ # @!attribute [rw] resource_arn
1009
+ # The ARN of tagged resources.
1010
+ # @return [String]
1011
+ #
1012
+ # @see http://docs.aws.amazon.com/goto/WebAPI/emr-containers-2020-10-01/ListTagsForResourceRequest AWS API Documentation
1013
+ #
1014
+ class ListTagsForResourceRequest < Struct.new(
1015
+ :resource_arn)
1016
+ SENSITIVE = []
1017
+ include Aws::Structure
1018
+ end
1019
+
1020
+ # @!attribute [rw] tags
1021
+ # The tags assigned to resources.
1022
+ # @return [Hash<String,String>]
1023
+ #
1024
+ # @see http://docs.aws.amazon.com/goto/WebAPI/emr-containers-2020-10-01/ListTagsForResourceResponse AWS API Documentation
1025
+ #
1026
+ class ListTagsForResourceResponse < Struct.new(
1027
+ :tags)
1028
+ SENSITIVE = []
1029
+ include Aws::Structure
1030
+ end
1031
+
1032
+ # @note When making an API call, you may pass ListVirtualClustersRequest
1033
+ # data as a hash:
1034
+ #
1035
+ # {
1036
+ # container_provider_id: "String1024",
1037
+ # container_provider_type: "EKS", # accepts EKS
1038
+ # created_after: Time.now,
1039
+ # created_before: Time.now,
1040
+ # states: ["RUNNING"], # accepts RUNNING, TERMINATING, TERMINATED, ARRESTED
1041
+ # max_results: 1,
1042
+ # next_token: "NextToken",
1043
+ # }
1044
+ #
1045
+ # @!attribute [rw] container_provider_id
1046
+ # The container provider ID of the virtual cluster.
1047
+ # @return [String]
1048
+ #
1049
+ # @!attribute [rw] container_provider_type
1050
+ # The container provider type of the virtual cluster. EKS is the only
1051
+ # supported type as of now.
1052
+ # @return [String]
1053
+ #
1054
+ # @!attribute [rw] created_after
1055
+ # The date and time after which the virtual clusters are created.
1056
+ # @return [Time]
1057
+ #
1058
+ # @!attribute [rw] created_before
1059
+ # The date and time before which the virtual clusters are created.
1060
+ # @return [Time]
1061
+ #
1062
+ # @!attribute [rw] states
1063
+ # The states of the requested virtual clusters.
1064
+ # @return [Array<String>]
1065
+ #
1066
+ # @!attribute [rw] max_results
1067
+ # The maximum number of virtual clusters that can be listed.
1068
+ # @return [Integer]
1069
+ #
1070
+ # @!attribute [rw] next_token
1071
+ # The token for the next set of virtual clusters to return.
1072
+ # @return [String]
1073
+ #
1074
+ # @see http://docs.aws.amazon.com/goto/WebAPI/emr-containers-2020-10-01/ListVirtualClustersRequest AWS API Documentation
1075
+ #
1076
+ class ListVirtualClustersRequest < Struct.new(
1077
+ :container_provider_id,
1078
+ :container_provider_type,
1079
+ :created_after,
1080
+ :created_before,
1081
+ :states,
1082
+ :max_results,
1083
+ :next_token)
1084
+ SENSITIVE = []
1085
+ include Aws::Structure
1086
+ end
1087
+
1088
+ # @!attribute [rw] virtual_clusters
1089
+ # This output lists the specified virtual clusters.
1090
+ # @return [Array<Types::VirtualCluster>]
1091
+ #
1092
+ # @!attribute [rw] next_token
1093
+ # This output displays the token for the next set of virtual clusters.
1094
+ # @return [String]
1095
+ #
1096
+ # @see http://docs.aws.amazon.com/goto/WebAPI/emr-containers-2020-10-01/ListVirtualClustersResponse AWS API Documentation
1097
+ #
1098
+ class ListVirtualClustersResponse < Struct.new(
1099
+ :virtual_clusters,
1100
+ :next_token)
1101
+ SENSITIVE = []
1102
+ include Aws::Structure
1103
+ end
1104
+
1105
+ # Configuration setting for monitoring.
1106
+ #
1107
+ # @note When making an API call, you may pass MonitoringConfiguration
1108
+ # data as a hash:
1109
+ #
1110
+ # {
1111
+ # persistent_app_ui: "ENABLED", # accepts ENABLED, DISABLED
1112
+ # cloud_watch_monitoring_configuration: {
1113
+ # log_group_name: "LogGroupName", # required
1114
+ # log_stream_name_prefix: "String256",
1115
+ # },
1116
+ # s3_monitoring_configuration: {
1117
+ # log_uri: "UriString", # required
1118
+ # },
1119
+ # }
1120
+ #
1121
+ # @!attribute [rw] persistent_app_ui
1122
+ # Monitoring configurations for the persistent application UI.
1123
+ # @return [String]
1124
+ #
1125
+ # @!attribute [rw] cloud_watch_monitoring_configuration
1126
+ # Monitoring configurations for CloudWatch.
1127
+ # @return [Types::CloudWatchMonitoringConfiguration]
1128
+ #
1129
+ # @!attribute [rw] s3_monitoring_configuration
1130
+ # Amazon S3 configuration for monitoring log publishing.
1131
+ # @return [Types::S3MonitoringConfiguration]
1132
+ #
1133
+ # @see http://docs.aws.amazon.com/goto/WebAPI/emr-containers-2020-10-01/MonitoringConfiguration AWS API Documentation
1134
+ #
1135
+ class MonitoringConfiguration < Struct.new(
1136
+ :persistent_app_ui,
1137
+ :cloud_watch_monitoring_configuration,
1138
+ :s3_monitoring_configuration)
1139
+ SENSITIVE = []
1140
+ include Aws::Structure
1141
+ end
1142
+
1143
+ # The specified resource was not found.
1144
+ #
1145
+ # @!attribute [rw] message
1146
+ # @return [String]
1147
+ #
1148
+ # @see http://docs.aws.amazon.com/goto/WebAPI/emr-containers-2020-10-01/ResourceNotFoundException AWS API Documentation
1149
+ #
1150
+ class ResourceNotFoundException < Struct.new(
1151
+ :message)
1152
+ SENSITIVE = []
1153
+ include Aws::Structure
1154
+ end
1155
+
1156
+ # Amazon S3 configuration for monitoring log publishing. You can
1157
+ # configure your jobs to send log information to Amazon S3.
1158
+ #
1159
+ # @note When making an API call, you may pass S3MonitoringConfiguration
1160
+ # data as a hash:
1161
+ #
1162
+ # {
1163
+ # log_uri: "UriString", # required
1164
+ # }
1165
+ #
1166
+ # @!attribute [rw] log_uri
1167
+ # Amazon S3 destination URI for log publishing.
1168
+ # @return [String]
1169
+ #
1170
+ # @see http://docs.aws.amazon.com/goto/WebAPI/emr-containers-2020-10-01/S3MonitoringConfiguration AWS API Documentation
1171
+ #
1172
+ class S3MonitoringConfiguration < Struct.new(
1173
+ :log_uri)
1174
+ SENSITIVE = []
1175
+ include Aws::Structure
1176
+ end
1177
+
1178
+ # The information about job driver for Spark submit.
1179
+ #
1180
+ # @note When making an API call, you may pass SparkSubmitJobDriver
1181
+ # data as a hash:
1182
+ #
1183
+ # {
1184
+ # entry_point: "EntryPointPath", # required
1185
+ # entry_point_arguments: ["EntryPointArgument"],
1186
+ # spark_submit_parameters: "SparkSubmitParameters",
1187
+ # }
1188
+ #
1189
+ # @!attribute [rw] entry_point
1190
+ # The entry point of job application.
1191
+ # @return [String]
1192
+ #
1193
+ # @!attribute [rw] entry_point_arguments
1194
+ # The arguments for job application.
1195
+ # @return [Array<String>]
1196
+ #
1197
+ # @!attribute [rw] spark_submit_parameters
1198
+ # The Spark submit parameters that are used for job runs.
1199
+ # @return [String]
1200
+ #
1201
+ # @see http://docs.aws.amazon.com/goto/WebAPI/emr-containers-2020-10-01/SparkSubmitJobDriver AWS API Documentation
1202
+ #
1203
+ class SparkSubmitJobDriver < Struct.new(
1204
+ :entry_point,
1205
+ :entry_point_arguments,
1206
+ :spark_submit_parameters)
1207
+ SENSITIVE = [:entry_point, :spark_submit_parameters]
1208
+ include Aws::Structure
1209
+ end
1210
+
1211
+ # @note When making an API call, you may pass StartJobRunRequest
1212
+ # data as a hash:
1213
+ #
1214
+ # {
1215
+ # name: "ResourceNameString",
1216
+ # virtual_cluster_id: "ResourceIdString", # required
1217
+ # client_token: "ClientToken", # required
1218
+ # execution_role_arn: "IAMRoleArn", # required
1219
+ # release_label: "ReleaseLabel", # required
1220
+ # job_driver: { # required
1221
+ # spark_submit_job_driver: {
1222
+ # entry_point: "EntryPointPath", # required
1223
+ # entry_point_arguments: ["EntryPointArgument"],
1224
+ # spark_submit_parameters: "SparkSubmitParameters",
1225
+ # },
1226
+ # },
1227
+ # configuration_overrides: {
1228
+ # application_configuration: [
1229
+ # {
1230
+ # classification: "String1024", # required
1231
+ # properties: {
1232
+ # "String1024" => "String1024",
1233
+ # },
1234
+ # configurations: {
1235
+ # # recursive ConfigurationList
1236
+ # },
1237
+ # },
1238
+ # ],
1239
+ # monitoring_configuration: {
1240
+ # persistent_app_ui: "ENABLED", # accepts ENABLED, DISABLED
1241
+ # cloud_watch_monitoring_configuration: {
1242
+ # log_group_name: "LogGroupName", # required
1243
+ # log_stream_name_prefix: "String256",
1244
+ # },
1245
+ # s3_monitoring_configuration: {
1246
+ # log_uri: "UriString", # required
1247
+ # },
1248
+ # },
1249
+ # },
1250
+ # tags: {
1251
+ # "String128" => "StringEmpty256",
1252
+ # },
1253
+ # }
1254
+ #
1255
+ # @!attribute [rw] name
1256
+ # The name of the job run.
1257
+ # @return [String]
1258
+ #
1259
+ # @!attribute [rw] virtual_cluster_id
1260
+ # The virtual cluster ID for which the job run request is submitted.
1261
+ # @return [String]
1262
+ #
1263
+ # @!attribute [rw] client_token
1264
+ # The client idempotency token of the job run request.
1265
+ #
1266
+ # **A suitable default value is auto-generated.** You should normally
1267
+ # not need to pass this option.
1268
+ # @return [String]
1269
+ #
1270
+ # @!attribute [rw] execution_role_arn
1271
+ # The execution role ARN for the job run.
1272
+ # @return [String]
1273
+ #
1274
+ # @!attribute [rw] release_label
1275
+ # The Amazon EMR release version to use for the job run.
1276
+ # @return [String]
1277
+ #
1278
+ # @!attribute [rw] job_driver
1279
+ # The job driver for the job run.
1280
+ # @return [Types::JobDriver]
1281
+ #
1282
+ # @!attribute [rw] configuration_overrides
1283
+ # The configuration overrides for the job run.
1284
+ # @return [Types::ConfigurationOverrides]
1285
+ #
1286
+ # @!attribute [rw] tags
1287
+ # The tags assigned to job runs.
1288
+ # @return [Hash<String,String>]
1289
+ #
1290
+ # @see http://docs.aws.amazon.com/goto/WebAPI/emr-containers-2020-10-01/StartJobRunRequest AWS API Documentation
1291
+ #
1292
+ class StartJobRunRequest < Struct.new(
1293
+ :name,
1294
+ :virtual_cluster_id,
1295
+ :client_token,
1296
+ :execution_role_arn,
1297
+ :release_label,
1298
+ :job_driver,
1299
+ :configuration_overrides,
1300
+ :tags)
1301
+ SENSITIVE = []
1302
+ include Aws::Structure
1303
+ end
1304
+
1305
+ # @!attribute [rw] id
1306
+ # This output displays the started job run ID.
1307
+ # @return [String]
1308
+ #
1309
+ # @!attribute [rw] name
1310
+ # This output displays the name of the started job run.
1311
+ # @return [String]
1312
+ #
1313
+ # @!attribute [rw] arn
1314
+ # This output lists the ARN of job run.
1315
+ # @return [String]
1316
+ #
1317
+ # @!attribute [rw] virtual_cluster_id
1318
+ # This output displays the virtual cluster ID for which the job run
1319
+ # was submitted.
1320
+ # @return [String]
1321
+ #
1322
+ # @see http://docs.aws.amazon.com/goto/WebAPI/emr-containers-2020-10-01/StartJobRunResponse AWS API Documentation
1323
+ #
1324
+ class StartJobRunResponse < Struct.new(
1325
+ :id,
1326
+ :name,
1327
+ :arn,
1328
+ :virtual_cluster_id)
1329
+ SENSITIVE = []
1330
+ include Aws::Structure
1331
+ end
1332
+
1333
+ # @note When making an API call, you may pass TagResourceRequest
1334
+ # data as a hash:
1335
+ #
1336
+ # {
1337
+ # resource_arn: "RsiArn", # required
1338
+ # tags: { # required
1339
+ # "String128" => "StringEmpty256",
1340
+ # },
1341
+ # }
1342
+ #
1343
+ # @!attribute [rw] resource_arn
1344
+ # The ARN of resources.
1345
+ # @return [String]
1346
+ #
1347
+ # @!attribute [rw] tags
1348
+ # The tags assigned to resources.
1349
+ # @return [Hash<String,String>]
1350
+ #
1351
+ # @see http://docs.aws.amazon.com/goto/WebAPI/emr-containers-2020-10-01/TagResourceRequest AWS API Documentation
1352
+ #
1353
+ class TagResourceRequest < Struct.new(
1354
+ :resource_arn,
1355
+ :tags)
1356
+ SENSITIVE = []
1357
+ include Aws::Structure
1358
+ end
1359
+
1360
+ # @see http://docs.aws.amazon.com/goto/WebAPI/emr-containers-2020-10-01/TagResourceResponse AWS API Documentation
1361
+ #
1362
+ class TagResourceResponse < Aws::EmptyStructure; end
1363
+
1364
+ # @note When making an API call, you may pass UntagResourceRequest
1365
+ # data as a hash:
1366
+ #
1367
+ # {
1368
+ # resource_arn: "RsiArn", # required
1369
+ # tag_keys: ["String128"], # required
1370
+ # }
1371
+ #
1372
+ # @!attribute [rw] resource_arn
1373
+ # The ARN of resources.
1374
+ # @return [String]
1375
+ #
1376
+ # @!attribute [rw] tag_keys
1377
+ # The tag keys of the resources.
1378
+ # @return [Array<String>]
1379
+ #
1380
+ # @see http://docs.aws.amazon.com/goto/WebAPI/emr-containers-2020-10-01/UntagResourceRequest AWS API Documentation
1381
+ #
1382
+ class UntagResourceRequest < Struct.new(
1383
+ :resource_arn,
1384
+ :tag_keys)
1385
+ SENSITIVE = []
1386
+ include Aws::Structure
1387
+ end
1388
+
1389
+ # @see http://docs.aws.amazon.com/goto/WebAPI/emr-containers-2020-10-01/UntagResourceResponse AWS API Documentation
1390
+ #
1391
+ class UntagResourceResponse < Aws::EmptyStructure; end
1392
+
1393
+ # There are invalid parameters in the client request.
1394
+ #
1395
+ # @!attribute [rw] message
1396
+ # @return [String]
1397
+ #
1398
+ # @see http://docs.aws.amazon.com/goto/WebAPI/emr-containers-2020-10-01/ValidationException AWS API Documentation
1399
+ #
1400
+ class ValidationException < Struct.new(
1401
+ :message)
1402
+ SENSITIVE = []
1403
+ include Aws::Structure
1404
+ end
1405
+
1406
+ # This entity describes a virtual cluster. A virtual cluster is a
1407
+ # Kubernetes namespace that Amazon EMR is registered with. Amazon EMR
1408
+ # uses virtual clusters to run jobs and host endpoints. Multiple virtual
1409
+ # clusters can be backed by the same physical cluster. However, each
1410
+ # virtual cluster maps to one namespace on an EKS cluster. Virtual
1411
+ # clusters do not create any active resources that contribute to your
1412
+ # bill or that require lifecycle management outside the service.
1413
+ #
1414
+ # @!attribute [rw] id
1415
+ # The ID of the virtual cluster.
1416
+ # @return [String]
1417
+ #
1418
+ # @!attribute [rw] name
1419
+ # The name of the virtual cluster.
1420
+ # @return [String]
1421
+ #
1422
+ # @!attribute [rw] arn
1423
+ # The ARN of the virtual cluster.
1424
+ # @return [String]
1425
+ #
1426
+ # @!attribute [rw] state
1427
+ # The state of the virtual cluster.
1428
+ # @return [String]
1429
+ #
1430
+ # @!attribute [rw] container_provider
1431
+ # The container provider of the virtual cluster.
1432
+ # @return [Types::ContainerProvider]
1433
+ #
1434
+ # @!attribute [rw] created_at
1435
+ # The date and time when the virtual cluster is created.
1436
+ # @return [Time]
1437
+ #
1438
+ # @!attribute [rw] tags
1439
+ # The assigned tags of the virtual cluster.
1440
+ # @return [Hash<String,String>]
1441
+ #
1442
+ # @see http://docs.aws.amazon.com/goto/WebAPI/emr-containers-2020-10-01/VirtualCluster AWS API Documentation
1443
+ #
1444
+ class VirtualCluster < Struct.new(
1445
+ :id,
1446
+ :name,
1447
+ :arn,
1448
+ :state,
1449
+ :container_provider,
1450
+ :created_at,
1451
+ :tags)
1452
+ SENSITIVE = []
1453
+ include Aws::Structure
1454
+ end
1455
+
1456
+ end
1457
+ end