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

Contents

Description

Deletes all versions of the slot type, including the > LATEST version. To delete a specific version of the slot type, use the DeleteSlotTypeVersion operation.

You can delete a version of a slot type only if it is not referenced. To delete a slot type that is referred to in one or more intents, you must remove those references first.

This operation requires permission for the lex:DeleteSlotType action.

Synopsis

Creating a Request

deleteSlotType Source #

Arguments

:: Text

dstName

-> DeleteSlotType 

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

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

  • dstName - The name of the slot type. The name is case sensitive.

data DeleteSlotType Source #

See: deleteSlotType smart constructor.

Instances

Eq DeleteSlotType Source # 
Data DeleteSlotType Source # 

Methods

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

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

toConstr :: DeleteSlotType -> Constr #

dataTypeOf :: DeleteSlotType -> DataType #

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

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

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

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

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

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

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

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

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

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

Read DeleteSlotType Source # 
Show DeleteSlotType Source # 
Generic DeleteSlotType Source # 

Associated Types

type Rep DeleteSlotType :: * -> * #

Hashable DeleteSlotType Source # 
NFData DeleteSlotType Source # 

Methods

rnf :: DeleteSlotType -> () #

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

Request Lenses

dstName :: Lens' DeleteSlotType Text Source #

The name of the slot type. The name is case sensitive.

Destructuring the Response

deleteSlotTypeResponse :: DeleteSlotTypeResponse Source #

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

data DeleteSlotTypeResponse Source #

See: deleteSlotTypeResponse smart constructor.

Instances

Eq DeleteSlotTypeResponse Source # 
Data DeleteSlotTypeResponse Source # 

Methods

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

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

toConstr :: DeleteSlotTypeResponse -> Constr #

dataTypeOf :: DeleteSlotTypeResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read DeleteSlotTypeResponse Source # 
Show DeleteSlotTypeResponse Source # 
Generic DeleteSlotTypeResponse Source # 
NFData DeleteSlotTypeResponse Source # 

Methods

rnf :: DeleteSlotTypeResponse -> () #

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