aws_sdk_mediaconnect/client/describe_flow.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 [`DescribeFlow`](crate::operation::describe_flow::builders::DescribeFlowFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`flow_arn(impl Into<String>)`](crate::operation::describe_flow::builders::DescribeFlowFluentBuilder::flow_arn) / [`set_flow_arn(Option<String>)`](crate::operation::describe_flow::builders::DescribeFlowFluentBuilder::set_flow_arn):<br>required: **true**<br><p>The ARN of the flow that you want to describe.</p><br>
7 /// - On success, responds with [`DescribeFlowOutput`](crate::operation::describe_flow::DescribeFlowOutput) with field(s):
8 /// - [`flow(Option<Flow>)`](crate::operation::describe_flow::DescribeFlowOutput::flow): <p>The flow that you requested a description of.</p>
9 /// - [`messages(Option<Messages>)`](crate::operation::describe_flow::DescribeFlowOutput::messages): <p>Any errors that apply currently to the flow. If there are no errors, MediaConnect will not include this field in the response.</p>
10 /// - On failure, responds with [`SdkError<DescribeFlowError>`](crate::operation::describe_flow::DescribeFlowError)
11 pub fn describe_flow(&self) -> crate::operation::describe_flow::builders::DescribeFlowFluentBuilder {
12 crate::operation::describe_flow::builders::DescribeFlowFluentBuilder::new(self.handle.clone())
13 }
14}