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.

Container for the parameters to the ListFunctions operation. Returns a list of Lambda functions, with the version-specific configuration of each. Lambda returns up to 50 functions per call.

Set FunctionVersion to ALL to include all published versions of each function in addition to the unpublished version.

The ListFunctions operation returns a subset of the FunctionConfiguration fields. To get the additional fields (State, StateReasonCode, StateReason, LastUpdateStatus, LastUpdateStatusReason, LastUpdateStatusReasonCode, RuntimeVersionConfig) for a function or version, use GetFunction.

Inheritance Hierarchy

System.Object
  Amazon.Runtime.AmazonWebServiceRequest
    Amazon.Lambda.AmazonLambdaRequest
      Amazon.Lambda.Model.ListFunctionsRequest

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

Syntax

C#
public class ListFunctionsRequest : AmazonLambdaRequest
         IAmazonWebServiceRequest

The ListFunctionsRequest type exposes the following members

Constructors

NameDescription
Public Method ListFunctionsRequest()

Properties

NameTypeDescription
Public Property FunctionVersion Amazon.Lambda.FunctionVersion

Gets and sets the property FunctionVersion.

Set to ALL to include entries for all published versions of each function.

Public Property Marker System.String

Gets and sets the property Marker.

Specify the pagination token that's returned by a previous request to retrieve the next page of results.

Public Property MasterRegion System.String

Gets and sets the property MasterRegion.

For Lambda@Edge functions, the Amazon Web Services Region of the master function. For example, us-east-1 filters the list of functions to include only Lambda@Edge functions replicated from a master function in US East (N. Virginia). If specified, you must set FunctionVersion to ALL.

Public Property MaxItems System.Int32

Gets and sets the property MaxItems.

The maximum number of functions to return in the response. Note that ListFunctions returns a maximum of 50 items in each response, even if you set the number higher.

Examples

This operation returns a list of Lambda functions.

To get a list of Lambda functions


var response = client.ListFunctions(new ListFunctionsRequest 
{
});

List<FunctionConfiguration> functions = response.Functions;
string nextMarker = response.NextMarker;

            

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