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

Description

Returns information about the association between an Amazon Lex bot and a messaging platform.

This operation requires permissions for the lex:GetBotChannelAssociation action.

Synopsis

Creating a Request

data GetBotChannelAssociation Source #

See: newGetBotChannelAssociation smart constructor.

Constructors

GetBotChannelAssociation' 

Fields

  • name :: Text

    The name of the association between the bot and the channel. The name is case sensitive.

  • botName :: Text

    The name of the Amazon Lex bot.

  • botAlias :: Text

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

Instances

Instances details
Eq GetBotChannelAssociation Source # 
Instance details

Defined in Amazonka.LexModels.GetBotChannelAssociation

Read GetBotChannelAssociation Source # 
Instance details

Defined in Amazonka.LexModels.GetBotChannelAssociation

Show GetBotChannelAssociation Source # 
Instance details

Defined in Amazonka.LexModels.GetBotChannelAssociation

Generic GetBotChannelAssociation Source # 
Instance details

Defined in Amazonka.LexModels.GetBotChannelAssociation

Associated Types

type Rep GetBotChannelAssociation :: Type -> Type #

NFData GetBotChannelAssociation Source # 
Instance details

Defined in Amazonka.LexModels.GetBotChannelAssociation

Hashable GetBotChannelAssociation Source # 
Instance details

Defined in Amazonka.LexModels.GetBotChannelAssociation

AWSRequest GetBotChannelAssociation Source # 
Instance details

Defined in Amazonka.LexModels.GetBotChannelAssociation

ToHeaders GetBotChannelAssociation Source # 
Instance details

Defined in Amazonka.LexModels.GetBotChannelAssociation

ToPath GetBotChannelAssociation Source # 
Instance details

Defined in Amazonka.LexModels.GetBotChannelAssociation

ToQuery GetBotChannelAssociation Source # 
Instance details

Defined in Amazonka.LexModels.GetBotChannelAssociation

type Rep GetBotChannelAssociation Source # 
Instance details

Defined in Amazonka.LexModels.GetBotChannelAssociation

type Rep GetBotChannelAssociation = D1 ('MetaData "GetBotChannelAssociation" "Amazonka.LexModels.GetBotChannelAssociation" "libZSservicesZSamazonka-lex-modelsZSamazonka-lex-models" 'False) (C1 ('MetaCons "GetBotChannelAssociation'" 'PrefixI 'True) (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "botName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "botAlias") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))
type AWSResponse GetBotChannelAssociation Source # 
Instance details

Defined in Amazonka.LexModels.GetBotChannelAssociation

newGetBotChannelAssociation Source #

Create a value of GetBotChannelAssociation 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:GetBotChannelAssociation', getBotChannelAssociation_name - The name of the association between the bot and the channel. The name is case sensitive.

$sel:botName:GetBotChannelAssociation', getBotChannelAssociation_botName - The name of the Amazon Lex bot.

$sel:botAlias:GetBotChannelAssociation', getBotChannelAssociation_botAlias - An alias pointing to the specific version of the Amazon Lex bot to which this association is being made.

Request Lenses

getBotChannelAssociation_name :: Lens' GetBotChannelAssociation Text Source #

The name of the association between the bot and the channel. The name is case sensitive.

getBotChannelAssociation_botAlias :: Lens' GetBotChannelAssociation Text Source #

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

Destructuring the Response

data GetBotChannelAssociationResponse Source #

See: newGetBotChannelAssociationResponse smart constructor.

Constructors

GetBotChannelAssociationResponse' 

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.

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

    Provides information that the messaging platform needs to communicate with the Amazon Lex bot.

  • createdDate :: Maybe POSIX

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

  • name :: Maybe Text

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

  • type' :: Maybe ChannelType

    The type of the messaging platform.

  • description :: Maybe Text

    A description of the association between the bot and the channel.

  • httpStatus :: Int

    The response's http status code.

Instances

Instances details
Eq GetBotChannelAssociationResponse Source # 
Instance details

Defined in Amazonka.LexModels.GetBotChannelAssociation

Show GetBotChannelAssociationResponse Source # 
Instance details

Defined in Amazonka.LexModels.GetBotChannelAssociation

Generic GetBotChannelAssociationResponse Source # 
Instance details

Defined in Amazonka.LexModels.GetBotChannelAssociation

Associated Types

type Rep GetBotChannelAssociationResponse :: Type -> Type #

NFData GetBotChannelAssociationResponse Source # 
Instance details

Defined in Amazonka.LexModels.GetBotChannelAssociation

type Rep GetBotChannelAssociationResponse Source # 
Instance details

Defined in Amazonka.LexModels.GetBotChannelAssociation

newGetBotChannelAssociationResponse Source #

Create a value of GetBotChannelAssociationResponse 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:GetBotChannelAssociationResponse', getBotChannelAssociationResponse_failureReason - If status is FAILED, Amazon Lex provides the reason that it failed to create the association.

$sel:status:GetBotChannelAssociationResponse', getBotChannelAssociationResponse_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:GetBotChannelAssociation', getBotChannelAssociationResponse_botAlias - An alias pointing to the specific version of the Amazon Lex bot to which this association is being made.

$sel:botName:GetBotChannelAssociation', getBotChannelAssociationResponse_botName - The name of the Amazon Lex bot.

$sel:botConfiguration:GetBotChannelAssociationResponse', getBotChannelAssociationResponse_botConfiguration - Provides information that the messaging platform needs to communicate with the Amazon Lex bot.

$sel:createdDate:GetBotChannelAssociationResponse', getBotChannelAssociationResponse_createdDate - The date that the association between the bot and the channel was created.

$sel:name:GetBotChannelAssociation', getBotChannelAssociationResponse_name - The name of the association between the bot and the channel.

$sel:type':GetBotChannelAssociationResponse', getBotChannelAssociationResponse_type - The type of the messaging platform.

$sel:description:GetBotChannelAssociationResponse', getBotChannelAssociationResponse_description - A description of the association between the bot and the channel.

$sel:httpStatus:GetBotChannelAssociationResponse', getBotChannelAssociationResponse_httpStatus - The response's http status code.

Response Lenses

getBotChannelAssociationResponse_failureReason :: Lens' GetBotChannelAssociationResponse (Maybe Text) Source #

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

getBotChannelAssociationResponse_status :: Lens' GetBotChannelAssociationResponse (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.

getBotChannelAssociationResponse_botAlias :: Lens' GetBotChannelAssociationResponse (Maybe Text) Source #

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

getBotChannelAssociationResponse_botConfiguration :: Lens' GetBotChannelAssociationResponse (Maybe (HashMap Text Text)) Source #

Provides information that the messaging platform needs to communicate with the Amazon Lex bot.

getBotChannelAssociationResponse_createdDate :: Lens' GetBotChannelAssociationResponse (Maybe UTCTime) Source #

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

getBotChannelAssociationResponse_name :: Lens' GetBotChannelAssociationResponse (Maybe Text) Source #

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

getBotChannelAssociationResponse_description :: Lens' GetBotChannelAssociationResponse (Maybe Text) Source #

A description of the association between the bot and the channel.