libZSservicesZSamazonka-syntheticsZSamazonka-synthetics
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.Synthetics.Types.CanaryRunStatus

Description

 
Synopsis

Documentation

data CanaryRunStatus Source #

This structure contains the status information about a canary run.

See: newCanaryRunStatus smart constructor.

Constructors

CanaryRunStatus' 

Fields

Instances

Instances details
Eq CanaryRunStatus Source # 
Instance details

Defined in Amazonka.Synthetics.Types.CanaryRunStatus

Read CanaryRunStatus Source # 
Instance details

Defined in Amazonka.Synthetics.Types.CanaryRunStatus

Show CanaryRunStatus Source # 
Instance details

Defined in Amazonka.Synthetics.Types.CanaryRunStatus

Generic CanaryRunStatus Source # 
Instance details

Defined in Amazonka.Synthetics.Types.CanaryRunStatus

Associated Types

type Rep CanaryRunStatus :: Type -> Type #

NFData CanaryRunStatus Source # 
Instance details

Defined in Amazonka.Synthetics.Types.CanaryRunStatus

Methods

rnf :: CanaryRunStatus -> () #

Hashable CanaryRunStatus Source # 
Instance details

Defined in Amazonka.Synthetics.Types.CanaryRunStatus

FromJSON CanaryRunStatus Source # 
Instance details

Defined in Amazonka.Synthetics.Types.CanaryRunStatus

type Rep CanaryRunStatus Source # 
Instance details

Defined in Amazonka.Synthetics.Types.CanaryRunStatus

type Rep CanaryRunStatus = D1 ('MetaData "CanaryRunStatus" "Amazonka.Synthetics.Types.CanaryRunStatus" "libZSservicesZSamazonka-syntheticsZSamazonka-synthetics" 'False) (C1 ('MetaCons "CanaryRunStatus'" 'PrefixI 'True) (S1 ('MetaSel ('Just "state") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe CanaryRunState)) :*: (S1 ('MetaSel ('Just "stateReason") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "stateReasonCode") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe CanaryRunStateReasonCode)))))

newCanaryRunStatus :: CanaryRunStatus Source #

Create a value of CanaryRunStatus with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:state:CanaryRunStatus', canaryRunStatus_state - The current state of the run.

$sel:stateReason:CanaryRunStatus', canaryRunStatus_stateReason - If run of the canary failed, this field contains the reason for the error.

$sel:stateReasonCode:CanaryRunStatus', canaryRunStatus_stateReasonCode - 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.

canaryRunStatus_stateReason :: Lens' CanaryRunStatus (Maybe Text) Source #

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

canaryRunStatus_stateReasonCode :: Lens' CanaryRunStatus (Maybe CanaryRunStateReasonCode) Source #

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.