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

Defined in Network.AWS.LexModels.DeleteSlotType

Data DeleteSlotType Source # 
Instance details

Defined in Network.AWS.LexModels.DeleteSlotType

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

Defined in Network.AWS.LexModels.DeleteSlotType

Show DeleteSlotType Source # 
Instance details

Defined in Network.AWS.LexModels.DeleteSlotType

Generic DeleteSlotType Source # 
Instance details

Defined in Network.AWS.LexModels.DeleteSlotType

Associated Types

type Rep DeleteSlotType :: Type -> Type #

Hashable DeleteSlotType Source # 
Instance details

Defined in Network.AWS.LexModels.DeleteSlotType

AWSRequest DeleteSlotType Source # 
Instance details

Defined in Network.AWS.LexModels.DeleteSlotType

Associated Types

type Rs DeleteSlotType :: Type #

ToHeaders DeleteSlotType Source # 
Instance details

Defined in Network.AWS.LexModels.DeleteSlotType

ToPath DeleteSlotType Source # 
Instance details

Defined in Network.AWS.LexModels.DeleteSlotType

ToQuery DeleteSlotType Source # 
Instance details

Defined in Network.AWS.LexModels.DeleteSlotType

NFData DeleteSlotType Source # 
Instance details

Defined in Network.AWS.LexModels.DeleteSlotType

Methods

rnf :: DeleteSlotType -> () #

type Rep DeleteSlotType Source # 
Instance details

Defined in Network.AWS.LexModels.DeleteSlotType

type Rep DeleteSlotType = D1 (MetaData "DeleteSlotType" "Network.AWS.LexModels.DeleteSlotType" "amazonka-lex-models-1.6.1-16JSA2D34IH7p8RxcjidTj" True) (C1 (MetaCons "DeleteSlotType'" PrefixI True) (S1 (MetaSel (Just "_dstName") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text)))
type Rs DeleteSlotType Source # 
Instance details

Defined in Network.AWS.LexModels.DeleteSlotType

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

Defined in Network.AWS.LexModels.DeleteSlotType

Data DeleteSlotTypeResponse Source # 
Instance details

Defined in Network.AWS.LexModels.DeleteSlotType

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

Defined in Network.AWS.LexModels.DeleteSlotType

Show DeleteSlotTypeResponse Source # 
Instance details

Defined in Network.AWS.LexModels.DeleteSlotType

Generic DeleteSlotTypeResponse Source # 
Instance details

Defined in Network.AWS.LexModels.DeleteSlotType

Associated Types

type Rep DeleteSlotTypeResponse :: Type -> Type #

NFData DeleteSlotTypeResponse Source # 
Instance details

Defined in Network.AWS.LexModels.DeleteSlotType

Methods

rnf :: DeleteSlotTypeResponse -> () #

type Rep DeleteSlotTypeResponse Source # 
Instance details

Defined in Network.AWS.LexModels.DeleteSlotType

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