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

This operation returns paginated results.

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:

  • laMarker - Optional string. An opaque pagination token returned from a previous ListAliases operation. If present, indicates where to continue the listing.
  • laMaxItems - Optional integer. Specifies the maximum number of aliases to return in response. This parameter value must be greater than 0.
  • laFunctionVersion - If you specify this optional parameter, the API returns only the aliases that are pointing to the specific Lambda function version, otherwise the API returns all of the aliases created for the Lambda function.
  • laFunctionName - Lambda function name for which the alias is created. Note that the length constraint applies only to the ARN. If you specify only the function name, it is limited to 64 characters in length.

data ListAliases Source #

See: listAliases smart constructor.

Instances
Eq ListAliases Source # 
Instance details

Defined in Network.AWS.Lambda.ListAliases

Data ListAliases Source # 
Instance details

Defined in Network.AWS.Lambda.ListAliases

Methods

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

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

toConstr :: ListAliases -> Constr #

dataTypeOf :: ListAliases -> DataType #

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

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

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

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

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

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

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

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

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

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

Read ListAliases Source # 
Instance details

Defined in Network.AWS.Lambda.ListAliases

Show ListAliases Source # 
Instance details

Defined in Network.AWS.Lambda.ListAliases

Generic ListAliases Source # 
Instance details

Defined in Network.AWS.Lambda.ListAliases

Associated Types

type Rep ListAliases :: Type -> Type #

Hashable ListAliases Source # 
Instance details

Defined in Network.AWS.Lambda.ListAliases

AWSPager ListAliases Source # 
Instance details

Defined in Network.AWS.Lambda.ListAliases

AWSRequest ListAliases Source # 
Instance details

Defined in Network.AWS.Lambda.ListAliases

Associated Types

type Rs ListAliases :: Type #

ToHeaders ListAliases Source # 
Instance details

Defined in Network.AWS.Lambda.ListAliases

Methods

toHeaders :: ListAliases -> [Header] #

ToPath ListAliases Source # 
Instance details

Defined in Network.AWS.Lambda.ListAliases

ToQuery ListAliases Source # 
Instance details

Defined in Network.AWS.Lambda.ListAliases

NFData ListAliases Source # 
Instance details

Defined in Network.AWS.Lambda.ListAliases

Methods

rnf :: ListAliases -> () #

type Rep ListAliases Source # 
Instance details

Defined in Network.AWS.Lambda.ListAliases

type Rep ListAliases = D1 (MetaData "ListAliases" "Network.AWS.Lambda.ListAliases" "amazonka-lambda-1.6.1-KQvkrTCQjBWL6Bwjq8xw0f" False) (C1 (MetaCons "ListAliases'" PrefixI True) ((S1 (MetaSel (Just "_laMarker") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_laMaxItems") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Nat))) :*: (S1 (MetaSel (Just "_laFunctionVersion") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_laFunctionName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))
type Rs ListAliases Source # 
Instance details

Defined in Network.AWS.Lambda.ListAliases

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 that are pointing to the specific Lambda function version, otherwise the API returns all of the aliases created for the Lambda function.

laFunctionName :: Lens' ListAliases Text Source #

Lambda function name for which the alias is created. Note that the length constraint applies only to the ARN. If you specify only the function name, it is limited to 64 characters in length.

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:

data ListAliasesResponse Source #

See: listAliasesResponse smart constructor.

Instances
Eq ListAliasesResponse Source # 
Instance details

Defined in Network.AWS.Lambda.ListAliases

Data ListAliasesResponse Source # 
Instance details

Defined in Network.AWS.Lambda.ListAliases

Methods

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

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

toConstr :: ListAliasesResponse -> Constr #

dataTypeOf :: ListAliasesResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read ListAliasesResponse Source # 
Instance details

Defined in Network.AWS.Lambda.ListAliases

Show ListAliasesResponse Source # 
Instance details

Defined in Network.AWS.Lambda.ListAliases

Generic ListAliasesResponse Source # 
Instance details

Defined in Network.AWS.Lambda.ListAliases

Associated Types

type Rep ListAliasesResponse :: Type -> Type #

NFData ListAliasesResponse Source # 
Instance details

Defined in Network.AWS.Lambda.ListAliases

Methods

rnf :: ListAliasesResponse -> () #

type Rep ListAliasesResponse Source # 
Instance details

Defined in Network.AWS.Lambda.ListAliases

type Rep ListAliasesResponse = D1 (MetaData "ListAliasesResponse" "Network.AWS.Lambda.ListAliases" "amazonka-lambda-1.6.1-KQvkrTCQjBWL6Bwjq8xw0f" False) (C1 (MetaCons "ListAliasesResponse'" PrefixI True) (S1 (MetaSel (Just "_larsAliases") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [AliasConfiguration])) :*: (S1 (MetaSel (Just "_larsNextMarker") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_larsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int))))

Response Lenses

larsNextMarker :: Lens' ListAliasesResponse (Maybe Text) Source #

A string, present if there are more aliases.

larsResponseStatus :: Lens' ListAliasesResponse Int Source #

  • - | The response status code.