AWS SDK for Go (PILOT)
API Reference

PREVIEW DOCUMENTATION - This is a preview of a new format for the AWS SDK for Go API Reference documentation. For the current AWS SDK for Go API Reference, see https://docs.aws.amazon.com/sdk-for-go/api/.

We welcome your feedback on this new version of the documentation. Send your comments to aws-sdkdocs-feedback@amazon.com.

Job

import "github.com/aws/aws-sdk-go/service/devicefarm"

type Job struct { Arn *string `locationName:"arn" min:"32" type:"string"` Counters *Counters `locationName:"counters" type:"structure"` Created *time.Time `locationName:"created" type:"timestamp"` Device *Device `locationName:"device" type:"structure"` DeviceMinutes *DeviceMinutes `locationName:"deviceMinutes" type:"structure"` InstanceArn *string `locationName:"instanceArn" min:"32" type:"string"` Message *string `locationName:"message" type:"string"` Name *string `locationName:"name" type:"string"` Result *string `locationName:"result" type:"string" enum:"ExecutionResult"` Started *time.Time `locationName:"started" type:"timestamp"` Status *string `locationName:"status" type:"string" enum:"ExecutionStatus"` Stopped *time.Time `locationName:"stopped" type:"timestamp"` Type *string `locationName:"type" type:"string" enum:"TestType"` VideoCapture *bool `locationName:"videoCapture" type:"boolean"` VideoEndpoint *string `locationName:"videoEndpoint" type:"string"` }

Represents a device.

Arn

Type: *string

The job's ARN.

Counters

Represents entity counters.

Created

Type: *time.Time

When the job was created.

Device

Represents a device type that an app is tested against.

DeviceMinutes

Represents the total (metered or unmetered) minutes used by the resource to run tests. Contains the sum of minutes consumed by all children.

InstanceArn

Type: *string

The Amazon Resource Name (ARN) of the instance.

Message

Type: *string

A message about the job's result.

Name

Type: *string

The job's name.

Result

Type: *string

The job's result.

Allowed values include:

  • PENDING: A pending condition.

  • PASSED: A passing condition.

  • WARNED: A warning condition.

  • FAILED: A failed condition.

  • SKIPPED: A skipped condition.

  • ERRORED: An error condition.

  • STOPPED: A stopped condition.

Started

Type: *time.Time

The job's start time.

Status

Type: *string

The job's status.

Allowed values include:

  • PENDING: A pending status.

  • PENDING_CONCURRENCY: A pending concurrency status.

  • PENDING_DEVICE: A pending device status.

  • PROCESSING: A processing status.

  • SCHEDULING: A scheduling status.

  • PREPARING: A preparing status.

  • RUNNING: A running status.

  • COMPLETED: A completed status.

  • STOPPING: A stopping status.

Stopped

Type: *time.Time

The job's stop time.

Type

Type: *string

The job's type.

Allowed values include the following:

  • BUILTIN_FUZZ: The built-in fuzz type.

  • BUILTIN_EXPLORER: For Android, an app explorer that will traverse an Android app, interacting with it and capturing screenshots at the same time.

  • APPIUM_JAVA_JUNIT: The Appium Java JUnit type.

  • APPIUM_JAVA_TESTNG: The Appium Java TestNG type.

  • APPIUM_PYTHON: The Appium Python type.

  • APPIUM_NODE: The Appium Node.js type.

  • APPIUM_RUBY: The Appium Ruby type.

  • APPIUM_WEB_JAVA_JUNIT: The Appium Java JUnit type for web apps.

  • APPIUM_WEB_JAVA_TESTNG: The Appium Java TestNG type for web apps.

  • APPIUM_WEB_PYTHON: The Appium Python type for web apps.

  • APPIUM_WEB_NODE: The Appium Node.js type for web apps.

  • APPIUM_WEB_RUBY: The Appium Ruby test type for web apps.

  • CALABASH: The Calabash type.

  • INSTRUMENTATION: The Instrumentation type.

  • UIAUTOMATION: The uiautomation type.

  • UIAUTOMATOR: The uiautomator type.

  • XCTEST: The XCode test type.

  • XCTEST_UI: The XCode UI test type.

VideoCapture

Type: *bool

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

VideoEndpoint

Type: *string

The endpoint for streaming device video.

Method

GoString

func (s Job) GoString() string

GoString returns the string representation

SetArn

func (s *Job) SetArn(v string) *Job

SetArn sets the Arn field's value.

SetCounters

func (s *Job) SetCounters(v *Counters) *Job

SetCounters sets the Counters field's value.

SetCreated

func (s *Job) SetCreated(v time.Time) *Job

SetCreated sets the Created field's value.

SetDevice

func (s *Job) SetDevice(v *Device) *Job

SetDevice sets the Device field's value.

SetDeviceMinutes

func (s *Job) SetDeviceMinutes(v *DeviceMinutes) *Job

SetDeviceMinutes sets the DeviceMinutes field's value.

SetInstanceArn

func (s *Job) SetInstanceArn(v string) *Job

SetInstanceArn sets the InstanceArn field's value.

SetMessage

func (s *Job) SetMessage(v string) *Job

SetMessage sets the Message field's value.

SetName

func (s *Job) SetName(v string) *Job

SetName sets the Name field's value.

SetResult

func (s *Job) SetResult(v string) *Job

SetResult sets the Result field's value.

SetStarted

func (s *Job) SetStarted(v time.Time) *Job

SetStarted sets the Started field's value.

SetStatus

func (s *Job) SetStatus(v string) *Job

SetStatus sets the Status field's value.

SetStopped

func (s *Job) SetStopped(v time.Time) *Job

SetStopped sets the Stopped field's value.

SetType

func (s *Job) SetType(v string) *Job

SetType sets the Type field's value.

SetVideoCapture

func (s *Job) SetVideoCapture(v bool) *Job

SetVideoCapture sets the VideoCapture field's value.

SetVideoEndpoint

func (s *Job) SetVideoEndpoint(v string) *Job

SetVideoEndpoint sets the VideoEndpoint field's value.

String

func (s Job) String() string

String returns the string representation

On this page: