Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Synopsis
- data Run = Run' {
- billingMethod :: Maybe BillingMethod
- skipAppResign :: Maybe Bool
- status :: Maybe ExecutionStatus
- customerArtifactPaths :: Maybe CustomerArtifactPaths
- eventCount :: Maybe Int
- counters :: Maybe Counters
- platform :: Maybe DevicePlatform
- seed :: Maybe Int
- radios :: Maybe Radios
- arn :: Maybe Text
- location :: Maybe Location
- created :: Maybe POSIX
- locale :: Maybe Text
- testSpecArn :: Maybe Text
- stopped :: Maybe POSIX
- result :: Maybe ExecutionResult
- jobTimeoutMinutes :: Maybe Int
- completedJobs :: Maybe Int
- resultCode :: Maybe ExecutionResultCode
- name :: Maybe Text
- appUpload :: Maybe Text
- parsingResultUrl :: Maybe Text
- networkProfile :: Maybe NetworkProfile
- deviceMinutes :: Maybe DeviceMinutes
- type' :: Maybe TestType
- message :: Maybe Text
- webUrl :: Maybe Text
- totalJobs :: Maybe Int
- devicePoolArn :: Maybe Text
- started :: Maybe POSIX
- deviceSelectionResult :: Maybe DeviceSelectionResult
- newRun :: Run
- run_billingMethod :: Lens' Run (Maybe BillingMethod)
- run_skipAppResign :: Lens' Run (Maybe Bool)
- run_status :: Lens' Run (Maybe ExecutionStatus)
- run_customerArtifactPaths :: Lens' Run (Maybe CustomerArtifactPaths)
- run_eventCount :: Lens' Run (Maybe Int)
- run_counters :: Lens' Run (Maybe Counters)
- run_platform :: Lens' Run (Maybe DevicePlatform)
- run_seed :: Lens' Run (Maybe Int)
- run_radios :: Lens' Run (Maybe Radios)
- run_arn :: Lens' Run (Maybe Text)
- run_location :: Lens' Run (Maybe Location)
- run_created :: Lens' Run (Maybe UTCTime)
- run_locale :: Lens' Run (Maybe Text)
- run_testSpecArn :: Lens' Run (Maybe Text)
- run_stopped :: Lens' Run (Maybe UTCTime)
- run_result :: Lens' Run (Maybe ExecutionResult)
- run_jobTimeoutMinutes :: Lens' Run (Maybe Int)
- run_completedJobs :: Lens' Run (Maybe Int)
- run_resultCode :: Lens' Run (Maybe ExecutionResultCode)
- run_name :: Lens' Run (Maybe Text)
- run_appUpload :: Lens' Run (Maybe Text)
- run_parsingResultUrl :: Lens' Run (Maybe Text)
- run_networkProfile :: Lens' Run (Maybe NetworkProfile)
- run_deviceMinutes :: Lens' Run (Maybe DeviceMinutes)
- run_type :: Lens' Run (Maybe TestType)
- run_message :: Lens' Run (Maybe Text)
- run_webUrl :: Lens' Run (Maybe Text)
- run_totalJobs :: Lens' Run (Maybe Int)
- run_devicePoolArn :: Lens' Run (Maybe Text)
- run_started :: Lens' Run (Maybe UTCTime)
- run_deviceSelectionResult :: Lens' Run (Maybe DeviceSelectionResult)
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: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: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:status:Run'
, run_status
- The run's status.
Allowed values include:
- PENDING
- PENDING_CONCURRENCY
- PENDING_DEVICE
- PROCESSING
- SCHEDULING
- PREPARING
- RUNNING
- COMPLETED
- STOPPING
$sel:customerArtifactPaths:Run'
, run_customerArtifactPaths
- Output CustomerArtifactPaths
object for the 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:counters:Run'
, run_counters
- The run's result counters.
$sel:platform:Run'
, run_platform
- The run's platform.
Allowed values include:
- ANDROID
- IOS
$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:radios:Run'
, run_radios
- Information about the radio states for the run.
$sel:arn:Run'
, run_arn
- The run's ARN.
$sel:location:Run'
, run_location
- Information about the location that is used for the run.
$sel:created:Run'
, run_created
- When the run was created.
$sel:locale:Run'
, run_locale
- Information about the locale that is used for the run.
$sel:testSpecArn:Run'
, run_testSpecArn
- The ARN of the YAML-formatted test specification for the run.
$sel:stopped:Run'
, run_stopped
- The run's stop time.
$sel:result:Run'
, run_result
- The run's result.
Allowed values include:
- PENDING
- PASSED
- WARNED
- FAILED
- SKIPPED
- ERRORED
- STOPPED
$sel:jobTimeoutMinutes:Run'
, run_jobTimeoutMinutes
- The number of minutes the job executes before it times out.
$sel:completedJobs:Run'
, run_completedJobs
- The total number of completed jobs.
$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:name:Run'
, run_name
- The run's name.
$sel:appUpload:Run'
, run_appUpload
- An app to upload or that has been uploaded.
$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:networkProfile:Run'
, run_networkProfile
- The network profile being used for a test run.
$sel:deviceMinutes:Run'
, run_deviceMinutes
- Represents the total (metered or unmetered) minutes used by the test
run.
$sel:type':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:message:Run'
, run_message
- A message about the run's result.
$sel:webUrl:Run'
, run_webUrl
- The Device Farm console URL for the recording of the run.
$sel:totalJobs:Run'
, run_totalJobs
- The total number of jobs for the run.
$sel:devicePoolArn:Run'
, run_devicePoolArn
- The ARN of the device pool for the run.
$sel:started:Run'
, run_started
- The run's start time.
$sel:deviceSelectionResult:Run'
, run_deviceSelectionResult
- The results of a device filter used to select the devices for a test
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_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_customerArtifactPaths :: Lens' Run (Maybe CustomerArtifactPaths) Source #
Output CustomerArtifactPaths
object for the 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_platform :: Lens' Run (Maybe DevicePlatform) Source #
The run's platform.
Allowed values include:
- ANDROID
- IOS
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_location :: Lens' Run (Maybe Location) Source #
Information about the location that is used for the run.
run_testSpecArn :: Lens' Run (Maybe Text) Source #
The ARN of the YAML-formatted test specification for the run.
run_result :: Lens' Run (Maybe ExecutionResult) Source #
The run's result.
Allowed values include:
- PENDING
- PASSED
- WARNED
- FAILED
- SKIPPED
- ERRORED
- STOPPED
run_jobTimeoutMinutes :: Lens' Run (Maybe Int) Source #
The number of minutes the job executes before it times out.
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_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_networkProfile :: Lens' Run (Maybe NetworkProfile) Source #
The network profile being used for a test run.
run_deviceMinutes :: Lens' Run (Maybe DeviceMinutes) Source #
Represents the total (metered or unmetered) minutes used by the test 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
run_webUrl :: Lens' Run (Maybe Text) Source #
The Device Farm console URL for the recording of the run.
run_deviceSelectionResult :: Lens' Run (Maybe DeviceSelectionResult) Source #
The results of a device filter used to select the devices for a test run.