amazonka-emr-2.0: Amazon EMR SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

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
ToJSON ModifyCluster Source # 
Instance details

Defined in Amazonka.EMR.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

AWSRequest ModifyCluster Source # 
Instance details

Defined in Amazonka.EMR.ModifyCluster

Associated Types

type AWSResponse ModifyCluster #

Generic ModifyCluster Source # 
Instance details

Defined in Amazonka.EMR.ModifyCluster

Associated Types

type Rep ModifyCluster :: Type -> Type #

Read ModifyCluster Source # 
Instance details

Defined in Amazonka.EMR.ModifyCluster

Show ModifyCluster Source # 
Instance details

Defined in Amazonka.EMR.ModifyCluster

NFData ModifyCluster Source # 
Instance details

Defined in Amazonka.EMR.ModifyCluster

Methods

rnf :: ModifyCluster -> () #

Eq ModifyCluster Source # 
Instance details

Defined in Amazonka.EMR.ModifyCluster

Hashable ModifyCluster Source # 
Instance details

Defined in Amazonka.EMR.ModifyCluster

type AWSResponse 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" "amazonka-emr-2.0-B3cWhP6sdymF3IBUMdPGcd" '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)))

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:

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
Generic ModifyClusterResponse Source # 
Instance details

Defined in Amazonka.EMR.ModifyCluster

Associated Types

type Rep ModifyClusterResponse :: Type -> Type #

Read ModifyClusterResponse Source # 
Instance details

Defined in Amazonka.EMR.ModifyCluster

Show ModifyClusterResponse Source # 
Instance details

Defined in Amazonka.EMR.ModifyCluster

NFData ModifyClusterResponse Source # 
Instance details

Defined in Amazonka.EMR.ModifyCluster

Methods

rnf :: ModifyClusterResponse -> () #

Eq ModifyClusterResponse Source # 
Instance details

Defined in Amazonka.EMR.ModifyCluster

type Rep ModifyClusterResponse Source # 
Instance details

Defined in Amazonka.EMR.ModifyCluster

type Rep ModifyClusterResponse = D1 ('MetaData "ModifyClusterResponse" "Amazonka.EMR.ModifyCluster" "amazonka-emr-2.0-B3cWhP6sdymF3IBUMdPGcd" '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:

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.