amazonka-lex-models-1.5.0: Amazon Lex Model Building Service SDK.

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

Network.AWS.LexModels.GetBotChannelAssociation

Contents

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

getBotChannelAssociation Source #

Creates a value of GetBotChannelAssociation with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • gName - The name of the association between the bot and the channel. The name is case sensitive.
  • gBotName - The name of the Amazon Lex bot.
  • gBotAlias - An alias pointing to the specific version of the Amazon Lex bot to which this association is being made.

data GetBotChannelAssociation Source #

See: getBotChannelAssociation smart constructor.

Instances

Eq GetBotChannelAssociation Source # 
Data GetBotChannelAssociation Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> GetBotChannelAssociation -> c GetBotChannelAssociation #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c GetBotChannelAssociation #

toConstr :: GetBotChannelAssociation -> Constr #

dataTypeOf :: GetBotChannelAssociation -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c GetBotChannelAssociation) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c GetBotChannelAssociation) #

gmapT :: (forall b. Data b => b -> b) -> GetBotChannelAssociation -> GetBotChannelAssociation #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> GetBotChannelAssociation -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> GetBotChannelAssociation -> r #

gmapQ :: (forall d. Data d => d -> u) -> GetBotChannelAssociation -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> GetBotChannelAssociation -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> GetBotChannelAssociation -> m GetBotChannelAssociation #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> GetBotChannelAssociation -> m GetBotChannelAssociation #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> GetBotChannelAssociation -> m GetBotChannelAssociation #

Read GetBotChannelAssociation Source # 
Show GetBotChannelAssociation Source # 
Generic GetBotChannelAssociation Source # 
Hashable GetBotChannelAssociation Source # 
NFData GetBotChannelAssociation Source # 
AWSRequest GetBotChannelAssociation Source # 
ToQuery GetBotChannelAssociation Source # 
ToPath GetBotChannelAssociation Source # 
ToHeaders GetBotChannelAssociation Source # 
type Rep GetBotChannelAssociation Source # 
type Rep GetBotChannelAssociation = D1 (MetaData "GetBotChannelAssociation" "Network.AWS.LexModels.GetBotChannelAssociation" "amazonka-lex-models-1.5.0-9L7od5njsTvH7y9BfUkUqe" False) (C1 (MetaCons "GetBotChannelAssociation'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_gName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) ((:*:) (S1 (MetaSel (Just Symbol "_gBotName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_gBotAlias") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))))
type Rs GetBotChannelAssociation Source # 

Request Lenses

gName :: Lens' GetBotChannelAssociation Text Source #

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

gBotName :: Lens' GetBotChannelAssociation Text Source #

The name of the Amazon Lex bot.

gBotAlias :: 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

getBotChannelAssociationResponse Source #

Creates a value of GetBotChannelAssociationResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • gbcarsBotAlias - An alias pointing to the specific version of the Amazon Lex bot to which this association is being made.
  • gbcarsBotName - The name of the Amazon Lex bot.
  • gbcarsBotConfiguration - Provides information that the messaging platform needs to communicate with the Amazon Lex bot.
  • gbcarsCreatedDate - The date that the association between the bot and the channel was created.
  • gbcarsName - The name of the association between the bot and the channel.
  • gbcarsType - The type of the messaging platform.
  • gbcarsDescription - A description of the association between the bot and the channel.
  • gbcarsResponseStatus - -- | The response status code.

data GetBotChannelAssociationResponse Source #

See: getBotChannelAssociationResponse smart constructor.

Instances

Eq GetBotChannelAssociationResponse Source # 
Data GetBotChannelAssociationResponse Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> GetBotChannelAssociationResponse -> c GetBotChannelAssociationResponse #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c GetBotChannelAssociationResponse #

toConstr :: GetBotChannelAssociationResponse -> Constr #

dataTypeOf :: GetBotChannelAssociationResponse -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c GetBotChannelAssociationResponse) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c GetBotChannelAssociationResponse) #

gmapT :: (forall b. Data b => b -> b) -> GetBotChannelAssociationResponse -> GetBotChannelAssociationResponse #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> GetBotChannelAssociationResponse -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> GetBotChannelAssociationResponse -> r #

gmapQ :: (forall d. Data d => d -> u) -> GetBotChannelAssociationResponse -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> GetBotChannelAssociationResponse -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> GetBotChannelAssociationResponse -> m GetBotChannelAssociationResponse #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> GetBotChannelAssociationResponse -> m GetBotChannelAssociationResponse #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> GetBotChannelAssociationResponse -> m GetBotChannelAssociationResponse #

Show GetBotChannelAssociationResponse Source # 
Generic GetBotChannelAssociationResponse Source # 
NFData GetBotChannelAssociationResponse Source # 
type Rep GetBotChannelAssociationResponse Source # 
type Rep GetBotChannelAssociationResponse = D1 (MetaData "GetBotChannelAssociationResponse" "Network.AWS.LexModels.GetBotChannelAssociation" "amazonka-lex-models-1.5.0-9L7od5njsTvH7y9BfUkUqe" False) (C1 (MetaCons "GetBotChannelAssociationResponse'" PrefixI True) ((:*:) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_gbcarsBotAlias") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_gbcarsBotName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) ((:*:) (S1 (MetaSel (Just Symbol "_gbcarsBotConfiguration") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Sensitive (Map Text Text))))) (S1 (MetaSel (Just Symbol "_gbcarsCreatedDate") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe POSIX))))) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_gbcarsName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_gbcarsType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe ChannelType)))) ((:*:) (S1 (MetaSel (Just Symbol "_gbcarsDescription") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_gbcarsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int))))))

Response Lenses

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

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

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

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

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

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

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

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

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

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