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 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.
AssociateLambdaFunction' | |
|
Instances
newAssociateLambdaFunction Source #
:: 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:
$sel:instanceId: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.
Instances
newAssociateLambdaFunctionResponse :: AssociateLambdaFunctionResponse Source #
Create a value of AssociateLambdaFunctionResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.