aws_sdk_sso/client/logout.rs
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`Logout`](crate::operation::logout::builders::LogoutFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`access_token(impl Into<String>)`](crate::operation::logout::builders::LogoutFluentBuilder::access_token) / [`set_access_token(Option<String>)`](crate::operation::logout::builders::LogoutFluentBuilder::set_access_token):<br>required: **true**<br><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><br>
/// - On success, responds with [`LogoutOutput`](crate::operation::logout::LogoutOutput)
/// - On failure, responds with [`SdkError<LogoutError>`](crate::operation::logout::LogoutError)
pub fn logout(&self) -> crate::operation::logout::builders::LogoutFluentBuilder {
crate::operation::logout::builders::LogoutFluentBuilder::new(self.handle.clone())
}
}