amazonka-lambda-1.4.3: Amazon Lambda 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.Lambda.ListVersionsByFunction

Contents

Description

List all versions of a function. For information about the versioning feature, see AWS Lambda Function Versioning and Aliases.

Synopsis

Creating a Request

listVersionsByFunction Source #

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

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

data ListVersionsByFunction Source #

See: listVersionsByFunction smart constructor.

Instances

Eq ListVersionsByFunction Source # 
Data ListVersionsByFunction Source # 

Methods

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

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

toConstr :: ListVersionsByFunction -> Constr #

dataTypeOf :: ListVersionsByFunction -> DataType #

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

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

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

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

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

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

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

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

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

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

Read ListVersionsByFunction Source # 
Show ListVersionsByFunction Source # 
Generic ListVersionsByFunction Source # 
Hashable ListVersionsByFunction Source # 
NFData ListVersionsByFunction Source # 

Methods

rnf :: ListVersionsByFunction -> () #

AWSRequest ListVersionsByFunction Source # 
ToPath ListVersionsByFunction Source # 
ToHeaders ListVersionsByFunction Source # 
ToQuery ListVersionsByFunction Source # 
type Rep ListVersionsByFunction Source # 
type Rep ListVersionsByFunction = D1 (MetaData "ListVersionsByFunction" "Network.AWS.Lambda.ListVersionsByFunction" "amazonka-lambda-1.4.3-13pXhuzCfNN7Bh6wVqpvcF" False) (C1 (MetaCons "ListVersionsByFunction'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_lvbfMarker") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) ((:*:) (S1 (MetaSel (Just Symbol "_lvbfMaxItems") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Nat))) (S1 (MetaSel (Just Symbol "_lvbfFunctionName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))))
type Rs ListVersionsByFunction Source # 

Request Lenses

lvbfMarker :: Lens' ListVersionsByFunction (Maybe Text) Source #

Optional string. An opaque pagination token returned from a previous ListVersionsByFunction operation. If present, indicates where to continue the listing.

lvbfMaxItems :: Lens' ListVersionsByFunction (Maybe Natural) Source #

Optional integer. Specifies the maximum number of AWS Lambda function versions to return in response. This parameter value must be greater than 0.

lvbfFunctionName :: Lens' ListVersionsByFunction Text Source #

Function name whose versions to list. You can specify a function name (for example, Thumbnail) or you can specify Amazon Resource Name (ARN) of the function (for example, 'arn:aws:lambda:us-west-2:account-id:function:ThumbNail'). AWS Lambda also allows you to specify a partial ARN (for example, 'account-id:Thumbnail'). Note that the length constraint applies only to the ARN. If you specify only the function name, it is limited to 64 character in length.

Destructuring the Response

listVersionsByFunctionResponse Source #

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

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

data ListVersionsByFunctionResponse Source #

See: listVersionsByFunctionResponse smart constructor.

Instances

Eq ListVersionsByFunctionResponse Source # 
Data ListVersionsByFunctionResponse Source # 

Methods

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

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

toConstr :: ListVersionsByFunctionResponse -> Constr #

dataTypeOf :: ListVersionsByFunctionResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read ListVersionsByFunctionResponse Source # 
Show ListVersionsByFunctionResponse Source # 
Generic ListVersionsByFunctionResponse Source # 
NFData ListVersionsByFunctionResponse Source # 
type Rep ListVersionsByFunctionResponse Source # 
type Rep ListVersionsByFunctionResponse = D1 (MetaData "ListVersionsByFunctionResponse" "Network.AWS.Lambda.ListVersionsByFunction" "amazonka-lambda-1.4.3-13pXhuzCfNN7Bh6wVqpvcF" False) (C1 (MetaCons "ListVersionsByFunctionResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_lvbfrsVersions") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [FunctionConfiguration]))) ((:*:) (S1 (MetaSel (Just Symbol "_lvbfrsNextMarker") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_lvbfrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int)))))

Response Lenses

lvbfrsNextMarker :: Lens' ListVersionsByFunctionResponse (Maybe Text) Source #

A string, present if there are more function versions.