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 |
Synopsis
- data BotChannelAssociation = BotChannelAssociation' {
- failureReason :: Maybe Text
- status :: Maybe ChannelStatus
- botAlias :: Maybe Text
- botName :: Maybe Text
- botConfiguration :: Maybe (Sensitive (HashMap Text Text))
- createdDate :: Maybe POSIX
- name :: Maybe Text
- type' :: Maybe ChannelType
- description :: Maybe Text
- newBotChannelAssociation :: BotChannelAssociation
- botChannelAssociation_failureReason :: Lens' BotChannelAssociation (Maybe Text)
- botChannelAssociation_status :: Lens' BotChannelAssociation (Maybe ChannelStatus)
- botChannelAssociation_botAlias :: Lens' BotChannelAssociation (Maybe Text)
- botChannelAssociation_botName :: Lens' BotChannelAssociation (Maybe Text)
- botChannelAssociation_botConfiguration :: Lens' BotChannelAssociation (Maybe (HashMap Text Text))
- botChannelAssociation_createdDate :: Lens' BotChannelAssociation (Maybe UTCTime)
- botChannelAssociation_name :: Lens' BotChannelAssociation (Maybe Text)
- botChannelAssociation_type :: Lens' BotChannelAssociation (Maybe ChannelType)
- botChannelAssociation_description :: Lens' BotChannelAssociation (Maybe Text)
Documentation
data BotChannelAssociation Source #
Represents an association between an Amazon Lex bot and an external messaging platform.
See: newBotChannelAssociation
smart constructor.
BotChannelAssociation' | |
|
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:failureReason:BotChannelAssociation'
, botChannelAssociation_failureReason
- If status
is FAILED
, Amazon Lex provides the reason that it failed
to create the association.
$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 thefailureReason
field.
$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: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:botConfiguration:BotChannelAssociation'
, botChannelAssociation_botConfiguration
- Provides information necessary to communicate with the messaging
platform.
$sel:createdDate:BotChannelAssociation'
, botChannelAssociation_createdDate
- The date that the association between the Amazon Lex bot and the channel
was created.
$sel:name:BotChannelAssociation'
, botChannelAssociation_name
- The name of the association between the bot and the channel.
$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.
$sel:description:BotChannelAssociation'
, botChannelAssociation_description
- 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_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 thefailureReason
field.
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_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_botConfiguration :: Lens' BotChannelAssociation (Maybe (HashMap Text Text)) Source #
Provides information necessary to communicate with the messaging platform.
botChannelAssociation_createdDate :: Lens' BotChannelAssociation (Maybe UTCTime) Source #
The date that the association between the Amazon Lex bot and the channel was created.
botChannelAssociation_name :: Lens' BotChannelAssociation (Maybe Text) Source #
The name of the association between the bot and the channel.
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.
botChannelAssociation_description :: Lens' BotChannelAssociation (Maybe Text) Source #
A text description of the association you are creating.