Skip to main content

canary_runs

Creates, updates, deletes, gets or lists a canary_runs resource.

Overview

Namecanary_runs
TypeResource
Idaws.synthetics.canary_runs

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
canary_runsarrayAn array of structures. Each structure contains the details of one of the retrieved canary runs.
next_tokenstringA token that indicates that there is more data available. You can use this token in a subsequent GetCanaryRuns operation to retrieve the next set of results.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_canary_runsselectname, regionRetrieves a list of runs for a specified canary.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
namestringThe name of the canary that you want to see runs for.
regionstringAWS region (default: us-east-1)

SELECT examples

Retrieves a list of runs for a specified canary.

SELECT
canary_runs,
next_token
FROM aws.synthetics.canary_runs
WHERE name = '{{ name }}' -- required
AND region = '{{ region }}' -- required
;