aws_sdk_cognitoidentityprovider/client/global_sign_out.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 [`GlobalSignOut`](crate::operation::global_sign_out::builders::GlobalSignOutFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`access_token(impl Into<String>)`](crate::operation::global_sign_out::builders::GlobalSignOutFluentBuilder::access_token) / [`set_access_token(Option<String>)`](crate::operation::global_sign_out::builders::GlobalSignOutFluentBuilder::set_access_token):<br>required: **true**<br><p>A valid access token that Amazon Cognito issued to the currently signed-in user. Must include a scope claim for <code>aws.cognito.signin.user.admin</code>.</p><br>
7 /// - On success, responds with [`GlobalSignOutOutput`](crate::operation::global_sign_out::GlobalSignOutOutput)
8 /// - On failure, responds with [`SdkError<GlobalSignOutError>`](crate::operation::global_sign_out::GlobalSignOutError)
9 pub fn global_sign_out(&self) -> crate::operation::global_sign_out::builders::GlobalSignOutFluentBuilder {
10 crate::operation::global_sign_out::builders::GlobalSignOutFluentBuilder::new(self.handle.clone())
11 }
12}