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.

RemoteAccessSession

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

type RemoteAccessSession struct { Arn *string `locationName:"arn" min:"32" type:"string"` BillingMethod *string `locationName:"billingMethod" type:"string" enum:"BillingMethod"` ClientId *string `locationName:"clientId" type:"string"` Created *time.Time `locationName:"created" type:"timestamp"` Device *Device `locationName:"device" type:"structure"` DeviceMinutes *DeviceMinutes `locationName:"deviceMinutes" type:"structure"` DeviceUdid *string `locationName:"deviceUdid" type:"string"` Endpoint *string `locationName:"endpoint" type:"string"` HostAddress *string `locationName:"hostAddress" type:"string"` InstanceArn *string `locationName:"instanceArn" min:"32" type:"string"` InteractionMode *string `locationName:"interactionMode" type:"string" enum:"InteractionMode"` Message *string `locationName:"message" type:"string"` Name *string `locationName:"name" type:"string"` RemoteDebugEnabled *bool `locationName:"remoteDebugEnabled" type:"boolean"` RemoteRecordAppArn *string `locationName:"remoteRecordAppArn" min:"32" type:"string"` RemoteRecordEnabled *bool `locationName:"remoteRecordEnabled" type:"boolean"` Result *string `locationName:"result" type:"string" enum:"ExecutionResult"` SkipAppResign *bool `locationName:"skipAppResign" type:"boolean"` Started *time.Time `locationName:"started" type:"timestamp"` Status *string `locationName:"status" type:"string" enum:"ExecutionStatus"` Stopped *time.Time `locationName:"stopped" type:"timestamp"` }

Represents information about the remote access session.

Arn

Type: *string

The Amazon Resource Name (ARN) of the remote access session.

BillingMethod

Type: *string

The billing method of the remote access session. Possible values include METERED or UNMETERED. For more information about metered devices, see AWS Device Farm terminology (https://docs.aws.amazon.com/devicefarm/latest/developerguide/welcome.html#welcome-terminology)."

ClientId

Type: *string

Unique identifier of your client for the remote access session. Only returned if remote debugging is enabled for the remote access session.

Created

Type: *time.Time

The date and time the remote access session 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.

DeviceUdid

Type: *string

Unique device identifier for the remote device. Only returned if remote debugging is enabled for the remote access session.

Endpoint

Type: *string

The endpoint for the remote access sesssion.

HostAddress

Type: *string

IP address of the EC2 host where you need to connect to remotely debug devices. Only returned if remote debugging is enabled for the remote access session.

InstanceArn

Type: *string

The Amazon Resource Name (ARN) of the instance.

InteractionMode

Type: *string

The interaction mode of the remote access session. Valid values are:

  • INTERACTIVE: You can interact with the iOS device by viewing, touching, and rotating the screen. You cannot run XCUITest framework-based tests in this mode.

  • NO_VIDEO: You are connected to the device but cannot interact with it or view the screen. This mode has the fastest test execution speed. You can run XCUITest framework-based tests in this mode.

  • VIDEO_ONLY: You can view the screen but cannot touch or rotate it. You can run XCUITest framework-based tests and watch the screen in this mode.

Message

Type: *string

A message about the remote access session.

Name

Type: *string

The name of the remote access session.

RemoteDebugEnabled

Type: *bool

This flag is set to true if remote debugging is enabled for the remote access session.

RemoteRecordAppArn

Type: *string

The Amazon Resource Name (ARN) for the app to be recorded in the remote access session.

RemoteRecordEnabled

Type: *bool

This flag is set to true if remote recording is enabled for the remote access session.

Result

Type: *string

The result of the remote access session. Can be any of the following:

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

SkipAppResign

Type: *bool

When set to true, for private devices, Device Farm will not sign your app again. For public devices, Device Farm always signs your apps again and this parameter has no effect.

For more information about how Device Farm re-signs your app(s), see Do you modify my app? (https://aws.amazon.com/device-farm/faq/) in the AWS Device Farm FAQs.

Started

Type: *time.Time

The date and time the remote access session was started.

Status

Type: *string

The status of the remote access session. Can be any of the following:

  • 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 date and time the remote access session was stopped.

Method

GoString

func (s RemoteAccessSession) GoString() string

GoString returns the string representation

SetArn

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

SetArn sets the Arn field's value.

SetBillingMethod

func (s *RemoteAccessSession) SetBillingMethod(v string) *RemoteAccessSession

SetBillingMethod sets the BillingMethod field's value.

SetClientId

func (s *RemoteAccessSession) SetClientId(v string) *RemoteAccessSession

SetClientId sets the ClientId field's value.

SetCreated

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

SetCreated sets the Created field's value.

SetDevice

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

SetDevice sets the Device field's value.

SetDeviceMinutes

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

SetDeviceMinutes sets the DeviceMinutes field's value.

SetDeviceUdid

func (s *RemoteAccessSession) SetDeviceUdid(v string) *RemoteAccessSession

SetDeviceUdid sets the DeviceUdid field's value.

SetEndpoint

func (s *RemoteAccessSession) SetEndpoint(v string) *RemoteAccessSession

SetEndpoint sets the Endpoint field's value.

SetHostAddress

func (s *RemoteAccessSession) SetHostAddress(v string) *RemoteAccessSession

SetHostAddress sets the HostAddress field's value.

SetInstanceArn

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

SetInstanceArn sets the InstanceArn field's value.

SetInteractionMode

func (s *RemoteAccessSession) SetInteractionMode(v string) *RemoteAccessSession

SetInteractionMode sets the InteractionMode field's value.

SetMessage

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

SetMessage sets the Message field's value.

SetName

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

SetName sets the Name field's value.

SetRemoteDebugEnabled

func (s *RemoteAccessSession) SetRemoteDebugEnabled(v bool) *RemoteAccessSession

SetRemoteDebugEnabled sets the RemoteDebugEnabled field's value.

SetRemoteRecordAppArn

func (s *RemoteAccessSession) SetRemoteRecordAppArn(v string) *RemoteAccessSession

SetRemoteRecordAppArn sets the RemoteRecordAppArn field's value.

SetRemoteRecordEnabled

func (s *RemoteAccessSession) SetRemoteRecordEnabled(v bool) *RemoteAccessSession

SetRemoteRecordEnabled sets the RemoteRecordEnabled field's value.

SetResult

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

SetResult sets the Result field's value.

SetSkipAppResign

func (s *RemoteAccessSession) SetSkipAppResign(v bool) *RemoteAccessSession

SetSkipAppResign sets the SkipAppResign field's value.

SetStarted

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

SetStarted sets the Started field's value.

SetStatus

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

SetStatus sets the Status field's value.

SetStopped

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

SetStopped sets the Stopped field's value.

String

func (s RemoteAccessSession) String() string

String returns the string representation

On this page: