amazonka-lambda-1.6.0: 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.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 #

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 #

See: deleteAlias smart constructor.

Instances

Eq DeleteAlias # 
Data DeleteAlias # 

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 # 
Show DeleteAlias # 
Generic DeleteAlias # 

Associated Types

type Rep DeleteAlias :: * -> * #

Hashable DeleteAlias # 
NFData DeleteAlias # 

Methods

rnf :: DeleteAlias -> () #

AWSRequest DeleteAlias # 
ToHeaders DeleteAlias # 

Methods

toHeaders :: DeleteAlias -> [Header] #

ToPath DeleteAlias # 
ToQuery DeleteAlias # 
type Rep DeleteAlias # 
type Rep DeleteAlias = D1 * (MetaData "DeleteAlias" "Network.AWS.Lambda.DeleteAlias" "amazonka-lambda-1.6.0-1S46uL4BR98AJZY1Yda4oo" 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 # 

Request Lenses

daFunctionName :: Lens' DeleteAlias Text #

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 #

Name of the alias to delete.

Destructuring the Response

deleteAliasResponse :: DeleteAliasResponse #

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

data DeleteAliasResponse #

See: deleteAliasResponse smart constructor.

Instances

Eq DeleteAliasResponse # 
Data DeleteAliasResponse # 

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 # 
Show DeleteAliasResponse # 
Generic DeleteAliasResponse # 
NFData DeleteAliasResponse # 

Methods

rnf :: DeleteAliasResponse -> () #

type Rep DeleteAliasResponse # 
type Rep DeleteAliasResponse = D1 * (MetaData "DeleteAliasResponse" "Network.AWS.Lambda.DeleteAlias" "amazonka-lambda-1.6.0-1S46uL4BR98AJZY1Yda4oo" False) (C1 * (MetaCons "DeleteAliasResponse'" PrefixI False) (U1 *))