| 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.CanaryRunStatus
Description
Synopsis
- data CanaryRunStatus = CanaryRunStatus' {}
- newCanaryRunStatus :: CanaryRunStatus
- canaryRunStatus_state :: Lens' CanaryRunStatus (Maybe CanaryRunState)
- canaryRunStatus_stateReason :: Lens' CanaryRunStatus (Maybe Text)
- canaryRunStatus_stateReasonCode :: Lens' CanaryRunStatus (Maybe CanaryRunStateReasonCode)
Documentation
data CanaryRunStatus Source #
This structure contains the status information about a canary run.
See: newCanaryRunStatus smart constructor.
Constructors
| CanaryRunStatus' | |
Fields
| |
Instances
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_state :: Lens' CanaryRunStatus (Maybe CanaryRunState) Source #
The current state of the run.
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.