amazonka-lambda-1.5.0: Amazon Lambda SDK.

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

Contents

Description

Deletes the specified Lambda function alias. For more information, see Introduction to AWS Lambda Aliases .

This requires permission for the lambda:DeleteAlias action.

Synopsis

Creating a Request

deleteAlias Source #

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

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

  • daFunctionName - The Lambda function name for which the alias is created. Deleting an alias does not delete the function version to which it is pointing. 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.
  • daName - Name of the alias to delete.

data DeleteAlias Source #

See: deleteAlias smart constructor.

Instances

Eq DeleteAlias Source # 
Data DeleteAlias Source # 

Methods

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

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

toConstr :: DeleteAlias -> Constr #

dataTypeOf :: DeleteAlias -> DataType #

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

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

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

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

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

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

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

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

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

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

Read DeleteAlias Source # 
Show DeleteAlias Source # 
Generic DeleteAlias Source # 

Associated Types

type Rep DeleteAlias :: * -> * #

Hashable DeleteAlias Source # 
NFData DeleteAlias Source # 

Methods

rnf :: DeleteAlias -> () #

AWSRequest DeleteAlias Source # 
ToQuery DeleteAlias Source # 
ToPath DeleteAlias Source # 
ToHeaders DeleteAlias Source # 

Methods

toHeaders :: DeleteAlias -> [Header] #

type Rep DeleteAlias Source # 
type Rep DeleteAlias = D1 (MetaData "DeleteAlias" "Network.AWS.Lambda.DeleteAlias" "amazonka-lambda-1.5.0-L3a8zfumEyl9xoJg9e0UyS" False) (C1 (MetaCons "DeleteAlias'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_daFunctionName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_daName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))
type Rs DeleteAlias Source # 

Request Lenses

daFunctionName :: Lens' DeleteAlias Text Source #

The Lambda function name for which the alias is created. Deleting an alias does not delete the function version to which it is pointing. 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.

daName :: Lens' DeleteAlias Text Source #

Name of the alias to delete.

Destructuring the Response

deleteAliasResponse :: DeleteAliasResponse Source #

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

data DeleteAliasResponse Source #

See: deleteAliasResponse smart constructor.

Instances

Eq DeleteAliasResponse Source # 
Data DeleteAliasResponse Source # 

Methods

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

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

toConstr :: DeleteAliasResponse -> Constr #

dataTypeOf :: DeleteAliasResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read DeleteAliasResponse Source # 
Show DeleteAliasResponse Source # 
Generic DeleteAliasResponse Source # 
NFData DeleteAliasResponse Source # 

Methods

rnf :: DeleteAliasResponse -> () #

type Rep DeleteAliasResponse Source # 
type Rep DeleteAliasResponse = D1 (MetaData "DeleteAliasResponse" "Network.AWS.Lambda.DeleteAlias" "amazonka-lambda-1.5.0-L3a8zfumEyl9xoJg9e0UyS" False) (C1 (MetaCons "DeleteAliasResponse'" PrefixI False) U1)