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.

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)


2319
2320
2321
2322
2323
2324
2325
2326
# File 'gems/aws-sdk-codedeploy/lib/aws-sdk-codedeploy/types.rb', line 2319

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, AWS CodeDeploy returns up to the last 4 KB of the diagnostic log.

Returns:

  • (String)


2319
2320
2321
2322
2323
2324
2325
2326
# File 'gems/aws-sdk-codedeploy/lib/aws-sdk-codedeploy/types.rb', line 2319

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)


2319
2320
2321
2322
2323
2324
2325
2326
# File 'gems/aws-sdk-codedeploy/lib/aws-sdk-codedeploy/types.rb', line 2319

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)


2319
2320
2321
2322
2323
2324
2325
2326
# File 'gems/aws-sdk-codedeploy/lib/aws-sdk-codedeploy/types.rb', line 2319

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