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

Defined in Network.AWS.LexModels.DeleteUtterances

Data DeleteUtterances Source # 
Instance details

Defined in Network.AWS.LexModels.DeleteUtterances

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

Defined in Network.AWS.LexModels.DeleteUtterances

Show DeleteUtterances Source # 
Instance details

Defined in Network.AWS.LexModels.DeleteUtterances

Generic DeleteUtterances Source # 
Instance details

Defined in Network.AWS.LexModels.DeleteUtterances

Associated Types

type Rep DeleteUtterances :: Type -> Type #

Hashable DeleteUtterances Source # 
Instance details

Defined in Network.AWS.LexModels.DeleteUtterances

AWSRequest DeleteUtterances Source # 
Instance details

Defined in Network.AWS.LexModels.DeleteUtterances

Associated Types

type Rs DeleteUtterances :: Type #

ToHeaders DeleteUtterances Source # 
Instance details

Defined in Network.AWS.LexModels.DeleteUtterances

ToPath DeleteUtterances Source # 
Instance details

Defined in Network.AWS.LexModels.DeleteUtterances

ToQuery DeleteUtterances Source # 
Instance details

Defined in Network.AWS.LexModels.DeleteUtterances

NFData DeleteUtterances Source # 
Instance details

Defined in Network.AWS.LexModels.DeleteUtterances

Methods

rnf :: DeleteUtterances -> () #

type Rep DeleteUtterances Source # 
Instance details

Defined in Network.AWS.LexModels.DeleteUtterances

type Rep DeleteUtterances = D1 (MetaData "DeleteUtterances" "Network.AWS.LexModels.DeleteUtterances" "amazonka-lex-models-1.6.1-16JSA2D34IH7p8RxcjidTj" False) (C1 (MetaCons "DeleteUtterances'" PrefixI True) (S1 (MetaSel (Just "_duBotName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_duUserId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))
type Rs DeleteUtterances Source # 
Instance details

Defined in Network.AWS.LexModels.DeleteUtterances

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

Defined in Network.AWS.LexModels.DeleteUtterances

Data DeleteUtterancesResponse Source # 
Instance details

Defined in Network.AWS.LexModels.DeleteUtterances

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

Defined in Network.AWS.LexModels.DeleteUtterances

Show DeleteUtterancesResponse Source # 
Instance details

Defined in Network.AWS.LexModels.DeleteUtterances

Generic DeleteUtterancesResponse Source # 
Instance details

Defined in Network.AWS.LexModels.DeleteUtterances

Associated Types

type Rep DeleteUtterancesResponse :: Type -> Type #

NFData DeleteUtterancesResponse Source # 
Instance details

Defined in Network.AWS.LexModels.DeleteUtterances

type Rep DeleteUtterancesResponse Source # 
Instance details

Defined in Network.AWS.LexModels.DeleteUtterances

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