amazonka-lex-models-1.6.1: Amazon Lex Model Building Service 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.LexModels.DeleteBotAlias

Contents

Description

Deletes an alias for the specified bot.

You can't delete an alias that is used in the association between a bot and a messaging channel. If an alias is used in a channel association, the DeleteBot operation returns a ResourceInUseException exception that includes a reference to the channel association that refers to the bot. You can remove the reference to the alias by deleting the channel association. If you get the same exception again, delete the referring association until the DeleteBotAlias operation is successful.

Synopsis

Creating a Request

deleteBotAlias Source #

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

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

  • dbaName - The name of the alias to delete. The name is case sensitive.
  • dbaBotName - The name of the bot that the alias points to.

data DeleteBotAlias Source #

See: deleteBotAlias smart constructor.

Instances
Eq DeleteBotAlias Source # 
Instance details

Defined in Network.AWS.LexModels.DeleteBotAlias

Data DeleteBotAlias Source # 
Instance details

Defined in Network.AWS.LexModels.DeleteBotAlias

Methods

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

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

toConstr :: DeleteBotAlias -> Constr #

dataTypeOf :: DeleteBotAlias -> DataType #

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

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

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

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

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

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

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

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

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

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

Read DeleteBotAlias Source # 
Instance details

Defined in Network.AWS.LexModels.DeleteBotAlias

Show DeleteBotAlias Source # 
Instance details

Defined in Network.AWS.LexModels.DeleteBotAlias

Generic DeleteBotAlias Source # 
Instance details

Defined in Network.AWS.LexModels.DeleteBotAlias

Associated Types

type Rep DeleteBotAlias :: Type -> Type #

Hashable DeleteBotAlias Source # 
Instance details

Defined in Network.AWS.LexModels.DeleteBotAlias

AWSRequest DeleteBotAlias Source # 
Instance details

Defined in Network.AWS.LexModels.DeleteBotAlias

Associated Types

type Rs DeleteBotAlias :: Type #

ToHeaders DeleteBotAlias Source # 
Instance details

Defined in Network.AWS.LexModels.DeleteBotAlias

ToPath DeleteBotAlias Source # 
Instance details

Defined in Network.AWS.LexModels.DeleteBotAlias

ToQuery DeleteBotAlias Source # 
Instance details

Defined in Network.AWS.LexModels.DeleteBotAlias

NFData DeleteBotAlias Source # 
Instance details

Defined in Network.AWS.LexModels.DeleteBotAlias

Methods

rnf :: DeleteBotAlias -> () #

type Rep DeleteBotAlias Source # 
Instance details

Defined in Network.AWS.LexModels.DeleteBotAlias

type Rep DeleteBotAlias = D1 (MetaData "DeleteBotAlias" "Network.AWS.LexModels.DeleteBotAlias" "amazonka-lex-models-1.6.1-16JSA2D34IH7p8RxcjidTj" False) (C1 (MetaCons "DeleteBotAlias'" PrefixI True) (S1 (MetaSel (Just "_dbaName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_dbaBotName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))
type Rs DeleteBotAlias Source # 
Instance details

Defined in Network.AWS.LexModels.DeleteBotAlias

Request Lenses

dbaName :: Lens' DeleteBotAlias Text Source #

The name of the alias to delete. The name is case sensitive.

dbaBotName :: Lens' DeleteBotAlias Text Source #

The name of the bot that the alias points to.

Destructuring the Response

deleteBotAliasResponse :: DeleteBotAliasResponse Source #

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

data DeleteBotAliasResponse Source #

See: deleteBotAliasResponse smart constructor.

Instances
Eq DeleteBotAliasResponse Source # 
Instance details

Defined in Network.AWS.LexModels.DeleteBotAlias

Data DeleteBotAliasResponse Source # 
Instance details

Defined in Network.AWS.LexModels.DeleteBotAlias

Methods

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

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

toConstr :: DeleteBotAliasResponse -> Constr #

dataTypeOf :: DeleteBotAliasResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read DeleteBotAliasResponse Source # 
Instance details

Defined in Network.AWS.LexModels.DeleteBotAlias

Show DeleteBotAliasResponse Source # 
Instance details

Defined in Network.AWS.LexModels.DeleteBotAlias

Generic DeleteBotAliasResponse Source # 
Instance details

Defined in Network.AWS.LexModels.DeleteBotAlias

Associated Types

type Rep DeleteBotAliasResponse :: Type -> Type #

NFData DeleteBotAliasResponse Source # 
Instance details

Defined in Network.AWS.LexModels.DeleteBotAlias

Methods

rnf :: DeleteBotAliasResponse -> () #

type Rep DeleteBotAliasResponse Source # 
Instance details

Defined in Network.AWS.LexModels.DeleteBotAlias

type Rep DeleteBotAliasResponse = D1 (MetaData "DeleteBotAliasResponse" "Network.AWS.LexModels.DeleteBotAlias" "amazonka-lex-models-1.6.1-16JSA2D34IH7p8RxcjidTj" False) (C1 (MetaCons "DeleteBotAliasResponse'" PrefixI False) (U1 :: Type -> Type))