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

Description

Removes the specified intent.

Deleting an intent also deletes the slots associated with the intent.

Synopsis

Creating a Request

data DeleteIntent Source #

See: newDeleteIntent smart constructor.

Constructors

DeleteIntent' 

Fields

  • intentId :: Text

    The unique identifier of the intent to delete.

  • botId :: Text

    The identifier of the bot associated with the intent.

  • botVersion :: Text

    The version of the bot associated with the intent.

  • localeId :: Text

    The identifier of the language and locale where the bot will be deleted. The string must match one of the supported locales. For more information, see Supported languages.

Instances

Instances details
ToHeaders DeleteIntent Source # 
Instance details

Defined in Amazonka.LexV2Models.DeleteIntent

ToPath DeleteIntent Source # 
Instance details

Defined in Amazonka.LexV2Models.DeleteIntent

ToQuery DeleteIntent Source # 
Instance details

Defined in Amazonka.LexV2Models.DeleteIntent

AWSRequest DeleteIntent Source # 
Instance details

Defined in Amazonka.LexV2Models.DeleteIntent

Associated Types

type AWSResponse DeleteIntent #

Generic DeleteIntent Source # 
Instance details

Defined in Amazonka.LexV2Models.DeleteIntent

Associated Types

type Rep DeleteIntent :: Type -> Type #

Read DeleteIntent Source # 
Instance details

Defined in Amazonka.LexV2Models.DeleteIntent

Show DeleteIntent Source # 
Instance details

Defined in Amazonka.LexV2Models.DeleteIntent

NFData DeleteIntent Source # 
Instance details

Defined in Amazonka.LexV2Models.DeleteIntent

Methods

rnf :: DeleteIntent -> () #

Eq DeleteIntent Source # 
Instance details

Defined in Amazonka.LexV2Models.DeleteIntent

Hashable DeleteIntent Source # 
Instance details

Defined in Amazonka.LexV2Models.DeleteIntent

type AWSResponse DeleteIntent Source # 
Instance details

Defined in Amazonka.LexV2Models.DeleteIntent

type Rep DeleteIntent Source # 
Instance details

Defined in Amazonka.LexV2Models.DeleteIntent

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

newDeleteIntent Source #

Create a value of DeleteIntent 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:

DeleteIntent, deleteIntent_intentId - The unique identifier of the intent to delete.

DeleteIntent, deleteIntent_botId - The identifier of the bot associated with the intent.

DeleteIntent, deleteIntent_botVersion - The version of the bot associated with the intent.

DeleteIntent, deleteIntent_localeId - The identifier of the language and locale where the bot will be deleted. The string must match one of the supported locales. For more information, see Supported languages.

Request Lenses

deleteIntent_intentId :: Lens' DeleteIntent Text Source #

The unique identifier of the intent to delete.

deleteIntent_botId :: Lens' DeleteIntent Text Source #

The identifier of the bot associated with the intent.

deleteIntent_botVersion :: Lens' DeleteIntent Text Source #

The version of the bot associated with the intent.

deleteIntent_localeId :: Lens' DeleteIntent Text Source #

The identifier of the language and locale where the bot will be deleted. The string must match one of the supported locales. For more information, see Supported languages.

Destructuring the Response

data DeleteIntentResponse Source #

See: newDeleteIntentResponse smart constructor.

Constructors

DeleteIntentResponse' 

Instances

Instances details
Generic DeleteIntentResponse Source # 
Instance details

Defined in Amazonka.LexV2Models.DeleteIntent

Associated Types

type Rep DeleteIntentResponse :: Type -> Type #

Read DeleteIntentResponse Source # 
Instance details

Defined in Amazonka.LexV2Models.DeleteIntent

Show DeleteIntentResponse Source # 
Instance details

Defined in Amazonka.LexV2Models.DeleteIntent

NFData DeleteIntentResponse Source # 
Instance details

Defined in Amazonka.LexV2Models.DeleteIntent

Methods

rnf :: DeleteIntentResponse -> () #

Eq DeleteIntentResponse Source # 
Instance details

Defined in Amazonka.LexV2Models.DeleteIntent

type Rep DeleteIntentResponse Source # 
Instance details

Defined in Amazonka.LexV2Models.DeleteIntent

type Rep DeleteIntentResponse = D1 ('MetaData "DeleteIntentResponse" "Amazonka.LexV2Models.DeleteIntent" "amazonka-lexv2-models-2.0-5mExjJXBfuO6j0ascNcayE" 'False) (C1 ('MetaCons "DeleteIntentResponse'" 'PrefixI 'False) (U1 :: Type -> Type))

newDeleteIntentResponse :: DeleteIntentResponse Source #

Create a value of DeleteIntentResponse with all optional fields omitted.

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