Struct aws_sdk_synthetics::model::CanaryRunStatus
source · [−]#[non_exhaustive]pub struct CanaryRunStatus {
pub state: Option<CanaryRunState>,
pub state_reason: Option<String>,
pub state_reason_code: Option<CanaryRunStateReasonCode>,
}Expand description
This structure contains the status information about a canary run.
Fields (Non-exhaustive)
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.state: Option<CanaryRunState>The current state of the run.
state_reason: Option<String>If run of the canary failed, this field contains the reason for the error.
state_reason_code: Option<CanaryRunStateReasonCode>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.
Implementations
The current state of the run.
If run of the canary failed, this field contains the reason for the error.
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.
Creates a new builder-style object to manufacture CanaryRunStatus
Trait Implementations
This method tests for self and other values to be equal, and is used
by ==. Read more
This method tests for !=.
Auto Trait Implementations
impl RefUnwindSafe for CanaryRunStatus
impl Send for CanaryRunStatus
impl Sync for CanaryRunStatus
impl Unpin for CanaryRunStatus
impl UnwindSafe for CanaryRunStatus
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more