libZSservicesZSamazonka-devicefarmZSamazonka-devicefarm
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.DeviceFarm.Types.Job

Description

 
Synopsis

Documentation

data Job Source #

Represents a device.

See: newJob smart constructor.

Constructors

Job' 

Fields

Instances

Instances details
Eq Job Source # 
Instance details

Defined in Amazonka.DeviceFarm.Types.Job

Methods

(==) :: Job -> Job -> Bool #

(/=) :: Job -> Job -> Bool #

Read Job Source # 
Instance details

Defined in Amazonka.DeviceFarm.Types.Job

Show Job Source # 
Instance details

Defined in Amazonka.DeviceFarm.Types.Job

Methods

showsPrec :: Int -> Job -> ShowS #

show :: Job -> String #

showList :: [Job] -> ShowS #

Generic Job Source # 
Instance details

Defined in Amazonka.DeviceFarm.Types.Job

Associated Types

type Rep Job :: Type -> Type #

Methods

from :: Job -> Rep Job x #

to :: Rep Job x -> Job #

NFData Job Source # 
Instance details

Defined in Amazonka.DeviceFarm.Types.Job

Methods

rnf :: Job -> () #

Hashable Job Source # 
Instance details

Defined in Amazonka.DeviceFarm.Types.Job

Methods

hashWithSalt :: Int -> Job -> Int #

hash :: Job -> Int #

FromJSON Job Source # 
Instance details

Defined in Amazonka.DeviceFarm.Types.Job

type Rep Job Source # 
Instance details

Defined in Amazonka.DeviceFarm.Types.Job

type Rep Job = D1 ('MetaData "Job" "Amazonka.DeviceFarm.Types.Job" "libZSservicesZSamazonka-devicefarmZSamazonka-devicefarm" 'False) (C1 ('MetaCons "Job'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "instanceArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ExecutionStatus)) :*: S1 ('MetaSel ('Just "counters") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Counters)))) :*: ((S1 ('MetaSel ('Just "arn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "created") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX))) :*: (S1 ('MetaSel ('Just "device") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Device)) :*: S1 ('MetaSel ('Just "stopped") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX))))) :*: (((S1 ('MetaSel ('Just "result") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ExecutionResult)) :*: S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "videoEndpoint") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "deviceMinutes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe DeviceMinutes)))) :*: ((S1 ('MetaSel ('Just "videoCapture") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "type'") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe TestType))) :*: (S1 ('MetaSel ('Just "message") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "started") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)))))))

newJob :: Job Source #

Create a value of Job 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:instanceArn:Job', job_instanceArn - The ARN of the instance.

$sel:status:Job', job_status - The job's status.

Allowed values include:

  • PENDING
  • PENDING_CONCURRENCY
  • PENDING_DEVICE
  • PROCESSING
  • SCHEDULING
  • PREPARING
  • RUNNING
  • COMPLETED
  • STOPPING

$sel:counters:Job', job_counters - The job's result counters.

$sel:arn:Job', job_arn - The job's ARN.

$sel:created:Job', job_created - When the job was created.

$sel:device:Job', job_device - The device (phone or tablet).

$sel:stopped:Job', job_stopped - The job's stop time.

$sel:result:Job', job_result - The job's result.

Allowed values include:

  • PENDING
  • PASSED
  • WARNED
  • FAILED
  • SKIPPED
  • ERRORED
  • STOPPED

$sel:name:Job', job_name - The job's name.

$sel:videoEndpoint:Job', job_videoEndpoint - The endpoint for streaming device video.

$sel:deviceMinutes:Job', job_deviceMinutes - Represents the total (metered or unmetered) minutes used by the job.

$sel:videoCapture:Job', job_videoCapture - This value is set to true if video capture is enabled. Otherwise, it is set to false.

$sel:type':Job', job_type - The job's type.

Allowed values include the following:

  • BUILTIN_FUZZ
  • BUILTIN_EXPLORER. For Android, an app explorer that traverses an Android app, interacting with it and capturing screenshots at the same time.
  • APPIUM_JAVA_JUNIT
  • APPIUM_JAVA_TESTNG
  • APPIUM_PYTHON
  • APPIUM_NODE
  • APPIUM_RUBY
  • APPIUM_WEB_JAVA_JUNIT
  • APPIUM_WEB_JAVA_TESTNG
  • APPIUM_WEB_PYTHON
  • APPIUM_WEB_NODE
  • APPIUM_WEB_RUBY
  • CALABASH
  • INSTRUMENTATION
  • UIAUTOMATION
  • UIAUTOMATOR
  • XCTEST
  • XCTEST_UI

$sel:message:Job', job_message - A message about the job's result.

$sel:started:Job', job_started - The job's start time.

job_instanceArn :: Lens' Job (Maybe Text) Source #

The ARN of the instance.

job_status :: Lens' Job (Maybe ExecutionStatus) Source #

The job's status.

Allowed values include:

  • PENDING
  • PENDING_CONCURRENCY
  • PENDING_DEVICE
  • PROCESSING
  • SCHEDULING
  • PREPARING
  • RUNNING
  • COMPLETED
  • STOPPING

job_counters :: Lens' Job (Maybe Counters) Source #

The job's result counters.

job_arn :: Lens' Job (Maybe Text) Source #

The job's ARN.

job_created :: Lens' Job (Maybe UTCTime) Source #

When the job was created.

job_device :: Lens' Job (Maybe Device) Source #

The device (phone or tablet).

job_stopped :: Lens' Job (Maybe UTCTime) Source #

The job's stop time.

job_result :: Lens' Job (Maybe ExecutionResult) Source #

The job's result.

Allowed values include:

  • PENDING
  • PASSED
  • WARNED
  • FAILED
  • SKIPPED
  • ERRORED
  • STOPPED

job_name :: Lens' Job (Maybe Text) Source #

The job's name.

job_videoEndpoint :: Lens' Job (Maybe Text) Source #

The endpoint for streaming device video.

job_deviceMinutes :: Lens' Job (Maybe DeviceMinutes) Source #

Represents the total (metered or unmetered) minutes used by the job.

job_videoCapture :: Lens' Job (Maybe Bool) Source #

This value is set to true if video capture is enabled. Otherwise, it is set to false.

job_type :: Lens' Job (Maybe TestType) Source #

The job's type.

Allowed values include the following:

  • BUILTIN_FUZZ
  • BUILTIN_EXPLORER. For Android, an app explorer that traverses an Android app, interacting with it and capturing screenshots at the same time.
  • APPIUM_JAVA_JUNIT
  • APPIUM_JAVA_TESTNG
  • APPIUM_PYTHON
  • APPIUM_NODE
  • APPIUM_RUBY
  • APPIUM_WEB_JAVA_JUNIT
  • APPIUM_WEB_JAVA_TESTNG
  • APPIUM_WEB_PYTHON
  • APPIUM_WEB_NODE
  • APPIUM_WEB_RUBY
  • CALABASH
  • INSTRUMENTATION
  • UIAUTOMATION
  • UIAUTOMATOR
  • XCTEST
  • XCTEST_UI

job_message :: Lens' Job (Maybe Text) Source #

A message about the job's result.

job_started :: Lens' Job (Maybe UTCTime) Source #

The job's start time.