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.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 # 
Instance details

Defined in Network.AWS.Lambda.DeleteAlias

Data DeleteAlias Source # 
Instance details

Defined in Network.AWS.Lambda.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 Source # 
Instance details

Defined in Network.AWS.Lambda.DeleteAlias

Show DeleteAlias Source # 
Instance details

Defined in Network.AWS.Lambda.DeleteAlias

Generic DeleteAlias Source # 
Instance details

Defined in Network.AWS.Lambda.DeleteAlias

Associated Types

type Rep DeleteAlias :: Type -> Type #

Hashable DeleteAlias Source # 
Instance details

Defined in Network.AWS.Lambda.DeleteAlias

AWSRequest DeleteAlias Source # 
Instance details

Defined in Network.AWS.Lambda.DeleteAlias

Associated Types

type Rs DeleteAlias :: Type #

ToHeaders DeleteAlias Source # 
Instance details

Defined in Network.AWS.Lambda.DeleteAlias

Methods

toHeaders :: DeleteAlias -> [Header] #

ToPath DeleteAlias Source # 
Instance details

Defined in Network.AWS.Lambda.DeleteAlias

ToQuery DeleteAlias Source # 
Instance details

Defined in Network.AWS.Lambda.DeleteAlias

NFData DeleteAlias Source # 
Instance details

Defined in Network.AWS.Lambda.DeleteAlias

Methods

rnf :: DeleteAlias -> () #

type Rep DeleteAlias Source # 
Instance details

Defined in Network.AWS.Lambda.DeleteAlias

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

Defined in Network.AWS.Lambda.DeleteAlias

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 # 
Instance details

Defined in Network.AWS.Lambda.DeleteAlias

Data DeleteAliasResponse Source # 
Instance details

Defined in Network.AWS.Lambda.DeleteAlias

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 # 
Instance details

Defined in Network.AWS.Lambda.DeleteAlias

Show DeleteAliasResponse Source # 
Instance details

Defined in Network.AWS.Lambda.DeleteAlias

Generic DeleteAliasResponse Source # 
Instance details

Defined in Network.AWS.Lambda.DeleteAlias

Associated Types

type Rep DeleteAliasResponse :: Type -> Type #

NFData DeleteAliasResponse Source # 
Instance details

Defined in Network.AWS.Lambda.DeleteAlias

Methods

rnf :: DeleteAliasResponse -> () #

type Rep DeleteAliasResponse Source # 
Instance details

Defined in Network.AWS.Lambda.DeleteAlias

type Rep DeleteAliasResponse = D1 (MetaData "DeleteAliasResponse" "Network.AWS.Lambda.DeleteAlias" "amazonka-lambda-1.6.1-KQvkrTCQjBWL6Bwjq8xw0f" False) (C1 (MetaCons "DeleteAliasResponse'" PrefixI False) (U1 :: Type -> Type))