libZSservicesZSamazonka-iotdeviceadvisorZSamazonka-iotdeviceadvisor
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.IoTDeviceAdvisor.Lens

Description

 
Synopsis

Operations

GetSuiteRunReport

getSuiteRunReport_suiteDefinitionId :: Lens' GetSuiteRunReport Text Source #

Suite definition Id of the test suite.

getSuiteRunReport_suiteRunId :: Lens' GetSuiteRunReport Text Source #

Suite run Id of the test suite run.

StartSuiteRun

startSuiteRun_suiteDefinitionVersion :: Lens' StartSuiteRun (Maybe Text) Source #

Suite definition version of the test suite.

startSuiteRun_tags :: Lens' StartSuiteRun (Maybe (HashMap Text Text)) Source #

The tags to be attached to the suite run.

startSuiteRun_suiteDefinitionId :: Lens' StartSuiteRun Text Source #

Suite definition Id of the test suite.

startSuiteRunResponse_createdAt :: Lens' StartSuiteRunResponse (Maybe UTCTime) Source #

Date (in Unix epoch time) when the suite run was created.

startSuiteRunResponse_suiteRunArn :: Lens' StartSuiteRunResponse (Maybe Text) Source #

Amazon resource name of the started suite run.

ListSuiteDefinitions

listSuiteDefinitions_nextToken :: Lens' ListSuiteDefinitions (Maybe Text) Source #

A token used to get the next set of results.

listSuiteDefinitions_maxResults :: Lens' ListSuiteDefinitions (Maybe Natural) Source #

The maximum number of results to return at once.

listSuiteDefinitionsResponse_suiteDefinitionInformationList :: Lens' ListSuiteDefinitionsResponse (Maybe [SuiteDefinitionInformation]) Source #

An array of objects that provide summaries of information about the suite definitions in the list.

ListTagsForResource

listTagsForResource_resourceArn :: Lens' ListTagsForResource Text Source #

The ARN of the IoT Device Advisor resource.

listTagsForResourceResponse_tags :: Lens' ListTagsForResourceResponse (Maybe (HashMap Text Text)) Source #

The tags attached to the IoT Device Advisor resource.

DeleteSuiteDefinition

deleteSuiteDefinition_suiteDefinitionId :: Lens' DeleteSuiteDefinition Text Source #

Suite definition Id of the test suite to be deleted.

UpdateSuiteDefinition

updateSuiteDefinition_suiteDefinitionConfiguration :: Lens' UpdateSuiteDefinition (Maybe SuiteDefinitionConfiguration) Source #

Updates a Device Advisor test suite with suite definition configuration.

updateSuiteDefinition_suiteDefinitionId :: Lens' UpdateSuiteDefinition Text Source #

Suite definition Id of the test suite to be updated.

CreateSuiteDefinition

createSuiteDefinition_suiteDefinitionConfiguration :: Lens' CreateSuiteDefinition (Maybe SuiteDefinitionConfiguration) Source #

Creates a Device Advisor test suite with suite definition configuration.

createSuiteDefinition_tags :: Lens' CreateSuiteDefinition (Maybe (HashMap Text Text)) Source #

The tags to be attached to the suite definition.

createSuiteDefinitionResponse_createdAt :: Lens' CreateSuiteDefinitionResponse (Maybe UTCTime) Source #

Creates a Device Advisor test suite with TimeStamp of when it was created.

createSuiteDefinitionResponse_suiteDefinitionArn :: Lens' CreateSuiteDefinitionResponse (Maybe Text) Source #

Creates a Device Advisor test suite with Amazon Resource name.

createSuiteDefinitionResponse_suiteDefinitionName :: Lens' CreateSuiteDefinitionResponse (Maybe Text) Source #

Creates a Device Advisor test suite with suite definition name.

StopSuiteRun

stopSuiteRun_suiteDefinitionId :: Lens' StopSuiteRun Text Source #

Suite definition Id of the test suite run to be stopped.

stopSuiteRun_suiteRunId :: Lens' StopSuiteRun Text Source #

Suite run Id of the test suite run to be stopped.

GetSuiteDefinition

getSuiteDefinition_suiteDefinitionVersion :: Lens' GetSuiteDefinition (Maybe Text) Source #

Suite definition version of the test suite to get.

getSuiteDefinition_suiteDefinitionId :: Lens' GetSuiteDefinition Text Source #

Suite definition Id of the test suite to get.

getSuiteDefinitionResponse_createdAt :: Lens' GetSuiteDefinitionResponse (Maybe UTCTime) Source #

Date (in Unix epoch time) when the suite definition was created.

getSuiteDefinitionResponse_lastModifiedAt :: Lens' GetSuiteDefinitionResponse (Maybe UTCTime) Source #

