aws_sdk_workmail/client/delete_personal_access_token.rs
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`DeletePersonalAccessToken`](crate::operation::delete_personal_access_token::builders::DeletePersonalAccessTokenFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`organization_id(impl Into<String>)`](crate::operation::delete_personal_access_token::builders::DeletePersonalAccessTokenFluentBuilder::organization_id) / [`set_organization_id(Option<String>)`](crate::operation::delete_personal_access_token::builders::DeletePersonalAccessTokenFluentBuilder::set_organization_id):<br>required: **true**<br><p>The Organization ID.</p><br>
/// - [`personal_access_token_id(impl Into<String>)`](crate::operation::delete_personal_access_token::builders::DeletePersonalAccessTokenFluentBuilder::personal_access_token_id) / [`set_personal_access_token_id(Option<String>)`](crate::operation::delete_personal_access_token::builders::DeletePersonalAccessTokenFluentBuilder::set_personal_access_token_id):<br>required: **true**<br><p>The Personal Access Token ID.</p><br>
/// - On success, responds with [`DeletePersonalAccessTokenOutput`](crate::operation::delete_personal_access_token::DeletePersonalAccessTokenOutput)
/// - On failure, responds with [`SdkError<DeletePersonalAccessTokenError>`](crate::operation::delete_personal_access_token::DeletePersonalAccessTokenError)
pub fn delete_personal_access_token(&self) -> crate::operation::delete_personal_access_token::builders::DeletePersonalAccessTokenFluentBuilder {
crate::operation::delete_personal_access_token::builders::DeletePersonalAccessTokenFluentBuilder::new(self.handle.clone())
}
}