LambdaCore / Client / list_runtimes

list_runtimes

LambdaCore.Client.list_runtimes(**kwargs)

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

See also: AWS API Documentation

Request Syntax

response = client.list_runtimes(
    NextToken='string',
    MaxResults=123
)
Parameters:
  • NextToken (string) – The pagination token from a previous response. Use it to retrieve the next page of results.

  • MaxResults (integer) – The maximum number of runtimes to return per page. Valid range: 1 to 100.

Return type:

dict

Returns:

Response Syntax

{
    'NextToken': 'string',
    'Items': [
        {
            'Arn': 'string',
            'Name': 'string',
            'Description': 'string',
            'LicenseInfo': 'string',
            'ReleaseLifecycle': {
                'ReleaseState': 'PREVIEW'|'GA'|'DEPRECATED',
                'DeprecationDate': 'string',
                'FunctionCreateBlockDate': 'string',
                'FunctionUpdateBlockDate': 'string'
            },
            'State': 'ACTIVE'|'PENDING_DELETION'|'DELETING'|'FAILED',
            'PendingDeletionAt': 'string',
            'Created': 'string',
            'LastModified': 'string'
        },
    ]
}

Response Structure

  • (dict) –

    • NextToken (string) –

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

    • Items (list) –

      The list of runtimes for the current page of results.

      • (dict) –

        Summary information about a runtime.

        • Arn (string) –

          The Amazon Resource Name (ARN) of the runtime.

        • Name (string) –

          The name of the runtime.

        • Description (string) –

          The description of the runtime.

        • LicenseInfo (string) –

          The license information for the runtime.

        • ReleaseLifecycle (dict) –

          The runtime lifecycle for the runtime. Used to schedule runtime deprecation.

          • ReleaseState (string) –

            Optional, with no default applied. DEPRECATED requires a DeprecationDate on or before today (UTC); PREVIEW and GA require a later one, or none. Reads report DEPRECATED once DeprecationDate is reached.

          • DeprecationDate (string) –

            The date (UTC) on which the runtime or alias becomes deprecated.

          • FunctionCreateBlockDate (string) –

            The date (UTC) on which creating new functions that use this runtime or alias is blocked.

          • FunctionUpdateBlockDate (string) –

            The date (UTC) on which updating existing functions that use this runtime or alias is blocked.

        • State (string) –

          The current state of the runtime.

        • PendingDeletionAt (string) –

          Present only when State is PENDING_DELETION. The date and time at which the runtime will be permanently deleted.

        • Created (string) –

          The date and time when the runtime was created.

        • LastModified (string) –

          The date and time when the runtime was last modified.

Exceptions