aws-sdk-emr 1.45.0 → 1.49.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.
@@ -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
 
@@ -728,6 +746,7 @@ module Aws::EMR
728
746
  InstanceGroup.add_member(:ebs_optimized, Shapes::ShapeRef.new(shape: BooleanObject, location_name: "EbsOptimized"))
729
747
  InstanceGroup.add_member(:shrink_policy, Shapes::ShapeRef.new(shape: ShrinkPolicy, location_name: "ShrinkPolicy"))
730
748
  InstanceGroup.add_member(:auto_scaling_policy, Shapes::ShapeRef.new(shape: AutoScalingPolicyDescription, location_name: "AutoScalingPolicy"))
749
+ InstanceGroup.add_member(:custom_ami_id, Shapes::ShapeRef.new(shape: XmlStringMaxLen256, location_name: "CustomAmiId"))
731
750
  InstanceGroup.struct_class = Types::InstanceGroup
732
751
 
733
752
  InstanceGroupConfig.add_member(:name, Shapes::ShapeRef.new(shape: XmlStringMaxLen256, location_name: "Name"))
@@ -739,6 +758,7 @@ module Aws::EMR
739
758
  InstanceGroupConfig.add_member(:configurations, Shapes::ShapeRef.new(shape: ConfigurationList, location_name: "Configurations"))
740
759
  InstanceGroupConfig.add_member(:ebs_configuration, Shapes::ShapeRef.new(shape: EbsConfiguration, location_name: "EbsConfiguration"))
741
760
  InstanceGroupConfig.add_member(:auto_scaling_policy, Shapes::ShapeRef.new(shape: AutoScalingPolicy, location_name: "AutoScalingPolicy"))
761
+ InstanceGroupConfig.add_member(:custom_ami_id, Shapes::ShapeRef.new(shape: XmlStringMaxLen256, location_name: "CustomAmiId"))
742
762
  InstanceGroupConfig.struct_class = Types::InstanceGroupConfig
743
763
 
744
764
  InstanceGroupConfigList.member = Shapes::ShapeRef.new(shape: InstanceGroupConfig)
@@ -757,6 +777,7 @@ module Aws::EMR
757
777
  InstanceGroupDetail.add_member(:start_date_time, Shapes::ShapeRef.new(shape: Date, location_name: "StartDateTime"))
758
778
  InstanceGroupDetail.add_member(:ready_date_time, Shapes::ShapeRef.new(shape: Date, location_name: "ReadyDateTime"))
759
779
  InstanceGroupDetail.add_member(:end_date_time, Shapes::ShapeRef.new(shape: Date, location_name: "EndDateTime"))
780
+ InstanceGroupDetail.add_member(:custom_ami_id, Shapes::ShapeRef.new(shape: XmlStringMaxLen256, location_name: "CustomAmiId"))
760
781
  InstanceGroupDetail.struct_class = Types::InstanceGroupDetail
761
782
 
762
783
  InstanceGroupDetailList.member = Shapes::ShapeRef.new(shape: InstanceGroupDetail)
@@ -819,6 +840,7 @@ module Aws::EMR
819
840
  InstanceTypeConfig.add_member(:bid_price_as_percentage_of_on_demand_price, Shapes::ShapeRef.new(shape: NonNegativeDouble, location_name: "BidPriceAsPercentageOfOnDemandPrice"))
820
841
  InstanceTypeConfig.add_member(:ebs_configuration, Shapes::ShapeRef.new(shape: EbsConfiguration, location_name: "EbsConfiguration"))
821
842
  InstanceTypeConfig.add_member(:configurations, Shapes::ShapeRef.new(shape: ConfigurationList, location_name: "Configurations"))
843
+ InstanceTypeConfig.add_member(:custom_ami_id, Shapes::ShapeRef.new(shape: XmlStringMaxLen256, location_name: "CustomAmiId"))
822
844
  InstanceTypeConfig.struct_class = Types::InstanceTypeConfig
823
845
 
824
846
  InstanceTypeConfigList.member = Shapes::ShapeRef.new(shape: InstanceTypeConfig)
@@ -830,6 +852,7 @@ module Aws::EMR
830
852
  InstanceTypeSpecification.add_member(:configurations, Shapes::ShapeRef.new(shape: ConfigurationList, location_name: "Configurations"))
831
853
  InstanceTypeSpecification.add_member(:ebs_block_devices, Shapes::ShapeRef.new(shape: EbsBlockDeviceList, location_name: "EbsBlockDevices"))
832
854
  InstanceTypeSpecification.add_member(:ebs_optimized, Shapes::ShapeRef.new(shape: BooleanObject, location_name: "EbsOptimized"))
855
+ InstanceTypeSpecification.add_member(:custom_ami_id, Shapes::ShapeRef.new(shape: XmlStringMaxLen256, location_name: "CustomAmiId"))
833
856
  InstanceTypeSpecification.struct_class = Types::InstanceTypeSpecification
834
857
 
835
858
  InstanceTypeSpecificationList.member = Shapes::ShapeRef.new(shape: InstanceTypeSpecification)
@@ -977,6 +1000,15 @@ module Aws::EMR
977
1000
  ListNotebookExecutionsOutput.add_member(:marker, Shapes::ShapeRef.new(shape: Marker, location_name: "Marker"))
978
1001
  ListNotebookExecutionsOutput.struct_class = Types::ListNotebookExecutionsOutput
979
1002
 
1003
+ ListReleaseLabelsInput.add_member(:filters, Shapes::ShapeRef.new(shape: ReleaseLabelFilter, location_name: "Filters"))
1004
+ ListReleaseLabelsInput.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
1005
+ ListReleaseLabelsInput.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResultsNumber, location_name: "MaxResults"))
1006
+ ListReleaseLabelsInput.struct_class = Types::ListReleaseLabelsInput
1007
+
1008
+ ListReleaseLabelsOutput.add_member(:release_labels, Shapes::ShapeRef.new(shape: StringList, location_name: "ReleaseLabels"))
1009
+ ListReleaseLabelsOutput.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
1010
+ ListReleaseLabelsOutput.struct_class = Types::ListReleaseLabelsOutput
1011
+
980
1012
  ListSecurityConfigurationsInput.add_member(:marker, Shapes::ShapeRef.new(shape: Marker, location_name: "Marker"))
981
1013
  ListSecurityConfigurationsInput.struct_class = Types::ListSecurityConfigurationsInput
982
1014
 
@@ -1108,6 +1140,10 @@ module Aws::EMR
1108
1140
 
1109
1141
  PutManagedScalingPolicyOutput.struct_class = Types::PutManagedScalingPolicyOutput
1110
1142
 
1143
+ ReleaseLabelFilter.add_member(:prefix, Shapes::ShapeRef.new(shape: String, location_name: "Prefix"))
1144
+ ReleaseLabelFilter.add_member(:application, Shapes::ShapeRef.new(shape: String, location_name: "Application"))
1145
+ ReleaseLabelFilter.struct_class = Types::ReleaseLabelFilter
1146
+
1111
1147
  RemoveAutoScalingPolicyInput.add_member(:cluster_id, Shapes::ShapeRef.new(shape: ClusterId, required: true, location_name: "ClusterId"))
1112
1148
  RemoveAutoScalingPolicyInput.add_member(:instance_group_id, Shapes::ShapeRef.new(shape: InstanceGroupId, required: true, location_name: "InstanceGroupId"))
1113
1149
  RemoveAutoScalingPolicyInput.struct_class = Types::RemoveAutoScalingPolicyInput
@@ -1225,6 +1261,12 @@ module Aws::EMR
1225
1261
  SimpleScalingPolicyConfiguration.add_member(:cool_down, Shapes::ShapeRef.new(shape: Integer, location_name: "CoolDown"))
1226
1262
  SimpleScalingPolicyConfiguration.struct_class = Types::SimpleScalingPolicyConfiguration
1227
1263
 
1264
+ SimplifiedApplication.add_member(:name, Shapes::ShapeRef.new(shape: String, location_name: "Name"))
1265
+ SimplifiedApplication.add_member(:version, Shapes::ShapeRef.new(shape: String, location_name: "Version"))
1266
+ SimplifiedApplication.struct_class = Types::SimplifiedApplication
1267
+
1268
+ SimplifiedApplicationList.member = Shapes::ShapeRef.new(shape: SimplifiedApplication)
1269
+
1228
1270
  SpotProvisioningSpecification.add_member(:timeout_duration_minutes, Shapes::ShapeRef.new(shape: WholeNumber, required: true, location_name: "TimeoutDurationMinutes"))
1229
1271
  SpotProvisioningSpecification.add_member(:timeout_action, Shapes::ShapeRef.new(shape: SpotProvisioningTimeoutAction, required: true, location_name: "TimeoutAction"))
1230
1272
  SpotProvisioningSpecification.add_member(:block_duration_minutes, Shapes::ShapeRef.new(shape: WholeNumber, location_name: "BlockDurationMinutes"))
@@ -1386,7 +1428,7 @@ module Aws::EMR
1386
1428
  "jsonVersion" => "1.1",
1387
1429
  "protocol" => "json",
1388
1430
  "serviceAbbreviation" => "Amazon EMR",
1389
- "serviceFullName" => "Amazon Elastic MapReduce",
1431
+ "serviceFullName" => "Amazon EMR",
1390
1432
  "serviceId" => "EMR",
1391
1433
  "signatureVersion" => "v4",
1392
1434
  "targetPrefix" => "ElasticMapReduce",
@@ -1531,6 +1573,16 @@ module Aws::EMR
1531
1573
  o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
1532
1574
  end)
1533
1575
 
1576
+ api.add_operation(:describe_release_label, Seahorse::Model::Operation.new.tap do |o|
1577
+ o.name = "DescribeReleaseLabel"
1578
+ o.http_method = "POST"
1579
+ o.http_request_uri = "/"
1580
+ o.input = Shapes::ShapeRef.new(shape: DescribeReleaseLabelInput)
1581
+ o.output = Shapes::ShapeRef.new(shape: DescribeReleaseLabelOutput)
1582
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1583
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
1584
+ end)
1585
+
1534
1586
  api.add_operation(:describe_security_configuration, Seahorse::Model::Operation.new.tap do |o|
1535
1587
  o.name = "DescribeSecurityConfiguration"
1536
1588
  o.http_method = "POST"
@@ -1679,6 +1731,22 @@ module Aws::EMR
1679
1731
  )
1680
1732
  end)
1681
1733
 
