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

Description

Describes the settings that a bot has for a specific locale.

Synopsis

Creating a Request

data DescribeBotLocale Source #

See: newDescribeBotLocale smart constructor.

Constructors

DescribeBotLocale' 

Fields

  • botId :: Text

    The identifier of the bot associated with the locale.

  • botVersion :: Text

    The identifier of the version of the bot associated with the locale.

  • localeId :: Text

    The unique identifier of the locale to describe. The string must match one of the supported locales. For more information, see Supported languages.

Instances

Instances details
ToHeaders DescribeBotLocale Source # 
Instance details

Defined in Amazonka.LexV2Models.DescribeBotLocale

ToPath DescribeBotLocale Source # 
Instance details

Defined in Amazonka.LexV2Models.DescribeBotLocale

ToQuery DescribeBotLocale Source # 
Instance details

Defined in Amazonka.LexV2Models.DescribeBotLocale

AWSRequest DescribeBotLocale Source # 
Instance details

Defined in Amazonka.LexV2Models.DescribeBotLocale

Associated Types

type AWSResponse DescribeBotLocale #

Generic DescribeBotLocale Source # 
Instance details

Defined in Amazonka.LexV2Models.DescribeBotLocale

Associated Types

type Rep DescribeBotLocale :: Type -> Type #

Read DescribeBotLocale Source # 
Instance details

Defined in Amazonka.LexV2Models.DescribeBotLocale

Show DescribeBotLocale Source # 
Instance details

Defined in Amazonka.LexV2Models.DescribeBotLocale

NFData DescribeBotLocale Source # 
Instance details

Defined in Amazonka.LexV2Models.DescribeBotLocale

Methods

rnf :: DescribeBotLocale -> () #

Eq DescribeBotLocale Source # 
Instance details

Defined in Amazonka.LexV2Models.DescribeBotLocale

Hashable DescribeBotLocale Source # 
Instance details

Defined in Amazonka.LexV2Models.DescribeBotLocale

type AWSResponse DescribeBotLocale Source # 
Instance details

Defined in Amazonka.LexV2Models.DescribeBotLocale

type Rep DescribeBotLocale Source # 
Instance details

Defined in Amazonka.LexV2Models.DescribeBotLocale

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

newDescribeBotLocale Source #

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

DescribeBotLocale, describeBotLocale_botId - The identifier of the bot associated with the locale.

DescribeBotLocale, describeBotLocale_botVersion - The identifier of the version of the bot associated with the locale.

DescribeBotLocale, describeBotLocale_localeId - The unique identifier of the locale to describe. The string must match one of the supported locales. For more information, see Supported languages.

Request Lenses

describeBotLocale_botId :: Lens' DescribeBotLocale Text Source #

The identifier of the bot associated with the locale.

describeBotLocale_botVersion :: Lens' DescribeBotLocale Text Source #

The identifier of the version of the bot associated with the locale.

describeBotLocale_localeId :: Lens' DescribeBotLocale Text Source #

The unique identifier of the locale to describe. The string must match one of the supported locales. For more information, see Supported languages.

Destructuring the Response

data DescribeBotLocaleResponse Source #

See: newDescribeBotLocaleResponse smart constructor.

Constructors

DescribeBotLocaleResponse' 

Fields

Instances

Instances details
Generic DescribeBotLocaleResponse Source # 
Instance details

Defined in Amazonka.LexV2Models.DescribeBotLocale

Associated Types

type Rep DescribeBotLocaleResponse :: Type -> Type #

Read DescribeBotLocaleResponse Source # 
Instance details

Defined in Amazonka.LexV2Models.DescribeBotLocale

Show DescribeBotLocaleResponse Source # 
Instance details

Defined in Amazonka.LexV2Models.DescribeBotLocale

NFData DescribeBotLocaleResponse Source # 
Instance details

Defined in Amazonka.LexV2Models.DescribeBotLocale

Eq DescribeBotLocaleResponse Source # 
Instance details

Defined in Amazonka.LexV2Models.DescribeBotLocale

type Rep DescribeBotLocaleResponse Source # 
Instance details

Defined in Amazonka.LexV2Models.DescribeBotLocale

type Rep DescribeBotLocaleResponse = D1 ('MetaData "DescribeBotLocaleResponse" "Amazonka.LexV2Models.DescribeBotLocale" "amazonka-lexv2-models-2.0-5mExjJXBfuO6j0ascNcayE" 'False) (C1 ('MetaCons "DescribeBotLocaleResponse'" 'PrefixI 'True) ((((S1 ('MetaSel ('Just "botId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "botLocaleHistoryEvents") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [BotLocaleHistoryEvent]))) :*: (S1 ('MetaSel ('Just "botLocaleStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe BotLocaleStatus)) :*: S1 ('MetaSel ('Just "botVersion") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 ('MetaSel ('Just "creationDateTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: S1 ('MetaSel ('Just "description") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "failureReasons") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: S1 ('MetaSel ('Just "intentsCount") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int))))) :*: (((S1 ('MetaSel ('Just "lastBuildSubmittedDateTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: S1 ('MetaSel ('Just "lastUpdatedDateTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX))) :*: (S1 ('MetaSel ('Just "localeId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "localeName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 ('MetaSel ('Just "nluIntentConfidenceThreshold") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Double)) :*: S1 ('MetaSel ('Just "recommendedActions") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text]))) :*: (S1 ('MetaSel ('Just "slotTypesCount") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: (S1 ('MetaSel ('Just "voiceSettings") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe VoiceSettings)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))))))

