amazonka-lexv2-models-2.0: Amazon Lex Model Building V2 SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.LexV2Models.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 ListAggregatedUtterances 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 utterances for a specific session. 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 ListAggregatedUtterances operation are deleted after 15 days.

Synopsis

Creating a Request

data DeleteUtterances Source #

See: newDeleteUtterances smart constructor.

Constructors

DeleteUtterances' 

Fields

Instances

Instances details
ToHeaders DeleteUtterances Source # 
Instance details

Defined in Amazonka.LexV2Models.DeleteUtterances

ToPath DeleteUtterances Source # 
Instance details

Defined in Amazonka.LexV2Models.DeleteUtterances

ToQuery DeleteUtterances Source # 
Instance details

Defined in Amazonka.LexV2Models.DeleteUtterances

AWSRequest DeleteUtterances Source # 
Instance details

Defined in Amazonka.LexV2Models.DeleteUtterances

Associated Types

type AWSResponse DeleteUtterances #

Generic DeleteUtterances Source # 
Instance details

Defined in Amazonka.LexV2Models.DeleteUtterances

Associated Types

type Rep DeleteUtterances :: Type -> Type #

Read DeleteUtterances Source # 
Instance details

Defined in Amazonka.LexV2Models.DeleteUtterances

Show DeleteUtterances Source # 
Instance details

Defined in Amazonka.LexV2Models.DeleteUtterances

NFData DeleteUtterances Source # 
Instance details

Defined in Amazonka.LexV2Models.DeleteUtterances

Methods

rnf :: DeleteUtterances -> () #

Eq DeleteUtterances Source # 
Instance details

Defined in Amazonka.LexV2Models.DeleteUtterances

Hashable DeleteUtterances Source # 
Instance details

Defined in Amazonka.LexV2Models.DeleteUtterances

type AWSResponse DeleteUtterances Source # 
Instance details

Defined in Amazonka.LexV2Models.DeleteUtterances

type Rep DeleteUtterances Source # 
Instance details

Defined in Amazonka.LexV2Models.DeleteUtterances

type Rep DeleteUtterances = D1 ('MetaData "DeleteUtterances" "Amazonka.LexV2Models.DeleteUtterances" "amazonka-lexv2-models-2.0-5mExjJXBfuO6j0ascNcayE" 'False) (C1 ('MetaCons "DeleteUtterances'" 'PrefixI 'True) (S1 ('MetaSel ('Just "localeId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "sessionId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "botId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))

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:

DeleteUtterances, deleteUtterances_localeId - The identifier of the language and locale where the utterances were collected. The string must match one of the supported locales. For more information, see Supported languages.

$sel:sessionId:DeleteUtterances', deleteUtterances_sessionId - The unique identifier of the session with the user. The ID is returned in the response from the RecognizeText and RecognizeUtterance operations.

DeleteUtterances, deleteUtterances_botId - The unique identifier of the bot that contains the utterances.

Request Lenses

deleteUtterances_localeId :: Lens' DeleteUtterances (Maybe Text) Source #

The identifier of the language and locale where the utterances were collected. The string must match one of the supported locales. For more information, see Supported languages.

deleteUtterances_sessionId :: Lens' DeleteUtterances (Maybe Text) Source #

The unique identifier of the session with the user. The ID is returned in the response from the RecognizeText and RecognizeUtterance operations.

deleteUtterances_botId :: Lens' DeleteUtterances Text Source #

The unique identifier of the bot that contains the utterances.

Destructuring the Response

data DeleteUtterancesResponse Source #

See: newDeleteUtterancesResponse smart constructor.

Constructors

DeleteUtterancesResponse' 

Fields

Instances

Instances details
Generic DeleteUtterancesResponse Source # 
Instance details

Defined in Amazonka.LexV2Models.DeleteUtterances

Associated Types

type Rep DeleteUtterancesResponse :: Type -> Type #

Read DeleteUtterancesResponse Source # 
Instance details

Defined in Amazonka.LexV2Models.DeleteUtterances

Show DeleteUtterancesResponse Source # 
Instance details

Defined in Amazonka.LexV2Models.DeleteUtterances

NFData DeleteUtterancesResponse Source # 
Instance details

Defined in Amazonka.LexV2Models.DeleteUtterances

Eq DeleteUtterancesResponse Source # 
Instance details

Defined in Amazonka.LexV2Models.DeleteUtterances

type Rep DeleteUtterancesResponse Source # 
Instance details

Defined in Amazonka.LexV2Models.DeleteUtterances

type Rep DeleteUtterancesResponse = D1 ('MetaData "DeleteUtterancesResponse" "Amazonka.LexV2Models.DeleteUtterances" "amazonka-lexv2-models-2.0-5mExjJXBfuO6j0ascNcayE" 'False) (C1 ('MetaCons "DeleteUtterancesResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newDeleteUtterancesResponse Source #

Create a value of DeleteUtterancesResponse 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:httpStatus:DeleteUtterancesResponse', deleteUtterancesResponse_httpStatus - The response's http status code.

Response Lenses