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 response object from the PutFunctionEventInvokeConfig operation.
Namespace: Amazon.Lambda.Model
Assembly: AWSSDK.Lambda.dll
Version: 3.x.y.z
public class PutFunctionEventInvokeConfigResponse : AmazonWebServiceResponse
The PutFunctionEventInvokeConfigResponse type exposes the following members
| Name | Description | |
|---|---|---|
|
PutFunctionEventInvokeConfigResponse() |
| Name | Type | Description | |
|---|---|---|---|
|
ContentLength | System.Int64 | Inherited from Amazon.Runtime.AmazonWebServiceResponse. |
|
DestinationConfig | Amazon.Lambda.Model.DestinationConfig |
Gets and sets the property DestinationConfig. A destination for events after they have been sent to a function for processing. Destinations
S3 buckets are supported only for on-failure destinations. To retain records of successful invocations, use another destination type. |
|
FunctionArn | System.String |
Gets and sets the property FunctionArn. The Amazon Resource Name (ARN) of the function. |
|
HttpStatusCode | System.Net.HttpStatusCode | Inherited from Amazon.Runtime.AmazonWebServiceResponse. |
|
LastModified | System.DateTime |
Gets and sets the property LastModified. The date and time that the configuration was last updated. |
|
MaximumEventAgeInSeconds | System.Int32 |
Gets and sets the property MaximumEventAgeInSeconds. The maximum age of a request that Lambda sends to a function for processing. |
|
MaximumRetryAttempts | System.Int32 |
Gets and sets the property MaximumRetryAttempts. The maximum number of times to retry when the function returns an error. |
|
ResponseMetadata | Amazon.Runtime.ResponseMetadata | Inherited from Amazon.Runtime.AmazonWebServiceResponse. |
The following example sets a maximum event age of one hour and disables retries for the specified function.
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