1734
+ api.add_operation(:list_release_labels, Seahorse::Model::Operation.new.tap do |o|
1735
+ o.name = "ListReleaseLabels"
1736
+ o.http_method = "POST"
1737
+ o.http_request_uri = "/"
1738
+ o.input = Shapes::ShapeRef.new(shape: ListReleaseLabelsInput)
1739
+ o.output = Shapes::ShapeRef.new(shape: ListReleaseLabelsOutput)
1740
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1741
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
1742
+ o[:pager] = Aws::Pager.new(
1743
+ limit_key: "max_results",
1744
+ tokens: {
1745
+ "next_token" => "next_token"
1746
+ }
1747
+ )
1748
+ end)
1749
+
1682
1750
  api.add_operation(:list_security_configurations, Seahorse::Model::Operation.new.tap do |o|
1683
1751
  o.name = "ListSecurityConfigurations"
1684
1752
  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
 
@@ -50,6 +50,7 @@ module Aws::EMR
50
50
  # },
51
51
  # },
52
52
  # ],
53
+ # custom_ami_id: "XmlStringMaxLen256",
53
54
  # },
54
55
  # ],
55
56
  # launch_specifications: {
@@ -186,6 +187,7 @@ module Aws::EMR
186
187
  # },
187
188
  # ],
188
189
  # },
190
+ # custom_ami_id: "XmlStringMaxLen256",
189
191
  # },
190
192
  # ],
191
193
  # job_flow_id: "XmlStringMaxLen256", # required
@@ -581,8 +583,8 @@ module Aws::EMR
581
583
  include Aws::Structure
582
584
  end
583
585
 
584
- # Properties that describe the AWS principal that created the
585
- # `BlockPublicAccessConfiguration` using the
586
+ # Properties that describe the Amazon Web Services principal that
587
+ # created the `BlockPublicAccessConfiguration` using the
586
588
  # `PutBlockPublicAccessConfiguration` action as well as the date and
587
589
  # time that the configuration was created. Each time a configuration for
588
590
  # block public access is updated, Amazon EMR updates this metadata.
@@ -851,9 +853,8 @@ module Aws::EMR
851
853
  # @return [String]
852
854
  #
853
855
  # @!attribute [rw] log_encryption_kms_key_id
854
- # The AWS KMS customer master key (CMK) used for encrypting log files.
855
- # This attribute is only available with EMR version 5.30.0 and later,
856
- # excluding EMR 6.0.0.
856
+ # The KMS key used for encrypting log files. This attribute is only
857
+ # available with EMR version 5.30.0 and later, excluding EMR 6.0.0.
857
858
  # @return [String]
858
859
  #
859
860
  # @!attribute [rw] requested_ami_version
@@ -892,15 +893,26 @@ module Aws::EMR
892
893
  # @return [Boolean]
893
894
  #
894
895
  # @!attribute [rw] visible_to_all_users
895
- # Indicates whether the cluster is visible to all IAM users of the AWS
896
- # account associated with the cluster. The default value, `true`,
897
- # indicates that all IAM users in the AWS account can perform cluster
898
- # actions if they have the proper IAM policy permissions. If this
899
- # value is `false`, only the IAM user that created the cluster can
900
- # perform actions. This value can be changed on a running cluster by
901
- # using the SetVisibleToAllUsers action. You can override the default
902
- # value of `true` when you create a cluster by using the
903
- # `VisibleToAllUsers` parameter of the `RunJobFlow` action.
896
+ # Indicates whether the cluster is visible to IAM principals in the
897
+ # account associated with the cluster. When `true`, IAM principals in
898
+ # the account can perform EMR cluster actions on the cluster that
899
+ # their IAM policies allow. When `false`, only the IAM principal that
900
+ # created the cluster and the account root user can perform EMR
901
+ # actions, regardless of IAM permissions policies attached to other
902
+ # IAM principals.
903
+ #
904
+ # The default value is `true` if a value is not provided when creating
905
+ # a cluster using the EMR API RunJobFlow command, the CLI
906
+ # [create-cluster][1] command, or the Management Console. IAM
907
+ # principals that are allowed to perform actions on the cluster can
908
+ # use the SetVisibleToAllUsers action to change the value on a running
909
+ # cluster. For more information, see [Understanding the EMR Cluster
910
+ # VisibleToAllUsers Setting][2] in the *Amazon EMRManagement Guide*.
911
+ #
912
+ #
913
+ #
914
+ # [1]: https://docs.aws.amazon.com/cli/latest/reference/emr/create-cluster.html
915
+ # [2]: https://docs.aws.amazon.com/emr/latest/ManagementGuide/security_iam_emr-with-iam.html#security_set_visible_to_all_users
904
916
  # @return [Boolean]
905
917
  #
906
918
  # @!attribute [rw] applications
@@ -913,7 +925,7 @@ module Aws::EMR
913
925
  #
914
926
  # @!attribute [rw] service_role
915
927
  # The IAM role that will be assumed by the Amazon EMR service to
916
- # access AWS resources on your behalf.
928
+ # access Amazon Web Services resources on your behalf.
917
929
  # @return [String]
918
930
  #
919
931
  # @!attribute [rw] normalized_instance_hours
@@ -1408,7 +1420,7 @@ module Aws::EMR
1408
1420
  # @!attribute [rw] service_role
1409
1421
  # The IAM role that will be assumed by the Amazon EMR Studio. The
1410
1422
  # service role provides a way for Amazon EMR Studio to interoperate
1411
- # with other AWS services.
1423
+ # with other Amazon Web Services services.
1412
1424
  # @return [String]
1413
1425
  #
1414
1426
  # @!attribute [rw] user_role
@@ -1495,9 +1507,10 @@ module Aws::EMR
1495
1507
  #
1496
1508
  # @!attribute [rw] identity_id
1497
1509
  # 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.
1510
+ # Amazon Web Services SSO Identity Store. For more information, see
1511
+ # [UserId][1] and [GroupId][2] in the *Amazon Web Services SSO
1512
+ # Identity Store API Reference*. Either `IdentityName` or `IdentityId`
1513
+ # must be specified, but not both.
1501
1514
  #
1502
1515
  #
1503
1516
  #
@@ -1507,9 +1520,9 @@ module Aws::EMR
1507
1520
  #
1508
1521
  # @!attribute [rw] identity_name
1509
1522
  # 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.
1523
+ # [UserName][1] and [DisplayName][2] in the *Amazon Web Services SSO
1524
+ # Identity Store API Reference*. Either `IdentityName` or `IdentityId`
1525
+ # must be specified, but not both.
1513
1526
  #
1514
1527
  #
1515
1528
  #
@@ -1524,8 +1537,14 @@ module Aws::EMR
1524
1537
  #
1525
1538
  # @!attribute [rw] session_policy_arn
1526
1539
  # 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.
1540
+ # applied to the user or group. You should specify the ARN for the
1541
+ # session policy that you want to apply, not the ARN of your user
1542
+ # role. For more information, see [Create an EMR Studio User Role with
1543
+ # Session Policies][1].
1544
+ #
1545
+ #
1546
+ #
1547
+ # [1]: https://docs.aws.amazon.com/emr/latest/ManagementGuide/emr-studio-user-role.html
1529
1548
  # @return [String]
1530
1549
  #
1531
1550
  # @see http://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/CreateStudioSessionMappingInput AWS API Documentation
@@ -1599,8 +1618,8 @@ module Aws::EMR
1599
1618
  # @!attribute [rw] identity_id
1600
1619
  # The globally unique identifier (GUID) of the user or group to remove
1601
1620
  # 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.
1621
+ # and [GroupId][2] in the *Amazon Web Services SSO Identity Store API
1622
+ # Reference*. Either `IdentityName` or `IdentityId` must be specified.
1604
1623
  #
1605
1624
  #
1606
1625
  #
@@ -1611,8 +1630,8 @@ module Aws::EMR
1611
1630
  # @!attribute [rw] identity_name
1612
1631
  # The name of the user name or group to remove from the Amazon EMR
1613
1632
  # 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.
1633
+ # in the *Amazon Web Services SSO Store API Reference*. Either
1634
+ # `IdentityName` or `IdentityId` must be specified.
1616
1635
  #
1617
1636
  #
1618
1637
  #
@@ -1755,6 +1774,63 @@ module Aws::EMR
1755
1774
  include Aws::Structure
1756
1775
  end
1757
1776
 
1777
+ # @note When making an API call, you may pass DescribeReleaseLabelInput
1778
+ # data as a hash:
1779
+ #
1780
+ # {
1781
+ # release_label: "String",
1782
+ # next_token: "String",
1783
+ # max_results: 1,
1784
+ # }
1785
+ #
1786
+ # @!attribute [rw] release_label
1787
+ # The target release label to be described.
1788
+ # @return [String]
1789
+ #
1790
+ # @!attribute [rw] next_token
1791
+ # The pagination token. Reserved for future use. Currently set to
1792
+ # null.
1793
+ # @return [String]
1794
+ #
1795
+ # @!attribute [rw] max_results
1796
+ # Reserved for future use. Currently set to null.
1797
+ # @return [Integer]
1798
+ #
1799
+ # @see http://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/DescribeReleaseLabelInput AWS API Documentation
1800
+ #
1801
+ class DescribeReleaseLabelInput < Struct.new(
1802
+ :release_label,
1803
+ :next_token,
1804
+ :max_results)
1805
+ SENSITIVE = []
1806
+ include Aws::Structure
1807
+ end
1808
+
1809
+ # @!attribute [rw] release_label
1810
+ # The target release label described in the response.
1811
+ # @return [String]
1812
+ #
1813
+ # @!attribute [rw] applications
1814
+ # The list of applications available for the target release label.
1815
+ # `Name` is the name of the application. `Version` is the concise
1816
+ # version of the application.
1817
+ # @return [Array<Types::SimplifiedApplication>]
1818
+ #
1819
+ # @!attribute [rw] next_token
1820
+ # The pagination token. Reserved for future use. Currently set to
1821
+ # null.
1822
+ # @return [String]
1823
+ #
1824
+ # @see http://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/DescribeReleaseLabelOutput AWS API Documentation
1825
+ #
1826
+ class DescribeReleaseLabelOutput < Struct.new(
1827
+ :release_label,
1828
+ :applications,
1829
+ :next_token)
1830
+ SENSITIVE = []
1831
+ include Aws::Structure
1832
+ end
1833
+
1758
1834
  # @note When making an API call, you may pass DescribeSecurityConfigurationInput
1759
1835
  # data as a hash:
1760
1836
  #
@@ -2179,8 +2255,8 @@ module Aws::EMR
2179
2255
  # @return [Types::BlockPublicAccessConfiguration]
2180
2256
  #
2181
2257
  # @!attribute [rw] block_public_access_configuration_metadata
2182
- # Properties that describe the AWS principal that created the
2183
- # `BlockPublicAccessConfiguration` using the
2258
+ # Properties that describe the Amazon Web Services principal that
2259
+ # created the `BlockPublicAccessConfiguration` using the
2184
2260
  # `PutBlockPublicAccessConfiguration` action as well as the date and
2185
2261
  # time that the configuration was created. Each time a configuration
2186
2262
  # for block public access is updated, Amazon EMR updates this
@@ -2245,9 +2321,9 @@ module Aws::EMR
2245
2321
  #
2246
2322
  # @!attribute [rw] identity_id
2247
2323
  # 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.
2324
+ # information, see [UserId][1] and [GroupId][2] in the *Amazon Web
2325
+ # Services SSO Identity Store API Reference*. Either `IdentityName` or
2326
+ # `IdentityId` must be specified.
2251
2327
  #
2252
2328
  #
2253
2329
  #
@@ -2257,9 +2333,9 @@ module Aws::EMR
2257
2333
  #
2258
2334
  # @!attribute [rw] identity_name
2259
2335
  # 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.
2336
+ # [UserName][1] and [DisplayName][2] in the *Amazon Web Services SSO
2337
+ # Identity Store API Reference*. Either `IdentityName` or `IdentityId`
2338
+ # must be specified.
2263
2339
  #
2264
2340
  #
2265
2341
  #
@@ -2429,7 +2505,7 @@ module Aws::EMR
2429
2505
  # @return [String]
2430
2506
  #
2431
2507
  # @!attribute [rw] ebs_volumes
2432
- # The list of EBS volumes that are attached to this instance.
2508
+ # The list of Amazon EBS volumes that are attached to this instance.
2433
2509
  # @return [Array<Types::EbsVolume>]
2434
2510
  #
2435
2511
  # @see http://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/Instance AWS API Documentation
@@ -2545,9 +2621,8 @@ module Aws::EMR
2545
2621
  # @return [Integer]
2546
2622
  #
2547
2623
  # @!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.
2624
+ # An array of specifications for the instance types that comprise an
2625
+ # instance fleet.
2551
2626
  # @return [Array<Types::InstanceTypeSpecification>]
2552
2627
  #
2553
2628
  # @!attribute [rw] launch_specifications
@@ -2616,6 +2691,7 @@ module Aws::EMR
2616
2691
  # },
2617
2692
  # },
2618
2693
  # ],
2694
+ # custom_ami_id: "XmlStringMaxLen256",
2619
2695
  # },
2620
2696
  # ],
2621
2697
  # launch_specifications: {
@@ -2970,9 +3046,9 @@ module Aws::EMR
2970
3046
  #
2971
3047
  # </note>
2972
3048
  #
2973
- # The list of configurations supplied for an EMR cluster instance
2974
- # group. You can specify a separate configuration for each instance
2975
- # group (master, core, and task).
3049
+ # The list of configurations supplied for an Amazon EMR cluster
3050
+ # instance group. You can specify a separate configuration for each
3051
+ # instance group (master, core, and task).
2976
3052
  # @return [Array<Types::Configuration>]
2977
3053
  #
2978
3054
  # @!attribute [rw] configurations_version
@@ -3012,6 +3088,10 @@ module Aws::EMR
3012
3088
  # PutAutoScalingPolicy.
3013
3089
  # @return [Types::AutoScalingPolicyDescription]
3014
3090
  #
3091
+ # @!attribute [rw] custom_ami_id
3092
+ # The custom AMI ID to use for the provisioned instance group.
3093
+ # @return [String]
3094
+ #
3015
3095
  # @see http://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/InstanceGroup AWS API Documentation
3016
3096
  #
3017
3097
  class InstanceGroup < Struct.new(
@@ -3031,7 +3111,8 @@ module Aws::EMR
3031
3111
  :ebs_block_devices,
3032
3112
  :ebs_optimized,
3033
3113
  :shrink_policy,
3034
- :auto_scaling_policy)
3114
+ :auto_scaling_policy,
3115
+ :custom_ami_id)
3035
3116
  SENSITIVE = []
