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 |
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.
Instances
newDeleteBotChannelAssociation Source #
:: 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.
Instances
Eq DeleteBotChannelAssociationResponse Source # | |
Read DeleteBotChannelAssociationResponse Source # | |
Show DeleteBotChannelAssociationResponse Source # | |
Generic DeleteBotChannelAssociationResponse Source # | |
NFData DeleteBotChannelAssociationResponse Source # | |
Defined in Amazonka.LexModels.DeleteBotChannelAssociation rnf :: DeleteBotChannelAssociationResponse -> () # | |
type Rep DeleteBotChannelAssociationResponse Source # | |
Defined in Amazonka.LexModels.DeleteBotChannelAssociation type Rep DeleteBotChannelAssociationResponse = D1 ('MetaData "DeleteBotChannelAssociationResponse" "Amazonka.LexModels.DeleteBotChannelAssociation" "libZSservicesZSamazonka-lex-modelsZSamazonka-lex-models" 'False) (C1 ('MetaCons "DeleteBotChannelAssociationResponse'" 'PrefixI 'False) (U1 :: Type -> Type)) |
newDeleteBotChannelAssociationResponse :: DeleteBotChannelAssociationResponse Source #
Create a value of DeleteBotChannelAssociationResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.