package types

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

Index

Types

type AccountSettings

type AccountSettings struct {
	// Information about an AWS account's usage of free trial device minutes.
	TrialMinutes *TrialMinutes
	// Returns the unmetered remote access devices you have purchased or want to
	// purchase.
	UnmeteredRemoteAccessDevices map[string]*int32
	// Returns the unmetered devices you have purchased or want to purchase.
	UnmeteredDevices map[string]*int32
	// When set to true, for private devices, Device Farm does not sign your app again.
	// For public devices, Device Farm always signs your apps again. For more
	// information about how Device Farm re-signs your apps, see Do you modify my app?
	// (https://aws.amazon.com/device-farm/faq/) in the AWS Device Farm FAQs.
	SkipAppResign *bool
	// The maximum number of minutes a test run executes before it times out.
	MaxJobTimeoutMinutes *int32
	// The default number of minutes (at the account level) a test run executes before
	// it times out. The default value is 150 minutes.
	DefaultJobTimeoutMinutes *int32
	// The AWS account number specified in the AccountSettings container.
	AwsAccountNumber *string
	// The maximum number of device slots that the AWS account can purchase. Each
	// maximum is expressed as an offering-id:number pair, where the offering-id
	// represents one of the IDs returned by the ListOfferings command.
	MaxSlots map[string]*int32
}

A container for account-level settings in AWS Device Farm.

type ArgumentException

type ArgumentException struct {
	Message *string
}

An invalid argument was specified.

func (*ArgumentException) Error

func (e *ArgumentException) Error() string

func (*ArgumentException) ErrorCode

func (e *ArgumentException) ErrorCode() string

func (*ArgumentException) ErrorFault

func (e *ArgumentException) ErrorFault() smithy.ErrorFault

func (*ArgumentException) ErrorMessage

func (e *ArgumentException) ErrorMessage() string

func (*ArgumentException) GetMessage

func (e *ArgumentException) GetMessage() string

func (*ArgumentException) HasMessage

func (e *ArgumentException) HasMessage() bool

type Artifact

type Artifact struct {
	// The artifact's name.
	Name *string
	// The artifact's type. Allowed values include the following:
	//
	//     * UNKNOWN
	//
	//     *
	// SCREENSHOT
	//
	//     * DEVICE_LOG
	//
	//     * MESSAGE_LOG
	//
	//     * VIDEO_LOG
	//
	//     *
	// RESULT_LOG
	//
	//     * SERVICE_LOG
	//
	//     * WEBKIT_LOG
	//
	//     * INSTRUMENTATION_OUTPUT
	//
	//
	// * EXERCISER_MONKEY_OUTPUT: the artifact (log) generated by an Android fuzz
	// test.
	//
	//     * CALABASH_JSON_OUTPUT
	//
	//     * CALABASH_PRETTY_OUTPUT
	//
	//     *
	// CALABASH_STANDARD_OUTPUT
	//
	//     * CALABASH_JAVA_XML_OUTPUT
	//
	//     *
	// AUTOMATION_OUTPUT
	//
	//     * APPIUM_SERVER_OUTPUT
	//
	//     * APPIUM_JAVA_OUTPUT
	//
	//     *
	// APPIUM_JAVA_XML_OUTPUT
	//
	//     * APPIUM_PYTHON_OUTPUT
	//
	//     *
	// APPIUM_PYTHON_XML_OUTPUT
	//
	//     * EXPLORER_EVENT_LOG
	//
	//     * EXPLORER_SUMMARY_LOG
	//
	//
	// * APPLICATION_CRASH_REPORT
	//
	//     * XCTEST_LOG
	//
	//     * VIDEO
	//
	//     *
	// CUSTOMER_ARTIFACT
	//
	//     * CUSTOMER_ARTIFACT_LOG
	//
	//     * TESTSPEC_OUTPUT
	Type ArtifactType
	// The artifact's file extension.
	Extension *string
	// The presigned Amazon S3 URL that can be used with a GET request to download the
	// artifact's file.
	Url *string
	// The artifact's ARN.
	Arn *string
}

Represents the output of a test. Examples of artifacts include logs and screenshots.

type ArtifactCategory

type ArtifactCategory string
const (
	ArtifactCategoryScreenshot ArtifactCategory = "SCREENSHOT"
	ArtifactCategoryFile       ArtifactCategory = "FILE"
	ArtifactCategoryLog        ArtifactCategory = "LOG"
)

Enum values for ArtifactCategory

type ArtifactType

type ArtifactType string
const (
	ArtifactTypeUnknown                  ArtifactType = "UNKNOWN"
	ArtifactTypeScreenshot               ArtifactType = "SCREENSHOT"
	ArtifactTypeDevice_log               ArtifactType = "DEVICE_LOG"
	ArtifactTypeMessage_log              ArtifactType = "MESSAGE_LOG"
	ArtifactTypeVideo_log                ArtifactType = "VIDEO_LOG"
	ArtifactTypeResult_log               ArtifactType = "RESULT_LOG"
	ArtifactTypeService_log              ArtifactType = "SERVICE_LOG"
	ArtifactTypeWebkit_log               ArtifactType = "WEBKIT_LOG"
	ArtifactTypeInstrumentation_output   ArtifactType = "INSTRUMENTATION_OUTPUT"
	ArtifactTypeExerciser_monkey_output  ArtifactType = "EXERCISER_MONKEY_OUTPUT"
	ArtifactTypeCalabash_json_output     ArtifactType = "CALABASH_JSON_OUTPUT"
	ArtifactTypeCalabash_pretty_output   ArtifactType = "CALABASH_PRETTY_OUTPUT"
	ArtifactTypeCalabash_standard_output ArtifactType = "CALABASH_STANDARD_OUTPUT"
	ArtifactTypeCalabash_java_xml_output ArtifactType = "CALABASH_JAVA_XML_OUTPUT"
	ArtifactTypeAutomation_output        ArtifactType = "AUTOMATION_OUTPUT"
	ArtifactTypeAppium_server_output     ArtifactType = "APPIUM_SERVER_OUTPUT"
	ArtifactTypeAppium_java_output       ArtifactType = "APPIUM_JAVA_OUTPUT"
	ArtifactTypeAppium_java_xml_output   ArtifactType = "APPIUM_JAVA_XML_OUTPUT"
	ArtifactTypeAppium_python_output     ArtifactType = "APPIUM_PYTHON_OUTPUT"
	ArtifactTypeAppium_python_xml_output ArtifactType = "APPIUM_PYTHON_XML_OUTPUT"
	ArtifactTypeExplorer_event_log       ArtifactType = "EXPLORER_EVENT_LOG"
	ArtifactTypeExplorer_summary_log     ArtifactType = "EXPLORER_SUMMARY_LOG"
	ArtifactTypeApplication_crash_report ArtifactType = "APPLICATION_CRASH_REPORT"
	ArtifactTypeXctest_log               ArtifactType = "XCTEST_LOG"
	ArtifactTypeVideo                    ArtifactType = "VIDEO"
	ArtifactTypeCustomer_artifact        ArtifactType = "CUSTOMER_ARTIFACT"
	ArtifactTypeCustomer_artifact_log    ArtifactType = "CUSTOMER_ARTIFACT_LOG"
	ArtifactTypeTestspec_output          ArtifactType = "TESTSPEC_OUTPUT"
)

Enum values for ArtifactType

type BillingMethod

type BillingMethod string
const (
	BillingMethodMetered   BillingMethod = "METERED"
	BillingMethodUnmetered BillingMethod = "UNMETERED"
)

Enum values for BillingMethod

type CPU

type CPU struct {
	// The CPU's architecture (for example, x86 or ARM).
	Architecture *string
	// The clock speed of the device's CPU, expressed in hertz (Hz). For example, a 1.2
	// GHz CPU is expressed as 1200000000.
	Clock *float64
	// The CPU's frequency.
	Frequency *string
}

Represents the amount of CPU that an app is using on a physical device. Does not represent system-wide CPU usage.

type CannotDeleteException

type CannotDeleteException struct {
	Message *string
}

The requested object could not be deleted.

func (*CannotDeleteException) Error

func (e *CannotDeleteException) Error() string

func (*CannotDeleteException) ErrorCode

func (e *CannotDeleteException) ErrorCode() string

func (*CannotDeleteException) ErrorFault

func (e *CannotDeleteException) ErrorFault() smithy.ErrorFault

func (*CannotDeleteException) ErrorMessage

func (e *CannotDeleteException) ErrorMessage() string

func (*CannotDeleteException) GetMessage

func (e *CannotDeleteException) GetMessage() string

func (*CannotDeleteException) HasMessage

func (e *CannotDeleteException) HasMessage() bool

type Counters

type Counters struct {
	// The number of failed entities.
	Failed *int32
	// The number of warned entities.
	Warned *int32
	// The number of passed entities.
	Passed *int32
	// The number of stopped entities.
	Stopped *int32
	// The number of errored entities.
	Errored *int32
	// The number of skipped entities.
	Skipped *int32
	// The total number of entities.
	Total *int32
}

Represents entity counters.

type CreateRemoteAccessSessionConfiguration

type CreateRemoteAccessSessionConfiguration struct {
	// An array of ARNs included in the VPC endpoint configuration.
	VpceConfigurationArns []*string
	// The billing method for the remote access session.
	BillingMethod BillingMethod
}

Configuration settings for a remote access session, including billing method.

type CurrencyCode

type CurrencyCode string
const (
	CurrencyCodeUsd CurrencyCode = "USD"
)

Enum values for CurrencyCode

type CustomerArtifactPaths

type CustomerArtifactPaths struct {
	// Comma-separated list of paths on the Android device where the artifacts
	// generated by the customer's tests are pulled from.
	AndroidPaths []*string
	// Comma-separated list of paths in the test execution environment where the
	// artifacts generated by the customer's tests are pulled from.
	DeviceHostPaths []*string
	// Comma-separated list of paths on the iOS device where the artifacts generated by
	// the customer's tests are pulled from.
	IosPaths []*string
}

