Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Describes the settings that a bot has for a specific locale.
Synopsis
- data DescribeBotLocale = DescribeBotLocale' {}
- newDescribeBotLocale :: Text -> Text -> Text -> DescribeBotLocale
- describeBotLocale_botId :: Lens' DescribeBotLocale Text
- describeBotLocale_botVersion :: Lens' DescribeBotLocale Text
- describeBotLocale_localeId :: Lens' DescribeBotLocale Text
- data DescribeBotLocaleResponse = DescribeBotLocaleResponse' {
- botId :: Maybe Text
- botLocaleHistoryEvents :: Maybe [BotLocaleHistoryEvent]
- botLocaleStatus :: Maybe BotLocaleStatus
- botVersion :: Maybe Text
- creationDateTime :: Maybe POSIX
- description :: Maybe Text
- failureReasons :: Maybe [Text]
- intentsCount :: Maybe Int
- lastBuildSubmittedDateTime :: Maybe POSIX
- lastUpdatedDateTime :: Maybe POSIX
- localeId :: Maybe Text
- localeName :: Maybe Text
- nluIntentConfidenceThreshold :: Maybe Double
- recommendedActions :: Maybe [Text]
- slotTypesCount :: Maybe Int
- voiceSettings :: Maybe VoiceSettings
- httpStatus :: Int
- newDescribeBotLocaleResponse :: Int -> DescribeBotLocaleResponse
- describeBotLocaleResponse_botId :: Lens' DescribeBotLocaleResponse (Maybe Text)
- describeBotLocaleResponse_botLocaleHistoryEvents :: Lens' DescribeBotLocaleResponse (Maybe [BotLocaleHistoryEvent])
- describeBotLocaleResponse_botLocaleStatus :: Lens' DescribeBotLocaleResponse (Maybe BotLocaleStatus)
- describeBotLocaleResponse_botVersion :: Lens' DescribeBotLocaleResponse (Maybe Text)
- describeBotLocaleResponse_creationDateTime :: Lens' DescribeBotLocaleResponse (Maybe UTCTime)
- describeBotLocaleResponse_description :: Lens' DescribeBotLocaleResponse (Maybe Text)
- describeBotLocaleResponse_failureReasons :: Lens' DescribeBotLocaleResponse (Maybe [Text])
- describeBotLocaleResponse_intentsCount :: Lens' DescribeBotLocaleResponse (Maybe Int)
- describeBotLocaleResponse_lastBuildSubmittedDateTime :: Lens' DescribeBotLocaleResponse (Maybe UTCTime)
- describeBotLocaleResponse_lastUpdatedDateTime :: Lens' DescribeBotLocaleResponse (Maybe UTCTime)
- describeBotLocaleResponse_localeId :: Lens' DescribeBotLocaleResponse (Maybe Text)
- describeBotLocaleResponse_localeName :: Lens' DescribeBotLocaleResponse (Maybe Text)
- describeBotLocaleResponse_nluIntentConfidenceThreshold :: Lens' DescribeBotLocaleResponse (Maybe Double)
- describeBotLocaleResponse_recommendedActions :: Lens' DescribeBotLocaleResponse (Maybe [Text])
- describeBotLocaleResponse_slotTypesCount :: Lens' DescribeBotLocaleResponse (Maybe Int)
- describeBotLocaleResponse_voiceSettings :: Lens' DescribeBotLocaleResponse (Maybe VoiceSettings)
- describeBotLocaleResponse_httpStatus :: Lens' DescribeBotLocaleResponse Int
Creating a Request
data DescribeBotLocale Source #
See: newDescribeBotLocale
smart constructor.
DescribeBotLocale' | |
|
Instances
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.
DescribeBotLocaleResponse' | |
|
Instances
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_creationDateTime :: Lens' DescribeBotLocaleResponse (Maybe UTCTime) Source #
The date and time that the locale was created.
describeBotLocaleResponse_description :: Lens' DescribeBotLocaleResponse (Maybe Text) Source #
The description of 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_lastUpdatedDateTime :: Lens' DescribeBotLocaleResponse (Maybe UTCTime) Source #
The date and time that the locale was last updated.
describeBotLocaleResponse_localeId :: Lens' DescribeBotLocaleResponse (Maybe Text) Source #
The unique identifier of the described locale.
describeBotLocaleResponse_localeName :: Lens' DescribeBotLocaleResponse (Maybe Text) Source #
The name of the 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.
describeBotLocaleResponse_httpStatus :: Lens' DescribeBotLocaleResponse Int Source #
The response's http status code.