Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Synopsis
- data Run = Run' {
- appUpload :: Maybe Text
- arn :: Maybe Text
- billingMethod :: Maybe BillingMethod
- completedJobs :: Maybe Int
- counters :: Maybe Counters
- created :: Maybe POSIX
- customerArtifactPaths :: Maybe CustomerArtifactPaths
- deviceMinutes :: Maybe DeviceMinutes
- devicePoolArn :: Maybe Text
- deviceSelectionResult :: Maybe DeviceSelectionResult
- eventCount :: Maybe Int
- jobTimeoutMinutes :: Maybe Int
- locale :: Maybe Text
- location :: Maybe Location
- message :: Maybe Text
- name :: Maybe Text
- networkProfile :: Maybe NetworkProfile
- parsingResultUrl :: Maybe Text
- platform :: Maybe DevicePlatform
- radios :: Maybe Radios
- result :: Maybe ExecutionResult
- resultCode :: Maybe ExecutionResultCode
- seed :: Maybe Int
- skipAppResign :: Maybe Bool
- started :: Maybe POSIX
- status :: Maybe ExecutionStatus
- stopped :: Maybe POSIX
- testSpecArn :: Maybe Text
- totalJobs :: Maybe Int
- type' :: Maybe TestType
- vpcConfig :: Maybe VpcConfig
- webUrl :: Maybe Text
- newRun :: Run
- run_appUpload :: Lens' Run (Maybe Text)
- run_arn :: Lens' Run (Maybe Text)
- run_billingMethod :: Lens' Run (Maybe BillingMethod)
- run_completedJobs :: Lens' Run (Maybe Int)
- run_counters :: Lens' Run (Maybe Counters)
- run_created :: Lens' Run (Maybe UTCTime)
- run_customerArtifactPaths :: Lens' Run (Maybe CustomerArtifactPaths)
- run_deviceMinutes :: Lens' Run (Maybe DeviceMinutes)
- run_devicePoolArn :: Lens' Run (Maybe Text)
- run_deviceSelectionResult :: Lens' Run (Maybe DeviceSelectionResult)
- run_eventCount :: Lens' Run (Maybe Int)
- run_jobTimeoutMinutes :: Lens' Run (Maybe Int)
- run_locale :: Lens' Run (Maybe Text)
- run_location :: Lens' Run (Maybe Location)
- run_message :: Lens' Run (Maybe Text)
- run_name :: Lens' Run (Maybe Text)
- run_networkProfile :: Lens' Run (Maybe NetworkProfile)
- run_parsingResultUrl :: Lens' Run (Maybe Text)
- run_platform :: Lens' Run (Maybe DevicePlatform)
- run_radios :: Lens' Run (Maybe Radios)
- run_result :: Lens' Run (Maybe ExecutionResult)
- run_resultCode :: Lens' Run (Maybe ExecutionResultCode)
- run_seed :: Lens' Run (Maybe Int)
- run_skipAppResign :: Lens' Run (Maybe Bool)
- run_started :: Lens' Run (Maybe UTCTime)
- run_status :: Lens' Run (Maybe ExecutionStatus)
- run_stopped :: Lens' Run (Maybe UTCTime)
- run_testSpecArn :: Lens' Run (Maybe Text)
- run_totalJobs :: Lens' Run (Maybe Int)
- run_type :: Lens' Run (Maybe TestType)
- run_vpcConfig :: Lens' Run (Maybe VpcConfig)
- run_webUrl :: Lens' Run (Maybe Text)
Documentation
Represents a test run on a set of devices with a given app package, test parameters, and so on.
See: newRun
smart constructor.
Run' | |
|
Instances
Create a value of Run
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:appUpload:Run'
, run_appUpload
- An app to upload or that has been uploaded.
$sel:billingMethod:Run'
, run_billingMethod
- 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.
$sel:completedJobs:Run'
, run_completedJobs
- The total number of completed jobs.
$sel:counters:Run'
, run_counters
- The run's result counters.
$sel:created:Run'
, run_created
- When the run was created.
$sel:customerArtifactPaths:Run'
, run_customerArtifactPaths
- Output CustomerArtifactPaths
object for the test run.
$sel:deviceMinutes:Run'
, run_deviceMinutes
- Represents the total (metered or unmetered) minutes used by the test
run.
$sel:devicePoolArn:Run'
, run_devicePoolArn
- The ARN of the device pool for the run.
$sel:deviceSelectionResult:Run'
, run_deviceSelectionResult
- The results of a device filter used to select the devices for a test
run.
$sel:eventCount:Run'
, run_eventCount
- For fuzz tests, this is the number of events, between 1 and 10000, that
the UI fuzz test should perform.
$sel:jobTimeoutMinutes:Run'
, run_jobTimeoutMinutes
- The number of minutes the job executes before it times out.
$sel:locale:Run'
, run_locale
- Information about the locale that is used for the run.
$sel:location:Run'
, run_location
- Information about the location that is used for the run.
$sel:message:Run'
, run_message
- A message about the run's result.
Run
, run_name
- The run's name.
$sel:networkProfile:Run'
, run_networkProfile
- The network profile being used for a test run.
$sel:parsingResultUrl:Run'
, run_parsingResultUrl
- 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.
$sel:platform:Run'
, run_platform
- The run's platform.
Allowed values include:
- ANDROID
- IOS
$sel:radios:Run'
, run_radios
- Information about the radio states for the run.
$sel:result:Run'
, run_result
- The run's result.
Allowed values include:
- PENDING
- PASSED
- WARNED
- FAILED
- SKIPPED
- ERRORED
- STOPPED
$sel:resultCode:Run'
, run_resultCode
- 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.
$sel:seed:Run'
, run_seed
- 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.
$sel:skipAppResign:Run'
, run_skipAppResign
- 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? in the AWS Device Farm FAQs.
$sel:started:Run'
, run_started
- The run's start time.
$sel:status:Run'
, run_status
- The run's status.
Allowed values include:
- PENDING
- PENDING_CONCURRENCY
- PENDING_DEVICE
- PROCESSING
- SCHEDULING
- PREPARING
- RUNNING
- COMPLETED
- STOPPING
Run
, run_stopped
- The run's stop time.
$sel:testSpecArn:Run'
, run_testSpecArn
- The ARN of the YAML-formatted test specification for the run.
$sel:totalJobs:Run'
, run_totalJobs
- The total number of jobs for the run.
Run
, run_type
- 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
$sel:vpcConfig:Run'
, run_vpcConfig
- The VPC security groups and subnets that are attached to a project.
$sel:webUrl:Run'
, run_webUrl
- The Device Farm console URL for the recording of the run.
run_billingMethod :: 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 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.
run_customerArtifactPaths :: Lens' Run (Maybe CustomerArtifactPaths) Source #
Output CustomerArtifactPaths
object for the test run.
run_deviceMinutes :: Lens' Run (Maybe DeviceMinutes) Source #
Represents the total (metered or unmetered) minutes used by the test run.
run_deviceSelectionResult :: Lens' Run (Maybe DeviceSelectionResult) Source #
The results of a device filter used to select the devices for a test run.
run_eventCount :: Lens' Run (Maybe Int) Source #
For fuzz tests, this is the number of events, between 1 and 10000, that the UI fuzz test should perform.
run_jobTimeoutMinutes :: Lens' Run (Maybe Int) Source #
The number of minutes the job executes before it times out.
run_location :: Lens' Run (Maybe Location) Source #
Information about the location that is used for the run.
run_networkProfile :: Lens' Run (Maybe NetworkProfile) Source #
The network profile being used for a test run.
run_parsingResultUrl :: Lens' Run (Maybe Text) Source #
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.
run_platform :: Lens' Run (Maybe DevicePlatform) Source #
The run's platform.
Allowed values include:
- ANDROID
- IOS
run_result :: Lens' Run (Maybe ExecutionResult) Source #
The run's result.
Allowed values include:
- PENDING
- PASSED
- WARNED
- FAILED
- SKIPPED
- ERRORED
- STOPPED
run_resultCode :: Lens' Run (Maybe ExecutionResultCode) Source #
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.
run_seed :: Lens' Run (Maybe Int) Source #
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.
run_skipAppResign :: Lens' Run (Maybe Bool) Source #
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? in the AWS Device Farm FAQs.
run_status :: Lens' Run (Maybe ExecutionStatus) Source #
The run's status.
Allowed values include:
- PENDING
- PENDING_CONCURRENCY
- PENDING_DEVICE
- PROCESSING
- SCHEDULING
- PREPARING
- RUNNING
- COMPLETED
- STOPPING
run_testSpecArn :: Lens' Run (Maybe Text) Source #
The ARN of the YAML-formatted test specification for the run.
run_type :: Lens' Run (Maybe TestType) Source #
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