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

Defined in Network.AWS.LexModels.DeleteBotVersion

Data DeleteBotVersion Source # 
Instance details

Defined in Network.AWS.LexModels.DeleteBotVersion

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

Defined in Network.AWS.LexModels.DeleteBotVersion

Show DeleteBotVersion Source # 
Instance details

Defined in Network.AWS.LexModels.DeleteBotVersion

Generic DeleteBotVersion Source # 
Instance details

Defined in Network.AWS.LexModels.DeleteBotVersion

Associated Types

type Rep DeleteBotVersion :: Type -> Type #

Hashable DeleteBotVersion Source # 
Instance details

Defined in Network.AWS.LexModels.DeleteBotVersion

AWSRequest DeleteBotVersion Source # 
Instance details

Defined in Network.AWS.LexModels.DeleteBotVersion

Associated Types

type Rs DeleteBotVersion :: Type #

ToHeaders DeleteBotVersion Source # 
Instance details

Defined in Network.AWS.LexModels.DeleteBotVersion

ToPath DeleteBotVersion Source # 
Instance details

Defined in Network.AWS.LexModels.DeleteBotVersion

ToQuery DeleteBotVersion Source # 
Instance details

Defined in Network.AWS.LexModels.DeleteBotVersion

NFData DeleteBotVersion Source # 
Instance details

Defined in Network.AWS.LexModels.DeleteBotVersion

Methods

rnf :: DeleteBotVersion -> () #

type Rep DeleteBotVersion Source # 
Instance details

Defined in Network.AWS.LexModels.DeleteBotVersion

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

Defined in Network.AWS.LexModels.DeleteBotVersion

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

Defined in Network.AWS.LexModels.DeleteBotVersion

Data DeleteBotVersionResponse Source # 
Instance details

Defined in Network.AWS.LexModels.DeleteBotVersion

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

Defined in Network.AWS.LexModels.DeleteBotVersion

Show DeleteBotVersionResponse Source # 
Instance details

Defined in Network.AWS.LexModels.DeleteBotVersion

Generic DeleteBotVersionResponse Source # 
Instance details

Defined in Network.AWS.LexModels.DeleteBotVersion

Associated Types

type Rep DeleteBotVersionResponse :: Type -> Type #

NFData DeleteBotVersionResponse Source # 
Instance details

Defined in Network.AWS.LexModels.DeleteBotVersion

type Rep DeleteBotVersionResponse Source # 
Instance details

Defined in Network.AWS.LexModels.DeleteBotVersion

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