libZSservicesZSamazonka-lex-modelsZSamazonka-lex-models
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.LexModels.Types.BotChannelAssociation

Description

 
Synopsis

Documentation

data BotChannelAssociation Source #

Represents an association between an Amazon Lex bot and an external messaging platform.

See: newBotChannelAssociation smart constructor.

Constructors

BotChannelAssociation' 

Fields

  • failureReason :: Maybe Text

    If status is FAILED, Amazon Lex provides the reason that it failed to create the association.

  • status :: Maybe ChannelStatus

    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 the failureReason field.
  • botAlias :: Maybe Text

    An alias pointing to the specific version of the Amazon Lex bot to which this association is being made.

  • botName :: Maybe Text

    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.

  • botConfiguration :: Maybe (Sensitive (HashMap Text Text))

    Provides information necessary to communicate with the messaging platform.

  • createdDate :: Maybe POSIX

    The date that the association between the Amazon Lex bot and the channel was created.

  • name :: Maybe Text

    The name of the association between the bot and the channel.

  • type' :: Maybe ChannelType

    Specifies the type of association by indicating the type of channel being established between the Amazon Lex bot and the external messaging platform.

  • description :: Maybe Text

    A text description of the association you are creating.

Instances

Instances details
Eq BotChannelAssociation Source # 
Instance details

Defined in Amazonka.LexModels.Types.BotChannelAssociation

Show BotChannelAssociation Source # 
Instance details

Defined in Amazonka.LexModels.Types.BotChannelAssociation

Generic BotChannelAssociation Source # 
Instance details

Defined in Amazonka.LexModels.Types.BotChannelAssociation

Associated Types

type Rep BotChannelAssociation :: Type -> Type #

NFData BotChannelAssociation Source # 
Instance details

Defined in Amazonka.LexModels.Types.BotChannelAssociation

Methods

rnf :: BotChannelAssociation -> () #

Hashable BotChannelAssociation Source # 
Instance details

Defined in Amazonka.LexModels.Types.BotChannelAssociation

FromJSON BotChannelAssociation Source # 
Instance details

Defined in Amazonka.LexModels.Types.BotChannelAssociation

type Rep BotChannelAssociation Source # 
Instance details

Defined in Amazonka.LexModels.Types.BotChannelAssociation

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 the failureReason 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 the failureReason 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.