amazonka-stepfunctions-1.6.0: Amazon Step Functions 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.StepFunctions.ListActivities

Contents

Description

Lists the existing activities.

If a nextToken is returned by a previous call, there are more results available. To retrieve the next page of results, make the call again using the returned token in nextToken . Keep all other arguments unchanged.

This operation returns paginated results.

Synopsis

Creating a Request

listActivities :: ListActivities #

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

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

  • laNextToken - If a nextToken is returned by a previous call, there are more results available. To retrieve the next page of results, make the call again using the returned token in nextToken . Keep all other arguments unchanged. The configured maxResults determines how many results can be returned in a single call.
  • laMaxResults - The maximum number of results that are returned per call. You can use nextToken to obtain further pages of results. The default is 100 and the maximum allowed page size is 100. A value of 0 uses the default. This is only an upper limit. The actual number of results returned per call might be fewer than the specified maximum.

data ListActivities #

See: listActivities smart constructor.

Instances

Eq ListActivities # 
Data ListActivities # 

Methods

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

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

toConstr :: ListActivities -> Constr #

dataTypeOf :: ListActivities -> DataType #

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

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

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

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

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

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

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

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

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

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

Read ListActivities # 
Show ListActivities # 
Generic ListActivities # 

Associated Types

type Rep ListActivities :: * -> * #

Hashable ListActivities # 
ToJSON ListActivities # 
NFData ListActivities # 

Methods

rnf :: ListActivities -> () #

AWSPager ListActivities # 
AWSRequest ListActivities # 
ToHeaders ListActivities # 
ToPath ListActivities # 
ToQuery ListActivities # 
type Rep ListActivities # 
type Rep ListActivities = D1 * (MetaData "ListActivities" "Network.AWS.StepFunctions.ListActivities" "amazonka-stepfunctions-1.6.0-4gWbMk0pA5yIMB3HeIXWOM" False) (C1 * (MetaCons "ListActivities'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_laNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) (S1 * (MetaSel (Just Symbol "_laMaxResults") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Nat)))))
type Rs ListActivities # 

Request Lenses

laNextToken :: Lens' ListActivities (Maybe Text) #

If a nextToken is returned by a previous call, there are more results available. To retrieve the next page of results, make the call again using the returned token in nextToken . Keep all other arguments unchanged. The configured maxResults determines how many results can be returned in a single call.

laMaxResults :: Lens' ListActivities (Maybe Natural) #

The maximum number of results that are returned per call. You can use nextToken to obtain further pages of results. The default is 100 and the maximum allowed page size is 100. A value of 0 uses the default. This is only an upper limit. The actual number of results returned per call might be fewer than the specified maximum.

Destructuring the Response

listActivitiesResponse #

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

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

  • larsNextToken - If a nextToken is returned by a previous call, there are more results available. To retrieve the next page of results, make the call again using the returned token in nextToken . Keep all other arguments unchanged. The configured maxResults determines how many results can be returned in a single call.
  • larsResponseStatus - -- | The response status code.
  • larsActivities - The list of activities.

data ListActivitiesResponse #

See: listActivitiesResponse smart constructor.

Instances

Eq ListActivitiesResponse # 
Data ListActivitiesResponse # 

Methods

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

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

toConstr :: ListActivitiesResponse -> Constr #

dataTypeOf :: ListActivitiesResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read ListActivitiesResponse # 
Show ListActivitiesResponse # 
Generic ListActivitiesResponse # 
NFData ListActivitiesResponse # 

Methods

rnf :: ListActivitiesResponse -> () #

type Rep ListActivitiesResponse # 
type Rep ListActivitiesResponse = D1 * (MetaData "ListActivitiesResponse" "Network.AWS.StepFunctions.ListActivities" "amazonka-stepfunctions-1.6.0-4gWbMk0pA5yIMB3HeIXWOM" False) (C1 * (MetaCons "ListActivitiesResponse'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_larsNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) ((:*:) * (S1 * (MetaSel (Just Symbol "_larsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Int)) (S1 * (MetaSel (Just Symbol "_larsActivities") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * [ActivityListItem])))))

Response Lenses

larsNextToken :: Lens' ListActivitiesResponse (Maybe Text) #

If a nextToken is returned by a previous call, there are more results available. To retrieve the next page of results, make the call again using the returned token in nextToken . Keep all other arguments unchanged. The configured maxResults determines how many results can be returned in a single call.

larsResponseStatus :: Lens' ListActivitiesResponse Int #

  • - | The response status code.