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

Contents

Description

Returns a list of your Lambda functions. For each function, the response includes the function configuration information. You must use GetFunction to retrieve the code for your function.

This operation requires permission for the lambda:ListFunctions action.

If you are using the versioning feature, you can list all of your functions or only > LATEST versions. For information about the versioning feature, see AWS Lambda Function Versioning and Aliases .

This operation returns paginated results.

Synopsis

Creating a Request

listFunctions :: ListFunctions #

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

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

  • lfMasterRegion - Optional string. If not specified, will return only regular function versions (i.e., non-replicated versions). Valid values are: The region from which the functions are replicated. For example, if you specify us-east-1 , only functions replicated from that region will be returned. ALL : Will return all functions from any region. If specified, you also must specify a valid FunctionVersion parameter.
  • lfMarker - Optional string. An opaque pagination token returned from a previous ListFunctions operation. If present, indicates where to continue the listing.
  • lfMaxItems - Optional integer. Specifies the maximum number of AWS Lambda functions to return in response. This parameter value must be greater than 0.
  • lfFunctionVersion - Optional string. If not specified, only the unqualified functions ARNs (Amazon Resource Names) will be returned. Valid value: ALL : Will return all versions, including > LATEST which will have fully qualified ARNs (Amazon Resource Names).

data ListFunctions #

See: listFunctions smart constructor.

Instances
Eq ListFunctions # 
Instance details

Defined in Network.AWS.Lambda.ListFunctions

Data ListFunctions # 
Instance details

Defined in Network.AWS.Lambda.ListFunctions

Methods

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

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

toConstr :: ListFunctions -> Constr #

dataTypeOf :: ListFunctions -> DataType #

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

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

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

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

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

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

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

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

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

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

Read ListFunctions # 
Instance details

Defined in Network.AWS.Lambda.ListFunctions

Show ListFunctions # 
Instance details

Defined in Network.AWS.Lambda.ListFunctions

Generic ListFunctions # 
Instance details

Defined in Network.AWS.Lambda.ListFunctions

Associated Types

type Rep ListFunctions :: Type -> Type #

Hashable ListFunctions # 
Instance details

Defined in Network.AWS.Lambda.ListFunctions

AWSPager ListFunctions # 
Instance details

Defined in Network.AWS.Lambda.ListFunctions

AWSRequest ListFunctions # 
Instance details

Defined in Network.AWS.Lambda.ListFunctions

Associated Types

type Rs ListFunctions :: Type #

ToHeaders ListFunctions # 
Instance details

Defined in Network.AWS.Lambda.ListFunctions

ToPath ListFunctions # 
Instance details

Defined in Network.AWS.Lambda.ListFunctions

ToQuery ListFunctions # 
Instance details

Defined in Network.AWS.Lambda.ListFunctions

NFData ListFunctions # 
Instance details

Defined in Network.AWS.Lambda.ListFunctions

Methods

rnf :: ListFunctions -> () #

type Rep ListFunctions # 
Instance details

Defined in Network.AWS.Lambda.ListFunctions

type Rep ListFunctions = D1 (MetaData "ListFunctions" "Network.AWS.Lambda.ListFunctions" "amazonka-lambda-1.6.1-9AtwbQKkORr5Fod0tvISKR" False) (C1 (MetaCons "ListFunctions'" PrefixI True) ((S1 (MetaSel (Just "_lfMasterRegion") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_lfMarker") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_lfMaxItems") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Nat)) :*: S1 (MetaSel (Just "_lfFunctionVersion") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe FunctionVersion)))))
type Rs ListFunctions # 
Instance details

Defined in Network.AWS.Lambda.ListFunctions

Request Lenses

lfMasterRegion :: Lens' ListFunctions (Maybe Text) #

Optional string. If not specified, will return only regular function versions (i.e., non-replicated versions). Valid values are: The region from which the functions are replicated. For example, if you specify us-east-1 , only functions replicated from that region will be returned. ALL : Will return all functions from any region. If specified, you also must specify a valid FunctionVersion parameter.

lfMarker :: Lens' ListFunctions (Maybe Text) #

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

lfMaxItems :: Lens' ListFunctions (Maybe Natural) #

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

lfFunctionVersion :: Lens' ListFunctions (Maybe FunctionVersion) #

Optional string. If not specified, only the unqualified functions ARNs (Amazon Resource Names) will be returned. Valid value: ALL : Will return all versions, including > LATEST which will have fully qualified ARNs (Amazon Resource Names).

Destructuring the Response

listFunctionsResponse #

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

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

data ListFunctionsResponse #

Contains a list of AWS Lambda function configurations (see FunctionConfiguration .

See: listFunctionsResponse smart constructor.

Instances
Eq ListFunctionsResponse # 
Instance details

Defined in Network.AWS.Lambda.ListFunctions

Data ListFunctionsResponse # 
Instance details

Defined in Network.AWS.Lambda.ListFunctions

Methods

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

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

toConstr :: ListFunctionsResponse -> Constr #

dataTypeOf :: ListFunctionsResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ListFunctionsResponse # 
Instance details

Defined in Network.AWS.Lambda.ListFunctions

Generic ListFunctionsResponse # 
Instance details

Defined in Network.AWS.Lambda.ListFunctions

Associated Types

type Rep ListFunctionsResponse :: Type -> Type #

NFData ListFunctionsResponse # 
Instance details

Defined in Network.AWS.Lambda.ListFunctions

Methods

rnf :: ListFunctionsResponse -> () #

type Rep ListFunctionsResponse # 
Instance details

Defined in Network.AWS.Lambda.ListFunctions

type Rep ListFunctionsResponse = D1 (MetaData "ListFunctionsResponse" "Network.AWS.Lambda.ListFunctions" "amazonka-lambda-1.6.1-9AtwbQKkORr5Fod0tvISKR" False) (C1 (MetaCons "ListFunctionsResponse'" PrefixI True) (S1 (MetaSel (Just "_lfrsNextMarker") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_lfrsFunctions") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [FunctionConfiguration])) :*: S1 (MetaSel (Just "_lfrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int))))

Response Lenses

lfrsNextMarker :: Lens' ListFunctionsResponse (Maybe Text) #

A string, present if there are more functions.

lfrsResponseStatus :: Lens' ListFunctionsResponse Int #

  • - | The response status code.