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 |
Use this to provide your transcript data, and to start the bot recommendation process.
Synopsis
- data StartBotRecommendation = StartBotRecommendation' {}
- newStartBotRecommendation :: Text -> Text -> Text -> TranscriptSourceSetting -> StartBotRecommendation
- startBotRecommendation_encryptionSetting :: Lens' StartBotRecommendation (Maybe EncryptionSetting)
- startBotRecommendation_botId :: Lens' StartBotRecommendation Text
- startBotRecommendation_botVersion :: Lens' StartBotRecommendation Text
- startBotRecommendation_localeId :: Lens' StartBotRecommendation Text
- startBotRecommendation_transcriptSourceSetting :: Lens' StartBotRecommendation TranscriptSourceSetting
- data StartBotRecommendationResponse = StartBotRecommendationResponse' {
- botId :: Maybe Text
- botRecommendationId :: Maybe Text
- botRecommendationStatus :: Maybe BotRecommendationStatus
- botVersion :: Maybe Text
- creationDateTime :: Maybe POSIX
- encryptionSetting :: Maybe EncryptionSetting
- localeId :: Maybe Text
- transcriptSourceSetting :: Maybe TranscriptSourceSetting
- httpStatus :: Int
- newStartBotRecommendationResponse :: Int -> StartBotRecommendationResponse
- startBotRecommendationResponse_botId :: Lens' StartBotRecommendationResponse (Maybe Text)
- startBotRecommendationResponse_botRecommendationId :: Lens' StartBotRecommendationResponse (Maybe Text)
- startBotRecommendationResponse_botRecommendationStatus :: Lens' StartBotRecommendationResponse (Maybe BotRecommendationStatus)
- startBotRecommendationResponse_botVersion :: Lens' StartBotRecommendationResponse (Maybe Text)
- startBotRecommendationResponse_creationDateTime :: Lens' StartBotRecommendationResponse (Maybe UTCTime)
- startBotRecommendationResponse_encryptionSetting :: Lens' StartBotRecommendationResponse (Maybe EncryptionSetting)
- startBotRecommendationResponse_localeId :: Lens' StartBotRecommendationResponse (Maybe Text)
- startBotRecommendationResponse_transcriptSourceSetting :: Lens' StartBotRecommendationResponse (Maybe TranscriptSourceSetting)
- startBotRecommendationResponse_httpStatus :: Lens' StartBotRecommendationResponse Int
Creating a Request
data StartBotRecommendation Source #
See: newStartBotRecommendation
smart constructor.
StartBotRecommendation' | |
|
Instances
newStartBotRecommendation Source #
:: Text | |
-> Text | |
-> Text | |
-> TranscriptSourceSetting | |
-> StartBotRecommendation |
Create a value of StartBotRecommendation
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:
StartBotRecommendation
, startBotRecommendation_encryptionSetting
- The object representing the passwords that will be used to encrypt the
data related to the bot recommendation results, as well as the KMS key
ARN used to encrypt the associated metadata.
StartBotRecommendation
, startBotRecommendation_botId
- The unique identifier of the bot containing the bot recommendation.
StartBotRecommendation
, startBotRecommendation_botVersion
- The version of the bot containing the bot recommendation.
StartBotRecommendation
, startBotRecommendation_localeId
- The identifier of the language and locale of the bot recommendation to
start. The string must match one of the supported locales. For more
information, see
Supported languages
StartBotRecommendation
, startBotRecommendation_transcriptSourceSetting
- The object representing the Amazon S3 bucket containing the transcript,
as well as the associated metadata.
Request Lenses
startBotRecommendation_encryptionSetting :: Lens' StartBotRecommendation (Maybe EncryptionSetting) Source #
The object representing the passwords that will be used to encrypt the data related to the bot recommendation results, as well as the KMS key ARN used to encrypt the associated metadata.
startBotRecommendation_botId :: Lens' StartBotRecommendation Text Source #
The unique identifier of the bot containing the bot recommendation.
startBotRecommendation_botVersion :: Lens' StartBotRecommendation Text Source #
The version of the bot containing the bot recommendation.
startBotRecommendation_localeId :: Lens' StartBotRecommendation Text Source #
The identifier of the language and locale of the bot recommendation to start. The string must match one of the supported locales. For more information, see Supported languages
startBotRecommendation_transcriptSourceSetting :: Lens' StartBotRecommendation TranscriptSourceSetting Source #
The object representing the Amazon S3 bucket containing the transcript, as well as the associated metadata.
Destructuring the Response
data StartBotRecommendationResponse Source #
See: newStartBotRecommendationResponse
smart constructor.
StartBotRecommendationResponse' | |
|
Instances
newStartBotRecommendationResponse Source #
Create a value of StartBotRecommendationResponse
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:
StartBotRecommendation
, startBotRecommendationResponse_botId
- The unique identifier of the bot containing the bot recommendation.
StartBotRecommendationResponse
, startBotRecommendationResponse_botRecommendationId
- The identifier of the bot recommendation that you have created.
StartBotRecommendationResponse
, startBotRecommendationResponse_botRecommendationStatus
- The status of the bot recommendation.
If the status is Failed, then the reasons for the failure are listed in the failureReasons field.
StartBotRecommendation
, startBotRecommendationResponse_botVersion
- The version of the bot containing the bot recommendation.
StartBotRecommendationResponse
, startBotRecommendationResponse_creationDateTime
- A timestamp of the date and time that the bot recommendation was
created.
StartBotRecommendation
, startBotRecommendationResponse_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.
StartBotRecommendation
, startBotRecommendationResponse_localeId
- The identifier of the language and locale of the bot recommendation to
start. The string must match one of the supported locales. For more
information, see
Supported languages
StartBotRecommendation
, startBotRecommendationResponse_transcriptSourceSetting
- The object representing the Amazon S3 bucket containing the transcript,
as well as the associated metadata.
$sel:httpStatus:StartBotRecommendationResponse'
, startBotRecommendationResponse_httpStatus
- The response's http status code.
Response Lenses
startBotRecommendationResponse_botId :: Lens' StartBotRecommendationResponse (Maybe Text) Source #
The unique identifier of the bot containing the bot recommendation.
startBotRecommendationResponse_botRecommendationId :: Lens' StartBotRecommendationResponse (Maybe Text) Source #
The identifier of the bot recommendation that you have created.
startBotRecommendationResponse_botRecommendationStatus :: Lens' StartBotRecommendationResponse (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.
startBotRecommendationResponse_botVersion :: Lens' StartBotRecommendationResponse (Maybe Text) Source #
The version of the bot containing the bot recommendation.
startBotRecommendationResponse_creationDateTime :: Lens' StartBotRecommendationResponse (Maybe UTCTime) Source #
A timestamp of the date and time that the bot recommendation was created.
startBotRecommendationResponse_encryptionSetting :: Lens' StartBotRecommendationResponse (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.
startBotRecommendationResponse_localeId :: Lens' StartBotRecommendationResponse (Maybe Text) Source #
The identifier of the language and locale of the bot recommendation to start. The string must match one of the supported locales. For more information, see Supported languages
startBotRecommendationResponse_transcriptSourceSetting :: Lens' StartBotRecommendationResponse (Maybe TranscriptSourceSetting) Source #
The object representing the Amazon S3 bucket containing the transcript, as well as the associated metadata.
startBotRecommendationResponse_httpStatus :: Lens' StartBotRecommendationResponse Int Source #
The response's http status code.