Struct aws_sdk_devicefarm::model::Job
source · #[non_exhaustive]pub struct Job { /* private fields */ }Expand description
Represents a device.
Implementations§
source§impl Job
impl Job
sourcepub fn type(&self) -> Option<&TestType>
pub fn type(&self) -> Option<&TestType>
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
sourcepub fn status(&self) -> Option<&ExecutionStatus>
pub fn status(&self) -> Option<&ExecutionStatus>
The job's status.
Allowed values include:
-
PENDING
-
PENDING_CONCURRENCY
-
PENDING_DEVICE
-
PROCESSING
-
SCHEDULING
-
PREPARING
-
RUNNING
-
COMPLETED
-
STOPPING
sourcepub fn result(&self) -> Option<&ExecutionResult>
pub fn result(&self) -> Option<&ExecutionResult>
The job's result.
Allowed values include:
-
PENDING
-
PASSED
-
WARNED
-
FAILED
-
SKIPPED
-
ERRORED
-
STOPPED
sourcepub fn instance_arn(&self) -> Option<&str>
pub fn instance_arn(&self) -> Option<&str>
The ARN of the instance.
sourcepub fn device_minutes(&self) -> Option<&DeviceMinutes>
pub fn device_minutes(&self) -> Option<&DeviceMinutes>
Represents the total (metered or unmetered) minutes used by the job.
sourcepub fn video_endpoint(&self) -> Option<&str>
pub fn video_endpoint(&self) -> Option<&str>
The endpoint for streaming device video.
sourcepub fn video_capture(&self) -> Option<bool>
pub fn video_capture(&self) -> Option<bool>
This value is set to true if video capture is enabled. Otherwise, it is set to false.