TaxSettingsClient#
Index > TaxSettings > TaxSettingsClient
Auto-generated documentation for TaxSettings type annotations stubs module types-boto3-taxsettings.
TaxSettingsClient#
Type annotations and code completion for boto3.client("taxsettings").
 boto3 documentation
# TaxSettingsClient usage example
from boto3.session import Session
from types_boto3_taxsettings.client import TaxSettingsClient
def get_taxsettings_client() -> TaxSettingsClient:
    return Session().client("taxsettings")Exceptions#
boto3 client exceptions are generated in runtime.
This class provides code completion for boto3.client("taxsettings").exceptions structure.
# Exceptions.exceptions usage example
client = boto3.client("taxsettings")
try:
    do_something(client)
except (
    client.exceptions.AccessDeniedException,
    client.exceptions.AttachmentUploadException,
    client.exceptions.CaseCreationLimitExceededException,
    client.exceptions.ClientError,
    client.exceptions.ConflictException,
    client.exceptions.InternalServerException,
    client.exceptions.ResourceNotFoundException,
    client.exceptions.ValidationException,
) as e:
    print(e)# Exceptions.exceptions type checking example
from types_boto3_taxsettings.client import Exceptions
def handle_error(exc: Exceptions.AccessDeniedException) -> None:
    ...Methods#
can_paginate#
Type annotations and code completion for boto3.client("taxsettings").can_paginate method.
 boto3 documentation
# can_paginate method definition
def can_paginate(
    self,
    operation_name: str,
) -> bool:
    ...generate_presigned_url#
Type annotations and code completion for boto3.client("taxsettings").generate_presigned_url method.
 boto3 documentation
# generate_presigned_url method definition
def generate_presigned_url(
    self,
    ClientMethod: str,
    Params: Mapping[str, Any] = ...,
    ExpiresIn: int = 3600,
    HttpMethod: str = ...,
) -> str:
    ...batch_delete_tax_registration#
Deletes tax registration for multiple accounts in batch.
Type annotations and code completion for boto3.client("taxsettings").batch_delete_tax_registration method.
 boto3 documentation
# batch_delete_tax_registration method definition
def batch_delete_tax_registration(
    self,
    *,
    accountIds: Sequence[str],
) -> BatchDeleteTaxRegistrationResponseTypeDef:  # (1)
    ...# batch_delete_tax_registration method usage example with argument unpacking
kwargs: BatchDeleteTaxRegistrationRequestTypeDef = {  # (1)
    "accountIds": ...,
}
parent.batch_delete_tax_registration(**kwargs)batch_get_tax_exemptions#
Get the active tax exemptions for a given list of accounts.
Type annotations and code completion for boto3.client("taxsettings").batch_get_tax_exemptions method.
 boto3 documentation
# batch_get_tax_exemptions method definition
def batch_get_tax_exemptions(
    self,
    *,
    accountIds: Sequence[str],
) -> BatchGetTaxExemptionsResponseTypeDef:  # (1)
    ...# batch_get_tax_exemptions method usage example with argument unpacking
kwargs: BatchGetTaxExemptionsRequestTypeDef = {  # (1)
    "accountIds": ...,
}
parent.batch_get_tax_exemptions(**kwargs)batch_put_tax_registration#
Adds or updates tax registration for multiple accounts in batch.
Type annotations and code completion for boto3.client("taxsettings").batch_put_tax_registration method.
 boto3 documentation
# batch_put_tax_registration method definition
def batch_put_tax_registration(
    self,
    *,
    accountIds: Sequence[str],
    taxRegistrationEntry: TaxRegistrationEntryTypeDef,  # (1)
) -> BatchPutTaxRegistrationResponseTypeDef:  # (2)
    ...# batch_put_tax_registration method usage example with argument unpacking
kwargs: BatchPutTaxRegistrationRequestTypeDef = {  # (1)
    "accountIds": ...,
    "taxRegistrationEntry": ...,
}
parent.batch_put_tax_registration(**kwargs)delete_supplemental_tax_registration#
Deletes a supplemental tax registration for a single account.
Type annotations and code completion for boto3.client("taxsettings").delete_supplemental_tax_registration method.
 boto3 documentation
