aws-sdk-emr 1.43.0 → 1.47.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.
@@ -3,7 +3,7 @@
3
3
  # WARNING ABOUT GENERATED CODE
4
4
  #
5
5
  # This file is generated. See the contributing guide for more information:
6
- # https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
7
  #
8
8
  # WARNING ABOUT GENERATED CODE
9
9
 
@@ -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
 
@@ -1063,6 +1090,7 @@ module Aws::EMR
1063
1090
 
1064
1091
  OnDemandCapacityReservationOptions.add_member(:usage_strategy, Shapes::ShapeRef.new(shape: OnDemandCapacityReservationUsageStrategy, location_name: "UsageStrategy"))
1065
1092
  OnDemandCapacityReservationOptions.add_member(:capacity_reservation_preference, Shapes::ShapeRef.new(shape: OnDemandCapacityReservationPreference, location_name: "CapacityReservationPreference"))
1093
+ OnDemandCapacityReservationOptions.add_member(:capacity_reservation_resource_group_arn, Shapes::ShapeRef.new(shape: XmlStringMaxLen256, location_name: "CapacityReservationResourceGroupArn"))
1066
1094
  OnDemandCapacityReservationOptions.struct_class = Types::OnDemandCapacityReservationOptions
1067
1095
 
1068
1096
  OnDemandProvisioningSpecification.add_member(:allocation_strategy, Shapes::ShapeRef.new(shape: OnDemandProvisioningAllocationStrategy, required: true, location_name: "AllocationStrategy"))
@@ -1107,6 +1135,10 @@ module Aws::EMR
1107
1135
 
1108
1136
  PutManagedScalingPolicyOutput.struct_class = Types::PutManagedScalingPolicyOutput
1109
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
+
1110
1142
  RemoveAutoScalingPolicyInput.add_member(:cluster_id, Shapes::ShapeRef.new(shape: ClusterId, required: true, location_name: "ClusterId"))
1111
1143
  RemoveAutoScalingPolicyInput.add_member(:instance_group_id, Shapes::ShapeRef.new(shape: InstanceGroupId, required: true, location_name: "InstanceGroupId"))
1112
1144
  RemoveAutoScalingPolicyInput.struct_class = Types::RemoveAutoScalingPolicyInput
@@ -1224,6 +1256,12 @@ module Aws::EMR
1224
1256
  SimpleScalingPolicyConfiguration.add_member(:cool_down, Shapes::ShapeRef.new(shape: Integer, location_name: "CoolDown"))
1225
1257
  SimpleScalingPolicyConfiguration.struct_class = Types::SimpleScalingPolicyConfiguration
1226
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
+
1227
1265
  SpotProvisioningSpecification.add_member(:timeout_duration_minutes, Shapes::ShapeRef.new(shape: WholeNumber, required: true, location_name: "TimeoutDurationMinutes"))
1228
1266
  SpotProvisioningSpecification.add_member(:timeout_action, Shapes::ShapeRef.new(shape: SpotProvisioningTimeoutAction, required: true, location_name: "TimeoutAction"))
1229
1267
  SpotProvisioningSpecification.add_member(:block_duration_minutes, Shapes::ShapeRef.new(shape: WholeNumber, location_name: "BlockDurationMinutes"))
@@ -1530,6 +1568,16 @@ module Aws::EMR
1530
1568
  o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
1531
1569
  end)
1532
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
+
1533
1581
  api.add_operation(:describe_security_configuration, Seahorse::Model::Operation.new.tap do |o|
1534
1582
  o.name = "DescribeSecurityConfiguration"
1535
1583
  o.http_method = "POST"
@@ -1678,6 +1726,22 @@ module Aws::EMR
1678
1726
  )
1679
1727
  end)