Date (in Unix epoch time) when the suite definition was last modified.

getSuiteDefinitionResponse_latestVersion :: Lens' GetSuiteDefinitionResponse (Maybe Text) Source #

Latest suite definition version of the suite definition.

TagResource

tagResource_resourceArn :: Lens' TagResource Text Source #

The resource ARN of an IoT Device Advisor resource.

tagResource_tags :: Lens' TagResource (HashMap Text Text) Source #

The tags to be attached to the IoT Device Advisor resource.

UntagResource

untagResource_resourceArn :: Lens' UntagResource Text Source #

The resource ARN of an IoT Device Advisor resource.

untagResource_tagKeys :: Lens' UntagResource [Text] Source #

List of tag keys to remove from the IoT Device Advisor resource.

ListSuiteRuns

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.

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.

GetSuiteRun

getSuiteRun_suiteDefinitionId :: Lens' GetSuiteRun Text Source #

Suite definition Id for the test suite run.

getSuiteRun_suiteRunId :: Lens' GetSuiteRun Text Source #

Suite run Id for the test suite run.

getSuiteRunResponse_startTime :: Lens' GetSuiteRunResponse (Maybe UTCTime) Source #

Date (in Unix epoch time) when the test suite run was started.

getSuiteRunResponse_suiteDefinitionId :: Lens' GetSuiteRunResponse (Maybe Text) Source #

Suite definition Id for the test suite run.

getSuiteRunResponse_suiteDefinitionVersion :: Lens' GetSuiteRunResponse (Maybe Text) Source #

Suite definition version for the test suite run.

getSuiteRunResponse_errorReason :: Lens' GetSuiteRunResponse (Maybe Text) Source #

Error reason for any test suite run failure.

getSuiteRunResponse_endTime :: Lens' GetSuiteRunResponse (Maybe UTCTime) Source #

Date (in Unix epoch time) when the test suite run ended.

getSuiteRunResponse_suiteRunId :: Lens' GetSuiteRunResponse (Maybe Text) Source #

Suite run Id for the test suite run.

getSuiteRunResponse_tags :: Lens' GetSuiteRunResponse (Maybe (HashMap Text Text)) Source #

The tags attached to the suite run.

Types

DeviceUnderTest

GroupResult

groupResult_tests :: Lens' GroupResult (Maybe [TestCaseRun]) Source #

Tests under Group Result.

SuiteDefinitionConfiguration

SuiteDefinitionInformation

suiteDefinitionInformation_createdAt :: Lens' SuiteDefinitionInformation (Maybe UTCTime) Source #

Date (in Unix epoch time) when the test suite was created.

suiteDefinitionInformation_intendedForQualification :: Lens' SuiteDefinitionInformation (Maybe Bool) Source #

Specifies if the test suite is intended for qualification.

SuiteRunConfiguration

SuiteRunInformation

suiteRunInformation_createdAt :: Lens' SuiteRunInformation (Maybe UTCTime) Source #

Date (in Unix epoch time) when the suite run was created.

suiteRunInformation_passed :: Lens' SuiteRunInformation (Maybe Natural) Source #

Number of test cases that passed in the suite run.

suiteRunInformation_startedAt :: Lens' SuiteRunInformation (Maybe UTCTime) Source #

Date (in Unix epoch time) when the suite run was started.

suiteRunInformation_endAt :: Lens' SuiteRunInformation (Maybe UTCTime) Source #

Date (in Unix epoch time) when the suite run ended.

suiteRunInformation_failed :: Lens' SuiteRunInformation (Maybe Natural) Source #

Number of test cases that failed in the suite run.

TestCaseRun

testCaseRun_status :: Lens' TestCaseRun (Maybe Status) Source #

Provides test case run status.

testCaseRun_logUrl :: Lens' TestCaseRun (Maybe Text) Source #

Provides test case run log Url.

testCaseRun_startTime :: Lens' TestCaseRun (Maybe UTCTime) Source #

Provides test case run start time.

testCaseRun_warnings :: Lens' TestCaseRun (Maybe Text) Source #

Provides test case run warnings.

testCaseRun_endTime :: Lens' TestCaseRun (Maybe UTCTime) Source #

Provides test case run end time.

testCaseRun_testCaseDefinitionId :: Lens' TestCaseRun (Maybe Text) Source #

Provides test case run definition Id.

testCaseRun_failure :: Lens' TestCaseRun (Maybe Text) Source #

Provides test case run failure result.

testCaseRun_testCaseDefinitionName :: Lens' TestCaseRun (Maybe Text) Source #

Provides test case run definition Name.

TestResult

testResult_groups :: Lens' TestResult (Maybe [GroupResult]) Source #

Show each group of test results.