| 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.AssociateLambdaFunction
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 Lambda function.
Synopsis
- data AssociateLambdaFunction = AssociateLambdaFunction' {
- instanceId :: Text
- functionArn :: Text
- newAssociateLambdaFunction :: Text -> Text -> AssociateLambdaFunction
- associateLambdaFunction_instanceId :: Lens' AssociateLambdaFunction Text
- associateLambdaFunction_functionArn :: Lens' AssociateLambdaFunction Text
- data AssociateLambdaFunctionResponse = AssociateLambdaFunctionResponse' {
- newAssociateLambdaFunctionResponse :: AssociateLambdaFunctionResponse
Creating a Request
data AssociateLambdaFunction Source #
See: newAssociateLambdaFunction smart constructor.
Constructors
| AssociateLambdaFunction' | |
Fields
| |
Instances
newAssociateLambdaFunction Source #
Arguments
| :: Text | |
| -> Text | |
| -> AssociateLambdaFunction |
Create a value of AssociateLambdaFunction 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:
AssociateLambdaFunction, associateLambdaFunction_instanceId - The identifier of the Amazon Connect instance. You can find the
instanceId in the ARN of the instance.
$sel:functionArn:AssociateLambdaFunction', associateLambdaFunction_functionArn - The Amazon Resource Name (ARN) for the Lambda function being associated.
Maximum number of characters allowed is 140.
Request Lenses
associateLambdaFunction_instanceId :: Lens' AssociateLambdaFunction Text Source #
The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.
associateLambdaFunction_functionArn :: Lens' AssociateLambdaFunction Text Source #
The Amazon Resource Name (ARN) for the Lambda function being associated. Maximum number of characters allowed is 140.
Destructuring the Response
data AssociateLambdaFunctionResponse Source #
See: newAssociateLambdaFunctionResponse smart constructor.
Constructors
| AssociateLambdaFunctionResponse' | |
Instances
| Generic AssociateLambdaFunctionResponse Source # | |
Defined in Amazonka.Connect.AssociateLambdaFunction Associated Types type Rep AssociateLambdaFunctionResponse :: Type -> Type # | |
| Read AssociateLambdaFunctionResponse Source # | |
| Show AssociateLambdaFunctionResponse Source # | |
Defined in Amazonka.Connect.AssociateLambdaFunction Methods showsPrec :: Int -> AssociateLambdaFunctionResponse -> ShowS # | |
| NFData AssociateLambdaFunctionResponse Source # | |
Defined in Amazonka.Connect.AssociateLambdaFunction Methods rnf :: AssociateLambdaFunctionResponse -> () # | |
| Eq AssociateLambdaFunctionResponse Source # | |
| type Rep AssociateLambdaFunctionResponse Source # | |
Defined in Amazonka.Connect.AssociateLambdaFunction | |
newAssociateLambdaFunctionResponse :: AssociateLambdaFunctionResponse Source #
Create a value of AssociateLambdaFunctionResponse with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.