1
2
3
4
5
6
7
8
9
10
11
12
13
14
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`RevokeToken`](crate::operation::revoke_token::builders::RevokeTokenFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`token(impl Into<String>)`](crate::operation::revoke_token::builders::RevokeTokenFluentBuilder::token) / [`set_token(Option<String>)`](crate::operation::revoke_token::builders::RevokeTokenFluentBuilder::set_token):<br>required: **true**<br><p>The refresh token that you want to revoke.</p><br>
    ///   - [`client_id(impl Into<String>)`](crate::operation::revoke_token::builders::RevokeTokenFluentBuilder::client_id) / [`set_client_id(Option<String>)`](crate::operation::revoke_token::builders::RevokeTokenFluentBuilder::set_client_id):<br>required: **true**<br><p>The client ID for the token that you want to revoke.</p><br>
    ///   - [`client_secret(impl Into<String>)`](crate::operation::revoke_token::builders::RevokeTokenFluentBuilder::client_secret) / [`set_client_secret(Option<String>)`](crate::operation::revoke_token::builders::RevokeTokenFluentBuilder::set_client_secret):<br>required: **false**<br><p>The secret for the client ID. This is required only if the client ID has a secret.</p><br>
    /// - On success, responds with [`RevokeTokenOutput`](crate::operation::revoke_token::RevokeTokenOutput)
    /// - On failure, responds with [`SdkError<RevokeTokenError>`](crate::operation::revoke_token::RevokeTokenError)
    pub fn revoke_token(&self) -> crate::operation::revoke_token::builders::RevokeTokenFluentBuilder {
        crate::operation::revoke_token::builders::RevokeTokenFluentBuilder::new(self.handle.clone())
    }
}