LambdaCore / Paginator / ListRuntimes

ListRuntimes

class LambdaCore.Paginator.ListRuntimes
paginator = client.get_paginator('list_runtimes')
paginate(**kwargs)

Creates an iterator that will paginate through responses from LambdaCore.Client.list_runtimes().

See also: AWS API Documentation

Request Syntax

response_iterator = paginator.paginate(
    PaginationConfig={
        'MaxItems': 123,
        'PageSize': 123,
        'StartingToken': 'string'
    }
)
Parameters:

PaginationConfig (dict) –

A dictionary that provides parameters to control pagination.

  • MaxItems (integer) –

    The total number of items to return. If the total number of items available is more than the value specified in max-items then a NextToken will be provided in the output that you can use to resume pagination.

  • PageSize (integer) –

    The size of each page.

  • StartingToken (string) –

    A token to specify where to start paginating. This is the NextToken from a previous response.

Return type:

dict

Returns:

Response Syntax

{
    '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) –

    • 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.