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

Contents

Description

Returns the specified alias information such as the alias ARN, description, and function version it is pointing to. For more information, see Introduction to AWS Lambda Aliases

This requires permission for the lambda:GetAlias action.

See: AWS API Reference for GetAlias.

Synopsis

Creating a Request

getAlias Source

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

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

Request Lenses

gaFunctionName :: Lens' GetAlias Text Source

Function name for which the alias is created. An alias is a subresource that exists only in the context of an existing Lambda function. So you must specify the function name.

gaName :: Lens' GetAlias Text Source

Name of the alias for which you want to retrieve information.

Destructuring the Response

aliasConfiguration :: AliasConfiguration Source

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

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

Response Lenses

acFunctionVersion :: Lens' AliasConfiguration (Maybe Text) Source

Function version to which the alias points.

acAliasARN :: Lens' AliasConfiguration (Maybe Text) Source

Lambda function ARN that is qualified using alias name as the suffix. For example, if you create an alias "BETA" pointing to a helloworld function version, the ARN is 'arn:aws:lambda:aws-regions:acct-id:function:helloworld:BETA'.