A JSON object that specifies the paths where the artifacts generated by the customer's tests, on the device or in the test environment, are pulled from. Specify deviceHostPaths and optionally specify either iosPaths or androidPaths. For web app tests, you can specify both iosPaths and androidPaths.

type Device

type Device struct {
	// Indicates how likely a device is available for a test run. Currently available
	// in the ListDevices () and GetDevice API methods.
	Availability DeviceAvailability
	// The device's display name.
	Name *string
	// The device's model name.
	Model *string
	// The device's ARN.
	Arn *string
	// The device's operating system type.
	Os *string
	// The type of fleet to which this device belongs. Possible values are PRIVATE and
	// PUBLIC.
	FleetType *string
	// The device's carrier.
	Carrier *string
	// The name of the fleet to which this device belongs.
	FleetName *string
	// The device's total memory size, expressed in bytes.
	Memory *int64
	// The device's model ID.
	ModelId *string
	// The device's image name.
	Image *string
	// The instances that belong to this device.
	Instances []*DeviceInstance
	// The device's form factor. Allowed values include:
	//
	//     * PHONE
	//
	//     * TABLET
	FormFactor DeviceFormFactor
	// Information about the device's CPU.
	Cpu *CPU
	// The device's radio.
	Radio *string
	// The device's heap size, expressed in bytes.
	HeapSize *int64
	// This flag is set to true if remote debugging is enabled for the device. Remote
	// debugging is no longer supported
	// (https://docs.aws.amazon.com/devicefarm/latest/developerguide/history.html).
	RemoteDebugEnabled *bool
	// The resolution of the device.
	Resolution *Resolution
	// The device's manufacturer name.
	Manufacturer *string
	// Specifies whether remote access has been enabled for the specified device.
	RemoteAccessEnabled *bool
	// The device's platform. Allowed values include:
	//
	//     * ANDROID
	//
	//     * IOS
	Platform DevicePlatform
}

Represents a device type that an app is tested against.

type DeviceAttribute

type DeviceAttribute string
const (
	DeviceAttributeArn                   DeviceAttribute = "ARN"
	DeviceAttributePlatform              DeviceAttribute = "PLATFORM"
	DeviceAttributeForm_factor           DeviceAttribute = "FORM_FACTOR"
	DeviceAttributeManufacturer          DeviceAttribute = "MANUFACTURER"
	DeviceAttributeRemote_access_enabled DeviceAttribute = "REMOTE_ACCESS_ENABLED"
	DeviceAttributeRemote_debug_enabled  DeviceAttribute = "REMOTE_DEBUG_ENABLED"
	DeviceAttributeAppium_version        DeviceAttribute = "APPIUM_VERSION"
	DeviceAttributeInstance_arn          DeviceAttribute = "INSTANCE_ARN"
	DeviceAttributeInstance_labels       DeviceAttribute = "INSTANCE_LABELS"
	DeviceAttributeFleet_type            DeviceAttribute = "FLEET_TYPE"
	DeviceAttributeOs_version            DeviceAttribute = "OS_VERSION"
	DeviceAttributeModel                 DeviceAttribute = "MODEL"
	DeviceAttributeAvailability          DeviceAttribute = "AVAILABILITY"
)

Enum values for DeviceAttribute

type DeviceAvailability

type DeviceAvailability string
const (
	DeviceAvailabilityTemporary_not_available DeviceAvailability = "TEMPORARY_NOT_AVAILABLE"
	DeviceAvailabilityBusy                    DeviceAvailability = "BUSY"
	DeviceAvailabilityAvailable               DeviceAvailability = "AVAILABLE"
	DeviceAvailabilityHighly_available        DeviceAvailability = "HIGHLY_AVAILABLE"
)

Enum values for DeviceAvailability

type DeviceFilter

type DeviceFilter struct {
	// An array of one or more filter values used in a device filter. Operator Values
	//
	//
	// * The IN and NOT_IN operators can take a values array that has more than one
	// element.
	//
	//     * The other operators require an array with a single
	// element.
	//
	// Attribute Values
	//
	//     * The PLATFORM attribute can be set to ANDROID
	// or IOS.
	//
	//     * The AVAILABILITY attribute can be set to AVAILABLE,
	// HIGHLY_AVAILABLE, BUSY, or TEMPORARY_NOT_AVAILABLE.
	//
	//     * The FORM_FACTOR
	// attribute can be set to PHONE or TABLET.
	//
	//     * The FLEET_TYPE attribute can be
	// set to PUBLIC or PRIVATE.
	Values []*string
	// Specifies how Device Farm compares the filter's attribute to the value. See the
	// attribute descriptions.
	Operator RuleOperator
	// The aspect of a device such as platform or model used as the selection criteria
	// in a device filter. The supported operators for each attribute are provided in
	// the following list. ARN The Amazon Resource Name (ARN) of the device (for
	// example, arn:aws:devicefarm:us-west-2::device:12345Example). Supported
	// operators: EQUALS, IN, NOT_IN PLATFORM The device platform. Valid values are
	// ANDROID or IOS. Supported operators: EQUALS OS_VERSION The operating system
	// version (for example, 10.3.2). Supported operators: EQUALS, GREATER_THAN,
	// GREATER_THAN_OR_EQUALS, IN, LESS_THAN, LESS_THAN_OR_EQUALS, NOT_IN MODEL The
	// device model (for example, iPad 5th Gen). Supported operators: CONTAINS, EQUALS,
	// IN, NOT_IN AVAILABILITY The current availability of the device. Valid values are
	// AVAILABLE, HIGHLY_AVAILABLE, BUSY, or TEMPORARY_NOT_AVAILABLE. Supported
	// operators: EQUALS FORM_FACTOR The device form factor. Valid values are PHONE or
	// TABLET. Supported operators: EQUALS MANUFACTURER The device manufacturer (for
	// example, Apple). Supported operators: EQUALS, IN, NOT_IN REMOTE_ACCESS_ENABLED
	// Whether the device is enabled for remote access. Valid values are TRUE or FALSE.
	// Supported operators: EQUALS REMOTE_DEBUG_ENABLED Whether the device is enabled
	// for remote debugging. Valid values are TRUE or FALSE. Supported operators:
	// EQUALS Because remote debugging is no longer supported
	// (https://docs.aws.amazon.com/devicefarm/latest/developerguide/history.html),
	// this filter is ignored. INSTANCE_ARN The Amazon Resource Name (ARN) of the
	// device instance. Supported operators: EQUALS, IN, NOT_IN INSTANCE_LABELS The
	// label of the device instance. Supported operators: CONTAINS FLEET_TYPE The fleet
	// type. Valid values are PUBLIC or PRIVATE. Supported operators: EQUALS
	Attribute DeviceFilterAttribute
}

Represents a device filter used to select a set of devices to be included in a test run. This data structure is passed in as the deviceSelectionConfiguration parameter to ScheduleRun. For an example of the JSON request syntax, see ScheduleRun (). It is also passed in as the filters parameter to ListDevices. For an example of the JSON request syntax, see ListDevices ().

type DeviceFilterAttribute

type DeviceFilterAttribute string
const (
	DeviceFilterAttributeArn                   DeviceFilterAttribute = "ARN"
	DeviceFilterAttributePlatform              DeviceFilterAttribute = "PLATFORM"
	DeviceFilterAttributeOs_version            DeviceFilterAttribute = "OS_VERSION"
	DeviceFilterAttributeModel                 DeviceFilterAttribute = "MODEL"
	DeviceFilterAttributeAvailability          DeviceFilterAttribute = "AVAILABILITY"
	DeviceFilterAttributeForm_factor           DeviceFilterAttribute = "FORM_FACTOR"
	DeviceFilterAttributeManufacturer          DeviceFilterAttribute = "MANUFACTURER"
	DeviceFilterAttributeRemote_access_enabled DeviceFilterAttribute = "REMOTE_ACCESS_ENABLED"
	DeviceFilterAttributeRemote_debug_enabled  DeviceFilterAttribute = "REMOTE_DEBUG_ENABLED"
	DeviceFilterAttributeInstance_arn          DeviceFilterAttribute = "INSTANCE_ARN"
	DeviceFilterAttributeInstance_labels       DeviceFilterAttribute = "INSTANCE_LABELS"
	DeviceFilterAttributeFleet_type            DeviceFilterAttribute = "FLEET_TYPE"
)

Enum values for DeviceFilterAttribute

type DeviceFormFactor

type DeviceFormFactor string
const (
	DeviceFormFactorPhone  DeviceFormFactor = "PHONE"
	DeviceFormFactorTablet DeviceFormFactor = "TABLET"
)

Enum values for DeviceFormFactor

type DeviceInstance

type DeviceInstance struct {
	// An array of strings that describe the device instance.
	Labels []*string
	// Unique device identifier for the device instance.
	Udid *string
	// The Amazon Resource Name (ARN) of the device instance.
	Arn *string
	// The status of the device instance. Valid values are listed here.
	Status InstanceStatus
	// The ARN of the device.
	DeviceArn *string
	// A object that contains information about the instance profile.
	InstanceProfile *InstanceProfile
}

Represents the device instance.

type DeviceMinutes

type DeviceMinutes struct {
	// When specified, represents the total minutes used by the resource to run tests.
	Total *float64
	// When specified, represents only the sum of unmetered minutes used by the
	// resource to run tests.
	Unmetered *float64
	// When specified, represents only the sum of metered minutes used by the resource
	// to run tests.
	Metered *float64
}

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

type DevicePlatform

type DevicePlatform string
const (
	DevicePlatformAndroid DevicePlatform = "ANDROID"
	DevicePlatformIos     DevicePlatform = "IOS"
)

Enum values for DevicePlatform

type DevicePool

