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 your Lambda functions. For each function, the response includes the function configuration information. You must use GetFunction to retrieve the code for your function.

This operation requires permission for the lambda:ListFunctions action.

If you are using the versioning feature, you can list all of your functions or only $LATEST versions. For information about the versioning feature, see AWS Lambda Function Versioning and Aliases.

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.

Optional string. If not specified, only the unqualified functions ARNs (Amazon Resource Names) will be returned.

Valid value:

ALL _ Will return all versions, including $LATEST which will have fully qualified ARNs (Amazon Resource Names).

Public Property Marker System.String

Gets and sets the property Marker.

Optional string. An opaque pagination token returned from a previous ListFunctions operation. If present, indicates where to continue the listing.

Public Property MasterRegion System.String

Gets and sets the property MasterRegion.

Optional string. If not specified, will return only regular function versions (i.e., non-replicated versions).

Valid values are:

The region from which the functions are replicated. For example, if you specify us-east-1, only functions replicated from that region will be returned.

ALL _ Will return all functions from any region. If specified, you also must specify a valid FunctionVersion parameter.

Public Property MaxItems System.Int32

Gets and sets the property MaxItems.

Optional integer. Specifies the maximum number of AWS Lambda functions to return in response. This parameter value must be greater than 0.

Examples

This operation retrieves a Lambda functions

To retrieve a list of Lambda functions


var response = client.ListFunctions(new ListFunctionsRequest 
{
    Marker = "",
    MaxItems = 123
});

List functions = response.Functions;
string nextMarker = response.NextMarker;

            

Version Information

.NET Standard:
Supported in: 1.3

.NET Framework:
Supported in: 4.5, 4.0, 3.5

Portable Class Library:
Supported in: Windows Store Apps
Supported in: Windows Phone 8.1
Supported in: Xamarin Android
Supported in: Xamarin iOS (Unified)
Supported in: Xamarin.Forms

Unity:
Supported Versions: 4.6 and above
Supported Platforms: Android, iOS, Standalone