You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::CodeDeploy::Types::Diagnostics

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

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

Returned by:

Instance Attribute Summary collapse

Instance Attribute Details

#error_codeString

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.

    Possible values:

    • Success
    • ScriptMissing
    • ScriptNotExecutable
    • ScriptTimedOut
    • ScriptFailed
    • UnknownError

Returns:

  • (String)

    The associated error code:.

#log_tailString

The last portion of the diagnostic log.

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

Returns:

  • (String)

    The last portion of the diagnostic log.

#messageString

The message associated with the error.

Returns:

  • (String)

    The message associated with the error.

#script_nameString

The name of the script.

Returns:

  • (String)

    The name of the script.