type DevicePool struct {
	// The device pool's description.
	Description *string
	// The device pool's ARN.
	Arn *string
	// The device pool's type. Allowed values include:
	//
	//     * CURATED: A device pool
	// that is created and managed by AWS Device Farm.
	//
	//     * PRIVATE: A device pool
	// that is created and managed by the device pool developer.
	Type DevicePoolType
	// The device pool's name.
	Name *string
	// Information about the device pool's rules.
	Rules []*Rule
	// The number of devices that Device Farm can add to your device pool. Device Farm
	// adds devices that are available and meet the criteria that you assign for the
	// rules parameter. Depending on how many devices meet these constraints, your
	// device pool might contain fewer devices than the value for this parameter. By
	// specifying the maximum number of devices, you can control the costs that you
	// incur by running tests.
	MaxDevices *int32
}

Represents a collection of device types.

type DevicePoolCompatibilityResult

type DevicePoolCompatibilityResult struct {
	// The device (phone or tablet) to return information about.
	Device *Device
	// Information about the compatibility.
	IncompatibilityMessages []*IncompatibilityMessage
	// Whether the result was compatible with the device pool.
	Compatible *bool
}

Represents a device pool compatibility result.

type DevicePoolType

type DevicePoolType string
const (
	DevicePoolTypeCurated DevicePoolType = "CURATED"
	DevicePoolTypePrivate DevicePoolType = "PRIVATE"
)

Enum values for DevicePoolType

type DeviceSelectionConfiguration

type DeviceSelectionConfiguration struct {
	// The maximum number of devices to be included in a test run.
	MaxDevices *int32
	// Used to dynamically select a set of devices for a test run. A filter is made up
	// of an attribute, an operator, and one or more values.
	//
	//     * Attribute The
	// aspect of a device such as platform or model used as the selection criteria in a
	// device filter. Allowed values include:
	//
	//         * ARN: The Amazon Resource Name
	// (ARN) of the device (for example,
	// arn:aws:devicefarm:us-west-2::device:12345Example).
	//
	//         * PLATFORM: The
	// device platform. Valid values are ANDROID or IOS.
	//
	//         * OS_VERSION: The
	// operating system version (for example, 10.3.2).
	//
	//         * MODEL: The device
	// model (for example, iPad 5th Gen).
	//
	//         * AVAILABILITY: The current
	// availability of the device. Valid values are AVAILABLE, HIGHLY_AVAILABLE, BUSY,
	// or TEMPORARY_NOT_AVAILABLE.
	//
	//         * FORM_FACTOR: The device form factor.
	// Valid values are PHONE or TABLET.
	//
	//         * MANUFACTURER: The device
	// manufacturer (for example, Apple).
	//
	//         * REMOTE_ACCESS_ENABLED: Whether the
	// device is enabled for remote access. Valid values are TRUE or FALSE.
	//
	//         *
	// REMOTE_DEBUG_ENABLED: Whether the device is enabled for remote debugging. Valid
	// values are TRUE or FALSE. Because remote debugging is no longer supported
	// (https://docs.aws.amazon.com/devicefarm/latest/developerguide/history.html),
	// this filter is ignored.
	//
	//         * INSTANCE_ARN: The Amazon Resource Name (ARN)
	// of the device instance.
	//
	//         * INSTANCE_LABELS: The label of the device
	// instance.
	//
	//         * FLEET_TYPE: The fleet type. Valid values are PUBLIC or
	// PRIVATE.
	//
	//     * Operator The filter operator.
	//
	//         * The EQUALS operator is
	// available for every attribute except INSTANCE_LABELS.
	//
	//         * The CONTAINS
	// operator is available for the INSTANCE_LABELS and MODEL attributes.
	//
	//         *
	// The IN and NOT_IN operators are available for the ARN, OS_VERSION, MODEL,
	// MANUFACTURER, and INSTANCE_ARN attributes.
	//
	//         * The LESS_THAN,
	// GREATER_THAN, LESS_THAN_OR_EQUALS, and GREATER_THAN_OR_EQUALS operators are also
	// available for the OS_VERSION attribute.
	//
	//     * Values An array of one or more
	// filter values. Operator Values
	//
	//         * The IN and NOT_IN operators can take a
	// values array that has more than one element.
	//
	//         * The other operators
	// require an array with a single element.
	//
	//     Attribute Values
	//
	//         * The
	// PLATFORM attribute can be set to ANDROID or IOS.
	//
	//         * The AVAILABILITY
	// attribute can be set to AVAILABLE, HIGHLY_AVAILABLE, BUSY, or
	// TEMPORARY_NOT_AVAILABLE.
	//
	//         * The FORM_FACTOR attribute can be set to
	// PHONE or TABLET.
	//
	//         * The FLEET_TYPE attribute can be set to PUBLIC or
	// PRIVATE.
	Filters []*DeviceFilter
}

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

type DeviceSelectionResult

type DeviceSelectionResult struct {
	// The number of devices that matched the device filter selection criteria.
	MatchedDevicesCount *int32
	// The maximum number of devices to be selected by a device filter and included in
	// a test run.
	MaxDevices *int32
	// The filters in a device selection result.
	Filters []*DeviceFilter
}

Contains the run results requested by the device selection configuration and how many devices were returned. For an example of the JSON response syntax, see ScheduleRun ().

type ExecutionConfiguration

type ExecutionConfiguration struct {
	// Set to true to enable video capture. Otherwise, set to false. The default is
	// true.
	VideoCapture *bool
	// The number of minutes a test run executes before it times out.
	JobTimeoutMinutes *int32
	// True if app package cleanup is enabled at the beginning of the test. Otherwise,
	// false.
	AppPackagesCleanup *bool
	// When set to true, for private devices, Device Farm does not sign your app again.
	// For public devices, Device Farm always signs your apps again. For more
	// information about how Device Farm re-signs your apps, see Do you modify my app?
	// (https://aws.amazon.com/device-farm/faq/) in the AWS Device Farm FAQs.
	SkipAppResign *bool
	// True if account cleanup is enabled at the beginning of the test. Otherwise,
	// false.
	AccountsCleanup *bool
}

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

type ExecutionResult

type ExecutionResult string
const (
	ExecutionResultPending ExecutionResult = "PENDING"
	ExecutionResultPassed  ExecutionResult = "PASSED"
	ExecutionResultWarned  ExecutionResult = "WARNED"
	ExecutionResultFailed  ExecutionResult = "FAILED"
	ExecutionResultSkipped ExecutionResult = "SKIPPED"
	ExecutionResultErrored ExecutionResult = "ERRORED"
	ExecutionResultStopped ExecutionResult = "STOPPED"
)

Enum values for ExecutionResult

type ExecutionResultCode

type ExecutionResultCode string
const (
	ExecutionResultCodeParsing_failed            ExecutionResultCode = "PARSING_FAILED"
	ExecutionResultCodeVpc_endpoint_setup_failed ExecutionResultCode = "VPC_ENDPOINT_SETUP_FAILED"
)

Enum values for ExecutionResultCode

type ExecutionStatus

type ExecutionStatus string
const (
	ExecutionStatusPending             ExecutionStatus = "PENDING"
	ExecutionStatusPending_concurrnecy ExecutionStatus = "PENDING_CONCURRENCY"
	ExecutionStatusPending_device      ExecutionStatus = "PENDING_DEVICE"
	ExecutionStatusProcessing          ExecutionStatus = "PROCESSING"
	ExecutionStatusScheduling          ExecutionStatus = "SCHEDULING"
	ExecutionStatusPreparing           ExecutionStatus = "PREPARING"
	ExecutionStatusRunning             ExecutionStatus = "RUNNING"
	ExecutionStatusCompleted           ExecutionStatus = "COMPLETED"
	ExecutionStatusStopping            ExecutionStatus = "STOPPING"
)

Enum values for ExecutionStatus

type IdempotencyException

type IdempotencyException struct {
	Message *string
}

An entity with the same name already exists.

func (*IdempotencyException) Error

func (e *IdempotencyException) Error() string

func (*IdempotencyException) ErrorCode

func (e *IdempotencyException) ErrorCode() string

func (*IdempotencyException) ErrorFault

func (e *IdempotencyException) ErrorFault() smithy.ErrorFault

func (*IdempotencyException) ErrorMessage

func (e *IdempotencyException) ErrorMessage() string

func (*IdempotencyException) GetMessage

func (e *IdempotencyException) GetMessage() string

func (*IdempotencyException) HasMessage

func (e *IdempotencyException) HasMessage() bool

type IncompatibilityMessage

type IncompatibilityMessage struct {
	// A message about the incompatibility.
	Message *string
	// The type of incompatibility. Allowed values include:
	//
	//     * ARN
	//
	//     *
	// FORM_FACTOR (for example, phone or tablet)
	//
	//     * MANUFACTURER
	//
	//     * PLATFORM
	// (for example, Android or iOS)
	//
	//     * REMOTE_ACCESS_ENABLED
	//
	//     * APPIUM_VERSION
	Type DeviceAttribute
}

Represents information about incompatibility.

type InstanceProfile

type InstanceProfile struct {
	// When set to true, Device Farm reboots the instance after a test run. The default
	// value is true.
	RebootAfterUse *bool
	// An array of strings containing the list of app packages that should not be
	// cleaned up from the device after a test run completes. The list of packages is
	// considered only if you set packageCleanup to true.
	ExcludeAppPackagesFromCleanup []*string
	// The name of the instance profile.
	Name *string
	// The Amazon Resource Name (ARN) of the instance profile.
	Arn *string
	// The description of the instance profile.
	Description *string
	// When set to true, Device Farm removes app packages after a test run. The default
	// value is false for private devices.
	PackageCleanup *bool
}

Represents the instance profile.

type InstanceStatus

type InstanceStatus string
const (
	InstanceStatusIn_use        InstanceStatus = "IN_USE"
	InstanceStatusPreparing     InstanceStatus = "PREPARING"
	InstanceStatusAvailable     InstanceStatus = "AVAILABLE"
	InstanceStatusNot_available InstanceStatus = "NOT_AVAILABLE"
)

Enum values for InstanceStatus

type InteractionMode