1680
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
+
1681
1745
  api.add_operation(:list_security_configurations, Seahorse::Model::Operation.new.tap do |o|
1682
1746
  o.name = "ListSecurityConfigurations"
1683
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/master/CONTRIBUTING.md
5
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
6
6
  #
7
7
  # WARNING ABOUT GENERATED CODE
8
8
 
@@ -3,7 +3,7 @@
3
3
  # WARNING ABOUT GENERATED CODE
4
4
  #
5
5
  # This file is generated. See the contributing guide for more information:
6
- # https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
7
  #
8
8
  # WARNING ABOUT GENERATED CODE
9
9
 
@@ -3,7 +3,7 @@
3
3
  # WARNING ABOUT GENERATED CODE
4
4
  #
5
5
  # This file is generated. See the contributing guide for more information:
6
- # https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
7
  #
8
8
  # WARNING ABOUT GENERATED CODE
9
9
 
@@ -3,7 +3,7 @@
3
3
  # WARNING ABOUT GENERATED CODE
4
4
  #
5
5
  # This file is generated. See the contributing guide for more information:
6
- # https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
7
  #
8
8
  # WARNING ABOUT GENERATED CODE
9
9
 
@@ -64,6 +64,7 @@ module Aws::EMR
64
64
  # capacity_reservation_options: {
65
65
  # usage_strategy: "use-capacity-reservations-first", # accepts use-capacity-reservations-first
66
66
  # capacity_reservation_preference: "open", # accepts open, none
67
+ # capacity_reservation_resource_group_arn: "XmlStringMaxLen256",
67
68
  # },
68
69
  # },
69
70
  # },
@@ -580,8 +581,8 @@ module Aws::EMR
580
581
  include Aws::Structure
581
582
  end
582
583
 
583
- # Properties that describe the AWS principal that created the
584
- # `BlockPublicAccessConfiguration` using the
584
+ # Properties that describe the Amazon Web Services principal that
585
+ # created the `BlockPublicAccessConfiguration` using the
585
586
  # `PutBlockPublicAccessConfiguration` action as well as the date and
586
587
  # time that the configuration was created. Each time a configuration for
587
588
  # block public access is updated, Amazon EMR updates this metadata.
@@ -850,9 +851,8 @@ module Aws::EMR
850
851
  # @return [String]
851
852
  #
852
853
  # @!attribute [rw] log_encryption_kms_key_id
853
- # The AWS KMS customer master key (CMK) used for encrypting log files.
854
- # This attribute is only available with EMR version 5.30.0 and later,
855
- # 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.
856
856
  # @return [String]
857
857
  #
858
858
  # @!attribute [rw] requested_ami_version
@@ -891,15 +891,27 @@ module Aws::EMR
891
891
  # @return [Boolean]
892
892
  #
893
893
  # @!attribute [rw] visible_to_all_users
894
- # Indicates whether the cluster is visible to all IAM users of the AWS
895
- # account associated with the cluster. The default value, `true`,
896
- # indicates that all IAM users in the AWS account can perform cluster
897
- # actions if they have the proper IAM policy permissions. If this
898
- # value is `false`, only the IAM user that created the cluster can
899
- # perform actions. This value can be changed on a running cluster by
900
- # using the SetVisibleToAllUsers action. You can override the default
901
- # value of `true` when you create a cluster by using the
902
- # `VisibleToAllUsers` parameter of the `RunJobFlow` action.
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
903
915
  # @return [Boolean]
904
916
  #
905
917
  # @!attribute [rw] applications
@@ -912,7 +924,7 @@ module Aws::EMR
912
924
  #
913
925
  # @!attribute [rw] service_role
914
926
  # The IAM role that will be assumed by the Amazon EMR service to
915
- # access AWS resources on your behalf.
927
+ # access Amazon Web Services resources on your behalf.
916
928
  # @return [String]
917
929
  #
918
930
  # @!attribute [rw] normalized_instance_hours
@@ -1407,7 +1419,7 @@ module Aws::EMR
1407
1419
  # @!attribute [rw] service_role
1408
1420
  # The IAM role that will be assumed by the Amazon EMR Studio. The
1409
1421
  # service role provides a way for Amazon EMR Studio to interoperate
1410
- # with other AWS services.
1422
+ # with other Amazon Web Services services.
1411
1423
  # @return [String]
1412
1424
  #
1413
1425
  # @!attribute [rw] user_role
@@ -1430,9 +1442,8 @@ module Aws::EMR
1430
1442
  # @return [String]
1431
1443
  #
1432
1444
  # @!attribute [rw] default_s3_location
1433
- # The default Amazon S3 location to back up Amazon EMR Studio
1434
- # Workspaces and notebook files. A Studio user can select an
1435
- # alternative Amazon S3 location when creating a Workspace.
1445
+ # The Amazon S3 location to back up Amazon EMR Studio Workspaces and
1446
+ # notebook files.
1436
1447
  # @return [String]
1437
1448
  #
1438
1449
  # @!attribute [rw] tags
@@ -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
- # AWS SSO Identity Store. For more information, see [UserId][1] and
1499
- # [GroupId][2] in the *AWS SSO Identity Store API Reference*. Either
1500
- # `IdentityName` or `IdentityId` must be specified.
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 *AWS SSO Identity Store
1511
- # API Reference*. Either `IdentityName` or `IdentityId` must be
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. Session policies refine Studio user
1528
- # permissions without the need to use multiple IAM user roles.
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 *AWS SSO Identity Store API Reference*.
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 *AWS SSO Identity Store API Reference*. Either `IdentityName`
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 AWS principal that created 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 *AWS SSO
2249
- # Identity Store API Reference*. Either `IdentityName` or `IdentityId`
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 *AWS SSO Identity Store
2261
- # API Reference*. Either `IdentityName` or `IdentityId` must be
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
- # The specification for the instance types that comprise an instance
2549
- # fleet. Up to five unique instance specifications may be defined for
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
@@ -2630,6 +2704,7 @@ module Aws::EMR
2630
2704
  # capacity_reservation_options: {
2631
2705
  # usage_strategy: "use-capacity-reservations-first", # accepts use-capacity-reservations-first
2632
2706
  # capacity_reservation_preference: "open", # accepts open, none
2707
+ # capacity_reservation_resource_group_arn: "XmlStringMaxLen256",
2633
2708
  # },
2634
2709
  # },
2635
2710
  # },
@@ -2780,6 +2855,7 @@ module Aws::EMR
2780
2855
  # capacity_reservation_options: {
2781
2856
  # usage_strategy: "use-capacity-reservations-first", # accepts use-capacity-reservations-first
2782
2857
  # capacity_reservation_preference: "open", # accepts open, none
2858
+ # capacity_reservation_resource_group_arn: "XmlStringMaxLen256",
2783
2859
  # },
2784
2860
  # },
2785
2861
  # }
@@ -2968,9 +3044,9 @@ module Aws::EMR
2968
3044
  #
2969
3045
  # </note>
2970
3046
  #
2971
- # The list of configurations supplied for an EMR cluster instance
2972
- # group. You can specify a separate configuration for each instance
2973
- # 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).
2974
3050
  # @return [Array<Types::Configuration>]
2975
3051
  #
2976
3052
  # @!attribute [rw] configurations_version
@@ -3497,14 +3573,22 @@ module Aws::EMR
3497
3573
 
3498
3574
  # An instance type configuration for each instance type in an instance
3499
3575
  # fleet, which determines the EC2 instances Amazon EMR attempts to
3500
- # provision to fulfill On-Demand and Spot target capacities. There can
3501
- # be a maximum of five instance type configurations in a fleet.
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.
3502
3582
  #
3503
3583
  # <note markdown="1"> The instance fleet configuration is available only in Amazon EMR
3504
3584
  # versions 4.8.0 and later, excluding 5.0.x versions.
3505
3585
  #
3506
3586
  # </note>
3507
3587
  #
3588
+ #
3589
+ #
3590
+ # [1]: https://docs.aws.amazon.com/emr/latest/ManagementGuide/emr-instance-fleet.html
3591
+ #
3508
3592
  # @note When making an API call, you may pass InstanceTypeConfig
3509
3593
  # data as a hash:
3510
3594
  #
@@ -3567,7 +3651,7 @@ module Aws::EMR
3567
3651
  # @return [Float]
3568
3652
  #
3569
3653
  # @!attribute [rw] ebs_configuration
3570
- # The configuration of Amazon Elastic Block Storage (Amazon EBS)
3654
+ # The configuration of Amazon Elastic Block Store (Amazon EBS)
3571
3655
  # attached to each instance as defined by `InstanceType`.
3572
3656
  # @return [Types::EbsConfiguration]
3573
3657
  #
@@ -3628,7 +3712,7 @@ module Aws::EMR
3628
3712
  # @return [Array<Types::Configuration>]
3629
3713
  #
3630
3714
  # @!attribute [rw] ebs_block_devices
3631
- # The configuration of Amazon Elastic Block Storage (Amazon EBS)
3715
+ # The configuration of Amazon Elastic Block Store (Amazon EBS)
3632
3716
  # attached to each instance as defined by `InstanceType`.
3633
3717
  # @return [Array<Types::EbsBlockDevice>]
3634
3718
  #
@@ -3707,9 +3791,8 @@ module Aws::EMR
3707
3791
  # @return [String]
3708
3792
  #
3709
3793
  # @!attribute [rw] log_encryption_kms_key_id
3710
- # The AWS KMS customer master key (CMK) used for encrypting log files.
3711
- # This attribute is only available with EMR version 5.30.0 and later,
3712
- # 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.
3713
3796
  # @return [String]
3714
3797
  #
3715
3798
  # @!attribute [rw] ami_version
@@ -3741,15 +3824,26 @@ module Aws::EMR
3741
3824
  # @return [Array<String>]
3742
3825
  #
3743
3826
  # @!attribute [rw] visible_to_all_users
3744
- # Indicates whether the cluster is visible to all IAM users of the AWS
3745
- # account associated with the cluster. The default value, `true`,
3746
- # indicates that all IAM users in the AWS account can perform cluster
3747
- # actions if they have the proper IAM policy permissions. If this
3748
- # value is `false`, only the IAM user that created the cluster can
3749
- # perform actions. This value can be changed on a running cluster by
3750
- # using the SetVisibleToAllUsers action. You can override the default
3751
- # value of `true` when you create a cluster by using the
3752
- # `VisibleToAllUsers` parameter of the `RunJobFlow` action.
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
3753
3847
  # @return [Boolean]
3754
3848
  #
3755
3849
  # @!attribute [rw] job_flow_role
@@ -3758,8 +3852,8 @@ module Aws::EMR
3758
3852
  # @return [String]
3759
3853
  #
3760
3854
  # @!attribute [rw] service_role
3761
- # The IAM role that is assumed by the Amazon EMR service to access AWS
3762
- # 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.
3763
3857
  # @return [String]
3764
3858
  #
3765
3859
  # @!attribute [rw] auto_scaling_role
@@ -3984,6 +4078,7 @@ module Aws::EMR
3984
4078
  # capacity_reservation_options: {
3985
4079
  # usage_strategy: "use-capacity-reservations-first", # accepts use-capacity-reservations-first
3986
4080
  # capacity_reservation_preference: "open", # accepts open, none
4081
+ # capacity_reservation_resource_group_arn: "XmlStringMaxLen256",
3987
4082
  # },
3988
4083
  # },
3989
4084
  # },
@@ -4043,7 +4138,13 @@ module Aws::EMR
4043
4138
  #
4044
4139
  # @!attribute [rw] keep_job_flow_alive_when_no_steps
4045
4140
  # Specifies whether the cluster should remain available after
4046
- # 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
4047
4148
  # @return [Boolean]
4048
4149
  #
4049
4150
  # @!attribute [rw] termination_protected
@@ -4084,11 +4185,14 @@ module Aws::EMR
4084
4185
  #
4085
4186
  # @!attribute [rw] emr_managed_master_security_group
4086
4187
  # The identifier of the Amazon EC2 security group for the master node.
4188
+ # If you specify `EmrManagedMasterSecurityGroup`, you must also
4189
+ # specify `EmrManagedSlaveSecurityGroup`.
4087
4190
  # @return [String]
4088
4191
  #
4089
4192
  # @!attribute [rw] emr_managed_slave_security_group
4090
4193
  # The identifier of the Amazon EC2 security group for the core and
4091
- # task nodes.
4194
+ # task nodes. If you specify `EmrManagedSlaveSecurityGroup`, you must
4195
+ # also specify `EmrManagedMasterSecurityGroup`.
4092
4196
  # @return [String]
4093
4197
  #
4094
4198
  # @!attribute [rw] service_access_security_group
@@ -4377,7 +4481,9 @@ module Aws::EMR
4377
4481
  # @return [Time]
4378
4482
  #
4379
4483
  # @!attribute [rw] cluster_states
4380
- # 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.
4381
4487
  # @return [Array<String>]
4382
4488
  #
4383
4489
  # @!attribute [rw] marker
@@ -4685,6 +4791,67 @@ module Aws::EMR
4685
4791
  include Aws::Structure
4686
4792
  end
4687
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
+
4688
4855
  # @note When making an API call, you may pass ListSecurityConfigurationsInput
4689
4856
  # data as a hash:
4690
4857
  #
@@ -4751,8 +4918,10 @@ module Aws::EMR
4751
4918
  # @return [Array<String>]
4752
4919
  #
4753
4920
  # @!attribute [rw] marker
4754
- # The pagination token that indicates the next set of results to
4755
- # retrieve.
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.
4756
4925
  # @return [String]
4757
4926
  #
4758
4927
  # @see http://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/ListStepsInput AWS API Documentation
@@ -4774,8 +4943,10 @@ module Aws::EMR
4774
4943
  # @return [Array<Types::StepSummary>]
4775
4944
  #
4776
4945
  # @!attribute [rw] marker
4777
- # The pagination token that indicates the next set of results to
4778
- # retrieve.
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.
4779
4950
  # @return [String]
4780
4951
  #
4781
4952
  # @see http://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/ListStepsOutput AWS API Documentation
@@ -4955,7 +5126,10 @@ module Aws::EMR
4955
5126
  #
4956
5127
  # @!attribute [rw] step_concurrency_level
4957
5128
  # The number of steps that can be executed concurrently. You can
4958
- # 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.
4959
5133
  # @return [Integer]
4960
5134
  #
4961
5135
  # @see http://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/ModifyClusterInput AWS API Documentation
@@ -4996,7 +5170,7 @@ module Aws::EMR
4996
5170
  # @return [String]
4997
5171
  #
4998
5172
  # @!attribute [rw] instance_fleet
4999
- # The unique identifier of the instance fleet.
5173
+ # The configuration parameters of the instance fleet.
5000
5174
  # @return [Types::InstanceFleetModifyConfig]
5001
5175
  #
5002
5176
  # @see http://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/ModifyInstanceFleetInput AWS API Documentation
@@ -5177,6 +5351,9 @@ module Aws::EMR
5177
5351
  include Aws::Structure
5178
5352
  end
5179
5353
 
5354
+ # Details for a notebook execution. The details include information such
5355
+ # as the unique ID and status of the notebook execution.
5356
+ #
5180
5357
  # @!attribute [rw] notebook_execution_id
5181
5358
  # The unique identifier of the notebook execution.
5182
5359
  # @return [String]
@@ -5254,6 +5431,7 @@ module Aws::EMR
5254
5431
  # {
5255
5432
  # usage_strategy: "use-capacity-reservations-first", # accepts use-capacity-reservations-first
5256
5433
  # capacity_reservation_preference: "open", # accepts open, none
5434
+ # capacity_reservation_resource_group_arn: "XmlStringMaxLen256",
5257
5435
  # }
5258
5436
  #
5259
5437
  # @!attribute [rw] usage_strategy
@@ -5269,7 +5447,7 @@ module Aws::EMR
5269
5447
  # remaining On-Demand target capacity is launched according to the
5270
5448
  # On-Demand allocation strategy (`lowest-price`).
5271
5449
  #
5272
- # If you do not specify a value, the fleet fulfils the On-Demand
5450
+ # If you do not specify a value, the fleet fulfills the On-Demand
5273
5451
  # capacity according to the chosen On-Demand allocation strategy.
5274
5452
  # @return [String]
5275
5453
  #
@@ -5286,11 +5464,17 @@ module Aws::EMR
5286
5464
  # Instance.
5287
5465
  # @return [String]
5288
5466
  #
5467
+ # @!attribute [rw] capacity_reservation_resource_group_arn
5468
+ # The ARN of the Capacity Reservation resource group in which to run
5469
+ # the instance.
5470
+ # @return [String]
5471
+ #
5289
5472
  # @see http://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/OnDemandCapacityReservationOptions AWS API Documentation
5290
5473
  #
5291
5474
  class OnDemandCapacityReservationOptions < Struct.new(
5292
5475
  :usage_strategy,
5293
- :capacity_reservation_preference)
5476
+ :capacity_reservation_preference,
5477
+ :capacity_reservation_resource_group_arn)
5294
5478
  SENSITIVE = []
