aws_sdk_devicefarm/client/
schedule_run.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`ScheduleRun`](crate::operation::schedule_run::builders::ScheduleRunFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`project_arn(impl Into<String>)`](crate::operation::schedule_run::builders::ScheduleRunFluentBuilder::project_arn) / [`set_project_arn(Option<String>)`](crate::operation::schedule_run::builders::ScheduleRunFluentBuilder::set_project_arn):<br>required: **true**<br><p>The ARN of the project for the run to be scheduled.</p><br>
    ///   - [`app_arn(impl Into<String>)`](crate::operation::schedule_run::builders::ScheduleRunFluentBuilder::app_arn) / [`set_app_arn(Option<String>)`](crate::operation::schedule_run::builders::ScheduleRunFluentBuilder::set_app_arn):<br>required: **false**<br><p>The ARN of an application package to run tests against, created with <code>CreateUpload</code>. See <code>ListUploads</code>.</p><br>
    ///   - [`device_pool_arn(impl Into<String>)`](crate::operation::schedule_run::builders::ScheduleRunFluentBuilder::device_pool_arn) / [`set_device_pool_arn(Option<String>)`](crate::operation::schedule_run::builders::ScheduleRunFluentBuilder::set_device_pool_arn):<br>required: **false**<br><p>The ARN of the device pool for the run to be scheduled.</p><br>
    ///   - [`device_selection_configuration(DeviceSelectionConfiguration)`](crate::operation::schedule_run::builders::ScheduleRunFluentBuilder::device_selection_configuration) / [`set_device_selection_configuration(Option<DeviceSelectionConfiguration>)`](crate::operation::schedule_run::builders::ScheduleRunFluentBuilder::set_device_selection_configuration):<br>required: **false**<br><p>The filter criteria used to dynamically select a set of devices for a test run and the maximum number of devices to be included in the run.</p> <p>Either <b> <code>devicePoolArn</code> </b> or <b> <code>deviceSelectionConfiguration</code> </b> is required in a request.</p><br>
    ///   - [`name(impl Into<String>)`](crate::operation::schedule_run::builders::ScheduleRunFluentBuilder::name) / [`set_name(Option<String>)`](crate::operation::schedule_run::builders::ScheduleRunFluentBuilder::set_name):<br>required: **false**<br><p>The name for the run to be scheduled.</p><br>
    ///   - [`test(ScheduleRunTest)`](crate::operation::schedule_run::builders::ScheduleRunFluentBuilder::test) / [`set_test(Option<ScheduleRunTest>)`](crate::operation::schedule_run::builders::ScheduleRunFluentBuilder::set_test):<br>required: **true**<br><p>Information about the test for the run to be scheduled.</p><br>
    ///   - [`configuration(ScheduleRunConfiguration)`](crate::operation::schedule_run::builders::ScheduleRunFluentBuilder::configuration) / [`set_configuration(Option<ScheduleRunConfiguration>)`](crate::operation::schedule_run::builders::ScheduleRunFluentBuilder::set_configuration):<br>required: **false**<br><p>Information about the settings for the run to be scheduled.</p><br>
    ///   - [`execution_configuration(ExecutionConfiguration)`](crate::operation::schedule_run::builders::ScheduleRunFluentBuilder::execution_configuration) / [`set_execution_configuration(Option<ExecutionConfiguration>)`](crate::operation::schedule_run::builders::ScheduleRunFluentBuilder::set_execution_configuration):<br>required: **false**<br><p>Specifies configuration information about a test run, such as the execution timeout (in minutes).</p><br>
    /// - On success, responds with [`ScheduleRunOutput`](crate::operation::schedule_run::ScheduleRunOutput) with field(s):
    ///   - [`run(Option<Run>)`](crate::operation::schedule_run::ScheduleRunOutput::run): <p>Information about the scheduled run.</p>
    /// - On failure, responds with [`SdkError<ScheduleRunError>`](crate::operation::schedule_run::ScheduleRunError)
    pub fn schedule_run(&self) -> crate::operation::schedule_run::builders::ScheduleRunFluentBuilder {
        crate::operation::schedule_run::builders::ScheduleRunFluentBuilder::new(self.handle.clone())
    }
}