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

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

AWSRequest AddInstanceGroups Source # 
Instance details

Defined in Amazonka.EMR.AddInstanceGroups

Associated Types

type AWSResponse AddInstanceGroups #

Generic AddInstanceGroups Source # 
Instance details

Defined in Amazonka.EMR.AddInstanceGroups

Associated Types

type Rep AddInstanceGroups :: Type -> Type #

Read AddInstanceGroups Source # 
Instance details

Defined in Amazonka.EMR.AddInstanceGroups

Show AddInstanceGroups Source # 
Instance details

Defined in Amazonka.EMR.AddInstanceGroups

NFData AddInstanceGroups Source # 
Instance details

Defined in Amazonka.EMR.AddInstanceGroups

Methods

rnf :: AddInstanceGroups -> () #

Eq AddInstanceGroups Source # 
Instance details

Defined in Amazonka.EMR.AddInstanceGroups

Hashable AddInstanceGroups Source # 
Instance details

Defined in Amazonka.EMR.AddInstanceGroups

type AWSResponse 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" "amazonka-emr-2.0-B3cWhP6sdymF3IBUMdPGcd" 'False) (C1 ('MetaCons "AddInstanceGroups'" 'PrefixI 'True) (S1 ('MetaSel ('Just "instanceGroups") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [InstanceGroupConfig]) :*: S1 ('MetaSel ('Just "jobFlowId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

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:

AddInstanceGroups, addInstanceGroups_instanceGroups - Instance groups to add.

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

Defined in Amazonka.EMR.AddInstanceGroups

Associated Types

type Rep AddInstanceGroupsResponse :: Type -> Type #

Read AddInstanceGroupsResponse Source # 
Instance details

Defined in Amazonka.EMR.AddInstanceGroups

Show AddInstanceGroupsResponse Source # 
Instance details

Defined in Amazonka.EMR.AddInstanceGroups

NFData AddInstanceGroupsResponse Source # 
Instance details

Defined in Amazonka.EMR.AddInstanceGroups

Eq 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" "amazonka-emr-2.0-B3cWhP6sdymF3IBUMdPGcd" 'False) (C1 ('MetaCons "AddInstanceGroupsResponse'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "clusterArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "instanceGroupIds") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text]))) :*: (S1 ('MetaSel ('Just "jobFlowId") '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:

AddInstanceGroupsResponse, addInstanceGroupsResponse_clusterArn - The Amazon Resource Name of the cluster.

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

AddInstanceGroups, addInstanceGroupsResponse_jobFlowId - The job flow ID in which the instance groups are added.

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

Response Lenses

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

Instance group IDs of the newly created instance groups.

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

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