5295
5479
  include Aws::Structure
5296
5480
  end
@@ -5313,6 +5497,7 @@ module Aws::EMR
5313
5497
  # capacity_reservation_options: {
5314
5498
  # usage_strategy: "use-capacity-reservations-first", # accepts use-capacity-reservations-first
5315
5499
  # capacity_reservation_preference: "open", # accepts open, none
5500
+ # capacity_reservation_resource_group_arn: "XmlStringMaxLen256",
5316
5501
  # },
5317
5502
  # }
5318
5503
  #
@@ -5628,6 +5813,34 @@ module Aws::EMR
5628
5813
  #
5629
5814
  class PutManagedScalingPolicyOutput < Aws::EmptyStructure; end
5630
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
+
5631
5844
  # @note When making an API call, you may pass RemoveAutoScalingPolicyInput
5632
5845
  # data as a hash:
5633
5846
  #
@@ -5855,6 +6068,7 @@ module Aws::EMR
5855
6068
  # capacity_reservation_options: {
5856
6069
  # usage_strategy: "use-capacity-reservations-first", # accepts use-capacity-reservations-first
5857
6070
  # capacity_reservation_preference: "open", # accepts open, none
6071
+ # capacity_reservation_resource_group_arn: "XmlStringMaxLen256",
5858
6072
  # },
