Diagnostics - Amazon CodeDeploy
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China.

Diagnostics

Diagnostic information about executable scripts that are part of a deployment.

Contents

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.

Type: String

Valid Values: Success | ScriptMissing | ScriptNotExecutable | ScriptTimedOut | ScriptFailed | UnknownError

Required: No

logTail

The last portion of the diagnostic log.

If available, Amazon CodeDeploy returns up to the last 4 KB of the diagnostic log.

Type: String

Required: No

message

The message associated with the error.

Type: String

Required: No

scriptName

The name of the script.

Type: String

Required: No

See Also

For more information about using this API in one of the language-specific Amazon SDKs, see the following: