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.

Suite

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

type Suite struct { Arn *string `locationName:"arn" min:"32" type:"string"` Counters *Counters `locationName:"counters" type:"structure"` Created *time.Time `locationName:"created" type:"timestamp"` DeviceMinutes *DeviceMinutes `locationName:"deviceMinutes" type:"structure"` 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"` }

Represents a collection of one or more tests.

Arn

Type: *string

The suite's ARN.

Counters

Represents entity counters.

Created

Type: *time.Time

When the suite was created.

DeviceMinutes

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

Message

Type: *string

A message about the suite's result.

Name

Type: *string

The suite's name.

Result

Type: *string

The suite'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 suite's start time.

Status

Type: *string

The suite'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 suite's stop time.

Type

Type: *string

The suite's type.

Must be one of the following values:

  • 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 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.

Method

GoString

func (s Suite) GoString() string

GoString returns the string representation

SetArn

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

SetArn sets the Arn field's value.

SetCounters

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

SetCounters sets the Counters field's value.

SetCreated

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

SetCreated sets the Created field's value.

SetDeviceMinutes

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

SetDeviceMinutes sets the DeviceMinutes field's value.

SetMessage

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

SetMessage sets the Message field's value.

SetName

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

SetName sets the Name field's value.

SetResult

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

SetResult sets the Result field's value.

SetStarted

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

SetStarted sets the Started field's value.

SetStatus

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

SetStatus sets the Status field's value.

SetStopped

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

SetStopped sets the Stopped field's value.

SetType

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

SetType sets the Type field's value.

String

func (s Suite) String() string

String returns the string representation

On this page: