| 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.LexV2Models.DeleteBotAlias
Description
Deletes the specified bot alias.
Synopsis
- data DeleteBotAlias = DeleteBotAlias' {}
- newDeleteBotAlias :: Text -> Text -> DeleteBotAlias
- deleteBotAlias_skipResourceInUseCheck :: Lens' DeleteBotAlias (Maybe Bool)
- deleteBotAlias_botAliasId :: Lens' DeleteBotAlias Text
- deleteBotAlias_botId :: Lens' DeleteBotAlias Text
- data DeleteBotAliasResponse = DeleteBotAliasResponse' {}
- newDeleteBotAliasResponse :: Int -> DeleteBotAliasResponse
- deleteBotAliasResponse_botAliasId :: Lens' DeleteBotAliasResponse (Maybe Text)
- deleteBotAliasResponse_botAliasStatus :: Lens' DeleteBotAliasResponse (Maybe BotAliasStatus)
- deleteBotAliasResponse_botId :: Lens' DeleteBotAliasResponse (Maybe Text)
- deleteBotAliasResponse_httpStatus :: Lens' DeleteBotAliasResponse Int
Creating a Request
data DeleteBotAlias Source #
See: newDeleteBotAlias smart constructor.
Constructors
| DeleteBotAlias' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> Text | |
| -> DeleteBotAlias |
Create a value of DeleteBotAlias 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:skipResourceInUseCheck:DeleteBotAlias', deleteBotAlias_skipResourceInUseCheck - When this parameter is true, Amazon Lex doesn't check to see if any
other resource is using the alias before it is deleted.
DeleteBotAlias, deleteBotAlias_botAliasId - The unique identifier of the bot alias to delete.
DeleteBotAlias, deleteBotAlias_botId - The unique identifier of the bot associated with the alias to delete.
Request Lenses
deleteBotAlias_skipResourceInUseCheck :: Lens' DeleteBotAlias (Maybe Bool) Source #
When this parameter is true, Amazon Lex doesn't check to see if any other resource is using the alias before it is deleted.
deleteBotAlias_botAliasId :: Lens' DeleteBotAlias Text Source #
The unique identifier of the bot alias to delete.
deleteBotAlias_botId :: Lens' DeleteBotAlias Text Source #
The unique identifier of the bot associated with the alias to delete.
Destructuring the Response
data DeleteBotAliasResponse Source #
See: newDeleteBotAliasResponse smart constructor.
Constructors
| DeleteBotAliasResponse' | |
Fields
| |
Instances
newDeleteBotAliasResponse Source #
Create a value of DeleteBotAliasResponse 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:
DeleteBotAlias, deleteBotAliasResponse_botAliasId - The unique identifier of the bot alias to delete.
DeleteBotAliasResponse, deleteBotAliasResponse_botAliasStatus - The current status of the alias. The status is Deleting while the
alias is in the process of being deleted. Once the alias is deleted, it
will no longer appear in the list of aliases returned by the
ListBotAliases operation.
DeleteBotAlias, deleteBotAliasResponse_botId - The unique identifier of the bot that contains the alias to delete.
$sel:httpStatus:DeleteBotAliasResponse', deleteBotAliasResponse_httpStatus - The response's http status code.
Response Lenses
deleteBotAliasResponse_botAliasId :: Lens' DeleteBotAliasResponse (Maybe Text) Source #
The unique identifier of the bot alias to delete.
deleteBotAliasResponse_botAliasStatus :: Lens' DeleteBotAliasResponse (Maybe BotAliasStatus) Source #
The current status of the alias. The status is Deleting while the
alias is in the process of being deleted. Once the alias is deleted, it
will no longer appear in the list of aliases returned by the
ListBotAliases operation.
deleteBotAliasResponse_botId :: Lens' DeleteBotAliasResponse (Maybe Text) Source #
The unique identifier of the bot that contains the alias to delete.
deleteBotAliasResponse_httpStatus :: Lens' DeleteBotAliasResponse Int Source #
The response's http status code.