aws_sdk_appflow/client/delete_connector_profile.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 [`DeleteConnectorProfile`](crate::operation::delete_connector_profile::builders::DeleteConnectorProfileFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`connector_profile_name(impl Into<String>)`](crate::operation::delete_connector_profile::builders::DeleteConnectorProfileFluentBuilder::connector_profile_name) / [`set_connector_profile_name(Option<String>)`](crate::operation::delete_connector_profile::builders::DeleteConnectorProfileFluentBuilder::set_connector_profile_name):<br>required: **true**<br><p>The name of the connector profile. The name is unique for each <code>ConnectorProfile</code> in your account.</p><br>
7 /// - [`force_delete(bool)`](crate::operation::delete_connector_profile::builders::DeleteConnectorProfileFluentBuilder::force_delete) / [`set_force_delete(Option<bool>)`](crate::operation::delete_connector_profile::builders::DeleteConnectorProfileFluentBuilder::set_force_delete):<br>required: **false**<br><p>Indicates whether Amazon AppFlow should delete the profile, even if it is currently in use in one or more flows.</p><br>
8 /// - On success, responds with [`DeleteConnectorProfileOutput`](crate::operation::delete_connector_profile::DeleteConnectorProfileOutput)
9 /// - On failure, responds with [`SdkError<DeleteConnectorProfileError>`](crate::operation::delete_connector_profile::DeleteConnectorProfileError)
10 pub fn delete_connector_profile(&self) -> crate::operation::delete_connector_profile::builders::DeleteConnectorProfileFluentBuilder {
11 crate::operation::delete_connector_profile::builders::DeleteConnectorProfileFluentBuilder::new(self.handle.clone())
12 }
13}