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

Contents

Description

Deletes all versions of the intent, including the > LATEST version. To delete a specific version of the intent, use the DeleteIntentVersion operation.

You can delete a version of an intent only if it is not referenced. To delete an intent that is referred to in one or more bots (see 'how-it-works' ), you must remove those references first.

This operation requires permission for the lex:DeleteIntent action.

Synopsis

Creating a Request

deleteIntent Source #

Arguments

:: Text

diName

-> DeleteIntent 

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

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

  • diName - The name of the intent. The name is case sensitive.

data DeleteIntent Source #

See: deleteIntent smart constructor.

Instances
Eq DeleteIntent Source # 
Instance details

Defined in Network.AWS.LexModels.DeleteIntent

Data DeleteIntent Source # 
Instance details

Defined in Network.AWS.LexModels.DeleteIntent

Methods

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

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

toConstr :: DeleteIntent -> Constr #

dataTypeOf :: DeleteIntent -> DataType #

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

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

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

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

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

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

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

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

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

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

Read DeleteIntent Source # 
Instance details

Defined in Network.AWS.LexModels.DeleteIntent

Show DeleteIntent Source # 
Instance details

Defined in Network.AWS.LexModels.DeleteIntent

Generic DeleteIntent Source # 
Instance details

Defined in Network.AWS.LexModels.DeleteIntent

Associated Types

type Rep DeleteIntent :: Type -> Type #

Hashable DeleteIntent Source # 
Instance details

Defined in Network.AWS.LexModels.DeleteIntent

AWSRequest DeleteIntent Source # 
Instance details

Defined in Network.AWS.LexModels.DeleteIntent

Associated Types

type Rs DeleteIntent :: Type #

ToHeaders DeleteIntent Source # 
Instance details

Defined in Network.AWS.LexModels.DeleteIntent

ToPath DeleteIntent Source # 
Instance details

Defined in Network.AWS.LexModels.DeleteIntent

ToQuery DeleteIntent Source # 
Instance details

Defined in Network.AWS.LexModels.DeleteIntent

NFData DeleteIntent Source # 
Instance details

Defined in Network.AWS.LexModels.DeleteIntent

Methods

rnf :: DeleteIntent -> () #

type Rep DeleteIntent Source # 
Instance details

Defined in Network.AWS.LexModels.DeleteIntent

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

Defined in Network.AWS.LexModels.DeleteIntent

Request Lenses

diName :: Lens' DeleteIntent Text Source #

The name of the intent. The name is case sensitive.

Destructuring the Response

deleteIntentResponse :: DeleteIntentResponse Source #

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

data DeleteIntentResponse Source #

See: deleteIntentResponse smart constructor.

Instances
Eq DeleteIntentResponse Source # 
Instance details

Defined in Network.AWS.LexModels.DeleteIntent

Data DeleteIntentResponse Source # 
Instance details

Defined in Network.AWS.LexModels.DeleteIntent

Methods

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

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

toConstr :: DeleteIntentResponse -> Constr #

dataTypeOf :: DeleteIntentResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read DeleteIntentResponse Source # 
Instance details

Defined in Network.AWS.LexModels.DeleteIntent

Show DeleteIntentResponse Source # 
Instance details

Defined in Network.AWS.LexModels.DeleteIntent

Generic DeleteIntentResponse Source # 
Instance details

Defined in Network.AWS.LexModels.DeleteIntent

Associated Types

type Rep DeleteIntentResponse :: Type -> Type #

NFData DeleteIntentResponse Source # 
Instance details

Defined in Network.AWS.LexModels.DeleteIntent

Methods

rnf :: DeleteIntentResponse -> () #

type Rep DeleteIntentResponse Source # 
Instance details

Defined in Network.AWS.LexModels.DeleteIntent

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