| Copyright | (c) 2013-2021 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | None |
Amazonka.IoTDeviceAdvisor.ListSuiteRuns
Description
Lists the 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.
Synopsis
- data ListSuiteRuns = ListSuiteRuns' {}
- newListSuiteRuns :: ListSuiteRuns
- listSuiteRuns_suiteDefinitionId :: Lens' ListSuiteRuns (Maybe Text)
- listSuiteRuns_suiteDefinitionVersion :: Lens' ListSuiteRuns (Maybe Text)
- listSuiteRuns_nextToken :: Lens' ListSuiteRuns (Maybe Text)
- listSuiteRuns_maxResults :: Lens' ListSuiteRuns (Maybe Natural)
- 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:suiteDefinitionId:ListSuiteRuns', listSuiteRuns_suiteDefinitionId - Lists the test suite runs of the specified test suite based on suite
definition Id.
$sel:suiteDefinitionVersion:ListSuiteRuns', listSuiteRuns_suiteDefinitionVersion - Must be passed along with suiteDefinitionId. Lists the test suite runs
of the specified test suite based on suite definition version.
$sel:nextToken:ListSuiteRuns', listSuiteRuns_nextToken - A token to retrieve the next set of results.
$sel:maxResults:ListSuiteRuns', listSuiteRuns_maxResults - The maximum number of results to return at once.
Request Lenses
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.
listSuiteRuns_nextToken :: Lens' ListSuiteRuns (Maybe Text) Source #
A token to retrieve the next set of results.
listSuiteRuns_maxResults :: Lens' ListSuiteRuns (Maybe Natural) Source #
The maximum number of results to return at once.
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:
$sel:nextToken: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.