1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`CreateFlowTemplate`](crate::operation::create_flow_template::builders::CreateFlowTemplateFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`definition(DefinitionDocument)`](crate::operation::create_flow_template::builders::CreateFlowTemplateFluentBuilder::definition) / [`set_definition(Option<DefinitionDocument>)`](crate::operation::create_flow_template::builders::CreateFlowTemplateFluentBuilder::set_definition):<br>required: **true**<br><p>The workflow <code>DefinitionDocument</code>.</p><br>
    ///   - [`compatible_namespace_version(i64)`](crate::operation::create_flow_template::builders::CreateFlowTemplateFluentBuilder::compatible_namespace_version) / [`set_compatible_namespace_version(Option<i64>)`](crate::operation::create_flow_template::builders::CreateFlowTemplateFluentBuilder::set_compatible_namespace_version):<br>required: **false**<br><p>The namespace version in which the workflow is to be created.</p> <p>If no value is specified, the latest version is used by default.</p><br>
    /// - On success, responds with [`CreateFlowTemplateOutput`](crate::operation::create_flow_template::CreateFlowTemplateOutput) with field(s):
    ///   - [`summary(Option<FlowTemplateSummary>)`](crate::operation::create_flow_template::CreateFlowTemplateOutput::summary): <p>The summary object that describes the created workflow.</p>
    /// - On failure, responds with [`SdkError<CreateFlowTemplateError>`](crate::operation::create_flow_template::CreateFlowTemplateError)
    #[deprecated(note = "since: 2022-08-30")]
    pub fn create_flow_template(&self) -> crate::operation::create_flow_template::builders::CreateFlowTemplateFluentBuilder {
        crate::operation::create_flow_template::builders::CreateFlowTemplateFluentBuilder::new(self.handle.clone())
    }
}