type InteractionMode string
const (
	InteractionModeInteractive InteractionMode = "INTERACTIVE"
	InteractionModeNo_video    InteractionMode = "NO_VIDEO"
	InteractionModeVideo_only  InteractionMode = "VIDEO_ONLY"
)

Enum values for InteractionMode

type InternalServiceException

type InternalServiceException struct {
	Message *string
}

An internal exception was raised in the service. Contact aws-devicefarm-support@amazon.com (mailto:aws-devicefarm-support@amazon.com) if you see this error.

func (*InternalServiceException) Error

func (e *InternalServiceException) Error() string

func (*InternalServiceException) ErrorCode

func (e *InternalServiceException) ErrorCode() string

func (*InternalServiceException) ErrorFault

func (e *InternalServiceException) ErrorFault() smithy.ErrorFault

func (*InternalServiceException) ErrorMessage

func (e *InternalServiceException) ErrorMessage() string

func (*InternalServiceException) GetMessage

func (e *InternalServiceException) GetMessage() string

func (*InternalServiceException) HasMessage

func (e *InternalServiceException) HasMessage() bool

type InvalidOperationException

type InvalidOperationException struct {
	Message *string
}

There was an error with the update request, or you do not have sufficient permissions to update this VPC endpoint configuration.

func (*InvalidOperationException) Error

func (e *InvalidOperationException) Error() string

func (*InvalidOperationException) ErrorCode

func (e *InvalidOperationException) ErrorCode() string

func (*InvalidOperationException) ErrorFault

func (*InvalidOperationException) ErrorMessage

func (e *InvalidOperationException) ErrorMessage() string

func (*InvalidOperationException) GetMessage

func (e *InvalidOperationException) GetMessage() string

func (*InvalidOperationException) HasMessage

func (e *InvalidOperationException) HasMessage() bool

type Job

type Job struct {
	// The job's ARN.
	Arn *string
	// Represents the total (metered or unmetered) minutes used by the job.
	DeviceMinutes *DeviceMinutes
	// A message about the job's result.
	Message *string
	// The job's stop time.
	Stopped *time.Time
	// The job's name.
	Name *string
	// The job's result counters.
	Counters *Counters
	// The job's start time.
	Started *time.Time
	// The job's result. Allowed values include:
	//
	//     * PENDING
	//
	//     * PASSED
	//
	//     *
	// WARNED
	//
	//     * FAILED
	//
	//     * SKIPPED
	//
	//     * ERRORED
	//
	//     * STOPPED
	Result ExecutionResult
	// The device (phone or tablet).
	Device *Device
	// The endpoint for streaming device video.
	VideoEndpoint *string
	// The job's status. Allowed values include:
	//
	//     * PENDING
	//
	//     *
	// PENDING_CONCURRENCY
	//
	//     * PENDING_DEVICE
	//
	//     * PROCESSING
	//
	//     * SCHEDULING
	//
	//
	// * PREPARING
	//
	//     * RUNNING
	//
	//     * COMPLETED
	//
	//     * STOPPING
	Status ExecutionStatus
	// 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
	Type TestType
	// The ARN of the instance.
	InstanceArn *string
	// This value is set to true if video capture is enabled. Otherwise, it is set to
	// false.
	VideoCapture *bool
	// When the job was created.
	Created *time.Time
}

Represents a device.

type LimitExceededException

type LimitExceededException struct {
	Message *string
}

A limit was exceeded.

func (*LimitExceededException) Error

func (e *LimitExceededException) Error() string

func (*LimitExceededException) ErrorCode

func (e *LimitExceededException) ErrorCode() string

func (*LimitExceededException) ErrorFault

func (e *LimitExceededException) ErrorFault() smithy.ErrorFault

func (*LimitExceededException) ErrorMessage

func (e *LimitExceededException) ErrorMessage() string

func (*LimitExceededException) GetMessage

func (e *LimitExceededException) GetMessage() string

func (*LimitExceededException) HasMessage

func (e *LimitExceededException) HasMessage() bool

type Location

type Location struct {
	// The longitude.
	Longitude *float64
	// The latitude.
	Latitude *float64
}

Represents a latitude and longitude pair, expressed in geographic coordinate system degrees (for example, 47.6204, -122.3491). Elevation is currently not supported.

type MonetaryAmount

type MonetaryAmount struct {
	// The currency code of a monetary amount. For example, USD means U.S. dollars.
	CurrencyCode CurrencyCode
	// The numerical amount of an offering or transaction.
	Amount *float64
}

A number that represents the monetary amount for an offering or transaction.

type NetworkProfile

type NetworkProfile struct {
	// Delay time for all packets to destination in milliseconds as an integer from 0
	// to 2000.
	UplinkDelayMs *int64
	// Time variation in the delay of received packets in milliseconds as an integer
	// from 0 to 2000.
	DownlinkJitterMs *int64
	// The description of the network profile.
	Description *string
	// Proportion of received packets that fail to arrive from 0 to 100 percent.
	DownlinkLossPercent *int32
	// Time variation in the delay of received packets in milliseconds as an integer
	// from 0 to 2000.
	UplinkJitterMs *int64
	// The data throughput rate in bits per second, as an integer from 0 to 104857600.
	DownlinkBandwidthBits *int64
	// The type of network profile. Valid values are listed here.
	Type NetworkProfileType
	// Proportion of transmitted packets that fail to arrive from 0 to 100 percent.
	UplinkLossPercent *int32
	// Delay time for all packets to destination in milliseconds as an integer from 0
	// to 2000.
	DownlinkDelayMs *int64
	// The Amazon Resource Name (ARN) of the network profile.
	Arn *string
	// The name of the network profile.
	Name *string
	// The data throughput rate in bits per second, as an integer from 0 to 104857600.
	UplinkBandwidthBits *int64
}

An array of settings that describes characteristics of a network profile.

type NetworkProfileType

type NetworkProfileType string
const (
	NetworkProfileTypeCurated NetworkProfileType = "CURATED"
	NetworkProfileTypePrivate NetworkProfileType = "PRIVATE"
)

Enum values for NetworkProfileType

type NotEligibleException

type NotEligibleException struct {
	Message *string
}

Exception gets thrown when a user is not eligible to perform the specified transaction.

func (*NotEligibleException) Error

func (e *NotEligibleException) Error() string

func (*NotEligibleException) ErrorCode

func (e *NotEligibleException) ErrorCode() string

func (*NotEligibleException) ErrorFault

func (e *NotEligibleException) ErrorFault() smithy.ErrorFault

func (*NotEligibleException) ErrorMessage

func (e *NotEligibleException) ErrorMessage() string

func (*NotEligibleException) GetMessage

func (e *NotEligibleException) GetMessage() string

func (*NotEligibleException) HasMessage

func (e *NotEligibleException) HasMessage() bool

type NotFoundException

type NotFoundException struct {
	Message *string
}

The specified entity was not found.

func (*NotFoundException) Error

func (e *NotFoundException) Error() string

func (*NotFoundException) ErrorCode

func (e *NotFoundException) ErrorCode() string

func (*NotFoundException) ErrorFault

func (e *NotFoundException) ErrorFault() smithy.ErrorFault

func (*NotFoundException) ErrorMessage

func (e *NotFoundException) ErrorMessage() string

func (*NotFoundException) GetMessage

func (e *NotFoundException) GetMessage() string

func (*NotFoundException) HasMessage

func (e *NotFoundException) HasMessage() bool

type Offering

type Offering struct {
	// Specifies whether there are recurring charges for the offering.
	RecurringCharges []*RecurringCharge
	// The ID that corresponds to a device offering.
	Id *string
	// The platform of the device (for example, ANDROID or IOS).
	Platform DevicePlatform
	// A string that describes the offering.
	Description *string
	// The type of offering (for example, RECURRING) for a device.
	Type OfferingType
}

Represents the metadata of a device offering.

type OfferingPromotion

type OfferingPromotion struct {
	// A string that describes the offering promotion.
	Description *string
	// The ID of the offering promotion.
	Id *string
}

Represents information about an offering promotion.

type OfferingStatus

type OfferingStatus struct {
	// The date on which the offering is effective.
	EffectiveOn *time.Time
	// The type specified for the offering status.
	Type OfferingTransactionType
	// Represents the metadata of an offering status.
	Offering *Offering
	// The number of available devices in the offering.
	Quantity *int32
}

The status of the offering.

type OfferingTransaction

type OfferingTransaction struct {
	// The status of an offering transaction.
	OfferingStatus *OfferingStatus
	// The cost of an offering transaction.
	Cost *MonetaryAmount
	// The ID that corresponds to a device offering promotion.
	OfferingPromotionId *string
	// The transaction ID of the offering transaction.
	TransactionId *string
	// The date on which an offering transaction was created.
	CreatedOn *time.Time
}

Represents the metadata of an offering transaction.

type OfferingTransactionType

type OfferingTransactionType string
const (
	OfferingTransactionTypePurchase OfferingTransactionType = "PURCHASE"
	OfferingTransactionTypeRenew    OfferingTransactionType = "RENEW"
	OfferingTransactionTypeSystem   OfferingTransactionType = "SYSTEM"
)

Enum values for OfferingTransactionType

type OfferingType

type OfferingType string
const (
	OfferingTypeRecurring OfferingType = "RECURRING"
)

Enum values for OfferingType

type Problem

type Problem struct {
	// The problem's result. Allowed values include:
	//
	//     * PENDING
	//
	//     * PASSED
	//
	//
	// * WARNED
	//
	//     * FAILED
	//
	//     * SKIPPED
	//
	//     * ERRORED
	//
	//     * STOPPED
	Result ExecutionResult
	// Information about the associated suite.
	Suite *ProblemDetail
	// Information about the associated test.
	Test *ProblemDetail
	// Information about the associated run.
	Run *ProblemDetail
	// Information about the associated device.
	Device *Device
	// A message about the problem's result.
	Message *string
	// Information about the associated job.
	Job *ProblemDetail
}

Represents a specific warning or failure.

type ProblemDetail

type ProblemDetail struct {
	// The problem detail's name.
	Name *string
	// The problem detail's ARN.
	Arn *string
}

Information about a problem detail.

type Project

type Project struct {
	// The project's name.
	Name *string
	// When the project was created.
	Created *time.Time
	// The default number of minutes (at the project level) a test run executes before
	// it times out. The default value is 150 minutes.
	DefaultJobTimeoutMinutes *int32
	// The project's ARN.
	Arn *string
}

Represents an operating-system neutral workspace for running and managing tests.

type Radios

type Radios struct {
	// True if GPS is enabled at the beginning of the test. Otherwise, false.
	Gps *bool
	// True if NFC is enabled at the beginning of the test. Otherwise, false.
	Nfc *bool
	// True if Wi-Fi is enabled at the beginning of the test. Otherwise, false.
	Wifi *bool
	// True if Bluetooth is enabled at the beginning of the test. Otherwise, false.
	Bluetooth *bool
}

Represents the set of radios and their states on a device. Examples of radios include Wi-Fi, GPS, Bluetooth, and NFC.

type RecurringCharge

type RecurringCharge struct {
	// The cost of the recurring charge.
	Cost *MonetaryAmount
	// The frequency in which charges recur.
	Frequency RecurringChargeFrequency
}

Specifies whether charges for devices are recurring.

type RecurringChargeFrequency

type RecurringChargeFrequency string
const (
	RecurringChargeFrequencyMonthly RecurringChargeFrequency = "MONTHLY"
)

Enum values for RecurringChargeFrequency

type RemoteAccessSession

type RemoteAccessSession struct {
	// The ARN of the instance.
	InstanceArn *string
	// Unique device identifier for the remote device. Only returned if remote
	// debugging is enabled for the remote access session. Remote debugging is no
	// longer supported
	// (https://docs.aws.amazon.com/devicefarm/latest/developerguide/history.html).
	DeviceUdid *string
	// The result of the remote access session. Can be any of the following:
	//
	//     *
	// PENDING.
	//
	//     * PASSED.
	//
	//     * WARNED.
	//
	//     * FAILED.
	//
	//     * SKIPPED.
	//
	//     *
	// ERRORED.
	//
	//     * STOPPED.
	Result ExecutionResult
	// When set to true, for private devices, Device Farm does not sign your app again.
	// For public devices, Device Farm always signs your apps again. For more
	// information about how Device Farm re-signs your apps, see Do you modify my app?
	// (https://aws.amazon.com/device-farm/faq/) in the AWS Device Farm FAQs.
	SkipAppResign *bool
	// The endpoint for the remote access sesssion.
	Endpoint *string
	// The date and time the remote access session was started.
	Started *time.Time
	// The date and time the remote access session was created.
	Created *time.Time
	// This flag is set to true if remote debugging is enabled for the remote access
	// session. Remote debugging is no longer supported
	// (https://docs.aws.amazon.com/devicefarm/latest/developerguide/history.html).
	RemoteDebugEnabled *bool
	// The number of minutes a device is used in a remote access session (including
	// setup and teardown minutes).
	DeviceMinutes *DeviceMinutes
	// The ARN for the app to be recorded in the remote access session.
	RemoteRecordAppArn *string
	// A message about the remote access session.
	Message *string
	// Unique identifier of your client for the remote access session. Only returned if
	// remote debugging is enabled for the remote access session. Remote debugging is
	// no longer supported
	// (https://docs.aws.amazon.com/devicefarm/latest/developerguide/history.html).
	ClientId *string
	// The status of the remote access session. Can be any of the following:
	//
	//     *
	// PENDING.
	//
	//     * PENDING_CONCURRENCY.
	//
	//     * PENDING_DEVICE.
	//
	//     * PROCESSING.
	//
	//
	// * SCHEDULING.
	//
	//     * PREPARING.
	//
	//     * RUNNING.
	//
	//     * COMPLETED.
	//
	//     *
	// STOPPING.
	Status ExecutionStatus
	// 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).
	BillingMethod BillingMethod
	// The date and time the remote access session was stopped.
	Stopped *time.Time
	// 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.
	InteractionMode InteractionMode
	// The device (phone or tablet) used in the remote access session.
	Device *Device
	// The name of the remote access session.
	Name *string
	// The Amazon Resource Name (ARN) of the remote access session.
	Arn *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.
	// Remote debugging is no longer supported
	// (https://docs.aws.amazon.com/devicefarm/latest/developerguide/history.html).
	HostAddress *string
	// This flag is set to true if remote recording is enabled for the remote access
	// session.
	RemoteRecordEnabled *bool
}

Represents information about the remote access session.

type Resolution

type Resolution struct {
	// The screen resolution's height, expressed in pixels.
	Height *int32
	// The screen resolution's width, expressed in pixels.
	Width *int32
}

Represents the screen resolution of a device in height and width, expressed in pixels.

type Rule

type Rule struct {
	// The rule's value.
	Value *string
	// Specifies how Device Farm compares the rule's attribute to the value. For the
	// operators that are supported by each attribute, see the attribute descriptions.
	Operator RuleOperator
	// The rule's stringified attribute. For example, specify the value as "\"abc\"".
	// The supported operators for each attribute are provided in the following list.
	// APPIUM_VERSION The Appium version for the test. Supported operators: CONTAINS
	// ARN The Amazon Resource Name (ARN) of the device (for example,
	// arn:aws:devicefarm:us-west-2::device:12345Example. Supported operators: EQUALS,
	// IN, NOT_IN AVAILABILITY The current availability of the device. Valid values are
	// AVAILABLE, HIGHLY_AVAILABLE, BUSY, or TEMPORARY_NOT_AVAILABLE. Supported
	// operators: EQUALS FLEET_TYPE The fleet type. Valid values are PUBLIC or PRIVATE.
	// Supported operators: EQUALS FORM_FACTOR The device form factor. Valid values are
	// PHONE or TABLET. Supported operators: EQUALS, IN, NOT_IN INSTANCE_ARN The Amazon
	// Resource Name (ARN) of the device instance. Supported operators: IN, NOT_IN
	// INSTANCE_LABELS The label of the device instance. Supported operators: CONTAINS
	// MANUFACTURER The device manufacturer (for example, Apple). Supported operators:
	// EQUALS, IN, NOT_IN MODEL The device model, such as Apple iPad Air 2 or Google
	// Pixel. Supported operators: CONTAINS, EQUALS, IN, NOT_IN OS_VERSION The
	// operating system version (for example, 10.3.2). Supported operators: EQUALS,
	// GREATER_THAN, GREATER_THAN_OR_EQUALS, IN, LESS_THAN, LESS_THAN_OR_EQUALS, NOT_IN
	// PLATFORM The device platform. Valid values are ANDROID or IOS. Supported
	// operators: EQUALS, IN, NOT_IN REMOTE_ACCESS_ENABLED Whether the device is
	// enabled for remote access. Valid values are TRUE or FALSE. Supported operators:
	// EQUALS REMOTE_DEBUG_ENABLED Whether the device is enabled for remote debugging.
	// Valid values are TRUE or FALSE. Supported operators: EQUALS Because remote
	// debugging is no longer supported
	// (https://docs.aws.amazon.com/devicefarm/latest/developerguide/history.html),
	// this filter is ignored.
	Attribute DeviceAttribute
}

Represents a condition for a device pool.

type RuleOperator

type RuleOperator string
const (
	RuleOperatorEquals                 RuleOperator = "EQUALS"
	RuleOperatorLess_than              RuleOperator = "LESS_THAN"
	RuleOperatorLess_than_or_equals    RuleOperator = "LESS_THAN_OR_EQUALS"
	RuleOperatorGreater_than           RuleOperator = "GREATER_THAN"
	RuleOperatorGreater_than_or_equals RuleOperator = "GREATER_THAN_OR_EQUALS"
	RuleOperatorIn                     RuleOperator = "IN"
	RuleOperatorNot_in                 RuleOperator = "NOT_IN"
	RuleOperatorContains               RuleOperator = "CONTAINS"
)

Enum values for RuleOperator

type Run

type Run struct {
	// The run's platform. Allowed values include:
	//
	//     * ANDROID
	//
	//     * IOS
	Platform DevicePlatform
	// For fuzz tests, this is the number of events, between 1 and 10000, that the UI
	// fuzz test should perform.
	EventCount *int32
	// An app to upload or that has been uploaded.
	AppUpload *string
	// Specifies the billing method for a test run: metered or unmetered. If the
	// parameter is not specified, the default value is metered. If you have unmetered
	// device slots, you must set this to unmetered to use them. Otherwise, the run is
	// counted toward metered device minutes.
	BillingMethod BillingMethod
	// The run's type. Must be one of the following values:
	//
	//     * 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
	Type TestType
	// The run's ARN.
	Arn *string
	// The ARN of the device pool for the run.
	DevicePoolArn *string
	// A message about the run's result.
	Message *string
	// Output CustomerArtifactPaths object for the test run.
	CustomerArtifactPaths *CustomerArtifactPaths
	// Information about the locale that is used for the run.
	Locale *string
	// The run's start time.
	Started *time.Time
	// For fuzz tests, this is a seed to use for randomizing the UI fuzz test. Using
	// the same seed value between tests ensures identical event sequences.
	Seed *int32
	// The number of minutes the job executes before it times out.
	JobTimeoutMinutes *int32
	// Information about the radio states for the run.
	Radios *Radios
	// The run's result. Allowed values include:
	//
	//     * PENDING
	//
	//     * PASSED
	//
	//     *
	// WARNED
	//
	//     * FAILED
	//
	//     * SKIPPED
	//
	//     * ERRORED
	//
	//     * STOPPED
	Result ExecutionResult
	// The ARN of the YAML-formatted test specification for the run.
	TestSpecArn *string
	// The results of a device filter used to select the devices for a test run.
	DeviceSelectionResult *DeviceSelectionResult
	// The total number of completed jobs.
	CompletedJobs *int32
	// The run's name.
	Name *string
	// The network profile being used for a test run.
	NetworkProfile *NetworkProfile
	// Represents the total (metered or unmetered) minutes used by the test run.
	DeviceMinutes *DeviceMinutes
	// When the run was created.
	Created *time.Time
	// The run's stop time.
	Stopped *time.Time
	// Read-only URL for an object in an S3 bucket where you can get the parsing
	// results of the test package. If the test package doesn't parse, the reason why
	// it doesn't parse appears in the file that this URL points to.
	ParsingResultUrl *string
	// The run's status. Allowed values include:
	//
	//     * PENDING
	//
	//     *
	// PENDING_CONCURRENCY
	//
	//     * PENDING_DEVICE
	//
	//     * PROCESSING
	//
	//     * SCHEDULING
	//
	//
	// * PREPARING
	//
	//     * RUNNING
	//
	//     * COMPLETED
	//
	//     * STOPPING
	Status ExecutionStatus
	// When set to true, for private devices, Device Farm does not sign your app again.
	// For public devices, Device Farm always signs your apps again. For more
	// information about how Device Farm re-signs your apps, see Do you modify my app?
	// (https://aws.amazon.com/device-farm/faq/) in the AWS Device Farm FAQs.
	SkipAppResign *bool
	// The total number of jobs for the run.
	TotalJobs *int32
	// Supporting field for the result field. Set only if result is SKIPPED.
	// PARSING_FAILED if the result is skipped because of test package parsing failure.
	ResultCode ExecutionResultCode
	// Information about the location that is used for the run.
	Location *Location
	// The run's result counters.
	Counters *Counters
	// The Device Farm console URL for the recording of the run.
	WebUrl *string
}

