aws_sdk_taxsettings/client/put_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 [`PutTaxRegistration`](crate::operation::put_tax_registration::builders::PutTaxRegistrationFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`account_id(impl Into<String>)`](crate::operation::put_tax_registration::builders::PutTaxRegistrationFluentBuilder::account_id) / [`set_account_id(Option<String>)`](crate::operation::put_tax_registration::builders::PutTaxRegistrationFluentBuilder::set_account_id):<br>required: **false**<br><p>Your unique account identifier.</p><br>
7 /// - [`tax_registration_entry(TaxRegistrationEntry)`](crate::operation::put_tax_registration::builders::PutTaxRegistrationFluentBuilder::tax_registration_entry) / [`set_tax_registration_entry(Option<TaxRegistrationEntry>)`](crate::operation::put_tax_registration::builders::PutTaxRegistrationFluentBuilder::set_tax_registration_entry):<br>required: **true**<br><p>Your TRN information that will be stored to the account mentioned in <code>accountId</code>.</p><br>
8 /// - On success, responds with [`PutTaxRegistrationOutput`](crate::operation::put_tax_registration::PutTaxRegistrationOutput) with field(s):
9 /// - [`status(Option<TaxRegistrationStatus>)`](crate::operation::put_tax_registration::PutTaxRegistrationOutput::status): <p>The status of your TRN stored in the system after processing. Based on the validation occurring on the TRN, the status can be <code>Verified</code>, <code>Pending</code> or <code>Rejected</code>.</p>
10 /// - On failure, responds with [`SdkError<PutTaxRegistrationError>`](crate::operation::put_tax_registration::PutTaxRegistrationError)
11 pub fn put_tax_registration(&self) -> crate::operation::put_tax_registration::builders::PutTaxRegistrationFluentBuilder {
12 crate::operation::put_tax_registration::builders::PutTaxRegistrationFluentBuilder::new(self.handle.clone())
13 }
14}