lib/aws-sdk-emr/client.rb in aws-sdk-emr-1.22.0 vs lib/aws-sdk-emr/client.rb in aws-sdk-emr-1.23.0
- old
+ new
@@ -279,10 +279,11 @@
#
# @return [Types::AddInstanceFleetOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
#
# * {Types::AddInstanceFleetOutput#cluster_id #cluster_id} => String
# * {Types::AddInstanceFleetOutput#instance_fleet_id #instance_fleet_id} => String
+ # * {Types::AddInstanceFleetOutput#cluster_arn #cluster_arn} => String
#
# @example Request syntax with placeholder values
#
# resp = client.add_instance_fleet({
# cluster_id: "XmlStringMaxLen256", # required
@@ -335,10 +336,11 @@
#
# @example Response structure
#
# resp.cluster_id #=> String
# resp.instance_fleet_id #=> String
+ # resp.cluster_arn #=> String
#
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/AddInstanceFleet AWS API Documentation
#
# @overload add_instance_fleet(params = {})
# @param [Hash] params ({})
@@ -357,10 +359,11 @@
#
# @return [Types::AddInstanceGroupsOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
#
# * {Types::AddInstanceGroupsOutput#job_flow_id #job_flow_id} => String
# * {Types::AddInstanceGroupsOutput#instance_group_ids #instance_group_ids} => Array<String>
+ # * {Types::AddInstanceGroupsOutput#cluster_arn #cluster_arn} => String
#
# @example Request syntax with placeholder values
#
# resp = client.add_instance_groups({
# instance_groups: [ # required
@@ -441,10 +444,11 @@
# @example Response structure
#
# resp.job_flow_id #=> String
# resp.instance_group_ids #=> Array
# resp.instance_group_ids[0] #=> String
+ # resp.cluster_arn #=> String
#
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/AddInstanceGroups AWS API Documentation
#
# @overload add_instance_groups(params = {})
# @param [Hash] params ({})
@@ -753,10 +757,11 @@
# resp.cluster.kerberos_attributes.realm #=> String
# resp.cluster.kerberos_attributes.kdc_admin_password #=> String
# resp.cluster.kerberos_attributes.cross_realm_trust_principal_password #=> String
# resp.cluster.kerberos_attributes.ad_domain_join_user #=> String
# resp.cluster.kerberos_attributes.ad_domain_join_password #=> String
+ # resp.cluster.cluster_arn #=> String
#
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/DescribeCluster AWS API Documentation
#
# @overload describe_cluster(params = {})
# @param [Hash] params ({})
@@ -1090,10 +1095,11 @@
# resp.clusters[0].status.state_change_reason.message #=> String
# resp.clusters[0].status.timeline.creation_date_time #=> Time
# resp.clusters[0].status.timeline.ready_date_time #=> Time
# resp.clusters[0].status.timeline.end_date_time #=> Time
# resp.clusters[0].normalized_instance_hours #=> Integer
+ # resp.clusters[0].cluster_arn #=> String
# resp.marker #=> String
#
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/ListClusters AWS API Documentation
#
# @overload list_clusters(params = {})
@@ -1385,21 +1391,23 @@
req = build_request(:list_security_configurations, params)
req.send_request(options)
end
# Provides a list of steps for the cluster in reverse order unless you
- # specify stepIds with the request.
+ # specify `stepIds` with the request of filter by `StepStates`. You can
+ # specify a maximum of ten `stepIDs`.
#
# @option params [required, String] :cluster_id
# The identifier of the cluster for which to list the steps.
#
# @option params [Array<String>] :step_states
# The filter to limit the step list based on certain states.
#
# @option params [Array<String>] :step_ids
# The filter to limit the step list based on the identifier of the
- # steps.
+ # steps. You can specify a maximum of ten Step IDs. The character
+ # constraint applies to the overall length of the array.
#
# @option params [String] :marker
# The pagination token that indicates the next set of results to
# retrieve.
#
@@ -1561,10 +1569,11 @@
# @return [Types::PutAutoScalingPolicyOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
#
# * {Types::PutAutoScalingPolicyOutput#cluster_id #cluster_id} => String
# * {Types::PutAutoScalingPolicyOutput#instance_group_id #instance_group_id} => String
# * {Types::PutAutoScalingPolicyOutput#auto_scaling_policy #auto_scaling_policy} => Types::AutoScalingPolicyDescription
+ # * {Types::PutAutoScalingPolicyOutput#cluster_arn #cluster_arn} => String
#
# @example Request syntax with placeholder values
#
# resp = client.put_auto_scaling_policy({
# cluster_id: "ClusterId", # required
@@ -1634,10 +1643,11 @@
# resp.auto_scaling_policy.rules[0].trigger.cloud_watch_alarm_definition.threshold #=> Float
# resp.auto_scaling_policy.rules[0].trigger.cloud_watch_alarm_definition.unit #=> String, one of "NONE", "SECONDS", "MICRO_SECONDS", "MILLI_SECONDS", "BYTES", "KILO_BYTES", "MEGA_BYTES", "GIGA_BYTES", "TERA_BYTES", "BITS", "KILO_BITS", "MEGA_BITS", "GIGA_BITS", "TERA_BITS", "PERCENT", "COUNT", "BYTES_PER_SECOND", "KILO_BYTES_PER_SECOND", "MEGA_BYTES_PER_SECOND", "GIGA_BYTES_PER_SECOND", "TERA_BYTES_PER_SECOND", "BITS_PER_SECOND", "KILO_BITS_PER_SECOND", "MEGA_BITS_PER_SECOND", "GIGA_BITS_PER_SECOND", "TERA_BITS_PER_SECOND", "COUNT_PER_SECOND"
# resp.auto_scaling_policy.rules[0].trigger.cloud_watch_alarm_definition.dimensions #=> Array
# resp.auto_scaling_policy.rules[0].trigger.cloud_watch_alarm_definition.dimensions[0].key #=> String
# resp.auto_scaling_policy.rules[0].trigger.cloud_watch_alarm_definition.dimensions[0].value #=> String
+ # resp.cluster_arn #=> String
#
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/PutAutoScalingPolicy AWS API Documentation
#
# @overload put_auto_scaling_policy(params = {})
# @param [Hash] params ({})
@@ -1904,18 +1914,15 @@
# @option params [Array<Types::Configuration>] :configurations
# For Amazon EMR releases 4.0 and later. The list of configurations
# supplied for the EMR cluster you are creating.
#
# @option params [Boolean] :visible_to_all_users
- # *This member will be deprecated.*
+ # A value of `true` indicates that all IAM users in the AWS account can
+ # perform cluster actions if they have the proper IAM policy
+ # permissions. This is the default. A value of `false` indicates that
+ # only the IAM user who created the cluster can perform actions.
#
- # Whether the cluster is visible to all IAM users of the AWS account
- # associated with the cluster. If this value is set to `true`, all IAM
- # users of that AWS account can view and (if they have the proper policy
- # permissions set) manage the cluster. If it is set to `false`, only the
- # IAM user that created the cluster can view and manage it.
- #
# @option params [String] :job_flow_role
# Also called instance profile and EC2 role. An IAM role for an EMR
# cluster. The EC2 instances of the cluster assume this role. The
# default role is `EMR_EC2_DefaultRole`. In order to use the default
# role, you must have already created it using the CLI or console.
@@ -1996,10 +2003,11 @@
# [1]: https://docs.aws.amazon.com/emr/latest/ManagementGuide/emr-kerberos.html
#
# @return [Types::RunJobFlowOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
#
# * {Types::RunJobFlowOutput#job_flow_id #job_flow_id} => String
+ # * {Types::RunJobFlowOutput#cluster_arn #cluster_arn} => String
#
# @example Request syntax with placeholder values
#
# resp = client.run_job_flow({
# name: "XmlStringMaxLen256", # required
@@ -2225,10 +2233,11 @@
# })
#
# @example Response structure
#
# resp.job_flow_id #=> String
+ # resp.cluster_arn #=> String
#
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/RunJobFlow AWS API Documentation
#
# @overload run_job_flow(params = {})
# @param [Hash] params ({})
@@ -2288,33 +2297,30 @@
def set_termination_protection(params = {}, options = {})
req = build_request(:set_termination_protection, params)
req.send_request(options)
end
- # *This member will be deprecated.*
+ # Sets the Cluster$VisibleToAllUsers value, which determines whether the
+ # cluster is visible to all IAM users of the AWS account associated with
+ # the cluster. Only the IAM user who created the cluster or the AWS
+ # account root user can call this action. The default value, `true`,
+ # indicates that all IAM users in the AWS account can perform cluster
+ # actions if they have the proper IAM policy permissions. If set to
+ # `false`, only the IAM user that created the cluster can perform
+ # actions. This action works on running clusters. You can override the
+ # default `true` setting when you create a cluster by using the
+ # `VisibleToAllUsers` parameter with `RunJobFlow`.
#
- # Sets whether all AWS Identity and Access Management (IAM) users under
- # your account can access the specified clusters (job flows). This
- # action works on running clusters. You can also set the visibility of a
- # cluster when you launch it using the `VisibleToAllUsers` parameter of
- # RunJobFlow. The SetVisibleToAllUsers action can be called only by an
- # IAM user who created the cluster or the AWS account that owns the
- # cluster.
- #
# @option params [required, Array<String>] :job_flow_ids
- # Identifiers of the job flows to receive the new visibility setting.
+ # The unique identifier of the job flow (cluster).
#
# @option params [required, Boolean] :visible_to_all_users
- # *This member will be deprecated.*
+ # A value of `true` indicates that all IAM users in the AWS account can
+ # perform cluster actions if they have the proper IAM policy
+ # permissions. This is the default. A value of `false` indicates that
+ # only the IAM user who created the cluster can perform actions.
#
- # Whether the specified clusters are visible to all IAM users of the AWS
- # account associated with the cluster. If this value is set to True, all
- # IAM users of that AWS account can view and, if they have the proper
- # IAM policy permissions set, manage the clusters. If it is set to
- # False, only the IAM user that created a cluster can view and manage
- # it.
- #
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
#
# @example Request syntax with placeholder values
#
# resp = client.set_visible_to_all_users({
@@ -2374,10 +2380,10 @@
operation: config.api.operation(operation_name),
client: self,
params: params,
config: config)
context[:gem_name] = 'aws-sdk-emr'
- context[:gem_version] = '1.22.0'
+ context[:gem_version] = '1.23.0'
Seahorse::Client::Request.new(handlers, context)
end
# Polls an API operation until a resource enters a desired state.
#