amazonka-iotdeviceadvisor-2.0: Amazon IoT Core Device Advisor SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.IoTDeviceAdvisor.Types.TestCaseScenario

Description

 
Synopsis

Documentation

data TestCaseScenario Source #

Provides test case scenario.

See: newTestCaseScenario smart constructor.

Constructors

TestCaseScenario' 

Fields

  • failure :: Maybe Text

    Provides test case scenario failure result.

  • status :: Maybe TestCaseScenarioStatus

    Provides the test case scenario status. Status is one of the following:

    • PASS: Test passed.
    • FAIL: Test failed.
    • PENDING: Test has not started running but is scheduled.
    • RUNNING: Test is running.
    • STOPPING: Test is performing cleanup steps. You will see this status only if you stop a suite run.
    • STOPPED Test is stopped. You will see this status only if you stop a suite run.
    • PASS_WITH_WARNINGS: Test passed with warnings.
    • ERORR: Test faced an error when running due to an internal issue.
  • systemMessage :: Maybe Text
     
  • testCaseScenarioId :: Maybe Text

    Provides test case scenario ID.

  • testCaseScenarioType :: Maybe TestCaseScenarioType

    Provides test case scenario type. Type is one of the following:

    • Advanced
    • Basic

Instances

Instances details
FromJSON TestCaseScenario Source # 
Instance details

Defined in Amazonka.IoTDeviceAdvisor.Types.TestCaseScenario

Generic TestCaseScenario Source # 
Instance details

Defined in Amazonka.IoTDeviceAdvisor.Types.TestCaseScenario

Associated Types

type Rep TestCaseScenario :: Type -> Type #

Read TestCaseScenario Source # 
Instance details

Defined in Amazonka.IoTDeviceAdvisor.Types.TestCaseScenario

Show TestCaseScenario Source # 
Instance details

Defined in Amazonka.IoTDeviceAdvisor.Types.TestCaseScenario

NFData TestCaseScenario Source # 
Instance details

Defined in Amazonka.IoTDeviceAdvisor.Types.TestCaseScenario

Methods

rnf :: TestCaseScenario -> () #

Eq TestCaseScenario Source # 
Instance details

Defined in Amazonka.IoTDeviceAdvisor.Types.TestCaseScenario

Hashable TestCaseScenario Source # 
Instance details

Defined in Amazonka.IoTDeviceAdvisor.Types.TestCaseScenario

type Rep TestCaseScenario Source # 
Instance details

Defined in Amazonka.IoTDeviceAdvisor.Types.TestCaseScenario

type Rep TestCaseScenario = D1 ('MetaData "TestCaseScenario" "Amazonka.IoTDeviceAdvisor.Types.TestCaseScenario" "amazonka-iotdeviceadvisor-2.0-DMTYim03jFoq2XrPgpZdL" 'False) (C1 ('MetaCons "TestCaseScenario'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "failure") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe TestCaseScenarioStatus))) :*: (S1 ('MetaSel ('Just "systemMessage") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "testCaseScenarioId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "testCaseScenarioType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe TestCaseScenarioType))))))

newTestCaseScenario :: TestCaseScenario Source #

Create a value of TestCaseScenario 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:failure:TestCaseScenario', testCaseScenario_failure - Provides test case scenario failure result.

$sel:status:TestCaseScenario', testCaseScenario_status - Provides the test case scenario status. Status is one of the following:

  • PASS: Test passed.
  • FAIL: Test failed.
  • PENDING: Test has not started running but is scheduled.
  • RUNNING: Test is running.
  • STOPPING: Test is performing cleanup steps. You will see this status only if you stop a suite run.
  • STOPPED Test is stopped. You will see this status only if you stop a suite run.
  • PASS_WITH_WARNINGS: Test passed with warnings.
  • ERORR: Test faced an error when running due to an internal issue.

$sel:systemMessage:TestCaseScenario', testCaseScenario_systemMessage -

$sel:testCaseScenarioId:TestCaseScenario', testCaseScenario_testCaseScenarioId - Provides test case scenario ID.

$sel:testCaseScenarioType:TestCaseScenario', testCaseScenario_testCaseScenarioType - Provides test case scenario type. Type is one of the following:

  • Advanced
  • Basic

testCaseScenario_failure :: Lens' TestCaseScenario (Maybe Text) Source #

Provides test case scenario failure result.

testCaseScenario_status :: Lens' TestCaseScenario (Maybe TestCaseScenarioStatus) Source #

Provides the test case scenario status. Status is one of the following:

  • PASS: Test passed.
  • FAIL: Test failed.
  • PENDING: Test has not started running but is scheduled.
  • RUNNING: Test is running.
  • STOPPING: Test is performing cleanup steps. You will see this status only if you stop a suite run.
  • STOPPED Test is stopped. You will see this status only if you stop a suite run.
  • PASS_WITH_WARNINGS: Test passed with warnings.
  • ERORR: Test faced an error when running due to an internal issue.

testCaseScenario_testCaseScenarioType :: Lens' TestCaseScenario (Maybe TestCaseScenarioType) Source #

Provides test case scenario type. Type is one of the following:

  • Advanced
  • Basic