3036
3117
  include Aws::Structure
3037
3118
  end
@@ -3110,6 +3191,7 @@ module Aws::EMR
3110
3191
  # },
3111
3192
  # ],
3112
3193
  # },
3194
+ # custom_ami_id: "XmlStringMaxLen256",
3113
3195
  # }
3114
3196
  #
3115
3197
  # @!attribute [rw] name
@@ -3162,6 +3244,10 @@ module Aws::EMR
3162
3244
  # PutAutoScalingPolicy.
3163
3245
  # @return [Types::AutoScalingPolicy]
3164
3246
  #
3247
+ # @!attribute [rw] custom_ami_id
3248
+ # The custom AMI ID to use for the provisioned instance group.
3249
+ # @return [String]
3250
+ #
3165
3251
  # @see http://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/InstanceGroupConfig AWS API Documentation
3166
3252
  #
3167
3253
  class InstanceGroupConfig < Struct.new(
@@ -3173,7 +3259,8 @@ module Aws::EMR
3173
3259
  :instance_count,
3174
3260
  :configurations,
3175
3261
  :ebs_configuration,
3176
- :auto_scaling_policy)
3262
+ :auto_scaling_policy,
3263
+ :custom_ami_id)
3177
3264
  SENSITIVE = []
3178
3265
  include Aws::Structure
3179
3266
  end
@@ -3240,6 +3327,10 @@ module Aws::EMR
3240
3327
  # The date/time the instance group was terminated.
3241
3328
  # @return [Time]
3242
3329
  #
3330
+ # @!attribute [rw] custom_ami_id
3331
+ # The custom AMI ID to use for the provisioned instance group.
3332
+ # @return [String]
3333
+ #
3243
3334
  # @see http://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/InstanceGroupDetail AWS API Documentation
3244
3335
  #
3245
3336
  class InstanceGroupDetail < Struct.new(
@@ -3256,7 +3347,8 @@ module Aws::EMR
3256
3347
  :creation_date_time,
3257
3348
  :start_date_time,
3258
3349
  :ready_date_time,
3259
- :end_date_time)
3350
+ :end_date_time,
3351
+ :custom_ami_id)
3260
3352
  SENSITIVE = []
3261
3353
  include Aws::Structure
3262
3354
  end
@@ -3499,14 +3591,22 @@ module Aws::EMR
3499
3591
 
3500
3592
  # An instance type configuration for each instance type in an instance
3501
3593
  # fleet, which determines the EC2 instances Amazon EMR attempts to
3502
- # provision to fulfill On-Demand and Spot target capacities. There can
3503
- # be a maximum of five instance type configurations in a fleet.
3594
+ # provision to fulfill On-Demand and Spot target capacities. When you
3595
+ # use an allocation strategy, you can include a maximum of 30 instance
3596
+ # type configurations for a fleet. For more information about how to use
3597
+ # an allocation strategy, see [Configure Instance Fleets][1]. Without an
3598
+ # allocation strategy, you may specify a maximum of five instance type
3599
+ # configurations for a fleet.
3504
3600
  #
3505
3601
  # <note markdown="1"> The instance fleet configuration is available only in Amazon EMR
3506
3602
  # versions 4.8.0 and later, excluding 5.0.x versions.
3507
3603
  #
3508
3604
  # </note>
3509
3605
  #
3606
+ #
3607
+ #
3608
+ # [1]: https://docs.aws.amazon.com/emr/latest/ManagementGuide/emr-instance-fleet.html
3609
+ #
3510
3610
  # @note When making an API call, you may pass InstanceTypeConfig
3511
3611
  # data as a hash:
3512
3612
  #
@@ -3539,6 +3639,7 @@ module Aws::EMR
3539
3639
  # },
3540
3640
  # },
3541
3641
  # ],
3642
+ # custom_ami_id: "XmlStringMaxLen256",
3542
3643
  # }
3543
3644
  #
3544
3645
  # @!attribute [rw] instance_type
@@ -3569,7 +3670,7 @@ module Aws::EMR
3569
3670
  # @return [Float]
3570
3671
  #
3571
3672
  # @!attribute [rw] ebs_configuration
3572
- # The configuration of Amazon Elastic Block Storage (Amazon EBS)
3673
+ # The configuration of Amazon Elastic Block Store (Amazon EBS)
3573
3674
  # attached to each instance as defined by `InstanceType`.
3574
3675
  # @return [Types::EbsConfiguration]
