amazonka-lambda-1.3.7: 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.ListAliases

Contents

Description

Returns list of aliases created for a Lambda function. For each alias, the response includes information such as the alias ARN, description, alias name, and the function version to which it points. For more information, see Introduction to AWS Lambda Aliases

This requires permission for the lambda:ListAliases action.

See: AWS API Reference for ListAliases.

Synopsis

Creating a Request

listAliases Source

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

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

Request Lenses

laMarker :: Lens' ListAliases (Maybe Text) Source

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

laMaxItems :: Lens' ListAliases (Maybe Natural) Source

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

laFunctionVersion :: Lens' ListAliases (Maybe Text) Source

If you specify this optional parameter, the API returns only the aliases pointing to the specific Lambda function version, otherwise returns all aliases created for the Lambda function.

laFunctionName :: Lens' ListAliases Text Source

Lambda function name for which the alias is created.

Destructuring the Response

listAliasesResponse Source

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

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

Response Lenses

larsNextMarker :: Lens' ListAliasesResponse (Maybe Text) Source

A string, present if there are more aliases.