Represents a test run on a set of devices with a given app package, test parameters, and so on.

type Sample

type Sample struct {
	// The presigned Amazon S3 URL that can be used with a GET request to download the
	// sample's file.
	Url *string
	// The sample's ARN.
	Arn *string
	// The sample's type. Must be one of the following values:
	//
	//     * CPU: A CPU sample
	// type. This is expressed as the app processing CPU time (including child
	// processes) as reported by process, as a percentage.
	//
	//     * MEMORY: A memory
	// usage sample type. This is expressed as the total proportional set size of an
	// app process, in kilobytes.
	//
	//     * NATIVE_AVG_DRAWTIME
	//
	//     * NATIVE_FPS
	//
	//     *
	// NATIVE_FRAMES
	//
	//     * NATIVE_MAX_DRAWTIME
	//
	//     * NATIVE_MIN_DRAWTIME
	//
	//     *
	// OPENGL_AVG_DRAWTIME
	//
	//     * OPENGL_FPS
	//
	//     * OPENGL_FRAMES
	//
	//     *
	// OPENGL_MAX_DRAWTIME
	//
	//     * OPENGL_MIN_DRAWTIME
	//
	//     * RX
	//
	//     * RX_RATE: The
	// total number of bytes per second (TCP and UDP) that are sent, by app process.
	//
	//
	// * THREADS: A threads sample type. This is expressed as the total number of
	// threads per app process.
	//
	//     * TX
	//
	//     * TX_RATE: The total number of bytes per
	// second (TCP and UDP) that are received, by app process.
	Type SampleType
}

Represents a sample of performance data.

type SampleType

type SampleType string
const (
	SampleTypeCpu                 SampleType = "CPU"
	SampleTypeMemory              SampleType = "MEMORY"
	SampleTypeThreads             SampleType = "THREADS"
	SampleTypeRx_rate             SampleType = "RX_RATE"
	SampleTypeTx_rate             SampleType = "TX_RATE"
	SampleTypeRx                  SampleType = "RX"
	SampleTypeTx                  SampleType = "TX"
	SampleTypeNative_frames       SampleType = "NATIVE_FRAMES"
	SampleTypeNative_fps          SampleType = "NATIVE_FPS"
	SampleTypeNative_min_drawtime SampleType = "NATIVE_MIN_DRAWTIME"
	SampleTypeNative_avg_drawtime SampleType = "NATIVE_AVG_DRAWTIME"
	SampleTypeNative_max_drawtime SampleType = "NATIVE_MAX_DRAWTIME"
	SampleTypeOpengl_frames       SampleType = "OPENGL_FRAMES"
	SampleTypeOpengl_fps          SampleType = "OPENGL_FPS"
	SampleTypeOpengl_min_drawtime SampleType = "OPENGL_MIN_DRAWTIME"
	SampleTypeOpengl_avg_drawtime SampleType = "OPENGL_AVG_DRAWTIME"
	SampleTypeOpengl_max_drawtime SampleType = "OPENGL_MAX_DRAWTIME"
)

Enum values for SampleType

type ScheduleRunConfiguration

type ScheduleRunConfiguration struct {
	// Specifies the billing method for a test run: metered or unmetered. If the
	// parameter is not specified, the default value is metered. If you have purchased
	// unmetered device slots, you must set this parameter to unmetered to make use of
	// them. Otherwise, your run counts against your metered time.
	BillingMethod BillingMethod
	// Input CustomerArtifactPaths object for the scheduled run configuration.
	CustomerArtifactPaths *CustomerArtifactPaths
	// Information about the locale that is used for the run.
	Locale *string
	// The ARN of the extra data for the run. The extra data is a .zip file that AWS
	// Device Farm extracts to external data for Android or the app's sandbox for iOS.
	ExtraDataPackageArn *string
	// Information about the location that is used for the run.
	Location *Location
	// A list of upload ARNs for app packages to be installed with your app.
	AuxiliaryApps []*string
	// An array of ARNs for your VPC endpoint configurations.
	VpceConfigurationArns []*string
	// Information about the radio states for the run.
	Radios *Radios
	// Reserved for internal use.
	NetworkProfileArn *string
}

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

type ScheduleRunTest

type ScheduleRunTest struct {
	// The test's parameters, such as test framework parameters and fixture settings.
	// Parameters are represented by name-value pairs of strings. For all tests:
	//
	//     *
	// app_performance_monitoring: Performance monitoring is enabled by default. Set
	// this parameter to false to disable it.
	//
	// For Calabash tests:
	//
	//     * profile: A
	// cucumber profile (for example, my_profile_name).
	//
	//     * tags: You can limit
	// execution to features or scenarios that have (or don't have) certain tags (for
	// example, @smoke or @smoke,~@wip).
	//
	// For Appium tests (all types):
	//
	//     *
	// appium_version: The Appium version. Currently supported values are 1.6.5 (and
	// later), latest, and default.
	//
	//         * <p>latest runs the latest Appium version
	// supported by Device Farm (1.9.1).</p> </li> <li> <p>For default, Device Farm
	// selects a compatible version of Appium for the device. The current behavior is
	// to run 1.7.2 on Android devices and iOS 9 and earlier and 1.7.2 for iOS 10 and
	// later.</p> </li> <li> <p>This behavior is subject to change.</p> </li> </ul>
	// </li> </ul> <p>For fuzz tests (Android only):</p> <ul> <li> <p>event_count: The
	// number of events, between 1 and 10000, that the UI fuzz test should perform.</p>
	// </li> <li> <p>throttle: The time, in ms, between 0 and 1000, that the UI fuzz
	// test should wait between events.</p> </li> <li> <p>seed: A seed to use for
	// randomizing the UI fuzz test. Using the same seed value between tests ensures
	// identical event sequences.</p> </li> </ul> <p>For Explorer tests:</p> <ul> <li>
	// <p>username: A user name to use if the Explorer encounters a login form. If not
	// supplied, no user name is inserted.</p> </li> <li> <p>password: A password to
	// use if the Explorer encounters a login form. If not supplied, no password is
	// inserted.</p> </li> </ul> <p>For Instrumentation:</p> <ul> <li> <p>filter: A
	// test filter string. Examples:</p> <ul> <li> <p>Running a single test case:
	// <code>com.android.abc.Test1</code> </p> </li> <li> <p>Running a single test:
	// <code>com.android.abc.Test1#smoke</code> </p> </li> <li> <p>Running multiple
	// tests: <code>com.android.abc.Test1,com.android.abc.Test2</code> </p> </li> </ul>
	// </li> </ul> <p>For XCTest and XCTestUI:</p> <ul> <li> <p>filter: A test filter
	// string. Examples:</p> <ul> <li> <p>Running a single test class:
	// <code>LoginTests</code> </p> </li> <li> <p>Running a multiple test classes:
	// <code>LoginTests,SmokeTests</code> </p> </li> <li> <p>Running a single test:
	// <code>LoginTests/testValid</code> </p> </li> <li> <p>Running multiple tests:
	// <code>LoginTests/testValid,LoginTests/testInvalid</code> </p> </li> </ul> </li>
	// </ul> <p>For UIAutomator:</p> <ul> <li> <p>filter: A test filter string.
	// Examples:</p> <ul> <li> <p>Running a single test case:
	// <code>com.android.abc.Test1</code> </p> </li> <li> <p>Running a single test:
	// <code>com.android.abc.Test1#smoke</code> </p> </li> <li> <p>Running multiple
	// tests: <code>com.android.abc.Test1,com.android.abc.Test2</code> </p> </li> </ul>
	// </li> </ul>
	Parameters map[string]*string
	// The test's type. Must be one of the following values:
	//
	//     * 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
	Type TestType
	// The ARN of the uploaded test to be run.
	TestPackageArn *string
	// The ARN of the YAML-formatted test specification.
	TestSpecArn *string
	// The test's filter.
	Filter *string
}

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 ().

type ServiceAccountException

type ServiceAccountException struct {
	Message *string
}

There was a problem with the service account.

func (*ServiceAccountException) Error

func (e *ServiceAccountException) Error() string

func (*ServiceAccountException) ErrorCode

func (e *ServiceAccountException) ErrorCode() string

func (*ServiceAccountException) ErrorFault

func (e *ServiceAccountException) ErrorFault() smithy.ErrorFault

func (*ServiceAccountException) ErrorMessage

func (e *ServiceAccountException) ErrorMessage() string

func (*ServiceAccountException) GetMessage

func (e *ServiceAccountException) GetMessage() string

