amazonka-emr-1.4.4: 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.TerminateJobFlows

Contents

Description

TerminateJobFlows shuts a list of job flows down. When a job flow is shut down, any step not yet completed is canceled and the EC2 instances on which the job flow is running are stopped. Any log files not already saved are uploaded to Amazon S3 if a LogUri was specified when the job flow was created.

The maximum number of JobFlows allowed is 10. The call to TerminateJobFlows is asynchronous. Depending on the configuration of the job flow, it may take up to 5-20 minutes for the job flow to completely terminate and release allocated resources, such as Amazon EC2 instances.

Synopsis

Creating a Request

terminateJobFlows :: TerminateJobFlows Source #

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

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

data TerminateJobFlows Source #

Input to the TerminateJobFlows operation.

See: terminateJobFlows smart constructor.

Instances

Eq TerminateJobFlows Source # 
Data TerminateJobFlows Source # 

Methods

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

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

toConstr :: TerminateJobFlows -> Constr #

dataTypeOf :: TerminateJobFlows -> DataType #

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

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

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

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

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

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

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

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

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

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

Read TerminateJobFlows Source # 
Show TerminateJobFlows Source # 
Generic TerminateJobFlows Source # 
Hashable TerminateJobFlows Source # 
NFData TerminateJobFlows Source # 

Methods

rnf :: TerminateJobFlows -> () #

AWSRequest TerminateJobFlows Source # 
ToPath TerminateJobFlows Source # 
ToHeaders TerminateJobFlows Source # 
ToQuery TerminateJobFlows Source # 
ToJSON TerminateJobFlows Source # 
type Rep TerminateJobFlows Source # 
type Rep TerminateJobFlows = D1 (MetaData "TerminateJobFlows" "Network.AWS.EMR.TerminateJobFlows" "amazonka-emr-1.4.4-BDieJu6dH3aIIsIY4833eU" True) (C1 (MetaCons "TerminateJobFlows'" PrefixI True) (S1 (MetaSel (Just Symbol "_tjfJobFlowIds") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 [Text])))
type Rs TerminateJobFlows Source # 

Request Lenses

tjfJobFlowIds :: Lens' TerminateJobFlows [Text] Source #

A list of job flows to be shutdown.

Destructuring the Response

terminateJobFlowsResponse :: TerminateJobFlowsResponse Source #

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

data TerminateJobFlowsResponse Source #

See: terminateJobFlowsResponse smart constructor.

Instances

Eq TerminateJobFlowsResponse Source # 
Data TerminateJobFlowsResponse Source # 

Methods

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

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

toConstr :: TerminateJobFlowsResponse -> Constr #

dataTypeOf :: TerminateJobFlowsResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read TerminateJobFlowsResponse Source # 
Show TerminateJobFlowsResponse Source # 
Generic TerminateJobFlowsResponse Source # 
NFData TerminateJobFlowsResponse Source # 
type Rep TerminateJobFlowsResponse Source # 
type Rep TerminateJobFlowsResponse = D1 (MetaData "TerminateJobFlowsResponse" "Network.AWS.EMR.TerminateJobFlows" "amazonka-emr-1.4.4-BDieJu6dH3aIIsIY4833eU" False) (C1 (MetaCons "TerminateJobFlowsResponse'" PrefixI False) U1)