libZSservicesZSamazonka-lambdaZSamazonka-lambda
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.Lambda.ListFunctions

Description

Returns a list of Lambda functions, with the version-specific configuration of each. Lambda returns up to 50 functions per call.

Set FunctionVersion to ALL to include all published versions of each function in addition to the unpublished version.

The ListFunctions action returns a subset of the FunctionConfiguration fields. To get the additional fields (State, StateReasonCode, StateReason, LastUpdateStatus, LastUpdateStatusReason, LastUpdateStatusReasonCode) for a function or version, use GetFunction.

This operation returns paginated results.

Synopsis

Creating a Request

data ListFunctions Source #

See: newListFunctions smart constructor.

Constructors

ListFunctions' 

Fields

  • masterRegion :: Maybe Text

    For Lambda@Edge functions, the Amazon Web Services Region of the master function. For example, us-east-1 filters the list of functions to only include Lambda@Edge functions replicated from a master function in US East (N. Virginia). If specified, you must set FunctionVersion to ALL.

  • marker :: Maybe Text

    Specify the pagination token that's returned by a previous request to retrieve the next page of results.

  • maxItems :: Maybe Natural

    The maximum number of functions to return in the response. Note that ListFunctions returns a maximum of 50 items in each response, even if you set the number higher.

  • functionVersion :: Maybe FunctionVersion

    Set to ALL to include entries for all published versions of each function.

Instances

Instances details
Eq ListFunctions Source # 
Instance details

Defined in Amazonka.Lambda.ListFunctions

Read ListFunctions Source # 
Instance details

Defined in Amazonka.Lambda.ListFunctions

Show ListFunctions Source # 
Instance details

Defined in Amazonka.Lambda.ListFunctions

Generic ListFunctions Source # 
Instance details

Defined in Amazonka.Lambda.ListFunctions

Associated Types

type Rep ListFunctions :: Type -> Type #

NFData ListFunctions Source # 
Instance details

Defined in Amazonka.Lambda.ListFunctions

Methods

rnf :: ListFunctions -> () #

Hashable ListFunctions Source # 
Instance details

Defined in Amazonka.Lambda.ListFunctions

AWSPager ListFunctions Source # 
Instance details

Defined in Amazonka.Lambda.ListFunctions

AWSRequest ListFunctions Source # 
Instance details

Defined in Amazonka.Lambda.ListFunctions

Associated Types

type AWSResponse ListFunctions #

ToHeaders ListFunctions Source # 
Instance details

Defined in Amazonka.Lambda.ListFunctions

ToPath ListFunctions Source # 
Instance details

Defined in Amazonka.Lambda.ListFunctions

ToQuery ListFunctions Source # 
Instance details

Defined in Amazonka.Lambda.ListFunctions

type Rep ListFunctions Source # 
Instance details

Defined in Amazonka.Lambda.ListFunctions

type Rep ListFunctions = D1 ('MetaData "ListFunctions" "Amazonka.Lambda.ListFunctions" "libZSservicesZSamazonka-lambdaZSamazonka-lambda" 'False) (C1 ('MetaCons "ListFunctions'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "masterRegion") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "marker") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "maxItems") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: S1 ('MetaSel ('Just "functionVersion") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe FunctionVersion)))))
type AWSResponse ListFunctions Source # 
Instance details

Defined in Amazonka.Lambda.ListFunctions

newListFunctions :: ListFunctions Source #

Create a value of ListFunctions with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:masterRegion:ListFunctions', listFunctions_masterRegion - For Lambda@Edge functions, the Amazon Web Services Region of the master function. For example, us-east-1 filters the list of functions to only include Lambda@Edge functions replicated from a master function in US East (N. Virginia). If specified, you must set FunctionVersion to ALL.

$sel:marker:ListFunctions', listFunctions_marker - Specify the pagination token that's returned by a previous request to retrieve the next page of results.

$sel:maxItems:ListFunctions', listFunctions_maxItems - The maximum number of functions to return in the response. Note that ListFunctions returns a maximum of 50 items in each response, even if you set the number higher.

$sel:functionVersion:ListFunctions', listFunctions_functionVersion - Set to ALL to include entries for all published versions of each function.

Request Lenses

listFunctions_masterRegion :: Lens' ListFunctions (Maybe Text) Source #

For Lambda@Edge functions, the Amazon Web Services Region of the master function. For example, us-east-1 filters the list of functions to only include Lambda@Edge functions replicated from a master function in US East (N. Virginia). If specified, you must set FunctionVersion to ALL.

listFunctions_marker :: Lens' ListFunctions (Maybe Text) Source #

Specify the pagination token that's returned by a previous request to retrieve the next page of results.

listFunctions_maxItems :: Lens' ListFunctions (Maybe Natural) Source #

The maximum number of functions to return in the response. Note that ListFunctions returns a maximum of 50 items in each response, even if you set the number higher.

listFunctions_functionVersion :: Lens' ListFunctions (Maybe FunctionVersion) Source #

Set to ALL to include entries for all published versions of each function.

Destructuring the Response

data ListFunctionsResponse Source #

A list of Lambda functions.

See: newListFunctionsResponse smart constructor.

Constructors

ListFunctionsResponse' 

Fields

Instances

Instances details
Eq ListFunctionsResponse Source # 
Instance details

Defined in Amazonka.Lambda.ListFunctions

Show ListFunctionsResponse Source # 
Instance details

Defined in Amazonka.Lambda.ListFunctions

Generic ListFunctionsResponse Source # 
Instance details

Defined in Amazonka.Lambda.ListFunctions

Associated Types

type Rep ListFunctionsResponse :: Type -> Type #

NFData ListFunctionsResponse Source # 
Instance details

Defined in Amazonka.Lambda.ListFunctions

Methods

rnf :: ListFunctionsResponse -> () #

type Rep ListFunctionsResponse Source # 
Instance details

Defined in Amazonka.Lambda.ListFunctions

type Rep ListFunctionsResponse = D1 ('MetaData "ListFunctionsResponse" "Amazonka.Lambda.ListFunctions" "libZSservicesZSamazonka-lambdaZSamazonka-lambda" 'False) (C1 ('MetaCons "ListFunctionsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextMarker") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "functions") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [FunctionConfiguration])) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newListFunctionsResponse Source #

Create a value of ListFunctionsResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:nextMarker:ListFunctionsResponse', listFunctionsResponse_nextMarker - The pagination token that's included if more results are available.

$sel:functions:ListFunctionsResponse', listFunctionsResponse_functions - A list of Lambda functions.

$sel:httpStatus:ListFunctionsResponse', listFunctionsResponse_httpStatus - The response's http status code.

Response Lenses

listFunctionsResponse_nextMarker :: Lens' ListFunctionsResponse (Maybe Text) Source #

The pagination token that's included if more results are available.