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 [`DeleteFlowVersion`](crate::operation::delete_flow_version::builders::DeleteFlowVersionFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`flow_identifier(impl Into<String>)`](crate::operation::delete_flow_version::builders::DeleteFlowVersionFluentBuilder::flow_identifier) / [`set_flow_identifier(Option<String>)`](crate::operation::delete_flow_version::builders::DeleteFlowVersionFluentBuilder::set_flow_identifier):<br>required: **true**<br><p>The unique identifier of the flow whose version that you want to delete</p><br>
    ///   - [`flow_version(impl Into<String>)`](crate::operation::delete_flow_version::builders::DeleteFlowVersionFluentBuilder::flow_version) / [`set_flow_version(Option<String>)`](crate::operation::delete_flow_version::builders::DeleteFlowVersionFluentBuilder::set_flow_version):<br>required: **true**<br><p>The version of the flow that you want to delete.</p><br>
    ///   - [`skip_resource_in_use_check(bool)`](crate::operation::delete_flow_version::builders::DeleteFlowVersionFluentBuilder::skip_resource_in_use_check) / [`set_skip_resource_in_use_check(Option<bool>)`](crate::operation::delete_flow_version::builders::DeleteFlowVersionFluentBuilder::set_skip_resource_in_use_check):<br>required: **false**<br><p>By default, this value is <code>false</code> and deletion is stopped if the resource is in use. If you set it to <code>true</code>, the resource will be deleted even if the resource is in use.</p><br>
    /// - On success, responds with [`DeleteFlowVersionOutput`](crate::operation::delete_flow_version::DeleteFlowVersionOutput) with field(s):
    ///   - [`id(String)`](crate::operation::delete_flow_version::DeleteFlowVersionOutput::id): <p>The unique identifier of the flow.</p>
    ///   - [`version(String)`](crate::operation::delete_flow_version::DeleteFlowVersionOutput::version): <p>The version of the flow being deleted.</p>
    /// - On failure, responds with [`SdkError<DeleteFlowVersionError>`](crate::operation::delete_flow_version::DeleteFlowVersionError)
    pub fn delete_flow_version(&self) -> crate::operation::delete_flow_version::builders::DeleteFlowVersionFluentBuilder {
        crate::operation::delete_flow_version::builders::DeleteFlowVersionFluentBuilder::new(self.handle.clone())
    }
}