libZSservicesZSamazonka-lex-modelsZSamazonka-lex-models
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.LexModels.DeleteUtterances

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 DeleteUtterances operation to manually delete stored utterances for a specific user. When you use the DeleteUtterances operation, utterances stored for improving your bot's ability to respond to user input are deleted immediately. Utterances stored for use with the GetUtterancesView operation are deleted after 15 days.

This operation requires permissions for the lex:DeleteUtterances action.

Synopsis

Creating a Request

data DeleteUtterances Source #

See: newDeleteUtterances smart constructor.

Constructors

DeleteUtterances' 

Fields

  • botName :: Text

    The name of the bot that stored the utterances.

  • userId :: Text

    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.

Instances

Instances details
Eq DeleteUtterances Source # 
Instance details

Defined in Amazonka.LexModels.DeleteUtterances

Read DeleteUtterances Source # 
Instance details

Defined in Amazonka.LexModels.DeleteUtterances

Show DeleteUtterances Source # 
Instance details

Defined in Amazonka.LexModels.DeleteUtterances

Generic DeleteUtterances Source # 
Instance details

Defined in Amazonka.LexModels.DeleteUtterances

Associated Types

type Rep DeleteUtterances :: Type -> Type #

NFData DeleteUtterances Source # 
Instance details

Defined in Amazonka.LexModels.DeleteUtterances

Methods

rnf :: DeleteUtterances -> () #

Hashable DeleteUtterances Source # 
Instance details

Defined in Amazonka.LexModels.DeleteUtterances

AWSRequest DeleteUtterances Source # 
Instance details

Defined in Amazonka.LexModels.DeleteUtterances

Associated Types

type AWSResponse DeleteUtterances #

ToHeaders DeleteUtterances Source # 
Instance details

Defined in Amazonka.LexModels.DeleteUtterances

ToPath DeleteUtterances Source # 
Instance details

Defined in Amazonka.LexModels.DeleteUtterances

ToQuery DeleteUtterances Source # 
Instance details

Defined in Amazonka.LexModels.DeleteUtterances

type Rep DeleteUtterances Source # 
Instance details

Defined in Amazonka.LexModels.DeleteUtterances

type Rep DeleteUtterances = D1 ('MetaData "DeleteUtterances" "Amazonka.LexModels.DeleteUtterances" "libZSservicesZSamazonka-lex-modelsZSamazonka-lex-models" 'False) (C1 ('MetaCons "DeleteUtterances'" 'PrefixI 'True) (S1 ('MetaSel ('Just "botName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "userId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse DeleteUtterances Source # 
Instance details

Defined in Amazonka.LexModels.DeleteUtterances

newDeleteUtterances Source #

Create a value of DeleteUtterances with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:botName:DeleteUtterances', deleteUtterances_botName - The name of the bot that stored the utterances.

$sel:userId:DeleteUtterances', deleteUtterances_userId - 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.

Request Lenses

deleteUtterances_botName :: Lens' DeleteUtterances Text Source #

The name of the bot that stored the utterances.

deleteUtterances_userId :: 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

data DeleteUtterancesResponse Source #

See: newDeleteUtterancesResponse smart constructor.

Instances

Instances details
Eq DeleteUtterancesResponse Source # 
Instance details

Defined in Amazonka.LexModels.DeleteUtterances

Read DeleteUtterancesResponse Source # 
Instance details

Defined in Amazonka.LexModels.DeleteUtterances

Show DeleteUtterancesResponse Source # 
Instance details

Defined in Amazonka.LexModels.DeleteUtterances

Generic DeleteUtterancesResponse Source # 
Instance details

Defined in Amazonka.LexModels.DeleteUtterances

Associated Types

type Rep DeleteUtterancesResponse :: Type -> Type #

NFData DeleteUtterancesResponse Source # 
Instance details

Defined in Amazonka.LexModels.DeleteUtterances

type Rep DeleteUtterancesResponse Source # 
Instance details

Defined in Amazonka.LexModels.DeleteUtterances

type Rep DeleteUtterancesResponse = D1 ('MetaData "DeleteUtterancesResponse" "Amazonka.LexModels.DeleteUtterances" "libZSservicesZSamazonka-lex-modelsZSamazonka-lex-models" 'False) (C1 ('MetaCons "DeleteUtterancesResponse'" 'PrefixI 'False) (U1 :: Type -> Type))

newDeleteUtterancesResponse :: DeleteUtterancesResponse Source #

Create a value of DeleteUtterancesResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.