Diagnostics
¶
Source code in docs_src/capo_codedeploy/types/diagnostics.py
error_code
instance-attribute
¶
error_code: NotRequired[LifecycleErrorCode]
The associated error code:
-
Success: The specified script ran.
-
ScriptMissing: The specified script was not found in the specified location.
-
ScriptNotExecutable: The specified script is not a recognized executable file type.
-
ScriptTimedOut: The specified script did not finish running in the specified time period.
-
ScriptFailed: The specified script failed to run as expected.
-
UnknownError: The specified script did not run for an unknown reason.
log_tail
instance-attribute
¶
log_tail: NotRequired[LogTail]
The last portion of the diagnostic log.
If available, CodeDeploy returns up to the last 4 KB of the diagnostic log.
message
instance-attribute
¶
message: NotRequired[LifecycleMessage]
The message associated with the error.