Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

CanaryRunStatus

import type { CanaryRunStatus } from "https://aws-api.deno.dev/v0.4/services/synthetics.ts?docs=full";

This structure contains the status information about a canary run.

interface CanaryRunStatus {
State?: CanaryRunState | null;
StateReason?: string | null;
StateReasonCode?: CanaryRunStateReasonCode | null;
}

§Properties

§
State?: CanaryRunState | null
[src]

The current state of the run.

§
StateReason?: string | null
[src]

If run of the canary failed, this field contains the reason for the error.

§
StateReasonCode?: CanaryRunStateReasonCode | null
[src]

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.