aws_sdk_omics/client/start_run.rs
1// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
2impl super::Client {
3 /// Constructs a fluent builder for the [`StartRun`](crate::operation::start_run::builders::StartRunFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`workflow_id(impl Into<String>)`](crate::operation::start_run::builders::StartRunFluentBuilder::workflow_id) / [`set_workflow_id(Option<String>)`](crate::operation::start_run::builders::StartRunFluentBuilder::set_workflow_id):<br>required: **false**<br><p>The run's workflow ID.</p><br>
7 /// - [`workflow_type(WorkflowType)`](crate::operation::start_run::builders::StartRunFluentBuilder::workflow_type) / [`set_workflow_type(Option<WorkflowType>)`](crate::operation::start_run::builders::StartRunFluentBuilder::set_workflow_type):<br>required: **false**<br><p>The run's workflow type.</p><br>
8 /// - [`run_id(impl Into<String>)`](crate::operation::start_run::builders::StartRunFluentBuilder::run_id) / [`set_run_id(Option<String>)`](crate::operation::start_run::builders::StartRunFluentBuilder::set_run_id):<br>required: **false**<br><p>The ID of a run to duplicate.</p><br>
9 /// - [`role_arn(impl Into<String>)`](crate::operation::start_run::builders::StartRunFluentBuilder::role_arn) / [`set_role_arn(Option<String>)`](crate::operation::start_run::builders::StartRunFluentBuilder::set_role_arn):<br>required: **true**<br><p>A service role for the run.</p><br>
10 /// - [`name(impl Into<String>)`](crate::operation::start_run::builders::StartRunFluentBuilder::name) / [`set_name(Option<String>)`](crate::operation::start_run::builders::StartRunFluentBuilder::set_name):<br>required: **false**<br><p>A name for the run.</p><br>
11 /// - [`cache_id(impl Into<String>)`](crate::operation::start_run::builders::StartRunFluentBuilder::cache_id) / [`set_cache_id(Option<String>)`](crate::operation::start_run::builders::StartRunFluentBuilder::set_cache_id):<br>required: **false**<br><p>Identifier of the cache associated with this run. If you don't specify a cache ID, no task outputs are cached for this run.</p><br>
12 /// - [`cache_behavior(CacheBehavior)`](crate::operation::start_run::builders::StartRunFluentBuilder::cache_behavior) / [`set_cache_behavior(Option<CacheBehavior>)`](crate::operation::start_run::builders::StartRunFluentBuilder::set_cache_behavior):<br>required: **false**<br><p>The cache behavior for the run. You specify this value if you want to override the default behavior for the cache. You had set the default value when you created the cache. For more information, see <a href="https://docs.aws.amazon.com/omics/latest/dev/how-run-cache.html#run-cache-behavior">Run cache behavior</a> in the Amazon Web Services HealthOmics User Guide.</p><br>
13 /// - [`run_group_id(impl Into<String>)`](crate::operation::start_run::builders::StartRunFluentBuilder::run_group_id) / [`set_run_group_id(Option<String>)`](crate::operation::start_run::builders::StartRunFluentBuilder::set_run_group_id):<br>required: **false**<br><p>The run's group ID.</p><br>
14 /// - [`priority(i32)`](crate::operation::start_run::builders::StartRunFluentBuilder::priority) / [`set_priority(Option<i32>)`](crate::operation::start_run::builders::StartRunFluentBuilder::set_priority):<br>required: **false**<br><p>A priority for the run.</p><br>
15 /// - [`parameters(Document)`](crate::operation::start_run::builders::StartRunFluentBuilder::parameters) / [`set_parameters(Option<Document>)`](crate::operation::start_run::builders::StartRunFluentBuilder::set_parameters):<br>required: **false**<br><p>Parameters for the run.</p><br>
16 /// - [`storage_capacity(i32)`](crate::operation::start_run::builders::StartRunFluentBuilder::storage_capacity) / [`set_storage_capacity(Option<i32>)`](crate::operation::start_run::builders::StartRunFluentBuilder::set_storage_capacity):<br>required: **false**<br><p>The static storage capacity (in gibibytes) for this run. This field is not required if the storage type is dynamic (the system ignores any value that you enter).</p><br>
17 /// - [`output_uri(impl Into<String>)`](crate::operation::start_run::builders::StartRunFluentBuilder::output_uri) / [`set_output_uri(Option<String>)`](crate::operation::start_run::builders::StartRunFluentBuilder::set_output_uri):<br>required: **false**<br><p>An output URI for the run.</p><br>
18 /// - [`log_level(RunLogLevel)`](crate::operation::start_run::builders::StartRunFluentBuilder::log_level) / [`set_log_level(Option<RunLogLevel>)`](crate::operation::start_run::builders::StartRunFluentBuilder::set_log_level):<br>required: **false**<br><p>A log level for the run.</p><br>
19 /// - [`tags(impl Into<String>, impl Into<String>)`](crate::operation::start_run::builders::StartRunFluentBuilder::tags) / [`set_tags(Option<HashMap::<String, String>>)`](crate::operation::start_run::builders::StartRunFluentBuilder::set_tags):<br>required: **false**<br><p>Tags for the run.</p><br>
20 /// - [`request_id(impl Into<String>)`](crate::operation::start_run::builders::StartRunFluentBuilder::request_id) / [`set_request_id(Option<String>)`](crate::operation::start_run::builders::StartRunFluentBuilder::set_request_id):<br>required: **true**<br><p>To ensure that requests don't run multiple times, specify a unique ID for each request.</p><br>
21 /// - [`retention_mode(RunRetentionMode)`](crate::operation::start_run::builders::StartRunFluentBuilder::retention_mode) / [`set_retention_mode(Option<RunRetentionMode>)`](crate::operation::start_run::builders::StartRunFluentBuilder::set_retention_mode):<br>required: **false**<br><p>The retention mode for the run. The default value is RETAIN.</p> <p>Amazon Web Services HealthOmics stores a fixed number of runs that are available to the console and API. In the default mode (RETAIN), you need to remove runs manually when the number of run exceeds the maximum. If you set the retention mode to <code>REMOVE</code>, Amazon Web Services HealthOmics automatically removes runs (that have mode set to REMOVE) when the number of run exceeds the maximum. All run logs are available in CloudWatch logs, if you need information about a run that is no longer available to the API.</p> <p>For more information about retention mode, see <a href="https://docs.aws.amazon.com/omics/latest/dev/starting-a-run.html">Specifying run retention mode</a> in the <i>Amazon Web Services HealthOmics User Guide</i>.</p><br>
22 /// - [`storage_type(StorageType)`](crate::operation::start_run::builders::StartRunFluentBuilder::storage_type) / [`set_storage_type(Option<StorageType>)`](crate::operation::start_run::builders::StartRunFluentBuilder::set_storage_type):<br>required: **false**<br><p>The storage type for the run. By default, the run uses STATIC storage type, which allocates a fixed amount of storage. If you set the storage type to DYNAMIC, Amazon Web Services HealthOmics dynamically scales the storage up or down, based on file system utilization. For more information about static and dynamic storage, see <a href="https://docs.aws.amazon.com/omics/latest/dev/Using-workflows.html">Running workflows</a> in the <i>Amazon Web Services HealthOmics User Guide</i>.</p><br>
23 /// - [`workflow_owner_id(impl Into<String>)`](crate::operation::start_run::builders::StartRunFluentBuilder::workflow_owner_id) / [`set_workflow_owner_id(Option<String>)`](crate::operation::start_run::builders::StartRunFluentBuilder::set_workflow_owner_id):<br>required: **false**<br><p>The ID of the workflow owner.</p><br>
24 /// - [`workflow_version_name(impl Into<String>)`](crate::operation::start_run::builders::StartRunFluentBuilder::workflow_version_name) / [`set_workflow_version_name(Option<String>)`](crate::operation::start_run::builders::StartRunFluentBuilder::set_workflow_version_name):<br>required: **false**<br><p>The name of the workflow version.</p><br>
25 /// - On success, responds with [`StartRunOutput`](crate::operation::start_run::StartRunOutput) with field(s):
26 /// - [`arn(Option<String>)`](crate::operation::start_run::StartRunOutput::arn): <p>Unique resource identifier for the run.</p>
27 /// - [`id(Option<String>)`](crate::operation::start_run::StartRunOutput::id): <p>The run's ID.</p>
28 /// - [`status(Option<RunStatus>)`](crate::operation::start_run::StartRunOutput::status): <p>The run's status.</p>
29 /// - [`tags(Option<HashMap::<String, String>>)`](crate::operation::start_run::StartRunOutput::tags): <p>The run's tags.</p>
30 /// - [`uuid(Option<String>)`](crate::operation::start_run::StartRunOutput::uuid): <p>The universally unique identifier for a run.</p>
31 /// - [`run_output_uri(Option<String>)`](crate::operation::start_run::StartRunOutput::run_output_uri): <p>The destination for workflow outputs.</p>
32 /// - On failure, responds with [`SdkError<StartRunError>`](crate::operation::start_run::StartRunError)
33 pub fn start_run(&self) -> crate::operation::start_run::builders::StartRunFluentBuilder {
34 crate::operation::start_run::builders::StartRunFluentBuilder::new(self.handle.clone())
35 }
36}