Get Canary Runs
synthetics_get_canary_runs | R Documentation |
Retrieves a list of runs for a specified canary¶
Description¶
Retrieves a list of runs for a specified canary.
Usage¶
synthetics_get_canary_runs(Name, NextToken, MaxResults, DryRunId,
RunType)
Arguments¶
Name |
[required] The name of the canary that you want to see runs for. |
NextToken |
A token that indicates that there is more data available. You can
use this token in a subsequent When auto retry is enabled for the canary, the first subsequent retry is suffixed with *1 indicating its the first retry and the next subsequent try is suffixed with *2. |
MaxResults |
Specify this parameter to limit how many runs are returned each
time you use the |
DryRunId |
The DryRunId associated with an existing canary’s dry run. You can use this DryRunId to retrieve information about the dry run. |
RunType |
|
Value¶
A list with the following syntax:
list(
CanaryRuns = list(
list(
Id = "string",
ScheduledRunId = "string",
RetryAttempt = 123,
Name = "string",
Status = list(
State = "RUNNING"|"PASSED"|"FAILED",
StateReason = "string",
StateReasonCode = "CANARY_FAILURE"|"EXECUTION_FAILURE"
),
Timeline = list(
Started = as.POSIXct(
"2015-01-01"
),
Completed = as.POSIXct(
"2015-01-01"
),
MetricTimestampForRunAndRetries = as.POSIXct(
"2015-01-01"
)
),
ArtifactS3Location = "string",
DryRunConfig = list(
DryRunId = "string"
)
)
),
NextToken = "string"
)
Request syntax¶
svc$get_canary_runs(
Name = "string",
NextToken = "string",
MaxResults = 123,
DryRunId = "string",
RunType = "CANARY_RUN"|"DRY_RUN"
)