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 ListAliases operation. Returns list of aliases created for a Lambda function. For each alias, the response includes information such as the alias ARN, description, alias name, and the function version to which it points. For more information, see Introduction to AWS Lambda Aliases.

This requires permission for the lambda:ListAliases action.

Inheritance Hierarchy


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


public class ListAliasesRequest : AmazonLambdaRequest

The ListAliasesRequest type exposes the following members


Public Method ListAliasesRequest()


Public Property FunctionName System.String

Gets and sets the property FunctionName.

Lambda function name for which the alias is created. 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 FunctionVersion System.String

Gets and sets the property FunctionVersion.

If you specify this optional parameter, the API returns only the aliases that are pointing to the specific Lambda function version, otherwise the API returns all of the aliases created for the Lambda function.

Public Property Marker System.String

Gets and sets the property Marker.

Optional string. An opaque pagination token returned from a previous ListAliases 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 aliases to return in response. This parameter value must be greater than 0.


This operation retrieves a Lambda function's aliases

To retrieve a Lambda function aliases

var response = client.ListAliases(new ListAliasesRequest 
    FunctionName = "myFunction",
    FunctionVersion = "1",
    Marker = "",
    MaxItems = 123

List aliases = response.Aliases;
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

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