Skip to main content

suite_runs

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

Overview

Namesuite_runs
TypeResource
Idaws.iotdeviceadvisor.suite_runs

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
end_timestring (date-time)Date (in Unix epoch time) when the test suite run ended.
error_reasonstringError reason for any test suite run failure.
start_timestring (date-time)Date (in Unix epoch time) when the test suite run started.
statusstringStatus for the test suite run. (PASS, FAIL, CANCELED, PENDING, RUNNING, STOPPING, STOPPED, PASS_WITH_WARNINGS, ERROR)
suite_definition_idstringSuite definition ID for the test suite run.
suite_definition_versionstringSuite definition version for the test suite run.
suite_run_arnstringThe ARN of the suite run.
suite_run_configurationobjectSuite run configuration for the test suite run.
suite_run_idstringSuite run ID for the test suite run.
tagsobjectThe tags attached to the suite run.
test_resultobjectTest results for the test suite run.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_suite_runselectsuite_definition_id, suite_run_id, regionGets information about a Device Advisor test suite run. Requires permission to access the GetSuiteRun action.
list_suite_runsselectregionsuiteDefinitionId, suiteDefinitionVersion, maxResults, nextTokenLists runs of the specified Device Advisor test suite. You can list all runs of the test suite, or the runs of a specific version of the test suite. Requires permission to access the ListSuiteRuns action.

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
regionstringAWS region (default: us-east-1)
suite_definition_idstringSuite definition ID for the test suite run.
suite_run_idstringSuite run ID for the test suite run.
maxResultsintegerThe maximum number of results to return at once.
nextTokenstringA token to retrieve the next set of results.
suiteDefinitionIdstringLists the test suite runs of the specified test suite based on suite definition ID.
suiteDefinitionVersionstringMust be passed along with suiteDefinitionId. Lists the test suite runs of the specified test suite based on suite definition version.

SELECT examples

Gets information about a Device Advisor test suite run. Requires permission to access the GetSuiteRun action.

SELECT
end_time,
error_reason,
start_time,
status,
suite_definition_id,
suite_definition_version,
suite_run_arn,
suite_run_configuration,
suite_run_id,
tags,
test_result
FROM aws.iotdeviceadvisor.suite_runs
WHERE suite_definition_id = '{{ suite_definition_id }}' -- required
AND suite_run_id = '{{ suite_run_id }}' -- required
AND region = '{{ region }}' -- required
;