aws_sdk_sso/client/logout.rs
1// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
2impl super::Client {
3 /// Constructs a fluent builder for the [`Logout`](crate::operation::logout::builders::LogoutFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`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>
7 /// - On success, responds with [`LogoutOutput`](crate::operation::logout::LogoutOutput)
8 /// - On failure, responds with [`SdkError<LogoutError>`](crate::operation::logout::LogoutError)
9 pub fn logout(&self) -> crate::operation::logout::builders::LogoutFluentBuilder {
10 crate::operation::logout::builders::LogoutFluentBuilder::new(self.handle.clone())
11 }
12}