5859
6073
  # },
5860
6074
  # },
@@ -5980,10 +6194,10 @@ module Aws::EMR
5980
6194
  # @return [String]
5981
6195
  #
5982
6196
  # @!attribute [rw] log_encryption_kms_key_id
5983
- # The AWS KMS customer master key (CMK) used for encrypting log files.
5984
- # If a value is not provided, the logs remain encrypted by AES-256.
5985
- # This attribute is only available with Amazon EMR version 5.30.0 and
5986
- # later, excluding Amazon EMR 6.0.0.
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.
5987
6201
  # @return [String]
5988
6202
  #
5989
6203
  # @!attribute [rw] additional_info
@@ -6099,10 +6313,22 @@ module Aws::EMR
6099
6313
  # @return [Array<Types::Configuration>]
6100
6314
  #
6101
6315
  # @!attribute [rw] visible_to_all_users
6102
- # A value of `true` indicates that all IAM users in the AWS account
6103
- # can perform cluster actions if they have the proper IAM policy
6104
- # permissions. This is the default. A value of `false` indicates that
6105
- # only the IAM user who created the cluster can perform actions.
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
6106
6332
  # @return [Boolean]
6107
6333
  #
6108
6334
  # @!attribute [rw] job_flow_role
@@ -6114,7 +6340,7 @@ module Aws::EMR
6114
6340
  #
