View a markdown version of this page

ListRuntimes - AWS Lambda Core

ListRuntimes

Returns a paginated list of runtimes in your account for the current Region.

Request Syntax

GET /2026-10-01/runtimes?maxResults=MaxResults&nextToken=NextToken HTTP/1.1

URI Request Parameters

The request uses the following URI parameters.

MaxResults

The maximum number of runtimes to return per page. Valid range: 1 to 100.

Valid Range: Minimum value of 1. Maximum value of 100.

NextToken

The pagination token from a previous response. Use it to retrieve the next page of results.

Request Body

The request does not have a request body.

Response Syntax

HTTP/1.1 200 Content-type: application/json { "Items": [ { "Arn": "string", "Created": "string", "Description": "string", "LastModified": "string", "LicenseInfo": "string", "Name": "string", "PendingDeletionAt": "string", "ReleaseLifecycle": { "DeprecationDate": "string", "FunctionCreateBlockDate": "string", "FunctionUpdateBlockDate": "string", "ReleaseState": "string" }, "State": "string" } ], "NextToken": "string" }

Response Elements

If the action is successful, the service sends back an HTTP 200 response.

The following data is returned in JSON format by the service.

Items

The list of runtimes for the current page of results.

Type: Array of RuntimeInfo objects

NextToken

The pagination token to include in a subsequent request to retrieve the next page of results.

Type: String

Errors

For information about the errors that are common to all actions, see Common Error Types.

InvalidParameterValueException

One of the parameters in the request is not valid. Check the error message for details about which parameter failed validation.

message

The error message that describes the exception.

Type

The exception type.

HTTP Status Code: 400

ServiceException

An internal service error occurred. Retry the request with exponential backoff.

Message

The error message that describes the exception.

Type

The exception type.

HTTP Status Code: 500

TooManyRequestsException

The request was throttled due to exceeding the allowed request rate. Retry the request after a brief wait using exponential backoff.

message

The error message that describes the exception.

Reason

The reason for the throttling.

retryAfterSeconds

The number of seconds to wait before retrying the request.

Type

The exception type.

HTTP Status Code: 429

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: