LambdaCore / Client / update_runtime

update_runtime

LambdaCore.Client.update_runtime(**kwargs)

Updates the properties of an existing customer-managed runtime, such as its description, license information, or lifecycle information.

See also: AWS API Documentation

Request Syntax

response = client.update_runtime(
    RuntimeName='string',
    Description='string',
    LicenseInfo='string',
    ReleaseLifecycle={
        'ReleaseState': 'PREVIEW'|'GA'|'DEPRECATED',
        'DeprecationDate': 'string',
        'FunctionCreateBlockDate': 'string',
        'FunctionUpdateBlockDate': 'string'
    }
)
Parameters:
  • RuntimeName (string) –

    [REQUIRED]

    The name or ARN of the runtime to update.

  • Description (string) – The updated description of the runtime.

  • LicenseInfo (string) – The updated license information for the runtime.

  • ReleaseLifecycle (dict) –

    The runtime lifecycle for the runtime. Optional. Used to schedule runtime deprecation. Omitting or providing an empty object removes the existing lifecycle.

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

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'
    },
    'Created': 'string',
    'LastModified': '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.

    • Created (string) –

      The date and time when the runtime was created.

    • LastModified (string) –

      The date and time when the runtime was last modified.

Exceptions