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 |
Provides metadata information about a bot recommendation. This information will enable you to get a description on the request inputs, to download associated transcripts after processing is complete, and to download intents and slot-types generated by the bot recommendation.
Synopsis
- data DescribeBotRecommendation = DescribeBotRecommendation' {
- botId :: Text
- botVersion :: Text
- localeId :: Text
- botRecommendationId :: Text
- newDescribeBotRecommendation :: Text -> Text -> Text -> Text -> DescribeBotRecommendation
- describeBotRecommendation_botId :: Lens' DescribeBotRecommendation Text
- describeBotRecommendation_botVersion :: Lens' DescribeBotRecommendation Text
- describeBotRecommendation_localeId :: Lens' DescribeBotRecommendation Text
- describeBotRecommendation_botRecommendationId :: Lens' DescribeBotRecommendation Text
- data DescribeBotRecommendationResponse = DescribeBotRecommendationResponse' {
- botId :: Maybe Text
- botRecommendationId :: Maybe Text
- botRecommendationResults :: Maybe BotRecommendationResults
- botRecommendationStatus :: Maybe BotRecommendationStatus
- botVersion :: Maybe Text
- creationDateTime :: Maybe POSIX
- encryptionSetting :: Maybe EncryptionSetting
- failureReasons :: Maybe [Text]
- lastUpdatedDateTime :: Maybe POSIX
- localeId :: Maybe Text
- transcriptSourceSetting :: Maybe TranscriptSourceSetting
- httpStatus :: Int
- newDescribeBotRecommendationResponse :: Int -> DescribeBotRecommendationResponse
- describeBotRecommendationResponse_botId :: Lens' DescribeBotRecommendationResponse (Maybe Text)
- describeBotRecommendationResponse_botRecommendationId :: Lens' DescribeBotRecommendationResponse (Maybe Text)
- describeBotRecommendationResponse_botRecommendationResults :: Lens' DescribeBotRecommendationResponse (Maybe BotRecommendationResults)
- describeBotRecommendationResponse_botRecommendationStatus :: Lens' DescribeBotRecommendationResponse (Maybe BotRecommendationStatus)
- describeBotRecommendationResponse_botVersion :: Lens' DescribeBotRecommendationResponse (Maybe Text)
- describeBotRecommendationResponse_creationDateTime :: Lens' DescribeBotRecommendationResponse (Maybe UTCTime)
- describeBotRecommendationResponse_encryptionSetting :: Lens' DescribeBotRecommendationResponse (Maybe EncryptionSetting)
- describeBotRecommendationResponse_failureReasons :: Lens' DescribeBotRecommendationResponse (Maybe [Text])
- describeBotRecommendationResponse_lastUpdatedDateTime :: Lens' DescribeBotRecommendationResponse (Maybe UTCTime)
- describeBotRecommendationResponse_localeId :: Lens' DescribeBotRecommendationResponse (Maybe Text)
- describeBotRecommendationResponse_transcriptSourceSetting :: Lens' DescribeBotRecommendationResponse (Maybe TranscriptSourceSetting)
- describeBotRecommendationResponse_httpStatus :: Lens' DescribeBotRecommendationResponse Int
Creating a Request
data DescribeBotRecommendation Source #
See: newDescribeBotRecommendation
smart constructor.
DescribeBotRecommendation' | |
|
Instances
newDescribeBotRecommendation Source #
:: Text | |
-> Text | |
-> Text | |
-> Text | |
-> DescribeBotRecommendation |
Create a value of DescribeBotRecommendation
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:
DescribeBotRecommendation
, describeBotRecommendation_botId
- The unique identifier of the bot associated with the bot recommendation.
DescribeBotRecommendation
, describeBotRecommendation_botVersion
- The version of the bot associated with the bot recommendation.
DescribeBotRecommendation
, describeBotRecommendation_localeId
- The identifier of the language and locale of the bot recommendation to
describe. The string must match one of the supported locales. For more
information, see
Supported languages.
DescribeBotRecommendation
, describeBotRecommendation_botRecommendationId
- The identifier of the bot recommendation to describe.
Request Lenses
describeBotRecommendation_botId :: Lens' DescribeBotRecommendation Text Source #
The unique identifier of the bot associated with the bot recommendation.
describeBotRecommendation_botVersion :: Lens' DescribeBotRecommendation Text Source #
The version of the bot associated with the bot recommendation.
describeBotRecommendation_localeId :: Lens' DescribeBotRecommendation Text Source #
The identifier of the language and locale of the bot recommendation to describe. The string must match one of the supported locales. For more information, see Supported languages.
describeBotRecommendation_botRecommendationId :: Lens' DescribeBotRecommendation Text Source #
The identifier of the bot recommendation to describe.
Destructuring the Response
data DescribeBotRecommendationResponse Source #
See: newDescribeBotRecommendationResponse
smart constructor.
DescribeBotRecommendationResponse' | |
|
Instances
newDescribeBotRecommendationResponse Source #
Create a value of DescribeBotRecommendationResponse
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:
DescribeBotRecommendation
, describeBotRecommendationResponse_botId
- The identifier of the bot associated with the bot recommendation.
DescribeBotRecommendation
, describeBotRecommendationResponse_botRecommendationId
- The identifier of the bot recommendation being described.
$sel:botRecommendationResults:DescribeBotRecommendationResponse'
, describeBotRecommendationResponse_botRecommendationResults
- The object representing the URL of the bot definition, the URL of the
associated transcript and a statistical summary of the bot
recommendation results.
DescribeBotRecommendationResponse
, describeBotRecommendationResponse_botRecommendationStatus
- The status of the bot recommendation. If the status is Failed, then the
reasons for the failure are listed in the failureReasons field.
DescribeBotRecommendation
, describeBotRecommendationResponse_botVersion
- The version of the bot associated with the bot recommendation.
DescribeBotRecommendationResponse
, describeBotRecommendationResponse_creationDateTime
- The date and time that the bot recommendation was created.
$sel:encryptionSetting:DescribeBotRecommendationResponse'
, describeBotRecommendationResponse_encryptionSetting
- The object representing the passwords that were used to encrypt the data
related to the bot recommendation results, as well as the KMS key ARN
used to encrypt the associated metadata.
$sel:failureReasons:DescribeBotRecommendationResponse'
, describeBotRecommendationResponse_failureReasons
- If botRecommendationStatus is Failed, Amazon Lex explains why.
DescribeBotRecommendationResponse
, describeBotRecommendationResponse_lastUpdatedDateTime
- The date and time that the bot recommendation was last updated.
DescribeBotRecommendation
, describeBotRecommendationResponse_localeId
- The identifier of the language and locale of the bot recommendation to
describe.
$sel:transcriptSourceSetting:DescribeBotRecommendationResponse'
, describeBotRecommendationResponse_transcriptSourceSetting
- The object representing the Amazon S3 bucket containing the transcript,
as well as the associated metadata.
$sel:httpStatus:DescribeBotRecommendationResponse'
, describeBotRecommendationResponse_httpStatus
- The response's http status code.
Response Lenses
describeBotRecommendationResponse_botId :: Lens' DescribeBotRecommendationResponse (Maybe Text) Source #
The identifier of the bot associated with the bot recommendation.
describeBotRecommendationResponse_botRecommendationId :: Lens' DescribeBotRecommendationResponse (Maybe Text) Source #
The identifier of the bot recommendation being described.
describeBotRecommendationResponse_botRecommendationResults :: Lens' DescribeBotRecommendationResponse (Maybe BotRecommendationResults) Source #
The object representing the URL of the bot definition, the URL of the associated transcript and a statistical summary of the bot recommendation results.
describeBotRecommendationResponse_botRecommendationStatus :: Lens' DescribeBotRecommendationResponse (Maybe BotRecommendationStatus) Source #
The status of the bot recommendation. If the status is Failed, then the reasons for the failure are listed in the failureReasons field.
describeBotRecommendationResponse_botVersion :: Lens' DescribeBotRecommendationResponse (Maybe Text) Source #
The version of the bot associated with the bot recommendation.
describeBotRecommendationResponse_creationDateTime :: Lens' DescribeBotRecommendationResponse (Maybe UTCTime) Source #
The date and time that the bot recommendation was created.
describeBotRecommendationResponse_encryptionSetting :: Lens' DescribeBotRecommendationResponse (Maybe EncryptionSetting) Source #
The object representing the passwords that were used to encrypt the data related to the bot recommendation results, as well as the KMS key ARN used to encrypt the associated metadata.
describeBotRecommendationResponse_failureReasons :: Lens' DescribeBotRecommendationResponse (Maybe [Text]) Source #
If botRecommendationStatus is Failed, Amazon Lex explains why.
describeBotRecommendationResponse_lastUpdatedDateTime :: Lens' DescribeBotRecommendationResponse (Maybe UTCTime) Source #
The date and time that the bot recommendation was last updated.
describeBotRecommendationResponse_localeId :: Lens' DescribeBotRecommendationResponse (Maybe Text) Source #
The identifier of the language and locale of the bot recommendation to describe.
describeBotRecommendationResponse_transcriptSourceSetting :: Lens' DescribeBotRecommendationResponse (Maybe TranscriptSourceSetting) Source #
The object representing the Amazon S3 bucket containing the transcript, as well as the associated metadata.
describeBotRecommendationResponse_httpStatus :: Lens' DescribeBotRecommendationResponse Int Source #
The response's http status code.