Diagnostics is a JSON Structure definition published by Amazon CodeDeploy, describing 4 properties. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.
{
"$schema": "https://json-structure.org/meta/core/v0/#",
"$id": "https://raw.githubusercontent.com/api-evangelist/amazon-codedeploy/refs/heads/main/json-structure/amazon-codedeploy-diagnostics-structure.json",
"name": "Diagnostics",
"description": "Diagnostic information about executable scripts that are part of a deployment.",
"type": "object",
"properties": {
"errorCode": {
"allOf": [
{
"$ref": "#/components/schemas/LifecycleErrorCode"
},
{
"description": "<p>The associated error code:</p> <ul> <li> <p>Success: The specified script ran.</p> </li> <li> <p>ScriptMissing: The specified script was not found in the specified location.</p> </li> <li> <p>ScriptNotExecutable: The specified script is not a recognized executable file type.</p> </li> <li> <p>ScriptTimedOut: The specified script did not finish running in the specified time period.</p> </li> <li> <p>ScriptFailed: The specified script failed to run as expected.</p> </li> <li> <p>UnknownError: The specified script did not run for an unknown reason.</p> </li> </ul>"
}
]
},
"scriptName": {
"allOf": [
{
"$ref": "#/components/schemas/ScriptName"
},
{
"description": "The name of the script."
}
]
},
"message": {
"allOf": [
{
"$ref": "#/components/schemas/LifecycleMessage"
},
{
"description": "The message associated with the error."
}
]
},
"logTail": {
"allOf": [
{
"$ref": "#/components/schemas/LogTail"
},
{
"description": "<p>The last portion of the diagnostic log.</p> <p>If available, CodeDeploy returns up to the last 4 KB of the diagnostic log.</p>"
}
]
}
}
}
Discovery needs no key. Ratings and market analysis are Pro.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we
store it to create your key and to recognise you if you sign in with another
provider. See our Privacy Policy and
Terms.