// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`CreateOAuth2Token`](crate::operation::create_o_auth2_token::builders::CreateOAuth2TokenFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`token_input(CreateOAuth2TokenRequestBody)`](crate::operation::create_o_auth2_token::builders::CreateOAuth2TokenFluentBuilder::token_input) / [`set_token_input(Option<CreateOAuth2TokenRequestBody>)`](crate::operation::create_o_auth2_token::builders::CreateOAuth2TokenFluentBuilder::set_token_input):<br>required: **true**<br>Flattened token operation inputs The specific operation is determined by grant_type in the request body<br>
    /// - On success, responds with [`CreateOAuth2TokenOutput`](crate::operation::create_o_auth2_token::CreateOAuth2TokenOutput) with field(s):
    ///   - [`token_output(Option<CreateOAuth2TokenResponseBody>)`](crate::operation::create_o_auth2_token::CreateOAuth2TokenOutput::token_output): Flattened token operation outputs The specific response fields depend on the grant_type used in the request
    /// - On failure, responds with [`SdkError<CreateOAuth2TokenError>`](crate::operation::create_o_auth2_token::CreateOAuth2TokenError)
    pub fn create_o_auth2_token(&self) -> crate::operation::create_o_auth2_token::builders::CreateOAuth2TokenFluentBuilder {
        crate::operation::create_o_auth2_token::builders::CreateOAuth2TokenFluentBuilder::new(self.handle.clone())
    }
}
