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

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

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

Overview

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

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)


1612
1613
1614
1615
1616
1617
1618
# File 'gems/aws-sdk-codedeploy/lib/aws-sdk-codedeploy/types.rb', line 1612

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

#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)


1612
1613
1614
1615
1616
1617
1618
# File 'gems/aws-sdk-codedeploy/lib/aws-sdk-codedeploy/types.rb', line 1612

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

#messageString

The message associated with the error.

Returns:

  • (String)


1612
1613
1614
1615
1616
1617
1618
# File 'gems/aws-sdk-codedeploy/lib/aws-sdk-codedeploy/types.rb', line 1612

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

#script_nameString

The name of the script.

Returns:

  • (String)


1612
1613
1614
1615
1616
1617
1618
# File 'gems/aws-sdk-codedeploy/lib/aws-sdk-codedeploy/types.rb', line 1612

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