AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.
This is the pull model, where AWS Lambda invokes the function. For more information, go to AWS LambdaL How it Works in the AWS Lambda Developer Guide.
This association between an Amazon Kinesis stream and an AWS Lambda function is called the event source mapping. You provide the configuration information (for example, which stream to read from and which AWS Lambda function to invoke) for the event source mapping in the request body.
This operation requires permission for the
iam:PassRoleaction for the IAM role. It also requires permission for the
lambda:AddEventSourceaction.
Namespace: Amazon.Lambda
Assembly: AWSSDK.dll
Version: 0.0.3.0
public virtual AddEventSourceResponse AddEventSource( AddEventSourceRequest request )
Container for the necessary parameters to execute the AddEventSource service method.
| Exception | Condition |
|---|---|
| InvalidParameterValueException | One of the parameters in the request is invalid. For example, if you provided an IAM role for AWS Lambda to assume in the UploadFunction or the UpdateFunctionConfiguration API, that AWS Lambda is unable to assume you will get this exception. |
| ServiceException | The AWS Lambda service encountered an internal error. |
.NET Framework:
Supported in: 4.5, 4.0, 3.5