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

Contents

Description

Provides a list of steps for the cluster.

This operation returns paginated results.

Synopsis

Creating a Request

listSteps Source #

Arguments

:: Text

lsClusterId

-> ListSteps 

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

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

data ListSteps Source #

This input determines which steps to list.

See: listSteps smart constructor.

Instances

Eq ListSteps Source # 
Data ListSteps Source # 

Methods

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

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

toConstr :: ListSteps -> Constr #

dataTypeOf :: ListSteps -> DataType #

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

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

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

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

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

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

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

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

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

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

Read ListSteps Source # 
Show ListSteps Source # 
Generic ListSteps Source # 

Associated Types

type Rep ListSteps :: * -> * #

Hashable ListSteps Source # 
NFData ListSteps Source # 

Methods

rnf :: ListSteps -> () #

AWSPager ListSteps Source # 
AWSRequest ListSteps Source # 
ToPath ListSteps Source # 
ToHeaders ListSteps Source # 

Methods

toHeaders :: ListSteps -> [Header] #

ToQuery ListSteps Source # 
ToJSON ListSteps Source # 

Methods

toJSON :: ListSteps -> Value #

toEncoding :: ListSteps -> Encoding #

type Rep ListSteps Source # 
type Rep ListSteps = D1 (MetaData "ListSteps" "Network.AWS.EMR.ListSteps" "amazonka-emr-1.4.4-BDieJu6dH3aIIsIY4833eU" False) (C1 (MetaCons "ListSteps'" PrefixI True) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_lsStepIds") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Text]))) (S1 (MetaSel (Just Symbol "_lsStepStates") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [StepState])))) ((:*:) (S1 (MetaSel (Just Symbol "_lsMarker") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_lsClusterId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))))
type Rs ListSteps Source # 

Request Lenses

lsStepIds :: Lens' ListSteps [Text] Source #

The filter to limit the step list based on the identifier of the steps.

lsStepStates :: Lens' ListSteps [StepState] Source #

The filter to limit the step list based on certain states.

lsMarker :: Lens' ListSteps (Maybe Text) Source #

The pagination token that indicates the next set of results to retrieve.

lsClusterId :: Lens' ListSteps Text Source #

The identifier of the cluster for which to list the steps.

Destructuring the Response

listStepsResponse Source #

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

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

data ListStepsResponse Source #

This output contains the list of steps returned in reverse order. This means that the last step is the first element in the list.

See: listStepsResponse smart constructor.

Instances

Eq ListStepsResponse Source # 
Data ListStepsResponse Source # 

Methods

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

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

toConstr :: ListStepsResponse -> Constr #

dataTypeOf :: ListStepsResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read ListStepsResponse Source # 
Show ListStepsResponse Source # 
Generic ListStepsResponse Source # 
NFData ListStepsResponse Source # 

Methods

rnf :: ListStepsResponse -> () #

type Rep ListStepsResponse Source # 
type Rep ListStepsResponse = D1 (MetaData "ListStepsResponse" "Network.AWS.EMR.ListSteps" "amazonka-emr-1.4.4-BDieJu6dH3aIIsIY4833eU" False) (C1 (MetaCons "ListStepsResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_lsrsSteps") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [StepSummary]))) ((:*:) (S1 (MetaSel (Just Symbol "_lsrsMarker") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_lsrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedUnpack) (Rec0 Int)))))

Response Lenses

lsrsSteps :: Lens' ListStepsResponse [StepSummary] Source #

The filtered list of steps for the cluster.

lsrsMarker :: Lens' ListStepsResponse (Maybe Text) Source #

The pagination token that indicates the next set of results to retrieve.