aws_sdk_cognitoidentityprovider/client/
describe_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 [`DescribeIdentityProvider`](crate::operation::describe_identity_provider::builders::DescribeIdentityProviderFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`user_pool_id(impl Into<String>)`](crate::operation::describe_identity_provider::builders::DescribeIdentityProviderFluentBuilder::user_pool_id) / [`set_user_pool_id(Option<String>)`](crate::operation::describe_identity_provider::builders::DescribeIdentityProviderFluentBuilder::set_user_pool_id):<br>required: **true**<br><p>The ID of the user pool that has the IdP that you want to describe..</p><br>
7    ///   - [`provider_name(impl Into<String>)`](crate::operation::describe_identity_provider::builders::DescribeIdentityProviderFluentBuilder::provider_name) / [`set_provider_name(Option<String>)`](crate::operation::describe_identity_provider::builders::DescribeIdentityProviderFluentBuilder::set_provider_name):<br>required: **true**<br><p>The name of the IdP that you want to describe.</p><br>
8    /// - On success, responds with [`DescribeIdentityProviderOutput`](crate::operation::describe_identity_provider::DescribeIdentityProviderOutput) with field(s):
9    ///   - [`identity_provider(Option<IdentityProviderType>)`](crate::operation::describe_identity_provider::DescribeIdentityProviderOutput::identity_provider): <p>The details of the requested IdP.</p>
10    /// - On failure, responds with [`SdkError<DescribeIdentityProviderError>`](crate::operation::describe_identity_provider::DescribeIdentityProviderError)
11    pub fn describe_identity_provider(&self) -> crate::operation::describe_identity_provider::builders::DescribeIdentityProviderFluentBuilder {
12        crate::operation::describe_identity_provider::builders::DescribeIdentityProviderFluentBuilder::new(self.handle.clone())
13    }
14}