Class: Aws::Synthetics::Types::CanaryRunStatus

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

Overview

This structure contains the status information about a canary run.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#stateString

The current state of the run.

Returns:

  • (String)


520
521
522
523
524
525
526
# File 'lib/aws-sdk-synthetics/types.rb', line 520

class CanaryRunStatus < Struct.new(
  :state,
  :state_reason,
  :state_reason_code)
  SENSITIVE = []
  include Aws::Structure
end

#state_reasonString

If run of the canary failed, this field contains the reason for the error.

Returns:

  • (String)


520
521
522
523
524
525
526
# File 'lib/aws-sdk-synthetics/types.rb', line 520

class CanaryRunStatus < Struct.new(
  :state,
  :state_reason,
  :state_reason_code)
  SENSITIVE = []
  include Aws::Structure
end

#state_reason_codeString

If this value is ‘CANARY_FAILURE`, an exception occurred in the canary code. If this value is `EXECUTION_FAILURE`, an exception occurred in CloudWatch Synthetics.

Returns:

  • (String)


520
521
522
523
524
525
526
# File 'lib/aws-sdk-synthetics/types.rb', line 520

class CanaryRunStatus < Struct.new(
  :state,
  :state_reason,
  :state_reason_code)
  SENSITIVE = []
  include Aws::Structure
end