3575
3676
  #
@@ -3579,6 +3680,10 @@ module Aws::EMR
3579
3680
  # and software that run on the cluster.
3580
3681
  # @return [Array<Types::Configuration>]
3581
3682
  #
3683
+ # @!attribute [rw] custom_ami_id
3684
+ # The custom AMI ID to use for the instance type.
3685
+ # @return [String]
3686
+ #
3582
3687
  # @see http://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/InstanceTypeConfig AWS API Documentation
3583
3688
  #
3584
3689
  class InstanceTypeConfig < Struct.new(
@@ -3587,7 +3692,8 @@ module Aws::EMR
3587
3692
  :bid_price,
3588
3693
  :bid_price_as_percentage_of_on_demand_price,
3589
3694
  :ebs_configuration,
3590
- :configurations)
3695
+ :configurations,
3696
+ :custom_ami_id)
3591
3697
  SENSITIVE = []
3592
3698
  include Aws::Structure
3593
3699
  end
@@ -3630,7 +3736,7 @@ module Aws::EMR
3630
3736
  # @return [Array<Types::Configuration>]
3631
3737
  #
3632
3738
  # @!attribute [rw] ebs_block_devices
3633
- # The configuration of Amazon Elastic Block Storage (Amazon EBS)
3739
+ # The configuration of Amazon Elastic Block Store (Amazon EBS)
3634
3740
  # attached to each instance as defined by `InstanceType`.
3635
3741
  # @return [Array<Types::EbsBlockDevice>]
3636
3742
  #
@@ -3639,6 +3745,10 @@ module Aws::EMR
3639
3745
  # EBS-optimized.
3640
3746
  # @return [Boolean]
3641
3747
  #
3748
+ # @!attribute [rw] custom_ami_id
3749
+ # The custom AMI ID to use for the instance type.
3750
+ # @return [String]
3751
+ #
3642
3752
  # @see http://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/InstanceTypeSpecification AWS API Documentation
3643
3753
  #
3644
3754
  class InstanceTypeSpecification < Struct.new(
@@ -3648,7 +3758,8 @@ module Aws::EMR
3648
3758
  :bid_price_as_percentage_of_on_demand_price,
3649
3759
  :configurations,
3650
3760
  :ebs_block_devices,
3651
- :ebs_optimized)
3761
+ :ebs_optimized,
3762
+ :custom_ami_id)
3652
3763
  SENSITIVE = []
3653
3764
  include Aws::Structure
3654
3765
  end
@@ -3709,9 +3820,8 @@ module Aws::EMR
3709
3820
  # @return [String]
3710
3821
  #
3711
3822
  # @!attribute [rw] log_encryption_kms_key_id
3712
- # The AWS KMS customer master key (CMK) used for encrypting log files.
3713
- # This attribute is only available with EMR version 5.30.0 and later,
3714
- # excluding EMR 6.0.0.
3823
+ # The KMS key used for encrypting log files. This attribute is only
3824
+ # available with EMR version 5.30.0 and later, excluding EMR 6.0.0.
3715
3825
  # @return [String]
3716
3826
  #
3717
3827
  # @!attribute [rw] ami_version
@@ -3743,15 +3853,25 @@ module Aws::EMR
3743
3853
  # @return [Array<String>]
3744
3854
  #
3745
3855
  # @!attribute [rw] visible_to_all_users
3746
- # Indicates whether the cluster is visible to all IAM users of the AWS
3747
- # account associated with the cluster. The default value, `true`,
3748
- # indicates that all IAM users in the AWS account can perform cluster
3749
- # actions if they have the proper IAM policy permissions. If this
3750
- # value is `false`, only the IAM user that created the cluster can
3751
- # perform actions. This value can be changed on a running cluster by
3752
- # using the SetVisibleToAllUsers action. You can override the default
3753
- # value of `true` when you create a cluster by using the
3754
- # `VisibleToAllUsers` parameter of the `RunJobFlow` action.
3856
+ # Indicates whether the cluster is visible to IAM principals in the
3857
+ # account associated with the cluster. When `true`, IAM principals in
3858
+ # the account can perform EMR cluster actions that their IAM policies
3859
+ # allow. When `false`, only the IAM principal that created the cluster
3860
+ # and the account root user can perform EMR actions, regardless of IAM
3861
+ # permissions policies attached to other IAM principals.
3862
+ #
3863
+ # The default value is `true` if a value is not provided when creating
3864
+ # a cluster using the EMR API RunJobFlow command, the CLI
3865
+ # [create-cluster][1] command, or the Management Console. IAM
3866
+ # principals that are authorized to perform actions on the cluster can
3867
+ # use the SetVisibleToAllUsers action to change the value on a running
3868
+ # cluster. For more information, see [Understanding the EMR Cluster
3869
+ # VisibleToAllUsers Setting][2] in the *Amazon EMRManagement Guide*.
3870
+ #
3871
+ #
3872
+ #
3873
+ # [1]: https://docs.aws.amazon.com/cli/latest/reference/emr/create-cluster.html
3874
+ # [2]: https://docs.aws.amazon.com/emr/latest/ManagementGuide/security_iam_emr-with-iam.html#security_set_visible_to_all_users
3755
3875
  # @return [Boolean]
3756
3876
  #
3757
3877
  # @!attribute [rw] job_flow_role
@@ -3760,8 +3880,8 @@ module Aws::EMR
3760
3880
  # @return [String]
3761
3881
  #
3762
3882
  # @!attribute [rw] service_role
3763
- # The IAM role that is assumed by the Amazon EMR service to access AWS
3764
- # resources on your behalf.
3883
+ # The IAM role that is assumed by the Amazon EMR service to access
3884
+ # Amazon Web Services resources on your behalf.
3765
3885
  # @return [String]
3766
3886
  #
3767
3887
  # @!attribute [rw] auto_scaling_role
@@ -3934,6 +4054,7 @@ module Aws::EMR
3934
4054
  # },
3935
4055
  # ],
3936
4056
  # },
4057
+ # custom_ami_id: "XmlStringMaxLen256",
3937
4058
  # },
3938
4059
  # ],
3939
4060
  # instance_fleets: [
@@ -3972,6 +4093,7 @@ module Aws::EMR
3972
4093
  # },
3973
4094
  # },
3974
4095
  # ],
4096
+ # custom_ami_id: "XmlStringMaxLen256",
3975
4097
  # },
3976
4098
  # ],
3977
4099
  # launch_specifications: {
@@ -4046,7 +4168,13 @@ module Aws::EMR
4046
4168
  #
4047
4169
  # @!attribute [rw] keep_job_flow_alive_when_no_steps
4048
4170
  # Specifies whether the cluster should remain available after
4049
- # completing all steps.
4171
+ # completing all steps. Defaults to `true`. For more information about
4172
+ # configuring cluster termination, see [Control Cluster
4173
+ # Termination][1] in the *EMR Management Guide*.
4174
+ #
4175
+ #
4176
+ #
4177
+ # [1]: https://docs.aws.amazon.com/emr/latest/ManagementGuide/emr-plan-termination.html
4050
4178
  # @return [Boolean]
4051
4179
  #
4052
4180
  # @!attribute [rw] termination_protected
@@ -4087,11 +4215,14 @@ module Aws::EMR
4087
4215
  #
4088
4216
  # @!attribute [rw] emr_managed_master_security_group
4089
4217
  # The identifier of the Amazon EC2 security group for the master node.
