aws_sdk_cognitoidentityprovider/client/
delete_identity_provider.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 [`DeleteIdentityProvider`](crate::operation::delete_identity_provider::builders::DeleteIdentityProviderFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`user_pool_id(impl Into<String>)`](crate::operation::delete_identity_provider::builders::DeleteIdentityProviderFluentBuilder::user_pool_id) / [`set_user_pool_id(Option<String>)`](crate::operation::delete_identity_provider::builders::DeleteIdentityProviderFluentBuilder::set_user_pool_id):<br>required: **true**<br><p>The ID of the user pool where you want to delete the identity provider.</p><br>
7    ///   - [`provider_name(impl Into<String>)`](crate::operation::delete_identity_provider::builders::DeleteIdentityProviderFluentBuilder::provider_name) / [`set_provider_name(Option<String>)`](crate::operation::delete_identity_provider::builders::DeleteIdentityProviderFluentBuilder::set_provider_name):<br>required: **true**<br><p>The name of the IdP that you want to delete.</p><br>
8    /// - On success, responds with [`DeleteIdentityProviderOutput`](crate::operation::delete_identity_provider::DeleteIdentityProviderOutput)
9    /// - On failure, responds with [`SdkError<DeleteIdentityProviderError>`](crate::operation::delete_identity_provider::DeleteIdentityProviderError)
10    pub fn delete_identity_provider(&self) -> crate::operation::delete_identity_provider::builders::DeleteIdentityProviderFluentBuilder {
11        crate::operation::delete_identity_provider::builders::DeleteIdentityProviderFluentBuilder::new(self.handle.clone())
12    }
13}