amazonka-lambda-1.3.5: Amazon Lambda SDK.

Copyright(c) 2013-2015 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.

See: AWS API Reference for ListVersionsByFunction.

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:

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 an unqualified 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 only the account ID qualifier (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:

Response Lenses

lvbfrsNextMarker :: Lens' ListVersionsByFunctionResponse (Maybe Text) Source

A string, present if there are more function versions.