aws_sdk_omics/client/
update_workflow_version.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 [`UpdateWorkflowVersion`](crate::operation::update_workflow_version::builders::UpdateWorkflowVersionFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`workflow_id(impl Into<String>)`](crate::operation::update_workflow_version::builders::UpdateWorkflowVersionFluentBuilder::workflow_id) / [`set_workflow_id(Option<String>)`](crate::operation::update_workflow_version::builders::UpdateWorkflowVersionFluentBuilder::set_workflow_id):<br>required: **true**<br><p>The workflow's ID.</p><br>
7    ///   - [`version_name(impl Into<String>)`](crate::operation::update_workflow_version::builders::UpdateWorkflowVersionFluentBuilder::version_name) / [`set_version_name(Option<String>)`](crate::operation::update_workflow_version::builders::UpdateWorkflowVersionFluentBuilder::set_version_name):<br>required: **true**<br><p>The name of the workflow version.</p><br>
8    ///   - [`description(impl Into<String>)`](crate::operation::update_workflow_version::builders::UpdateWorkflowVersionFluentBuilder::description) / [`set_description(Option<String>)`](crate::operation::update_workflow_version::builders::UpdateWorkflowVersionFluentBuilder::set_description):<br>required: **false**<br><p>Description of the workflow version.</p><br>
9    ///   - [`storage_type(StorageType)`](crate::operation::update_workflow_version::builders::UpdateWorkflowVersionFluentBuilder::storage_type) / [`set_storage_type(Option<StorageType>)`](crate::operation::update_workflow_version::builders::UpdateWorkflowVersionFluentBuilder::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_version::builders::UpdateWorkflowVersionFluentBuilder::storage_capacity) / [`set_storage_capacity(Option<i32>)`](crate::operation::update_workflow_version::builders::UpdateWorkflowVersionFluentBuilder::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 [`UpdateWorkflowVersionOutput`](crate::operation::update_workflow_version::UpdateWorkflowVersionOutput)
12    /// - On failure, responds with [`SdkError<UpdateWorkflowVersionError>`](crate::operation::update_workflow_version::UpdateWorkflowVersionError)
13    pub fn update_workflow_version(&self) -> crate::operation::update_workflow_version::builders::UpdateWorkflowVersionFluentBuilder {
14        crate::operation::update_workflow_version::builders::UpdateWorkflowVersionFluentBuilder::new(self.handle.clone())
15    }
16}