amazonka-lex-models-1.5.0: Amazon Lex Model Building Service SDK.

Copyright(c) 2013-2017 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.DeleteSlotTypeVersion

Contents

Description

Deletes a specific version of a slot type. To delete all versions of a slot type, use the DeleteSlotType operation.

This operation requires permissions for the lex:DeleteSlotTypeVersion action.

Synopsis

Creating a Request

deleteSlotTypeVersion Source #

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

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

  • dstvName - The name of the slot type.
  • dstvVersion - The version of the slot type to delete. You cannot delete the > LATEST version of the slot type. To delete the > LATEST version, use the DeleteSlotType operation.

data DeleteSlotTypeVersion Source #

See: deleteSlotTypeVersion smart constructor.

Instances

Eq DeleteSlotTypeVersion Source # 
Data DeleteSlotTypeVersion Source # 

Methods

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

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

toConstr :: DeleteSlotTypeVersion -> Constr #

dataTypeOf :: DeleteSlotTypeVersion -> DataType #

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

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

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

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

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

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

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

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

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

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

Read DeleteSlotTypeVersion Source # 
Show DeleteSlotTypeVersion Source # 
Generic DeleteSlotTypeVersion Source # 
Hashable DeleteSlotTypeVersion Source # 
NFData DeleteSlotTypeVersion Source # 

Methods

rnf :: DeleteSlotTypeVersion -> () #

AWSRequest DeleteSlotTypeVersion Source # 
ToQuery DeleteSlotTypeVersion Source # 
ToPath DeleteSlotTypeVersion Source # 
ToHeaders DeleteSlotTypeVersion Source # 
type Rep DeleteSlotTypeVersion Source # 
type Rep DeleteSlotTypeVersion = D1 (MetaData "DeleteSlotTypeVersion" "Network.AWS.LexModels.DeleteSlotTypeVersion" "amazonka-lex-models-1.5.0-9L7od5njsTvH7y9BfUkUqe" False) (C1 (MetaCons "DeleteSlotTypeVersion'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_dstvName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_dstvVersion") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))
type Rs DeleteSlotTypeVersion Source # 

Request Lenses

dstvName :: Lens' DeleteSlotTypeVersion Text Source #

The name of the slot type.

dstvVersion :: Lens' DeleteSlotTypeVersion Text Source #

The version of the slot type to delete. You cannot delete the > LATEST version of the slot type. To delete the > LATEST version, use the DeleteSlotType operation.

Destructuring the Response

deleteSlotTypeVersionResponse :: DeleteSlotTypeVersionResponse Source #

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

data DeleteSlotTypeVersionResponse Source #

See: deleteSlotTypeVersionResponse smart constructor.

Instances

Eq DeleteSlotTypeVersionResponse Source # 
Data DeleteSlotTypeVersionResponse Source # 

Methods

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

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

toConstr :: DeleteSlotTypeVersionResponse -> Constr #

dataTypeOf :: DeleteSlotTypeVersionResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read DeleteSlotTypeVersionResponse Source # 
Show DeleteSlotTypeVersionResponse Source # 
Generic DeleteSlotTypeVersionResponse Source # 
NFData DeleteSlotTypeVersionResponse Source # 
type Rep DeleteSlotTypeVersionResponse Source # 
type Rep DeleteSlotTypeVersionResponse = D1 (MetaData "DeleteSlotTypeVersionResponse" "Network.AWS.LexModels.DeleteSlotTypeVersion" "amazonka-lex-models-1.5.0-9L7od5njsTvH7y9BfUkUqe" False) (C1 (MetaCons "DeleteSlotTypeVersionResponse'" PrefixI False) U1)