func (*ServiceAccountException) HasMessage

func (e *ServiceAccountException) HasMessage() bool

type Suite

type Suite struct {
	// A message about the suite's result.
	Message *string
	// The suite's ARN.
	Arn *string
	// Represents the total (metered or unmetered) minutes used by the test suite.
	DeviceMinutes *DeviceMinutes
	// When the suite was created.
	Created *time.Time
	// The suite's stop time.
	Stopped *time.Time
	// The suite's result. Allowed values include:
	//
	//     * PENDING
	//
	//     * PASSED
	//
	//     *
	// WARNED
	//
	//     * FAILED
	//
	//     * SKIPPED
	//
	//     * ERRORED
	//
	//     * STOPPED
	Result ExecutionResult
	// The suite's type. Must be one of the following values:
	//
	//     * BUILTIN_FUZZ
	//
	//
	// * BUILTIN_EXPLORER Only available 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
	Type TestType
	// The suite's result counters.
	Counters *Counters
	// The suite's status. Allowed values include:
	//
	//     * PENDING
	//
	//     *
	// PENDING_CONCURRENCY
	//
	//     * PENDING_DEVICE
	//
	//     * PROCESSING
	//
	//     * SCHEDULING
	//
	//
	// * PREPARING
	//
	//     * RUNNING
	//
	//     * COMPLETED
	//
	//     * STOPPING
	Status ExecutionStatus
	// The suite's start time.
	Started *time.Time
	// The suite's name.
	Name *string
}

Represents a collection of one or more tests.

type Tag

type Tag struct {
	// One part of a key-value pair that makes up a tag. A key is a general label that
	// acts like a category for more specific tag values.
	Key *string
	// The optional part of a key-value pair that makes up a tag. A value acts as a
	// descriptor in a tag category (key).
	Value *string
}

The metadata that you apply to a resource to help you categorize and organize it. Each tag consists of a key and an optional value, both of which you define. Tag keys can have a maximum character length of 128 characters. Tag values can have a maximum length of 256 characters.

type TagOperationException

type TagOperationException struct {
	Message *string

	ResourceName *string
}

The operation was not successful. Try again.

func (*TagOperationException) Error

func (e *TagOperationException) Error() string

func (*TagOperationException) ErrorCode

func (e *TagOperationException) ErrorCode() string

func (*TagOperationException) ErrorFault

func (e *TagOperationException) ErrorFault() smithy.ErrorFault

func (*TagOperationException) ErrorMessage

func (e *TagOperationException) ErrorMessage() string

func (*TagOperationException) GetMessage

func (e *TagOperationException) GetMessage() string

func (*TagOperationException) GetResourceName

func (e *TagOperationException) GetResourceName() string

func (*TagOperationException) HasMessage

func (e *TagOperationException) HasMessage() bool

func (*TagOperationException) HasResourceName

func (e *TagOperationException) HasResourceName() bool

type TagPolicyException

type TagPolicyException struct {
	Message *string

	ResourceName *string
}

The request doesn't comply with the AWS Identity and Access Management (IAM) tag policy. Correct your request and then retry it.

func (*TagPolicyException) Error

func (e *TagPolicyException) Error() string

func (*TagPolicyException) ErrorCode

func (e *TagPolicyException) ErrorCode() string

func (*TagPolicyException) ErrorFault

func (e *TagPolicyException) ErrorFault() smithy.ErrorFault

func (*TagPolicyException) ErrorMessage

func (e *TagPolicyException) ErrorMessage() string

func (*TagPolicyException) GetMessage

func (e *TagPolicyException) GetMessage() string

func (*TagPolicyException) GetResourceName

func (e *TagPolicyException) GetResourceName() string

func (*TagPolicyException) HasMessage

func (e *TagPolicyException) HasMessage() bool

func (*TagPolicyException) HasResourceName

func (e *TagPolicyException) HasResourceName() bool

type Test

type Test struct {
	// The test's start time.
	Started *time.Time
	// The test's status. Allowed values include:
	//
	//     * PENDING
	//
	//     *
	// PENDING_CONCURRENCY
	//
	//     * PENDING_DEVICE
	//
	//     * PROCESSING
	//
	//     * SCHEDULING
	//
	//
	// * PREPARING
	//
	//     * RUNNING
	//
	//     * COMPLETED
	//
	//     * STOPPING
	Status ExecutionStatus
	// The test's name.
	Name *string
	// When the test was created.
	Created *time.Time
	// The test's result counters.
	Counters *Counters
	// The test's result. Allowed values include:
	//
	//     * PENDING
	//
	//     * PASSED
	//
	//     *
	// WARNED
	//
	//     * FAILED
	//
	//     * SKIPPED
	//
	//     * ERRORED
	//
	//     * STOPPED
	Result ExecutionResult
	// The test's stop time.
	Stopped *time.Time
	// Represents the total (metered or unmetered) minutes used by the test.
	DeviceMinutes *DeviceMinutes
	// The test's ARN.
	Arn *string
	// The test's type. Must be one of the following values:
	//
	//     * 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
	Type TestType
	// A message about the test's result.
	Message *string
}

Represents a condition that is evaluated.

type TestGridProject

type TestGridProject struct {
	// A human-readable description for the project.
	Description *string
	// A human-readable name for the project.
	Name *string
	// When the project was created.
	Created *time.Time
	// The ARN for the project.
	Arn *string
}

A Selenium testing project. Projects are used to collect and collate sessions.

type TestGridSession

type TestGridSession struct {
	// The time that the session was started.
	Created *time.Time
	// The time the session ended.
	Ended *time.Time
	// The ARN of the session.
	Arn *string
	// The state of the session.
	Status TestGridSessionStatus
	// A JSON object of options and parameters passed to the Selenium WebDriver.
	SeleniumProperties *string
	// The number of billed minutes that were used for this session.
	BillingMinutes *float64
}

A TestGridSession () is a single instance of a browser launched from the URL provided by a call to CreateTestGridUrl ().

type TestGridSessionAction

type TestGridSessionAction struct {
	// HTTP status code returned to the browser when the action was taken.
	StatusCode *string
	// The action taken by the session.
	Action *string
	// The time that the session invoked the action.
	Started *time.Time
	// The time, in milliseconds, that the action took to complete in the browser.
	Duration *int64
	// HTTP method that the browser used to make the request.
	RequestMethod *string
}

An action taken by a TestGridSession () browser instance.

type TestGridSessionArtifact

type TestGridSessionArtifact struct {
	// The kind of artifact.
	Type TestGridSessionArtifactType
	// The file name of the artifact.
	Filename *string
	// A semi-stable URL to the content of the object.
	Url *string
}

Artifacts are video and other files that are produced in the process of running a browser in an automated context. Video elements might be broken up into multiple artifacts as they grow in size during creation.

type TestGridSessionArtifactCategory

type TestGridSessionArtifactCategory string
const (
	TestGridSessionArtifactCategoryVideo TestGridSessionArtifactCategory = "VIDEO"
	TestGridSessionArtifactCategoryLog   TestGridSessionArtifactCategory = "LOG"
)

Enum values for TestGridSessionArtifactCategory

type TestGridSessionArtifactType

type TestGridSessionArtifactType string
const (
	TestGridSessionArtifactTypeUnknown      TestGridSessionArtifactType = "UNKNOWN"
	TestGridSessionArtifactTypeVideo        TestGridSessionArtifactType = "VIDEO"
	TestGridSessionArtifactTypeSelenium_log TestGridSessionArtifactType = "SELENIUM_LOG"
)

Enum values for TestGridSessionArtifactType

type TestGridSessionStatus

type TestGridSessionStatus string
const (
	TestGridSessionStatusActive  TestGridSessionStatus = "ACTIVE"
	TestGridSessionStatusClosed  TestGridSessionStatus = "CLOSED"
	TestGridSessionStatusErrored TestGridSessionStatus = "ERRORED"
)

Enum values for TestGridSessionStatus

type TestType

type TestType string
const (
	TestTypeBuiltin_fuzz            TestType = "BUILTIN_FUZZ"
	TestTypeBuiltin_explorer        TestType = "BUILTIN_EXPLORER"
	TestTypeWeb_performance_profile TestType = "WEB_PERFORMANCE_PROFILE"
	TestTypeAppium_java_junit       TestType = "APPIUM_JAVA_JUNIT"
	TestTypeAppium_java_testng      TestType = "APPIUM_JAVA_TESTNG"
	TestTypeAppium_python           TestType = "APPIUM_PYTHON"
	TestTypeAppium_node             TestType = "APPIUM_NODE"
	TestTypeAppium_ruby             TestType = "APPIUM_RUBY"
	TestTypeAppium_web_java_junit   TestType = "APPIUM_WEB_JAVA_JUNIT"
	TestTypeAppium_web_java_testng  TestType = "APPIUM_WEB_JAVA_TESTNG"
	TestTypeAppium_web_python       TestType = "APPIUM_WEB_PYTHON"
	TestTypeAppium_web_node         TestType = "APPIUM_WEB_NODE"
	TestTypeAppium_web_ruby         TestType = "APPIUM_WEB_RUBY"
	TestTypeCalabash                TestType = "CALABASH"
	TestTypeInstrumentation         TestType = "INSTRUMENTATION"
	TestTypeUiautomation            TestType = "UIAUTOMATION"
	TestTypeUiautomator             TestType = "UIAUTOMATOR"
	TestTypeXctest                  TestType = "XCTEST"
	TestTypeXctest_ui               TestType = "XCTEST_UI"
	TestTypeRemote_access_record    TestType = "REMOTE_ACCESS_RECORD"
	TestTypeRemote_access_replay    TestType = "REMOTE_ACCESS_REPLAY"
)

Enum values for TestType

type TooManyTagsException

type TooManyTagsException struct {
	Message *string

	ResourceName *string
}

The list of tags on the repository is over the limit. The maximum number of tags that can be applied to a repository is 50.

func (*TooManyTagsException) Error

func (e *TooManyTagsException) Error() string