6115
6341
  # @!attribute [rw] service_role
6116
6342
  # The IAM role that will be assumed by the Amazon EMR service to
6117
- # access AWS resources on your behalf.
6343
+ # access Amazon Web Services resources on your behalf.
6118
6344
  # @return [String]
6119
6345
  #
6120
6346
  # @!attribute [rw] tags
@@ -6451,8 +6677,8 @@ module Aws::EMR
6451
6677
  # }
6452
6678
  #
6453
6679
  # @!attribute [rw] path
6454
- # Location of the script to run during a bootstrap action. Can be
6455
- # either a location in Amazon S3 or on a local file system.
6680
+ # Location in Amazon S3 of the script to run during a bootstrap
6681
+ # action.
6456
6682
  # @return [String]
6457
6683
  #
6458
6684
  # @!attribute [rw] args
@@ -6501,8 +6727,8 @@ module Aws::EMR
6501
6727
  #
6502
6728
  # @!attribute [rw] identity_name
6503
6729
  # The name of the user or group. For more information, see
6504
- # [UserName][1] and [DisplayName][2] in the *AWS SSO Identity Store
6505
- # API Reference*.
6730
+ # [UserName][1] and [DisplayName][2] in the *Amazon Web Services SSO
6731
+ # Identity Store API Reference*.
6506
6732
  #
