Retrieves a list of runs for a specified canary¶
Description¶
Retrieves a list of runs for a specified canary.
Usage¶
Arguments¶
-
Name[required] The name of the canary that you want to see runs for.
-
NextTokenA token that indicates that there is more data available. You can use this token in a subsequent
get_canary_runsoperation to retrieve the next set of results.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.
-
MaxResultsSpecify this parameter to limit how many runs are returned each time you use the
get_canary_runsoperation. If you omit this parameter, the default of 100 is used. -
DryRunIdThe DryRunId associated with an existing canary’s dry run. You can use this DryRunId to retrieve information about the dry run.
-
RunType- When you provide
RunType=CANARY_RUNanddryRunId, you will get an exception - When a value is not provided for
RunType, the default value isCANARY_RUN - When
CANARY_RUNis provided, all canary runs excluding dry runs are returned - When
DRY_RUNis provided, all dry runs excluding canary runs are returned
- When you provide
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",
TestResult = "PASSED"|"FAILED"|"UNKNOWN"
),
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"
),
BrowserType = "CHROME"|"FIREFOX",
Location = "string"
)
),
NextToken = "string"
)