| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.Synthetics.Types.CanaryStatus
Description
Documentation
data CanaryStatus Source #
A structure that contains the current state of the canary.
See: newCanaryStatus smart constructor.
Constructors
| CanaryStatus' | |
Fields
| |
Instances
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.