6507
6733
  #
6508
6734
  #
@@ -6551,13 +6777,13 @@ module Aws::EMR
6551
6777
  #
6552
6778
  # @!attribute [rw] identity_id
6553
6779
  # The globally unique identifier (GUID) of the user or group from the
6554
- # AWS SSO Identity Store.
6780
+ # Amazon Web Services SSO Identity Store.
6555
6781
  # @return [String]
6556
6782
  #
6557
6783
  # @!attribute [rw] identity_name
6558
6784
  # The name of the user or group. For more information, see
6559
- # [UserName][1] and [DisplayName][2] in the *AWS SSO Identity Store
6560
- # API Reference*.
6785
+ # [UserName][1] and [DisplayName][2] in the *Amazon Web Services SSO
6786
+ # Identity Store API Reference*.
6561
6787
  #
6562
6788
  #
6563
6789
  #
@@ -6638,10 +6864,11 @@ module Aws::EMR
6638
6864
  # @return [Array<String>]
6639
6865
  #
6640
6866
  # @!attribute [rw] visible_to_all_users
6641
- # A value of `true` indicates that all IAM users in the AWS account
6642
- # can perform cluster actions if they have the proper IAM policy
6643
- # permissions. This is the default. A value of `false` indicates that
6644
- # only the IAM user who created the cluster can perform actions.
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.
6645
6872
  # @return [Boolean]
