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.
If you are using the versioning feature, you can update the event source mapping to
map to a specific Lambda function version or alias as described in the FunctionName
parameter. For information about the versioning feature, see AWS
Lambda Function Versioning and Aliases.
If you disable the event source mapping, AWS Lambda stops polling. If you enable again, it will resume polling from the time it had stopped polling, so you don't lose processing of any records. However, if you delete event source mapping and create it again, it will reset.
This operation requires permission for the lambda:UpdateEventSourceMapping
action.
Namespace: Amazon.Lambda.Model
Assembly: AWSSDK.dll
Version: (assembly version)
public class UpdateEventSourceMappingRequest : AmazonLambdaRequest IRequestEvents
The UpdateEventSourceMappingRequest type exposes the following members
Name | Description | |
---|---|---|
UpdateEventSourceMappingRequest() |
Name | Type | Description | |
---|---|---|---|
BatchSize | System.Int32 |
Gets and sets the property BatchSize.
The maximum number of stream records that can be sent to your Lambda function for a single invocation. |
|
Enabled | System.Boolean |
Gets and sets the property Enabled.
Specifies whether AWS Lambda should actively poll the stream or not. If disabled, AWS Lambda will not poll the stream. |
|
FunctionName | System.String |
Gets and sets the property FunctionName.
The Lambda function to which you want the stream records sent.
You can specify a function name (for example, If you are using versioning, you can also provide a qualified function ARN (ARN that is qualified with function version or alias name as suffix). For more information about versioning, see AWS Lambda Function Versioning and Aliases Note that the length constraint applies only to the ARN. If you specify only the function name, it is limited to 64 character in length. |
|
UUID | System.String |
Gets and sets the property UUID.
The event source mapping identifier. |
.NET Framework:
Supported in: 4.5, 4.0, 3.5
.NET for Windows Store apps:
Supported in: Windows 8.1, Windows 8
.NET for Windows Phone:
Supported in: Windows Phone 8.1, Windows Phone 8