aws_sdk_auditmanager/client/deregister_account.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 [`DeregisterAccount`](crate::operation::deregister_account::builders::DeregisterAccountFluentBuilder) operation.
4 ///
5 /// - The fluent builder takes no input, just [`send`](crate::operation::deregister_account::builders::DeregisterAccountFluentBuilder::send) it.
6 /// - On success, responds with [`DeregisterAccountOutput`](crate::operation::deregister_account::DeregisterAccountOutput) with field(s):
7 /// - [`status(Option<AccountStatus>)`](crate::operation::deregister_account::DeregisterAccountOutput::status): <p>The registration status of the account.</p>
8 /// - On failure, responds with [`SdkError<DeregisterAccountError>`](crate::operation::deregister_account::DeregisterAccountError)
9 pub fn deregister_account(&self) -> crate::operation::deregister_account::builders::DeregisterAccountFluentBuilder {
10 crate::operation::deregister_account::builders::DeregisterAccountFluentBuilder::new(self.handle.clone())
11 }
12}