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.ModifyInstanceGroups

Description

ModifyInstanceGroups modifies the number of nodes and configuration settings of an instance group. The input parameters include the new target instance count for the group and the instance group ID. The call will either succeed or fail atomically.

Synopsis

Creating a Request

data ModifyInstanceGroups Source #

Change the size of some instance groups.

See: newModifyInstanceGroups smart constructor.

Constructors

ModifyInstanceGroups' 

Fields

Instances

Instances details
Eq ModifyInstanceGroups Source # 
Instance details

Defined in Amazonka.EMR.ModifyInstanceGroups

Read ModifyInstanceGroups Source # 
Instance details

Defined in Amazonka.EMR.ModifyInstanceGroups

Show ModifyInstanceGroups Source # 
Instance details

Defined in Amazonka.EMR.ModifyInstanceGroups

Generic ModifyInstanceGroups Source # 
Instance details

Defined in Amazonka.EMR.ModifyInstanceGroups

Associated Types

type Rep ModifyInstanceGroups :: Type -> Type #

NFData ModifyInstanceGroups Source # 
Instance details

Defined in Amazonka.EMR.ModifyInstanceGroups

Methods

rnf :: ModifyInstanceGroups -> () #

Hashable ModifyInstanceGroups Source # 
Instance details

Defined in Amazonka.EMR.ModifyInstanceGroups

ToJSON ModifyInstanceGroups Source # 
Instance details

Defined in Amazonka.EMR.ModifyInstanceGroups

AWSRequest ModifyInstanceGroups Source # 
Instance details

Defined in Amazonka.EMR.ModifyInstanceGroups

Associated Types

type AWSResponse ModifyInstanceGroups #

ToHeaders ModifyInstanceGroups Source # 
Instance details

Defined in Amazonka.EMR.ModifyInstanceGroups

ToPath ModifyInstanceGroups Source # 
Instance details

Defined in Amazonka.EMR.ModifyInstanceGroups

ToQuery ModifyInstanceGroups Source # 
Instance details

Defined in Amazonka.EMR.ModifyInstanceGroups

type Rep ModifyInstanceGroups Source # 
Instance details

Defined in Amazonka.EMR.ModifyInstanceGroups

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

Defined in Amazonka.EMR.ModifyInstanceGroups

newModifyInstanceGroups :: ModifyInstanceGroups Source #

Create a value of ModifyInstanceGroups 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:clusterId:ModifyInstanceGroups', modifyInstanceGroups_clusterId - The ID of the cluster to which the instance group belongs.

$sel:instanceGroups:ModifyInstanceGroups', modifyInstanceGroups_instanceGroups - Instance groups to change.

Request Lenses

modifyInstanceGroups_clusterId :: Lens' ModifyInstanceGroups (Maybe Text) Source #

The ID of the cluster to which the instance group belongs.

Destructuring the Response

data ModifyInstanceGroupsResponse Source #

See: newModifyInstanceGroupsResponse smart constructor.

Instances

Instances details
Eq ModifyInstanceGroupsResponse Source # 
Instance details

Defined in Amazonka.EMR.ModifyInstanceGroups

Read ModifyInstanceGroupsResponse Source # 
Instance details

Defined in Amazonka.EMR.ModifyInstanceGroups

Show ModifyInstanceGroupsResponse Source # 
Instance details

Defined in Amazonka.EMR.ModifyInstanceGroups

Generic ModifyInstanceGroupsResponse Source # 
Instance details

Defined in Amazonka.EMR.ModifyInstanceGroups

Associated Types

type Rep ModifyInstanceGroupsResponse :: Type -> Type #

NFData ModifyInstanceGroupsResponse Source # 
Instance details

Defined in Amazonka.EMR.ModifyInstanceGroups

type Rep ModifyInstanceGroupsResponse Source # 
Instance details

Defined in Amazonka.EMR.ModifyInstanceGroups

type Rep ModifyInstanceGroupsResponse = D1 ('MetaData "ModifyInstanceGroupsResponse" "Amazonka.EMR.ModifyInstanceGroups" "libZSservicesZSamazonka-emrZSamazonka-emr" 'False) (C1 ('MetaCons "ModifyInstanceGroupsResponse'" 'PrefixI 'False) (U1 :: Type -> Type))

newModifyInstanceGroupsResponse :: ModifyInstanceGroupsResponse Source #

Create a value of ModifyInstanceGroupsResponse with all optional fields omitted.

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