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.

ScheduleRunInput

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

type ScheduleRunInput struct { AppArn *string `locationName:"appArn" min:"32" type:"string"` Configuration *ScheduleRunConfiguration `locationName:"configuration" type:"structure"` DevicePoolArn *string `locationName:"devicePoolArn" min:"32" type:"string"` DeviceSelectionConfiguration *DeviceSelectionConfiguration `locationName:"deviceSelectionConfiguration" type:"structure"` ExecutionConfiguration *ExecutionConfiguration `locationName:"executionConfiguration" type:"structure"` Name *string `locationName:"name" type:"string"` ProjectArn *string `locationName:"projectArn" min:"32" type:"string" required:"true"` Test *ScheduleRunTest `locationName:"test" type:"structure" required:"true"` }

Represents a request to the schedule run operation.

AppArn

Type: *string

The ARN of the app to schedule a run.

Configuration

Represents the settings for a run. Includes things like location, radio states, auxiliary apps, and network profiles.

DevicePoolArn

Type: *string

The ARN of the device pool for the run to be scheduled.

DeviceSelectionConfiguration

Represents the device filters used in a test run as well as the maximum number of devices to be included in the run. It is passed in as the deviceSelectionConfiguration request parameter in ScheduleRun.

ExecutionConfiguration

Represents configuration information about a test run, such as the execution timeout (in minutes).

Name

Type: *string

The name for the run to be scheduled.

ProjectArn

Type: *string

The ARN of the project for the run to be scheduled.

ProjectArn is a required field

Test

Represents test settings. This data structure is passed in as the "test" parameter to ScheduleRun. For an example of the JSON request syntax, see ScheduleRun.

Method

GoString

func (s ScheduleRunInput) GoString() string

GoString returns the string representation

SetAppArn

func (s *ScheduleRunInput) SetAppArn(v string) *ScheduleRunInput

SetAppArn sets the AppArn field's value.

SetConfiguration

func (s *ScheduleRunInput) SetConfiguration(v *ScheduleRunConfiguration) *ScheduleRunInput

SetConfiguration sets the Configuration field's value.

SetDevicePoolArn

func (s *ScheduleRunInput) SetDevicePoolArn(v string) *ScheduleRunInput

SetDevicePoolArn sets the DevicePoolArn field's value.

SetDeviceSelectionConfiguration

func (s *ScheduleRunInput) SetDeviceSelectionConfiguration(v *DeviceSelectionConfiguration) *ScheduleRunInput

SetDeviceSelectionConfiguration sets the DeviceSelectionConfiguration field's value.

SetExecutionConfiguration

func (s *ScheduleRunInput) SetExecutionConfiguration(v *ExecutionConfiguration) *ScheduleRunInput

SetExecutionConfiguration sets the ExecutionConfiguration field's value.

SetName

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

SetName sets the Name field's value.

SetProjectArn

func (s *ScheduleRunInput) SetProjectArn(v string) *ScheduleRunInput

SetProjectArn sets the ProjectArn field's value.

SetTest

func (s *ScheduleRunInput) SetTest(v *ScheduleRunTest) *ScheduleRunInput

SetTest sets the Test field's value.

String

func (s ScheduleRunInput) String() string

String returns the string representation

Validate

func (s *ScheduleRunInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

On this page: