| 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.DeleteBotAlias
Description
Deletes an alias for the specified bot.
You can't delete an alias that is used in the association between a bot
 and a messaging channel. If an alias is used in a channel association,
 the DeleteBot operation returns a ResourceInUseException exception
 that includes a reference to the channel association that refers to the
 bot. You can remove the reference to the alias by deleting the channel
 association. If you get the same exception again, delete the referring
 association until the DeleteBotAlias operation is successful.
Synopsis
Creating a Request
data DeleteBotAlias Source #
See: newDeleteBotAlias smart constructor.
Constructors
| DeleteBotAlias' | |
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:
DeleteBotAlias, deleteBotAlias_name - The name of the alias to delete. The name is case sensitive.
DeleteBotAlias, deleteBotAlias_botName - The name of the bot that the alias points to.
Request Lenses
deleteBotAlias_name :: Lens' DeleteBotAlias Text Source #
The name of the alias to delete. The name is case sensitive.
deleteBotAlias_botName :: Lens' DeleteBotAlias Text Source #
The name of the bot that the alias points to.
Destructuring the Response
data DeleteBotAliasResponse Source #
See: newDeleteBotAliasResponse smart constructor.
Constructors
| DeleteBotAliasResponse' | |
Instances
| Generic DeleteBotAliasResponse Source # | |
Defined in Amazonka.LexModels.DeleteBotAlias Associated Types type Rep DeleteBotAliasResponse :: Type -> Type # Methods from :: DeleteBotAliasResponse -> Rep DeleteBotAliasResponse x # to :: Rep DeleteBotAliasResponse x -> DeleteBotAliasResponse #  | |
| Read DeleteBotAliasResponse Source # | |
Defined in Amazonka.LexModels.DeleteBotAlias  | |
| Show DeleteBotAliasResponse Source # | |
Defined in Amazonka.LexModels.DeleteBotAlias Methods showsPrec :: Int -> DeleteBotAliasResponse -> ShowS # show :: DeleteBotAliasResponse -> String # showList :: [DeleteBotAliasResponse] -> ShowS #  | |
| NFData DeleteBotAliasResponse Source # | |
Defined in Amazonka.LexModels.DeleteBotAlias Methods rnf :: DeleteBotAliasResponse -> () #  | |
| Eq DeleteBotAliasResponse Source # | |
Defined in Amazonka.LexModels.DeleteBotAlias Methods (==) :: DeleteBotAliasResponse -> DeleteBotAliasResponse -> Bool # (/=) :: DeleteBotAliasResponse -> DeleteBotAliasResponse -> Bool #  | |
| type Rep DeleteBotAliasResponse Source # | |
newDeleteBotAliasResponse :: DeleteBotAliasResponse Source #
Create a value of DeleteBotAliasResponse with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.