aws_sdk_taxsettings/client/
delete_tax_registration.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 [`DeleteTaxRegistration`](crate::operation::delete_tax_registration::builders::DeleteTaxRegistrationFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`account_id(impl Into<String>)`](crate::operation::delete_tax_registration::builders::DeleteTaxRegistrationFluentBuilder::account_id) / [`set_account_id(Option<String>)`](crate::operation::delete_tax_registration::builders::DeleteTaxRegistrationFluentBuilder::set_account_id):<br>required: **false**<br><p>Unique account identifier for the TRN information that needs to be deleted. If this isn't passed, the account ID corresponding to the credentials of the API caller will be used for this parameter.</p><br>
7    /// - On success, responds with [`DeleteTaxRegistrationOutput`](crate::operation::delete_tax_registration::DeleteTaxRegistrationOutput)
8    /// - On failure, responds with [`SdkError<DeleteTaxRegistrationError>`](crate::operation::delete_tax_registration::DeleteTaxRegistrationError)
9    pub fn delete_tax_registration(&self) -> crate::operation::delete_tax_registration::builders::DeleteTaxRegistrationFluentBuilder {
10        crate::operation::delete_tax_registration::builders::DeleteTaxRegistrationFluentBuilder::new(self.handle.clone())
11    }
12}