libZSservicesZSamazonka-emrZSamazonka-emr
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.EMR.ModifyCluster

Description

Modifies the number of steps that can be executed concurrently for the cluster specified using ClusterID.

Synopsis

Creating a Request

data ModifyCluster Source #

See: newModifyCluster smart constructor.

Constructors

ModifyCluster' 

Fields

  • stepConcurrencyLevel :: Maybe Int

    The number of steps that can be executed concurrently. You can specify a minimum of 1 step and a maximum of 256 steps. We recommend that you do not change this parameter while steps are running or the ActionOnFailure setting may not behave as expected. For more information see Step$ActionOnFailure.

  • clusterId :: Text

    The unique identifier of the cluster.

Instances

Instances details
Eq ModifyCluster Source # 
Instance details

Defined in Amazonka.EMR.ModifyCluster

Read ModifyCluster Source # 
Instance details

Defined in Amazonka.EMR.ModifyCluster

Show ModifyCluster Source # 
Instance details

Defined in Amazonka.EMR.ModifyCluster

Generic ModifyCluster Source # 
Instance details

Defined in Amazonka.EMR.ModifyCluster

Associated Types

type Rep ModifyCluster :: Type -> Type #

NFData ModifyCluster Source # 
Instance details

Defined in Amazonka.EMR.ModifyCluster

Methods

rnf :: ModifyCluster -> () #

Hashable ModifyCluster Source # 
Instance details

Defined in Amazonka.EMR.ModifyCluster

ToJSON ModifyCluster Source # 
Instance details

Defined in Amazonka.EMR.ModifyCluster

AWSRequest ModifyCluster Source # 
Instance details

Defined in Amazonka.EMR.ModifyCluster

Associated Types

type AWSResponse ModifyCluster #

ToHeaders ModifyCluster Source # 
Instance details

Defined in Amazonka.EMR.ModifyCluster

ToPath ModifyCluster Source # 
Instance details

Defined in Amazonka.EMR.ModifyCluster

ToQuery ModifyCluster Source # 
Instance details

Defined in Amazonka.EMR.ModifyCluster

type Rep ModifyCluster Source # 
Instance details

Defined in Amazonka.EMR.ModifyCluster

type Rep ModifyCluster = D1 ('MetaData "ModifyCluster" "Amazonka.EMR.ModifyCluster" "libZSservicesZSamazonka-emrZSamazonka-emr" 'False) (C1 ('MetaCons "ModifyCluster'" 'PrefixI 'True) (S1 ('MetaSel ('Just "stepConcurrencyLevel") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: S1 ('MetaSel ('Just "clusterId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse ModifyCluster Source # 
Instance details

Defined in Amazonka.EMR.ModifyCluster

newModifyCluster Source #

Create a value of ModifyCluster with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:stepConcurrencyLevel:ModifyCluster', modifyCluster_stepConcurrencyLevel - The number of steps that can be executed concurrently. You can specify a minimum of 1 step and a maximum of 256 steps. We recommend that you do not change this parameter while steps are running or the ActionOnFailure setting may not behave as expected. For more information see Step$ActionOnFailure.

$sel:clusterId:ModifyCluster', modifyCluster_clusterId - The unique identifier of the cluster.

Request Lenses

modifyCluster_stepConcurrencyLevel :: Lens' ModifyCluster (Maybe Int) Source #

The number of steps that can be executed concurrently. You can specify a minimum of 1 step and a maximum of 256 steps. We recommend that you do not change this parameter while steps are running or the ActionOnFailure setting may not behave as expected. For more information see Step$ActionOnFailure.

modifyCluster_clusterId :: Lens' ModifyCluster Text Source #

The unique identifier of the cluster.

Destructuring the Response

data ModifyClusterResponse Source #

See: newModifyClusterResponse smart constructor.

Constructors

ModifyClusterResponse' 

Fields

Instances

Instances details
Eq ModifyClusterResponse Source # 
Instance details

Defined in Amazonka.EMR.ModifyCluster

Read ModifyClusterResponse Source # 
Instance details

Defined in Amazonka.EMR.ModifyCluster

Show ModifyClusterResponse Source # 
Instance details

Defined in Amazonka.EMR.ModifyCluster

Generic ModifyClusterResponse Source # 
Instance details

Defined in Amazonka.EMR.ModifyCluster

Associated Types

type Rep ModifyClusterResponse :: Type -> Type #

NFData ModifyClusterResponse Source # 
Instance details

Defined in Amazonka.EMR.ModifyCluster

Methods

rnf :: ModifyClusterResponse -> () #

type Rep ModifyClusterResponse Source # 
Instance details

Defined in Amazonka.EMR.ModifyCluster

type Rep ModifyClusterResponse = D1 ('MetaData "ModifyClusterResponse" "Amazonka.EMR.ModifyCluster" "libZSservicesZSamazonka-emrZSamazonka-emr" 'False) (C1 ('MetaCons "ModifyClusterResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "stepConcurrencyLevel") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newModifyClusterResponse Source #

Create a value of ModifyClusterResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:stepConcurrencyLevel:ModifyCluster', modifyClusterResponse_stepConcurrencyLevel - The number of steps that can be executed concurrently.

$sel:httpStatus:ModifyClusterResponse', modifyClusterResponse_httpStatus - The response's http status code.

Response Lenses

modifyClusterResponse_stepConcurrencyLevel :: Lens' ModifyClusterResponse (Maybe Int) Source #

The number of steps that can be executed concurrently.