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.CanaryStatus

Description

 
Synopsis

Documentation

data CanaryStatus Source #

A structure that contains the current state of the canary.

See: newCanaryStatus smart constructor.

Constructors

CanaryStatus' 

Fields

Instances

Instances details
Eq CanaryStatus Source # 
Instance details

Defined in Amazonka.Synthetics.Types.CanaryStatus

Read CanaryStatus Source # 
Instance details

Defined in Amazonka.Synthetics.Types.CanaryStatus

Show CanaryStatus Source # 
Instance details

Defined in Amazonka.Synthetics.Types.CanaryStatus

Generic CanaryStatus Source # 
Instance details

Defined in Amazonka.Synthetics.Types.CanaryStatus

Associated Types

type Rep CanaryStatus :: Type -> Type #

NFData CanaryStatus Source # 
Instance details

Defined in Amazonka.Synthetics.Types.CanaryStatus

Methods

rnf :: CanaryStatus -> () #

Hashable CanaryStatus Source # 
Instance details

Defined in Amazonka.Synthetics.Types.CanaryStatus

FromJSON CanaryStatus Source # 
Instance details

Defined in Amazonka.Synthetics.Types.CanaryStatus

type Rep CanaryStatus Source # 
Instance details

Defined in Amazonka.Synthetics.Types.CanaryStatus

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

newCanaryStatus :: CanaryStatus Source #

Create a value of CanaryStatus 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:CanaryStatus', canaryStatus_state - The current state of the canary.

$sel:stateReason:CanaryStatus', canaryStatus_stateReason - If the canary has insufficient permissions to run, this field provides more details.

$sel:stateReasonCode:CanaryStatus', canaryStatus_stateReasonCode - If the canary cannot run or has failed, this field displays the reason.

canaryStatus_state :: Lens' CanaryStatus (Maybe CanaryState) Source #

The current state of the canary.

canaryStatus_stateReason :: Lens' CanaryStatus (Maybe Text) Source #

If the canary has insufficient permissions to run, this field provides more details.

canaryStatus_stateReasonCode :: Lens' CanaryStatus (Maybe CanaryStateReasonCode) Source #

If the canary cannot run or has failed, this field displays the reason.