# delete_supplemental_tax_registration method definition
def delete_supplemental_tax_registration(
    self,
    *,
    authorityId: str,
) -> Dict[str, Any]:
    ...# delete_supplemental_tax_registration method usage example with argument unpacking
kwargs: DeleteSupplementalTaxRegistrationRequestTypeDef = {  # (1)
    "authorityId": ...,
}
parent.delete_supplemental_tax_registration(**kwargs)delete_tax_registration#
Deletes tax registration for a single account.
Type annotations and code completion for boto3.client("taxsettings").delete_tax_registration method.
 boto3 documentation
# delete_tax_registration method definition
def delete_tax_registration(
    self,
    *,
    accountId: str = ...,
) -> Dict[str, Any]:
    ...# delete_tax_registration method usage example with argument unpacking
kwargs: DeleteTaxRegistrationRequestTypeDef = {  # (1)
    "accountId": ...,
}
parent.delete_tax_registration(**kwargs)get_tax_exemption_types#
Get supported tax exemption types.
Type annotations and code completion for boto3.client("taxsettings").get_tax_exemption_types method.
 boto3 documentation
# get_tax_exemption_types method definition
def get_tax_exemption_types(
    self,
) -> GetTaxExemptionTypesResponseTypeDef:  # (1)
    ...get_tax_inheritance#
The get account tax inheritance status.
Type annotations and code completion for boto3.client("taxsettings").get_tax_inheritance method.
 boto3 documentation
# get_tax_inheritance method definition
def get_tax_inheritance(
    self,
) -> GetTaxInheritanceResponseTypeDef:  # (1)
    ...get_tax_registration#
Retrieves tax registration for a single account.
Type annotations and code completion for boto3.client("taxsettings").get_tax_registration method.
 boto3 documentation
# get_tax_registration method definition
def get_tax_registration(
    self,
    *,
    accountId: str = ...,
) -> GetTaxRegistrationResponseTypeDef:  # (1)
    ...# get_tax_registration method usage example with argument unpacking
kwargs: GetTaxRegistrationRequestTypeDef = {  # (1)
    "accountId": ...,
}
parent.get_tax_registration(**kwargs)get_tax_registration_document#
Downloads your tax documents to the Amazon S3 bucket that you specify in your request.
Type annotations and code completion for boto3.client("taxsettings").get_tax_registration_document method.
 boto3 documentation
# get_tax_registration_document method definition
def get_tax_registration_document(
    self,
    *,
    taxDocumentMetadata: TaxDocumentMetadataTypeDef,  # (1)
    destinationS3Location: DestinationS3LocationTypeDef = ...,  # (2)
) -> GetTaxRegistrationDocumentResponseTypeDef:  # (3)
    ...- See TaxDocumentMetadataTypeDef
- See DestinationS3LocationTypeDef
- See GetTaxRegistrationDocumentResponseTypeDef
# get_tax_registration_document method usage example with argument unpacking
kwargs: GetTaxRegistrationDocumentRequestTypeDef = {  # (1)
    "taxDocumentMetadata": ...,
}
parent.get_tax_registration_document(**kwargs)list_supplemental_tax_registrations#
Retrieves supplemental tax registrations for a single account.
Type annotations and code completion for boto3.client("taxsettings").list_supplemental_tax_registrations method.
 boto3 documentation
# list_supplemental_tax_registrations method definition
def list_supplemental_tax_registrations(
    self,
    *,
    maxResults: int = ...,
    nextToken: str = ...,
) -> ListSupplementalTaxRegistrationsResponseTypeDef:  # (1)
    ...# list_supplemental_tax_registrations method usage example with argument unpacking
kwargs: ListSupplementalTaxRegistrationsRequestTypeDef = {  # (1)
    "maxResults": ...,
}
parent.list_supplemental_tax_registrations(**kwargs)list_tax_exemptions#
Retrieves the tax exemption of accounts listed in a consolidated billing family.
Type annotations and code completion for boto3.client("taxsettings").list_tax_exemptions method.
 boto3 documentation
