Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Returns information about an Amazon Lex bot alias. For more information about aliases, see versioning-aliases.
This operation requires permissions for the lex:GetBotAlias
action.
Synopsis
- data GetBotAlias = GetBotAlias' {}
- newGetBotAlias :: Text -> Text -> GetBotAlias
- getBotAlias_name :: Lens' GetBotAlias Text
- getBotAlias_botName :: Lens' GetBotAlias Text
- data GetBotAliasResponse = GetBotAliasResponse' {}
- newGetBotAliasResponse :: Int -> GetBotAliasResponse
- getBotAliasResponse_checksum :: Lens' GetBotAliasResponse (Maybe Text)
- getBotAliasResponse_botVersion :: Lens' GetBotAliasResponse (Maybe Text)
- getBotAliasResponse_botName :: Lens' GetBotAliasResponse (Maybe Text)
- getBotAliasResponse_createdDate :: Lens' GetBotAliasResponse (Maybe UTCTime)
- getBotAliasResponse_name :: Lens' GetBotAliasResponse (Maybe Text)
- getBotAliasResponse_conversationLogs :: Lens' GetBotAliasResponse (Maybe ConversationLogsResponse)
- getBotAliasResponse_lastUpdatedDate :: Lens' GetBotAliasResponse (Maybe UTCTime)
- getBotAliasResponse_description :: Lens' GetBotAliasResponse (Maybe Text)
- getBotAliasResponse_httpStatus :: Lens' GetBotAliasResponse Int
Creating a Request
data GetBotAlias Source #
See: newGetBotAlias
smart constructor.
Instances
Create a value of GetBotAlias
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:name:GetBotAlias'
, getBotAlias_name
- The name of the bot alias. The name is case sensitive.
$sel:botName:GetBotAlias'
, getBotAlias_botName
- The name of the bot.
Request Lenses
getBotAlias_name :: Lens' GetBotAlias Text Source #
The name of the bot alias. The name is case sensitive.
getBotAlias_botName :: Lens' GetBotAlias Text Source #
The name of the bot.
Destructuring the Response
data GetBotAliasResponse Source #
See: newGetBotAliasResponse
smart constructor.
GetBotAliasResponse' | |
|
Instances
newGetBotAliasResponse Source #
Create a value of GetBotAliasResponse
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:checksum:GetBotAliasResponse'
, getBotAliasResponse_checksum
- Checksum of the bot alias.
$sel:botVersion:GetBotAliasResponse'
, getBotAliasResponse_botVersion
- The version of the bot that the alias points to.
$sel:botName:GetBotAlias'
, getBotAliasResponse_botName
- The name of the bot that the alias points to.
$sel:createdDate:GetBotAliasResponse'
, getBotAliasResponse_createdDate
- The date that the bot alias was created.
$sel:name:GetBotAlias'
, getBotAliasResponse_name
- The name of the bot alias.
$sel:conversationLogs:GetBotAliasResponse'
, getBotAliasResponse_conversationLogs
- The settings that determine how Amazon Lex uses conversation logs for
the alias.
$sel:lastUpdatedDate:GetBotAliasResponse'
, getBotAliasResponse_lastUpdatedDate
- The date that the bot alias was updated. When you create a resource, the
creation date and the last updated date are the same.
$sel:description:GetBotAliasResponse'
, getBotAliasResponse_description
- A description of the bot alias.
$sel:httpStatus:GetBotAliasResponse'
, getBotAliasResponse_httpStatus
- The response's http status code.
Response Lenses
getBotAliasResponse_checksum :: Lens' GetBotAliasResponse (Maybe Text) Source #
Checksum of the bot alias.
getBotAliasResponse_botVersion :: Lens' GetBotAliasResponse (Maybe Text) Source #
The version of the bot that the alias points to.
getBotAliasResponse_botName :: Lens' GetBotAliasResponse (Maybe Text) Source #
The name of the bot that the alias points to.
getBotAliasResponse_createdDate :: Lens' GetBotAliasResponse (Maybe UTCTime) Source #
The date that the bot alias was created.
getBotAliasResponse_name :: Lens' GetBotAliasResponse (Maybe Text) Source #
The name of the bot alias.
getBotAliasResponse_conversationLogs :: Lens' GetBotAliasResponse (Maybe ConversationLogsResponse) Source #
The settings that determine how Amazon Lex uses conversation logs for the alias.
getBotAliasResponse_lastUpdatedDate :: Lens' GetBotAliasResponse (Maybe UTCTime) Source #
The date that the bot alias was updated. When you create a resource, the creation date and the last updated date are the same.
getBotAliasResponse_description :: Lens' GetBotAliasResponse (Maybe Text) Source #
A description of the bot alias.
getBotAliasResponse_httpStatus :: Lens' GetBotAliasResponse Int Source #
The response's http status code.