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 |
This API is in preview release for Amazon Connect and is subject to change.
Allows the specified Amazon Connect instance to access the specified Amazon Lex or Amazon Lex V2 bot.
Synopsis
- data AssociateBot = AssociateBot' {}
- newAssociateBot :: Text -> AssociateBot
- associateBot_lexBot :: Lens' AssociateBot (Maybe LexBot)
- associateBot_lexV2Bot :: Lens' AssociateBot (Maybe LexV2Bot)
- associateBot_instanceId :: Lens' AssociateBot Text
- data AssociateBotResponse = AssociateBotResponse' {
- newAssociateBotResponse :: AssociateBotResponse
Creating a Request
data AssociateBot Source #
See: newAssociateBot
smart constructor.
Instances
Create a value of AssociateBot
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:lexBot:AssociateBot'
, associateBot_lexBot
- Undocumented member.
$sel:lexV2Bot:AssociateBot'
, associateBot_lexV2Bot
- The Amazon Lex V2 bot to associate with the instance.
$sel:instanceId:AssociateBot'
, associateBot_instanceId
- The identifier of the Amazon Connect instance. You can find the
instanceId in the ARN of the instance.
Request Lenses
associateBot_lexBot :: Lens' AssociateBot (Maybe LexBot) Source #
Undocumented member.
associateBot_lexV2Bot :: Lens' AssociateBot (Maybe LexV2Bot) Source #
The Amazon Lex V2 bot to associate with the instance.
associateBot_instanceId :: Lens' AssociateBot Text Source #
The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.
Destructuring the Response
data AssociateBotResponse Source #
See: newAssociateBotResponse
smart constructor.
Instances
Eq AssociateBotResponse Source # | |
Defined in Amazonka.Connect.AssociateBot (==) :: AssociateBotResponse -> AssociateBotResponse -> Bool # (/=) :: AssociateBotResponse -> AssociateBotResponse -> Bool # | |
Read AssociateBotResponse Source # | |
Show AssociateBotResponse Source # | |
Defined in Amazonka.Connect.AssociateBot showsPrec :: Int -> AssociateBotResponse -> ShowS # show :: AssociateBotResponse -> String # showList :: [AssociateBotResponse] -> ShowS # | |
Generic AssociateBotResponse Source # | |
Defined in Amazonka.Connect.AssociateBot type Rep AssociateBotResponse :: Type -> Type # from :: AssociateBotResponse -> Rep AssociateBotResponse x # to :: Rep AssociateBotResponse x -> AssociateBotResponse # | |
NFData AssociateBotResponse Source # | |
Defined in Amazonka.Connect.AssociateBot rnf :: AssociateBotResponse -> () # | |
type Rep AssociateBotResponse Source # | |
newAssociateBotResponse :: AssociateBotResponse Source #
Create a value of AssociateBotResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.