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

Description

Removes a locale from a bot.

When you delete a locale, all intents, slots, and slot types defined for the locale are also deleted.

Synopsis

Creating a Request

data DeleteBotLocale Source #

See: newDeleteBotLocale smart constructor.

Constructors

DeleteBotLocale' 

Fields

  • botId :: Text

    The unique identifier of the bot that contains the locale.

  • botVersion :: Text

    The version of the bot that contains the locale.

  • localeId :: Text

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

Instances

Instances details
ToHeaders DeleteBotLocale Source # 
Instance details

Defined in Amazonka.LexV2Models.DeleteBotLocale

ToPath DeleteBotLocale Source # 
Instance details

Defined in Amazonka.LexV2Models.DeleteBotLocale

ToQuery DeleteBotLocale Source # 
Instance details

Defined in Amazonka.LexV2Models.DeleteBotLocale

AWSRequest DeleteBotLocale Source # 
Instance details

Defined in Amazonka.LexV2Models.DeleteBotLocale

Associated Types

type AWSResponse DeleteBotLocale #

Generic DeleteBotLocale Source # 
Instance details

Defined in Amazonka.LexV2Models.DeleteBotLocale

Associated Types

type Rep DeleteBotLocale :: Type -> Type #

Read DeleteBotLocale Source # 
Instance details

Defined in Amazonka.LexV2Models.DeleteBotLocale

Show DeleteBotLocale Source # 
Instance details

Defined in Amazonka.LexV2Models.DeleteBotLocale

NFData DeleteBotLocale Source # 
Instance details

Defined in Amazonka.LexV2Models.DeleteBotLocale

Methods

rnf :: DeleteBotLocale -> () #

Eq DeleteBotLocale Source # 
Instance details

Defined in Amazonka.LexV2Models.DeleteBotLocale

Hashable DeleteBotLocale Source # 
Instance details

Defined in Amazonka.LexV2Models.DeleteBotLocale

type AWSResponse DeleteBotLocale Source # 
Instance details

Defined in Amazonka.LexV2Models.DeleteBotLocale

type Rep DeleteBotLocale Source # 
Instance details

Defined in Amazonka.LexV2Models.DeleteBotLocale

type Rep DeleteBotLocale = D1 ('MetaData "DeleteBotLocale" "Amazonka.LexV2Models.DeleteBotLocale" "amazonka-lexv2-models-2.0-5mExjJXBfuO6j0ascNcayE" 'False) (C1 ('MetaCons "DeleteBotLocale'" 'PrefixI 'True) (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))))

newDeleteBotLocale Source #

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

DeleteBotLocale, deleteBotLocale_botId - The unique identifier of the bot that contains the locale.

DeleteBotLocale, deleteBotLocale_botVersion - The version of the bot that contains the locale.

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

Request Lenses

deleteBotLocale_botId :: Lens' DeleteBotLocale Text Source #

The unique identifier of the bot that contains the locale.

deleteBotLocale_botVersion :: Lens' DeleteBotLocale Text Source #

The version of the bot that contains the locale.

deleteBotLocale_localeId :: Lens' DeleteBotLocale Text Source #

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

Destructuring the Response

data DeleteBotLocaleResponse Source #

See: newDeleteBotLocaleResponse smart constructor.

Constructors

DeleteBotLocaleResponse' 

Fields

Instances

Instances details
Generic DeleteBotLocaleResponse Source # 
Instance details

Defined in Amazonka.LexV2Models.DeleteBotLocale

Associated Types

type Rep DeleteBotLocaleResponse :: Type -> Type #

Read DeleteBotLocaleResponse Source # 
Instance details

Defined in Amazonka.LexV2Models.DeleteBotLocale

Show DeleteBotLocaleResponse Source # 
Instance details

Defined in Amazonka.LexV2Models.DeleteBotLocale

NFData DeleteBotLocaleResponse Source # 
Instance details

Defined in Amazonka.LexV2Models.DeleteBotLocale

Methods

rnf :: DeleteBotLocaleResponse -> () #

Eq DeleteBotLocaleResponse Source # 
Instance details

Defined in Amazonka.LexV2Models.DeleteBotLocale

type Rep DeleteBotLocaleResponse Source # 
Instance details

Defined in Amazonka.LexV2Models.DeleteBotLocale

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

newDeleteBotLocaleResponse Source #

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

DeleteBotLocale, deleteBotLocaleResponse_botId - The identifier of the bot that contained the deleted locale.

DeleteBotLocaleResponse, deleteBotLocaleResponse_botLocaleStatus - The status of deleting the bot locale. The locale first enters the Deleting status. Once the locale is deleted it no longer appears in the list of locales for the bot.

DeleteBotLocale, deleteBotLocaleResponse_botVersion - The version of the bot that contained the deleted locale.

DeleteBotLocale, deleteBotLocaleResponse_localeId - The language and locale of the deleted locale.

$sel:httpStatus:DeleteBotLocaleResponse', deleteBotLocaleResponse_httpStatus - The response's http status code.

Response Lenses

deleteBotLocaleResponse_botId :: Lens' DeleteBotLocaleResponse (Maybe Text) Source #

The identifier of the bot that contained the deleted locale.

deleteBotLocaleResponse_botLocaleStatus :: Lens' DeleteBotLocaleResponse (Maybe BotLocaleStatus) Source #

The status of deleting the bot locale. The locale first enters the Deleting status. Once the locale is deleted it no longer appears in the list of locales for the bot.

deleteBotLocaleResponse_botVersion :: Lens' DeleteBotLocaleResponse (Maybe Text) Source #

The version of the bot that contained the deleted locale.

deleteBotLocaleResponse_localeId :: Lens' DeleteBotLocaleResponse (Maybe Text) Source #

The language and locale of the deleted locale.