| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.Connect.AssociateLexBot
Description
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 bot.
Synopsis
- data AssociateLexBot = AssociateLexBot' {
- instanceId :: Text
- lexBot :: LexBot
- newAssociateLexBot :: Text -> LexBot -> AssociateLexBot
- associateLexBot_instanceId :: Lens' AssociateLexBot Text
- associateLexBot_lexBot :: Lens' AssociateLexBot LexBot
- data AssociateLexBotResponse = AssociateLexBotResponse' {
- newAssociateLexBotResponse :: AssociateLexBotResponse
Creating a Request
data AssociateLexBot Source #
See: newAssociateLexBot smart constructor.
Constructors
| AssociateLexBot' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> LexBot | |
| -> AssociateLexBot |
Create a value of AssociateLexBot 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:
AssociateLexBot, associateLexBot_instanceId - The identifier of the Amazon Connect instance. You can find the
instanceId in the ARN of the instance.
AssociateLexBot, associateLexBot_lexBot - The Amazon Lex bot to associate with the instance.
Request Lenses
associateLexBot_instanceId :: Lens' AssociateLexBot Text Source #
The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.
associateLexBot_lexBot :: Lens' AssociateLexBot LexBot Source #
The Amazon Lex bot to associate with the instance.
Destructuring the Response
data AssociateLexBotResponse Source #
See: newAssociateLexBotResponse smart constructor.
Constructors
| AssociateLexBotResponse' | |
Instances
newAssociateLexBotResponse :: AssociateLexBotResponse Source #
Create a value of AssociateLexBotResponse with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.