aws_sdk_bedrockagent/client/delete_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 [`DeleteFlow`](crate::operation::delete_flow::builders::DeleteFlowFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`flow_identifier(impl Into<String>)`](crate::operation::delete_flow::builders::DeleteFlowFluentBuilder::flow_identifier) / [`set_flow_identifier(Option<String>)`](crate::operation::delete_flow::builders::DeleteFlowFluentBuilder::set_flow_identifier):<br>required: **true**<br><p>The unique identifier of the flow.</p><br>
7 /// - [`skip_resource_in_use_check(bool)`](crate::operation::delete_flow::builders::DeleteFlowFluentBuilder::skip_resource_in_use_check) / [`set_skip_resource_in_use_check(Option<bool>)`](crate::operation::delete_flow::builders::DeleteFlowFluentBuilder::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>
8 /// - On success, responds with [`DeleteFlowOutput`](crate::operation::delete_flow::DeleteFlowOutput) with field(s):
9 /// - [`id(String)`](crate::operation::delete_flow::DeleteFlowOutput::id): <p>The unique identifier of the flow.</p>
10 /// - On failure, responds with [`SdkError<DeleteFlowError>`](crate::operation::delete_flow::DeleteFlowError)
11 pub fn delete_flow(&self) -> crate::operation::delete_flow::builders::DeleteFlowFluentBuilder {
12 crate::operation::delete_flow::builders::DeleteFlowFluentBuilder::new(self.handle.clone())
13 }
14}