diff --git a/.changes/1.35.54.json b/.changes/1.35.54.json new file mode 100644 index 0000000000..a9a810894b --- /dev/null +++ b/.changes/1.35.54.json @@ -0,0 +1,22 @@ +[ + { + "category": "``bedrock-agent``", + "description": "Amazon Bedrock Knowledge Bases now supports using application inference profiles to increase throughput and improve resilience.", + "type": "api-change" + }, + { + "category": "``docdb-elastic``", + "description": "Amazon DocumentDB Elastic Clusters adds support for pending maintenance actions feature with APIs GetPendingMaintenanceAction, ListPendingMaintenanceActions and ApplyPendingMaintenanceAction", + "type": "api-change" + }, + { + "category": "``logs``", + "description": "This release introduces an improvement in PutLogEvents", + "type": "api-change" + }, + { + "category": "``taxsettings``", + "description": "Add support for supplemental tax registrations via these new APIs: PutSupplementalTaxRegistration, ListSupplementalTaxRegistrations, and DeleteSupplementalTaxRegistration.", + "type": "api-change" + } +] \ No newline at end of file diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 9e285de489..6c580cc658 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -2,6 +2,15 @@ CHANGELOG ========= +1.35.54 +======= + +* api-change:``bedrock-agent``: Amazon Bedrock Knowledge Bases now supports using application inference profiles to increase throughput and improve resilience. +* api-change:``docdb-elastic``: Amazon DocumentDB Elastic Clusters adds support for pending maintenance actions feature with APIs GetPendingMaintenanceAction, ListPendingMaintenanceActions and ApplyPendingMaintenanceAction +* api-change:``logs``: This release introduces an improvement in PutLogEvents +* api-change:``taxsettings``: Add support for supplemental tax registrations via these new APIs: PutSupplementalTaxRegistration, ListSupplementalTaxRegistrations, and DeleteSupplementalTaxRegistration. + + 1.35.53 ======= diff --git a/botocore/__init__.py b/botocore/__init__.py index ef4a32cdcb..7d30fabaf8 100644 --- a/botocore/__init__.py +++ b/botocore/__init__.py @@ -16,7 +16,7 @@ import os import re -__version__ = '1.35.53' +__version__ = '1.35.54' class NullHandler(logging.Handler): diff --git a/botocore/data/bedrock-agent/2023-06-05/service-2.json b/botocore/data/bedrock-agent/2023-06-05/service-2.json index 89a8d37bb5..c819c6330a 100644 --- a/botocore/data/bedrock-agent/2023-06-05/service-2.json +++ b/botocore/data/bedrock-agent/2023-06-05/service-2.json @@ -5,11 +5,13 @@ "endpointPrefix":"bedrock-agent", "jsonVersion":"1.1", "protocol":"rest-json", + "protocols":["rest-json"], "serviceFullName":"Agents for Amazon Bedrock", "serviceId":"Bedrock Agent", "signatureVersion":"v4", "signingName":"bedrock", - "uid":"bedrock-agent-2023-06-05" + "uid":"bedrock-agent-2023-06-05", + "auth":["aws.auth#sigv4"] }, "operations":{ "AssociateAgentKnowledgeBase":{ @@ -1996,7 +1998,7 @@ "type":"string", "max":2048, "min":20, - "pattern":"^(arn:aws(-[^:]+)?:bedrock:[a-z0-9-]{1,20}:(([0-9]{12}:custom-model/[a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}/[a-z0-9]{12})|(:foundation-model/[a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}([.:]?[a-z0-9-]{1,63}))|([0-9]{12}:provisioned-model/[a-z0-9]{12})))|([a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}([.:]?[a-z0-9-]{1,63}))|(([0-9a-zA-Z][_-]?)+)$" + "pattern":"^(arn:aws(-[^:]{1,12})?:(bedrock|sagemaker):[a-z0-9-]{1,20}:([0-9]{12})?:([a-z-]+/)?)?([a-zA-Z0-9.-]{1,63}){0,2}(([:][a-z0-9-]{1,63}){0,2})?(/[a-z0-9]{1,12})?$" }, "BedrockEmbeddingModelConfiguration":{ "type":"structure", @@ -2027,7 +2029,7 @@ "type":"string", "max":2048, "min":1, - "pattern":"^arn:aws(-[^:]+)?:bedrock:[a-z0-9-]{1,20}::foundation-model/([a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}([.]?[a-z0-9-]{1,63})([:][a-z0-9-]{1,63}){0,2})|(arn:aws(|-us-gov|-cn|-iso|-iso-b):bedrock:(|[0-9a-z-]{1,20}):(|[0-9]{12}):inference-profile/[a-zA-Z0-9-:.]+)$" + "pattern":"^(arn:aws(-[^:]{1,12})?:(bedrock):[a-z0-9-]{1,20}:([0-9]{12})?:([a-z-]+/)?)?([a-zA-Z0-9.-]{1,63}){0,2}(([:][a-z0-9-]{1,63}){0,2})?(/[a-z0-9]{1,12})?$" }, "Boolean":{ "type":"boolean", @@ -8170,7 +8172,7 @@ "members":{ "embeddingModelArn":{ "shape":"BedrockEmbeddingModelArn", - "documentation":"
The Amazon Resource Name (ARN) of the model used to create vector embeddings for the knowledge base.
" + "documentation":"The Amazon Resource Name (ARN) of the model or inference profile used to create vector embeddings for the knowledge base.
" }, "embeddingModelConfiguration":{ "shape":"EmbeddingModelConfiguration", diff --git a/botocore/data/docdb-elastic/2022-11-28/paginators-1.json b/botocore/data/docdb-elastic/2022-11-28/paginators-1.json index db11a76bfb..bed516d060 100644 --- a/botocore/data/docdb-elastic/2022-11-28/paginators-1.json +++ b/botocore/data/docdb-elastic/2022-11-28/paginators-1.json @@ -11,6 +11,12 @@ "output_token": "nextToken", "limit_key": "maxResults", "result_key": "clusters" + }, + "ListPendingMaintenanceActions": { + "input_token": "nextToken", + "output_token": "nextToken", + "limit_key": "maxResults", + "result_key": "resourcePendingMaintenanceActions" } } } diff --git a/botocore/data/docdb-elastic/2022-11-28/service-2.json b/botocore/data/docdb-elastic/2022-11-28/service-2.json index ef72cb5b36..9aaad56f6f 100644 --- a/botocore/data/docdb-elastic/2022-11-28/service-2.json +++ b/botocore/data/docdb-elastic/2022-11-28/service-2.json @@ -5,14 +5,36 @@ "endpointPrefix":"docdb-elastic", "jsonVersion":"1.1", "protocol":"rest-json", + "protocols":["rest-json"], "serviceAbbreviation":"DocDB Elastic", "serviceFullName":"Amazon DocumentDB Elastic Clusters", "serviceId":"DocDB Elastic", "signatureVersion":"v4", "signingName":"docdb-elastic", - "uid":"docdb-elastic-2022-11-28" + "uid":"docdb-elastic-2022-11-28", + "auth":["aws.auth#sigv4"] }, "operations":{ + "ApplyPendingMaintenanceAction":{ + "name":"ApplyPendingMaintenanceAction", + "http":{ + "method":"POST", + "requestUri":"/pending-action", + "responseCode":200 + }, + "input":{"shape":"ApplyPendingMaintenanceActionInput"}, + "output":{"shape":"ApplyPendingMaintenanceActionOutput"}, + "errors":[ + {"shape":"ThrottlingException"}, + {"shape":"ValidationException"}, + {"shape":"ConflictException"}, + {"shape":"InternalServerException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"AccessDeniedException"} + ], + "documentation":"The type of pending maintenance action to be applied to the resource.
", + "idempotent":true + }, "CopyClusterSnapshot":{ "name":"CopyClusterSnapshot", "http":{ @@ -151,6 +173,25 @@ ], "documentation":"Returns information about a specific elastic cluster snapshot
" }, + "GetPendingMaintenanceAction":{ + "name":"GetPendingMaintenanceAction", + "http":{ + "method":"GET", + "requestUri":"/pending-action/{resourceArn}", + "responseCode":200 + }, + "input":{"shape":"GetPendingMaintenanceActionInput"}, + "output":{"shape":"GetPendingMaintenanceActionOutput"}, + "errors":[ + {"shape":"ThrottlingException"}, + {"shape":"ValidationException"}, + {"shape":"ConflictException"}, + {"shape":"InternalServerException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"AccessDeniedException"} + ], + "documentation":"Retrieves all maintenance actions that are pending.
" + }, "ListClusterSnapshots":{ "name":"ListClusterSnapshots", "http":{ @@ -185,6 +226,23 @@ ], "documentation":"Returns information about provisioned Amazon DocumentDB elastic clusters.
" }, + "ListPendingMaintenanceActions":{ + "name":"ListPendingMaintenanceActions", + "http":{ + "method":"GET", + "requestUri":"/pending-actions", + "responseCode":200 + }, + "input":{"shape":"ListPendingMaintenanceActionsInput"}, + "output":{"shape":"ListPendingMaintenanceActionsOutput"}, + "errors":[ + {"shape":"ThrottlingException"}, + {"shape":"ValidationException"}, + {"shape":"InternalServerException"}, + {"shape":"AccessDeniedException"} + ], + "documentation":"Retrieves a list of all maintenance actions that are pending.
" + }, "ListTagsForResource":{ "name":"ListTagsForResource", "http":{ @@ -334,6 +392,42 @@ }, "exception":true }, + "ApplyPendingMaintenanceActionInput":{ + "type":"structure", + "required":[ + "applyAction", + "optInType", + "resourceArn" + ], + "members":{ + "applyAction":{ + "shape":"InputString", + "documentation":"The pending maintenance action to apply to the resource.
Valid actions are:
ENGINE_UPDATE
ENGINE_UPGRADE
SECURITY_UPDATE
OS_UPDATE
MASTER_USER_PASSWORD_UPDATE
A specific date to apply the pending maintenance action. Required if opt-in-type is APPLY_ON
. Format: yyyy/MM/dd HH:mm-yyyy/MM/dd HH:mm
A value that specifies the type of opt-in request, or undoes an opt-in request. An opt-in request of type IMMEDIATE
can't be undone.
The Amazon DocumentDB Amazon Resource Name (ARN) of the resource to which the pending maintenance action applies.
" + } + } + }, + "ApplyPendingMaintenanceActionOutput":{ + "type":"structure", + "required":["resourcePendingMaintenanceAction"], + "members":{ + "resourcePendingMaintenanceAction":{ + "shape":"ResourcePendingMaintenanceAction", + "documentation":"The output of the pending maintenance action being applied.
" + } + } + }, "Arn":{ "type":"string", "max":1011, @@ -841,6 +935,33 @@ } } }, + "GetPendingMaintenanceActionInput":{ + "type":"structure", + "required":["resourceArn"], + "members":{ + "resourceArn":{ + "shape":"InputString", + "documentation":"Retrieves pending maintenance actions for a specific Amazon Resource Name (ARN).
", + "location":"uri", + "locationName":"resourceArn" + } + } + }, + "GetPendingMaintenanceActionOutput":{ + "type":"structure", + "required":["resourcePendingMaintenanceAction"], + "members":{ + "resourcePendingMaintenanceAction":{ + "shape":"ResourcePendingMaintenanceAction", + "documentation":"Provides information about a pending maintenance action for a resource.
" + } + } + }, + "InputString":{ + "type":"string", + "max":256, + "min":1 + }, "Integer":{ "type":"integer", "box":true @@ -941,6 +1062,43 @@ } } }, + "ListPendingMaintenanceActionsInput":{ + "type":"structure", + "members":{ + "maxResults":{ + "shape":"ListPendingMaintenanceActionsInputMaxResultsInteger", + "documentation":"The maximum number of results to include in the response. If more records exist than the specified maxResults
value, a pagination token (marker) is included in the response so that the remaining results can be retrieved.
An optional pagination token provided by a previous request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by maxResults
.
An optional pagination token provided by a previous request. If this parameter is displayed, the responses will include only records beyond the marker, up to the value specified by maxResults
.
Provides information about a pending maintenance action for a resource.
" + } + } + }, "ListTagsForResourceRequest":{ "type":"structure", "required":["resourceArn"], @@ -962,14 +1120,58 @@ } } }, + "OptInType":{ + "type":"string", + "enum":[ + "IMMEDIATE", + "NEXT_MAINTENANCE", + "APPLY_ON", + "UNDO_OPT_IN" + ] + }, "PaginationToken":{ "type":"string", - "documentation":"Token or cursor used in paginated operations.
When this value is provided as operation input, the service returns results from where the previous response left off. When this value is present in operation output, it indicates that there are more results to retrieve.
This should be opaque to not expose implementation details and potentially versioned to allow evolution of pagination strategy.
" + "documentation":"Token or cursor used in paginated operations. When this value is provided as operation input, the service returns results from where the previous response left off. When this value is present in operation output, it indicates that there are more results to retrieve. This should be opaque to not expose implementation details and potentially versioned to allow evolution of pagination strategy.
"
},
"Password":{
"type":"string",
"sensitive":true
},
+ "PendingMaintenanceActionDetails":{
+ "type":"structure",
+ "required":["action"],
+ "members":{
+ "action":{
+ "shape":"String",
+ "documentation":"Displays the specific action of a pending maintenance action.
" + }, + "autoAppliedAfterDate":{ + "shape":"String", + "documentation":"Displays the date of the maintenance window when the action is applied. The maintenance action is applied to the resource during its first maintenance window after this date. If this date is specified, any NEXT_MAINTENANCE
optInType
requests are ignored.
Displays the effective date when the pending maintenance action is applied to the resource.
" + }, + "description":{ + "shape":"String", + "documentation":"Displays a description providing more detail about the maintenance action.
" + }, + "forcedApplyDate":{ + "shape":"String", + "documentation":"Displays the date when the maintenance action is automatically applied. The maintenance action is applied to the resource on this date regardless of the maintenance window for the resource. If this date is specified, any IMMEDIATE
optInType
requests are ignored.
Displays the type of optInType
request that has been received for the resource.
Retrieves the details of maintenance actions that are pending.
" + }, + "PendingMaintenanceActionDetailsList":{ + "type":"list", + "member":{"shape":"PendingMaintenanceActionDetails"} + }, "ResourceNotFoundException":{ "type":"structure", "required":[ @@ -998,6 +1200,24 @@ }, "exception":true }, + "ResourcePendingMaintenanceAction":{ + "type":"structure", + "members":{ + "pendingMaintenanceActionDetails":{ + "shape":"PendingMaintenanceActionDetailsList", + "documentation":"Provides information about a pending maintenance action for a resource.
" + }, + "resourceArn":{ + "shape":"String", + "documentation":"The Amazon DocumentDB Amazon Resource Name (ARN) of the resource to which the pending maintenance action applies.
" + } + }, + "documentation":"Provides information about a pending maintenance action for a resource.
" + }, + "ResourcePendingMaintenanceActionList":{ + "type":"list", + "member":{"shape":"ResourcePendingMaintenanceAction"} + }, "RestoreClusterFromSnapshotInput":{ "type":"structure", "required":[ @@ -1138,7 +1358,9 @@ "COPYING", "STARTING", "STOPPING", - "STOPPED" + "STOPPED", + "MAINTENANCE", + "INACCESSIBLE_ENCRYPTION_CREDENTIALS_RECOVERABLE" ] }, "StopClusterInput":{ diff --git a/botocore/data/endpoints.json b/botocore/data/endpoints.json index 59fedef47b..7aaaa1b1ce 100644 --- a/botocore/data/endpoints.json +++ b/botocore/data/endpoints.json @@ -16192,6 +16192,7 @@ "hostname" : "rekognition-fips.ca-central-1.amazonaws.com" }, "eu-central-1" : { }, + "eu-south-2" : { }, "eu-west-1" : { }, "eu-west-2" : { }, "il-central-1" : { }, diff --git a/botocore/data/logs/2014-03-28/service-2.json b/botocore/data/logs/2014-03-28/service-2.json index a7d5a36749..0dfaba30f7 100644 --- a/botocore/data/logs/2014-03-28/service-2.json +++ b/botocore/data/logs/2014-03-28/service-2.json @@ -2663,7 +2663,7 @@ "type":"map", "key":{"shape":"EntityKeyAttributesKey"}, "value":{"shape":"EntityKeyAttributesValue"}, - "max":3, + "max":4, "min":2 }, "EntityKeyAttributesKey":{ diff --git a/botocore/data/taxsettings/2018-05-10/paginators-1.json b/botocore/data/taxsettings/2018-05-10/paginators-1.json index 3944b04ceb..91fc65c549 100644 --- a/botocore/data/taxsettings/2018-05-10/paginators-1.json +++ b/botocore/data/taxsettings/2018-05-10/paginators-1.json @@ -5,6 +5,12 @@ "output_token": "nextToken", "limit_key": "maxResults", "result_key": "accountDetails" + }, + "ListSupplementalTaxRegistrations": { + "input_token": "nextToken", + "output_token": "nextToken", + "limit_key": "maxResults", + "result_key": "taxRegistrations" } } } diff --git a/botocore/data/taxsettings/2018-05-10/service-2.json b/botocore/data/taxsettings/2018-05-10/service-2.json index 31e0ca5a69..9320741855 100644 --- a/botocore/data/taxsettings/2018-05-10/service-2.json +++ b/botocore/data/taxsettings/2018-05-10/service-2.json @@ -44,7 +44,24 @@ {"shape":"ConflictException"}, {"shape":"InternalServerException"} ], - "documentation":"Adds or updates tax registration for multiple accounts in batch. This can be used to add or update tax registrations for up to five accounts in one batch. You can't set a TRN if there's a pending TRN. You'll need to delete the pending TRN first.
To call this API operation for specific countries, see the following country-specific requirements.
Bangladesh
You must specify the tax registration certificate document in the taxRegistrationDocuments
field of the VerificationDetails
object.
Brazil
You must complete the tax registration process in the Payment preferences page in the Billing and Cost Management console. After your TRN and billing address are verified, you can call this API operation.
For Amazon Web Services accounts created through Organizations, you can call this API operation when you don't have a billing address.
Georgia
The valid personType
values are Physical Person
and Business
.
Kenya
You must specify the personType
in the kenyaAdditionalInfo
field of the additionalTaxInformation
object.
If the personType
is Physical Person
, you must specify the tax registration certificate document in the taxRegistrationDocuments
field of the VerificationDetails
object.
Malaysia
If you use this operation to set a tax registration number (TRN) in Malaysia, only resellers with a valid sales and service tax (SST) number are required to provide tax registration information.
By using this API operation to set a TRN in Malaysia, Amazon Web Services will regard you as self-declaring that you're an authorized business reseller registered with the Royal Malaysia Customs Department (RMCD) and have a valid SST number.
Amazon Web Services reserves the right to seek additional information and/or take other actions to support your self-declaration as appropriate.
If you're not a reseller of Amazon Web Services, we don't recommend that you use this operation to set the TRN in Malaysia.
Only use this API operation to upload the TRNs for accounts through which you're reselling Amazon Web Services.
Amazon Web Services is currently registered under the following service tax codes. You must include at least one of the service tax codes in the service tax code strings to declare yourself as an authorized registered business reseller.
Taxable service and service tax codes:
Consultancy - 9907061674
Training or coaching service - 9907071685
IT service - 9907101676
Digital services and electronic medium - 9907121690
Nepal
The sector valid values are Business
and Individual
.
Saudi Arabia
For address
, you must specify addressLine3
.
South Korea
You must specify the certifiedEmailId
and legalName
in the TaxRegistrationEntry
object. Use Korean characters for legalName
.
You must specify the businessRepresentativeName
, itemOfBusiness
, and lineOfBusiness
in the southKoreaAdditionalInfo
field of the additionalTaxInformation
object. Use Korean characters for these fields.
You must specify the tax registration certificate document in the taxRegistrationDocuments
field of the VerificationDetails
object.
For the address
object, use Korean characters for addressLine1
, addressLine2
city
, postalCode
, and stateOrRegion
.
Spain
You must specify the registrationType
in the spainAdditionalInfo
field of the additionalTaxInformation
object.
If the registrationType
is Local
, you must specify the tax registration certificate document in the taxRegistrationDocuments
field of the VerificationDetails
object.
Turkey
You must specify the sector
in the taxRegistrationEntry
object.
If your sector
is Business
, Individual
, or Government
:
Specify the taxOffice
. If your sector
is Individual
, don't enter this value.
(Optional) Specify the kepEmailId
. If your sector
is Individual
, don't enter this value.
Note: In the Tax Settings page of the Billing console, Government
appears as Public institutions
If your sector
is Business
and you're subject to KDV tax, you must specify your industry in the industries
field.
For address
, you must specify districtOrCounty
.
Ukraine
The sector valid values are Business
and Individual
.
Adds or updates tax registration for multiple accounts in batch. This can be used to add or update tax registrations for up to five accounts in one batch. You can't set a TRN if there's a pending TRN. You'll need to delete the pending TRN first.
To call this API operation for specific countries, see the following country-specific requirements.
Bangladesh
You must specify the tax registration certificate document in the taxRegistrationDocuments
field of the VerificationDetails
object.
Brazil
You must complete the tax registration process in the Payment preferences page in the Billing and Cost Management console. After your TRN and billing address are verified, you can call this API operation.
For Amazon Web Services accounts created through Organizations, you can call this API operation when you don't have a billing address.
Georgia
The valid personType
values are Physical Person
and Business
.
Kenya
You must specify the personType
in the kenyaAdditionalInfo
field of the additionalTaxInformation
object.
If the personType
is Physical Person
, you must specify the tax registration certificate document in the taxRegistrationDocuments
field of the VerificationDetails
object.
Malaysia
The sector valid values are Business
and Individual
.
RegistrationType
valid values are NRIC
for individual, and TIN and sales and service tax (SST) for Business.
For individual, you can specify the taxInformationNumber
in MalaysiaAdditionalInfo
with NRIC type, and a valid MyKad
or NRIC number.
For business, you must specify a businessRegistrationNumber
in MalaysiaAdditionalInfo
with a TIN type and tax identification number.
For business resellers, you must specify a businessRegistrationNumber
and taxInformationNumber
in MalaysiaAdditionalInfo
with a sales and service tax (SST) type and a valid SST number.
For business resellers with service codes, you must specify businessRegistrationNumber
, taxInformationNumber
, and distinct serviceTaxCodes
in MalaysiaAdditionalInfo
with a SST type and valid sales and service tax (SST) number. By using this API operation, Amazon Web Services registers your self-declaration that you’re an authorized business reseller registered with the Royal Malaysia Customs Department (RMCD), and have a valid SST number.
Amazon Web Services reserves the right to seek additional information and/or take other actions to support your self-declaration as appropriate.
Amazon Web Services is currently registered under the following service tax codes. You must include at least one of the service tax codes in the service tax code strings to declare yourself as an authorized registered business reseller.
Taxable service and service tax codes:
Consultancy - 9907061674
Training or coaching service - 9907071685
IT service - 9907101676
Digital services and electronic medium - 9907121690
Nepal
The sector valid values are Business
and Individual
.
Saudi Arabia
For address
, you must specify addressLine3
.
South Korea
You must specify the certifiedEmailId
and legalName
in the TaxRegistrationEntry
object. Use Korean characters for legalName
.
You must specify the businessRepresentativeName
, itemOfBusiness
, and lineOfBusiness
in the southKoreaAdditionalInfo
field of the additionalTaxInformation
object. Use Korean characters for these fields.
You must specify the tax registration certificate document in the taxRegistrationDocuments
field of the VerificationDetails
object.
For the address
object, use Korean characters for addressLine1
, addressLine2
city
, postalCode
, and stateOrRegion
.
Spain
You must specify the registrationType
in the spainAdditionalInfo
field of the additionalTaxInformation
object.
If the registrationType
is Local
, you must specify the tax registration certificate document in the taxRegistrationDocuments
field of the VerificationDetails
object.
Turkey
You must specify the sector
in the taxRegistrationEntry
object.
If your sector
is Business
, Individual
, or Government
:
Specify the taxOffice
. If your sector
is Individual
, don't enter this value.
(Optional) Specify the kepEmailId
. If your sector
is Individual
, don't enter this value.
Note: In the Tax Settings page of the Billing console, Government
appears as Public institutions
If your sector
is Business
and you're subject to KDV tax, you must specify your industry in the industries
field.
For address
, you must specify districtOrCounty
.
Ukraine
The sector valid values are Business
and Individual
.
Deletes a supplemental tax registration for a single account.
" }, "DeleteTaxRegistration":{ "name":"DeleteTaxRegistration", @@ -94,6 +111,22 @@ ], "documentation":"Downloads your tax documents to the Amazon S3 bucket that you specify in your request.
" }, + "ListSupplementalTaxRegistrations":{ + "name":"ListSupplementalTaxRegistrations", + "http":{ + "method":"POST", + "requestUri":"/ListSupplementalTaxRegistrations", + "responseCode":200 + }, + "input":{"shape":"ListSupplementalTaxRegistrationsRequest"}, + "output":{"shape":"ListSupplementalTaxRegistrationsResponse"}, + "errors":[ + {"shape":"ValidationException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"InternalServerException"} + ], + "documentation":"Retrieves supplemental tax registrations for a single account.
" + }, "ListTaxRegistrations":{ "name":"ListTaxRegistrations", "http":{ @@ -110,6 +143,22 @@ ], "documentation":"Retrieves the tax registration of accounts listed in a consolidated billing family. This can be used to retrieve up to 100 accounts' tax registrations in one call (default 50).
" }, + "PutSupplementalTaxRegistration":{ + "name":"PutSupplementalTaxRegistration", + "http":{ + "method":"POST", + "requestUri":"/PutSupplementalTaxRegistration", + "responseCode":200 + }, + "input":{"shape":"PutSupplementalTaxRegistrationRequest"}, + "output":{"shape":"PutSupplementalTaxRegistrationResponse"}, + "errors":[ + {"shape":"ValidationException"}, + {"shape":"ConflictException"}, + {"shape":"InternalServerException"} + ], + "documentation":"Stores supplemental tax registration for a single account.
" + }, "PutTaxRegistration":{ "name":"PutTaxRegistration", "http":{ @@ -124,7 +173,7 @@ {"shape":"ConflictException"}, {"shape":"InternalServerException"} ], - "documentation":"Adds or updates tax registration for a single account. You can't set a TRN if there's a pending TRN. You'll need to delete the pending TRN first.
To call this API operation for specific countries, see the following country-specific requirements.
Bangladesh
You must specify the tax registration certificate document in the taxRegistrationDocuments
field of the VerificationDetails
object.
Brazil
You must complete the tax registration process in the Payment preferences page in the Billing and Cost Management console. After your TRN and billing address are verified, you can call this API operation.
For Amazon Web Services accounts created through Organizations, you can call this API operation when you don't have a billing address.
Georgia
The valid personType
values are Physical Person
and Business
.
Kenya
You must specify the personType
in the kenyaAdditionalInfo
field of the additionalTaxInformation
object.
If the personType
is Physical Person
, you must specify the tax registration certificate document in the taxRegistrationDocuments
field of the VerificationDetails
object.
Malaysia
If you use this operation to set a tax registration number (TRN) in Malaysia, only resellers with a valid sales and service tax (SST) number are required to provide tax registration information.
By using this API operation to set a TRN in Malaysia, Amazon Web Services will regard you as self-declaring that you're an authorized business reseller registered with the Royal Malaysia Customs Department (RMCD) and have a valid SST number.
Amazon Web Services reserves the right to seek additional information and/or take other actions to support your self-declaration as appropriate.
If you're not a reseller of Amazon Web Services, we don't recommend that you use this operation to set the TRN in Malaysia.
Only use this API operation to upload the TRNs for accounts through which you're reselling Amazon Web Services.
Amazon Web Services is currently registered under the following service tax codes. You must include at least one of the service tax codes in the service tax code strings to declare yourself as an authorized registered business reseller.
Taxable service and service tax codes:
Consultancy - 9907061674
Training or coaching service - 9907071685
IT service - 9907101676
Digital services and electronic medium - 9907121690
Nepal
The sector valid values are Business
and Individual
.
Saudi Arabia
For address
, you must specify addressLine3
.
South Korea
You must specify the certifiedEmailId
and legalName
in the TaxRegistrationEntry
object. Use Korean characters for legalName
.
You must specify the businessRepresentativeName
, itemOfBusiness
, and lineOfBusiness
in the southKoreaAdditionalInfo
field of the additionalTaxInformation
object. Use Korean characters for these fields.
You must specify the tax registration certificate document in the taxRegistrationDocuments
field of the VerificationDetails
object.
For the address
object, use Korean characters for addressLine1
, addressLine2
city
, postalCode
, and stateOrRegion
.
Spain
You must specify the registrationType
in the spainAdditionalInfo
field of the additionalTaxInformation
object.
If the registrationType
is Local
, you must specify the tax registration certificate document in the taxRegistrationDocuments
field of the VerificationDetails
object.
Turkey
You must specify the sector
in the taxRegistrationEntry
object.
If your sector
is Business
, Individual
, or Government
:
Specify the taxOffice
. If your sector
is Individual
, don't enter this value.
(Optional) Specify the kepEmailId
. If your sector
is Individual
, don't enter this value.
Note: In the Tax Settings page of the Billing console, Government
appears as Public institutions
If your sector
is Business
and you're subject to KDV tax, you must specify your industry in the industries
field.
For address
, you must specify districtOrCounty
.
Ukraine
The sector valid values are Business
and Individual
.
Adds or updates tax registration for a single account. You can't set a TRN if there's a pending TRN. You'll need to delete the pending TRN first.
To call this API operation for specific countries, see the following country-specific requirements.
Bangladesh
You must specify the tax registration certificate document in the taxRegistrationDocuments
field of the VerificationDetails
object.
Brazil
You must complete the tax registration process in the Payment preferences page in the Billing and Cost Management console. After your TRN and billing address are verified, you can call this API operation.
For Amazon Web Services accounts created through Organizations, you can call this API operation when you don't have a billing address.
Georgia
The valid personType
values are Physical Person
and Business
.
Kenya
You must specify the personType
in the kenyaAdditionalInfo
field of the additionalTaxInformation
object.
If the personType
is Physical Person
, you must specify the tax registration certificate document in the taxRegistrationDocuments
field of the VerificationDetails
object.
Malaysia
The sector valid values are Business
and Individual
.
RegistrationType
valid values are NRIC
for individual, and TIN and sales and service tax (SST) for Business.
For individual, you can specify the taxInformationNumber
in MalaysiaAdditionalInfo
with NRIC type, and a valid MyKad
or NRIC number.
For business, you must specify a businessRegistrationNumber
in MalaysiaAdditionalInfo
with a TIN type and tax identification number.
For business resellers, you must specify a businessRegistrationNumber
and taxInformationNumber
in MalaysiaAdditionalInfo
with a sales and service tax (SST) type and a valid SST number.
For business resellers with service codes, you must specify businessRegistrationNumber
, taxInformationNumber
, and distinct serviceTaxCodes
in MalaysiaAdditionalInfo
with a SST type and valid sales and service tax (SST) number. By using this API operation, Amazon Web Services registers your self-declaration that you’re an authorized business reseller registered with the Royal Malaysia Customs Department (RMCD), and have a valid SST number.
Amazon Web Services reserves the right to seek additional information and/or take other actions to support your self-declaration as appropriate.
Amazon Web Services is currently registered under the following service tax codes. You must include at least one of the service tax codes in the service tax code strings to declare yourself as an authorized registered business reseller.
Taxable service and service tax codes:
Consultancy - 9907061674
Training or coaching service - 9907071685
IT service - 9907101676
Digital services and electronic medium - 9907121690
Nepal
The sector valid values are Business
and Individual
.
Saudi Arabia
For address
, you must specify addressLine3
.
South Korea
You must specify the certifiedEmailId
and legalName
in the TaxRegistrationEntry
object. Use Korean characters for legalName
.
You must specify the businessRepresentativeName
, itemOfBusiness
, and lineOfBusiness
in the southKoreaAdditionalInfo
field of the additionalTaxInformation
object. Use Korean characters for these fields.
You must specify the tax registration certificate document in the taxRegistrationDocuments
field of the VerificationDetails
object.
For the address
object, use Korean characters for addressLine1
, addressLine2
city
, postalCode
, and stateOrRegion
.
Spain
You must specify the registrationType
in the spainAdditionalInfo
field of the additionalTaxInformation
object.
If the registrationType
is Local
, you must specify the tax registration certificate document in the taxRegistrationDocuments
field of the VerificationDetails
object.
Turkey
You must specify the sector
in the taxRegistrationEntry
object.
If your sector
is Business
, Individual
, or Government
:
Specify the taxOffice
. If your sector
is Individual
, don't enter this value.
(Optional) Specify the kepEmailId
. If your sector
is Individual
, don't enter this value.
Note: In the Tax Settings page of the Billing console, Government
appears as Public institutions
If your sector
is Business
and you're subject to KDV tax, you must specify your industry in the industries
field.
For address
, you must specify districtOrCounty
.
Ukraine
The sector valid values are Business
and Individual
.
The state, region, or province that the address is located.
If this is required for tax settings, use the same name as shown on the Tax Settings page.
" + "documentation":"The state, region, or province that the address is located. This field is only required for Canada, India, United Arab Emirates, Romania, and Brazil (CPF). It is optional for all other countries.
If this is required for tax settings, use the same name as shown on the Tax Settings page.
" } }, "documentation":"The details of the address associated with the TRN information.
" @@ -523,6 +572,10 @@ }, "documentation":"Additional tax information associated with your TRN in Brazil.
" }, + "BusinessRegistrationNumber":{ + "type":"string", + "pattern":"^[0-9]{12}$" + }, "BusinessRepresentativeName":{ "type":"string", "max":200, @@ -538,7 +591,7 @@ }, "canadaRetailSalesTaxNumber":{ "shape":"CanadaRetailSalesTaxNumberString", - "documentation":"Manitoba Retail Sales Tax ID number. Customers purchasing Amazon Web Services for resale in Manitoba must provide a valid Retail Sales Tax ID number for Manitoba. Leave this blank if you do not have a Retail Sales Tax ID number in Manitoba or are not purchasing Amazon Web Services for resale.
" + "documentation":"Manitoba Retail Sales Tax ID number. Customers purchasing Amazon Web Services services for resale in Manitoba must provide a valid Retail Sales Tax ID number for Manitoba. Leave this blank if you do not have a Retail Sales Tax ID number in Manitoba or are not purchasing Amazon Web Services services for resale.
" }, "isResellerAccount":{ "shape":"Boolean", @@ -621,6 +674,21 @@ "min":10, "pattern":"^(\\d{4}-(0[0-9]|1[0-2])-([0-2][0-9]|3[0-1]))$" }, + "DeleteSupplementalTaxRegistrationRequest":{ + "type":"structure", + "required":["authorityId"], + "members":{ + "authorityId":{ + "shape":"GenericString", + "documentation":"The unique authority Id for the supplemental TRN information that needs to be deleted.
" + } + } + }, + "DeleteSupplementalTaxRegistrationResponse":{ + "type":"structure", + "members":{ + } + }, "DeleteTaxRegistrationRequest":{ "type":"structure", "members":{ @@ -688,6 +756,12 @@ "type":"string", "pattern":"^(?!\\s*$)[\\s\\S]+$" }, + "GenericString":{ + "type":"string", + "max":200, + "min":1, + "pattern":"^[\\s\\S]*$" + }, "GeorgiaAdditionalInfo":{ "type":"structure", "required":["personType"], @@ -898,6 +972,33 @@ "min":1, "pattern":"^[0-9\\u3130-\\u318F\\uAC00-\\uD7AF,.( )-\\\\s]*$" }, + "ListSupplementalTaxRegistrationsRequest":{ + "type":"structure", + "members":{ + "maxResults":{ + "shape":"MaxResults", + "documentation":" The number of taxRegistrations
results you want in one response.
The token to retrieve the next set of results.
" + } + } + }, + "ListSupplementalTaxRegistrationsResponse":{ + "type":"structure", + "required":["taxRegistrations"], + "members":{ + "nextToken":{ + "shape":"PaginationTokenString", + "documentation":"The token to retrieve the next set of results.
" + }, + "taxRegistrations":{ + "shape":"SupplementalTaxRegistrationList", + "documentation":"The list of supplemental tax registrations.
" + } + } + }, "ListTaxRegistrationsRequest":{ "type":"structure", "members":{ @@ -927,11 +1028,18 @@ }, "MalaysiaAdditionalInfo":{ "type":"structure", - "required":["serviceTaxCodes"], "members":{ + "businessRegistrationNumber":{ + "shape":"BusinessRegistrationNumber", + "documentation":"The tax registration number (TRN) in Malaysia.
For individual, you can specify the taxInformationNumber
in MalaysiaAdditionalInfo
with NRIC type, and a valid MyKad or NRIC number. For business, you must specify a businessRegistrationNumber
in MalaysiaAdditionalInfo
with a TIN type and tax identification number. For business resellers, you must specify a businessRegistrationNumber
and taxInformationNumber
in MalaysiaAdditionalInfo
with a sales and service tax (SST) type and a valid SST number.
For business resellers with service codes, you must specify businessRegistrationNumber
, taxInformationNumber
, and distinct serviceTaxCodes
in MalaysiaAdditionalInfo
with a SST type and valid sales and service tax (SST) number. By using this API operation, Amazon Web Services registers your self-declaration that you’re an authorized business reseller registered with the Royal Malaysia Customs Department (RMCD), and have a valid SST number.
List of service tax codes for your TRN in Malaysia.
" + }, + "taxInformationNumber":{ + "shape":"TaxInformationNumber", + "documentation":"The tax information number in Malaysia.
For individual, you can specify the taxInformationNumber
in MalaysiaAdditionalInfo
with NRIC type, and a valid MyKad or NRIC number. For business resellers, you must specify a businessRegistrationNumber
and taxInformationNumber
in MalaysiaAdditionalInfo
with a sales and service tax (SST) type and a valid SST number.
For business resellers with service codes, you must specify businessRegistrationNumber
, taxInformationNumber
, and distinct serviceTaxCodes
in MalaysiaAdditionalInfo
with a SST type and valid sales and service tax (SST) number. By using this API operation, Amazon Web Services registers your self-declaration that you’re an authorized business reseller registered with the Royal Malaysia Customs Department (RMCD), and have a valid SST number.
Additional tax information associated with your TRN in Malaysia.
" @@ -949,7 +1057,7 @@ "type":"list", "member":{"shape":"MalaysiaServiceTaxCode"}, "max":4, - "min":1 + "min":0 }, "MaxResults":{ "type":"integer", @@ -995,6 +1103,33 @@ "min":1, "pattern":"^(?!\\s*$)[\\s\\S]+$" }, + "PutSupplementalTaxRegistrationRequest":{ + "type":"structure", + "required":["taxRegistrationEntry"], + "members":{ + "taxRegistrationEntry":{ + "shape":"SupplementalTaxRegistrationEntry", + "documentation":"The supplemental TRN information that will be stored for the caller account ID.
" + } + } + }, + "PutSupplementalTaxRegistrationResponse":{ + "type":"structure", + "required":[ + "authorityId", + "status" + ], + "members":{ + "authorityId":{ + "shape":"GenericString", + "documentation":"Unique authority ID for the supplemental TRN information that was stored.
" + }, + "status":{ + "shape":"TaxRegistrationStatus", + "documentation":" The status of the supplemental TRN stored in the system after processing. Based on the validation occurring on the TRN, the status can be Verified
, Pending
, Rejected
, or Deleted
.
Unique authority ID for the supplemental TRN.
" + }, + "legalName":{ + "shape":"LegalName", + "documentation":"The legal name associated with your TRN registration.
" + }, + "registrationId":{ + "shape":"RegistrationId", + "documentation":"The supplemental TRN unique identifier.
" + }, + "registrationType":{ + "shape":"SupplementalTaxRegistrationType", + "documentation":"Type of supplemental TRN. Currently, this can only be VAT.
" + }, + "status":{ + "shape":"TaxRegistrationStatus", + "documentation":"The status of your TRN.
" + } + }, + "documentation":"Supplemental TRN details.
", + "sensitive":true + }, + "SupplementalTaxRegistrationEntry":{ + "type":"structure", + "required":[ + "address", + "legalName", + "registrationId", + "registrationType" + ], + "members":{ + "address":{"shape":"Address"}, + "legalName":{ + "shape":"LegalName", + "documentation":"The legal name associated with your TRN registration.
" + }, + "registrationId":{ + "shape":"RegistrationId", + "documentation":"The supplemental TRN unique identifier.
" + }, + "registrationType":{ + "shape":"SupplementalTaxRegistrationType", + "documentation":"Type of supplemental TRN. Currently, this can only be VAT.
" + } + }, + "documentation":"The supplemental TRN information to provide when adding or updating a supplemental TRN.
", + "sensitive":true + }, + "SupplementalTaxRegistrationList":{ + "type":"list", + "member":{"shape":"SupplementalTaxRegistration"} + }, + "SupplementalTaxRegistrationType":{ + "type":"string", + "enum":["VAT"] + }, "TaxCode":{ "type":"string", "pattern":"^([0-9]{11}|[A-Z]{6}[0-9]{2}[A-Z][0-9]{2}[A-Z][0-9]{3}[A-Z])$" @@ -1218,6 +1423,10 @@ "type":"string", "pattern":"^[\\s\\S]*$" }, + "TaxInformationNumber":{ + "type":"string", + "pattern":"^[A-Z]{1,2}[0-9]{1,11}$" + }, "TaxInheritanceDetails":{ "type":"structure", "members":{ @@ -1369,7 +1578,9 @@ "GST", "CPF", "CNPJ", - "SST" + "SST", + "TIN", + "NRIC" ] }, "TaxRegistrationWithJurisdiction":{ diff --git a/docs/source/conf.py b/docs/source/conf.py index 68a2cf516e..9f9f8d84f4 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -59,7 +59,7 @@ # The short X.Y version. version = '1.35.' # The full version, including alpha/beta/rc tags. -release = '1.35.53' +release = '1.35.54' # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages.