LambdaCore / Client / update_runtime_alias
update_runtime_alias¶
- LambdaCore.Client.update_runtime_alias(**kwargs)¶
Updates an existing runtime alias to point to a different runtime version or to change its description or lifecycle information.
See also: AWS API Documentation
Request Syntax
response = client.update_runtime_alias( RuntimeName='string', Name='string', RuntimeVersion='string', Description='string', ReleaseLifecycle={ 'ReleaseState': 'PREVIEW'|'GA'|'DEPRECATED', 'DeprecationDate': 'string', 'FunctionCreateBlockDate': 'string', 'FunctionUpdateBlockDate': 'string' } )
- Parameters:
RuntimeName (string) –
[REQUIRED]
The name or ARN of the runtime.
Name (string) –
[REQUIRED]
The name of the runtime alias to update.
RuntimeVersion (string) –
[REQUIRED]
The name of the runtime version the alias should point to.
Description (string) – A description of the runtime alias.
ReleaseLifecycle (dict) –
The 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. Omitting or providing an empty object removes the existing lifecycle override.
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
{ 'RuntimeName': 'string', 'Name': 'string', 'Arn': 'string', 'RuntimeVersion': 'string', 'RuntimeVersionArn': 'string', 'State': 'CREATING'|'ACTIVE'|'UPDATING'|'DELETING'|'PENDING_DELETION', '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) –
RuntimeName (string) –
The name of the runtime.
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.
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