func (*TooManyTagsException) ErrorCode

func (e *TooManyTagsException) ErrorCode() string

func (*TooManyTagsException) ErrorFault

func (e *TooManyTagsException) ErrorFault() smithy.ErrorFault

func (*TooManyTagsException) ErrorMessage

func (e *TooManyTagsException) ErrorMessage() string

func (*TooManyTagsException) GetMessage

func (e *TooManyTagsException) GetMessage() string

func (*TooManyTagsException) GetResourceName

func (e *TooManyTagsException) GetResourceName() string

func (*TooManyTagsException) HasMessage

func (e *TooManyTagsException) HasMessage() bool

func (*TooManyTagsException) HasResourceName

func (e *TooManyTagsException) HasResourceName() bool

type TrialMinutes

type TrialMinutes struct {
	// The total number of free trial minutes that the account started with.
	Total *float64
	// The number of free trial minutes remaining in the account.
	Remaining *float64
}

Represents information about free trial device minutes for an AWS account.

type UniqueProblem

type UniqueProblem struct {
	// A message about the unique problems' result.
	Message *string
	// Information about the problems.
	Problems []*Problem
}

A collection of one or more problems, grouped by their result.

type Upload

type Upload struct {
	// A message about the upload's result.
	Message *string
	// The presigned Amazon S3 URL that was used to store a file using a PUT request.
	Url *string
	// The upload's category. Allowed values include:
	//
	//     * CURATED: An upload managed
	// by AWS Device Farm.
	//
	//     * PRIVATE: An upload managed by the AWS Device Farm
	// customer.
	Category UploadCategory
	// When the upload was created.
	Created *time.Time
	// The upload's content type (for example, application/octet-stream).
	ContentType *string
	// The upload's status. Must be one of the following values:
	//
	//     * FAILED
	//
	//     *
	// INITIALIZED
	//
	//     * PROCESSING
	//
	//     * SUCCEEDED
	Status UploadStatus
	// The upload's type. Must be one of the following values:
	//
	//     * ANDROID_APP
	//
	//
	// * IOS_APP
	//
	//     * WEB_APP
	//
	//     * EXTERNAL_DATA
	//
	//     *
	// APPIUM_JAVA_JUNIT_TEST_PACKAGE
	//
	//     * APPIUM_JAVA_TESTNG_TEST_PACKAGE
	//
	//     *
	// APPIUM_PYTHON_TEST_PACKAGE
	//
	//     * APPIUM_NODE_TEST_PACKAGE
	//
	//     *
	// APPIUM_RUBY_TEST_PACKAGE
	//
	//     * APPIUM_WEB_JAVA_JUNIT_TEST_PACKAGE
	//
	//     *
	// APPIUM_WEB_JAVA_TESTNG_TEST_PACKAGE
	//
	//     * APPIUM_WEB_PYTHON_TEST_PACKAGE
	//
	//     *
	// APPIUM_WEB_NODE_TEST_PACKAGE
	//
	//     * APPIUM_WEB_RUBY_TEST_PACKAGE
	//
	//     *
	// CALABASH_TEST_PACKAGE
	//
	//     * INSTRUMENTATION_TEST_PACKAGE
	//
	//     *
	// UIAUTOMATION_TEST_PACKAGE
	//
	//     * UIAUTOMATOR_TEST_PACKAGE
	//
	//     *
	// XCTEST_TEST_PACKAGE
	//
	//     * XCTEST_UI_TEST_PACKAGE
	//
	//     *
	// APPIUM_JAVA_JUNIT_TEST_SPEC
	//
	//     * APPIUM_JAVA_TESTNG_TEST_SPEC
	//
	//     *
	// APPIUM_PYTHON_TEST_SPEC
	//
	//     * APPIUM_NODE_TEST_SPEC
	//
	//     *
	// APPIUM_RUBY_TEST_SPEC
	//
	//     * APPIUM_WEB_JAVA_JUNIT_TEST_SPEC
	//
	//     *
	// APPIUM_WEB_JAVA_TESTNG_TEST_SPEC
	//
	//     * APPIUM_WEB_PYTHON_TEST_SPEC
	//
	//     *
	// APPIUM_WEB_NODE_TEST_SPEC
	//
	//     * APPIUM_WEB_RUBY_TEST_SPEC
	//
	//     *
	// INSTRUMENTATION_TEST_SPEC
	//
	//     * XCTEST_UI_TEST_SPEC
	Type UploadType
	// The upload's metadata. For example, for Android, this contains information that
	// is parsed from the manifest and is displayed in the AWS Device Farm console
	// after the associated app is uploaded.
	Metadata *string
	// The upload's ARN.
	Arn *string
	// The upload's file name.
	Name *string
}

An app or a set of one or more tests to upload or that have been uploaded.

type UploadCategory

type UploadCategory string
const (
	UploadCategoryCurated UploadCategory = "CURATED"
	UploadCategoryPrivate UploadCategory = "PRIVATE"
)

Enum values for UploadCategory

type UploadStatus

type UploadStatus string
const (
	UploadStatusInitialized UploadStatus = "INITIALIZED"
	UploadStatusProcessing  UploadStatus = "PROCESSING"
	UploadStatusSucceeded   UploadStatus = "SUCCEEDED"
	UploadStatusFailed      UploadStatus = "FAILED"
)

Enum values for UploadStatus

type UploadType

type UploadType string
const (
	UploadTypeAndroid_app                         UploadType = "ANDROID_APP"
	UploadTypeIos_app                             UploadType = "IOS_APP"
	UploadTypeWeb_app                             UploadType = "WEB_APP"
	UploadTypeExternal_data                       UploadType = "EXTERNAL_DATA"
	UploadTypeAppium_java_junit_test_package      UploadType = "APPIUM_JAVA_JUNIT_TEST_PACKAGE"
	UploadTypeAppium_java_testng_test_package     UploadType = "APPIUM_JAVA_TESTNG_TEST_PACKAGE"
	UploadTypeAppium_python_test_package          UploadType = "APPIUM_PYTHON_TEST_PACKAGE"
	UploadTypeAppium_node_test_package            UploadType = "APPIUM_NODE_TEST_PACKAGE"
	UploadTypeAppium_ruby_test_package            UploadType = "APPIUM_RUBY_TEST_PACKAGE"
	UploadTypeAppium_web_java_junit_test_package  UploadType = "APPIUM_WEB_JAVA_JUNIT_TEST_PACKAGE"
	UploadTypeAppium_web_java_testng_test_package UploadType = "APPIUM_WEB_JAVA_TESTNG_TEST_PACKAGE"
	UploadTypeAppium_web_python_test_package      UploadType = "APPIUM_WEB_PYTHON_TEST_PACKAGE"
	UploadTypeAppium_web_node_test_package        UploadType = "APPIUM_WEB_NODE_TEST_PACKAGE"
	UploadTypeAppium_web_ruby_test_package        UploadType = "APPIUM_WEB_RUBY_TEST_PACKAGE"
	UploadTypeCalabash_test_package               UploadType = "CALABASH_TEST_PACKAGE"
	UploadTypeInstrumentation_test_package        UploadType = "INSTRUMENTATION_TEST_PACKAGE"
	UploadTypeUiautomation_test_package           UploadType = "UIAUTOMATION_TEST_PACKAGE"
	UploadTypeUiautomator_test_package            UploadType = "UIAUTOMATOR_TEST_PACKAGE"
	UploadTypeXctest_test_package                 UploadType = "XCTEST_TEST_PACKAGE"
	UploadTypeXctest_ui_test_package              UploadType = "XCTEST_UI_TEST_PACKAGE"
	UploadTypeAppium_java_junit_test_spec         UploadType = "APPIUM_JAVA_JUNIT_TEST_SPEC"
	UploadTypeAppium_java_testng_test_spec        UploadType = "APPIUM_JAVA_TESTNG_TEST_SPEC"
	UploadTypeAppium_python_test_spec             UploadType = "APPIUM_PYTHON_TEST_SPEC"
	UploadTypeAppium_node_test_spec               UploadType = "APPIUM_NODE_TEST_SPEC"
	UploadTypeAppium_ruby_test_spec               UploadType = "APPIUM_RUBY_TEST_SPEC"
	UploadTypeAppium_web_java_junit_test_spec     UploadType = "APPIUM_WEB_JAVA_JUNIT_TEST_SPEC"
	UploadTypeAppium_web_java_testng_test_spec    UploadType = "APPIUM_WEB_JAVA_TESTNG_TEST_SPEC"
	UploadTypeAppium_web_python_test_spec         UploadType = "APPIUM_WEB_PYTHON_TEST_SPEC"
	UploadTypeAppium_web_node_test_spec           UploadType = "APPIUM_WEB_NODE_TEST_SPEC"
	UploadTypeAppium_web_ruby_test_spec           UploadType = "APPIUM_WEB_RUBY_TEST_SPEC"
	UploadTypeInstrumentation_test_spec           UploadType = "INSTRUMENTATION_TEST_SPEC"
	UploadTypeXctest_ui_test_spec                 UploadType = "XCTEST_UI_TEST_SPEC"
)

Enum values for UploadType

type VPCEConfiguration

type VPCEConfiguration struct {
	// The DNS name that maps to the private IP address of the service you want to
	// access.
	ServiceDnsName *string
	// The Amazon Resource Name (ARN) of the VPC endpoint configuration.
	Arn *string
	// An optional description that provides details about your VPC endpoint
	// configuration.
	VpceConfigurationDescription *string
	// The friendly name you give to your VPC endpoint configuration to manage your
	// configurations more easily.
	VpceConfigurationName *string
	// The name of the VPC endpoint service running in your AWS account that you want
	// Device Farm to test.
	VpceServiceName *string
}

Represents an Amazon Virtual Private Cloud (VPC) endpoint configuration.

Source Files

enums.go errors.go types.go

Version
v0.1.0
Published
Sep 29, 2020
Platform
js/wasm
Imports
4 packages
Last checked
3 hours ago

Tools for package owners.