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 ListVersionsByFunction operation. List all versions of a function. For information about the versioning feature, see AWS Lambda Function Versioning and Aliases.

Inheritance Hierarchy


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


public class ListVersionsByFunctionRequest : AmazonLambdaRequest

The ListVersionsByFunctionRequest type exposes the following members



Public Property FunctionName System.String

Gets and sets the property FunctionName.

Function name whose versions to list. You can specify a function name (for example, Thumbnail) or you can specify Amazon Resource Name (ARN) of the function (for example, arn:aws:lambda:us-west-2:account-id:function:ThumbNail). AWS Lambda also allows you to specify a partial ARN (for example, account-id:Thumbnail). Note that the length constraint applies only to the ARN. If you specify only the function name, it is limited to 64 characters in length.

Public Property Marker System.String

Gets and sets the property Marker.

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

Public Property MaxItems System.Int32

Gets and sets the property MaxItems.

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


This operation retrieves a Lambda function versions

To retrieve a list of Lambda function versions

var response = client.ListVersionsByFunction(new ListVersionsByFunctionRequest 
    FunctionName = "myFunction",
    Marker = "",
    MaxItems = 123

string nextMarker = response.NextMarker;
List versions = response.Versions;


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

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