aws_sdk_taxsettings/client/
batch_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 [`BatchPutTaxRegistration`](crate::operation::batch_put_tax_registration::builders::BatchPutTaxRegistrationFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`account_ids(impl Into<String>)`](crate::operation::batch_put_tax_registration::builders::BatchPutTaxRegistrationFluentBuilder::account_ids) / [`set_account_ids(Option<Vec::<String>>)`](crate::operation::batch_put_tax_registration::builders::BatchPutTaxRegistrationFluentBuilder::set_account_ids):<br>required: **true**<br><p>List of unique account identifiers.</p><br>
7    ///   - [`tax_registration_entry(TaxRegistrationEntry)`](crate::operation::batch_put_tax_registration::builders::BatchPutTaxRegistrationFluentBuilder::tax_registration_entry) / [`set_tax_registration_entry(Option<TaxRegistrationEntry>)`](crate::operation::batch_put_tax_registration::builders::BatchPutTaxRegistrationFluentBuilder::set_tax_registration_entry):<br>required: **true**<br><p>Your TRN information that will be stored to the accounts mentioned in <code>putEntries</code>.</p><br>
8    /// - On success, responds with [`BatchPutTaxRegistrationOutput`](crate::operation::batch_put_tax_registration::BatchPutTaxRegistrationOutput) with field(s):
9    ///   - [`status(Option<TaxRegistrationStatus>)`](crate::operation::batch_put_tax_registration::BatchPutTaxRegistrationOutput::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    ///   - [`errors(Vec::<BatchPutTaxRegistrationError>)`](crate::operation::batch_put_tax_registration::BatchPutTaxRegistrationOutput::errors): <p>List of errors for the accounts the TRN information could not be added or updated to.</p>
11    /// - On failure, responds with [`SdkError<BatchPutTaxRegistrationError>`](crate::operation::batch_put_tax_registration::BatchPutTaxRegistrationError)
12    pub fn batch_put_tax_registration(&self) -> crate::operation::batch_put_tax_registration::builders::BatchPutTaxRegistrationFluentBuilder {
13        crate::operation::batch_put_tax_registration::builders::BatchPutTaxRegistrationFluentBuilder::new(self.handle.clone())
14    }
15}