associate_lambda_function

Connect.Client.associate_lambda_function(**kwargs)

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.

See also: AWS API Documentation

Request Syntax

response = client.associate_lambda_function(
    InstanceId='string',
    FunctionArn='string'
)
Parameters
  • InstanceId (string) --

    [REQUIRED]

    The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.

  • FunctionArn (string) --

    [REQUIRED]

    The Amazon Resource Name (ARN) for the Lambda function being associated. Maximum number of characters allowed is 140.

Returns

None

Exceptions

  • Connect.Client.exceptions.ResourceNotFoundException
  • Connect.Client.exceptions.ResourceConflictException
  • Connect.Client.exceptions.InternalServiceException
  • Connect.Client.exceptions.InvalidRequestException
  • Connect.Client.exceptions.InvalidParameterException
  • Connect.Client.exceptions.ServiceQuotaExceededException
  • Connect.Client.exceptions.ThrottlingException