Module Values.RunSource

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

Sourcetype nonrec t = {
  1. arn : AmazonResourceName.t option;
    (*

    The run's ARN.

    *)
  2. name : Name.t option;
    (*

    The run's name.

    *)
  3. type_ : TestType.t option;
    (*

    The run's type. Must be one of the following values: BUILTIN_FUZZ 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 INSTRUMENTATION XCTEST XCTEST_UI

    *)
  4. platform : DevicePlatform.t option;
    (*

    The run's platform. Allowed values include: ANDROID IOS

    *)
  5. created : DateTime.t option;
    (*

    When the run was created.

    *)
  6. status : ExecutionStatus.t option;
    (*

    The run's status. Allowed values include: PENDING PENDING_CONCURRENCY PENDING_DEVICE PROCESSING SCHEDULING PREPARING RUNNING COMPLETED STOPPING

    *)
  7. result : ExecutionResult.t option;
    (*

    The run's result. Allowed values include: PENDING PASSED WARNED FAILED SKIPPED ERRORED STOPPED

    *)
  8. started : DateTime.t option;
    (*

    The run's start time.

    *)
  9. stopped : DateTime.t option;
    (*

    The run's stop time.

    *)
  10. counters : Counters.t option;
    (*

    The run's result counters.

    *)
  11. message : Message.t option;
    (*

    A message about the run's result.

    *)
  12. totalJobs : Integer.t option;
    (*

    The total number of jobs for the run.

    *)
  13. completedJobs : Integer.t option;
    (*

    The total number of completed jobs.

    *)
  14. billingMethod : BillingMethod.t option;
    (*

    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.

    *)
  15. deviceMinutes : DeviceMinutes.t option;
    (*

    Represents the total (metered or unmetered) minutes used by the test run.

    *)
  16. networkProfile : NetworkProfile.t option;
    (*

    The network profile being used for a test run.

    *)
  17. deviceProxy : DeviceProxy.t option;
    (*

    The device proxy configured for the devices in the run.

    *)
  18. parsingResultUrl : String_.t option;
    (*

    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.

    *)
  19. resultCode : ExecutionResultCode.t option;
    (*

    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.

    *)
  20. seed : Integer.t option;
    (*

    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.

    *)
  21. appUpload : AmazonResourceName.t option;
    (*

    An app to upload or that has been uploaded.

    *)
  22. eventCount : Integer.t option;
    (*

    For fuzz tests, this is the number of events, between 1 and 10000, that the UI fuzz test should perform.

    *)
  23. jobTimeoutMinutes : JobTimeoutMinutes.t option;
    (*

    The number of minutes the job executes before it times out.

    *)
  24. devicePoolArn : AmazonResourceName.t option;
    (*

    The ARN of the device pool for the run.

    *)
  25. locale : String_.t option;
    (*

    Information about the locale that is used for the run.

    *)
  26. radios : Radios.t option;
    (*

    Information about the radio states for the run.

    *)
  27. location : Location.t option;
    (*

    Information about the location that is used for the run.

    *)
  28. customerArtifactPaths : CustomerArtifactPaths.t option;
    (*

    Output CustomerArtifactPaths object for the test run.

    *)
  29. webUrl : String_.t option;
    (*

    The Device Farm console URL for the recording of the run.

    *)
  30. skipAppResign : SkipAppResign.t option;
    (*

    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.

    *)
  31. testSpecArn : AmazonResourceName.t option;
    (*

    The ARN of the YAML-formatted test specification for the run.

    *)
  32. deviceSelectionResult : DeviceSelectionResult.t option;
    (*

    The results of a device filter used to select the devices for a test run.

    *)
  33. vpcConfig : VpcConfig.t option;
    (*

    The VPC security groups and subnets that are attached to a project.

    *)
  34. executionRoleArn : AmazonRoleResourceName.t option;
    (*

    The IAM role associated with the run.

    *)
  35. environmentVariables : EnvironmentVariables.t option;
    (*

    Environment variables associated with the run.

    *)
}
Sourceval make : ?arn:??? -> ?name:??? -> ?type_:??? -> ?platform:??? -> ?created:??? -> ?status:??? -> ?result:??? -> ?started:??? -> ?stopped:??? -> ?counters:??? -> ?message:??? -> ?totalJobs:??? -> ?completedJobs:??? -> ?billingMethod:??? -> ?deviceMinutes:??? -> ?networkProfile:??? -> ?deviceProxy:??? -> ?parsingResultUrl:??? -> ?resultCode:??? -> ?seed:??? -> ?appUpload:??? -> ?eventCount:??? -> ?jobTimeoutMinutes:??? -> ?devicePoolArn:??? -> ?locale:??? -> ?radios:??? -> ?location:??? -> ?customerArtifactPaths:??? -> ?webUrl:??? -> ?skipAppResign:??? -> ?testSpecArn:??? -> ?deviceSelectionResult:??? -> ?vpcConfig:??? -> ?executionRoleArn:??? -> ?environmentVariables:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Boolean of SkipAppResign.t | `Enum of string | `Integer of Integer.t | `List of [> `Structure of (string * [> `String of EnvironmentVariableName.t ]) list ] list | `String of AmazonResourceName.t | `Structure of (string * [> `Boolean of Boolean.t | `Double of Double.t | `Enum of string | `Integer of Integer.t | `List of [> `String of String_.t | `Structure of (string * [> `Enum of string | `List of [> `String of String_.t ] list ]) list ] list | `Long of Long.t | `String of AmazonResourceName.t ]) list | `Timestamp of DateTime.t ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t