4218
+ # If you specify `EmrManagedMasterSecurityGroup`, you must also
4219
+ # specify `EmrManagedSlaveSecurityGroup`.
4090
4220
  # @return [String]
4091
4221
  #
4092
4222
  # @!attribute [rw] emr_managed_slave_security_group
4093
4223
  # The identifier of the Amazon EC2 security group for the core and
4094
- # task nodes.
4224
+ # task nodes. If you specify `EmrManagedSlaveSecurityGroup`, you must
4225
+ # also specify `EmrManagedMasterSecurityGroup`.
4095
4226
  # @return [String]
4096
4227
  #
4097
4228
  # @!attribute [rw] service_access_security_group
@@ -4380,7 +4511,9 @@ module Aws::EMR
4380
4511
  # @return [Time]
4381
4512
  #
4382
4513
  # @!attribute [rw] cluster_states
4383
- # The cluster state filters to apply when listing clusters.
4514
+ # The cluster state filters to apply when listing clusters. Clusters
4515
+ # that change state while this action runs may be not be returned as
4516
+ # expected in the list of clusters.
4384
4517
  # @return [Array<String>]
4385
4518
  #
4386
4519
  # @!attribute [rw] marker
@@ -4688,6 +4821,67 @@ module Aws::EMR
4688
4821
  include Aws::Structure
4689
4822
  end
4690
4823
 
4824
+ # @note When making an API call, you may pass ListReleaseLabelsInput
4825
+ # data as a hash:
4826
+ #
4827
+ # {
4828
+ # filters: {
4829
+ # prefix: "String",
4830
+ # application: "String",
4831
+ # },
4832
+ # next_token: "String",
4833
+ # max_results: 1,
4834
+ # }
4835
+ #
4836
+ # @!attribute [rw] filters
4837
+ # Filters the results of the request. `Prefix` specifies the prefix of
4838
+ # release labels to return. `Application` specifies the application
4839
+ # (with/without version) of release labels to return.
4840
+ # @return [Types::ReleaseLabelFilter]
4841
+ #
4842
+ # @!attribute [rw] next_token
4843
+ # Specifies the next page of results. If `NextToken` is not specified,
4844
+ # which is usually the case for the first request of
4845
+ # ListReleaseLabels, the first page of results are determined by other
4846
+ # filtering parameters or by the latest version. The
4847
+ # `ListReleaseLabels` request fails if the identity (account ID) and
4848
+ # all filtering parameters are different from the original request, or
4849
+ # if the `NextToken` is expired or tampered with.
4850
+ # @return [String]
4851
+ #
4852
+ # @!attribute [rw] max_results
4853
+ # Defines the maximum number of release labels to return in a single
4854
+ # response. The default is `100`.
4855
+ # @return [Integer]
4856
+ #
4857
+ # @see http://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/ListReleaseLabelsInput AWS API Documentation
4858
+ #
4859
+ class ListReleaseLabelsInput < Struct.new(
4860
+ :filters,
4861
+ :next_token,
4862
+ :max_results)
4863
+ SENSITIVE = []
4864
+ include Aws::Structure
4865
+ end
4866
+
4867
+ # @!attribute [rw] release_labels
4868
+ # The returned release labels.
4869
+ # @return [Array<String>]
4870
+ #
4871
+ # @!attribute [rw] next_token
4872
+ # Used to paginate the next page of results if specified in the next
4873
+ # `ListReleaseLabels` request.
4874
+ # @return [String]
4875
+ #
4876
+ # @see http://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/ListReleaseLabelsOutput AWS API Documentation
4877
+ #
4878
+ class ListReleaseLabelsOutput < Struct.new(
4879
+ :release_labels,
4880
+ :next_token)
4881
+ SENSITIVE = []
4882
+ include Aws::Structure
4883
+ end
4884
+
4691
4885
  # @note When making an API call, you may pass ListSecurityConfigurationsInput
4692
4886
  # data as a hash:
4693
4887
  #
@@ -4754,8 +4948,10 @@ module Aws::EMR
4754
4948
  # @return [Array<String>]
4755
4949
  #
4756
4950
  # @!attribute [rw] marker
4757
- # The pagination token that indicates the next set of results to
4758
- # retrieve.
4951
+ # The maximum number of steps that a single `ListSteps` action returns
4952
+ # is 50. To return a longer list of steps, use multiple `ListSteps`
4953
+ # actions along with the `Marker` parameter, which is a pagination
4954
+ # token that indicates the next set of results to retrieve.
4759
4955
  # @return [String]
4760
4956
  #
4761
4957
  # @see http://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/ListStepsInput AWS API Documentation
@@ -4777,8 +4973,10 @@ module Aws::EMR
4777
4973
  # @return [Array<Types::StepSummary>]
4778
4974
  #
4779
4975
  # @!attribute [rw] marker
4780
- # The pagination token that indicates the next set of results to
4781
- # retrieve.
4976
+ # The maximum number of steps that a single `ListSteps` action returns
4977
+ # is 50. To return a longer list of steps, use multiple `ListSteps`
4978
+ # actions along with the `Marker` parameter, which is a pagination
4979
+ # token that indicates the next set of results to retrieve.
4782
4980
  # @return [String]
4783
4981
  #
4784
4982
  # @see http://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/ListStepsOutput AWS API Documentation
@@ -4958,7 +5156,10 @@ module Aws::EMR
4958
5156
  #
4959
5157
  # @!attribute [rw] step_concurrency_level
4960
5158
  # The number of steps that can be executed concurrently. You can
4961
- # specify a minimum of 1 step and a maximum of 256 steps.
5159
+ # specify a minimum of 1 step and a maximum of 256 steps. We recommend
5160
+ # that you do not change this parameter while steps are running or the
5161
+ # `ActionOnFailure` setting may not behave as expected. For more
5162
+ # information see Step$ActionOnFailure.
4962
5163
  # @return [Integer]
4963
5164
  #
4964
5165
  # @see http://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/ModifyClusterInput AWS API Documentation
@@ -4999,7 +5200,7 @@ module Aws::EMR
4999
5200
  # @return [String]
5000
5201
  #
5001
5202
  # @!attribute [rw] instance_fleet
5002
- # The unique identifier of the instance fleet.
5203
+ # The configuration parameters of the instance fleet.
5003
5204
  # @return [Types::InstanceFleetModifyConfig]
5004
5205
  #
5005
5206
  # @see http://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/ModifyInstanceFleetInput AWS API Documentation
@@ -5180,6 +5381,9 @@ module Aws::EMR
5180
5381
  include Aws::Structure
5181
5382
  end
5182
5383
 
5384
+ # Details for a notebook execution. The details include information such
5385
+ # as the unique ID and status of the notebook execution.
5386
+ #
5183
5387
  # @!attribute [rw] notebook_execution_id
5184
5388
  # The unique identifier of the notebook execution.
5185
5389
  # @return [String]
@@ -5273,7 +5477,7 @@ module Aws::EMR
5273
5477
  # remaining On-Demand target capacity is launched according to the
5274
5478
  # On-Demand allocation strategy (`lowest-price`).
5275
5479
  #
5276
- # If you do not specify a value, the fleet fulfils the On-Demand
5480
+ # If you do not specify a value, the fleet fulfills the On-Demand
5277
5481
  # capacity according to the chosen On-Demand allocation strategy.
5278
5482
  # @return [String]
5279
5483
  #
@@ -5639,6 +5843,34 @@ module Aws::EMR
5639
5843
  #
