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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-synthetics/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)


487
488
489
490
491
492
493
# File 'gems/aws-sdk-synthetics/lib/aws-sdk-synthetics/types.rb', line 487

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)


487
488
489
490
491
492
493
# File 'gems/aws-sdk-synthetics/lib/aws-sdk-synthetics/types.rb', line 487

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)


487
488
489
490
491
492
493
# File 'gems/aws-sdk-synthetics/lib/aws-sdk-synthetics/types.rb', line 487

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