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.
Container for the parameters to the GetEventSourceMapping operation. Returns details about an event source mapping. You can get the identifier of a mapping from the output of ListEventSourceMappings.
Namespace: Amazon.Lambda.Model
Assembly: AWSSDK.Lambda.dll
Version: 3.x.y.z
public class GetEventSourceMappingRequest : AmazonLambdaRequest IAmazonWebServiceRequest
The GetEventSourceMappingRequest type exposes the following members
Name | Description | |
---|---|---|
![]() |
GetEventSourceMappingRequest() |
Name | Type | Description | |
---|---|---|---|
![]() |
UUID | System.String |
Gets and sets the property UUID. The identifier of the event source mapping. |
The following example returns details about an event source mapping. To get a mapping's UUID, use ListEventSourceMappings.
var client = new AmazonLambdaClient(); var response = client.AddLayerVersionPermission(new AddLayerVersionPermissionRequest { Action = "lambda:GetLayerVersion", LayerName = "my-layer", Principal = "223456789012", StatementId = "xaccount", VersionNumber = 1 }); string revisionId = response.RevisionId; string statement = response.Statement;
.NET:
Supported in: 8.0 and newer, Core 3.1
.NET Standard:
Supported in: 2.0
.NET Framework:
Supported in: 4.5 and newer, 3.5