aws_sdk_amplifybackend/client/
delete_token.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 [`DeleteToken`](crate::operation::delete_token::builders::DeleteTokenFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`app_id(impl Into<String>)`](crate::operation::delete_token::builders::DeleteTokenFluentBuilder::app_id) / [`set_app_id(Option<String>)`](crate::operation::delete_token::builders::DeleteTokenFluentBuilder::set_app_id):<br>required: **true**<br><p>The app ID.</p><br>
7    ///   - [`session_id(impl Into<String>)`](crate::operation::delete_token::builders::DeleteTokenFluentBuilder::session_id) / [`set_session_id(Option<String>)`](crate::operation::delete_token::builders::DeleteTokenFluentBuilder::set_session_id):<br>required: **true**<br><p>The session ID.</p><br>
8    /// - On success, responds with [`DeleteTokenOutput`](crate::operation::delete_token::DeleteTokenOutput) with field(s):
9    ///   - [`is_success(Option<bool>)`](crate::operation::delete_token::DeleteTokenOutput::is_success): <p>Indicates whether the request succeeded or failed.</p>
10    /// - On failure, responds with [`SdkError<DeleteTokenError>`](crate::operation::delete_token::DeleteTokenError)
11    pub fn delete_token(&self) -> crate::operation::delete_token::builders::DeleteTokenFluentBuilder {
12        crate::operation::delete_token::builders::DeleteTokenFluentBuilder::new(self.handle.clone())
13    }
14}