LambdaCore / Client / get_runtime_alias

get_runtime_alias

LambdaCore.Client.get_runtime_alias(**kwargs)

Retrieves the configuration, state, and metadata of a runtime alias.

See also: AWS API Documentation

Request Syntax

response = client.get_runtime_alias(
    RuntimeName='string',
    Name='string'
)
Parameters:
  • RuntimeName (string) –

    [REQUIRED]

    The name or ARN of the runtime.

  • Name (string) –

    [REQUIRED]

    The name of the runtime alias to retrieve.

Return type:

dict

Returns:

Response Syntax

{
    'Name': 'string',
    'Arn': 'string',
    'RuntimeVersion': 'string',
    'RuntimeVersionArn': 'string',
    'State': 'CREATING'|'ACTIVE'|'UPDATING'|'DELETING'|'PENDING_DELETION',
    'PendingDeletionAt': 'string',
    'Description': 'string',
    'Compatibility': {
        'IntegrationModels': [
            'RuntimeAPI',
        ],
        'Architectures': [
            'x86_64'|'arm64',
        ],
        'ManagedInstances': 'Supported'|'NotSupported'
    },
    'ReleaseLifecycle': {
        'ReleaseState': 'PREVIEW'|'GA'|'DEPRECATED',
        'DeprecationDate': 'string',
        'FunctionCreateBlockDate': 'string',
        'FunctionUpdateBlockDate': 'string'
    },
    'Created': 'string',
    'LastModified': 'string'
}

Response Structure

  • (dict) –

    • Name (string) –

      The name of the runtime alias.

    • Arn (string) –

      The Amazon Resource Name (ARN) of the runtime alias.

    • RuntimeVersion (string) –

      The name of the runtime version the alias points to.

    • RuntimeVersionArn (string) –

      The Amazon Resource Name (ARN) of the runtime version the alias points to.

    • State (string) –

      The current state of the runtime alias.

    • PendingDeletionAt (string) –

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

    • Description (string) –

      A description of the runtime alias.

    • Compatibility (dict) –

      The compatibility matrix of the runtime version the alias points to.

      • IntegrationModels (list) –

        Supported integration models for the runtime version.

        • (string) –

          A supported integration model.

      • Architectures (list) –

        Supported architectures for the runtime version.

        • (string) –

          A supported CPU architecture.

      • ManagedInstances (string) –

        Whether the runtime version is compatible with managed instances.

    • ReleaseLifecycle (dict) –

      The runtime lifecycle for the alias. By default, this is inherited from the runtime lifecycle. Optionally, you can override the lifecycle information at the alias level, if required.

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

    • Created (string) –

      The date and time when the runtime alias was created.

    • LastModified (string) –

      The date and time when the runtime alias was last modified.

Exceptions