1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`UpdateFlowTemplate`](crate::operation::update_flow_template::builders::UpdateFlowTemplateFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`id(impl Into<String>)`](crate::operation::update_flow_template::builders::UpdateFlowTemplateFluentBuilder::id) / [`set_id(Option<String>)`](crate::operation::update_flow_template::builders::UpdateFlowTemplateFluentBuilder::set_id):<br>required: **true**<br><p>The ID of the workflow to be updated.</p> <p>The ID should be in the following format.</p> <p><code>urn:tdm:REGION/ACCOUNT ID/default:workflow:WORKFLOWNAME</code></p><br>
    ///   - [`definition(DefinitionDocument)`](crate::operation::update_flow_template::builders::UpdateFlowTemplateFluentBuilder::definition) / [`set_definition(Option<DefinitionDocument>)`](crate::operation::update_flow_template::builders::UpdateFlowTemplateFluentBuilder::set_definition):<br>required: **true**<br><p>The <code>DefinitionDocument</code> that contains the updated workflow definition.</p><br>
    ///   - [`compatible_namespace_version(i64)`](crate::operation::update_flow_template::builders::UpdateFlowTemplateFluentBuilder::compatible_namespace_version) / [`set_compatible_namespace_version(Option<i64>)`](crate::operation::update_flow_template::builders::UpdateFlowTemplateFluentBuilder::set_compatible_namespace_version):<br>required: **false**<br><p>The version of the user's namespace.</p> <p>If no value is specified, the latest version is used by default. Use the <code>GetFlowTemplateRevisions</code> if you want to find earlier revisions of the flow to update.</p><br>
    /// - On success, responds with [`UpdateFlowTemplateOutput`](crate::operation::update_flow_template::UpdateFlowTemplateOutput) with field(s):
    ///   - [`summary(Option<FlowTemplateSummary>)`](crate::operation::update_flow_template::UpdateFlowTemplateOutput::summary): <p>An object containing summary information about the updated workflow.</p>
    /// - On failure, responds with [`SdkError<UpdateFlowTemplateError>`](crate::operation::update_flow_template::UpdateFlowTemplateError)
    #[deprecated(note = "since: 2022-08-30")]
    pub fn update_flow_template(&self) -> crate::operation::update_flow_template::builders::UpdateFlowTemplateFluentBuilder {
        crate::operation::update_flow_template::builders::UpdateFlowTemplateFluentBuilder::new(self.handle.clone())
    }
}