| 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.Types.BotChannelAssociation
Description
Synopsis
- data BotChannelAssociation = BotChannelAssociation' {
- botAlias :: Maybe Text
- botConfiguration :: Maybe (Sensitive (HashMap Text Text))
- botName :: Maybe Text
- createdDate :: Maybe POSIX
- description :: Maybe Text
- failureReason :: Maybe Text
- name :: Maybe Text
- status :: Maybe ChannelStatus
- type' :: Maybe ChannelType
- newBotChannelAssociation :: BotChannelAssociation
- botChannelAssociation_botAlias :: Lens' BotChannelAssociation (Maybe Text)
- botChannelAssociation_botConfiguration :: Lens' BotChannelAssociation (Maybe (HashMap Text Text))
- botChannelAssociation_botName :: Lens' BotChannelAssociation (Maybe Text)
- botChannelAssociation_createdDate :: Lens' BotChannelAssociation (Maybe UTCTime)
- botChannelAssociation_description :: Lens' BotChannelAssociation (Maybe Text)
- botChannelAssociation_failureReason :: Lens' BotChannelAssociation (Maybe Text)
- botChannelAssociation_name :: Lens' BotChannelAssociation (Maybe Text)
- botChannelAssociation_status :: Lens' BotChannelAssociation (Maybe ChannelStatus)
- botChannelAssociation_type :: Lens' BotChannelAssociation (Maybe ChannelType)
Documentation
data BotChannelAssociation Source #
Represents an association between an Amazon Lex bot and an external messaging platform.
See: newBotChannelAssociation smart constructor.
Constructors
| BotChannelAssociation' | |
Fields
| |
Instances
newBotChannelAssociation :: BotChannelAssociation Source #
Create a value of BotChannelAssociation 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:botAlias:BotChannelAssociation', botChannelAssociation_botAlias - An alias pointing to the specific version of the Amazon Lex bot to which
this association is being made.
$sel:botConfiguration:BotChannelAssociation', botChannelAssociation_botConfiguration - Provides information necessary to communicate with the messaging
platform.
$sel:botName:BotChannelAssociation', botChannelAssociation_botName - The name of the Amazon Lex bot to which this association is being made.
Currently, Amazon Lex supports associations with Facebook and Slack, and Twilio.
$sel:createdDate:BotChannelAssociation', botChannelAssociation_createdDate - The date that the association between the Amazon Lex bot and the channel
was created.
$sel:description:BotChannelAssociation', botChannelAssociation_description - A text description of the association you are creating.
$sel:failureReason:BotChannelAssociation', botChannelAssociation_failureReason - If status is FAILED, Amazon Lex provides the reason that it failed
to create the association.
$sel:name:BotChannelAssociation', botChannelAssociation_name - The name of the association between the bot and the channel.
$sel:status:BotChannelAssociation', botChannelAssociation_status - The status of the bot channel.
CREATED- The channel has been created and is ready for use.IN_PROGRESS- Channel creation is in progress.FAILED- There was an error creating the channel. For information about the reason for the failure, see thefailureReasonfield.
$sel:type':BotChannelAssociation', botChannelAssociation_type - Specifies the type of association by indicating the type of channel
being established between the Amazon Lex bot and the external messaging
platform.
botChannelAssociation_botAlias :: Lens' BotChannelAssociation (Maybe Text) Source #
An alias pointing to the specific version of the Amazon Lex bot to which this association is being made.
botChannelAssociation_botConfiguration :: Lens' BotChannelAssociation (Maybe (HashMap Text Text)) Source #
Provides information necessary to communicate with the messaging platform.
botChannelAssociation_botName :: Lens' BotChannelAssociation (Maybe Text) Source #
The name of the Amazon Lex bot to which this association is being made.
Currently, Amazon Lex supports associations with Facebook and Slack, and Twilio.
botChannelAssociation_createdDate :: Lens' BotChannelAssociation (Maybe UTCTime) Source #
The date that the association between the Amazon Lex bot and the channel was created.
botChannelAssociation_description :: Lens' BotChannelAssociation (Maybe Text) Source #
A text description of the association you are creating.
botChannelAssociation_failureReason :: Lens' BotChannelAssociation (Maybe Text) Source #
If status is FAILED, Amazon Lex provides the reason that it failed
to create the association.
botChannelAssociation_name :: Lens' BotChannelAssociation (Maybe Text) Source #
The name of the association between the bot and the channel.
botChannelAssociation_status :: Lens' BotChannelAssociation (Maybe ChannelStatus) Source #
The status of the bot channel.
CREATED- The channel has been created and is ready for use.IN_PROGRESS- Channel creation is in progress.FAILED- There was an error creating the channel. For information about the reason for the failure, see thefailureReasonfield.
botChannelAssociation_type :: Lens' BotChannelAssociation (Maybe ChannelType) Source #
Specifies the type of association by indicating the type of channel being established between the Amazon Lex bot and the external messaging platform.