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

Description

Adds one or more instance groups to a running cluster.

Synopsis

Creating a Request

data AddInstanceGroups Source #

Input to an AddInstanceGroups call.

See: newAddInstanceGroups smart constructor.

Constructors

AddInstanceGroups' 

Fields

Instances

Instances details
Eq AddInstanceGroups Source # 
Instance details

Defined in Amazonka.EMR.AddInstanceGroups

Read AddInstanceGroups Source # 
Instance details

Defined in Amazonka.EMR.AddInstanceGroups

Show AddInstanceGroups Source # 
Instance details

Defined in Amazonka.EMR.AddInstanceGroups

Generic AddInstanceGroups Source # 
Instance details

Defined in Amazonka.EMR.AddInstanceGroups

Associated Types

type Rep AddInstanceGroups :: Type -> Type #

NFData AddInstanceGroups Source # 
Instance details

Defined in Amazonka.EMR.AddInstanceGroups

Methods

rnf :: AddInstanceGroups -> () #

Hashable AddInstanceGroups Source # 
Instance details

Defined in Amazonka.EMR.AddInstanceGroups

ToJSON AddInstanceGroups Source # 
Instance details

Defined in Amazonka.EMR.AddInstanceGroups

AWSRequest AddInstanceGroups Source # 
Instance details

Defined in Amazonka.EMR.AddInstanceGroups

Associated Types

type AWSResponse AddInstanceGroups #

ToHeaders AddInstanceGroups Source # 
Instance details

Defined in Amazonka.EMR.AddInstanceGroups

ToPath AddInstanceGroups Source # 
Instance details

Defined in Amazonka.EMR.AddInstanceGroups

ToQuery AddInstanceGroups Source # 
Instance details

Defined in Amazonka.EMR.AddInstanceGroups

type Rep AddInstanceGroups Source # 
Instance details

Defined in Amazonka.EMR.AddInstanceGroups

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

Defined in Amazonka.EMR.AddInstanceGroups

newAddInstanceGroups Source #

Create a value of AddInstanceGroups 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:instanceGroups:AddInstanceGroups', addInstanceGroups_instanceGroups - Instance groups to add.

$sel:jobFlowId:AddInstanceGroups', addInstanceGroups_jobFlowId - Job flow in which to add the instance groups.

Request Lenses

addInstanceGroups_jobFlowId :: Lens' AddInstanceGroups Text Source #

Job flow in which to add the instance groups.

Destructuring the Response

data AddInstanceGroupsResponse Source #

Output from an AddInstanceGroups call.

See: newAddInstanceGroupsResponse smart constructor.

Constructors

AddInstanceGroupsResponse' 

Fields

Instances

Instances details
Eq AddInstanceGroupsResponse Source # 
Instance details

Defined in Amazonka.EMR.AddInstanceGroups

Read AddInstanceGroupsResponse Source # 
Instance details

Defined in Amazonka.EMR.AddInstanceGroups

Show AddInstanceGroupsResponse Source # 
Instance details

Defined in Amazonka.EMR.AddInstanceGroups

Generic AddInstanceGroupsResponse Source # 
Instance details

Defined in Amazonka.EMR.AddInstanceGroups

Associated Types

type Rep AddInstanceGroupsResponse :: Type -> Type #

NFData AddInstanceGroupsResponse Source # 
Instance details

Defined in Amazonka.EMR.AddInstanceGroups

type Rep AddInstanceGroupsResponse Source # 
Instance details

Defined in Amazonka.EMR.AddInstanceGroups

type Rep AddInstanceGroupsResponse = D1 ('MetaData "AddInstanceGroupsResponse" "Amazonka.EMR.AddInstanceGroups" "libZSservicesZSamazonka-emrZSamazonka-emr" 'False) (C1 ('MetaCons "AddInstanceGroupsResponse'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "clusterArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "jobFlowId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "instanceGroupIds") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newAddInstanceGroupsResponse Source #

Create a value of AddInstanceGroupsResponse 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:clusterArn:AddInstanceGroupsResponse', addInstanceGroupsResponse_clusterArn - The Amazon Resource Name of the cluster.

$sel:jobFlowId:AddInstanceGroups', addInstanceGroupsResponse_jobFlowId - The job flow ID in which the instance groups are added.

$sel:instanceGroupIds:AddInstanceGroupsResponse', addInstanceGroupsResponse_instanceGroupIds - Instance group IDs of the newly created instance groups.

$sel:httpStatus:AddInstanceGroupsResponse', addInstanceGroupsResponse_httpStatus - The response's http status code.

Response Lenses

addInstanceGroupsResponse_jobFlowId :: Lens' AddInstanceGroupsResponse (Maybe Text) Source #

The job flow ID in which the instance groups are added.

addInstanceGroupsResponse_instanceGroupIds :: Lens' AddInstanceGroupsResponse (Maybe [Text]) Source #

Instance group IDs of the newly created instance groups.