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 |
Amazonka.LexModels.DeleteBotChannelAssociation
Description
Deletes the association between an Amazon Lex bot and a messaging platform.
This operation requires permission for the
lex:DeleteBotChannelAssociation
action.
Synopsis
- data DeleteBotChannelAssociation = DeleteBotChannelAssociation' {}
- newDeleteBotChannelAssociation :: Text -> Text -> Text -> DeleteBotChannelAssociation
- deleteBotChannelAssociation_name :: Lens' DeleteBotChannelAssociation Text
- deleteBotChannelAssociation_botName :: Lens' DeleteBotChannelAssociation Text
- deleteBotChannelAssociation_botAlias :: Lens' DeleteBotChannelAssociation Text
- data DeleteBotChannelAssociationResponse = DeleteBotChannelAssociationResponse' {
- newDeleteBotChannelAssociationResponse :: DeleteBotChannelAssociationResponse
Creating a Request
data DeleteBotChannelAssociation Source #
See: newDeleteBotChannelAssociation
smart constructor.
Constructors
DeleteBotChannelAssociation' | |
Instances
newDeleteBotChannelAssociation Source #
Arguments
:: Text | |
-> Text | |
-> Text | |
-> DeleteBotChannelAssociation |
Create a value of DeleteBotChannelAssociation
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:DeleteBotChannelAssociation'
, deleteBotChannelAssociation_name
- The name of the association. The name is case sensitive.
$sel:botName:DeleteBotChannelAssociation'
, deleteBotChannelAssociation_botName
- The name of the Amazon Lex bot.
$sel:botAlias:DeleteBotChannelAssociation'
, deleteBotChannelAssociation_botAlias
- An alias that points to the specific version of the Amazon Lex bot to
which this association is being made.
Request Lenses
deleteBotChannelAssociation_name :: Lens' DeleteBotChannelAssociation Text Source #
The name of the association. The name is case sensitive.
deleteBotChannelAssociation_botName :: Lens' DeleteBotChannelAssociation Text Source #
The name of the Amazon Lex bot.
deleteBotChannelAssociation_botAlias :: Lens' DeleteBotChannelAssociation Text Source #
An alias that points to the specific version of the Amazon Lex bot to which this association is being made.
Destructuring the Response
data DeleteBotChannelAssociationResponse Source #
See: newDeleteBotChannelAssociationResponse
smart constructor.
Constructors
DeleteBotChannelAssociationResponse' | |
Instances
newDeleteBotChannelAssociationResponse :: DeleteBotChannelAssociationResponse Source #
Create a value of DeleteBotChannelAssociationResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.