aws_sdk_redshift/client/
delete_authentication_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 [`DeleteAuthenticationProfile`](crate::operation::delete_authentication_profile::builders::DeleteAuthenticationProfileFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`authentication_profile_name(impl Into<String>)`](crate::operation::delete_authentication_profile::builders::DeleteAuthenticationProfileFluentBuilder::authentication_profile_name) / [`set_authentication_profile_name(Option<String>)`](crate::operation::delete_authentication_profile::builders::DeleteAuthenticationProfileFluentBuilder::set_authentication_profile_name):<br>required: **true**<br><p>The name of the authentication profile to delete.</p><br>
7    /// - On success, responds with [`DeleteAuthenticationProfileOutput`](crate::operation::delete_authentication_profile::DeleteAuthenticationProfileOutput) with field(s):
8    ///   - [`authentication_profile_name(Option<String>)`](crate::operation::delete_authentication_profile::DeleteAuthenticationProfileOutput::authentication_profile_name): <p>The name of the authentication profile that was deleted.</p>
9    /// - On failure, responds with [`SdkError<DeleteAuthenticationProfileError>`](crate::operation::delete_authentication_profile::DeleteAuthenticationProfileError)
10    pub fn delete_authentication_profile(
11        &self,
12    ) -> crate::operation::delete_authentication_profile::builders::DeleteAuthenticationProfileFluentBuilder {
13        crate::operation::delete_authentication_profile::builders::DeleteAuthenticationProfileFluentBuilder::new(self.handle.clone())
14    }
15}