aws_sdk_iotthingsgraph/client/get_flow_template.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 [`GetFlowTemplate`](crate::operation::get_flow_template::builders::GetFlowTemplateFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`id(impl Into<String>)`](crate::operation::get_flow_template::builders::GetFlowTemplateFluentBuilder::id) / [`set_id(Option<String>)`](crate::operation::get_flow_template::builders::GetFlowTemplateFluentBuilder::set_id):<br>required: **true**<br><p>The ID of the workflow.</p> <p>The ID should be in the following format.</p> <p><code>urn:tdm:REGION/ACCOUNT ID/default:workflow:WORKFLOWNAME</code></p><br>
7 /// - [`revision_number(i64)`](crate::operation::get_flow_template::builders::GetFlowTemplateFluentBuilder::revision_number) / [`set_revision_number(Option<i64>)`](crate::operation::get_flow_template::builders::GetFlowTemplateFluentBuilder::set_revision_number):<br>required: **false**<br><p>The number of the workflow revision to retrieve.</p><br>
8 /// - On success, responds with [`GetFlowTemplateOutput`](crate::operation::get_flow_template::GetFlowTemplateOutput) with field(s):
9 /// - [`description(Option<FlowTemplateDescription>)`](crate::operation::get_flow_template::GetFlowTemplateOutput::description): <p>The object that describes the specified workflow.</p>
10 /// - On failure, responds with [`SdkError<GetFlowTemplateError>`](crate::operation::get_flow_template::GetFlowTemplateError)
11 #[deprecated(note = "since: 2022-08-30")]
12 pub fn get_flow_template(&self) -> crate::operation::get_flow_template::builders::GetFlowTemplateFluentBuilder {
13 crate::operation::get_flow_template::builders::GetFlowTemplateFluentBuilder::new(self.handle.clone())
14 }
15}