| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.CodeDeploy.Types.Diagnostics
Description
Synopsis
Documentation
data Diagnostics Source #
Diagnostic information about executable scripts that are part of a deployment.
See: newDiagnostics smart constructor.
Constructors
| Diagnostics' | |
Fields
| |
Instances
newDiagnostics :: Diagnostics Source #
Create a value of Diagnostics with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:errorCode:Diagnostics', diagnostics_errorCode - 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.
$sel:logTail:Diagnostics', diagnostics_logTail - The last portion of the diagnostic log.
If available, CodeDeploy returns up to the last 4 KB of the diagnostic log.
$sel:message:Diagnostics', diagnostics_message - The message associated with the error.
$sel:scriptName:Diagnostics', diagnostics_scriptName - The name of the script.
diagnostics_errorCode :: Lens' Diagnostics (Maybe LifecycleErrorCode) Source #
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.
diagnostics_logTail :: Lens' Diagnostics (Maybe Text) Source #
The last portion of the diagnostic log.
If available, CodeDeploy returns up to the last 4 KB of the diagnostic log.
diagnostics_message :: Lens' Diagnostics (Maybe Text) Source #
The message associated with the error.
diagnostics_scriptName :: Lens' Diagnostics (Maybe Text) Source #
The name of the script.