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

  • lvbfMarker - Optional string. An opaque pagination token returned from a previous ListVersionsByFunction operation. If present, indicates where to continue the listing.
  • lvbfMaxItems - Optional integer. Specifies the maximum number of AWS Lambda function versions to return in response. This parameter value must be greater than 0.
  • lvbfFunctionName - 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 characters in length.

data ListVersionsByFunction Source #

See: listVersionsByFunction smart constructor.

Instances
Eq ListVersionsByFunction Source # 
Instance details

Defined in Network.AWS.Lambda.ListVersionsByFunction

Data ListVersionsByFunction Source # 
Instance details

Defined in Network.AWS.Lambda.ListVersionsByFunction

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 # 
Instance details

Defined in Network.AWS.Lambda.ListVersionsByFunction

Show ListVersionsByFunction Source # 
Instance details

Defined in Network.AWS.Lambda.ListVersionsByFunction

Generic ListVersionsByFunction Source # 
Instance details

Defined in Network.AWS.Lambda.ListVersionsByFunction

Associated Types

type Rep ListVersionsByFunction :: Type -> Type #

Hashable ListVersionsByFunction Source # 
Instance details

Defined in Network.AWS.Lambda.ListVersionsByFunction

AWSRequest ListVersionsByFunction Source # 
Instance details

Defined in Network.AWS.Lambda.ListVersionsByFunction

Associated Types

type Rs ListVersionsByFunction :: Type #

ToHeaders ListVersionsByFunction Source # 
Instance details

Defined in Network.AWS.Lambda.ListVersionsByFunction

ToPath ListVersionsByFunction Source # 
Instance details

Defined in Network.AWS.Lambda.ListVersionsByFunction

ToQuery ListVersionsByFunction Source # 
Instance details

Defined in Network.AWS.Lambda.ListVersionsByFunction

NFData ListVersionsByFunction Source # 
Instance details

Defined in Network.AWS.Lambda.ListVersionsByFunction

Methods

rnf :: ListVersionsByFunction -> () #

type Rep ListVersionsByFunction Source # 
Instance details

Defined in Network.AWS.Lambda.ListVersionsByFunction

type Rep ListVersionsByFunction = D1 (MetaData "ListVersionsByFunction" "Network.AWS.Lambda.ListVersionsByFunction" "amazonka-lambda-1.6.1-KQvkrTCQjBWL6Bwjq8xw0f" False) (C1 (MetaCons "ListVersionsByFunction'" PrefixI True) (S1 (MetaSel (Just "_lvbfMarker") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_lvbfMaxItems") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Nat)) :*: S1 (MetaSel (Just "_lvbfFunctionName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))
type Rs ListVersionsByFunction Source # 
Instance details

Defined in Network.AWS.Lambda.ListVersionsByFunction

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 characters 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 # 
Instance details

Defined in Network.AWS.Lambda.ListVersionsByFunction

Data ListVersionsByFunctionResponse Source # 
Instance details

Defined in Network.AWS.Lambda.ListVersionsByFunction

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 #

Show ListVersionsByFunctionResponse Source # 
Instance details

Defined in Network.AWS.Lambda.ListVersionsByFunction

Generic ListVersionsByFunctionResponse Source # 
Instance details

Defined in Network.AWS.Lambda.ListVersionsByFunction

Associated Types

type Rep ListVersionsByFunctionResponse :: Type -> Type #

NFData ListVersionsByFunctionResponse Source # 
Instance details

Defined in Network.AWS.Lambda.ListVersionsByFunction

type Rep ListVersionsByFunctionResponse Source # 
Instance details

Defined in Network.AWS.Lambda.ListVersionsByFunction

type Rep ListVersionsByFunctionResponse = D1 (MetaData "ListVersionsByFunctionResponse" "Network.AWS.Lambda.ListVersionsByFunction" "amazonka-lambda-1.6.1-KQvkrTCQjBWL6Bwjq8xw0f" False) (C1 (MetaCons "ListVersionsByFunctionResponse'" PrefixI True) (S1 (MetaSel (Just "_lvbfrsVersions") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [FunctionConfiguration])) :*: (S1 (MetaSel (Just "_lvbfrsNextMarker") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_lvbfrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int))))

Response Lenses

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

A string, present if there are more function versions.