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 |
Get information about a specific bot alias.
Synopsis
- data DescribeBotAlias = DescribeBotAlias' {
- botAliasId :: Text
- botId :: Text
- newDescribeBotAlias :: Text -> Text -> DescribeBotAlias
- describeBotAlias_botAliasId :: Lens' DescribeBotAlias Text
- describeBotAlias_botId :: Lens' DescribeBotAlias Text
- data DescribeBotAliasResponse = DescribeBotAliasResponse' {
- botAliasHistoryEvents :: Maybe [BotAliasHistoryEvent]
- 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
- newDescribeBotAliasResponse :: Int -> DescribeBotAliasResponse
- describeBotAliasResponse_botAliasHistoryEvents :: Lens' DescribeBotAliasResponse (Maybe [BotAliasHistoryEvent])
- describeBotAliasResponse_botAliasId :: Lens' DescribeBotAliasResponse (Maybe Text)
- describeBotAliasResponse_botAliasLocaleSettings :: Lens' DescribeBotAliasResponse (Maybe (HashMap Text BotAliasLocaleSettings))
- describeBotAliasResponse_botAliasName :: Lens' DescribeBotAliasResponse (Maybe Text)
- describeBotAliasResponse_botAliasStatus :: Lens' DescribeBotAliasResponse (Maybe BotAliasStatus)
- describeBotAliasResponse_botId :: Lens' DescribeBotAliasResponse (Maybe Text)
- describeBotAliasResponse_botVersion :: Lens' DescribeBotAliasResponse (Maybe Text)
- describeBotAliasResponse_conversationLogSettings :: Lens' DescribeBotAliasResponse (Maybe ConversationLogSettings)
- describeBotAliasResponse_creationDateTime :: Lens' DescribeBotAliasResponse (Maybe UTCTime)
- describeBotAliasResponse_description :: Lens' DescribeBotAliasResponse (Maybe Text)
- describeBotAliasResponse_lastUpdatedDateTime :: Lens' DescribeBotAliasResponse (Maybe UTCTime)
- describeBotAliasResponse_sentimentAnalysisSettings :: Lens' DescribeBotAliasResponse (Maybe SentimentAnalysisSettings)
- describeBotAliasResponse_httpStatus :: Lens' DescribeBotAliasResponse Int
Creating a Request
data DescribeBotAlias Source #
See: newDescribeBotAlias
smart constructor.
DescribeBotAlias' | |
|
Instances
Create a value of DescribeBotAlias
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:
DescribeBotAlias
, describeBotAlias_botAliasId
- The identifier of the bot alias to describe.
DescribeBotAlias
, describeBotAlias_botId
- The identifier of the bot associated with the bot alias to describe.
Request Lenses
describeBotAlias_botAliasId :: Lens' DescribeBotAlias Text Source #
The identifier of the bot alias to describe.
describeBotAlias_botId :: Lens' DescribeBotAlias Text Source #
The identifier of the bot associated with the bot alias to describe.
Destructuring the Response
data DescribeBotAliasResponse Source #
See: newDescribeBotAliasResponse
smart constructor.
DescribeBotAliasResponse' | |
|
Instances
newDescribeBotAliasResponse Source #
Create a value of DescribeBotAliasResponse
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:
$sel:botAliasHistoryEvents:DescribeBotAliasResponse'
, describeBotAliasResponse_botAliasHistoryEvents
- A list of events that affect a bot alias. For example, an event is
recorded when the version that the alias points to changes.
DescribeBotAlias
, describeBotAliasResponse_botAliasId
- The identifier of the bot alias.
$sel:botAliasLocaleSettings:DescribeBotAliasResponse'
, describeBotAliasResponse_botAliasLocaleSettings
- The locale settings that are unique to the alias.
DescribeBotAliasResponse
, describeBotAliasResponse_botAliasName
- The name of the bot alias.
DescribeBotAliasResponse
, describeBotAliasResponse_botAliasStatus
- The current status of the alias. When the alias is Available
, the
alias is ready for use with your bot.
DescribeBotAlias
, describeBotAliasResponse_botId
- The identifier of the bot associated with the bot alias.
DescribeBotAliasResponse
, describeBotAliasResponse_botVersion
- The version of the bot associated with the bot alias.
$sel:conversationLogSettings:DescribeBotAliasResponse'
, describeBotAliasResponse_conversationLogSettings
- Specifics of how Amazon Lex logs text and audio conversations with the
bot associated with the alias.
DescribeBotAliasResponse
, describeBotAliasResponse_creationDateTime
- A timestamp of the date and time that the alias was created.
DescribeBotAliasResponse
, describeBotAliasResponse_description
- The description of the bot alias.
DescribeBotAliasResponse
, describeBotAliasResponse_lastUpdatedDateTime
- A timestamp of the date and time that the alias was last updated.
$sel:sentimentAnalysisSettings:DescribeBotAliasResponse'
, describeBotAliasResponse_sentimentAnalysisSettings
- Undocumented member.
$sel:httpStatus:DescribeBotAliasResponse'
, describeBotAliasResponse_httpStatus
- The response's http status code.
Response Lenses
describeBotAliasResponse_botAliasHistoryEvents :: Lens' DescribeBotAliasResponse (Maybe [BotAliasHistoryEvent]) Source #
A list of events that affect a bot alias. For example, an event is recorded when the version that the alias points to changes.
describeBotAliasResponse_botAliasId :: Lens' DescribeBotAliasResponse (Maybe Text) Source #
The identifier of the bot alias.
describeBotAliasResponse_botAliasLocaleSettings :: Lens' DescribeBotAliasResponse (Maybe (HashMap Text BotAliasLocaleSettings)) Source #
The locale settings that are unique to the alias.
describeBotAliasResponse_botAliasName :: Lens' DescribeBotAliasResponse (Maybe Text) Source #
The name of the bot alias.
describeBotAliasResponse_botAliasStatus :: Lens' DescribeBotAliasResponse (Maybe BotAliasStatus) Source #
The current status of the alias. When the alias is Available
, the
alias is ready for use with your bot.
describeBotAliasResponse_botId :: Lens' DescribeBotAliasResponse (Maybe Text) Source #
The identifier of the bot associated with the bot alias.
describeBotAliasResponse_botVersion :: Lens' DescribeBotAliasResponse (Maybe Text) Source #
The version of the bot associated with the bot alias.
describeBotAliasResponse_conversationLogSettings :: Lens' DescribeBotAliasResponse (Maybe ConversationLogSettings) Source #
Specifics of how Amazon Lex logs text and audio conversations with the bot associated with the alias.
describeBotAliasResponse_creationDateTime :: Lens' DescribeBotAliasResponse (Maybe UTCTime) Source #
A timestamp of the date and time that the alias was created.
describeBotAliasResponse_description :: Lens' DescribeBotAliasResponse (Maybe Text) Source #
The description of the bot alias.
describeBotAliasResponse_lastUpdatedDateTime :: Lens' DescribeBotAliasResponse (Maybe UTCTime) Source #
A timestamp of the date and time that the alias was last updated.
describeBotAliasResponse_sentimentAnalysisSettings :: Lens' DescribeBotAliasResponse (Maybe SentimentAnalysisSettings) Source #
Undocumented member.
describeBotAliasResponse_httpStatus :: Lens' DescribeBotAliasResponse Int Source #
The response's http status code.