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.DeleteBotVersion

Contents

Description

Deletes a specific version of a bot. To delete all versions of a bot, use the DeleteBot operation.

This operation requires permissions for the lex:DeleteBotVersion action.

Synopsis

Creating a Request

deleteBotVersion Source #

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

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

  • dbvName - The name of the bot.
  • dbvVersion - The version of the bot to delete. You cannot delete the > LATEST version of the bot. To delete the > LATEST version, use the DeleteBot operation.

data DeleteBotVersion Source #

See: deleteBotVersion smart constructor.

Instances

Eq DeleteBotVersion Source # 
Data DeleteBotVersion Source # 

Methods

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

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

toConstr :: DeleteBotVersion -> Constr #

dataTypeOf :: DeleteBotVersion -> DataType #

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

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

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

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

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

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

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

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

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

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

Read DeleteBotVersion Source # 
Show DeleteBotVersion Source # 
Generic DeleteBotVersion Source # 
Hashable DeleteBotVersion Source # 
NFData DeleteBotVersion Source # 

Methods

rnf :: DeleteBotVersion -> () #

AWSRequest DeleteBotVersion Source # 
ToHeaders DeleteBotVersion Source # 
ToPath DeleteBotVersion Source # 
ToQuery DeleteBotVersion Source # 
type Rep DeleteBotVersion Source # 
type Rep DeleteBotVersion = D1 * (MetaData "DeleteBotVersion" "Network.AWS.LexModels.DeleteBotVersion" "amazonka-lex-models-1.6.0-Iv3mghdDvOI9Mj0nI0DuS4" False) (C1 * (MetaCons "DeleteBotVersion'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_dbvName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Text)) (S1 * (MetaSel (Just Symbol "_dbvVersion") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Text))))
type Rs DeleteBotVersion Source # 

Request Lenses

dbvName :: Lens' DeleteBotVersion Text Source #

The name of the bot.

dbvVersion :: Lens' DeleteBotVersion Text Source #

The version of the bot to delete. You cannot delete the > LATEST version of the bot. To delete the > LATEST version, use the DeleteBot operation.

Destructuring the Response

deleteBotVersionResponse :: DeleteBotVersionResponse Source #

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

data DeleteBotVersionResponse Source #

See: deleteBotVersionResponse smart constructor.

Instances

Eq DeleteBotVersionResponse Source # 
Data DeleteBotVersionResponse Source # 

Methods

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

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

toConstr :: DeleteBotVersionResponse -> Constr #

dataTypeOf :: DeleteBotVersionResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read DeleteBotVersionResponse Source # 
Show DeleteBotVersionResponse Source # 
Generic DeleteBotVersionResponse Source # 
NFData DeleteBotVersionResponse Source # 
type Rep DeleteBotVersionResponse Source # 
type Rep DeleteBotVersionResponse = D1 * (MetaData "DeleteBotVersionResponse" "Network.AWS.LexModels.DeleteBotVersion" "amazonka-lex-models-1.6.0-Iv3mghdDvOI9Mj0nI0DuS4" False) (C1 * (MetaCons "DeleteBotVersionResponse'" PrefixI False) (U1 *))