// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`GetRoleCredentials`](crate::operation::get_role_credentials::builders::GetRoleCredentialsFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`role_name(impl ::std::convert::Into<String>)`](crate::operation::get_role_credentials::builders::GetRoleCredentialsFluentBuilder::role_name) / [`set_role_name(Option<String>)`](crate::operation::get_role_credentials::builders::GetRoleCredentialsFluentBuilder::set_role_name): <p>The friendly name of the role that is assigned to the user.</p>
    ///   - [`account_id(impl ::std::convert::Into<String>)`](crate::operation::get_role_credentials::builders::GetRoleCredentialsFluentBuilder::account_id) / [`set_account_id(Option<String>)`](crate::operation::get_role_credentials::builders::GetRoleCredentialsFluentBuilder::set_account_id): <p>The identifier for the AWS account that is assigned to the user.</p>
    ///   - [`access_token(impl ::std::convert::Into<String>)`](crate::operation::get_role_credentials::builders::GetRoleCredentialsFluentBuilder::access_token) / [`set_access_token(Option<String>)`](crate::operation::get_role_credentials::builders::GetRoleCredentialsFluentBuilder::set_access_token): <p>The token issued by the <code>CreateToken</code> API call. For more information, see <a href="https://docs.aws.amazon.com/singlesignon/latest/OIDCAPIReference/API_CreateToken.html">CreateToken</a> in the <i>IAM Identity Center OIDC API Reference Guide</i>.</p>
    /// - On success, responds with [`GetRoleCredentialsOutput`](crate::operation::get_role_credentials::GetRoleCredentialsOutput) with field(s):
    ///   - [`role_credentials(Option<RoleCredentials>)`](crate::operation::get_role_credentials::GetRoleCredentialsOutput::role_credentials): <p>The credentials for the role that is assigned to the user.</p>
    /// - On failure, responds with [`SdkError<GetRoleCredentialsError>`](crate::operation::get_role_credentials::GetRoleCredentialsError)
    pub fn get_role_credentials(
        &self,
    ) -> crate::operation::get_role_credentials::builders::GetRoleCredentialsFluentBuilder {
        crate::operation::get_role_credentials::builders::GetRoleCredentialsFluentBuilder::new(
            self.handle.clone(),
        )
    }
}
