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

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-codedeploy/types.rb

Overview

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

Constant Summary collapse

SENSITIVE =
[]

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.

Returns:

  • (String)


2032
2033
2034
2035
2036
2037
2038
2039
# File 'lib/aws-sdk-codedeploy/types.rb', line 2032

class Diagnostics < Struct.new(
  :error_code,
  :script_name,
  :message,
  :log_tail)
  SENSITIVE = []
  include Aws::Structure
end

#log_tailString

The last portion of the diagnostic log.

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

Returns:

  • (String)


2032
2033
2034
2035
2036
2037
2038
2039
# File 'lib/aws-sdk-codedeploy/types.rb', line 2032

class Diagnostics < Struct.new(
  :error_code,
  :script_name,
  :message,
  :log_tail)
  SENSITIVE = []
  include Aws::Structure
end

#messageString

The message associated with the error.

Returns:

  • (String)


2032
2033
2034
2035
2036
2037
2038
2039
# File 'lib/aws-sdk-codedeploy/types.rb', line 2032

class Diagnostics < Struct.new(
  :error_code,
  :script_name,
  :message,
  :log_tail)
  SENSITIVE = []
  include Aws::Structure
end

#script_nameString

The name of the script.

Returns:

  • (String)


2032
2033
2034
2035
2036
2037
2038
2039
# File 'lib/aws-sdk-codedeploy/types.rb', line 2032

class Diagnostics < Struct.new(
  :error_code,
  :script_name,
  :message,
  :log_tail)
  SENSITIVE = []
  include Aws::Structure
end