5640
5844
  class PutManagedScalingPolicyOutput < Aws::EmptyStructure; end
5641
5845
 
5846
+ # The release label filters by application or version prefix.
5847
+ #
5848
+ # @note When making an API call, you may pass ReleaseLabelFilter
5849
+ # data as a hash:
5850
+ #
5851
+ # {
5852
+ # prefix: "String",
5853
+ # application: "String",
5854
+ # }
5855
+ #
5856
+ # @!attribute [rw] prefix
5857
+ # Optional release label version prefix filter. For example, `emr-5`.
5858
+ # @return [String]
5859
+ #
5860
+ # @!attribute [rw] application
5861
+ # Optional release label application filter. For example,
5862
+ # `spark@2.1.0`.
5863
+ # @return [String]
5864
+ #
5865
+ # @see http://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/ReleaseLabelFilter AWS API Documentation
5866
+ #
5867
+ class ReleaseLabelFilter < Struct.new(
5868
+ :prefix,
5869
+ :application)
5870
+ SENSITIVE = []
5871
+ include Aws::Structure
5872
+ end
5873
+
5642
5874
  # @note When making an API call, you may pass RemoveAutoScalingPolicyInput
5643
5875
  # data as a hash:
5644
5876
  #
@@ -5814,6 +6046,7 @@ module Aws::EMR
5814
6046
  # },
5815
6047
  # ],
5816
6048
  # },
6049
+ # custom_ami_id: "XmlStringMaxLen256",
5817
6050
  # },
5818
6051
  # ],
5819
6052
  # instance_fleets: [
@@ -5852,6 +6085,7 @@ module Aws::EMR
5852
6085
  # },
5853
6086
  # },
5854
6087
  # ],
6088
+ # custom_ami_id: "XmlStringMaxLen256",
5855
6089
  # },
5856
6090
  # ],
5857
6091
  # launch_specifications: {
@@ -5992,10 +6226,10 @@ module Aws::EMR
5992
6226
  # @return [String]
5993
6227
  #
5994
6228
  # @!attribute [rw] log_encryption_kms_key_id
5995
- # The AWS KMS customer master key (CMK) used for encrypting log files.
5996
- # If a value is not provided, the logs remain encrypted by AES-256.
5997
- # This attribute is only available with Amazon EMR version 5.30.0 and
5998
- # later, excluding Amazon EMR 6.0.0.
6229
+ # The KMS key used for encrypting log files. If a value is not
6230
+ # provided, the logs remain encrypted by AES-256. This attribute is
6231
+ # only available with Amazon EMR version 5.30.0 and later, excluding
6232
+ # Amazon EMR 6.0.0.
5999
6233
  # @return [String]
6000
6234
  #
6001
6235
  # @!attribute [rw] additional_info
@@ -6111,10 +6345,22 @@ module Aws::EMR
6111
6345
  # @return [Array<Types::Configuration>]
6112
6346
  #
6113
6347
  # @!attribute [rw] visible_to_all_users
6114
- # A value of `true` indicates that all IAM users in the AWS account
6115
- # can perform cluster actions if they have the proper IAM policy
6116
- # permissions. This is the default. A value of `false` indicates that
6117
- # only the IAM user who created the cluster can perform actions.
6348
+ # Set this value to `true` so that IAM principals in the account
6349
+ # associated with the cluster can perform EMR actions on the cluster
6350
+ # that their IAM policies allow. This value defaults to `true` for
6351
+ # clusters created using the EMR API or the CLI [create-cluster][1]
6352
+ # command.
6353
+ #
6354
+ # When set to `false`, only the IAM principal that created the cluster
6355
+ # and the account root user can perform EMR actions for the cluster,
6356
+ # regardless of the IAM permissions policies attached to other IAM
6357
+ # principals. For more information, see [Understanding the EMR Cluster
6358
+ # VisibleToAllUsers Setting][2] in the *Amazon EMRManagement Guide*.
6359
+ #
6360
+ #
6361
+ #
6362
+ # [1]: https://docs.aws.amazon.com/cli/latest/reference/emr/create-cluster.html
6363
+ # [2]: https://docs.aws.amazon.com/emr/latest/ManagementGuide/security_iam_emr-with-iam.html#security_set_visible_to_all_users
6118
6364
  # @return [Boolean]
6119
6365
  #
6120
6366
  # @!attribute [rw] job_flow_role
@@ -6126,7 +6372,7 @@ module Aws::EMR
6126
6372
  #
6127
6373
  # @!attribute [rw] service_role
6128
6374
  # The IAM role that will be assumed by the Amazon EMR service to
6129
- # access AWS resources on your behalf.
6375
+ # access Amazon Web Services resources on your behalf.
6130
6376
  # @return [String]
6131
6377
  #
6132
6378
  # @!attribute [rw] tags
@@ -6463,8 +6709,8 @@ module Aws::EMR
6463
6709
  # }
6464
6710
  #
6465
6711
  # @!attribute [rw] path
6466
- # Location of the script to run during a bootstrap action. Can be
6467
- # either a location in Amazon S3 or on a local file system.
6712
+ # Location in Amazon S3 of the script to run during a bootstrap
6713
+ # action.
6468
6714
  # @return [String]
6469
6715
  #
6470
6716
  # @!attribute [rw] args
@@ -6513,8 +6759,8 @@ module Aws::EMR
6513
6759
  #
6514
6760
  # @!attribute [rw] identity_name
6515
6761
  # The name of the user or group. For more information, see
6516
- # [UserName][1] and [DisplayName][2] in the *AWS SSO Identity Store
6517
- # API Reference*.
6762
+ # [UserName][1] and [DisplayName][2] in the *Amazon Web Services SSO
6763
+ # Identity Store API Reference*.
6518
6764
  #
6519
6765
  #
6520
6766
  #
@@ -6563,13 +6809,13 @@ module Aws::EMR
6563
6809
  #
6564
6810
  # @!attribute [rw] identity_id
6565
6811
  # The globally unique identifier (GUID) of the user or group from the
6566
- # AWS SSO Identity Store.
6812
+ # Amazon Web Services SSO Identity Store.
6567
6813
  # @return [String]
6568
6814
  #
6569
6815
  # @!attribute [rw] identity_name
6570
6816
  # The name of the user or group. For more information, see
6571
- # [UserName][1] and [DisplayName][2] in the *AWS SSO Identity Store
6572
- # API Reference*.
6817
+ # [UserName][1] and [DisplayName][2] in the *Amazon Web Services SSO
6818
+ # Identity Store API Reference*.
6573
6819
  #
6574
6820
  #
6575
6821
  #
@@ -6650,10 +6896,11 @@ module Aws::EMR
6650
6896
  # @return [Array<String>]
6651
6897
  #
6652
6898
  # @!attribute [rw] visible_to_all_users
6653
- # A value of `true` indicates that all IAM users in the AWS account
6654
- # can perform cluster actions if they have the proper IAM policy
6655
- # permissions. This is the default. A value of `false` indicates that
6656
- # only the IAM user who created the cluster can perform actions.
6899
+ # A value of `true` indicates that an IAM principal in the account can
6900
+ # perform EMR actions on the cluster that the IAM policies attached to
6901
+ # the principal allow. A value of `false` indicates that only the IAM
6902
+ # principal that created the cluster and the Amazon Web Services root
6903
+ # user can perform EMR actions on the cluster.
6657
6904
  # @return [Boolean]
6658
6905
  #
6659
6906
  # @see http://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/SetVisibleToAllUsersInput AWS API Documentation
@@ -6756,6 +7003,26 @@ module Aws::EMR
6756
7003
  include Aws::Structure
6757
7004
  end
6758
7005
 
7006
+ # The returned release label application names or versions.
7007
+ #
7008
+ # @!attribute [rw] name
7009
+ # The returned release label application name. For example, `hadoop`.
7010
+ # @return [String]
7011
+ #
7012
+ # @!attribute [rw] version
7013
+ # The returned release label application version. For example,
7014
+ # `3.2.1`.
7015
+ # @return [String]
7016
+ #
7017
+ # @see http://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/SimplifiedApplication AWS API Documentation
7018
+ #
7019
+ class SimplifiedApplication < Struct.new(
7020
+ :name,
7021
+ :version)
7022
+ SENSITIVE = []
7023
+ include Aws::Structure
7024
+ end
7025
+
6759
7026
  # The launch specification for Spot Instances in the instance fleet,
6760
7027
  # which determines the defined duration, provisioning timeout behavior,
6761
7028
  # and allocation strategy.
@@ -6939,9 +7206,22 @@ module Aws::EMR
6939
7206
  #
6940
7207
  # @!attribute [rw] action_on_failure
6941
7208
  # The action to take when the cluster step fails. Possible values are
6942
- # TERMINATE\_CLUSTER, CANCEL\_AND\_WAIT, and CONTINUE.
6943
- # TERMINATE\_JOB\_FLOW is provided for backward compatibility. We
6944
- # recommend using TERMINATE\_CLUSTER instead.
7209
+ # `TERMINATE_CLUSTER`, `CANCEL_AND_WAIT`, and `CONTINUE`.
7210
+ # `TERMINATE_JOB_FLOW` is provided for backward compatibility. We
7211
+ # recommend using `TERMINATE_CLUSTER` instead.
7212
+ #
7213
+ # If a cluster's `StepConcurrencyLevel` is greater than `1`, do not
7214
+ # use `AddJobFlowSteps` to submit a step with this parameter set to
7215
+ # `CANCEL_AND_WAIT` or `TERMINATE_CLUSTER`. The step is not submitted
7216
+ # and the action fails with a message that the `ActionOnFailure`
7217
+ # setting is not valid.
7218
+ #
7219
+ # If you change a cluster's `StepConcurrencyLevel` to be greater than
7220
+ # 1 while a step is running, the `ActionOnFailure` parameter may not
7221
+ # behave as you expect. In this case, for a step that fails with this
7222
+ # parameter set to `CANCEL_AND_WAIT`, pending steps and the running
7223
+ # step are not canceled; for a step that fails with this parameter set
7224
+ # to `TERMINATE_CLUSTER`, the cluster does not terminate.
6945
7225
  # @return [String]
6946
7226
  #
6947
7227
  # @!attribute [rw] status
@@ -6960,7 +7240,7 @@ module Aws::EMR
6960
7240
  include Aws::Structure
6961
7241
  end
6962
7242
 
6963
- # Specification of a cluster (job flow) step.
7243
+ # Specification for a cluster (job flow) step.
6964
7244
  #
6965
7245
  # @note When making an API call, you may pass StepConfig
6966
7246
  # data as a hash:
@@ -6986,10 +7266,32 @@ module Aws::EMR
6986
7266
  # @return [String]
6987
7267
  #
6988
7268
  # @!attribute [rw] action_on_failure
6989
- # The action to take when the cluster step fails. Possible values are
6990
- # TERMINATE\_CLUSTER, CANCEL\_AND\_WAIT, and CONTINUE.
6991
- # TERMINATE\_JOB\_FLOW is provided for backward compatibility. We
6992
- # recommend using TERMINATE\_CLUSTER instead.
7269
+ # The action to take when the step fails. Use one of the following
7270
+ # values:
7271
+ #
7272
+ # * `TERMINATE_CLUSTER` - Shuts down the cluster.
7273
+ #
7274
+ # * `CANCEL_AND_WAIT` - Cancels any pending steps and returns the
7275
+ # cluster to the `WAITING` state.
7276
+ #
7277
+ # * `CONTINUE` - Continues to the next step in the queue.
7278
+ #
7279
+ # * `TERMINATE_JOB_FLOW` - Shuts down the cluster.
7280
+ # `TERMINATE_JOB_FLOW` is provided for backward compatibility. We
7281
+ # recommend using `TERMINATE_CLUSTER` instead.
7282
+ #
7283
+ # If a cluster's `StepConcurrencyLevel` is greater than `1`, do not
7284
+ # use `AddJobFlowSteps` to submit a step with this parameter set to
7285
+ # `CANCEL_AND_WAIT` or `TERMINATE_CLUSTER`. The step is not submitted
7286
+ # and the action fails with a message that the `ActionOnFailure`
7287
+ # setting is not valid.
7288
+ #
7289
+ # If you change a cluster's `StepConcurrencyLevel` to be greater than
7290
+ # 1 while a step is running, the `ActionOnFailure` parameter may not
7291
+ # behave as you expect. In this case, for a step that fails with this
7292
+ # parameter set to `CANCEL_AND_WAIT`, pending steps and the running
7293
+ # step are not canceled; for a step that fails with this parameter set
7294
+ # to `TERMINATE_CLUSTER`, the cluster does not terminate.
6993
7295
  # @return [String]
6994
7296
  #
6995
7297
  # @!attribute [rw] hadoop_jar_step
@@ -7126,8 +7428,7 @@ module Aws::EMR
7126
7428
  # @!attribute [rw] action_on_failure
7127
7429
  # The action to take when the cluster step fails. Possible values are
7128
7430
  # TERMINATE\_CLUSTER, CANCEL\_AND\_WAIT, and CONTINUE.
7129
- # TERMINATE\_JOB\_FLOW is available for backward compatibility. We
7130
- # recommend using TERMINATE\_CLUSTER instead.
7431
+ # TERMINATE\_JOB\_FLOW is available for backward compatibility.
7131
7432
  # @return [String]
7132
7433
  #
7133
7434
  # @!attribute [rw] status
@@ -7486,9 +7787,9 @@ module Aws::EMR
7486
7787
  #
7487
7788
  # @!attribute [rw] identity_id
7488
7789
  # The globally unique identifier (GUID) of the user or group. For more
7489
- # information, see [UserId][1] and [GroupId][2] in the *AWS SSO
7490
- # Identity Store API Reference*. Either `IdentityName` or `IdentityId`
7491
- # must be specified.
7790
+ # information, see [UserId][1] and [GroupId][2] in the *Amazon Web
7791
+ # Services SSO Identity Store API Reference*. Either `IdentityName` or
7792
+ # `IdentityId` must be specified.
7492
7793
  #
7493
7794
  #
7494
7795
  #
@@ -7498,9 +7799,9 @@ module Aws::EMR
7498
7799
  #
7499
7800
  # @!attribute [rw] identity_name
7500
7801
  # The name of the user or group to update. For more information, see
7501
- # [UserName][1] and [DisplayName][2] in the *AWS SSO Identity Store
7502
- # API Reference*. Either `IdentityName` or `IdentityId` must be
7503
- # specified.
7802
+ # [UserName][1] and [DisplayName][2] in the *Amazon Web Services SSO
7803
+ # Identity Store API Reference*. Either `IdentityName` or `IdentityId`
7804
+ # must be specified.
7504
7805
  #
7505
7806
  #
7506
7807
  #