# list_tax_exemptions method definition
def list_tax_exemptions(
    self,
    *,
    maxResults: int = ...,
    nextToken: str = ...,
) -> ListTaxExemptionsResponseTypeDef:  # (1)
    ...# list_tax_exemptions method usage example with argument unpacking
kwargs: ListTaxExemptionsRequestTypeDef = {  # (1)
    "maxResults": ...,
}
parent.list_tax_exemptions(**kwargs)list_tax_registrations#
Retrieves the tax registration of accounts listed in a consolidated billing family.
Type annotations and code completion for boto3.client("taxsettings").list_tax_registrations method.
 boto3 documentation
# list_tax_registrations method definition
def list_tax_registrations(
    self,
    *,
    maxResults: int = ...,
    nextToken: str = ...,
) -> ListTaxRegistrationsResponseTypeDef:  # (1)
    ...# list_tax_registrations method usage example with argument unpacking
kwargs: ListTaxRegistrationsRequestTypeDef = {  # (1)
    "maxResults": ...,
}
parent.list_tax_registrations(**kwargs)put_supplemental_tax_registration#
Stores supplemental tax registration for a single account.
Type annotations and code completion for boto3.client("taxsettings").put_supplemental_tax_registration method.
 boto3 documentation
# put_supplemental_tax_registration method definition
def put_supplemental_tax_registration(
    self,
    *,
    taxRegistrationEntry: SupplementalTaxRegistrationEntryTypeDef,  # (1)
) -> PutSupplementalTaxRegistrationResponseTypeDef:  # (2)
    ...# put_supplemental_tax_registration method usage example with argument unpacking
kwargs: PutSupplementalTaxRegistrationRequestTypeDef = {  # (1)
    "taxRegistrationEntry": ...,
}
parent.put_supplemental_tax_registration(**kwargs)put_tax_exemption#
Adds the tax exemption for a single account or all accounts listed in a consolidated billing family.
Type annotations and code completion for boto3.client("taxsettings").put_tax_exemption method.
 boto3 documentation
# put_tax_exemption method definition
def put_tax_exemption(
    self,
    *,
    accountIds: Sequence[str],
    authority: AuthorityTypeDef,  # (1)
    exemptionCertificate: ExemptionCertificateTypeDef,  # (2)
    exemptionType: str,
) -> PutTaxExemptionResponseTypeDef:  # (3)
    ...# put_tax_exemption method usage example with argument unpacking
kwargs: PutTaxExemptionRequestTypeDef = {  # (1)
    "accountIds": ...,
    "authority": ...,
    "exemptionCertificate": ...,
    "exemptionType": ...,
}
parent.put_tax_exemption(**kwargs)put_tax_inheritance#
The updated tax inheritance status.
Type annotations and code completion for boto3.client("taxsettings").put_tax_inheritance method.
 boto3 documentation
# put_tax_inheritance method definition
def put_tax_inheritance(
    self,
    *,
    heritageStatus: HeritageStatusType = ...,  # (1)
) -> Dict[str, Any]:
    ...# put_tax_inheritance method usage example with argument unpacking
kwargs: PutTaxInheritanceRequestTypeDef = {  # (1)
    "heritageStatus": ...,
}
parent.put_tax_inheritance(**kwargs)put_tax_registration#
Adds or updates tax registration for a single account.
Type annotations and code completion for boto3.client("taxsettings").put_tax_registration method.
 boto3 documentation
# put_tax_registration method definition
def put_tax_registration(
    self,
    *,
    taxRegistrationEntry: TaxRegistrationEntryTypeDef,  # (1)
    accountId: str = ...,
) -> PutTaxRegistrationResponseTypeDef:  # (2)
    ...# put_tax_registration method usage example with argument unpacking
kwargs: PutTaxRegistrationRequestTypeDef = {  # (1)
    "taxRegistrationEntry": ...,
}
parent.put_tax_registration(**kwargs)get_paginator#
Type annotations and code completion for boto3.client("taxsettings").get_paginator method with overloads.
- client.get_paginator("list_supplemental_tax_registrations")-> ListSupplementalTaxRegistrationsPaginator
- client.get_paginator("list_tax_exemptions")-> ListTaxExemptionsPaginator
- client.get_paginator("list_tax_registrations")-> ListTaxRegistrationsPaginator