Lambda / Client / exceptions / SnapStartRegenerationFailureException
SnapStartRegenerationFailureException¶
- class Lambda.Client.exceptions.SnapStartRegenerationFailureException¶
Lambda couldn’t regenerate the SnapStart snapshot for the function. SnapStart-enabled functions periodically regenerate snapshots when their underlying runtime or dependencies change; this regeneration failed. Wait for Lambda to retry, or update the function’s configuration to trigger a new snapshot. For more information, see Lambda SnapStart.
Example
try: ... except client.exceptions.SnapStartRegenerationFailureException as e: print(e.response)
- response¶
The parsed error response. All exceptions have a top level
Errorkey that provides normalized access to common exception atrributes. All other keys are specific to this service or exception class.Syntax
{ 'Type': 'string', 'Message': 'string', 'Error': { 'Code': 'string', 'Message': 'string' } }
Structure
(dict) –
Lambda couldn’t regenerate the SnapStart snapshot for the function. SnapStart-enabled functions periodically regenerate snapshots when their underlying runtime or dependencies change; this regeneration failed. Wait for Lambda to retry, or update the function’s configuration to trigger a new snapshot. For more information, see Lambda SnapStart.
Type (string) –
The exception type.
Message (string) –
The exception message.
Error (dict) – Normalized access to common exception attributes.
Code (string) – An identifier specifying the exception type.
Message (string) – A descriptive message explaining why the exception occured.