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

Contents

Description

Deletes stored utterances.

Amazon Lex stores the utterances that users send to your bot. Utterances are stored for 15 days for use with the GetUtterancesView operation, and then stored indefinitely for use in improving the ability of your bot to respond to user input.

Use the DeleteStoredUtterances operation to manually delete stored utterances for a specific user.

This operation requires permissions for the lex:DeleteUtterances action.

Synopsis

Creating a Request

deleteUtterances Source #

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

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

  • duBotName - The name of the bot that stored the utterances.
  • duUserId - The unique identifier for the user that made the utterances. This is the user ID that was sent in the PostContent or PostText operation request that contained the utterance.

data DeleteUtterances Source #

See: deleteUtterances smart constructor.

Instances

Eq DeleteUtterances Source # 
Data DeleteUtterances Source # 

Methods

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

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

toConstr :: DeleteUtterances -> Constr #

dataTypeOf :: DeleteUtterances -> DataType #

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

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

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

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

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

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

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

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

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

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

Read DeleteUtterances Source # 
Show DeleteUtterances Source # 
Generic DeleteUtterances Source # 
Hashable DeleteUtterances Source # 
NFData DeleteUtterances Source # 

Methods

rnf :: DeleteUtterances -> () #

AWSRequest DeleteUtterances Source # 
ToHeaders DeleteUtterances Source # 
ToPath DeleteUtterances Source # 
ToQuery DeleteUtterances Source # 
type Rep DeleteUtterances Source # 
type Rep DeleteUtterances = D1 * (MetaData "DeleteUtterances" "Network.AWS.LexModels.DeleteUtterances" "amazonka-lex-models-1.6.0-Iv3mghdDvOI9Mj0nI0DuS4" False) (C1 * (MetaCons "DeleteUtterances'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_duBotName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Text)) (S1 * (MetaSel (Just Symbol "_duUserId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Text))))
type Rs DeleteUtterances Source # 

Request Lenses

duBotName :: Lens' DeleteUtterances Text Source #

The name of the bot that stored the utterances.

duUserId :: Lens' DeleteUtterances Text Source #

The unique identifier for the user that made the utterances. This is the user ID that was sent in the PostContent or PostText operation request that contained the utterance.

Destructuring the Response

deleteUtterancesResponse :: DeleteUtterancesResponse Source #

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

data DeleteUtterancesResponse Source #

See: deleteUtterancesResponse smart constructor.

Instances

Eq DeleteUtterancesResponse Source # 
Data DeleteUtterancesResponse Source # 

Methods

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

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

toConstr :: DeleteUtterancesResponse -> Constr #

dataTypeOf :: DeleteUtterancesResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read DeleteUtterancesResponse Source # 
Show DeleteUtterancesResponse Source # 
Generic DeleteUtterancesResponse Source # 
NFData DeleteUtterancesResponse Source # 
type Rep DeleteUtterancesResponse Source # 
type Rep DeleteUtterancesResponse = D1 * (MetaData "DeleteUtterancesResponse" "Network.AWS.LexModels.DeleteUtterances" "amazonka-lex-models-1.6.0-Iv3mghdDvOI9Mj0nI0DuS4" False) (C1 * (MetaCons "DeleteUtterancesResponse'" PrefixI False) (U1 *))