// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`GetOauth2CredentialProvider`](crate::operation::get_oauth2_credential_provider::builders::GetOauth2CredentialProviderFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`name(impl Into<String>)`](crate::operation::get_oauth2_credential_provider::builders::GetOauth2CredentialProviderFluentBuilder::name) / [`set_name(Option<String>)`](crate::operation::get_oauth2_credential_provider::builders::GetOauth2CredentialProviderFluentBuilder::set_name):<br>required: **true**<br><p>The name of the OAuth2 credential provider to retrieve.</p><br>
/// - On success, responds with [`GetOauth2CredentialProviderOutput`](crate::operation::get_oauth2_credential_provider::GetOauth2CredentialProviderOutput) with field(s):
/// - [`client_secret_arn(Option<Secret>)`](crate::operation::get_oauth2_credential_provider::GetOauth2CredentialProviderOutput::client_secret_arn): <p>The Amazon Resource Name (ARN) of the client secret in AWS Secrets Manager.</p>
/// - [`name(String)`](crate::operation::get_oauth2_credential_provider::GetOauth2CredentialProviderOutput::name): <p>The name of the OAuth2 credential provider.</p>
/// - [`credential_provider_arn(String)`](crate::operation::get_oauth2_credential_provider::GetOauth2CredentialProviderOutput::credential_provider_arn): <p>ARN of the credential provider requested.</p>
/// - [`credential_provider_vendor(CredentialProviderVendorType)`](crate::operation::get_oauth2_credential_provider::GetOauth2CredentialProviderOutput::credential_provider_vendor): <p>The vendor of the OAuth2 credential provider.</p>
/// - [`callback_url(Option<String>)`](crate::operation::get_oauth2_credential_provider::GetOauth2CredentialProviderOutput::callback_url): <p>Callback URL to register on the OAuth2 credential provider as an allowed callback URL. This URL is where the OAuth2 authorization server redirects users after they complete the authorization flow.</p>
/// - [`oauth2_provider_config_output(Option<Oauth2ProviderConfigOutput>)`](crate::operation::get_oauth2_credential_provider::GetOauth2CredentialProviderOutput::oauth2_provider_config_output): <p>The configuration output for the OAuth2 provider.</p>
/// - [`created_time(DateTime)`](crate::operation::get_oauth2_credential_provider::GetOauth2CredentialProviderOutput::created_time): <p>The timestamp when the OAuth2 credential provider was created.</p>
/// - [`last_updated_time(DateTime)`](crate::operation::get_oauth2_credential_provider::GetOauth2CredentialProviderOutput::last_updated_time): <p>The timestamp when the OAuth2 credential provider was last updated.</p>
/// - [`status(Option<Status>)`](crate::operation::get_oauth2_credential_provider::GetOauth2CredentialProviderOutput::status): <p>The current status of the OAuth2 credential provider.</p>
/// - [`failure_reason(Option<String>)`](crate::operation::get_oauth2_credential_provider::GetOauth2CredentialProviderOutput::failure_reason): <p>The reason for the failure if the OAuth2 credential provider is in a failed state.</p>
/// - On failure, responds with [`SdkError<GetOauth2CredentialProviderError>`](crate::operation::get_oauth2_credential_provider::GetOauth2CredentialProviderError)
pub fn get_oauth2_credential_provider(
&self,
) -> crate::operation::get_oauth2_credential_provider::builders::GetOauth2CredentialProviderFluentBuilder {
crate::operation::get_oauth2_credential_provider::builders::GetOauth2CredentialProviderFluentBuilder::new(self.handle.clone())
}
}