Skip to content

Commit 53a981a

Browse files
author
awstools
committed
feat(client-taxsettings): Adjust Vietnam PaymentVoucherNumber regex and minor API change.
1 parent 6b6145d commit 53a981a

File tree

2 files changed

+29
-19
lines changed

2 files changed

+29
-19
lines changed

clients/client-taxsettings/src/models/models_0.ts

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -725,25 +725,25 @@ export interface UkraineAdditionalInfo {
725725
*/
726726
export interface VietnamAdditionalInfo {
727727
/**
728-
* <p>The enterprise identification number for tax registration.</p>
728+
* <p>The enterprise identification number for tax registration. This field must be provided for successful API operation.</p>
729729
* @public
730730
*/
731731
enterpriseIdentificationNumber?: string | undefined;
732732

733733
/**
734-
* <p>The electronic transaction code number on the tax return document.</p>
734+
* <p>The electronic transaction code number on the tax return document. This field must be provided for successful API operation.</p>
735735
* @public
736736
*/
737737
electronicTransactionCodeNumber?: string | undefined;
738738

739739
/**
740-
* <p>The payment voucher number on the tax return payment document.</p>
740+
* <p>The payment voucher number on the tax return payment document. This field must be provided for successful API operation.</p>
741741
* @public
742742
*/
743743
paymentVoucherNumber?: string | undefined;
744744

745745
/**
746-
* <p>The date on the tax return payment document.</p>
746+
* <p>The date on the tax return payment document. This field must be provided for successful API operation.</p>
747747
* @public
748748
*/
749749
paymentVoucherNumberDate?: string | undefined;
@@ -1968,7 +1968,7 @@ export interface TaxRegistration {
19681968
registrationId: string | undefined;
19691969

19701970
/**
1971-
* <p>Type of your tax registration. This can be either <code>VAT</code> or <code>GST</code>.
1971+
* <p>Type of your tax registration.
19721972
* </p>
19731973
* @public
19741974
*/
@@ -2338,7 +2338,7 @@ export interface PutTaxExemptionRequest {
23382338
authority: Authority | undefined;
23392339

23402340
/**
2341-
* <p>The exemption type.
2341+
* <p>The exemption type. Use the supported tax exemption type description.
23422342
* </p>
23432343
* @public
23442344
*/

codegen/sdk-codegen/aws-models/taxsettings.json

Lines changed: 23 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -70,12 +70,6 @@
7070
"type": "list",
7171
"member": {
7272
"target": "com.amazonaws.taxsettings#AccountId"
73-
},
74-
"traits": {
75-
"smithy.api#length": {
76-
"min": 1,
77-
"max": 5
78-
}
7973
}
8074
},
8175
"com.amazonaws.taxsettings#AccountMetaData": {
@@ -589,6 +583,10 @@
589583
"target": "com.amazonaws.taxsettings#AccountIds",
590584
"traits": {
591585
"smithy.api#documentation": "<p>List of unique account identifiers. </p>",
586+
"smithy.api#length": {
587+
"min": 1,
588+
"max": 5
589+
},
592590
"smithy.api#required": {}
593591
}
594592
}
@@ -652,6 +650,10 @@
652650
"target": "com.amazonaws.taxsettings#AccountIds",
653651
"traits": {
654652
"smithy.api#documentation": "<p>\n List of unique account identifiers.\n </p>",
653+
"smithy.api#length": {
654+
"min": 1,
655+
"max": 5
656+
},
655657
"smithy.api#required": {}
656658
}
657659
}
@@ -752,6 +754,10 @@
752754
"target": "com.amazonaws.taxsettings#AccountIds",
753755
"traits": {
754756
"smithy.api#documentation": "<p> List of unique account identifiers.</p>",
757+
"smithy.api#length": {
758+
"min": 1,
759+
"max": 550
760+
},
755761
"smithy.api#required": {}
756762
}
757763
},
@@ -2186,7 +2192,7 @@
21862192
"com.amazonaws.taxsettings#PaymentVoucherNumber": {
21872193
"type": "string",
21882194
"traits": {
2189-
"smithy.api#pattern": "^\\d{17}$"
2195+
"smithy.api#pattern": "^(\\d{17}|[A-Za-z]{3}\\d{13})$"
21902196
}
21912197
},
21922198
"com.amazonaws.taxsettings#PersonType": {
@@ -2358,6 +2364,10 @@
23582364
"target": "com.amazonaws.taxsettings#AccountIds",
23592365
"traits": {
23602366
"smithy.api#documentation": "<p>\n The list of unique account identifiers.\n </p>",
2367+
"smithy.api#length": {
2368+
"min": 1,
2369+
"max": 550
2370+
},
23612371
"smithy.api#required": {}
23622372
}
23632373
},
@@ -2370,7 +2380,7 @@
23702380
"exemptionType": {
23712381
"target": "com.amazonaws.taxsettings#GenericString",
23722382
"traits": {
2373-
"smithy.api#documentation": "<p>The exemption type.\n </p>",
2383+
"smithy.api#documentation": "<p>The exemption type. Use the supported tax exemption type description.\n </p>",
23742384
"smithy.api#required": {}
23752385
}
23762386
},
@@ -3104,7 +3114,7 @@
31043114
"registrationType": {
31053115
"target": "com.amazonaws.taxsettings#TaxRegistrationType",
31063116
"traits": {
3107-
"smithy.api#documentation": "<p>Type of your tax registration. This can be either <code>VAT</code> or <code>GST</code>.\n </p>",
3117+
"smithy.api#documentation": "<p>Type of your tax registration.\n </p>",
31083118
"smithy.api#required": {}
31093119
}
31103120
},
@@ -4632,25 +4642,25 @@
46324642
"enterpriseIdentificationNumber": {
46334643
"target": "com.amazonaws.taxsettings#EnterpriseIdentificationNumber",
46344644
"traits": {
4635-
"smithy.api#documentation": "<p>The enterprise identification number for tax registration.</p>"
4645+
"smithy.api#documentation": "<p>The enterprise identification number for tax registration. This field must be provided for successful API operation.</p>"
46364646
}
46374647
},
46384648
"electronicTransactionCodeNumber": {
46394649
"target": "com.amazonaws.taxsettings#ElectronicTransactionCodeNumber",
46404650
"traits": {
4641-
"smithy.api#documentation": "<p>The electronic transaction code number on the tax return document.</p>"
4651+
"smithy.api#documentation": "<p>The electronic transaction code number on the tax return document. This field must be provided for successful API operation.</p>"
46424652
}
46434653
},
46444654
"paymentVoucherNumber": {
46454655
"target": "com.amazonaws.taxsettings#PaymentVoucherNumber",
46464656
"traits": {
4647-
"smithy.api#documentation": "<p>The payment voucher number on the tax return payment document.</p>"
4657+
"smithy.api#documentation": "<p>The payment voucher number on the tax return payment document. This field must be provided for successful API operation.</p>"
46484658
}
46494659
},
46504660
"paymentVoucherNumberDate": {
46514661
"target": "com.amazonaws.taxsettings#DateString",
46524662
"traits": {
4653-
"smithy.api#documentation": "<p>The date on the tax return payment document.</p>"
4663+
"smithy.api#documentation": "<p>The date on the tax return payment document. This field must be provided for successful API operation.</p>"
46544664
}
46554665
}
46564666
},

0 commit comments

Comments
 (0)