amazonka-lex-models-2.0: Amazon Lex Model Building Service SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

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

  • botAlias :: Maybe Text

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

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

    Provides information necessary to communicate with the messaging platform.

  • 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.

  • createdDate :: Maybe POSIX

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

  • description :: Maybe Text

    A text description of the association you are creating.

  • failureReason :: Maybe Text

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

  • name :: Maybe Text

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

  • 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.
  • 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.

Instances

Instances details
FromJSON 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 #

Show BotChannelAssociation Source # 
Instance details

Defined in Amazonka.LexModels.Types.BotChannelAssociation

NFData BotChannelAssociation Source # 
Instance details

Defined in Amazonka.LexModels.Types.BotChannelAssociation

Methods

rnf :: BotChannelAssociation -> () #

Eq BotChannelAssociation Source # 
Instance details

Defined in Amazonka.LexModels.Types.BotChannelAssociation

Hashable 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: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 the failureReason field.

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

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.