Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Documentation
data CanaryStatus Source #
A structure that contains the current state of the canary.
See: newCanaryStatus
smart constructor.
CanaryStatus' | |
|
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.