Copyright | (c) 2013-2016 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
- Service Configuration
- Errors
- ArtifactCategory
- ArtifactType
- BillingMethod
- CurrencyCode
- DeviceAttribute
- DeviceFormFactor
- DevicePlatform
- DevicePoolType
- ExecutionResult
- ExecutionStatus
- OfferingTransactionType
- OfferingType
- RecurringChargeFrequency
- RuleOperator
- SampleType
- TestType
- UploadStatus
- UploadType
- AccountSettings
- Artifact
- CPU
- Counters
- Device
- DeviceMinutes
- DevicePool
- DevicePoolCompatibilityResult
- IncompatibilityMessage
- Job
- Location
- MonetaryAmount
- Offering
- OfferingStatus
- OfferingTransaction
- Problem
- ProblemDetail
- Project
- Radios
- RecurringCharge
- Resolution
- Rule
- Run
- Sample
- ScheduleRunConfiguration
- ScheduleRunTest
- Suite
- Test
- UniqueProblem
- Upload
- deviceFarm :: Service
- _NotEligibleException :: AsError a => Getting (First ServiceError) a ServiceError
- _IdempotencyException :: AsError a => Getting (First ServiceError) a ServiceError
- _ArgumentException :: AsError a => Getting (First ServiceError) a ServiceError
- _NotFoundException :: AsError a => Getting (First ServiceError) a ServiceError
- _ServiceAccountException :: AsError a => Getting (First ServiceError) a ServiceError
- _LimitExceededException :: AsError a => Getting (First ServiceError) a ServiceError
- data ArtifactCategory
- = ACFile
- | ACLog
- | ACScreenshot
- data ArtifactType
- = AppiumJavaOutput
- | AppiumJavaXMLOutput
- | AppiumPythonOutput
- | AppiumPythonXMLOutput
- | AppiumServerOutput
- | ApplicationCrashReport
- | AutomationOutput
- | CalabashJSONOutput
- | CalabashJavaXMLOutput
- | CalabashPrettyOutput
- | CalabashStandardOutput
- | DeviceLog
- | ExerciserMonkeyOutput
- | ExplorerEventLog
- | ExplorerSummaryLog
- | InstrumentationOutput
- | MessageLog
- | ResultLog
- | Screenshot
- | ServiceLog
- | Unknown
- | Video
- | WebkitLog
- | XctestLog
- data BillingMethod
- data CurrencyCode = Usd
- data DeviceAttribute
- data DeviceFormFactor
- data DevicePlatform
- data DevicePoolType
- data ExecutionResult
- data ExecutionStatus
- data OfferingTransactionType
- data OfferingType = Recurring
- data RecurringChargeFrequency = Monthly
- data RuleOperator
- = Equals
- | GreaterThan
- | IN
- | LessThan
- | NotIn
- data SampleType
- data TestType
- data UploadStatus
- data UploadType
- = AndroidApp
- | AppiumJavaJunitTestPackage
- | AppiumJavaTestngTestPackage
- | AppiumPythonTestPackage
- | AppiumWebJavaJunitTestPackage
- | AppiumWebJavaTestngTestPackage
- | AppiumWebPythonTestPackage
- | CalabashTestPackage
- | ExternalData
- | InstrumentationTestPackage
- | IosApp
- | UiautomationTestPackage
- | UiautomatorTestPackage
- | WebApp
- | XctestTestPackage
- | XctestUiTestPackage
- data AccountSettings
- accountSettings :: AccountSettings
- asAwsAccountNumber :: Lens' AccountSettings (Maybe Text)
- asUnmeteredDevices :: Lens' AccountSettings (HashMap DevicePlatform Int)
- asUnmeteredRemoteAccessDevices :: Lens' AccountSettings (HashMap DevicePlatform Int)
- data Artifact
- artifact :: Artifact
- aArn :: Lens' Artifact (Maybe Text)
- aUrl :: Lens' Artifact (Maybe Text)
- aExtension :: Lens' Artifact (Maybe Text)
- aName :: Lens' Artifact (Maybe Text)
- aType :: Lens' Artifact (Maybe ArtifactType)
- data CPU
- cpu :: CPU
- cpuFrequency :: Lens' CPU (Maybe Text)
- cpuClock :: Lens' CPU (Maybe Double)
- cpuArchitecture :: Lens' CPU (Maybe Text)
- data Counters
- counters :: Counters
- cPassed :: Lens' Counters (Maybe Int)
- cSkipped :: Lens' Counters (Maybe Int)
- cWarned :: Lens' Counters (Maybe Int)
- cStopped :: Lens' Counters (Maybe Int)
- cTotal :: Lens' Counters (Maybe Int)
- cFailed :: Lens' Counters (Maybe Int)
- cErrored :: Lens' Counters (Maybe Int)
- data Device
- device :: Device
- devCarrier :: Lens' Device (Maybe Text)
- devImage :: Lens' Device (Maybe Text)
- devManufacturer :: Lens' Device (Maybe Text)
- devPlatform :: Lens' Device (Maybe DevicePlatform)
- devArn :: Lens' Device (Maybe Text)
- devFormFactor :: Lens' Device (Maybe DeviceFormFactor)
- devResolution :: Lens' Device (Maybe Resolution)
- devMemory :: Lens' Device (Maybe Integer)
- devRadio :: Lens' Device (Maybe Text)
- devOs :: Lens' Device (Maybe Text)
- devName :: Lens' Device (Maybe Text)
- devModel :: Lens' Device (Maybe Text)
- devCpu :: Lens' Device (Maybe CPU)
- devHeapSize :: Lens' Device (Maybe Integer)
- data DeviceMinutes
- deviceMinutes :: DeviceMinutes
- dmMetered :: Lens' DeviceMinutes (Maybe Double)
- dmTotal :: Lens' DeviceMinutes (Maybe Double)
- dmUnmetered :: Lens' DeviceMinutes (Maybe Double)
- data DevicePool
- devicePool :: DevicePool
- dArn :: Lens' DevicePool (Maybe Text)
- dRules :: Lens' DevicePool [Rule]
- dName :: Lens' DevicePool (Maybe Text)
- dType :: Lens' DevicePool (Maybe DevicePoolType)
- dDescription :: Lens' DevicePool (Maybe Text)
- data DevicePoolCompatibilityResult
- devicePoolCompatibilityResult :: DevicePoolCompatibilityResult
- dpcrDevice :: Lens' DevicePoolCompatibilityResult (Maybe Device)
- dpcrCompatible :: Lens' DevicePoolCompatibilityResult (Maybe Bool)
- dpcrIncompatibilityMessages :: Lens' DevicePoolCompatibilityResult [IncompatibilityMessage]
- data IncompatibilityMessage
- incompatibilityMessage :: IncompatibilityMessage
- imType :: Lens' IncompatibilityMessage (Maybe DeviceAttribute)
- imMessage :: Lens' IncompatibilityMessage (Maybe Text)
- data Job
- job :: Job
- jobStatus :: Lens' Job (Maybe ExecutionStatus)
- jobCounters :: Lens' Job (Maybe Counters)
- jobArn :: Lens' Job (Maybe Text)
- jobCreated :: Lens' Job (Maybe UTCTime)
- jobDevice :: Lens' Job (Maybe Device)
- jobStopped :: Lens' Job (Maybe UTCTime)
- jobResult :: Lens' Job (Maybe ExecutionResult)
- jobName :: Lens' Job (Maybe Text)
- jobDeviceMinutes :: Lens' Job (Maybe DeviceMinutes)
- jobType :: Lens' Job (Maybe TestType)
- jobMessage :: Lens' Job (Maybe Text)
- jobStarted :: Lens' Job (Maybe UTCTime)
- data Location
- location :: Double -> Double -> Location
- lLatitude :: Lens' Location Double
- lLongitude :: Lens' Location Double
- data MonetaryAmount
- monetaryAmount :: MonetaryAmount
- maAmount :: Lens' MonetaryAmount (Maybe Double)
- maCurrencyCode :: Lens' MonetaryAmount (Maybe CurrencyCode)
- data Offering
- offering :: Offering
- oPlatform :: Lens' Offering (Maybe DevicePlatform)
- oId :: Lens' Offering (Maybe Text)
- oRecurringCharges :: Lens' Offering [RecurringCharge]
- oType :: Lens' Offering (Maybe OfferingType)
- oDescription :: Lens' Offering (Maybe Text)
- data OfferingStatus
- offeringStatus :: OfferingStatus
- osEffectiveOn :: Lens' OfferingStatus (Maybe UTCTime)
- osOffering :: Lens' OfferingStatus (Maybe Offering)
- osQuantity :: Lens' OfferingStatus (Maybe Int)
- osType :: Lens' OfferingStatus (Maybe OfferingTransactionType)
- data OfferingTransaction
- offeringTransaction :: OfferingTransaction
- otOfferingStatus :: Lens' OfferingTransaction (Maybe OfferingStatus)
- otCost :: Lens' OfferingTransaction (Maybe MonetaryAmount)
- otTransactionId :: Lens' OfferingTransaction (Maybe Text)
- otCreatedOn :: Lens' OfferingTransaction (Maybe UTCTime)
- data Problem
- problem :: Problem
- pDevice :: Lens' Problem (Maybe Device)
- pTest :: Lens' Problem (Maybe ProblemDetail)
- pResult :: Lens' Problem (Maybe ExecutionResult)
- pRun :: Lens' Problem (Maybe ProblemDetail)
- pJob :: Lens' Problem (Maybe ProblemDetail)
- pMessage :: Lens' Problem (Maybe Text)
- pSuite :: Lens' Problem (Maybe ProblemDetail)
- data ProblemDetail
- problemDetail :: ProblemDetail
- pdArn :: Lens' ProblemDetail (Maybe Text)
- pdName :: Lens' ProblemDetail (Maybe Text)
- data Project
- project :: Project
- pArn :: Lens' Project (Maybe Text)
- pCreated :: Lens' Project (Maybe UTCTime)
- pName :: Lens' Project (Maybe Text)
- data Radios
- radios :: Radios
- rNfc :: Lens' Radios (Maybe Bool)
- rGps :: Lens' Radios (Maybe Bool)
- rBluetooth :: Lens' Radios (Maybe Bool)
- rWifi :: Lens' Radios (Maybe Bool)
- data RecurringCharge
- recurringCharge :: RecurringCharge
- rcFrequency :: Lens' RecurringCharge (Maybe RecurringChargeFrequency)
- rcCost :: Lens' RecurringCharge (Maybe MonetaryAmount)
- data Resolution
- resolution :: Resolution
- rHeight :: Lens' Resolution (Maybe Int)
- rWidth :: Lens' Resolution (Maybe Int)
- data Rule
- rule :: Rule
- rAttribute :: Lens' Rule (Maybe DeviceAttribute)
- rOperator :: Lens' Rule (Maybe RuleOperator)
- rValue :: Lens' Rule (Maybe Text)
- data Run
- run :: Run
- runBillingMethod :: Lens' Run (Maybe BillingMethod)
- runStatus :: Lens' Run (Maybe ExecutionStatus)
- runCounters :: Lens' Run (Maybe Counters)
- runPlatform :: Lens' Run (Maybe DevicePlatform)
- runArn :: Lens' Run (Maybe Text)
- runCreated :: Lens' Run (Maybe UTCTime)
- runStopped :: Lens' Run (Maybe UTCTime)
- runResult :: Lens' Run (Maybe ExecutionResult)
- runCompletedJobs :: Lens' Run (Maybe Int)
- runName :: Lens' Run (Maybe Text)
- runDeviceMinutes :: Lens' Run (Maybe DeviceMinutes)
- runType :: Lens' Run (Maybe TestType)
- runMessage :: Lens' Run (Maybe Text)
- runTotalJobs :: Lens' Run (Maybe Int)
- runStarted :: Lens' Run (Maybe UTCTime)
- data Sample
- sample :: Sample
- samArn :: Lens' Sample (Maybe Text)
- samUrl :: Lens' Sample (Maybe Text)
- samType :: Lens' Sample (Maybe SampleType)
- data ScheduleRunConfiguration
- scheduleRunConfiguration :: ScheduleRunConfiguration
- srcBillingMethod :: Lens' ScheduleRunConfiguration (Maybe BillingMethod)
- srcRadios :: Lens' ScheduleRunConfiguration (Maybe Radios)
- srcLocation :: Lens' ScheduleRunConfiguration (Maybe Location)
- srcLocale :: Lens' ScheduleRunConfiguration (Maybe Text)
- srcNetworkProfileARN :: Lens' ScheduleRunConfiguration (Maybe Text)
- srcExtraDataPackageARN :: Lens' ScheduleRunConfiguration (Maybe Text)
- srcAuxiliaryApps :: Lens' ScheduleRunConfiguration [Text]
- data ScheduleRunTest
- scheduleRunTest :: TestType -> ScheduleRunTest
- srtTestPackageARN :: Lens' ScheduleRunTest (Maybe Text)
- srtParameters :: Lens' ScheduleRunTest (HashMap Text Text)
- srtFilter :: Lens' ScheduleRunTest (Maybe Text)
- srtType :: Lens' ScheduleRunTest TestType
- data Suite
- suite :: Suite
- sStatus :: Lens' Suite (Maybe ExecutionStatus)
- sCounters :: Lens' Suite (Maybe Counters)
- sArn :: Lens' Suite (Maybe Text)
- sCreated :: Lens' Suite (Maybe UTCTime)
- sStopped :: Lens' Suite (Maybe UTCTime)
- sResult :: Lens' Suite (Maybe ExecutionResult)
- sName :: Lens' Suite (Maybe Text)
- sDeviceMinutes :: Lens' Suite (Maybe DeviceMinutes)
- sType :: Lens' Suite (Maybe TestType)
- sMessage :: Lens' Suite (Maybe Text)
- sStarted :: Lens' Suite (Maybe UTCTime)
- data Test
- test :: Test
- tStatus :: Lens' Test (Maybe ExecutionStatus)
- tCounters :: Lens' Test (Maybe Counters)
- tArn :: Lens' Test (Maybe Text)
- tCreated :: Lens' Test (Maybe UTCTime)
- tStopped :: Lens' Test (Maybe UTCTime)
- tResult :: Lens' Test (Maybe ExecutionResult)
- tName :: Lens' Test (Maybe Text)
- tDeviceMinutes :: Lens' Test (Maybe DeviceMinutes)
- tType :: Lens' Test (Maybe TestType)
- tMessage :: Lens' Test (Maybe Text)
- tStarted :: Lens' Test (Maybe UTCTime)
- data UniqueProblem
- uniqueProblem :: UniqueProblem
- upProblems :: Lens' UniqueProblem [Problem]
- upMessage :: Lens' UniqueProblem (Maybe Text)
- data Upload
- upload :: Upload
- uStatus :: Lens' Upload (Maybe UploadStatus)
- uArn :: Lens' Upload (Maybe Text)
- uCreated :: Lens' Upload (Maybe UTCTime)
- uUrl :: Lens' Upload (Maybe Text)
- uName :: Lens' Upload (Maybe Text)
- uMetadata :: Lens' Upload (Maybe Text)
- uType :: Lens' Upload (Maybe UploadType)
- uMessage :: Lens' Upload (Maybe Text)
- uContentType :: Lens' Upload (Maybe Text)
Service Configuration
deviceFarm :: Service Source #
API version '2015-06-23' of the Amazon Device Farm SDK configuration.
Errors
_NotEligibleException :: AsError a => Getting (First ServiceError) a ServiceError Source #
Exception gets thrown when a user is not eligible to perform the specified transaction.
_IdempotencyException :: AsError a => Getting (First ServiceError) a ServiceError Source #
An entity with the same name already exists.
_ArgumentException :: AsError a => Getting (First ServiceError) a ServiceError Source #
An invalid argument was specified.
_NotFoundException :: AsError a => Getting (First ServiceError) a ServiceError Source #
The specified entity was not found.
_ServiceAccountException :: AsError a => Getting (First ServiceError) a ServiceError Source #
There was a problem with the service account.
_LimitExceededException :: AsError a => Getting (First ServiceError) a ServiceError Source #
A limit was exceeded.
ArtifactCategory
data ArtifactCategory Source #
ArtifactType
data ArtifactType Source #
BillingMethod
data BillingMethod Source #
CurrencyCode
data CurrencyCode Source #
DeviceAttribute
data DeviceAttribute Source #
DeviceFormFactor
data DeviceFormFactor Source #
DevicePlatform
data DevicePlatform Source #
DevicePoolType
data DevicePoolType Source #
ExecutionResult
data ExecutionResult Source #
ExecutionStatus
data ExecutionStatus Source #
OfferingTransactionType
data OfferingTransactionType Source #
OfferingType
data OfferingType Source #
RecurringChargeFrequency
data RecurringChargeFrequency Source #
RuleOperator
data RuleOperator Source #
SampleType
data SampleType Source #
CPU | |
Memory | |
NativeAvgDrawtime | |
NativeFps | |
NativeFrames | |
NativeMaxDrawtime | |
NativeMinDrawtime | |
OpenglAvgDrawtime | |
OpenglFps | |
OpenglFrames | |
OpenglMaxDrawtime | |
OpenglMinDrawtime | |
RX | |
RxRate | |
TX | |
Threads | |
TxRate |
TestType
AppiumJavaJunit | |
AppiumJavaTestng | |
AppiumPython | |
AppiumWebJavaJunit | |
AppiumWebJavaTestng | |
AppiumWebPython | |
BuiltinExplorer | |
BuiltinFuzz | |
Calabash | |
Instrumentation | |
Uiautomation | |
Uiautomator | |
Xctest | |
XctestUi |
UploadStatus
data UploadStatus Source #
UploadType
data UploadType Source #
AccountSettings
data AccountSettings Source #
A container for account-level settings within AWS Device Farm.
See: accountSettings
smart constructor.
accountSettings :: AccountSettings Source #
Creates a value of AccountSettings
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
asAwsAccountNumber :: Lens' AccountSettings (Maybe Text) Source #
The AWS account number specified in the AccountSettings
container.
asUnmeteredDevices :: Lens' AccountSettings (HashMap DevicePlatform Int) Source #
Returns the unmetered devices you have purchased or want to purchase.
asUnmeteredRemoteAccessDevices :: Lens' AccountSettings (HashMap DevicePlatform Int) Source #
Returns the unmetered remote access devices you have purchased or want to purchase.
Artifact
Represents the output of a test. Examples of artifacts include logs and screenshots.
See: artifact
smart constructor.
aUrl :: Lens' Artifact (Maybe Text) Source #
The pre-signed Amazon S3 URL that can be used with a corresponding GET request to download the artifact's file.
aType :: Lens' Artifact (Maybe ArtifactType) Source #
The artifact's type.
Allowed values include the following:
- UNKNOWN: An unknown type.
- SCREENSHOT: The screenshot type.
- DEVICE_LOG: The device log type.
- MESSAGE_LOG: The message log type.
- RESULT_LOG: The result log type.
- SERVICE_LOG: The service log type.
- WEBKIT_LOG: The web kit log type.
- INSTRUMENTATION_OUTPUT: The instrumentation type.
- EXERCISER_MONKEY_OUTPUT: For Android, the artifact (log) generated by an Android fuzz test.
- CALABASH_JSON_OUTPUT: The Calabash JSON output type.
- CALABASH_PRETTY_OUTPUT: The Calabash pretty output type.
- CALABASH_STANDARD_OUTPUT: The Calabash standard output type.
- CALABASH_JAVA_XML_OUTPUT: The Calabash Java XML output type.
- AUTOMATION_OUTPUT: The automation output type.
- APPIUM_SERVER_OUTPUT: The Appium server output type.
- APPIUM_JAVA_OUTPUT: The Appium Java output type.
- APPIUM_JAVA_XML_OUTPUT: The Appium Java XML output type.
- APPIUM_PYTHON_OUTPUT: The Appium Python output type.
- APPIUM_PYTHON_XML_OUTPUT: The Appium Python XML output type.
- EXPLORER_EVENT_LOG: The Explorer event log output type.
- EXPLORER_SUMMARY_LOG: The Explorer summary log output type.
- APPLICATION_CRASH_REPORT: The application crash report output type.
- XCTEST_LOG: The XCode test output type.
CPU
Represents the amount of CPU that an app is using on a physical device.
Note that this does not represent system-wide CPU usage.
See: cpu
smart constructor.
Creates a value of CPU
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
cpuClock :: Lens' CPU (Maybe Double) Source #
The clock speed of the device's CPU, expressed in hertz (Hz). For example, a 1.2 GHz CPU is expressed as 1200000000.
Counters
Represents entity counters.
See: counters
smart constructor.
Device
Represents a device type that an app is tested against.
See: device
smart constructor.
Creates a value of Device
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
devPlatform :: Lens' Device (Maybe DevicePlatform) Source #
The device's platform.
Allowed values include:
- ANDROID: The Android platform.
- IOS: The iOS platform.
devFormFactor :: Lens' Device (Maybe DeviceFormFactor) Source #
The device's form factor.
Allowed values include:
- PHONE: The phone form factor.
- TABLET: The tablet form factor.
devResolution :: Lens' Device (Maybe Resolution) Source #
Undocumented member.
devMemory :: Lens' Device (Maybe Integer) Source #
The device's total memory size, expressed in bytes.
DeviceMinutes
data DeviceMinutes Source #
Represents the total (metered or unmetered) minutes used by the resource to run tests. Contains the sum of minutes consumed by all children.
See: deviceMinutes
smart constructor.
deviceMinutes :: DeviceMinutes Source #
Creates a value of DeviceMinutes
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
dmMetered :: Lens' DeviceMinutes (Maybe Double) Source #
When specified, represents only the sum of metered minutes used by the resource to run tests.
dmTotal :: Lens' DeviceMinutes (Maybe Double) Source #
When specified, represents the total minutes used by the resource to run tests.
dmUnmetered :: Lens' DeviceMinutes (Maybe Double) Source #
When specified, represents only the sum of unmetered minutes used by the resource to run tests.
DevicePool
data DevicePool Source #
Represents a collection of device types.
See: devicePool
smart constructor.
devicePool :: DevicePool Source #
Creates a value of DevicePool
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
dType :: Lens' DevicePool (Maybe DevicePoolType) Source #
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.
dDescription :: Lens' DevicePool (Maybe Text) Source #
The device pool's description.
DevicePoolCompatibilityResult
data DevicePoolCompatibilityResult Source #
Represents a device pool compatibility result.
See: devicePoolCompatibilityResult
smart constructor.
devicePoolCompatibilityResult :: DevicePoolCompatibilityResult Source #
Creates a value of DevicePoolCompatibilityResult
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
dpcrDevice :: Lens' DevicePoolCompatibilityResult (Maybe Device) Source #
Undocumented member.
dpcrCompatible :: Lens' DevicePoolCompatibilityResult (Maybe Bool) Source #
Whether the result was compatible with the device pool.
dpcrIncompatibilityMessages :: Lens' DevicePoolCompatibilityResult [IncompatibilityMessage] Source #
Information about the compatibility.
IncompatibilityMessage
data IncompatibilityMessage Source #
Represents information about incompatibility.
See: incompatibilityMessage
smart constructor.
incompatibilityMessage :: IncompatibilityMessage Source #
Creates a value of IncompatibilityMessage
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
imType :: Lens' IncompatibilityMessage (Maybe DeviceAttribute) Source #
The type of incompatibility.
Allowed values include:
- ARN: The ARN.
- FORM_FACTOR: The form factor (for example, phone or tablet).
- MANUFACTURER: The manufacturer.
- PLATFORM: The platform (for example, Android or iOS).
Job
Represents a device.
See: job
smart constructor.
Creates a value of Job
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
jobStatus :: Lens' Job (Maybe ExecutionStatus) Source #
The job's status.
Allowed values include:
- PENDING: A pending status.
- PENDING_CONCURRENCY: A pending concurrency status.
- PENDING_DEVICE: A pending device status.
- PROCESSING: A processing status.
- SCHEDULING: A scheduling status.
- PREPARING: A preparing status.
- RUNNING: A running status.
- COMPLETED: A completed status.
- STOPPING: A stopping status.
jobResult :: Lens' Job (Maybe ExecutionResult) Source #
The job's result.
Allowed values include:
- PENDING: A pending condition.
- PASSED: A passing condition.
- WARNED: A warning condition.
- FAILED: A failed condition.
- SKIPPED: A skipped condition.
- ERRORED: An error condition.
- STOPPED: A stopped condition.
jobDeviceMinutes :: Lens' Job (Maybe DeviceMinutes) Source #
Represents the total (metered or unmetered) minutes used by the job.
jobType :: Lens' Job (Maybe TestType) Source #
The job's type.
Allowed values include the following:
- BUILTIN_FUZZ: The built-in fuzz type.
- BUILTIN_EXPLORER: For Android, an app explorer that will traverse an Android app, interacting with it and capturing screenshots at the same time.
- APPIUM_JAVA_JUNIT: The Appium Java JUnit type.
- APPIUM_JAVA_TESTNG: The Appium Java TestNG type.
- APPIUM_PYTHON: The Appium Python type.
- APPIUM_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.
- 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.
Location
Represents a latitude and longitude pair, expressed in geographic coordinate system degrees (for example 47.6204, -122.3491).
Elevation is currently not supported.
See: location
smart constructor.
Creates a value of Location
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
MonetaryAmount
data MonetaryAmount Source #
A number representing the monetary amount for an offering or transaction.
See: monetaryAmount
smart constructor.
monetaryAmount :: MonetaryAmount Source #
Creates a value of MonetaryAmount
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
maAmount :: Lens' MonetaryAmount (Maybe Double) Source #
The numerical amount of an offering or transaction.
maCurrencyCode :: Lens' MonetaryAmount (Maybe CurrencyCode) Source #
The currency code of a monetary amount. For example, USD
means "U.S.
dollars."
Offering
Represents the metadata of a device offering.
See: offering
smart constructor.
Creates a value of Offering
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
oPlatform :: Lens' Offering (Maybe DevicePlatform) Source #
The platform of the device (e.g., ANDROID or IOS).
oRecurringCharges :: Lens' Offering [RecurringCharge] Source #
Specifies whether there are recurring charges for the offering.
oType :: Lens' Offering (Maybe OfferingType) Source #
The type of offering (e.g., "RECURRING") for a device.
OfferingStatus
data OfferingStatus Source #
The status of the offering.
See: offeringStatus
smart constructor.
offeringStatus :: OfferingStatus Source #
Creates a value of OfferingStatus
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
osEffectiveOn :: Lens' OfferingStatus (Maybe UTCTime) Source #
The date on which the offering is effective.
osOffering :: Lens' OfferingStatus (Maybe Offering) Source #
Represents the metadata of an offering status.
osQuantity :: Lens' OfferingStatus (Maybe Int) Source #
The number of available devices in the offering.
osType :: Lens' OfferingStatus (Maybe OfferingTransactionType) Source #
The type specified for the offering status.
OfferingTransaction
data OfferingTransaction Source #
Represents the metadata of an offering transaction.
See: offeringTransaction
smart constructor.
offeringTransaction :: OfferingTransaction Source #
Creates a value of OfferingTransaction
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
otOfferingStatus :: Lens' OfferingTransaction (Maybe OfferingStatus) Source #
The status of an offering transaction.
otCost :: Lens' OfferingTransaction (Maybe MonetaryAmount) Source #
The cost of an offering transaction.
otTransactionId :: Lens' OfferingTransaction (Maybe Text) Source #
The transaction ID of the offering transaction.
otCreatedOn :: Lens' OfferingTransaction (Maybe UTCTime) Source #
The date on which an offering transaction was created.
Problem
Represents a specific warning or failure.
See: problem
smart constructor.
pResult :: Lens' Problem (Maybe ExecutionResult) Source #
The problem'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.
ProblemDetail
data ProblemDetail Source #
Information about a problem detail.
See: problemDetail
smart constructor.
problemDetail :: ProblemDetail Source #
Creates a value of ProblemDetail
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
Project
Represents an operating-system neutral workspace for running and managing tests.
See: project
smart constructor.
Radios
Represents the set of radios and their states on a device. Examples of radios include Wi-Fi, GPS, Bluetooth, and NFC.
See: radios
smart constructor.
Creates a value of Radios
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
rNfc :: Lens' Radios (Maybe Bool) Source #
True if NFC is enabled at the beginning of the test; otherwise, false.
rGps :: Lens' Radios (Maybe Bool) Source #
True if GPS is enabled at the beginning of the test; otherwise, false.
rBluetooth :: Lens' Radios (Maybe Bool) Source #
True if Bluetooth is enabled at the beginning of the test; otherwise, false.
rWifi :: Lens' Radios (Maybe Bool) Source #
True if Wi-Fi is enabled at the beginning of the test; otherwise, false.
RecurringCharge
data RecurringCharge Source #
Specifies whether charges for devices will be recurring.
See: recurringCharge
smart constructor.
recurringCharge :: RecurringCharge Source #
Creates a value of RecurringCharge
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
rcFrequency :: Lens' RecurringCharge (Maybe RecurringChargeFrequency) Source #
The frequency in which charges will recur.
rcCost :: Lens' RecurringCharge (Maybe MonetaryAmount) Source #
The cost of the recurring charge.
Resolution
data Resolution Source #
Represents the screen resolution of a device in height and width, expressed in pixels.
See: resolution
smart constructor.
resolution :: Resolution Source #
Creates a value of Resolution
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
rHeight :: Lens' Resolution (Maybe Int) Source #
The screen resolution's height, expressed in pixels.
Rule
Represents a condition for a device pool.
See: rule
smart constructor.
Creates a value of Rule
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
rAttribute :: Lens' Rule (Maybe DeviceAttribute) Source #
The rule's stringified attribute. For example, specify the value as '"\"abc\""'.
Allowed values include:
- ARN: The ARN.
- FORM_FACTOR: The form factor (for example, phone or tablet).
- MANUFACTURER: The manufacturer.
- PLATFORM: The platform (for example, Android or iOS).
rOperator :: Lens' Rule (Maybe RuleOperator) Source #
The rule's operator.
- EQUALS: The equals operator.
- GREATER_THAN: The greater-than operator.
- IN: The in operator.
- LESS_THAN: The less-than operator.
- NOT_IN: The not-in operator.
Run
Represents an app on a set of devices with a specific test and configuration.
See: run
smart constructor.
Creates a value of Run
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
runBillingMethod :: Lens' Run (Maybe BillingMethod) Source #
Specifies the billing method for a test run: metered
or unmetered
.
If the parameter is not specified, the default value is unmetered
.
runStatus :: Lens' Run (Maybe ExecutionStatus) Source #
The run'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.
runPlatform :: Lens' Run (Maybe DevicePlatform) Source #
The run's platform.
Allowed values include:
- ANDROID: The Android platform.
- IOS: The iOS platform.
runResult :: Lens' Run (Maybe ExecutionResult) Source #
The run'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.
runDeviceMinutes :: Lens' Run (Maybe DeviceMinutes) Source #
Represents the total (metered or unmetered) minutes used by the test run.
runType :: Lens' Run (Maybe TestType) Source #
The run'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_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.
- 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.
Sample
Represents a sample of performance data.
See: sample
smart constructor.
samUrl :: Lens' Sample (Maybe Text) Source #
The pre-signed Amazon S3 URL that can be used with a corresponding GET request to download the sample's file.
samType :: Lens' Sample (Maybe SampleType) Source #
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.
ScheduleRunConfiguration
data ScheduleRunConfiguration Source #
Represents the settings for a run. Includes things like location, radio states, auxiliary apps, and network profiles.
See: scheduleRunConfiguration
smart constructor.
scheduleRunConfiguration :: ScheduleRunConfiguration Source #
Creates a value of ScheduleRunConfiguration
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
srcBillingMethod :: Lens' ScheduleRunConfiguration (Maybe BillingMethod) Source #
Specifies the billing method for a test run: metered
or unmetered
.
If the parameter is not specified, the default value is unmetered
.
srcRadios :: Lens' ScheduleRunConfiguration (Maybe Radios) Source #
Information about the radio states for the run.
srcLocation :: Lens' ScheduleRunConfiguration (Maybe Location) Source #
Information about the location that is used for the run.
srcLocale :: Lens' ScheduleRunConfiguration (Maybe Text) Source #
Information about the locale that is used for the run.
srcNetworkProfileARN :: Lens' ScheduleRunConfiguration (Maybe Text) Source #
Reserved for internal use.
srcExtraDataPackageARN :: Lens' ScheduleRunConfiguration (Maybe Text) Source #
The ARN of the extra data for the run. The extra data is a .zip file that AWS Device Farm will extract to external data for Android or the app's sandbox for iOS.
srcAuxiliaryApps :: Lens' ScheduleRunConfiguration [Text] Source #
A list of auxiliary apps for the run.
ScheduleRunTest
data ScheduleRunTest Source #
Represents additional test settings.
See: scheduleRunTest
smart constructor.
Creates a value of ScheduleRunTest
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
srtTestPackageARN :: Lens' ScheduleRunTest (Maybe Text) Source #
The ARN of the uploaded test that will be run.
srtParameters :: Lens' ScheduleRunTest (HashMap Text Text) Source #
The test's parameters, such as test framework parameters and fixture settings.
srtType :: Lens' ScheduleRunTest TestType Source #
The test'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_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.
- 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.
Suite
Represents a collection of one or more tests.
See: suite
smart constructor.
sStatus :: Lens' Suite (Maybe ExecutionStatus) Source #
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.
sResult :: Lens' Suite (Maybe ExecutionResult) Source #
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.
sDeviceMinutes :: Lens' Suite (Maybe DeviceMinutes) Source #
Represents the total (metered or unmetered) minutes used by the test suite.
sType :: Lens' Suite (Maybe TestType) Source #
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_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.
- 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.
Test
Represents a condition that is evaluated.
See: test
smart constructor.
tStatus :: Lens' Test (Maybe ExecutionStatus) Source #
The test'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.
tResult :: Lens' Test (Maybe ExecutionResult) Source #
The test'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.
tDeviceMinutes :: Lens' Test (Maybe DeviceMinutes) Source #
Represents the total (metered or unmetered) minutes used by the test.
tType :: Lens' Test (Maybe TestType) Source #
The test'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_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.
- 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.
UniqueProblem
data UniqueProblem Source #
A collection of one or more problems, grouped by their result.
See: uniqueProblem
smart constructor.
uniqueProblem :: UniqueProblem Source #
Creates a value of UniqueProblem
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
upProblems :: Lens' UniqueProblem [Problem] Source #
Information about the problems.
Upload
An app or a set of one or more tests to upload or that have been uploaded.
See: upload
smart constructor.
uStatus :: Lens' Upload (Maybe UploadStatus) Source #
The upload's status.
Must be one of the following values:
- FAILED: A failed status.
- INITIALIZED: An initialized status.
- PROCESSING: A processing status.
- SUCCEEDED: A succeeded status.
uUrl :: Lens' Upload (Maybe Text) Source #
The pre-signed Amazon S3 URL that was used to store a file through a corresponding PUT request.
uMetadata :: Lens' Upload (Maybe Text) Source #
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.
uType :: Lens' Upload (Maybe UploadType) Source #
The upload's type.
Must be one of the following values:
- ANDROID_APP: An Android upload.
- IOS_APP: An iOS upload.
- WEB_APP: A web appliction upload.
- EXTERNAL_DATA: An external data upload.
- APPIUM_JAVA_JUNIT_TEST_PACKAGE: An Appium Java JUnit test package upload.
- APPIUM_JAVA_TESTNG_TEST_PACKAGE: An Appium Java TestNG test package upload.
- APPIUM_PYTHON_TEST_PACKAGE: An Appium Python test package upload.
- APPIUM_WEB_JAVA_JUNIT_TEST_PACKAGE: An Appium Java JUnit test package upload.
- APPIUM_WEB_JAVA_TESTNG_TEST_PACKAGE: An Appium Java TestNG test package upload.
- APPIUM_WEB_PYTHON_TEST_PACKAGE: An Appium Python test package upload.
- CALABASH_TEST_PACKAGE: A Calabash test package upload.
- INSTRUMENTATION_TEST_PACKAGE: An instrumentation upload.
- UIAUTOMATION_TEST_PACKAGE: A uiautomation test package upload.
- UIAUTOMATOR_TEST_PACKAGE: A uiautomator test package upload.
- XCTEST_TEST_PACKAGE: An XCode test package upload.
- XCTEST_UI_TEST_PACKAGE: An XCode UI test package upload.