6646
6873
  #
6647
6874
  # @see http://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/SetVisibleToAllUsersInput AWS API Documentation
@@ -6744,6 +6971,26 @@ module Aws::EMR
6744
6971
  include Aws::Structure
6745
6972
  end
6746
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
+
6747
6994
  # The launch specification for Spot Instances in the instance fleet,
6748
6995
  # which determines the defined duration, provisioning timeout behavior,
6749
6996
  # and allocation strategy.
@@ -6927,9 +7174,22 @@ module Aws::EMR
6927
7174
  #
6928
7175
  # @!attribute [rw] action_on_failure
6929
7176
  # The action to take when the cluster step fails. Possible values are
6930
- # TERMINATE\_CLUSTER, CANCEL\_AND\_WAIT, and CONTINUE.
6931
- # TERMINATE\_JOB\_FLOW is provided for backward compatibility. We
6932
- # recommend using TERMINATE\_CLUSTER instead.
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.
6933
7193
  # @return [String]
6934
7194
  #
6935
7195
  # @!attribute [rw] status
@@ -6948,7 +7208,7 @@ module Aws::EMR
6948
7208
  include Aws::Structure
6949
7209
  end
6950
7210
 
6951
- # Specification of a cluster (job flow) step.
7211
+ # Specification for a cluster (job flow) step.
6952
7212
  #