newDescribeBotLocaleResponse Source #

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

DescribeBotLocale, describeBotLocaleResponse_botId - The identifier of the bot associated with the locale.

$sel:botLocaleHistoryEvents:DescribeBotLocaleResponse', describeBotLocaleResponse_botLocaleHistoryEvents - History of changes, such as when a locale is used in an alias, that have taken place for the locale.

DescribeBotLocaleResponse, describeBotLocaleResponse_botLocaleStatus - The status of the bot. If the status is Failed, the reasons for the failure are listed in the failureReasons field.

DescribeBotLocale, describeBotLocaleResponse_botVersion - The identifier of the version of the bot associated with the locale.

DescribeBotLocaleResponse, describeBotLocaleResponse_creationDateTime - The date and time that the locale was created.

DescribeBotLocaleResponse, describeBotLocaleResponse_description - The description of the locale.

$sel:failureReasons:DescribeBotLocaleResponse', describeBotLocaleResponse_failureReasons - if botLocaleStatus is Failed, Amazon Lex explains why it failed to build the bot.

$sel:intentsCount:DescribeBotLocaleResponse', describeBotLocaleResponse_intentsCount - The number of intents defined for the locale.

DescribeBotLocaleResponse, describeBotLocaleResponse_lastBuildSubmittedDateTime - The date and time that the locale was last submitted for building.

DescribeBotLocaleResponse, describeBotLocaleResponse_lastUpdatedDateTime - The date and time that the locale was last updated.

DescribeBotLocale, describeBotLocaleResponse_localeId - The unique identifier of the described locale.

DescribeBotLocaleResponse, describeBotLocaleResponse_localeName - The name of the locale.

DescribeBotLocaleResponse, describeBotLocaleResponse_nluIntentConfidenceThreshold - The confidence threshold where Amazon Lex inserts the AMAZON.FallbackIntent and AMAZON.KendraSearchIntent intents in the list of possible intents for an utterance.

$sel:recommendedActions:DescribeBotLocaleResponse', describeBotLocaleResponse_recommendedActions - Recommended actions to take to resolve an error in the failureReasons field.

$sel:slotTypesCount:DescribeBotLocaleResponse', describeBotLocaleResponse_slotTypesCount - The number of slot types defined for the locale.

DescribeBotLocaleResponse, describeBotLocaleResponse_voiceSettings - The Amazon Polly voice Amazon Lex uses for voice interaction with the user.

$sel:httpStatus:DescribeBotLocaleResponse', describeBotLocaleResponse_httpStatus - The response's http status code.

Response Lenses

describeBotLocaleResponse_botId :: Lens' DescribeBotLocaleResponse (Maybe Text) Source #

The identifier of the bot associated with the locale.

describeBotLocaleResponse_botLocaleHistoryEvents :: Lens' DescribeBotLocaleResponse (Maybe [BotLocaleHistoryEvent]) Source #

History of changes, such as when a locale is used in an alias, that have taken place for the locale.

describeBotLocaleResponse_botLocaleStatus :: Lens' DescribeBotLocaleResponse (Maybe BotLocaleStatus) Source #

The status of the bot. If the status is Failed, the reasons for the failure are listed in the failureReasons field.

describeBotLocaleResponse_botVersion :: Lens' DescribeBotLocaleResponse (Maybe Text) Source #

The identifier of the version of the bot associated with the locale.

describeBotLocaleResponse_failureReasons :: Lens' DescribeBotLocaleResponse (Maybe [Text]) Source #

if botLocaleStatus is Failed, Amazon Lex explains why it failed to build the bot.

describeBotLocaleResponse_intentsCount :: Lens' DescribeBotLocaleResponse (Maybe Int) Source #

The number of intents defined for the locale.

describeBotLocaleResponse_lastBuildSubmittedDateTime :: Lens' DescribeBotLocaleResponse (Maybe UTCTime) Source #

The date and time that the locale was last submitted for building.

describeBotLocaleResponse_localeId :: Lens' DescribeBotLocaleResponse (Maybe Text) Source #

The unique identifier of the described locale.

describeBotLocaleResponse_nluIntentConfidenceThreshold :: Lens' DescribeBotLocaleResponse (Maybe Double) Source #

The confidence threshold where Amazon Lex inserts the AMAZON.FallbackIntent and AMAZON.KendraSearchIntent intents in the list of possible intents for an utterance.

describeBotLocaleResponse_recommendedActions :: Lens' DescribeBotLocaleResponse (Maybe [Text]) Source #

Recommended actions to take to resolve an error in the failureReasons field.

describeBotLocaleResponse_slotTypesCount :: Lens' DescribeBotLocaleResponse (Maybe Int) Source #

The number of slot types defined for the locale.

describeBotLocaleResponse_voiceSettings :: Lens' DescribeBotLocaleResponse (Maybe VoiceSettings) Source #

The Amazon Polly voice Amazon Lex uses for voice interaction with the user.