1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`GetWorkflow`](crate::operation::get_workflow::builders::GetWorkflowFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`id(impl Into<String>)`](crate::operation::get_workflow::builders::GetWorkflowFluentBuilder::id) / [`set_id(Option<String>)`](crate::operation::get_workflow::builders::GetWorkflowFluentBuilder::set_id): <p>The workflow's ID.</p>
    ///   - [`r#type(WorkflowType)`](crate::operation::get_workflow::builders::GetWorkflowFluentBuilder::type) / [`set_type(Option<WorkflowType>)`](crate::operation::get_workflow::builders::GetWorkflowFluentBuilder::set_type): <p>The workflow's type.</p>
    ///   - [`export(WorkflowExport)`](crate::operation::get_workflow::builders::GetWorkflowFluentBuilder::export) / [`set_export(Option<Vec<WorkflowExport>>)`](crate::operation::get_workflow::builders::GetWorkflowFluentBuilder::set_export): <p>The export format for the workflow.</p>
    /// - On success, responds with [`GetWorkflowOutput`](crate::operation::get_workflow::GetWorkflowOutput) with field(s):
    ///   - [`arn(Option<String>)`](crate::operation::get_workflow::GetWorkflowOutput::arn): <p>The workflow's ARN.</p>
    ///   - [`id(Option<String>)`](crate::operation::get_workflow::GetWorkflowOutput::id): <p>The workflow's ID.</p>
    ///   - [`status(Option<WorkflowStatus>)`](crate::operation::get_workflow::GetWorkflowOutput::status): <p>The workflow's status.</p>
    ///   - [`r#type(Option<WorkflowType>)`](crate::operation::get_workflow::GetWorkflowOutput::type): <p>The workflow's type.</p>
    ///   - [`name(Option<String>)`](crate::operation::get_workflow::GetWorkflowOutput::name): <p>The workflow's name.</p>
    ///   - [`description(Option<String>)`](crate::operation::get_workflow::GetWorkflowOutput::description): <p>The workflow's description.</p>
    ///   - [`engine(Option<WorkflowEngine>)`](crate::operation::get_workflow::GetWorkflowOutput::engine): <p>The workflow's engine.</p>
    ///   - [`definition(Option<String>)`](crate::operation::get_workflow::GetWorkflowOutput::definition): <p>The workflow's definition.</p>
    ///   - [`main(Option<String>)`](crate::operation::get_workflow::GetWorkflowOutput::main): <p>The path of the main definition file for the workflow.</p>
    ///   - [`digest(Option<String>)`](crate::operation::get_workflow::GetWorkflowOutput::digest): <p>The workflow's digest.</p>
    ///   - [`parameter_template(Option<HashMap<String, WorkflowParameter>>)`](crate::operation::get_workflow::GetWorkflowOutput::parameter_template): <p>The workflow's parameter template.</p>
    ///   - [`storage_capacity(Option<i32>)`](crate::operation::get_workflow::GetWorkflowOutput::storage_capacity): <p>The workflow's storage capacity in gigabytes.</p>
    ///   - [`creation_time(Option<DateTime>)`](crate::operation::get_workflow::GetWorkflowOutput::creation_time): <p>When the workflow was created.</p>
    ///   - [`status_message(Option<String>)`](crate::operation::get_workflow::GetWorkflowOutput::status_message): <p>The workflow's status message.</p>
    ///   - [`tags(Option<HashMap<String, String>>)`](crate::operation::get_workflow::GetWorkflowOutput::tags): <p>The workflow's tags.</p>
    ///   - [`metadata(Option<HashMap<String, String>>)`](crate::operation::get_workflow::GetWorkflowOutput::metadata): <p> Gets metadata for workflow. </p>
    ///   - [`accelerators(Option<Accelerators>)`](crate::operation::get_workflow::GetWorkflowOutput::accelerators): <p> The computational accelerator specified to run the workflow. </p>
    /// - On failure, responds with [`SdkError<GetWorkflowError>`](crate::operation::get_workflow::GetWorkflowError)
    pub fn get_workflow(&self) -> crate::operation::get_workflow::builders::GetWorkflowFluentBuilder {
        crate::operation::get_workflow::builders::GetWorkflowFluentBuilder::new(self.handle.clone())
    }
}