| 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 | 
Amazonka.LexModels.GetBotAlias
Description
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_botName :: Lens' GetBotAliasResponse (Maybe Text)
 - getBotAliasResponse_botVersion :: Lens' GetBotAliasResponse (Maybe Text)
 - getBotAliasResponse_checksum :: Lens' GetBotAliasResponse (Maybe Text)
 - getBotAliasResponse_conversationLogs :: Lens' GetBotAliasResponse (Maybe ConversationLogsResponse)
 - getBotAliasResponse_createdDate :: Lens' GetBotAliasResponse (Maybe UTCTime)
 - getBotAliasResponse_description :: Lens' GetBotAliasResponse (Maybe Text)
 - getBotAliasResponse_lastUpdatedDate :: Lens' GetBotAliasResponse (Maybe UTCTime)
 - getBotAliasResponse_name :: Lens' GetBotAliasResponse (Maybe Text)
 - getBotAliasResponse_httpStatus :: Lens' GetBotAliasResponse Int
 
Creating a Request
data GetBotAlias Source #
See: newGetBotAlias smart constructor.
Constructors
| GetBotAlias' | |
Instances
Arguments
| :: Text | |
| -> Text | |
| -> GetBotAlias | 
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:
GetBotAlias, getBotAlias_name - The name of the bot alias. The name is case sensitive.
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.
Constructors
| GetBotAliasResponse' | |
Fields 
  | |
Instances
newGetBotAliasResponse Source #
Arguments
| :: Int | |
| -> GetBotAliasResponse | 
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:
GetBotAlias, getBotAliasResponse_botName - The name of the bot that the alias points to.
GetBotAliasResponse, getBotAliasResponse_botVersion - The version of the bot that the alias points to.
GetBotAliasResponse, getBotAliasResponse_checksum - Checksum of the bot alias.
GetBotAliasResponse, getBotAliasResponse_conversationLogs - The settings that determine how Amazon Lex uses conversation logs for
 the alias.
GetBotAliasResponse, getBotAliasResponse_createdDate - The date that the bot alias was created.
GetBotAliasResponse, getBotAliasResponse_description - A description of the bot alias.
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.
GetBotAlias, getBotAliasResponse_name - The name of the bot alias.
$sel:httpStatus:GetBotAliasResponse', getBotAliasResponse_httpStatus - The response's http status code.
Response Lenses
getBotAliasResponse_botName :: Lens' GetBotAliasResponse (Maybe Text) Source #
The name of the bot that the alias points to.
getBotAliasResponse_botVersion :: Lens' GetBotAliasResponse (Maybe Text) Source #
The version of the bot that the alias points to.
getBotAliasResponse_checksum :: Lens' GetBotAliasResponse (Maybe Text) Source #
Checksum 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_createdDate :: Lens' GetBotAliasResponse (Maybe UTCTime) Source #
The date that the bot alias was created.
getBotAliasResponse_description :: Lens' GetBotAliasResponse (Maybe Text) Source #
A description of the bot 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_name :: Lens' GetBotAliasResponse (Maybe Text) Source #
The name of the bot alias.
getBotAliasResponse_httpStatus :: Lens' GetBotAliasResponse Int Source #
The response's http status code.