AWS SDK Version 3 for .NET
API Reference

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 GetFunctionEventInvokeConfig operation.

Inheritance Hierarchy

System.Object
  Amazon.Runtime.AmazonWebServiceResponse
    Amazon.Lambda.Model.GetFunctionEventInvokeConfigResponse

Namespace: Amazon.Lambda.Model
Assembly: AWSSDK.Lambda.dll
Version: 3.x.y.z

Syntax

C#
public class GetFunctionEventInvokeConfigResponse : AmazonWebServiceResponse

The GetFunctionEventInvokeConfigResponse type exposes the following members

Constructors

Properties

NameTypeDescription
Public Property ContentLength System.Int64 Inherited from Amazon.Runtime.AmazonWebServiceResponse.
Public Property 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

  • Function - The Amazon Resource Name (ARN) of a Lambda function.

  • Queue - The ARN of a standard SQS queue.

  • Topic - The ARN of a standard SNS topic.

  • Event Bus - The ARN of an Amazon EventBridge event bus.

Public Property FunctionArn System.String

Gets and sets the property FunctionArn.

The Amazon Resource Name (ARN) of the function.

Public Property HttpStatusCode System.Net.HttpStatusCode Inherited from Amazon.Runtime.AmazonWebServiceResponse.
Public Property LastModified System.DateTime

Gets and sets the property LastModified.

The date and time that the configuration was last updated.

Public Property MaximumEventAgeInSeconds System.Int32

Gets and sets the property MaximumEventAgeInSeconds.

The maximum age of a request that Lambda sends to a function for processing.

Public Property MaximumRetryAttempts System.Int32

Gets and sets the property MaximumRetryAttempts.

The maximum number of times to retry when the function returns an error.

Public Property ResponseMetadata Amazon.Runtime.ResponseMetadata Inherited from Amazon.Runtime.AmazonWebServiceResponse.

Examples

The following example returns the asynchronous invocation configuration for the BLUE alias of a function named my-function.

To get an asynchronous invocation configuration


var response = client.GetFunctionEventInvokeConfig(new GetFunctionEventInvokeConfigRequest 
{
    FunctionName = "my-function",
    Qualifier = "BLUE"
});

DestinationConfig destinationConfig = response.DestinationConfig;
string functionArn = response.FunctionArn;
DateTime lastModified = response.LastModified;
int maximumEventAgeInSeconds = response.MaximumEventAgeInSeconds;
int maximumRetryAttempts = response.MaximumRetryAttempts;

            

Version Information

.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