LambdaCore / Client / get_runtime

get_runtime

LambdaCore.Client.get_runtime(**kwargs)

Retrieves the configuration and metadata of a runtime.

See also: AWS API Documentation

Request Syntax

response = client.get_runtime(
    RuntimeName='string'
)
Parameters:

RuntimeName (string) –

[REQUIRED]

The name or ARN of the runtime to retrieve.

Return type:

dict

Returns:

Response Syntax

{
    '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',
    'Id': 'string'
}

Response Structure

  • (dict) –

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

    • Id (string) –

      The unique identifier of the runtime.

Exceptions