aws-sdk-emr 1.148.0 → 1.150.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 +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-emr/client.rb +99 -1
- data/lib/aws-sdk-emr/client_api.rb +99 -0
- data/lib/aws-sdk-emr/errors.rb +64 -0
- data/lib/aws-sdk-emr/types.rb +238 -0
- data/lib/aws-sdk-emr.rb +1 -1
- data/sig/client.rbs +30 -0
- data/sig/errors.rbs +12 -0
- data/sig/types.rbs +72 -0
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 3528d77a438697a25fb731fdac6bd1d1860a0512d16859e3190fa96580d55358
|
|
4
|
+
data.tar.gz: 7681e2f8d544bbc1ed1f7f2c128ec55b614b3773c9739a1ac9d56e3830eef9a4
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: e60ae81d5d193b35cf1f55f9684c9c236e86a091fc71b4e6a3cbc80b3f4c124ebf0a54a53b6a4f8055b53edc1945433807a7ed8f27523b45ed1371d9eb03ce73
|
|
7
|
+
data.tar.gz: cb5697e78169f4490be8fab5877fa1f33d1156b38b146a87a258c2f1ca42e3f30e3987b7b13b9d2bbb293532a92f9fd879112368703294a641cf3fe152119b11
|
data/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,16 @@
|
|
|
1
1
|
Unreleased Changes
|
|
2
2
|
------------------
|
|
3
3
|
|
|
4
|
+
1.150.0 (2026-11-29)
|
|
5
|
+
------------------
|
|
6
|
+
|
|
7
|
+
* Feature - Added support for EMR system tables, which automatically capture your usage data in Amazon S3 Tables, making it available for observability, usage analysis, and audit use cases.
|
|
8
|
+
|
|
9
|
+
1.149.0 (2026-11-18)
|
|
10
|
+
------------------
|
|
11
|
+
|
|
12
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
|
13
|
+
|
|
4
14
|
1.148.0 (2026-11-16)
|
|
5
15
|
------------------
|
|
6
16
|
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.
|
|
1
|
+
1.150.0
|
data/lib/aws-sdk-emr/client.rb
CHANGED
|
@@ -2246,6 +2246,45 @@ module Aws::EMR
|
|
|
2246
2246
|
req.send_request(options)
|
|
2247
2247
|
end
|
|
2248
2248
|
|
|
2249
|
+
# Returns the system tables configuration of your account in the current
|
|
2250
|
+
# Region. For each Amazon EMR platform, the response shows which system
|
|
2251
|
+
# tables are enabled, how they are encrypted, and the status of each
|
|
2252
|
+
# table. You can request a single platform.
|
|
2253
|
+
#
|
|
2254
|
+
# @option params [String] :platform
|
|
2255
|
+
# The platform to return. If you omit it, the response includes every
|
|
2256
|
+
# platform.
|
|
2257
|
+
#
|
|
2258
|
+
# @return [Types::GetSystemTablesConfigurationOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
2259
|
+
#
|
|
2260
|
+
# * {Types::GetSystemTablesConfigurationOutput#configurations #configurations} => Array<Types::SystemTablesConfigurationSummary>
|
|
2261
|
+
#
|
|
2262
|
+
# @example Request syntax with placeholder values
|
|
2263
|
+
#
|
|
2264
|
+
# resp = client.get_system_tables_configuration({
|
|
2265
|
+
# platform: "EMR_EC2", # accepts EMR_EC2, EMR_SERVERLESS, EMR_EKS
|
|
2266
|
+
# })
|
|
2267
|
+
#
|
|
2268
|
+
# @example Response structure
|
|
2269
|
+
#
|
|
2270
|
+
# resp.configurations #=> Array
|
|
2271
|
+
# resp.configurations[0].platform #=> String, one of "EMR_EC2", "EMR_SERVERLESS", "EMR_EKS"
|
|
2272
|
+
# resp.configurations[0].system_tables.mode #=> String, one of "ALL", "NONE"
|
|
2273
|
+
# resp.configurations[0].encryption_configuration.kms_key_arn #=> String
|
|
2274
|
+
# resp.configurations[0].tables #=> Array
|
|
2275
|
+
# resp.configurations[0].tables[0].table_type #=> String, one of "JOB_RUNS", "JOB_LIFECYCLE", "SESSIONS", "SESSION_LIFECYCLE"
|
|
2276
|
+
# resp.configurations[0].tables[0].status #=> String, one of "DISABLED", "PROVISIONING", "ACTIVE", "FAILED"
|
|
2277
|
+
# resp.configurations[0].tables[0].status_reason #=> String
|
|
2278
|
+
#
|
|
2279
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/GetSystemTablesConfiguration AWS API Documentation
|
|
2280
|
+
#
|
|
2281
|
+
# @overload get_system_tables_configuration(params = {})
|
|
2282
|
+
# @param [Hash] params ({})
|
|
2283
|
+
def get_system_tables_configuration(params = {}, options = {})
|
|
2284
|
+
req = build_request(:get_system_tables_configuration, params)
|
|
2285
|
+
req.send_request(options)
|
|
2286
|
+
end
|
|
2287
|
+
|
|
2249
2288
|
# Provides information about the bootstrap actions associated with a
|
|
2250
2289
|
# cluster.
|
|
2251
2290
|
#
|
|
@@ -3564,6 +3603,65 @@ module Aws::EMR
|
|
|
3564
3603
|
req.send_request(options)
|
|
3565
3604
|
end
|
|
3566
3605
|
|
|
3606
|
+
# Enables or disables system tables for one or more Amazon EMR platforms
|
|
3607
|
+
# in your account in the current Region. System tables store Amazon EMR
|
|
3608
|
+
# operational data as Apache Iceberg tables in Amazon S3 Tables in your
|
|
3609
|
+
# account. For each platform in the request, the operation replaces that
|
|
3610
|
+
# platform's system tables configuration; platforms that you don't
|
|
3611
|
+
# specify are unchanged. The operation isn't atomic across platforms:
|
|
3612
|
+
# if it returns an error, some of the platforms in the request might
|
|
3613
|
+
# already be updated. Call `GetSystemTablesConfiguration` to see the
|
|
3614
|
+
# current configuration of each platform before you retry. Tables are
|
|
3615
|
+
# set up asynchronously: a table that you enable reports `PROVISIONING`
|
|
3616
|
+
# until it is ready. Use `GetSystemTablesConfiguration` to check its
|
|
3617
|
+
# status. If the storage for your system tables is still transitioning
|
|
3618
|
+
# after a recent deletion, the operation returns a `ConflictException`.
|
|
3619
|
+
# Wait a few minutes and retry.
|
|
3620
|
+
#
|
|
3621
|
+
# @option params [required, Array<Types::SystemTablesConfiguration>] :platforms
|
|
3622
|
+
# The system tables configuration to apply to each platform. Specify
|
|
3623
|
+
# each platform at most once.
|
|
3624
|
+
#
|
|
3625
|
+
# @return [Types::PutSystemTablesConfigurationOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
3626
|
+
#
|
|
3627
|
+
# * {Types::PutSystemTablesConfigurationOutput#configurations #configurations} => Array<Types::SystemTablesConfigurationSummary>
|
|
3628
|
+
#
|
|
3629
|
+
# @example Request syntax with placeholder values
|
|
3630
|
+
#
|
|
3631
|
+
# resp = client.put_system_tables_configuration({
|
|
3632
|
+
# platforms: [ # required
|
|
3633
|
+
# {
|
|
3634
|
+
# platform: "EMR_EC2", # required, accepts EMR_EC2, EMR_SERVERLESS, EMR_EKS
|
|
3635
|
+
# system_tables: { # required
|
|
3636
|
+
# mode: "ALL", # required, accepts ALL, NONE
|
|
3637
|
+
# },
|
|
3638
|
+
# encryption_configuration: {
|
|
3639
|
+
# kms_key_arn: "KmsKeyArn",
|
|
3640
|
+
# },
|
|
3641
|
+
# },
|
|
3642
|
+
# ],
|
|
3643
|
+
# })
|
|
3644
|
+
#
|
|
3645
|
+
# @example Response structure
|
|
3646
|
+
#
|
|
3647
|
+
# resp.configurations #=> Array
|
|
3648
|
+
# resp.configurations[0].platform #=> String, one of "EMR_EC2", "EMR_SERVERLESS", "EMR_EKS"
|
|
3649
|
+
# resp.configurations[0].system_tables.mode #=> String, one of "ALL", "NONE"
|
|
3650
|
+
# resp.configurations[0].encryption_configuration.kms_key_arn #=> String
|
|
3651
|
+
# resp.configurations[0].tables #=> Array
|
|
3652
|
+
# resp.configurations[0].tables[0].table_type #=> String, one of "JOB_RUNS", "JOB_LIFECYCLE", "SESSIONS", "SESSION_LIFECYCLE"
|
|
3653
|
+
# resp.configurations[0].tables[0].status #=> String, one of "DISABLED", "PROVISIONING", "ACTIVE", "FAILED"
|
|
3654
|
+
# resp.configurations[0].tables[0].status_reason #=> String
|
|
3655
|
+
#
|
|
3656
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/PutSystemTablesConfiguration AWS API Documentation
|
|
3657
|
+
#
|
|
3658
|
+
# @overload put_system_tables_configuration(params = {})
|
|
3659
|
+
# @param [Hash] params ({})
|
|
3660
|
+
def put_system_tables_configuration(params = {}, options = {})
|
|
3661
|
+
req = build_request(:put_system_tables_configuration, params)
|
|
3662
|
+
req.send_request(options)
|
|
3663
|
+
end
|
|
3664
|
+
|
|
3567
3665
|
# Removes an automatic scaling policy from a specified instance group
|
|
3568
3666
|
# within an Amazon EMR cluster.
|
|
3569
3667
|
#
|
|
@@ -4952,7 +5050,7 @@ module Aws::EMR
|
|
|
4952
5050
|
tracer: tracer
|
|
4953
5051
|
)
|
|
4954
5052
|
context[:gem_name] = 'aws-sdk-emr'
|
|
4955
|
-
context[:gem_version] = '1.
|
|
5053
|
+
context[:gem_version] = '1.150.0'
|
|
4956
5054
|
Seahorse::Client::Request.new(handlers, context)
|
|
4957
5055
|
end
|
|
4958
5056
|
|
|
@@ -14,6 +14,7 @@ module Aws::EMR
|
|
|
14
14
|
|
|
15
15
|
include Seahorse::Model
|
|
16
16
|
|
|
17
|
+
AccessDeniedException = Shapes::StructureShape.new(name: 'AccessDeniedException')
|
|
17
18
|
ActionOnFailure = Shapes::StringShape.new(name: 'ActionOnFailure')
|
|
18
19
|
AddInstanceFleetInput = Shapes::StructureShape.new(name: 'AddInstanceFleetInput')
|
|
19
20
|
AddInstanceFleetOutput = Shapes::StructureShape.new(name: 'AddInstanceFleetOutput')
|
|
@@ -68,6 +69,7 @@ module Aws::EMR
|
|
|
68
69
|
ComputeLimitsUnitType = Shapes::StringShape.new(name: 'ComputeLimitsUnitType')
|
|
69
70
|
Configuration = Shapes::StructureShape.new(name: 'Configuration')
|
|
70
71
|
ConfigurationList = Shapes::ListShape.new(name: 'ConfigurationList')
|
|
72
|
+
ConflictException = Shapes::StructureShape.new(name: 'ConflictException')
|
|
71
73
|
CreatePersistentAppUIInput = Shapes::StructureShape.new(name: 'CreatePersistentAppUIInput')
|
|
72
74
|
CreatePersistentAppUIOutput = Shapes::StructureShape.new(name: 'CreatePersistentAppUIOutput')
|
|
73
75
|
CreateSecurityConfigurationInput = Shapes::StructureShape.new(name: 'CreateSecurityConfigurationInput')
|
|
@@ -136,6 +138,8 @@ module Aws::EMR
|
|
|
136
138
|
GetSessionOutput = Shapes::StructureShape.new(name: 'GetSessionOutput')
|
|
137
139
|
GetStudioSessionMappingInput = Shapes::StructureShape.new(name: 'GetStudioSessionMappingInput')
|
|
138
140
|
GetStudioSessionMappingOutput = Shapes::StructureShape.new(name: 'GetStudioSessionMappingOutput')
|
|
141
|
+
GetSystemTablesConfigurationInput = Shapes::StructureShape.new(name: 'GetSystemTablesConfigurationInput')
|
|
142
|
+
GetSystemTablesConfigurationOutput = Shapes::StructureShape.new(name: 'GetSystemTablesConfigurationOutput')
|
|
139
143
|
HadoopJarStepConfig = Shapes::StructureShape.new(name: 'HadoopJarStepConfig')
|
|
140
144
|
HadoopStepConfig = Shapes::StructureShape.new(name: 'HadoopStepConfig')
|
|
141
145
|
IAMRoleArn = Shapes::StringShape.new(name: 'IAMRoleArn')
|
|
@@ -203,6 +207,7 @@ module Aws::EMR
|
|
|
203
207
|
KerberosAttributes = Shapes::StructureShape.new(name: 'KerberosAttributes')
|
|
204
208
|
KeyValue = Shapes::StructureShape.new(name: 'KeyValue')
|
|
205
209
|
KeyValueList = Shapes::ListShape.new(name: 'KeyValueList')
|
|
210
|
+
KmsKeyArn = Shapes::StringShape.new(name: 'KmsKeyArn')
|
|
206
211
|
ListBootstrapActionsInput = Shapes::StructureShape.new(name: 'ListBootstrapActionsInput')
|
|
207
212
|
ListBootstrapActionsOutput = Shapes::StructureShape.new(name: 'ListBootstrapActionsOutput')
|
|
208
213
|
ListClustersInput = Shapes::StructureShape.new(name: 'ListClustersInput')
|
|
@@ -285,6 +290,8 @@ module Aws::EMR
|
|
|
285
290
|
PutBlockPublicAccessConfigurationOutput = Shapes::StructureShape.new(name: 'PutBlockPublicAccessConfigurationOutput')
|
|
286
291
|
PutManagedScalingPolicyInput = Shapes::StructureShape.new(name: 'PutManagedScalingPolicyInput')
|
|
287
292
|
PutManagedScalingPolicyOutput = Shapes::StructureShape.new(name: 'PutManagedScalingPolicyOutput')
|
|
293
|
+
PutSystemTablesConfigurationInput = Shapes::StructureShape.new(name: 'PutSystemTablesConfigurationInput')
|
|
294
|
+
PutSystemTablesConfigurationOutput = Shapes::StructureShape.new(name: 'PutSystemTablesConfigurationOutput')
|
|
288
295
|
ReconfigurationType = Shapes::StringShape.new(name: 'ReconfigurationType')
|
|
289
296
|
ReleaseLabelFilter = Shapes::StructureShape.new(name: 'ReleaseLabelFilter')
|
|
290
297
|
RemoveAutoScalingPolicyInput = Shapes::StructureShape.new(name: 'RemoveAutoScalingPolicyInput')
|
|
@@ -374,11 +381,25 @@ module Aws::EMR
|
|
|
374
381
|
SupportedInstanceTypesList = Shapes::ListShape.new(name: 'SupportedInstanceTypesList')
|
|
375
382
|
SupportedProductConfig = Shapes::StructureShape.new(name: 'SupportedProductConfig')
|
|
376
383
|
SupportedProductsList = Shapes::ListShape.new(name: 'SupportedProductsList')
|
|
384
|
+
SystemTable = Shapes::StructureShape.new(name: 'SystemTable')
|
|
385
|
+
SystemTableList = Shapes::ListShape.new(name: 'SystemTableList')
|
|
386
|
+
SystemTableStatus = Shapes::StringShape.new(name: 'SystemTableStatus')
|
|
387
|
+
SystemTableStatusReason = Shapes::StringShape.new(name: 'SystemTableStatusReason')
|
|
388
|
+
SystemTableType = Shapes::StringShape.new(name: 'SystemTableType')
|
|
389
|
+
SystemTablesConfiguration = Shapes::StructureShape.new(name: 'SystemTablesConfiguration')
|
|
390
|
+
SystemTablesConfigurationList = Shapes::ListShape.new(name: 'SystemTablesConfigurationList')
|
|
391
|
+
SystemTablesConfigurationSummary = Shapes::StructureShape.new(name: 'SystemTablesConfigurationSummary')
|
|
392
|
+
SystemTablesConfigurationSummaryList = Shapes::ListShape.new(name: 'SystemTablesConfigurationSummaryList')
|
|
393
|
+
SystemTablesEncryptionConfiguration = Shapes::StructureShape.new(name: 'SystemTablesEncryptionConfiguration')
|
|
394
|
+
SystemTablesMode = Shapes::StringShape.new(name: 'SystemTablesMode')
|
|
395
|
+
SystemTablesPlatform = Shapes::StringShape.new(name: 'SystemTablesPlatform')
|
|
396
|
+
SystemTablesSelection = Shapes::StructureShape.new(name: 'SystemTablesSelection')
|
|
377
397
|
Tag = Shapes::StructureShape.new(name: 'Tag')
|
|
378
398
|
TagList = Shapes::ListShape.new(name: 'TagList')
|
|
379
399
|
TerminateJobFlowsInput = Shapes::StructureShape.new(name: 'TerminateJobFlowsInput')
|
|
380
400
|
TerminateSessionInput = Shapes::StructureShape.new(name: 'TerminateSessionInput')
|
|
381
401
|
TerminateSessionOutput = Shapes::StructureShape.new(name: 'TerminateSessionOutput')
|
|
402
|
+
ThrottlingException = Shapes::StructureShape.new(name: 'ThrottlingException')
|
|
382
403
|
ThroughputVal = Shapes::IntegerShape.new(name: 'ThroughputVal')
|
|
383
404
|
Unit = Shapes::StringShape.new(name: 'Unit')
|
|
384
405
|
UpdateStudioInput = Shapes::StructureShape.new(name: 'UpdateStudioInput')
|
|
@@ -386,6 +407,7 @@ module Aws::EMR
|
|
|
386
407
|
UriString = Shapes::StringShape.new(name: 'UriString')
|
|
387
408
|
UsernamePassword = Shapes::StructureShape.new(name: 'UsernamePassword')
|
|
388
409
|
UtilizationPerformanceIndexInteger = Shapes::IntegerShape.new(name: 'UtilizationPerformanceIndexInteger')
|
|
410
|
+
ValidationException = Shapes::StructureShape.new(name: 'ValidationException')
|
|
389
411
|
VolumeSpecification = Shapes::StructureShape.new(name: 'VolumeSpecification')
|
|
390
412
|
WholeNumber = Shapes::IntegerShape.new(name: 'WholeNumber')
|
|
391
413
|
XmlString = Shapes::StringShape.new(name: 'XmlString')
|
|
@@ -393,6 +415,9 @@ module Aws::EMR
|
|
|
393
415
|
XmlStringMaxLen256 = Shapes::StringShape.new(name: 'XmlStringMaxLen256')
|
|
394
416
|
XmlStringMaxLen256List = Shapes::ListShape.new(name: 'XmlStringMaxLen256List')
|
|
395
417
|
|
|
418
|
+
AccessDeniedException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
|
|
419
|
+
AccessDeniedException.struct_class = Types::AccessDeniedException
|
|
420
|
+
|
|
396
421
|
AddInstanceFleetInput.add_member(:cluster_id, Shapes::ShapeRef.new(shape: XmlStringMaxLen256, required: true, location_name: "ClusterId"))
|
|
397
422
|
AddInstanceFleetInput.add_member(:instance_fleet, Shapes::ShapeRef.new(shape: InstanceFleetConfig, required: true, location_name: "InstanceFleet"))
|
|
398
423
|
AddInstanceFleetInput.struct_class = Types::AddInstanceFleetInput
|
|
@@ -593,6 +618,9 @@ module Aws::EMR
|
|
|
593
618
|
|
|
594
619
|
ConfigurationList.member = Shapes::ShapeRef.new(shape: Configuration)
|
|
595
620
|
|
|
621
|
+
ConflictException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
|
|
622
|
+
ConflictException.struct_class = Types::ConflictException
|
|
623
|
+
|
|
596
624
|
CreatePersistentAppUIInput.add_member(:target_resource_arn, Shapes::ShapeRef.new(shape: ArnType, required: true, location_name: "TargetResourceArn"))
|
|
597
625
|
CreatePersistentAppUIInput.add_member(:emr_containers_config, Shapes::ShapeRef.new(shape: EMRContainersConfig, location_name: "EMRContainersConfig"))
|
|
598
626
|
CreatePersistentAppUIInput.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "Tags"))
|
|
@@ -860,6 +888,12 @@ module Aws::EMR
|
|
|
860
888
|
GetStudioSessionMappingOutput.add_member(:session_mapping, Shapes::ShapeRef.new(shape: SessionMappingDetail, location_name: "SessionMapping"))
|
|
861
889
|
GetStudioSessionMappingOutput.struct_class = Types::GetStudioSessionMappingOutput
|
|
862
890
|
|
|
891
|
+
GetSystemTablesConfigurationInput.add_member(:platform, Shapes::ShapeRef.new(shape: SystemTablesPlatform, location_name: "Platform"))
|
|
892
|
+
GetSystemTablesConfigurationInput.struct_class = Types::GetSystemTablesConfigurationInput
|
|
893
|
+
|
|
894
|
+
GetSystemTablesConfigurationOutput.add_member(:configurations, Shapes::ShapeRef.new(shape: SystemTablesConfigurationSummaryList, required: true, location_name: "Configurations"))
|
|
895
|
+
GetSystemTablesConfigurationOutput.struct_class = Types::GetSystemTablesConfigurationOutput
|
|
896
|
+
|
|
863
897
|
HadoopJarStepConfig.add_member(:properties, Shapes::ShapeRef.new(shape: KeyValueList, location_name: "Properties"))
|
|
864
898
|
HadoopJarStepConfig.add_member(:jar, Shapes::ShapeRef.new(shape: XmlString, required: true, location_name: "Jar"))
|
|
865
899
|
HadoopJarStepConfig.add_member(:main_class, Shapes::ShapeRef.new(shape: XmlString, location_name: "MainClass"))
|
|
@@ -1443,6 +1477,12 @@ module Aws::EMR
|
|
|
1443
1477
|
|
|
1444
1478
|
PutManagedScalingPolicyOutput.struct_class = Types::PutManagedScalingPolicyOutput
|
|
1445
1479
|
|
|
1480
|
+
PutSystemTablesConfigurationInput.add_member(:platforms, Shapes::ShapeRef.new(shape: SystemTablesConfigurationList, required: true, location_name: "Platforms"))
|
|
1481
|
+
PutSystemTablesConfigurationInput.struct_class = Types::PutSystemTablesConfigurationInput
|
|
1482
|
+
|
|
1483
|
+
PutSystemTablesConfigurationOutput.add_member(:configurations, Shapes::ShapeRef.new(shape: SystemTablesConfigurationSummaryList, required: true, location_name: "Configurations"))
|
|
1484
|
+
PutSystemTablesConfigurationOutput.struct_class = Types::PutSystemTablesConfigurationOutput
|
|
1485
|
+
|
|
1446
1486
|
ReleaseLabelFilter.add_member(:prefix, Shapes::ShapeRef.new(shape: String, location_name: "Prefix"))
|
|
1447
1487
|
ReleaseLabelFilter.add_member(:application, Shapes::ShapeRef.new(shape: String, location_name: "Application"))
|
|
1448
1488
|
ReleaseLabelFilter.struct_class = Types::ReleaseLabelFilter
|
|
@@ -1825,6 +1865,34 @@ module Aws::EMR
|
|
|
1825
1865
|
|
|
1826
1866
|
SupportedProductsList.member = Shapes::ShapeRef.new(shape: XmlStringMaxLen256)
|
|
1827
1867
|
|
|
1868
|
+
SystemTable.add_member(:table_type, Shapes::ShapeRef.new(shape: SystemTableType, required: true, location_name: "TableType"))
|
|
1869
|
+
SystemTable.add_member(:status, Shapes::ShapeRef.new(shape: SystemTableStatus, required: true, location_name: "Status"))
|
|
1870
|
+
SystemTable.add_member(:status_reason, Shapes::ShapeRef.new(shape: SystemTableStatusReason, location_name: "StatusReason"))
|
|
1871
|
+
SystemTable.struct_class = Types::SystemTable
|
|
1872
|
+
|
|
1873
|
+
SystemTableList.member = Shapes::ShapeRef.new(shape: SystemTable)
|
|
1874
|
+
|
|
1875
|
+
SystemTablesConfiguration.add_member(:platform, Shapes::ShapeRef.new(shape: SystemTablesPlatform, required: true, location_name: "Platform"))
|
|
1876
|
+
SystemTablesConfiguration.add_member(:system_tables, Shapes::ShapeRef.new(shape: SystemTablesSelection, required: true, location_name: "SystemTables"))
|
|
1877
|
+
SystemTablesConfiguration.add_member(:encryption_configuration, Shapes::ShapeRef.new(shape: SystemTablesEncryptionConfiguration, location_name: "EncryptionConfiguration"))
|
|
1878
|
+
SystemTablesConfiguration.struct_class = Types::SystemTablesConfiguration
|
|
1879
|
+
|
|
1880
|
+
SystemTablesConfigurationList.member = Shapes::ShapeRef.new(shape: SystemTablesConfiguration)
|
|
1881
|
+
|
|
1882
|
+
SystemTablesConfigurationSummary.add_member(:platform, Shapes::ShapeRef.new(shape: SystemTablesPlatform, required: true, location_name: "Platform"))
|
|
1883
|
+
SystemTablesConfigurationSummary.add_member(:system_tables, Shapes::ShapeRef.new(shape: SystemTablesSelection, required: true, location_name: "SystemTables"))
|
|
1884
|
+
SystemTablesConfigurationSummary.add_member(:encryption_configuration, Shapes::ShapeRef.new(shape: SystemTablesEncryptionConfiguration, location_name: "EncryptionConfiguration"))
|
|
1885
|
+
SystemTablesConfigurationSummary.add_member(:tables, Shapes::ShapeRef.new(shape: SystemTableList, required: true, location_name: "Tables"))
|
|
1886
|
+
SystemTablesConfigurationSummary.struct_class = Types::SystemTablesConfigurationSummary
|
|
1887
|
+
|
|
1888
|
+
SystemTablesConfigurationSummaryList.member = Shapes::ShapeRef.new(shape: SystemTablesConfigurationSummary)
|
|
1889
|
+
|
|
1890
|
+
SystemTablesEncryptionConfiguration.add_member(:kms_key_arn, Shapes::ShapeRef.new(shape: KmsKeyArn, location_name: "KmsKeyArn"))
|
|
1891
|
+
SystemTablesEncryptionConfiguration.struct_class = Types::SystemTablesEncryptionConfiguration
|
|
1892
|
+
|
|
1893
|
+
SystemTablesSelection.add_member(:mode, Shapes::ShapeRef.new(shape: SystemTablesMode, required: true, location_name: "Mode"))
|
|
1894
|
+
SystemTablesSelection.struct_class = Types::SystemTablesSelection
|
|
1895
|
+
|
|
1828
1896
|
Tag.add_member(:key, Shapes::ShapeRef.new(shape: String, location_name: "Key"))
|
|
1829
1897
|
Tag.add_member(:value, Shapes::ShapeRef.new(shape: String, location_name: "Value"))
|
|
1830
1898
|
Tag.struct_class = Types::Tag
|
|
@@ -1843,6 +1911,9 @@ module Aws::EMR
|
|
|
1843
1911
|
TerminateSessionOutput.add_member(:state, Shapes::ShapeRef.new(shape: SessionState, required: true, location_name: "State"))
|
|
1844
1912
|
TerminateSessionOutput.struct_class = Types::TerminateSessionOutput
|
|
1845
1913
|
|
|
1914
|
+
ThrottlingException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
|
|
1915
|
+
ThrottlingException.struct_class = Types::ThrottlingException
|
|
1916
|
+
|
|
1846
1917
|
UpdateStudioInput.add_member(:studio_id, Shapes::ShapeRef.new(shape: XmlStringMaxLen256, required: true, location_name: "StudioId"))
|
|
1847
1918
|
UpdateStudioInput.add_member(:name, Shapes::ShapeRef.new(shape: XmlStringMaxLen256, location_name: "Name"))
|
|
1848
1919
|
UpdateStudioInput.add_member(:description, Shapes::ShapeRef.new(shape: XmlStringMaxLen256, location_name: "Description"))
|
|
@@ -1862,6 +1933,9 @@ module Aws::EMR
|
|
|
1862
1933
|
UsernamePassword.add_member(:password, Shapes::ShapeRef.new(shape: XmlStringMaxLen256, location_name: "Password"))
|
|
1863
1934
|
UsernamePassword.struct_class = Types::UsernamePassword
|
|
1864
1935
|
|
|
1936
|
+
ValidationException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
|
|
1937
|
+
ValidationException.struct_class = Types::ValidationException
|
|
1938
|
+
|
|
1865
1939
|
VolumeSpecification.add_member(:volume_type, Shapes::ShapeRef.new(shape: String, required: true, location_name: "VolumeType"))
|
|
1866
1940
|
VolumeSpecification.add_member(:iops, Shapes::ShapeRef.new(shape: Integer, location_name: "Iops"))
|
|
1867
1941
|
VolumeSpecification.add_member(:size_in_gb, Shapes::ShapeRef.new(shape: Integer, required: true, location_name: "SizeInGB"))
|
|
@@ -2177,6 +2251,18 @@ module Aws::EMR
|
|
|
2177
2251
|
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
|
2178
2252
|
end)
|
|
2179
2253
|
|
|
2254
|
+
api.add_operation(:get_system_tables_configuration, Seahorse::Model::Operation.new.tap do |o|
|
|
2255
|
+
o.name = "GetSystemTablesConfiguration"
|
|
2256
|
+
o.http_method = "POST"
|
|
2257
|
+
o.http_request_uri = "/"
|
|
2258
|
+
o.input = Shapes::ShapeRef.new(shape: GetSystemTablesConfigurationInput)
|
|
2259
|
+
o.output = Shapes::ShapeRef.new(shape: GetSystemTablesConfigurationOutput)
|
|
2260
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
|
2261
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
|
2262
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
|
2263
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
|
2264
|
+
end)
|
|
2265
|
+
|
|
2180
2266
|
api.add_operation(:list_bootstrap_actions, Seahorse::Model::Operation.new.tap do |o|
|
|
2181
2267
|
o.name = "ListBootstrapActions"
|
|
2182
2268
|
o.http_method = "POST"
|
|
@@ -2436,6 +2522,19 @@ module Aws::EMR
|
|
|
2436
2522
|
o.output = Shapes::ShapeRef.new(shape: PutManagedScalingPolicyOutput)
|
|
2437
2523
|
end)
|
|
2438
2524
|
|
|
2525
|
+
api.add_operation(:put_system_tables_configuration, Seahorse::Model::Operation.new.tap do |o|
|
|
2526
|
+
o.name = "PutSystemTablesConfiguration"
|
|
2527
|
+
o.http_method = "POST"
|
|
2528
|
+
o.http_request_uri = "/"
|
|
2529
|
+
o.input = Shapes::ShapeRef.new(shape: PutSystemTablesConfigurationInput)
|
|
2530
|
+
o.output = Shapes::ShapeRef.new(shape: PutSystemTablesConfigurationOutput)
|
|
2531
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
|
2532
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
|
2533
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
|
2534
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
|
2535
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
|
2536
|
+
end)
|
|
2537
|
+
|
|
2439
2538
|
api.add_operation(:remove_auto_scaling_policy, Seahorse::Model::Operation.new.tap do |o|
|
|
2440
2539
|
o.name = "RemoveAutoScalingPolicy"
|
|
2441
2540
|
o.http_method = "POST"
|
data/lib/aws-sdk-emr/errors.rb
CHANGED
|
@@ -27,9 +27,13 @@ module Aws::EMR
|
|
|
27
27
|
# See {Seahorse::Client::RequestContext} for more information.
|
|
28
28
|
#
|
|
29
29
|
# ## Error Classes
|
|
30
|
+
# * {AccessDeniedException}
|
|
31
|
+
# * {ConflictException}
|
|
30
32
|
# * {InternalServerError}
|
|
31
33
|
# * {InternalServerException}
|
|
32
34
|
# * {InvalidRequestException}
|
|
35
|
+
# * {ThrottlingException}
|
|
36
|
+
# * {ValidationException}
|
|
33
37
|
#
|
|
34
38
|
# Additionally, error classes are dynamically generated for service errors based on the error code
|
|
35
39
|
# if they are not defined above.
|
|
@@ -37,6 +41,36 @@ module Aws::EMR
|
|
|
37
41
|
|
|
38
42
|
extend Aws::Errors::DynamicErrors
|
|
39
43
|
|
|
44
|
+
class AccessDeniedException < ServiceError
|
|
45
|
+
|
|
46
|
+
# @param [Seahorse::Client::RequestContext] context
|
|
47
|
+
# @param [String] message
|
|
48
|
+
# @param [Aws::EMR::Types::AccessDeniedException] data
|
|
49
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
|
50
|
+
super(context, message, data)
|
|
51
|
+
end
|
|
52
|
+
|
|
53
|
+
# @return [String]
|
|
54
|
+
def message
|
|
55
|
+
@message || @data[:message]
|
|
56
|
+
end
|
|
57
|
+
end
|
|
58
|
+
|
|
59
|
+
class ConflictException < ServiceError
|
|
60
|
+
|
|
61
|
+
# @param [Seahorse::Client::RequestContext] context
|
|
62
|
+
# @param [String] message
|
|
63
|
+
# @param [Aws::EMR::Types::ConflictException] data
|
|
64
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
|
65
|
+
super(context, message, data)
|
|
66
|
+
end
|
|
67
|
+
|
|
68
|
+
# @return [String]
|
|
69
|
+
def message
|
|
70
|
+
@message || @data[:message]
|
|
71
|
+
end
|
|
72
|
+
end
|
|
73
|
+
|
|
40
74
|
class InternalServerError < ServiceError
|
|
41
75
|
|
|
42
76
|
# @param [Seahorse::Client::RequestContext] context
|
|
@@ -82,5 +116,35 @@ module Aws::EMR
|
|
|
82
116
|
end
|
|
83
117
|
end
|
|
84
118
|
|
|
119
|
+
class ThrottlingException < ServiceError
|
|
120
|
+
|
|
121
|
+
# @param [Seahorse::Client::RequestContext] context
|
|
122
|
+
# @param [String] message
|
|
123
|
+
# @param [Aws::EMR::Types::ThrottlingException] data
|
|
124
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
|
125
|
+
super(context, message, data)
|
|
126
|
+
end
|
|
127
|
+
|
|
128
|
+
# @return [String]
|
|
129
|
+
def message
|
|
130
|
+
@message || @data[:message]
|
|
131
|
+
end
|
|
132
|
+
end
|
|
133
|
+
|
|
134
|
+
class ValidationException < ServiceError
|
|
135
|
+
|
|
136
|
+
# @param [Seahorse::Client::RequestContext] context
|
|
137
|
+
# @param [String] message
|
|
138
|
+
# @param [Aws::EMR::Types::ValidationException] data
|
|
139
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
|
140
|
+
super(context, message, data)
|
|
141
|
+
end
|
|
142
|
+
|
|
143
|
+
# @return [String]
|
|
144
|
+
def message
|
|
145
|
+
@message || @data[:message]
|
|
146
|
+
end
|
|
147
|
+
end
|
|
148
|
+
|
|
85
149
|
end
|
|
86
150
|
end
|
data/lib/aws-sdk-emr/types.rb
CHANGED
|
@@ -10,6 +10,20 @@
|
|
|
10
10
|
module Aws::EMR
|
|
11
11
|
module Types
|
|
12
12
|
|
|
13
|
+
# You do not have sufficient permissions to perform this operation.
|
|
14
|
+
#
|
|
15
|
+
# @!attribute [rw] message
|
|
16
|
+
# The message associated with the exception.
|
|
17
|
+
# @return [String]
|
|
18
|
+
#
|
|
19
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/AccessDeniedException AWS API Documentation
|
|
20
|
+
#
|
|
21
|
+
class AccessDeniedException < Struct.new(
|
|
22
|
+
:message)
|
|
23
|
+
SENSITIVE = []
|
|
24
|
+
include Aws::Structure
|
|
25
|
+
end
|
|
26
|
+
|
|
13
27
|
# @!attribute [rw] cluster_id
|
|
14
28
|
# The unique identifier of the cluster.
|
|
15
29
|
# @return [String]
|
|
@@ -1131,6 +1145,20 @@ module Aws::EMR
|
|
|
1131
1145
|
include Aws::Structure
|
|
1132
1146
|
end
|
|
1133
1147
|
|
|
1148
|
+
# The request conflicts with the current state of the resource.
|
|
1149
|
+
#
|
|
1150
|
+
# @!attribute [rw] message
|
|
1151
|
+
# The message associated with the exception.
|
|
1152
|
+
# @return [String]
|
|
1153
|
+
#
|
|
1154
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/ConflictException AWS API Documentation
|
|
1155
|
+
#
|
|
1156
|
+
class ConflictException < Struct.new(
|
|
1157
|
+
:message)
|
|
1158
|
+
SENSITIVE = []
|
|
1159
|
+
include Aws::Structure
|
|
1160
|
+
end
|
|
1161
|
+
|
|
1134
1162
|
# @!attribute [rw] target_resource_arn
|
|
1135
1163
|
# The unique Amazon Resource Name (ARN) of the target resource.
|
|
1136
1164
|
# @return [String]
|
|
@@ -2465,6 +2493,38 @@ module Aws::EMR
|
|
|
2465
2493
|
include Aws::Structure
|
|
2466
2494
|
end
|
|
2467
2495
|
|
|
2496
|
+
# Input to the `GetSystemTablesConfiguration` operation.
|
|
2497
|
+
#
|
|
2498
|
+
# @!attribute [rw] platform
|
|
2499
|
+
# The platform to return. If you omit it, the response includes every
|
|
2500
|
+
# platform.
|
|
2501
|
+
# @return [String]
|
|
2502
|
+
#
|
|
2503
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/GetSystemTablesConfigurationInput AWS API Documentation
|
|
2504
|
+
#
|
|
2505
|
+
class GetSystemTablesConfigurationInput < Struct.new(
|
|
2506
|
+
:platform)
|
|
2507
|
+
SENSITIVE = []
|
|
2508
|
+
include Aws::Structure
|
|
2509
|
+
end
|
|
2510
|
+
|
|
2511
|
+
# Output of the `GetSystemTablesConfiguration` operation.
|
|
2512
|
+
#
|
|
2513
|
+
# @!attribute [rw] configurations
|
|
2514
|
+
# The system tables configuration of every platform, or of the
|
|
2515
|
+
# platform that you requested. A platform that has never been
|
|
2516
|
+
# configured has a `Mode` of `NONE`, and each of its tables is
|
|
2517
|
+
# `DISABLED`.
|
|
2518
|
+
# @return [Array<Types::SystemTablesConfigurationSummary>]
|
|
2519
|
+
#
|
|
2520
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/GetSystemTablesConfigurationOutput AWS API Documentation
|
|
2521
|
+
#
|
|
2522
|
+
class GetSystemTablesConfigurationOutput < Struct.new(
|
|
2523
|
+
:configurations)
|
|
2524
|
+
SENSITIVE = []
|
|
2525
|
+
include Aws::Structure
|
|
2526
|
+
end
|
|
2527
|
+
|
|
2468
2528
|
# A job flow step consisting of a JAR file whose main function will be
|
|
2469
2529
|
# executed. The main function submits a job for Hadoop to execute and
|
|
2470
2530
|
# waits for the job to finish or fail.
|
|
@@ -5721,6 +5781,36 @@ module Aws::EMR
|
|
|
5721
5781
|
#
|
|
5722
5782
|
class PutManagedScalingPolicyOutput < Aws::EmptyStructure; end
|
|
5723
5783
|
|
|
5784
|
+
# Input to the `PutSystemTablesConfiguration` operation.
|
|
5785
|
+
#
|
|
5786
|
+
# @!attribute [rw] platforms
|
|
5787
|
+
# The system tables configuration to apply to each platform. Specify
|
|
5788
|
+
# each platform at most once.
|
|
5789
|
+
# @return [Array<Types::SystemTablesConfiguration>]
|
|
5790
|
+
#
|
|
5791
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/PutSystemTablesConfigurationInput AWS API Documentation
|
|
5792
|
+
#
|
|
5793
|
+
class PutSystemTablesConfigurationInput < Struct.new(
|
|
5794
|
+
:platforms)
|
|
5795
|
+
SENSITIVE = []
|
|
5796
|
+
include Aws::Structure
|
|
5797
|
+
end
|
|
5798
|
+
|
|
5799
|
+
# Output of the `PutSystemTablesConfiguration` operation.
|
|
5800
|
+
#
|
|
5801
|
+
# @!attribute [rw] configurations
|
|
5802
|
+
# The resulting system tables configuration of every platform,
|
|
5803
|
+
# including platforms that the request didn't change.
|
|
5804
|
+
# @return [Array<Types::SystemTablesConfigurationSummary>]
|
|
5805
|
+
#
|
|
5806
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/PutSystemTablesConfigurationOutput AWS API Documentation
|
|
5807
|
+
#
|
|
5808
|
+
class PutSystemTablesConfigurationOutput < Struct.new(
|
|
5809
|
+
:configurations)
|
|
5810
|
+
SENSITIVE = []
|
|
5811
|
+
include Aws::Structure
|
|
5812
|
+
end
|
|
5813
|
+
|
|
5724
5814
|
# The release label filters by application or version prefix.
|
|
5725
5815
|
#
|
|
5726
5816
|
# @!attribute [rw] prefix
|
|
@@ -7888,6 +7978,125 @@ module Aws::EMR
|
|
|
7888
7978
|
include Aws::Structure
|
|
7889
7979
|
end
|
|
7890
7980
|
|
|
7981
|
+
# A system table and its status for a platform.
|
|
7982
|
+
#
|
|
7983
|
+
# @!attribute [rw] table_type
|
|
7984
|
+
# The type of the system table.
|
|
7985
|
+
# @return [String]
|
|
7986
|
+
#
|
|
7987
|
+
# @!attribute [rw] status
|
|
7988
|
+
# The status of the system table for the platform.
|
|
7989
|
+
# @return [String]
|
|
7990
|
+
#
|
|
7991
|
+
# @!attribute [rw] status_reason
|
|
7992
|
+
# Why the table is `FAILED`. Present only when `Status` is `FAILED`.
|
|
7993
|
+
# @return [String]
|
|
7994
|
+
#
|
|
7995
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/SystemTable AWS API Documentation
|
|
7996
|
+
#
|
|
7997
|
+
class SystemTable < Struct.new(
|
|
7998
|
+
:table_type,
|
|
7999
|
+
:status,
|
|
8000
|
+
:status_reason)
|
|
8001
|
+
SENSITIVE = []
|
|
8002
|
+
include Aws::Structure
|
|
8003
|
+
end
|
|
8004
|
+
|
|
8005
|
+
# The system tables configuration to apply to one Amazon EMR platform.
|
|
8006
|
+
#
|
|
8007
|
+
# @!attribute [rw] platform
|
|
8008
|
+
# The platform that the configuration applies to.
|
|
8009
|
+
# @return [String]
|
|
8010
|
+
#
|
|
8011
|
+
# @!attribute [rw] system_tables
|
|
8012
|
+
# The system tables to enable for the platform.
|
|
8013
|
+
# @return [Types::SystemTablesSelection]
|
|
8014
|
+
#
|
|
8015
|
+
# @!attribute [rw] encryption_configuration
|
|
8016
|
+
# The encryption of the system tables. Valid only when `Mode` is
|
|
8017
|
+
# `ALL`. System tables are shared across platforms, so a `KmsKeyArn`
|
|
8018
|
+
# that you specify for any platform applies to every platform that the
|
|
8019
|
+
# request enables, and all platforms that specify a key must use the
|
|
8020
|
+
# same `KmsKeyArn`.
|
|
8021
|
+
# @return [Types::SystemTablesEncryptionConfiguration]
|
|
8022
|
+
#
|
|
8023
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/SystemTablesConfiguration AWS API Documentation
|
|
8024
|
+
#
|
|
8025
|
+
class SystemTablesConfiguration < Struct.new(
|
|
8026
|
+
:platform,
|
|
8027
|
+
:system_tables,
|
|
8028
|
+
:encryption_configuration)
|
|
8029
|
+
SENSITIVE = []
|
|
8030
|
+
include Aws::Structure
|
|
8031
|
+
end
|
|
8032
|
+
|
|
8033
|
+
# The current system tables configuration of one Amazon EMR platform,
|
|
8034
|
+
# with the status of each system table.
|
|
8035
|
+
#
|
|
8036
|
+
# @!attribute [rw] platform
|
|
8037
|
+
# The platform that the configuration applies to.
|
|
8038
|
+
# @return [String]
|
|
8039
|
+
#
|
|
8040
|
+
# @!attribute [rw] system_tables
|
|
8041
|
+
# The system tables that are enabled for the platform. `Mode` is `ALL`
|
|
8042
|
+
# when the platform's tables are enabled and `NONE` otherwise.
|
|
8043
|
+
# @return [Types::SystemTablesSelection]
|
|
8044
|
+
#
|
|
8045
|
+
# @!attribute [rw] encryption_configuration
|
|
8046
|
+
# The encryption of the system tables. Present only when the tables
|
|
8047
|
+
# are encrypted with a customer managed KMS key.
|
|
8048
|
+
# @return [Types::SystemTablesEncryptionConfiguration]
|
|
8049
|
+
#
|
|
8050
|
+
# @!attribute [rw] tables
|
|
8051
|
+
# The status of each system table type for the platform, including
|
|
8052
|
+
# table types that the platform doesn't enable.
|
|
8053
|
+
# @return [Array<Types::SystemTable>]
|
|
8054
|
+
#
|
|
8055
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/SystemTablesConfigurationSummary AWS API Documentation
|
|
8056
|
+
#
|
|
8057
|
+
class SystemTablesConfigurationSummary < Struct.new(
|
|
8058
|
+
:platform,
|
|
8059
|
+
:system_tables,
|
|
8060
|
+
:encryption_configuration,
|
|
8061
|
+
:tables)
|
|
8062
|
+
SENSITIVE = []
|
|
8063
|
+
include Aws::Structure
|
|
8064
|
+
end
|
|
8065
|
+
|
|
8066
|
+
# The encryption configuration of the system tables. If you specify a
|
|
8067
|
+
# `KmsKeyArn`, the tables are encrypted with that customer managed KMS
|
|
8068
|
+
# key. Otherwise, service-managed encryption is used. You can't change
|
|
8069
|
+
# the encryption of tables that already exist.
|
|
8070
|
+
#
|
|
8071
|
+
# @!attribute [rw] kms_key_arn
|
|
8072
|
+
# The Amazon Resource Name (ARN) of the customer managed KMS key that
|
|
8073
|
+
# encrypts the system tables. Specify the full key ARN; key aliases
|
|
8074
|
+
# and key IDs are not accepted.
|
|
8075
|
+
# @return [String]
|
|
8076
|
+
#
|
|
8077
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/SystemTablesEncryptionConfiguration AWS API Documentation
|
|
8078
|
+
#
|
|
8079
|
+
class SystemTablesEncryptionConfiguration < Struct.new(
|
|
8080
|
+
:kms_key_arn)
|
|
8081
|
+
SENSITIVE = []
|
|
8082
|
+
include Aws::Structure
|
|
8083
|
+
end
|
|
8084
|
+
|
|
8085
|
+
# Specifies which system tables are enabled for a platform.
|
|
8086
|
+
#
|
|
8087
|
+
# @!attribute [rw] mode
|
|
8088
|
+
# `ALL` enables every system table type and `NONE` disables every
|
|
8089
|
+
# system table type.
|
|
8090
|
+
# @return [String]
|
|
8091
|
+
#
|
|
8092
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/SystemTablesSelection AWS API Documentation
|
|
8093
|
+
#
|
|
8094
|
+
class SystemTablesSelection < Struct.new(
|
|
8095
|
+
:mode)
|
|
8096
|
+
SENSITIVE = []
|
|
8097
|
+
include Aws::Structure
|
|
8098
|
+
end
|
|
8099
|
+
|
|
7891
8100
|
# A key-value pair containing user-defined metadata that you can
|
|
7892
8101
|
# associate with an Amazon EMR resource. Tags make it easier to
|
|
7893
8102
|
# associate clusters in various ways, such as grouping clusters to track
|
|
@@ -7983,6 +8192,21 @@ module Aws::EMR
|
|
|
7983
8192
|
include Aws::Structure
|
|
7984
8193
|
end
|
|
7985
8194
|
|
|
8195
|
+
# The request was denied because of request throttling. Retry the
|
|
8196
|
+
# request after a delay.
|
|
8197
|
+
#
|
|
8198
|
+
# @!attribute [rw] message
|
|
8199
|
+
# The message associated with the exception.
|
|
8200
|
+
# @return [String]
|
|
8201
|
+
#
|
|
8202
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/ThrottlingException AWS API Documentation
|
|
8203
|
+
#
|
|
8204
|
+
class ThrottlingException < Struct.new(
|
|
8205
|
+
:message)
|
|
8206
|
+
SENSITIVE = []
|
|
8207
|
+
include Aws::Structure
|
|
8208
|
+
end
|
|
8209
|
+
|
|
7986
8210
|
# @!attribute [rw] studio_id
|
|
7987
8211
|
# The ID of the Amazon EMR Studio to update.
|
|
7988
8212
|
# @return [String]
|
|
@@ -8097,6 +8321,20 @@ module Aws::EMR
|
|
|
8097
8321
|
include Aws::Structure
|
|
8098
8322
|
end
|
|
8099
8323
|
|
|
8324
|
+
# The request failed because an input parameter is not valid.
|
|
8325
|
+
#
|
|
8326
|
+
# @!attribute [rw] message
|
|
8327
|
+
# The message associated with the exception.
|
|
8328
|
+
# @return [String]
|
|
8329
|
+
#
|
|
8330
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/ValidationException AWS API Documentation
|
|
8331
|
+
#
|
|
8332
|
+
class ValidationException < Struct.new(
|
|
8333
|
+
:message)
|
|
8334
|
+
SENSITIVE = []
|
|
8335
|
+
include Aws::Structure
|
|
8336
|
+
end
|
|
8337
|
+
|
|
8100
8338
|
# EBS volume specifications such as volume type, IOPS, size (GiB) and
|
|
8101
8339
|
# throughput (MiB/s) that are requested for the EBS volume attached to
|
|
8102
8340
|
# an Amazon EC2 instance in the cluster.
|
data/lib/aws-sdk-emr.rb
CHANGED
data/sig/client.rbs
CHANGED
|
@@ -451,6 +451,16 @@ module Aws
|
|
|
451
451
|
) -> _GetStudioSessionMappingResponseSuccess
|
|
452
452
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetStudioSessionMappingResponseSuccess
|
|
453
453
|
|
|
454
|
+
interface _GetSystemTablesConfigurationResponseSuccess
|
|
455
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::GetSystemTablesConfigurationOutput]
|
|
456
|
+
def configurations: () -> ::Array[Types::SystemTablesConfigurationSummary]
|
|
457
|
+
end
|
|
458
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EMR/Client.html#get_system_tables_configuration-instance_method
|
|
459
|
+
def get_system_tables_configuration: (
|
|
460
|
+
?platform: ("EMR_EC2" | "EMR_SERVERLESS" | "EMR_EKS")
|
|
461
|
+
) -> _GetSystemTablesConfigurationResponseSuccess
|
|
462
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetSystemTablesConfigurationResponseSuccess
|
|
463
|
+
|
|
454
464
|
interface _ListBootstrapActionsResponseSuccess
|
|
455
465
|
include ::Seahorse::Client::_ResponseSuccess[Types::ListBootstrapActionsOutput]
|
|
456
466
|
def bootstrap_actions: () -> ::Array[Types::Command]
|
|
@@ -737,6 +747,26 @@ module Aws
|
|
|
737
747
|
) -> _PutManagedScalingPolicyResponseSuccess
|
|
738
748
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _PutManagedScalingPolicyResponseSuccess
|
|
739
749
|
|
|
750
|
+
interface _PutSystemTablesConfigurationResponseSuccess
|
|
751
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::PutSystemTablesConfigurationOutput]
|
|
752
|
+
def configurations: () -> ::Array[Types::SystemTablesConfigurationSummary]
|
|
753
|
+
end
|
|
754
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EMR/Client.html#put_system_tables_configuration-instance_method
|
|
755
|
+
def put_system_tables_configuration: (
|
|
756
|
+
platforms: Array[
|
|
757
|
+
{
|
|
758
|
+
platform: ("EMR_EC2" | "EMR_SERVERLESS" | "EMR_EKS"),
|
|
759
|
+
system_tables: {
|
|
760
|
+
mode: ("ALL" | "NONE")
|
|
761
|
+
},
|
|
762
|
+
encryption_configuration: {
|
|
763
|
+
kms_key_arn: ::String?
|
|
764
|
+
}?
|
|
765
|
+
}
|
|
766
|
+
]
|
|
767
|
+
) -> _PutSystemTablesConfigurationResponseSuccess
|
|
768
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _PutSystemTablesConfigurationResponseSuccess
|
|
769
|
+
|
|
740
770
|
interface _RemoveAutoScalingPolicyResponseSuccess
|
|
741
771
|
include ::Seahorse::Client::_ResponseSuccess[Types::RemoveAutoScalingPolicyOutput]
|
|
742
772
|
end
|
data/sig/errors.rbs
CHANGED
|
@@ -11,6 +11,12 @@ module Aws
|
|
|
11
11
|
class ServiceError < ::Aws::Errors::ServiceError
|
|
12
12
|
end
|
|
13
13
|
|
|
14
|
+
class AccessDeniedException < ServiceError
|
|
15
|
+
def message: () -> ::String
|
|
16
|
+
end
|
|
17
|
+
class ConflictException < ServiceError
|
|
18
|
+
def message: () -> ::String
|
|
19
|
+
end
|
|
14
20
|
class InternalServerError < ServiceError
|
|
15
21
|
end
|
|
16
22
|
class InternalServerException < ServiceError
|
|
@@ -20,6 +26,12 @@ module Aws
|
|
|
20
26
|
def error_code: () -> ::String
|
|
21
27
|
def message: () -> ::String
|
|
22
28
|
end
|
|
29
|
+
class ThrottlingException < ServiceError
|
|
30
|
+
def message: () -> ::String
|
|
31
|
+
end
|
|
32
|
+
class ValidationException < ServiceError
|
|
33
|
+
def message: () -> ::String
|
|
34
|
+
end
|
|
23
35
|
end
|
|
24
36
|
end
|
|
25
37
|
end
|
data/sig/types.rbs
CHANGED
|
@@ -8,6 +8,11 @@
|
|
|
8
8
|
module Aws::EMR
|
|
9
9
|
module Types
|
|
10
10
|
|
|
11
|
+
class AccessDeniedException
|
|
12
|
+
attr_accessor message: ::String
|
|
13
|
+
SENSITIVE: []
|
|
14
|
+
end
|
|
15
|
+
|
|
11
16
|
class AddInstanceFleetInput
|
|
12
17
|
attr_accessor cluster_id: ::String
|
|
13
18
|
attr_accessor instance_fleet: Types::InstanceFleetConfig
|
|
@@ -253,6 +258,11 @@ module Aws::EMR
|
|
|
253
258
|
SENSITIVE: []
|
|
254
259
|
end
|
|
255
260
|
|
|
261
|
+
class ConflictException
|
|
262
|
+
attr_accessor message: ::String
|
|
263
|
+
SENSITIVE: []
|
|
264
|
+
end
|
|
265
|
+
|
|
256
266
|
class CreatePersistentAppUIInput
|
|
257
267
|
attr_accessor target_resource_arn: ::String
|
|
258
268
|
attr_accessor emr_containers_config: Types::EMRContainersConfig
|
|
@@ -614,6 +624,16 @@ module Aws::EMR
|
|
|
614
624
|
SENSITIVE: []
|
|
615
625
|
end
|
|
616
626
|
|
|
627
|
+
class GetSystemTablesConfigurationInput
|
|
628
|
+
attr_accessor platform: ("EMR_EC2" | "EMR_SERVERLESS" | "EMR_EKS")
|
|
629
|
+
SENSITIVE: []
|
|
630
|
+
end
|
|
631
|
+
|
|
632
|
+
class GetSystemTablesConfigurationOutput
|
|
633
|
+
attr_accessor configurations: ::Array[Types::SystemTablesConfigurationSummary]
|
|
634
|
+
SENSITIVE: []
|
|
635
|
+
end
|
|
636
|
+
|
|
617
637
|
class HadoopJarStepConfig
|
|
618
638
|
attr_accessor properties: ::Array[Types::KeyValue]
|
|
619
639
|
attr_accessor jar: ::String
|
|
@@ -1319,6 +1339,16 @@ module Aws::EMR
|
|
|
1319
1339
|
class PutManagedScalingPolicyOutput < Aws::EmptyStructure
|
|
1320
1340
|
end
|
|
1321
1341
|
|
|
1342
|
+
class PutSystemTablesConfigurationInput
|
|
1343
|
+
attr_accessor platforms: ::Array[Types::SystemTablesConfiguration]
|
|
1344
|
+
SENSITIVE: []
|
|
1345
|
+
end
|
|
1346
|
+
|
|
1347
|
+
class PutSystemTablesConfigurationOutput
|
|
1348
|
+
attr_accessor configurations: ::Array[Types::SystemTablesConfigurationSummary]
|
|
1349
|
+
SENSITIVE: []
|
|
1350
|
+
end
|
|
1351
|
+
|
|
1322
1352
|
class ReleaseLabelFilter
|
|
1323
1353
|
attr_accessor prefix: ::String
|
|
1324
1354
|
attr_accessor application: ::String
|
|
@@ -1768,6 +1798,38 @@ module Aws::EMR
|
|
|
1768
1798
|
SENSITIVE: []
|
|
1769
1799
|
end
|
|
1770
1800
|
|
|
1801
|
+
class SystemTable
|
|
1802
|
+
attr_accessor table_type: ("JOB_RUNS" | "JOB_LIFECYCLE" | "SESSIONS" | "SESSION_LIFECYCLE")
|
|
1803
|
+
attr_accessor status: ("DISABLED" | "PROVISIONING" | "ACTIVE" | "FAILED")
|
|
1804
|
+
attr_accessor status_reason: ::String
|
|
1805
|
+
SENSITIVE: []
|
|
1806
|
+
end
|
|
1807
|
+
|
|
1808
|
+
class SystemTablesConfiguration
|
|
1809
|
+
attr_accessor platform: ("EMR_EC2" | "EMR_SERVERLESS" | "EMR_EKS")
|
|
1810
|
+
attr_accessor system_tables: Types::SystemTablesSelection
|
|
1811
|
+
attr_accessor encryption_configuration: Types::SystemTablesEncryptionConfiguration
|
|
1812
|
+
SENSITIVE: []
|
|
1813
|
+
end
|
|
1814
|
+
|
|
1815
|
+
class SystemTablesConfigurationSummary
|
|
1816
|
+
attr_accessor platform: ("EMR_EC2" | "EMR_SERVERLESS" | "EMR_EKS")
|
|
1817
|
+
attr_accessor system_tables: Types::SystemTablesSelection
|
|
1818
|
+
attr_accessor encryption_configuration: Types::SystemTablesEncryptionConfiguration
|
|
1819
|
+
attr_accessor tables: ::Array[Types::SystemTable]
|
|
1820
|
+
SENSITIVE: []
|
|
1821
|
+
end
|
|
1822
|
+
|
|
1823
|
+
class SystemTablesEncryptionConfiguration
|
|
1824
|
+
attr_accessor kms_key_arn: ::String
|
|
1825
|
+
SENSITIVE: []
|
|
1826
|
+
end
|
|
1827
|
+
|
|
1828
|
+
class SystemTablesSelection
|
|
1829
|
+
attr_accessor mode: ("ALL" | "NONE")
|
|
1830
|
+
SENSITIVE: []
|
|
1831
|
+
end
|
|
1832
|
+
|
|
1771
1833
|
class Tag
|
|
1772
1834
|
attr_accessor key: ::String
|
|
1773
1835
|
attr_accessor value: ::String
|
|
@@ -1792,6 +1854,11 @@ module Aws::EMR
|
|
|
1792
1854
|
SENSITIVE: []
|
|
1793
1855
|
end
|
|
1794
1856
|
|
|
1857
|
+
class ThrottlingException
|
|
1858
|
+
attr_accessor message: ::String
|
|
1859
|
+
SENSITIVE: []
|
|
1860
|
+
end
|
|
1861
|
+
|
|
1795
1862
|
class UpdateStudioInput
|
|
1796
1863
|
attr_accessor studio_id: ::String
|
|
1797
1864
|
attr_accessor name: ::String
|
|
@@ -1817,6 +1884,11 @@ module Aws::EMR
|
|
|
1817
1884
|
SENSITIVE: []
|
|
1818
1885
|
end
|
|
1819
1886
|
|
|
1887
|
+
class ValidationException
|
|
1888
|
+
attr_accessor message: ::String
|
|
1889
|
+
SENSITIVE: []
|
|
1890
|
+
end
|
|
1891
|
+
|
|
1820
1892
|
class VolumeSpecification
|
|
1821
1893
|
attr_accessor volume_type: ::String
|
|
1822
1894
|
attr_accessor iops: ::Integer
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: aws-sdk-emr
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.
|
|
4
|
+
version: 1.150.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Amazon Web Services
|
|
@@ -18,7 +18,7 @@ dependencies:
|
|
|
18
18
|
version: '3'
|
|
19
19
|
- - ">="
|
|
20
20
|
- !ruby/object:Gem::Version
|
|
21
|
-
version: 3.
|
|
21
|
+
version: 3.270.0
|
|
22
22
|
type: :runtime
|
|
23
23
|
prerelease: false
|
|
24
24
|
version_requirements: !ruby/object:Gem::Requirement
|
|
@@ -28,7 +28,7 @@ dependencies:
|
|
|
28
28
|
version: '3'
|
|
29
29
|
- - ">="
|
|
30
30
|
- !ruby/object:Gem::Version
|
|
31
|
-
version: 3.
|
|
31
|
+
version: 3.270.0
|
|
32
32
|
- !ruby/object:Gem::Dependency
|
|
33
33
|
name: aws-sigv4
|
|
34
34
|
requirement: !ruby/object:Gem::Requirement
|