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 |
Synopsis
- data Job = Job' {
- instanceArn :: Maybe Text
- status :: Maybe ExecutionStatus
- counters :: Maybe Counters
- arn :: Maybe Text
- created :: Maybe POSIX
- device :: Maybe Device
- stopped :: Maybe POSIX
- result :: Maybe ExecutionResult
- name :: Maybe Text
- videoEndpoint :: Maybe Text
- deviceMinutes :: Maybe DeviceMinutes
- videoCapture :: Maybe Bool
- type' :: Maybe TestType
- message :: Maybe Text
- started :: Maybe POSIX
- newJob :: Job
- job_instanceArn :: Lens' Job (Maybe Text)
- job_status :: Lens' Job (Maybe ExecutionStatus)
- job_counters :: Lens' Job (Maybe Counters)
- job_arn :: Lens' Job (Maybe Text)
- job_created :: Lens' Job (Maybe UTCTime)
- job_device :: Lens' Job (Maybe Device)
- job_stopped :: Lens' Job (Maybe UTCTime)
- job_result :: Lens' Job (Maybe ExecutionResult)
- job_name :: Lens' Job (Maybe Text)
- job_videoEndpoint :: Lens' Job (Maybe Text)
- job_deviceMinutes :: Lens' Job (Maybe DeviceMinutes)
- job_videoCapture :: Lens' Job (Maybe Bool)
- job_type :: Lens' Job (Maybe TestType)
- job_message :: Lens' Job (Maybe Text)
- job_started :: Lens' Job (Maybe UTCTime)
Documentation
Represents a device.
See: newJob
smart constructor.
Job' | |
|
Instances
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_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_result :: Lens' Job (Maybe ExecutionResult) Source #
The job's result.
Allowed values include:
- PENDING
- PASSED
- WARNED
- FAILED
- SKIPPED
- ERRORED
- STOPPED
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