amazonka-lex-models-1.6.0: 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.DeleteBot

Contents

Description

Deletes all versions of the bot, including the > LATEST version. To delete a specific version of the bot, use the DeleteBotVersion operation.

If a bot has an alias, you can't delete it. Instead, the DeleteBot operation returns a ResourceInUseException exception that includes a reference to the alias that refers to the bot. To remove the reference to the bot, delete the alias. If you get the same exception again, delete the referring alias until the DeleteBot operation is successful.

This operation requires permissions for the lex:DeleteBot action.

Synopsis

Creating a Request

deleteBot Source #

Arguments

:: Text

dbName

-> DeleteBot 

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

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

  • dbName - The name of the bot. The name is case sensitive.

data DeleteBot Source #

See: deleteBot smart constructor.

Instances

Eq DeleteBot Source # 
Data DeleteBot Source # 

Methods

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

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

toConstr :: DeleteBot -> Constr #

dataTypeOf :: DeleteBot -> DataType #

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

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

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

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

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

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

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

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

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

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

Read DeleteBot Source # 
Show DeleteBot Source # 
Generic DeleteBot Source # 

Associated Types

type Rep DeleteBot :: * -> * #

Hashable DeleteBot Source # 
NFData DeleteBot Source # 

Methods

rnf :: DeleteBot -> () #

AWSRequest DeleteBot Source # 
ToHeaders DeleteBot Source # 

Methods

toHeaders :: DeleteBot -> [Header] #

ToPath DeleteBot Source # 
ToQuery DeleteBot Source # 
type Rep DeleteBot Source # 
type Rep DeleteBot = D1 * (MetaData "DeleteBot" "Network.AWS.LexModels.DeleteBot" "amazonka-lex-models-1.6.0-Iv3mghdDvOI9Mj0nI0DuS4" True) (C1 * (MetaCons "DeleteBot'" PrefixI True) (S1 * (MetaSel (Just Symbol "_dbName") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * Text)))
type Rs DeleteBot Source # 

Request Lenses

dbName :: Lens' DeleteBot Text Source #

The name of the bot. The name is case sensitive.

Destructuring the Response

deleteBotResponse :: DeleteBotResponse Source #

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

data DeleteBotResponse Source #

See: deleteBotResponse smart constructor.

Instances

Eq DeleteBotResponse Source # 
Data DeleteBotResponse Source # 

Methods

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

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

toConstr :: DeleteBotResponse -> Constr #

dataTypeOf :: DeleteBotResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read DeleteBotResponse Source # 
Show DeleteBotResponse Source # 
Generic DeleteBotResponse Source # 
NFData DeleteBotResponse Source # 

Methods

rnf :: DeleteBotResponse -> () #

type Rep DeleteBotResponse Source # 
type Rep DeleteBotResponse = D1 * (MetaData "DeleteBotResponse" "Network.AWS.LexModels.DeleteBot" "amazonka-lex-models-1.6.0-Iv3mghdDvOI9Mj0nI0DuS4" False) (C1 * (MetaCons "DeleteBotResponse'" PrefixI False) (U1 *))