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 |
Updates an existing bot recommendation request.
Synopsis
- data UpdateBotRecommendation = UpdateBotRecommendation' {}
- newUpdateBotRecommendation :: Text -> Text -> Text -> Text -> EncryptionSetting -> UpdateBotRecommendation
- updateBotRecommendation_botId :: Lens' UpdateBotRecommendation Text
- updateBotRecommendation_botVersion :: Lens' UpdateBotRecommendation Text
- updateBotRecommendation_localeId :: Lens' UpdateBotRecommendation Text
- updateBotRecommendation_botRecommendationId :: Lens' UpdateBotRecommendation Text
- updateBotRecommendation_encryptionSetting :: Lens' UpdateBotRecommendation EncryptionSetting
- data UpdateBotRecommendationResponse = UpdateBotRecommendationResponse' {
- botId :: Maybe Text
- botRecommendationId :: Maybe Text
- botRecommendationStatus :: Maybe BotRecommendationStatus
- botVersion :: Maybe Text
- creationDateTime :: Maybe POSIX
- encryptionSetting :: Maybe EncryptionSetting
- lastUpdatedDateTime :: Maybe POSIX
- localeId :: Maybe Text
- transcriptSourceSetting :: Maybe TranscriptSourceSetting
- httpStatus :: Int
- newUpdateBotRecommendationResponse :: Int -> UpdateBotRecommendationResponse
- updateBotRecommendationResponse_botId :: Lens' UpdateBotRecommendationResponse (Maybe Text)
- updateBotRecommendationResponse_botRecommendationId :: Lens' UpdateBotRecommendationResponse (Maybe Text)
- updateBotRecommendationResponse_botRecommendationStatus :: Lens' UpdateBotRecommendationResponse (Maybe BotRecommendationStatus)
- updateBotRecommendationResponse_botVersion :: Lens' UpdateBotRecommendationResponse (Maybe Text)
- updateBotRecommendationResponse_creationDateTime :: Lens' UpdateBotRecommendationResponse (Maybe UTCTime)
- updateBotRecommendationResponse_encryptionSetting :: Lens' UpdateBotRecommendationResponse (Maybe EncryptionSetting)
- updateBotRecommendationResponse_lastUpdatedDateTime :: Lens' UpdateBotRecommendationResponse (Maybe UTCTime)
- updateBotRecommendationResponse_localeId :: Lens' UpdateBotRecommendationResponse (Maybe Text)
- updateBotRecommendationResponse_transcriptSourceSetting :: Lens' UpdateBotRecommendationResponse (Maybe TranscriptSourceSetting)
- updateBotRecommendationResponse_httpStatus :: Lens' UpdateBotRecommendationResponse Int
Creating a Request
data UpdateBotRecommendation Source #
See: newUpdateBotRecommendation
smart constructor.
UpdateBotRecommendation' | |
|
Instances
newUpdateBotRecommendation Source #
:: Text | |
-> Text | |
-> Text | |
-> Text | |
-> EncryptionSetting | |
-> UpdateBotRecommendation |
Create a value of UpdateBotRecommendation
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:
UpdateBotRecommendation
, updateBotRecommendation_botId
- The unique identifier of the bot containing the bot recommendation to be
updated.
UpdateBotRecommendation
, updateBotRecommendation_botVersion
- The version of the bot containing the bot recommendation to be updated.
UpdateBotRecommendation
, updateBotRecommendation_localeId
- The identifier of the language and locale of the bot recommendation to
update. The string must match one of the supported locales. For more
information, see
Supported languages
UpdateBotRecommendation
, updateBotRecommendation_botRecommendationId
- The unique identifier of the bot recommendation to be updated.
UpdateBotRecommendation
, updateBotRecommendation_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.
Request Lenses
updateBotRecommendation_botId :: Lens' UpdateBotRecommendation Text Source #
The unique identifier of the bot containing the bot recommendation to be updated.
updateBotRecommendation_botVersion :: Lens' UpdateBotRecommendation Text Source #
The version of the bot containing the bot recommendation to be updated.
updateBotRecommendation_localeId :: Lens' UpdateBotRecommendation Text Source #
The identifier of the language and locale of the bot recommendation to update. The string must match one of the supported locales. For more information, see Supported languages
updateBotRecommendation_botRecommendationId :: Lens' UpdateBotRecommendation Text Source #
The unique identifier of the bot recommendation to be updated.
updateBotRecommendation_encryptionSetting :: Lens' UpdateBotRecommendation 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.
Destructuring the Response
data UpdateBotRecommendationResponse Source #
See: newUpdateBotRecommendationResponse
smart constructor.
UpdateBotRecommendationResponse' | |
|
Instances
newUpdateBotRecommendationResponse Source #
Create a value of UpdateBotRecommendationResponse
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:
UpdateBotRecommendation
, updateBotRecommendationResponse_botId
- The unique identifier of the bot containing the bot recommendation that
has been updated.
UpdateBotRecommendation
, updateBotRecommendationResponse_botRecommendationId
- The unique identifier of the bot recommendation to be updated.
UpdateBotRecommendationResponse
, updateBotRecommendationResponse_botRecommendationStatus
- The status of the bot recommendation.
If the status is Failed, then the reasons for the failure are listed in the failureReasons field.
UpdateBotRecommendation
, updateBotRecommendationResponse_botVersion
- The version of the bot containing the bot recommendation that has been
updated.
UpdateBotRecommendationResponse
, updateBotRecommendationResponse_creationDateTime
- A timestamp of the date and time that the bot recommendation was
created.
UpdateBotRecommendation
, updateBotRecommendationResponse_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.
UpdateBotRecommendationResponse
, updateBotRecommendationResponse_lastUpdatedDateTime
- A timestamp of the date and time that the bot recommendation was last
updated.
UpdateBotRecommendation
, updateBotRecommendationResponse_localeId
- The identifier of the language and locale of the bot recommendation to
update. The string must match one of the supported locales. For more
information, see
Supported languages
$sel:transcriptSourceSetting:UpdateBotRecommendationResponse'
, updateBotRecommendationResponse_transcriptSourceSetting
- The object representing the Amazon S3 bucket containing the transcript,
as well as the associated metadata.
$sel:httpStatus:UpdateBotRecommendationResponse'
, updateBotRecommendationResponse_httpStatus
- The response's http status code.
Response Lenses
updateBotRecommendationResponse_botId :: Lens' UpdateBotRecommendationResponse (Maybe Text) Source #
The unique identifier of the bot containing the bot recommendation that has been updated.
updateBotRecommendationResponse_botRecommendationId :: Lens' UpdateBotRecommendationResponse (Maybe Text) Source #
The unique identifier of the bot recommendation to be updated.
updateBotRecommendationResponse_botRecommendationStatus :: Lens' UpdateBotRecommendationResponse (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.
updateBotRecommendationResponse_botVersion :: Lens' UpdateBotRecommendationResponse (Maybe Text) Source #
The version of the bot containing the bot recommendation that has been updated.
updateBotRecommendationResponse_creationDateTime :: Lens' UpdateBotRecommendationResponse (Maybe UTCTime) Source #
A timestamp of the date and time that the bot recommendation was created.
updateBotRecommendationResponse_encryptionSetting :: Lens' UpdateBotRecommendationResponse (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.
updateBotRecommendationResponse_lastUpdatedDateTime :: Lens' UpdateBotRecommendationResponse (Maybe UTCTime) Source #
A timestamp of the date and time that the bot recommendation was last updated.
updateBotRecommendationResponse_localeId :: Lens' UpdateBotRecommendationResponse (Maybe Text) Source #
The identifier of the language and locale of the bot recommendation to update. The string must match one of the supported locales. For more information, see Supported languages
updateBotRecommendationResponse_transcriptSourceSetting :: Lens' UpdateBotRecommendationResponse (Maybe TranscriptSourceSetting) Source #
The object representing the Amazon S3 bucket containing the transcript, as well as the associated metadata.
updateBotRecommendationResponse_httpStatus :: Lens' UpdateBotRecommendationResponse Int Source #
The response's http status code.