amazonka-serverlessrepo-1.6.0: Amazon ServerlessApplicationRepository 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.ServerlessApplicationRepository.ListApplicationVersions

Contents

Description

Lists versions for the specified application.

Synopsis

Creating a Request

listApplicationVersions Source #

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

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

data ListApplicationVersions Source #

See: listApplicationVersions smart constructor.

Instances

Eq ListApplicationVersions Source # 
Data ListApplicationVersions Source # 

Methods

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

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

toConstr :: ListApplicationVersions -> Constr #

dataTypeOf :: ListApplicationVersions -> DataType #

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

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

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

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

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

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

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

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

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

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

Read ListApplicationVersions Source # 
Show ListApplicationVersions Source # 
Generic ListApplicationVersions Source # 
Hashable ListApplicationVersions Source # 
NFData ListApplicationVersions Source # 

Methods

rnf :: ListApplicationVersions -> () #

AWSRequest ListApplicationVersions Source # 
ToHeaders ListApplicationVersions Source # 
ToPath ListApplicationVersions Source # 
ToQuery ListApplicationVersions Source # 
type Rep ListApplicationVersions Source # 
type Rep ListApplicationVersions = D1 * (MetaData "ListApplicationVersions" "Network.AWS.ServerlessApplicationRepository.ListApplicationVersions" "amazonka-serverlessrepo-1.6.0-2DtNFpCl6Uy2xAfjxMru3y" False) (C1 * (MetaCons "ListApplicationVersions'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_lavNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) ((:*:) * (S1 * (MetaSel (Just Symbol "_lavMaxItems") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Nat))) (S1 * (MetaSel (Just Symbol "_lavApplicationId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Text)))))
type Rs ListApplicationVersions Source # 

Request Lenses

lavNextToken :: Lens' ListApplicationVersions (Maybe Text) Source #

A token to specify where to start paginating.

lavMaxItems :: Lens' ListApplicationVersions (Maybe Natural) Source #

The total number of items to return.

lavApplicationId :: Lens' ListApplicationVersions Text Source #

The ID of the application to get.

Destructuring the Response

listApplicationVersionsResponse Source #

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

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

data ListApplicationVersionsResponse Source #

See: listApplicationVersionsResponse smart constructor.

Instances

Eq ListApplicationVersionsResponse Source # 
Data ListApplicationVersionsResponse Source # 

Methods

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

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

toConstr :: ListApplicationVersionsResponse -> Constr #

dataTypeOf :: ListApplicationVersionsResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read ListApplicationVersionsResponse Source # 
Show ListApplicationVersionsResponse Source # 
Generic ListApplicationVersionsResponse Source # 
NFData ListApplicationVersionsResponse Source # 
type Rep ListApplicationVersionsResponse Source # 
type Rep ListApplicationVersionsResponse = D1 * (MetaData "ListApplicationVersionsResponse" "Network.AWS.ServerlessApplicationRepository.ListApplicationVersions" "amazonka-serverlessrepo-1.6.0-2DtNFpCl6Uy2xAfjxMru3y" False) (C1 * (MetaCons "ListApplicationVersionsResponse'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_lavrsVersions") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe [VersionSummary]))) ((:*:) * (S1 * (MetaSel (Just Symbol "_lavrsNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) (S1 * (MetaSel (Just Symbol "_lavrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Int)))))

Response Lenses

lavrsVersions :: Lens' ListApplicationVersionsResponse [VersionSummary] Source #

Array of version summaries for the application.

lavrsNextToken :: Lens' ListApplicationVersionsResponse (Maybe Text) Source #

The token to request the next page of results.