aws-sdk-emr 1.45.0 → 1.46.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 +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-emr.rb +1 -1
- data/lib/aws-sdk-emr/client.rb +205 -65
- data/lib/aws-sdk-emr/client_api.rb +63 -0
- data/lib/aws-sdk-emr/customizations.rb +1 -1
- data/lib/aws-sdk-emr/types.rb +376 -107
- metadata +5 -6
@@ -80,6 +80,8 @@ module Aws::EMR
|
|
80
80
|
DescribeJobFlowsOutput = Shapes::StructureShape.new(name: 'DescribeJobFlowsOutput')
|
81
81
|
DescribeNotebookExecutionInput = Shapes::StructureShape.new(name: 'DescribeNotebookExecutionInput')
|
82
82
|
DescribeNotebookExecutionOutput = Shapes::StructureShape.new(name: 'DescribeNotebookExecutionOutput')
|
83
|
+
DescribeReleaseLabelInput = Shapes::StructureShape.new(name: 'DescribeReleaseLabelInput')
|
84
|
+
DescribeReleaseLabelOutput = Shapes::StructureShape.new(name: 'DescribeReleaseLabelOutput')
|
83
85
|
DescribeSecurityConfigurationInput = Shapes::StructureShape.new(name: 'DescribeSecurityConfigurationInput')
|
84
86
|
DescribeSecurityConfigurationOutput = Shapes::StructureShape.new(name: 'DescribeSecurityConfigurationOutput')
|
85
87
|
DescribeStepInput = Shapes::StructureShape.new(name: 'DescribeStepInput')
|
@@ -183,6 +185,8 @@ module Aws::EMR
|
|
183
185
|
ListInstancesOutput = Shapes::StructureShape.new(name: 'ListInstancesOutput')
|
184
186
|
ListNotebookExecutionsInput = Shapes::StructureShape.new(name: 'ListNotebookExecutionsInput')
|
185
187
|
ListNotebookExecutionsOutput = Shapes::StructureShape.new(name: 'ListNotebookExecutionsOutput')
|
188
|
+
ListReleaseLabelsInput = Shapes::StructureShape.new(name: 'ListReleaseLabelsInput')
|
189
|
+
ListReleaseLabelsOutput = Shapes::StructureShape.new(name: 'ListReleaseLabelsOutput')
|
186
190
|
ListSecurityConfigurationsInput = Shapes::StructureShape.new(name: 'ListSecurityConfigurationsInput')
|
187
191
|
ListSecurityConfigurationsOutput = Shapes::StructureShape.new(name: 'ListSecurityConfigurationsOutput')
|
188
192
|
ListStepsInput = Shapes::StructureShape.new(name: 'ListStepsInput')
|
@@ -195,6 +199,7 @@ module Aws::EMR
|
|
195
199
|
ManagedScalingPolicy = Shapes::StructureShape.new(name: 'ManagedScalingPolicy')
|
196
200
|
Marker = Shapes::StringShape.new(name: 'Marker')
|
197
201
|
MarketType = Shapes::StringShape.new(name: 'MarketType')
|
202
|
+
MaxResultsNumber = Shapes::IntegerShape.new(name: 'MaxResultsNumber')
|
198
203
|
MetricDimension = Shapes::StructureShape.new(name: 'MetricDimension')
|
199
204
|
MetricDimensionList = Shapes::ListShape.new(name: 'MetricDimensionList')
|
200
205
|
ModifyClusterInput = Shapes::StructureShape.new(name: 'ModifyClusterInput')
|
@@ -226,6 +231,7 @@ module Aws::EMR
|
|
226
231
|
PutBlockPublicAccessConfigurationOutput = Shapes::StructureShape.new(name: 'PutBlockPublicAccessConfigurationOutput')
|
227
232
|
PutManagedScalingPolicyInput = Shapes::StructureShape.new(name: 'PutManagedScalingPolicyInput')
|
228
233
|
PutManagedScalingPolicyOutput = Shapes::StructureShape.new(name: 'PutManagedScalingPolicyOutput')
|
234
|
+
ReleaseLabelFilter = Shapes::StructureShape.new(name: 'ReleaseLabelFilter')
|
229
235
|
RemoveAutoScalingPolicyInput = Shapes::StructureShape.new(name: 'RemoveAutoScalingPolicyInput')
|
230
236
|
RemoveAutoScalingPolicyOutput = Shapes::StructureShape.new(name: 'RemoveAutoScalingPolicyOutput')
|
231
237
|
RemoveManagedScalingPolicyInput = Shapes::StructureShape.new(name: 'RemoveManagedScalingPolicyInput')
|
@@ -253,6 +259,8 @@ module Aws::EMR
|
|
253
259
|
SetVisibleToAllUsersInput = Shapes::StructureShape.new(name: 'SetVisibleToAllUsersInput')
|
254
260
|
ShrinkPolicy = Shapes::StructureShape.new(name: 'ShrinkPolicy')
|
255
261
|
SimpleScalingPolicyConfiguration = Shapes::StructureShape.new(name: 'SimpleScalingPolicyConfiguration')
|
262
|
+
SimplifiedApplication = Shapes::StructureShape.new(name: 'SimplifiedApplication')
|
263
|
+
SimplifiedApplicationList = Shapes::ListShape.new(name: 'SimplifiedApplicationList')
|
256
264
|
SpotProvisioningAllocationStrategy = Shapes::StringShape.new(name: 'SpotProvisioningAllocationStrategy')
|
257
265
|
SpotProvisioningSpecification = Shapes::StructureShape.new(name: 'SpotProvisioningSpecification')
|
258
266
|
SpotProvisioningTimeoutAction = Shapes::StringShape.new(name: 'SpotProvisioningTimeoutAction')
|
@@ -547,6 +555,16 @@ module Aws::EMR
|
|
547
555
|
DescribeNotebookExecutionOutput.add_member(:notebook_execution, Shapes::ShapeRef.new(shape: NotebookExecution, location_name: "NotebookExecution"))
|
548
556
|
DescribeNotebookExecutionOutput.struct_class = Types::DescribeNotebookExecutionOutput
|
549
557
|
|
558
|
+
DescribeReleaseLabelInput.add_member(:release_label, Shapes::ShapeRef.new(shape: String, location_name: "ReleaseLabel"))
|
559
|
+
DescribeReleaseLabelInput.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
|
560
|
+
DescribeReleaseLabelInput.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResultsNumber, location_name: "MaxResults"))
|
561
|
+
DescribeReleaseLabelInput.struct_class = Types::DescribeReleaseLabelInput
|
562
|
+
|
563
|
+
DescribeReleaseLabelOutput.add_member(:release_label, Shapes::ShapeRef.new(shape: String, location_name: "ReleaseLabel"))
|
564
|
+
DescribeReleaseLabelOutput.add_member(:applications, Shapes::ShapeRef.new(shape: SimplifiedApplicationList, location_name: "Applications"))
|
565
|
+
DescribeReleaseLabelOutput.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
|
566
|
+
DescribeReleaseLabelOutput.struct_class = Types::DescribeReleaseLabelOutput
|
567
|
+
|
550
568
|
DescribeSecurityConfigurationInput.add_member(:name, Shapes::ShapeRef.new(shape: XmlString, required: true, location_name: "Name"))
|
551
569
|
DescribeSecurityConfigurationInput.struct_class = Types::DescribeSecurityConfigurationInput
|
552
570
|
|
@@ -977,6 +995,15 @@ module Aws::EMR
|
|
977
995
|
ListNotebookExecutionsOutput.add_member(:marker, Shapes::ShapeRef.new(shape: Marker, location_name: "Marker"))
|
978
996
|
ListNotebookExecutionsOutput.struct_class = Types::ListNotebookExecutionsOutput
|
979
997
|
|
998
|
+
ListReleaseLabelsInput.add_member(:filters, Shapes::ShapeRef.new(shape: ReleaseLabelFilter, location_name: "Filters"))
|
999
|
+
ListReleaseLabelsInput.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
|
1000
|
+
ListReleaseLabelsInput.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResultsNumber, location_name: "MaxResults"))
|
1001
|
+
ListReleaseLabelsInput.struct_class = Types::ListReleaseLabelsInput
|
1002
|
+
|
1003
|
+
ListReleaseLabelsOutput.add_member(:release_labels, Shapes::ShapeRef.new(shape: StringList, location_name: "ReleaseLabels"))
|
1004
|
+
ListReleaseLabelsOutput.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
|
1005
|
+
ListReleaseLabelsOutput.struct_class = Types::ListReleaseLabelsOutput
|
1006
|
+
|
980
1007
|
ListSecurityConfigurationsInput.add_member(:marker, Shapes::ShapeRef.new(shape: Marker, location_name: "Marker"))
|
981
1008
|
ListSecurityConfigurationsInput.struct_class = Types::ListSecurityConfigurationsInput
|
982
1009
|
|
@@ -1108,6 +1135,10 @@ module Aws::EMR
|
|
1108
1135
|
|
1109
1136
|
PutManagedScalingPolicyOutput.struct_class = Types::PutManagedScalingPolicyOutput
|
1110
1137
|
|
1138
|
+
ReleaseLabelFilter.add_member(:prefix, Shapes::ShapeRef.new(shape: String, location_name: "Prefix"))
|
1139
|
+
ReleaseLabelFilter.add_member(:application, Shapes::ShapeRef.new(shape: String, location_name: "Application"))
|
1140
|
+
ReleaseLabelFilter.struct_class = Types::ReleaseLabelFilter
|
1141
|
+
|
1111
1142
|
RemoveAutoScalingPolicyInput.add_member(:cluster_id, Shapes::ShapeRef.new(shape: ClusterId, required: true, location_name: "ClusterId"))
|
1112
1143
|
RemoveAutoScalingPolicyInput.add_member(:instance_group_id, Shapes::ShapeRef.new(shape: InstanceGroupId, required: true, location_name: "InstanceGroupId"))
|
1113
1144
|
RemoveAutoScalingPolicyInput.struct_class = Types::RemoveAutoScalingPolicyInput
|
@@ -1225,6 +1256,12 @@ module Aws::EMR
|
|
1225
1256
|
SimpleScalingPolicyConfiguration.add_member(:cool_down, Shapes::ShapeRef.new(shape: Integer, location_name: "CoolDown"))
|
1226
1257
|
SimpleScalingPolicyConfiguration.struct_class = Types::SimpleScalingPolicyConfiguration
|
1227
1258
|
|
1259
|
+
SimplifiedApplication.add_member(:name, Shapes::ShapeRef.new(shape: String, location_name: "Name"))
|
1260
|
+
SimplifiedApplication.add_member(:version, Shapes::ShapeRef.new(shape: String, location_name: "Version"))
|
1261
|
+
SimplifiedApplication.struct_class = Types::SimplifiedApplication
|
1262
|
+
|
1263
|
+
SimplifiedApplicationList.member = Shapes::ShapeRef.new(shape: SimplifiedApplication)
|
1264
|
+
|
1228
1265
|
SpotProvisioningSpecification.add_member(:timeout_duration_minutes, Shapes::ShapeRef.new(shape: WholeNumber, required: true, location_name: "TimeoutDurationMinutes"))
|
1229
1266
|
SpotProvisioningSpecification.add_member(:timeout_action, Shapes::ShapeRef.new(shape: SpotProvisioningTimeoutAction, required: true, location_name: "TimeoutAction"))
|
1230
1267
|
SpotProvisioningSpecification.add_member(:block_duration_minutes, Shapes::ShapeRef.new(shape: WholeNumber, location_name: "BlockDurationMinutes"))
|
@@ -1531,6 +1568,16 @@ module Aws::EMR
|
|
1531
1568
|
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
1532
1569
|
end)
|
1533
1570
|
|
1571
|
+
api.add_operation(:describe_release_label, Seahorse::Model::Operation.new.tap do |o|
|
1572
|
+
o.name = "DescribeReleaseLabel"
|
1573
|
+
o.http_method = "POST"
|
1574
|
+
o.http_request_uri = "/"
|
1575
|
+
o.input = Shapes::ShapeRef.new(shape: DescribeReleaseLabelInput)
|
1576
|
+
o.output = Shapes::ShapeRef.new(shape: DescribeReleaseLabelOutput)
|
1577
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
1578
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
1579
|
+
end)
|
1580
|
+
|
1534
1581
|
api.add_operation(:describe_security_configuration, Seahorse::Model::Operation.new.tap do |o|
|
1535
1582
|
o.name = "DescribeSecurityConfiguration"
|
1536
1583
|
o.http_method = "POST"
|
@@ -1679,6 +1726,22 @@ module Aws::EMR
|
|
1679
1726
|
)
|
1680
1727
|
end)
|
1681
1728
|
|
1729
|
+
api.add_operation(:list_release_labels, Seahorse::Model::Operation.new.tap do |o|
|
1730
|
+
o.name = "ListReleaseLabels"
|
1731
|
+
o.http_method = "POST"
|
1732
|
+
o.http_request_uri = "/"
|
1733
|
+
o.input = Shapes::ShapeRef.new(shape: ListReleaseLabelsInput)
|
1734
|
+
o.output = Shapes::ShapeRef.new(shape: ListReleaseLabelsOutput)
|
1735
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
1736
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
1737
|
+
o[:pager] = Aws::Pager.new(
|
1738
|
+
limit_key: "max_results",
|
1739
|
+
tokens: {
|
1740
|
+
"next_token" => "next_token"
|
1741
|
+
}
|
1742
|
+
)
|
1743
|
+
end)
|
1744
|
+
|
1682
1745
|
api.add_operation(:list_security_configurations, Seahorse::Model::Operation.new.tap do |o|
|
1683
1746
|
o.name = "ListSecurityConfigurations"
|
1684
1747
|
o.http_method = "POST"
|
@@ -2,7 +2,7 @@
|
|
2
2
|
# WARNING ABOUT GENERATED CODE
|
3
3
|
#
|
4
4
|
# This file is generated. See the contributing for info on making contributions:
|
5
|
-
# https://github.com/aws/aws-sdk-ruby/blob/
|
5
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
6
6
|
#
|
7
7
|
# WARNING ABOUT GENERATED CODE
|
8
8
|
|
data/lib/aws-sdk-emr/types.rb
CHANGED
@@ -581,8 +581,8 @@ module Aws::EMR
|
|
581
581
|
include Aws::Structure
|
582
582
|
end
|
583
583
|
|
584
|
-
# Properties that describe the
|
585
|
-
# `BlockPublicAccessConfiguration` using the
|
584
|
+
# Properties that describe the Amazon Web Services principal that
|
585
|
+
# created the `BlockPublicAccessConfiguration` using the
|
586
586
|
# `PutBlockPublicAccessConfiguration` action as well as the date and
|
587
587
|
# time that the configuration was created. Each time a configuration for
|
588
588
|
# block public access is updated, Amazon EMR updates this metadata.
|
@@ -851,9 +851,8 @@ module Aws::EMR
|
|
851
851
|
# @return [String]
|
852
852
|
#
|
853
853
|
# @!attribute [rw] log_encryption_kms_key_id
|
854
|
-
# The
|
855
|
-
#
|
856
|
-
# excluding EMR 6.0.0.
|
854
|
+
# The KMS key used for encrypting log files. This attribute is only
|
855
|
+
# available with EMR version 5.30.0 and later, excluding EMR 6.0.0.
|
857
856
|
# @return [String]
|
858
857
|
#
|
859
858
|
# @!attribute [rw] requested_ami_version
|
@@ -892,15 +891,27 @@ module Aws::EMR
|
|
892
891
|
# @return [Boolean]
|
893
892
|
#
|
894
893
|
# @!attribute [rw] visible_to_all_users
|
895
|
-
# Indicates whether the cluster is visible to
|
896
|
-
# account associated with the cluster.
|
897
|
-
#
|
898
|
-
#
|
899
|
-
#
|
900
|
-
#
|
901
|
-
#
|
902
|
-
#
|
903
|
-
#
|
894
|
+
# Indicates whether the cluster is visible to IAM principals in the
|
895
|
+
# account associated with the cluster. When `true`, IAM principals in
|
896
|
+
# the account can perform EMR cluster actions on the cluster that
|
897
|
+
# their IAM policies allow. When `false`, only the IAM principal that
|
898
|
+
# created the cluster and the account root user can perform EMR
|
899
|
+
# actions, regardless of IAM permissions policies attached to other
|
900
|
+
# IAM principals.
|
901
|
+
#
|
902
|
+
# The default value is `false` if a value is not provided when
|
903
|
+
# creating a cluster using the EMR API RunJobFlow command or the CLI
|
904
|
+
# [create-cluster][1] command. The default value is `true` when a
|
905
|
+
# cluster is created using the Management Console. IAM principals that
|
906
|
+
# are allowed to perform actions on the cluster can use the
|
907
|
+
# SetVisibleToAllUsers action to change the value on a running
|
908
|
+
# cluster. For more information, see [Understanding the EMR Cluster
|
909
|
+
# VisibleToAllUsers Setting][2] in the *Amazon EMR Management Guide*.
|
910
|
+
#
|
911
|
+
#
|
912
|
+
#
|
913
|
+
# [1]: https://docs.aws.amazon.com/cli/latest/reference/emr/create-cluster.html
|
914
|
+
# [2]: https://docs.aws.amazon.com/emr/latest/ManagementGuide/security_iam_emr-with-iam.html#security_set_visible_to_all_users
|
904
915
|
# @return [Boolean]
|
905
916
|
#
|
906
917
|
# @!attribute [rw] applications
|
@@ -913,7 +924,7 @@ module Aws::EMR
|
|
913
924
|
#
|
914
925
|
# @!attribute [rw] service_role
|
915
926
|
# The IAM role that will be assumed by the Amazon EMR service to
|
916
|
-
# access
|
927
|
+
# access Amazon Web Services resources on your behalf.
|
917
928
|
# @return [String]
|
918
929
|
#
|
919
930
|
# @!attribute [rw] normalized_instance_hours
|
@@ -1408,7 +1419,7 @@ module Aws::EMR
|
|
1408
1419
|
# @!attribute [rw] service_role
|
1409
1420
|
# The IAM role that will be assumed by the Amazon EMR Studio. The
|
1410
1421
|
# service role provides a way for Amazon EMR Studio to interoperate
|
1411
|
-
# with other
|
1422
|
+
# with other Amazon Web Services services.
|
1412
1423
|
# @return [String]
|
1413
1424
|
#
|
1414
1425
|
# @!attribute [rw] user_role
|
@@ -1495,9 +1506,10 @@ module Aws::EMR
|
|
1495
1506
|
#
|
1496
1507
|
# @!attribute [rw] identity_id
|
1497
1508
|
# The globally unique identifier (GUID) of the user or group from the
|
1498
|
-
#
|
1499
|
-
# [GroupId][2] in the *
|
1500
|
-
# `IdentityName` or `IdentityId`
|
1509
|
+
# Amazon Web Services SSO Identity Store. For more information, see
|
1510
|
+
# [UserId][1] and [GroupId][2] in the *Amazon Web Services SSO
|
1511
|
+
# Identity Store API Reference*. Either `IdentityName` or `IdentityId`
|
1512
|
+
# must be specified.
|
1501
1513
|
#
|
1502
1514
|
#
|
1503
1515
|
#
|
@@ -1507,9 +1519,9 @@ module Aws::EMR
|
|
1507
1519
|
#
|
1508
1520
|
# @!attribute [rw] identity_name
|
1509
1521
|
# The name of the user or group. For more information, see
|
1510
|
-
# [UserName][1] and [DisplayName][2] in the *
|
1511
|
-
# API Reference*. Either `IdentityName` or `IdentityId`
|
1512
|
-
# specified.
|
1522
|
+
# [UserName][1] and [DisplayName][2] in the *Amazon Web Services SSO
|
1523
|
+
# Identity Store API Reference*. Either `IdentityName` or `IdentityId`
|
1524
|
+
# must be specified.
|
1513
1525
|
#
|
1514
1526
|
#
|
1515
1527
|
#
|
@@ -1524,8 +1536,14 @@ module Aws::EMR
|
|
1524
1536
|
#
|
1525
1537
|
# @!attribute [rw] session_policy_arn
|
1526
1538
|
# The Amazon Resource Name (ARN) for the session policy that will be
|
1527
|
-
# applied to the user or group.
|
1528
|
-
#
|
1539
|
+
# applied to the user or group. You should specify the ARN for the
|
1540
|
+
# session policy that you want to apply, not the ARN of your user
|
1541
|
+
# role. For more information, see [Create an EMR Studio User Role with
|
1542
|
+
# Session Policies][1].
|
1543
|
+
#
|
1544
|
+
#
|
1545
|
+
#
|
1546
|
+
# [1]: https://docs.aws.amazon.com/emr/latest/ManagementGuide/emr-studio-user-role.html
|
1529
1547
|
# @return [String]
|
1530
1548
|
#
|
1531
1549
|
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/CreateStudioSessionMappingInput AWS API Documentation
|
@@ -1599,8 +1617,8 @@ module Aws::EMR
|
|
1599
1617
|
# @!attribute [rw] identity_id
|
1600
1618
|
# The globally unique identifier (GUID) of the user or group to remove
|
1601
1619
|
# from the Amazon EMR Studio. For more information, see [UserId][1]
|
1602
|
-
# and [GroupId][2] in the *
|
1603
|
-
# Either `IdentityName` or `IdentityId` must be specified.
|
1620
|
+
# and [GroupId][2] in the *Amazon Web Services SSO Identity Store API
|
1621
|
+
# Reference*. Either `IdentityName` or `IdentityId` must be specified.
|
1604
1622
|
#
|
1605
1623
|
#
|
1606
1624
|
#
|
@@ -1611,8 +1629,8 @@ module Aws::EMR
|
|
1611
1629
|
# @!attribute [rw] identity_name
|
1612
1630
|
# The name of the user name or group to remove from the Amazon EMR
|
1613
1631
|
# Studio. For more information, see [UserName][1] and [DisplayName][2]
|
1614
|
-
# in the *
|
1615
|
-
# or `IdentityId` must be specified.
|
1632
|
+
# in the *Amazon Web Services SSO Store API Reference*. Either
|
1633
|
+
# `IdentityName` or `IdentityId` must be specified.
|
1616
1634
|
#
|
1617
1635
|
#
|
1618
1636
|
#
|
@@ -1755,6 +1773,63 @@ module Aws::EMR
|
|
1755
1773
|
include Aws::Structure
|
1756
1774
|
end
|
1757
1775
|
|
1776
|
+
# @note When making an API call, you may pass DescribeReleaseLabelInput
|
1777
|
+
# data as a hash:
|
1778
|
+
#
|
1779
|
+
# {
|
1780
|
+
# release_label: "String",
|
1781
|
+
# next_token: "String",
|
1782
|
+
# max_results: 1,
|
1783
|
+
# }
|
1784
|
+
#
|
1785
|
+
# @!attribute [rw] release_label
|
1786
|
+
# The target release label to be described.
|
1787
|
+
# @return [String]
|
1788
|
+
#
|
1789
|
+
# @!attribute [rw] next_token
|
1790
|
+
# The pagination token. Reserved for future use. Currently set to
|
1791
|
+
# null.
|
1792
|
+
# @return [String]
|
1793
|
+
#
|
1794
|
+
# @!attribute [rw] max_results
|
1795
|
+
# Reserved for future use. Currently set to null.
|
1796
|
+
# @return [Integer]
|
1797
|
+
#
|
1798
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/DescribeReleaseLabelInput AWS API Documentation
|
1799
|
+
#
|
1800
|
+
class DescribeReleaseLabelInput < Struct.new(
|
1801
|
+
:release_label,
|
1802
|
+
:next_token,
|
1803
|
+
:max_results)
|
1804
|
+
SENSITIVE = []
|
1805
|
+
include Aws::Structure
|
1806
|
+
end
|
1807
|
+
|
1808
|
+
# @!attribute [rw] release_label
|
1809
|
+
# The target release label described in the response.
|
1810
|
+
# @return [String]
|
1811
|
+
#
|
1812
|
+
# @!attribute [rw] applications
|
1813
|
+
# The list of applications available for the target release label.
|
1814
|
+
# `Name` is the name of the application. `Version` is the concise
|
1815
|
+
# version of the application.
|
1816
|
+
# @return [Array<Types::SimplifiedApplication>]
|
1817
|
+
#
|
1818
|
+
# @!attribute [rw] next_token
|
1819
|
+
# The pagination token. Reserved for future use. Currently set to
|
1820
|
+
# null.
|
1821
|
+
# @return [String]
|
1822
|
+
#
|
1823
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/DescribeReleaseLabelOutput AWS API Documentation
|
1824
|
+
#
|
1825
|
+
class DescribeReleaseLabelOutput < Struct.new(
|
1826
|
+
:release_label,
|
1827
|
+
:applications,
|
1828
|
+
:next_token)
|
1829
|
+
SENSITIVE = []
|
1830
|
+
include Aws::Structure
|
1831
|
+
end
|
1832
|
+
|
1758
1833
|
# @note When making an API call, you may pass DescribeSecurityConfigurationInput
|
1759
1834
|
# data as a hash:
|
1760
1835
|
#
|
@@ -2179,8 +2254,8 @@ module Aws::EMR
|
|
2179
2254
|
# @return [Types::BlockPublicAccessConfiguration]
|
2180
2255
|
#
|
2181
2256
|
# @!attribute [rw] block_public_access_configuration_metadata
|
2182
|
-
# Properties that describe the
|
2183
|
-
# `BlockPublicAccessConfiguration` using the
|
2257
|
+
# Properties that describe the Amazon Web Services principal that
|
2258
|
+
# created the `BlockPublicAccessConfiguration` using the
|
2184
2259
|
# `PutBlockPublicAccessConfiguration` action as well as the date and
|
2185
2260
|
# time that the configuration was created. Each time a configuration
|
2186
2261
|
# for block public access is updated, Amazon EMR updates this
|
@@ -2245,9 +2320,9 @@ module Aws::EMR
|
|
2245
2320
|
#
|
2246
2321
|
# @!attribute [rw] identity_id
|
2247
2322
|
# The globally unique identifier (GUID) of the user or group. For more
|
2248
|
-
# information, see [UserId][1] and [GroupId][2] in the *
|
2249
|
-
# Identity Store API Reference*. Either `IdentityName` or
|
2250
|
-
# must be specified.
|
2323
|
+
# information, see [UserId][1] and [GroupId][2] in the *Amazon Web
|
2324
|
+
# Services SSO Identity Store API Reference*. Either `IdentityName` or
|
2325
|
+
# `IdentityId` must be specified.
|
2251
2326
|
#
|
2252
2327
|
#
|
2253
2328
|
#
|
@@ -2257,9 +2332,9 @@ module Aws::EMR
|
|
2257
2332
|
#
|
2258
2333
|
# @!attribute [rw] identity_name
|
2259
2334
|
# The name of the user or group to fetch. For more information, see
|
2260
|
-
# [UserName][1] and [DisplayName][2] in the *
|
2261
|
-
# API Reference*. Either `IdentityName` or `IdentityId`
|
2262
|
-
# specified.
|
2335
|
+
# [UserName][1] and [DisplayName][2] in the *Amazon Web Services SSO
|
2336
|
+
# Identity Store API Reference*. Either `IdentityName` or `IdentityId`
|
2337
|
+
# must be specified.
|
2263
2338
|
#
|
2264
2339
|
#
|
2265
2340
|
#
|
@@ -2429,7 +2504,7 @@ module Aws::EMR
|
|
2429
2504
|
# @return [String]
|
2430
2505
|
#
|
2431
2506
|
# @!attribute [rw] ebs_volumes
|
2432
|
-
# The list of EBS volumes that are attached to this instance.
|
2507
|
+
# The list of Amazon EBS volumes that are attached to this instance.
|
2433
2508
|
# @return [Array<Types::EbsVolume>]
|
2434
2509
|
#
|
2435
2510
|
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/Instance AWS API Documentation
|
@@ -2545,9 +2620,8 @@ module Aws::EMR
|
|
2545
2620
|
# @return [Integer]
|
2546
2621
|
#
|
2547
2622
|
# @!attribute [rw] instance_type_specifications
|
2548
|
-
#
|
2549
|
-
# fleet.
|
2550
|
-
# each instance fleet.
|
2623
|
+
# An array of specifications for the instance types that comprise an
|
2624
|
+
# instance fleet.
|
2551
2625
|
# @return [Array<Types::InstanceTypeSpecification>]
|
2552
2626
|
#
|
2553
2627
|
# @!attribute [rw] launch_specifications
|
@@ -2970,9 +3044,9 @@ module Aws::EMR
|
|
2970
3044
|
#
|
2971
3045
|
# </note>
|
2972
3046
|
#
|
2973
|
-
# The list of configurations supplied for an EMR cluster
|
2974
|
-
# group. You can specify a separate configuration for each
|
2975
|
-
# group (master, core, and task).
|
3047
|
+
# The list of configurations supplied for an Amazon EMR cluster
|
3048
|
+
# instance group. You can specify a separate configuration for each
|
3049
|
+
# instance group (master, core, and task).
|
2976
3050
|
# @return [Array<Types::Configuration>]
|
2977
3051
|
#
|
2978
3052
|
# @!attribute [rw] configurations_version
|
@@ -3499,14 +3573,22 @@ module Aws::EMR
|
|
3499
3573
|
|
3500
3574
|
# An instance type configuration for each instance type in an instance
|
3501
3575
|
# fleet, which determines the EC2 instances Amazon EMR attempts to
|
3502
|
-
# provision to fulfill On-Demand and Spot target capacities.
|
3503
|
-
#
|
3576
|
+
# provision to fulfill On-Demand and Spot target capacities. When you
|
3577
|
+
# use an allocation strategy, you can include a maximum of 30 instance
|
3578
|
+
# type configurations for a fleet. For more information about how to use
|
3579
|
+
# an allocation strategy, see [Configure Instance Fleets][1]. Without an
|
3580
|
+
# allocation strategy, you may specify a maximum of five instance type
|
3581
|
+
# configurations for a fleet.
|
3504
3582
|
#
|
3505
3583
|
# <note markdown="1"> The instance fleet configuration is available only in Amazon EMR
|
3506
3584
|
# versions 4.8.0 and later, excluding 5.0.x versions.
|
3507
3585
|
#
|
3508
3586
|
# </note>
|
3509
3587
|
#
|
3588
|
+
#
|
3589
|
+
#
|
3590
|
+
# [1]: https://docs.aws.amazon.com/emr/latest/ManagementGuide/emr-instance-fleet.html
|
3591
|
+
#
|
3510
3592
|
# @note When making an API call, you may pass InstanceTypeConfig
|
3511
3593
|
# data as a hash:
|
3512
3594
|
#
|
@@ -3569,7 +3651,7 @@ module Aws::EMR
|
|
3569
3651
|
# @return [Float]
|
3570
3652
|
#
|
3571
3653
|
# @!attribute [rw] ebs_configuration
|
3572
|
-
# The configuration of Amazon Elastic Block
|
3654
|
+
# The configuration of Amazon Elastic Block Store (Amazon EBS)
|
3573
3655
|
# attached to each instance as defined by `InstanceType`.
|
3574
3656
|
# @return [Types::EbsConfiguration]
|
3575
3657
|
#
|
@@ -3630,7 +3712,7 @@ module Aws::EMR
|
|
3630
3712
|
# @return [Array<Types::Configuration>]
|
3631
3713
|
#
|
3632
3714
|
# @!attribute [rw] ebs_block_devices
|
3633
|
-
# The configuration of Amazon Elastic Block
|
3715
|
+
# The configuration of Amazon Elastic Block Store (Amazon EBS)
|
3634
3716
|
# attached to each instance as defined by `InstanceType`.
|
3635
3717
|
# @return [Array<Types::EbsBlockDevice>]
|
3636
3718
|
#
|
@@ -3709,9 +3791,8 @@ module Aws::EMR
|
|
3709
3791
|
# @return [String]
|
3710
3792
|
#
|
3711
3793
|
# @!attribute [rw] log_encryption_kms_key_id
|
3712
|
-
# The
|
3713
|
-
#
|
3714
|
-
# excluding EMR 6.0.0.
|
3794
|
+
# The KMS key used for encrypting log files. This attribute is only
|
3795
|
+
# available with EMR version 5.30.0 and later, excluding EMR 6.0.0.
|
3715
3796
|
# @return [String]
|
3716
3797
|
#
|
3717
3798
|
# @!attribute [rw] ami_version
|
@@ -3743,15 +3824,26 @@ module Aws::EMR
|
|
3743
3824
|
# @return [Array<String>]
|
3744
3825
|
#
|
3745
3826
|
# @!attribute [rw] visible_to_all_users
|
3746
|
-
# Indicates whether the cluster is visible to
|
3747
|
-
# account associated with the cluster.
|
3748
|
-
#
|
3749
|
-
#
|
3750
|
-
#
|
3751
|
-
#
|
3752
|
-
#
|
3753
|
-
# value
|
3754
|
-
#
|
3827
|
+
# Indicates whether the cluster is visible to IAM principals in the
|
3828
|
+
# account associated with the cluster. When `true`, IAM principals in
|
3829
|
+
# the account can perform EMR cluster actions that their IAM policies
|
3830
|
+
# allow. When `false`, only the IAM principal that created the cluster
|
3831
|
+
# and the account root user can perform EMR actions, regardless of IAM
|
3832
|
+
# permissions policies attached to other IAM principals.
|
3833
|
+
#
|
3834
|
+
# The default value is `false` if a value is not provided when
|
3835
|
+
# creating a cluster using the EMR API RunJobFlow command or the CLI
|
3836
|
+
# [create-cluster][1] command. The default value is `true` when a
|
3837
|
+
# cluster is created using the Management Console. IAM principals that
|
3838
|
+
# are authorized to perform actions on the cluster can use the
|
3839
|
+
# SetVisibleToAllUsers action to change the value on a running
|
3840
|
+
# cluster. For more information, see [Understanding the EMR Cluster
|
3841
|
+
# VisibleToAllUsers Setting][2] in the *Amazon EMR Management Guide*.
|
3842
|
+
#
|
3843
|
+
#
|
3844
|
+
#
|
3845
|
+
# [1]: https://docs.aws.amazon.com/cli/latest/reference/emr/create-cluster.html
|
3846
|
+
# [2]: https://docs.aws.amazon.com/emr/latest/ManagementGuide/security_iam_emr-with-iam.html#security_set_visible_to_all_users
|
3755
3847
|
# @return [Boolean]
|
3756
3848
|
#
|
3757
3849
|
# @!attribute [rw] job_flow_role
|
@@ -3760,8 +3852,8 @@ module Aws::EMR
|
|
3760
3852
|
# @return [String]
|
3761
3853
|
#
|
3762
3854
|
# @!attribute [rw] service_role
|
3763
|
-
# The IAM role that is assumed by the Amazon EMR service to access
|
3764
|
-
# resources on your behalf.
|
3855
|
+
# The IAM role that is assumed by the Amazon EMR service to access
|
3856
|
+
# Amazon Web Services resources on your behalf.
|
3765
3857
|
# @return [String]
|
3766
3858
|
#
|
3767
3859
|
# @!attribute [rw] auto_scaling_role
|
@@ -4046,7 +4138,13 @@ module Aws::EMR
|
|
4046
4138
|
#
|
4047
4139
|
# @!attribute [rw] keep_job_flow_alive_when_no_steps
|
4048
4140
|
# Specifies whether the cluster should remain available after
|
4049
|
-
# completing all steps.
|
4141
|
+
# completing all steps. Defaults to `true`. For more information about
|
4142
|
+
# configuring cluster termination, see [Control Cluster
|
4143
|
+
# Termination][1] in the *EMR Management Guide*.
|
4144
|
+
#
|
4145
|
+
#
|
4146
|
+
#
|
4147
|
+
# [1]: https://docs.aws.amazon.com/emr/latest/ManagementGuide/emr-plan-termination.html
|
4050
4148
|
# @return [Boolean]
|
4051
4149
|
#
|
4052
4150
|
# @!attribute [rw] termination_protected
|
@@ -4087,11 +4185,14 @@ module Aws::EMR
|
|
4087
4185
|
#
|
4088
4186
|
# @!attribute [rw] emr_managed_master_security_group
|
4089
4187
|
# The identifier of the Amazon EC2 security group for the master node.
|
4188
|
+
# If you specify `EmrManagedMasterSecurityGroup`, you must also
|
4189
|
+
# specify `EmrManagedSlaveSecurityGroup`.
|
4090
4190
|
# @return [String]
|
4091
4191
|
#
|
4092
4192
|
# @!attribute [rw] emr_managed_slave_security_group
|
4093
4193
|
# The identifier of the Amazon EC2 security group for the core and
|
4094
|
-
# task nodes.
|
4194
|
+
# task nodes. If you specify `EmrManagedSlaveSecurityGroup`, you must
|
4195
|
+
# also specify `EmrManagedMasterSecurityGroup`.
|
4095
4196
|
# @return [String]
|
4096
4197
|
#
|
4097
4198
|
# @!attribute [rw] service_access_security_group
|
@@ -4380,7 +4481,9 @@ module Aws::EMR
|
|
4380
4481
|
# @return [Time]
|
4381
4482
|
#
|
4382
4483
|
# @!attribute [rw] cluster_states
|
4383
|
-
# The cluster state filters to apply when listing clusters.
|
4484
|
+
# The cluster state filters to apply when listing clusters. Clusters
|
4485
|
+
# that change state while this action runs may be not be returned as
|
4486
|
+
# expected in the list of clusters.
|
4384
4487
|
# @return [Array<String>]
|
4385
4488
|
#
|
4386
4489
|
# @!attribute [rw] marker
|
@@ -4688,6 +4791,67 @@ module Aws::EMR
|
|
4688
4791
|
include Aws::Structure
|
4689
4792
|
end
|
4690
4793
|
|
4794
|
+
# @note When making an API call, you may pass ListReleaseLabelsInput
|
4795
|
+
# data as a hash:
|
4796
|
+
#
|
4797
|
+
# {
|
4798
|
+
# filters: {
|
4799
|
+
# prefix: "String",
|
4800
|
+
# application: "String",
|
4801
|
+
# },
|
4802
|
+
# next_token: "String",
|
4803
|
+
# max_results: 1,
|
4804
|
+
# }
|
4805
|
+
#
|
4806
|
+
# @!attribute [rw] filters
|
4807
|
+
# Filters the results of the request. `Prefix` specifies the prefix of
|
4808
|
+
# release labels to return. `Application` specifies the application
|
4809
|
+
# (with/without version) of release labels to return.
|
4810
|
+
# @return [Types::ReleaseLabelFilter]
|
4811
|
+
#
|
4812
|
+
# @!attribute [rw] next_token
|
4813
|
+
# Specifies the next page of results. If `NextToken` is not specified,
|
4814
|
+
# which is usually the case for the first request of
|
4815
|
+
# ListReleaseLabels, the first page of results are determined by other
|
4816
|
+
# filtering parameters or by the latest version. The
|
4817
|
+
# `ListReleaseLabels` request fails if the identity (AWS AccountID)
|
4818
|
+
# and all filtering parameters are different from the original
|
4819
|
+
# request, or if the `NextToken` is expired or tampered with.
|
4820
|
+
# @return [String]
|
4821
|
+
#
|
4822
|
+
# @!attribute [rw] max_results
|
4823
|
+
# Defines the maximum number of release labels to return in a single
|
4824
|
+
# response. The default is `100`.
|
4825
|
+
# @return [Integer]
|
4826
|
+
#
|
4827
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/ListReleaseLabelsInput AWS API Documentation
|
4828
|
+
#
|
4829
|
+
class ListReleaseLabelsInput < Struct.new(
|
4830
|
+
:filters,
|
4831
|
+
:next_token,
|
4832
|
+
:max_results)
|
4833
|
+
SENSITIVE = []
|
4834
|
+
include Aws::Structure
|
4835
|
+
end
|
4836
|
+
|
4837
|
+
# @!attribute [rw] release_labels
|
4838
|
+
# The returned release labels.
|
4839
|
+
# @return [Array<String>]
|
4840
|
+
#
|
4841
|
+
# @!attribute [rw] next_token
|
4842
|
+
# Used to paginate the next page of results if specified in the next
|
4843
|
+
# `ListReleaseLabels` request.
|
4844
|
+
# @return [String]
|
4845
|
+
#
|
4846
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/ListReleaseLabelsOutput AWS API Documentation
|
4847
|
+
#
|
4848
|
+
class ListReleaseLabelsOutput < Struct.new(
|
4849
|
+
:release_labels,
|
4850
|
+
:next_token)
|
4851
|
+
SENSITIVE = []
|
4852
|
+
include Aws::Structure
|
4853
|
+
end
|
4854
|
+
|
4691
4855
|
# @note When making an API call, you may pass ListSecurityConfigurationsInput
|
4692
4856
|
# data as a hash:
|
4693
4857
|
#
|
@@ -4754,8 +4918,10 @@ module Aws::EMR
|
|
4754
4918
|
# @return [Array<String>]
|
4755
4919
|
#
|
4756
4920
|
# @!attribute [rw] marker
|
4757
|
-
# The
|
4758
|
-
#
|
4921
|
+
# The maximum number of steps that a single `ListSteps` action returns
|
4922
|
+
# is 50. To return a longer list of steps, use multiple `ListSteps`
|
4923
|
+
# actions along with the `Marker` parameter, which is a pagination
|
4924
|
+
# token that indicates the next set of results to retrieve.
|
4759
4925
|
# @return [String]
|
4760
4926
|
#
|
4761
4927
|
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/ListStepsInput AWS API Documentation
|
@@ -4777,8 +4943,10 @@ module Aws::EMR
|
|
4777
4943
|
# @return [Array<Types::StepSummary>]
|
4778
4944
|
#
|
4779
4945
|
# @!attribute [rw] marker
|
4780
|
-
# The
|
4781
|
-
#
|
4946
|
+
# The maximum number of steps that a single `ListSteps` action returns
|
4947
|
+
# is 50. To return a longer list of steps, use multiple `ListSteps`
|
4948
|
+
# actions along with the `Marker` parameter, which is a pagination
|
4949
|
+
# token that indicates the next set of results to retrieve.
|
4782
4950
|
# @return [String]
|
4783
4951
|
#
|
4784
4952
|
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/ListStepsOutput AWS API Documentation
|
@@ -4958,7 +5126,10 @@ module Aws::EMR
|
|
4958
5126
|
#
|
4959
5127
|
# @!attribute [rw] step_concurrency_level
|
4960
5128
|
# The number of steps that can be executed concurrently. You can
|
4961
|
-
# specify a minimum of 1 step and a maximum of 256 steps.
|
5129
|
+
# specify a minimum of 1 step and a maximum of 256 steps. We recommend
|
5130
|
+
# that you do not change this parameter while steps are running or the
|
5131
|
+
# `ActionOnFailure` setting may not behave as expected. For more
|
5132
|
+
# information see Step$ActionOnFailure.
|
4962
5133
|
# @return [Integer]
|
4963
5134
|
#
|
4964
5135
|
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/ModifyClusterInput AWS API Documentation
|
@@ -4999,7 +5170,7 @@ module Aws::EMR
|
|
4999
5170
|
# @return [String]
|
5000
5171
|
#
|
5001
5172
|
# @!attribute [rw] instance_fleet
|
5002
|
-
# The
|
5173
|
+
# The configuration parameters of the instance fleet.
|
5003
5174
|
# @return [Types::InstanceFleetModifyConfig]
|
5004
5175
|
#
|
5005
5176
|
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/ModifyInstanceFleetInput AWS API Documentation
|
@@ -5180,6 +5351,9 @@ module Aws::EMR
|
|
5180
5351
|
include Aws::Structure
|
5181
5352
|
end
|
5182
5353
|
|
5354
|
+
# Details for a notebook execution. The details include information such
|
5355
|
+
# as the unique ID and status of the notebook execution.
|
5356
|
+
#
|
5183
5357
|
# @!attribute [rw] notebook_execution_id
|
5184
5358
|
# The unique identifier of the notebook execution.
|
5185
5359
|
# @return [String]
|
@@ -5273,7 +5447,7 @@ module Aws::EMR
|
|
5273
5447
|
# remaining On-Demand target capacity is launched according to the
|
5274
5448
|
# On-Demand allocation strategy (`lowest-price`).
|
5275
5449
|
#
|
5276
|
-
# If you do not specify a value, the fleet
|
5450
|
+
# If you do not specify a value, the fleet fulfills the On-Demand
|
5277
5451
|
# capacity according to the chosen On-Demand allocation strategy.
|
5278
5452
|
# @return [String]
|
5279
5453
|
#
|
@@ -5639,6 +5813,34 @@ module Aws::EMR
|
|
5639
5813
|
#
|
5640
5814
|
class PutManagedScalingPolicyOutput < Aws::EmptyStructure; end
|
5641
5815
|
|
5816
|
+
# The release label filters by application or version prefix.
|
5817
|
+
#
|
5818
|
+
# @note When making an API call, you may pass ReleaseLabelFilter
|
5819
|
+
# data as a hash:
|
5820
|
+
#
|
5821
|
+
# {
|
5822
|
+
# prefix: "String",
|
5823
|
+
# application: "String",
|
5824
|
+
# }
|
5825
|
+
#
|
5826
|
+
# @!attribute [rw] prefix
|
5827
|
+
# Optional release label version prefix filter. For example, `emr-5`.
|
5828
|
+
# @return [String]
|
5829
|
+
#
|
5830
|
+
# @!attribute [rw] application
|
5831
|
+
# Optional release label application filter. For example,
|
5832
|
+
# `spark@2.1.0`.
|
5833
|
+
# @return [String]
|
5834
|
+
#
|
5835
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/ReleaseLabelFilter AWS API Documentation
|
5836
|
+
#
|
5837
|
+
class ReleaseLabelFilter < Struct.new(
|
5838
|
+
:prefix,
|
5839
|
+
:application)
|
5840
|
+
SENSITIVE = []
|
5841
|
+
include Aws::Structure
|
5842
|
+
end
|
5843
|
+
|
5642
5844
|
# @note When making an API call, you may pass RemoveAutoScalingPolicyInput
|
5643
5845
|
# data as a hash:
|
5644
5846
|
#
|
@@ -5992,10 +6194,10 @@ module Aws::EMR
|
|
5992
6194
|
# @return [String]
|
5993
6195
|
#
|
5994
6196
|
# @!attribute [rw] log_encryption_kms_key_id
|
5995
|
-
# The
|
5996
|
-
#
|
5997
|
-
#
|
5998
|
-
#
|
6197
|
+
# The KMS key used for encrypting log files. If a value is not
|
6198
|
+
# provided, the logs remain encrypted by AES-256. This attribute is
|
6199
|
+
# only available with Amazon EMR version 5.30.0 and later, excluding
|
6200
|
+
# Amazon EMR 6.0.0.
|
5999
6201
|
# @return [String]
|
6000
6202
|
#
|
6001
6203
|
# @!attribute [rw] additional_info
|
@@ -6111,10 +6313,22 @@ module Aws::EMR
|
|
6111
6313
|
# @return [Array<Types::Configuration>]
|
6112
6314
|
#
|
6113
6315
|
# @!attribute [rw] visible_to_all_users
|
6114
|
-
#
|
6115
|
-
# can perform
|
6116
|
-
#
|
6117
|
-
#
|
6316
|
+
# Set this value to `true` so that IAM principals in the account
|
6317
|
+
# associated with the cluster can perform EMR actions on the cluster
|
6318
|
+
# that their IAM policies allow. This value defaults to `false` for
|
6319
|
+
# clusters created using the EMR API or the CLI [create-cluster][1]
|
6320
|
+
# command.
|
6321
|
+
#
|
6322
|
+
# When set to `false`, only the IAM principal that created the cluster
|
6323
|
+
# and the account root user can perform EMR actions for the cluster,
|
6324
|
+
# regardless of the IAM permissions policies attached to other IAM
|
6325
|
+
# principals. For more information, see [Understanding the EMR Cluster
|
6326
|
+
# VisibleToAllUsers Setting][2] in the *Amazon EMR Management Guide*.
|
6327
|
+
#
|
6328
|
+
#
|
6329
|
+
#
|
6330
|
+
# [1]: https://docs.aws.amazon.com/cli/latest/reference/emr/create-cluster.html
|
6331
|
+
# [2]: https://docs.aws.amazon.com/emr/latest/ManagementGuide/security_iam_emr-with-iam.html#security_set_visible_to_all_users
|
6118
6332
|
# @return [Boolean]
|
6119
6333
|
#
|
6120
6334
|
# @!attribute [rw] job_flow_role
|
@@ -6126,7 +6340,7 @@ module Aws::EMR
|
|
6126
6340
|
#
|
6127
6341
|
# @!attribute [rw] service_role
|
6128
6342
|
# The IAM role that will be assumed by the Amazon EMR service to
|
6129
|
-
# access
|
6343
|
+
# access Amazon Web Services resources on your behalf.
|
6130
6344
|
# @return [String]
|
6131
6345
|
#
|
6132
6346
|
# @!attribute [rw] tags
|
@@ -6463,8 +6677,8 @@ module Aws::EMR
|
|
6463
6677
|
# }
|
6464
6678
|
#
|
6465
6679
|
# @!attribute [rw] path
|
6466
|
-
# Location of the script to run during a bootstrap
|
6467
|
-
#
|
6680
|
+
# Location in Amazon S3 of the script to run during a bootstrap
|
6681
|
+
# action.
|
6468
6682
|
# @return [String]
|
6469
6683
|
#
|
6470
6684
|
# @!attribute [rw] args
|
@@ -6513,8 +6727,8 @@ module Aws::EMR
|
|
6513
6727
|
#
|
6514
6728
|
# @!attribute [rw] identity_name
|
6515
6729
|
# The name of the user or group. For more information, see
|
6516
|
-
# [UserName][1] and [DisplayName][2] in the *
|
6517
|
-
# API Reference*.
|
6730
|
+
# [UserName][1] and [DisplayName][2] in the *Amazon Web Services SSO
|
6731
|
+
# Identity Store API Reference*.
|
6518
6732
|
#
|
6519
6733
|
#
|
6520
6734
|
#
|
@@ -6563,13 +6777,13 @@ module Aws::EMR
|
|
6563
6777
|
#
|
6564
6778
|
# @!attribute [rw] identity_id
|
6565
6779
|
# The globally unique identifier (GUID) of the user or group from the
|
6566
|
-
#
|
6780
|
+
# Amazon Web Services SSO Identity Store.
|
6567
6781
|
# @return [String]
|
6568
6782
|
#
|
6569
6783
|
# @!attribute [rw] identity_name
|
6570
6784
|
# The name of the user or group. For more information, see
|
6571
|
-
# [UserName][1] and [DisplayName][2] in the *
|
6572
|
-
# API Reference*.
|
6785
|
+
# [UserName][1] and [DisplayName][2] in the *Amazon Web Services SSO
|
6786
|
+
# Identity Store API Reference*.
|
6573
6787
|
#
|
6574
6788
|
#
|
6575
6789
|
#
|
@@ -6650,10 +6864,11 @@ module Aws::EMR
|
|
6650
6864
|
# @return [Array<String>]
|
6651
6865
|
#
|
6652
6866
|
# @!attribute [rw] visible_to_all_users
|
6653
|
-
# A value of `true` indicates that
|
6654
|
-
#
|
6655
|
-
#
|
6656
|
-
#
|
6867
|
+
# A value of `true` indicates that an IAM principal in the account can
|
6868
|
+
# perform EMR actions on the cluster that the IAM policies attached to
|
6869
|
+
# the principal allow. A value of `false` indicates that only the IAM
|
6870
|
+
# principal that created the cluster and the Amazon Web Services root
|
6871
|
+
# user can perform EMR actions on the cluster.
|
6657
6872
|
# @return [Boolean]
|
6658
6873
|
#
|
6659
6874
|
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/SetVisibleToAllUsersInput AWS API Documentation
|
@@ -6756,6 +6971,26 @@ module Aws::EMR
|
|
6756
6971
|
include Aws::Structure
|
6757
6972
|
end
|
6758
6973
|
|
6974
|
+
# The returned release label application names or versions.
|
6975
|
+
#
|
6976
|
+
# @!attribute [rw] name
|
6977
|
+
# The returned release label application name. For example, `hadoop`.
|
6978
|
+
# @return [String]
|
6979
|
+
#
|
6980
|
+
# @!attribute [rw] version
|
6981
|
+
# The returned release label application version. For example,
|
6982
|
+
# `3.2.1`.
|
6983
|
+
# @return [String]
|
6984
|
+
#
|
6985
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/SimplifiedApplication AWS API Documentation
|
6986
|
+
#
|
6987
|
+
class SimplifiedApplication < Struct.new(
|
6988
|
+
:name,
|
6989
|
+
:version)
|
6990
|
+
SENSITIVE = []
|
6991
|
+
include Aws::Structure
|
6992
|
+
end
|
6993
|
+
|
6759
6994
|
# The launch specification for Spot Instances in the instance fleet,
|
6760
6995
|
# which determines the defined duration, provisioning timeout behavior,
|
6761
6996
|
# and allocation strategy.
|
@@ -6939,9 +7174,22 @@ module Aws::EMR
|
|
6939
7174
|
#
|
6940
7175
|
# @!attribute [rw] action_on_failure
|
6941
7176
|
# The action to take when the cluster step fails. Possible values are
|
6942
|
-
#
|
6943
|
-
#
|
6944
|
-
# recommend using
|
7177
|
+
# `TERMINATE_CLUSTER`, `CANCEL_AND_WAIT`, and `CONTINUE`.
|
7178
|
+
# `TERMINATE_JOB_FLOW` is provided for backward compatibility. We
|
7179
|
+
# recommend using `TERMINATE_CLUSTER` instead.
|
7180
|
+
#
|
7181
|
+
# If a cluster's `StepConcurrencyLevel` is greater than `1`, do not
|
7182
|
+
# use `AddJobFlowSteps` to submit a step with this parameter set to
|
7183
|
+
# `CANCEL_AND_WAIT` or `TERMINATE_CLUSTER`. The step is not submitted
|
7184
|
+
# and the action fails with a message that the `ActionOnFailure`
|
7185
|
+
# setting is not valid.
|
7186
|
+
#
|
7187
|
+
# If you change a cluster's `StepConcurrencyLevel` to be greater than
|
7188
|
+
# 1 while a step is running, the `ActionOnFailure` parameter may not
|
7189
|
+
# behave as you expect. In this case, for a step that fails with this
|
7190
|
+
# parameter set to `CANCEL_AND_WAIT`, pending steps and the running
|
7191
|
+
# step are not canceled; for a step that fails with this parameter set
|
7192
|
+
# to `TERMINATE_CLUSTER`, the cluster does not terminate.
|
6945
7193
|
# @return [String]
|
6946
7194
|
#
|
6947
7195
|
# @!attribute [rw] status
|
@@ -6960,7 +7208,7 @@ module Aws::EMR
|
|
6960
7208
|
include Aws::Structure
|
6961
7209
|
end
|
6962
7210
|
|
6963
|
-
# Specification
|
7211
|
+
# Specification for a cluster (job flow) step.
|
6964
7212
|
#
|
6965
7213
|
# @note When making an API call, you may pass StepConfig
|
6966
7214
|
# data as a hash:
|
@@ -6986,10 +7234,32 @@ module Aws::EMR
|
|
6986
7234
|
# @return [String]
|
6987
7235
|
#
|
6988
7236
|
# @!attribute [rw] action_on_failure
|
6989
|
-
# The action to take when the
|
6990
|
-
#
|
6991
|
-
#
|
6992
|
-
#
|
7237
|
+
# The action to take when the step fails. Use one of the following
|
7238
|
+
# values:
|
7239
|
+
#
|
7240
|
+
# * `TERMINATE_CLUSTER` - Shuts down the cluster.
|
7241
|
+
#
|
7242
|
+
# * `CANCEL_AND_WAIT` - Cancels any pending steps and returns the
|
7243
|
+
# cluster to the `WAITING` state.
|
7244
|
+
#
|
7245
|
+
# * `CONTINUE` - Continues to the next step in the queue.
|
7246
|
+
#
|
7247
|
+
# * `TERMINATE_JOB_FLOW` - Shuts down the cluster.
|
7248
|
+
# `TERMINATE_JOB_FLOW` is provided for backward compatibility. We
|
7249
|
+
# recommend using `TERMINATE_CLUSTER` instead.
|
7250
|
+
#
|
7251
|
+
# If a cluster's `StepConcurrencyLevel` is greater than `1`, do not
|
7252
|
+
# use `AddJobFlowSteps` to submit a step with this parameter set to
|
7253
|
+
# `CANCEL_AND_WAIT` or `TERMINATE_CLUSTER`. The step is not submitted
|
7254
|
+
# and the action fails with a message that the `ActionOnFailure`
|
7255
|
+
# setting is not valid.
|
7256
|
+
#
|
7257
|
+
# If you change a cluster's `StepConcurrencyLevel` to be greater than
|
7258
|
+
# 1 while a step is running, the `ActionOnFailure` parameter may not
|
7259
|
+
# behave as you expect. In this case, for a step that fails with this
|
7260
|
+
# parameter set to `CANCEL_AND_WAIT`, pending steps and the running
|
7261
|
+
# step are not canceled; for a step that fails with this parameter set
|
7262
|
+
# to `TERMINATE_CLUSTER`, the cluster does not terminate.
|
6993
7263
|
# @return [String]
|
6994
7264
|
#
|
6995
7265
|
# @!attribute [rw] hadoop_jar_step
|
@@ -7126,8 +7396,7 @@ module Aws::EMR
|
|
7126
7396
|
# @!attribute [rw] action_on_failure
|
7127
7397
|
# The action to take when the cluster step fails. Possible values are
|
7128
7398
|
# TERMINATE\_CLUSTER, CANCEL\_AND\_WAIT, and CONTINUE.
|
7129
|
-
# TERMINATE\_JOB\_FLOW is available for backward compatibility.
|
7130
|
-
# recommend using TERMINATE\_CLUSTER instead.
|
7399
|
+
# TERMINATE\_JOB\_FLOW is available for backward compatibility.
|
7131
7400
|
# @return [String]
|
7132
7401
|
#
|
7133
7402
|
# @!attribute [rw] status
|
@@ -7486,9 +7755,9 @@ module Aws::EMR
|
|
7486
7755
|
#
|
7487
7756
|
# @!attribute [rw] identity_id
|
7488
7757
|
# The globally unique identifier (GUID) of the user or group. For more
|
7489
|
-
# information, see [UserId][1] and [GroupId][2] in the *
|
7490
|
-
# Identity Store API Reference*. Either `IdentityName` or
|
7491
|
-
# must be specified.
|
7758
|
+
# information, see [UserId][1] and [GroupId][2] in the *Amazon Web
|
7759
|
+
# Services SSO Identity Store API Reference*. Either `IdentityName` or
|
7760
|
+
# `IdentityId` must be specified.
|
7492
7761
|
#
|
7493
7762
|
#
|
7494
7763
|
#
|
@@ -7498,9 +7767,9 @@ module Aws::EMR
|
|
7498
7767
|
#
|
7499
7768
|
# @!attribute [rw] identity_name
|
7500
7769
|
# The name of the user or group to update. For more information, see
|
7501
|
-
# [UserName][1] and [DisplayName][2] in the *
|
7502
|
-
# API Reference*. Either `IdentityName` or `IdentityId`
|
7503
|
-
# specified.
|
7770
|
+
# [UserName][1] and [DisplayName][2] in the *Amazon Web Services SSO
|
7771
|
+
# Identity Store API Reference*. Either `IdentityName` or `IdentityId`
|
7772
|
+
# must be specified.
|
7504
7773
|
#
|
7505
7774
|
#
|
7506
7775
|
#
|