amazonka-emr-1.6.0: Amazon Elastic MapReduce SDK.

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

Network.AWS.EMR.AddInstanceGroups

Contents

Description

Adds one or more instance groups to a running cluster.

Synopsis

Creating a Request

addInstanceGroups #

Creates a value of AddInstanceGroups with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

data AddInstanceGroups #

Input to an AddInstanceGroups call.

See: addInstanceGroups smart constructor.

Instances

Eq AddInstanceGroups # 
Data AddInstanceGroups # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> AddInstanceGroups -> c AddInstanceGroups #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c AddInstanceGroups #

toConstr :: AddInstanceGroups -> Constr #

dataTypeOf :: AddInstanceGroups -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c AddInstanceGroups) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c AddInstanceGroups) #

gmapT :: (forall b. Data b => b -> b) -> AddInstanceGroups -> AddInstanceGroups #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> AddInstanceGroups -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> AddInstanceGroups -> r #

gmapQ :: (forall d. Data d => d -> u) -> AddInstanceGroups -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> AddInstanceGroups -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> AddInstanceGroups -> m AddInstanceGroups #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> AddInstanceGroups -> m AddInstanceGroups #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> AddInstanceGroups -> m AddInstanceGroups #

Read AddInstanceGroups # 
Show AddInstanceGroups # 
Generic AddInstanceGroups # 
Hashable AddInstanceGroups # 
ToJSON AddInstanceGroups # 
NFData AddInstanceGroups # 

Methods

rnf :: AddInstanceGroups -> () #

AWSRequest AddInstanceGroups # 
ToHeaders AddInstanceGroups # 
ToPath AddInstanceGroups # 
ToQuery AddInstanceGroups # 
type Rep AddInstanceGroups # 
type Rep AddInstanceGroups = D1 * (MetaData "AddInstanceGroups" "Network.AWS.EMR.AddInstanceGroups" "amazonka-emr-1.6.0-IfkEnk2mHfrL7lT8VCMwMx" False) (C1 * (MetaCons "AddInstanceGroups'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_aigInstanceGroups") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * [InstanceGroupConfig])) (S1 * (MetaSel (Just Symbol "_aigJobFlowId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Text))))
type Rs AddInstanceGroups # 

Request Lenses

aigJobFlowId :: Lens' AddInstanceGroups Text #

Job flow in which to add the instance groups.

Destructuring the Response

addInstanceGroupsResponse #

Creates a value of AddInstanceGroupsResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

data AddInstanceGroupsResponse #

Output from an AddInstanceGroups call.

See: addInstanceGroupsResponse smart constructor.

Instances

Eq AddInstanceGroupsResponse # 
Data AddInstanceGroupsResponse # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> AddInstanceGroupsResponse -> c AddInstanceGroupsResponse #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c AddInstanceGroupsResponse #

toConstr :: AddInstanceGroupsResponse -> Constr #

dataTypeOf :: AddInstanceGroupsResponse -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c AddInstanceGroupsResponse) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c AddInstanceGroupsResponse) #

gmapT :: (forall b. Data b => b -> b) -> AddInstanceGroupsResponse -> AddInstanceGroupsResponse #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> AddInstanceGroupsResponse -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> AddInstanceGroupsResponse -> r #

gmapQ :: (forall d. Data d => d -> u) -> AddInstanceGroupsResponse -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> AddInstanceGroupsResponse -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> AddInstanceGroupsResponse -> m AddInstanceGroupsResponse #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> AddInstanceGroupsResponse -> m AddInstanceGroupsResponse #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> AddInstanceGroupsResponse -> m AddInstanceGroupsResponse #

Read AddInstanceGroupsResponse # 
Show AddInstanceGroupsResponse # 
Generic AddInstanceGroupsResponse # 
NFData AddInstanceGroupsResponse # 
type Rep AddInstanceGroupsResponse # 
type Rep AddInstanceGroupsResponse = D1 * (MetaData "AddInstanceGroupsResponse" "Network.AWS.EMR.AddInstanceGroups" "amazonka-emr-1.6.0-IfkEnk2mHfrL7lT8VCMwMx" False) (C1 * (MetaCons "AddInstanceGroupsResponse'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_aigrsJobFlowId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) ((:*:) * (S1 * (MetaSel (Just Symbol "_aigrsInstanceGroupIds") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe [Text]))) (S1 * (MetaSel (Just Symbol "_aigrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Int)))))

Response Lenses

aigrsJobFlowId :: Lens' AddInstanceGroupsResponse (Maybe Text) #

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

aigrsInstanceGroupIds :: Lens' AddInstanceGroupsResponse [Text] #

Instance group IDs of the newly created instance groups.

aigrsResponseStatus :: Lens' AddInstanceGroupsResponse Int #

  • - | The response status code.