Copyright | (c) 2013-2018 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 |
Language | Haskell2010 |
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.
- getBotAlias :: Text -> Text -> GetBotAlias
- data GetBotAlias
- gbasName :: Lens' GetBotAlias Text
- gbasBotName :: Lens' GetBotAlias Text
- getBotAliasResponse :: Int -> GetBotAliasResponse
- data GetBotAliasResponse
- gbasrsChecksum :: Lens' GetBotAliasResponse (Maybe Text)
- gbasrsBotVersion :: Lens' GetBotAliasResponse (Maybe Text)
- gbasrsBotName :: Lens' GetBotAliasResponse (Maybe Text)
- gbasrsCreatedDate :: Lens' GetBotAliasResponse (Maybe UTCTime)
- gbasrsName :: Lens' GetBotAliasResponse (Maybe Text)
- gbasrsLastUpdatedDate :: Lens' GetBotAliasResponse (Maybe UTCTime)
- gbasrsDescription :: Lens' GetBotAliasResponse (Maybe Text)
- gbasrsResponseStatus :: Lens' GetBotAliasResponse Int
Creating a Request
Creates a value of GetBotAlias
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
gbasName
- The name of the bot alias. The name is case sensitive.gbasBotName
- The name of the bot.
data GetBotAlias Source #
See: getBotAlias
smart constructor.
Request Lenses
gbasBotName :: Lens' GetBotAlias Text Source #
The name of the bot.
Destructuring the Response
Creates a value of GetBotAliasResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
gbasrsChecksum
- Checksum of the bot alias.gbasrsBotVersion
- The version of the bot that the alias points to.gbasrsBotName
- The name of the bot that the alias points to.gbasrsCreatedDate
- The date that the bot alias was created.gbasrsName
- The name of the bot alias.gbasrsLastUpdatedDate
- The date that the bot alias was updated. When you create a resource, the creation date and the last updated date are the same.gbasrsDescription
- A description of the bot alias.gbasrsResponseStatus
- -- | The response status code.
data GetBotAliasResponse Source #
See: getBotAliasResponse
smart constructor.
Response Lenses
gbasrsChecksum :: Lens' GetBotAliasResponse (Maybe Text) Source #
Checksum of the bot alias.
gbasrsBotVersion :: Lens' GetBotAliasResponse (Maybe Text) Source #
The version of the bot that the alias points to.
gbasrsBotName :: Lens' GetBotAliasResponse (Maybe Text) Source #
The name of the bot that the alias points to.
gbasrsCreatedDate :: Lens' GetBotAliasResponse (Maybe UTCTime) Source #
The date that the bot alias was created.
gbasrsName :: Lens' GetBotAliasResponse (Maybe Text) Source #
The name of the bot alias.
gbasrsLastUpdatedDate :: 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.
gbasrsDescription :: Lens' GetBotAliasResponse (Maybe Text) Source #
A description of the bot alias.
gbasrsResponseStatus :: Lens' GetBotAliasResponse Int Source #
- - | The response status code.