amazonka-emr-1.4.5: Amazon Elastic MapReduce SDK.

Copyright(c) 2013-2016 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@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 Source #

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 Source #

Input to an AddInstanceGroups call.

See: addInstanceGroups smart constructor.

Instances

Eq AddInstanceGroups Source # 
Data AddInstanceGroups Source # 

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 Source # 
Show AddInstanceGroups Source # 
Generic AddInstanceGroups Source # 
Hashable AddInstanceGroups Source # 
ToJSON AddInstanceGroups Source # 
NFData AddInstanceGroups Source # 

Methods

rnf :: AddInstanceGroups -> () #

AWSRequest AddInstanceGroups Source # 
ToPath AddInstanceGroups Source # 
ToHeaders AddInstanceGroups Source # 
ToQuery AddInstanceGroups Source # 
type Rep AddInstanceGroups Source # 
type Rep AddInstanceGroups = D1 (MetaData "AddInstanceGroups" "Network.AWS.EMR.AddInstanceGroups" "amazonka-emr-1.4.5-2XQZ9dXfwaxDxdqyS6qAjg" 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 Source # 

Request Lenses

aigJobFlowId :: Lens' AddInstanceGroups Text Source #

Job flow in which to add the instance groups.

Destructuring the Response

addInstanceGroupsResponse Source #

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 Source #

Output from an AddInstanceGroups call.

See: addInstanceGroupsResponse smart constructor.

Instances

Eq AddInstanceGroupsResponse Source # 
Data AddInstanceGroupsResponse Source # 

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 Source # 
Show AddInstanceGroupsResponse Source # 
Generic AddInstanceGroupsResponse Source # 
NFData AddInstanceGroupsResponse Source # 
type Rep AddInstanceGroupsResponse Source # 
type Rep AddInstanceGroupsResponse = D1 (MetaData "AddInstanceGroupsResponse" "Network.AWS.EMR.AddInstanceGroups" "amazonka-emr-1.4.5-2XQZ9dXfwaxDxdqyS6qAjg" 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 DecidedUnpack) (Rec0 Int)))))

Response Lenses

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

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

aigrsInstanceGroupIds :: Lens' AddInstanceGroupsResponse [Text] Source #

Instance group IDs of the newly created instance groups.