6953
7213
  # @note When making an API call, you may pass StepConfig
6954
7214
  # data as a hash:
@@ -6974,10 +7234,32 @@ module Aws::EMR
6974
7234
  # @return [String]
6975
7235
  #
6976
7236
  # @!attribute [rw] action_on_failure
6977
- # The action to take when the cluster step fails. Possible values are
6978
- # TERMINATE\_CLUSTER, CANCEL\_AND\_WAIT, and CONTINUE.
6979
- # TERMINATE\_JOB\_FLOW is provided for backward compatibility. We
6980
- # recommend using TERMINATE\_CLUSTER instead.
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.
6981
7263
  # @return [String]
6982
7264
  #
6983
7265
  # @!attribute [rw] hadoop_jar_step
@@ -7114,8 +7396,7 @@ module Aws::EMR
7114
7396
  # @!attribute [rw] action_on_failure
7115
7397
  # The action to take when the cluster step fails. Possible values are
7116
7398
  # TERMINATE\_CLUSTER, CANCEL\_AND\_WAIT, and CONTINUE.
7117
- # TERMINATE\_JOB\_FLOW is available for backward compatibility. We
7118
- # recommend using TERMINATE\_CLUSTER instead.
7399
+ # TERMINATE\_JOB\_FLOW is available for backward compatibility.
7119
7400
  # @return [String]
7120
7401
  #
7121
7402
  # @!attribute [rw] status
@@ -7242,8 +7523,8 @@ module Aws::EMR
7242
7523
  # @return [Time]
7243
7524
  #
7244
7525
  # @!attribute [rw] default_s3_location
7245
- # The default Amazon S3 location to back up Amazon EMR Studio
7246
- # Workspaces and notebook files.
7526
+ # The Amazon S3 location to back up Amazon EMR Studio Workspaces and
7527
+ # notebook files.
7247
7528
  # @return [String]
7248
7529
  #
7249
7530
  # @!attribute [rw] tags
@@ -7441,9 +7722,8 @@ module Aws::EMR
7441
7722
  # @return [Array<String>]
7442
7723
  #
7443
7724
  # @!attribute [rw] default_s3_location
7444
- # A default Amazon S3 location to back up Workspaces and notebook
7445
- # files for the Amazon EMR Studio. A Studio user can select an
7446
- # alternative Amazon S3 location when creating a Workspace.
7725
+ # The Amazon S3 location to back up Workspaces and notebook files for
7726
+ # the Amazon EMR Studio.
7447
7727
  # @return [String]
7448
7728
  #
7449
7729
  # @see http://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/UpdateStudioInput AWS API Documentation
@@ -7475,9 +7755,9 @@ module Aws::EMR
7475
7755
  #
7476
7756
  # @!attribute [rw] identity_id
7477
7757
  # The globally unique identifier (GUID) of the user or group. For more
7478
- # information, see [UserId][1] and [GroupId][2] in the *AWS SSO
7479
- # Identity Store API Reference*. Either `IdentityName` or `IdentityId`
7480
- # 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.
7481
7761
  #
7482
7762
  #
7483
7763
  #
@@ -7487,9 +7767,9 @@ module Aws::EMR
7487
7767
  #
7488
7768
  # @!attribute [rw] identity_name
7489
7769
  # The name of the user or group to update. For more information, see
7490
- # [UserName][1] and [DisplayName][2] in the *AWS SSO Identity Store
7491
- # API Reference*. Either `IdentityName` or `IdentityId` must be
7492
- # 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.
7493
7773
  #
7494
7774
  #
7495
7775
  #