aws_sdk_transfer/client/describe_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 [`DescribeWorkflow`](crate::operation::describe_workflow::builders::DescribeWorkflowFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`workflow_id(impl Into<String>)`](crate::operation::describe_workflow::builders::DescribeWorkflowFluentBuilder::workflow_id) / [`set_workflow_id(Option<String>)`](crate::operation::describe_workflow::builders::DescribeWorkflowFluentBuilder::set_workflow_id):<br>required: **true**<br><p>A unique identifier for the workflow.</p><br>
7 /// - On success, responds with [`DescribeWorkflowOutput`](crate::operation::describe_workflow::DescribeWorkflowOutput) with field(s):
8 /// - [`workflow(Option<DescribedWorkflow>)`](crate::operation::describe_workflow::DescribeWorkflowOutput::workflow): <p>The structure that contains the details of the workflow.</p>
9 /// - On failure, responds with [`SdkError<DescribeWorkflowError>`](crate::operation::describe_workflow::DescribeWorkflowError)
10 pub fn describe_workflow(&self) -> crate::operation::describe_workflow::builders::DescribeWorkflowFluentBuilder {
11 crate::operation::describe_workflow::builders::DescribeWorkflowFluentBuilder::new(self.handle.clone())
12 }
13}