aws_sdk_omics/client/
update_workflow.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 [`UpdateWorkflow`](crate::operation::update_workflow::builders::UpdateWorkflowFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`id(impl Into<String>)`](crate::operation::update_workflow::builders::UpdateWorkflowFluentBuilder::id) / [`set_id(Option<String>)`](crate::operation::update_workflow::builders::UpdateWorkflowFluentBuilder::set_id):<br>required: **true**<br><p>The workflow's ID.</p><br>
7    ///   - [`name(impl Into<String>)`](crate::operation::update_workflow::builders::UpdateWorkflowFluentBuilder::name) / [`set_name(Option<String>)`](crate::operation::update_workflow::builders::UpdateWorkflowFluentBuilder::set_name):<br>required: **false**<br><p>A name for the workflow.</p><br>
8    ///   - [`description(impl Into<String>)`](crate::operation::update_workflow::builders::UpdateWorkflowFluentBuilder::description) / [`set_description(Option<String>)`](crate::operation::update_workflow::builders::UpdateWorkflowFluentBuilder::set_description):<br>required: **false**<br><p>A description for the workflow.</p><br>
9    ///   - [`storage_type(StorageType)`](crate::operation::update_workflow::builders::UpdateWorkflowFluentBuilder::storage_type) / [`set_storage_type(Option<StorageType>)`](crate::operation::update_workflow::builders::UpdateWorkflowFluentBuilder::set_storage_type):<br>required: **false**<br><p>The default storage type for runs that use this workflow. STATIC storage allocates a fixed amount of storage. DYNAMIC storage 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>
10    ///   - [`storage_capacity(i32)`](crate::operation::update_workflow::builders::UpdateWorkflowFluentBuilder::storage_capacity) / [`set_storage_capacity(Option<i32>)`](crate::operation::update_workflow::builders::UpdateWorkflowFluentBuilder::set_storage_capacity):<br>required: **false**<br><p>The default static storage capacity (in gibibytes) for runs that use this workflow or workflow version.</p><br>
11    /// - On success, responds with [`UpdateWorkflowOutput`](crate::operation::update_workflow::UpdateWorkflowOutput)
12    /// - On failure, responds with [`SdkError<UpdateWorkflowError>`](crate::operation::update_workflow::UpdateWorkflowError)
13    pub fn update_workflow(&self) -> crate::operation::update_workflow::builders::UpdateWorkflowFluentBuilder {
14        crate::operation::update_workflow::builders::UpdateWorkflowFluentBuilder::new(self.handle.clone())
15    }
16}