| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.IoTDeviceAdvisor.ListSuiteRuns
Description
Lists 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.
Synopsis
- data ListSuiteRuns = ListSuiteRuns' {}
- newListSuiteRuns :: ListSuiteRuns
- listSuiteRuns_maxResults :: Lens' ListSuiteRuns (Maybe Natural)
- listSuiteRuns_nextToken :: Lens' ListSuiteRuns (Maybe Text)
- listSuiteRuns_suiteDefinitionId :: Lens' ListSuiteRuns (Maybe Text)
- listSuiteRuns_suiteDefinitionVersion :: Lens' ListSuiteRuns (Maybe Text)
- data ListSuiteRunsResponse = ListSuiteRunsResponse' {}
- newListSuiteRunsResponse :: Int -> ListSuiteRunsResponse
- listSuiteRunsResponse_nextToken :: Lens' ListSuiteRunsResponse (Maybe Text)
- listSuiteRunsResponse_suiteRunsList :: Lens' ListSuiteRunsResponse (Maybe [SuiteRunInformation])
- listSuiteRunsResponse_httpStatus :: Lens' ListSuiteRunsResponse Int
Creating a Request
data ListSuiteRuns Source #
See: newListSuiteRuns smart constructor.
Constructors
| ListSuiteRuns' | |
Fields
| |
Instances
newListSuiteRuns :: ListSuiteRuns Source #
Create a value of ListSuiteRuns with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:maxResults:ListSuiteRuns', listSuiteRuns_maxResults - The maximum number of results to return at once.
ListSuiteRuns, listSuiteRuns_nextToken - A token to retrieve the next set of results.
ListSuiteRuns, listSuiteRuns_suiteDefinitionId - Lists the test suite runs of the specified test suite based on suite
definition ID.
ListSuiteRuns, listSuiteRuns_suiteDefinitionVersion - Must be passed along with suiteDefinitionId. Lists the test suite runs
of the specified test suite based on suite definition version.
Request Lenses
listSuiteRuns_maxResults :: Lens' ListSuiteRuns (Maybe Natural) Source #
The maximum number of results to return at once.
listSuiteRuns_nextToken :: Lens' ListSuiteRuns (Maybe Text) Source #
A token to retrieve the next set of results.
listSuiteRuns_suiteDefinitionId :: Lens' ListSuiteRuns (Maybe Text) Source #
Lists the test suite runs of the specified test suite based on suite definition ID.
listSuiteRuns_suiteDefinitionVersion :: Lens' ListSuiteRuns (Maybe Text) Source #
Must be passed along with suiteDefinitionId. Lists the test suite runs
of the specified test suite based on suite definition version.
Destructuring the Response
data ListSuiteRunsResponse Source #
See: newListSuiteRunsResponse smart constructor.
Constructors
| ListSuiteRunsResponse' | |
Fields
| |
Instances
newListSuiteRunsResponse Source #
Create a value of ListSuiteRunsResponse with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
ListSuiteRuns, listSuiteRunsResponse_nextToken - A token to retrieve the next set of results.
$sel:suiteRunsList:ListSuiteRunsResponse', listSuiteRunsResponse_suiteRunsList - An array of objects that provide summaries of information about the
suite runs in the list.
$sel:httpStatus:ListSuiteRunsResponse', listSuiteRunsResponse_httpStatus - The response's http status code.
Response Lenses
listSuiteRunsResponse_nextToken :: Lens' ListSuiteRunsResponse (Maybe Text) Source #
A token to retrieve the next set of results.
listSuiteRunsResponse_suiteRunsList :: Lens' ListSuiteRunsResponse (Maybe [SuiteRunInformation]) Source #
An array of objects that provide summaries of information about the suite runs in the list.
listSuiteRunsResponse_httpStatus :: Lens' ListSuiteRunsResponse Int Source #
The response's http status code.