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 the configuration of an existing bot alias.
Synopsis
- data UpdateBotAlias = UpdateBotAlias' {}
- newUpdateBotAlias :: Text -> Text -> Text -> UpdateBotAlias
- updateBotAlias_botAliasLocaleSettings :: Lens' UpdateBotAlias (Maybe (HashMap Text BotAliasLocaleSettings))
- updateBotAlias_botVersion :: Lens' UpdateBotAlias (Maybe Text)
- updateBotAlias_conversationLogSettings :: Lens' UpdateBotAlias (Maybe ConversationLogSettings)
- updateBotAlias_description :: Lens' UpdateBotAlias (Maybe Text)
- updateBotAlias_sentimentAnalysisSettings :: Lens' UpdateBotAlias (Maybe SentimentAnalysisSettings)
- updateBotAlias_botAliasId :: Lens' UpdateBotAlias Text
- updateBotAlias_botAliasName :: Lens' UpdateBotAlias Text
- updateBotAlias_botId :: Lens' UpdateBotAlias Text
- data UpdateBotAliasResponse = UpdateBotAliasResponse' {
- botAliasId :: Maybe Text
- botAliasLocaleSettings :: Maybe (HashMap Text BotAliasLocaleSettings)
- botAliasName :: Maybe Text
- botAliasStatus :: Maybe BotAliasStatus
- botId :: Maybe Text
- botVersion :: Maybe Text
- conversationLogSettings :: Maybe ConversationLogSettings
- creationDateTime :: Maybe POSIX
- description :: Maybe Text
- lastUpdatedDateTime :: Maybe POSIX
- sentimentAnalysisSettings :: Maybe SentimentAnalysisSettings
- httpStatus :: Int
- newUpdateBotAliasResponse :: Int -> UpdateBotAliasResponse
- updateBotAliasResponse_botAliasId :: Lens' UpdateBotAliasResponse (Maybe Text)
- updateBotAliasResponse_botAliasLocaleSettings :: Lens' UpdateBotAliasResponse (Maybe (HashMap Text BotAliasLocaleSettings))
- updateBotAliasResponse_botAliasName :: Lens' UpdateBotAliasResponse (Maybe Text)
- updateBotAliasResponse_botAliasStatus :: Lens' UpdateBotAliasResponse (Maybe BotAliasStatus)
- updateBotAliasResponse_botId :: Lens' UpdateBotAliasResponse (Maybe Text)
- updateBotAliasResponse_botVersion :: Lens' UpdateBotAliasResponse (Maybe Text)
- updateBotAliasResponse_conversationLogSettings :: Lens' UpdateBotAliasResponse (Maybe ConversationLogSettings)
- updateBotAliasResponse_creationDateTime :: Lens' UpdateBotAliasResponse (Maybe UTCTime)
- updateBotAliasResponse_description :: Lens' UpdateBotAliasResponse (Maybe Text)
- updateBotAliasResponse_lastUpdatedDateTime :: Lens' UpdateBotAliasResponse (Maybe UTCTime)
- updateBotAliasResponse_sentimentAnalysisSettings :: Lens' UpdateBotAliasResponse (Maybe SentimentAnalysisSettings)
- updateBotAliasResponse_httpStatus :: Lens' UpdateBotAliasResponse Int
Creating a Request
data UpdateBotAlias Source #
See: newUpdateBotAlias
smart constructor.
UpdateBotAlias' | |
|
Instances
Create a value of UpdateBotAlias
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:
UpdateBotAlias
, updateBotAlias_botAliasLocaleSettings
- The new Lambda functions to use in each locale for the bot alias.
UpdateBotAlias
, updateBotAlias_botVersion
- The new bot version to assign to the bot alias.
UpdateBotAlias
, updateBotAlias_conversationLogSettings
- The new settings for storing conversation logs in Amazon CloudWatch Logs
and Amazon S3 buckets.
UpdateBotAlias
, updateBotAlias_description
- The new description to assign to the bot alias.
UpdateBotAlias
, updateBotAlias_sentimentAnalysisSettings
- Undocumented member.
UpdateBotAlias
, updateBotAlias_botAliasId
- The unique identifier of the bot alias.
UpdateBotAlias
, updateBotAlias_botAliasName
- The new name to assign to the bot alias.
UpdateBotAlias
, updateBotAlias_botId
- The identifier of the bot with the updated alias.
Request Lenses
updateBotAlias_botAliasLocaleSettings :: Lens' UpdateBotAlias (Maybe (HashMap Text BotAliasLocaleSettings)) Source #
The new Lambda functions to use in each locale for the bot alias.
updateBotAlias_botVersion :: Lens' UpdateBotAlias (Maybe Text) Source #
The new bot version to assign to the bot alias.
updateBotAlias_conversationLogSettings :: Lens' UpdateBotAlias (Maybe ConversationLogSettings) Source #
The new settings for storing conversation logs in Amazon CloudWatch Logs and Amazon S3 buckets.
updateBotAlias_description :: Lens' UpdateBotAlias (Maybe Text) Source #
The new description to assign to the bot alias.
updateBotAlias_sentimentAnalysisSettings :: Lens' UpdateBotAlias (Maybe SentimentAnalysisSettings) Source #
Undocumented member.
updateBotAlias_botAliasId :: Lens' UpdateBotAlias Text Source #
The unique identifier of the bot alias.
updateBotAlias_botAliasName :: Lens' UpdateBotAlias Text Source #
The new name to assign to the bot alias.
updateBotAlias_botId :: Lens' UpdateBotAlias Text Source #
The identifier of the bot with the updated alias.
Destructuring the Response
data UpdateBotAliasResponse Source #
See: newUpdateBotAliasResponse
smart constructor.
UpdateBotAliasResponse' | |
|
Instances
newUpdateBotAliasResponse Source #
Create a value of UpdateBotAliasResponse
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:
UpdateBotAlias
, updateBotAliasResponse_botAliasId
- The identifier of the updated bot alias.
UpdateBotAlias
, updateBotAliasResponse_botAliasLocaleSettings
- The updated Lambda functions to use in each locale for the bot alias.
UpdateBotAlias
, updateBotAliasResponse_botAliasName
- The updated name of the bot alias.
UpdateBotAliasResponse
, updateBotAliasResponse_botAliasStatus
- The current status of the bot alias. When the status is Available
the
alias is ready for use.
UpdateBotAlias
, updateBotAliasResponse_botId
- The identifier of the bot with the updated alias.
UpdateBotAlias
, updateBotAliasResponse_botVersion
- The updated version of the bot that the alias points to.
UpdateBotAlias
, updateBotAliasResponse_conversationLogSettings
- The updated settings for storing conversation logs in Amazon CloudWatch
Logs and Amazon S3 buckets.
UpdateBotAliasResponse
, updateBotAliasResponse_creationDateTime
- A timestamp of the date and time that the bot was created.
UpdateBotAlias
, updateBotAliasResponse_description
- The updated description of the bot alias.
UpdateBotAliasResponse
, updateBotAliasResponse_lastUpdatedDateTime
- A timestamp of the date and time that the bot was last updated.
UpdateBotAlias
, updateBotAliasResponse_sentimentAnalysisSettings
- Undocumented member.
$sel:httpStatus:UpdateBotAliasResponse'
, updateBotAliasResponse_httpStatus
- The response's http status code.
Response Lenses
updateBotAliasResponse_botAliasId :: Lens' UpdateBotAliasResponse (Maybe Text) Source #
The identifier of the updated bot alias.
updateBotAliasResponse_botAliasLocaleSettings :: Lens' UpdateBotAliasResponse (Maybe (HashMap Text BotAliasLocaleSettings)) Source #
The updated Lambda functions to use in each locale for the bot alias.
updateBotAliasResponse_botAliasName :: Lens' UpdateBotAliasResponse (Maybe Text) Source #
The updated name of the bot alias.
updateBotAliasResponse_botAliasStatus :: Lens' UpdateBotAliasResponse (Maybe BotAliasStatus) Source #
The current status of the bot alias. When the status is Available
the
alias is ready for use.
updateBotAliasResponse_botId :: Lens' UpdateBotAliasResponse (Maybe Text) Source #
The identifier of the bot with the updated alias.
updateBotAliasResponse_botVersion :: Lens' UpdateBotAliasResponse (Maybe Text) Source #
The updated version of the bot that the alias points to.
updateBotAliasResponse_conversationLogSettings :: Lens' UpdateBotAliasResponse (Maybe ConversationLogSettings) Source #
The updated settings for storing conversation logs in Amazon CloudWatch Logs and Amazon S3 buckets.
updateBotAliasResponse_creationDateTime :: Lens' UpdateBotAliasResponse (Maybe UTCTime) Source #
A timestamp of the date and time that the bot was created.
updateBotAliasResponse_description :: Lens' UpdateBotAliasResponse (Maybe Text) Source #
The updated description of the bot alias.
updateBotAliasResponse_lastUpdatedDateTime :: Lens' UpdateBotAliasResponse (Maybe UTCTime) Source #
A timestamp of the date and time that the bot was last updated.
updateBotAliasResponse_sentimentAnalysisSettings :: Lens' UpdateBotAliasResponse (Maybe SentimentAnalysisSettings) Source #
Undocumented member.
updateBotAliasResponse_httpStatus :: Lens' UpdateBotAliasResponse Int Source #
The response's http status code.