aws-sdk-taxsettings 1.14.0 → 1.16.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -14,6 +14,7 @@ module Aws::TaxSettings
14
14
 
15
15
  include Seahorse::Model
16
16
 
17
+ AccessDeniedException = Shapes::StructureShape.new(name: 'AccessDeniedException')
17
18
  AccountDetails = Shapes::StructureShape.new(name: 'AccountDetails')
18
19
  AccountDetailsList = Shapes::ListShape.new(name: 'AccountDetailsList')
19
20
  AccountId = Shapes::StringShape.new(name: 'AccountId')
@@ -28,10 +29,15 @@ module Aws::TaxSettings
28
29
  AddressLine3 = Shapes::StringShape.new(name: 'AddressLine3')
29
30
  AddressRoleMap = Shapes::MapShape.new(name: 'AddressRoleMap')
30
31
  AddressRoleType = Shapes::StringShape.new(name: 'AddressRoleType')
32
+ AttachmentUploadException = Shapes::StructureShape.new(name: 'AttachmentUploadException')
33
+ Authorities = Shapes::ListShape.new(name: 'Authorities')
34
+ Authority = Shapes::StructureShape.new(name: 'Authority')
31
35
  BatchDeleteTaxRegistrationError = Shapes::StructureShape.new(name: 'BatchDeleteTaxRegistrationError')
32
36
  BatchDeleteTaxRegistrationErrors = Shapes::ListShape.new(name: 'BatchDeleteTaxRegistrationErrors')
33
37
  BatchDeleteTaxRegistrationRequest = Shapes::StructureShape.new(name: 'BatchDeleteTaxRegistrationRequest')
34
38
  BatchDeleteTaxRegistrationResponse = Shapes::StructureShape.new(name: 'BatchDeleteTaxRegistrationResponse')
39
+ BatchGetTaxExemptionsRequest = Shapes::StructureShape.new(name: 'BatchGetTaxExemptionsRequest')
40
+ BatchGetTaxExemptionsResponse = Shapes::StructureShape.new(name: 'BatchGetTaxExemptionsResponse')
35
41
  BatchPutTaxRegistrationError = Shapes::StructureShape.new(name: 'BatchPutTaxRegistrationError')
36
42
  BatchPutTaxRegistrationErrors = Shapes::ListShape.new(name: 'BatchPutTaxRegistrationErrors')
37
43
  BatchPutTaxRegistrationRequest = Shapes::StructureShape.new(name: 'BatchPutTaxRegistrationRequest')
@@ -44,6 +50,7 @@ module Aws::TaxSettings
44
50
  CanadaProvincialSalesTaxIdString = Shapes::StringShape.new(name: 'CanadaProvincialSalesTaxIdString')
45
51
  CanadaQuebecSalesTaxNumberString = Shapes::StringShape.new(name: 'CanadaQuebecSalesTaxNumberString')
46
52
  CanadaRetailSalesTaxNumberString = Shapes::StringShape.new(name: 'CanadaRetailSalesTaxNumberString')
53
+ CaseCreationLimitExceededException = Shapes::StructureShape.new(name: 'CaseCreationLimitExceededException')
47
54
  CcmCode = Shapes::StringShape.new(name: 'CcmCode')
48
55
  CertifiedEmailId = Shapes::StringShape.new(name: 'CertifiedEmailId')
49
56
  CigNumber = Shapes::StringShape.new(name: 'CigNumber')
@@ -58,17 +65,28 @@ module Aws::TaxSettings
58
65
  DeleteTaxRegistrationResponse = Shapes::StructureShape.new(name: 'DeleteTaxRegistrationResponse')
59
66
  DestinationFilePath = Shapes::StringShape.new(name: 'DestinationFilePath')
60
67
  DestinationS3Location = Shapes::StructureShape.new(name: 'DestinationS3Location')
68
+ DisplayName = Shapes::StringShape.new(name: 'DisplayName')
61
69
  District = Shapes::StringShape.new(name: 'District')
70
+ EntityExemptionAccountStatus = Shapes::StringShape.new(name: 'EntityExemptionAccountStatus')
62
71
  ErrorCode = Shapes::StringShape.new(name: 'ErrorCode')
63
72
  ErrorMessage = Shapes::StringShape.new(name: 'ErrorMessage')
64
73
  EstoniaAdditionalInfo = Shapes::StructureShape.new(name: 'EstoniaAdditionalInfo')
74
+ ExemptionCertificate = Shapes::StructureShape.new(name: 'ExemptionCertificate')
75
+ ExemptionDocumentName = Shapes::StringShape.new(name: 'ExemptionDocumentName')
76
+ ExemptionFileBlob = Shapes::BlobShape.new(name: 'ExemptionFileBlob')
65
77
  FieldName = Shapes::StringShape.new(name: 'FieldName')
78
+ FileBlob = Shapes::BlobShape.new(name: 'FileBlob')
66
79
  GenericString = Shapes::StringShape.new(name: 'GenericString')
67
80
  GeorgiaAdditionalInfo = Shapes::StructureShape.new(name: 'GeorgiaAdditionalInfo')
81
+ GetTaxExemptionTypesRequest = Shapes::StructureShape.new(name: 'GetTaxExemptionTypesRequest')
82
+ GetTaxExemptionTypesResponse = Shapes::StructureShape.new(name: 'GetTaxExemptionTypesResponse')
83
+ GetTaxInheritanceRequest = Shapes::StructureShape.new(name: 'GetTaxInheritanceRequest')
84
+ GetTaxInheritanceResponse = Shapes::StructureShape.new(name: 'GetTaxInheritanceResponse')
68
85
  GetTaxRegistrationDocumentRequest = Shapes::StructureShape.new(name: 'GetTaxRegistrationDocumentRequest')
69
86
  GetTaxRegistrationDocumentResponse = Shapes::StructureShape.new(name: 'GetTaxRegistrationDocumentResponse')
70
87
  GetTaxRegistrationRequest = Shapes::StructureShape.new(name: 'GetTaxRegistrationRequest')
71
88
  GetTaxRegistrationResponse = Shapes::StructureShape.new(name: 'GetTaxRegistrationResponse')
89
+ HeritageStatus = Shapes::StringShape.new(name: 'HeritageStatus')
72
90
  IndiaAdditionalInfo = Shapes::StructureShape.new(name: 'IndiaAdditionalInfo')
73
91
  IndividualRegistrationNumber = Shapes::StringShape.new(name: 'IndividualRegistrationNumber')
74
92
  Industries = Shapes::StringShape.new(name: 'Industries')
@@ -87,6 +105,8 @@ module Aws::TaxSettings
87
105
  LineOfBusiness = Shapes::StringShape.new(name: 'LineOfBusiness')
88
106
  ListSupplementalTaxRegistrationsRequest = Shapes::StructureShape.new(name: 'ListSupplementalTaxRegistrationsRequest')
89
107
  ListSupplementalTaxRegistrationsResponse = Shapes::StructureShape.new(name: 'ListSupplementalTaxRegistrationsResponse')
108
+ ListTaxExemptionsRequest = Shapes::StructureShape.new(name: 'ListTaxExemptionsRequest')
109
+ ListTaxExemptionsResponse = Shapes::StructureShape.new(name: 'ListTaxExemptionsResponse')
90
110
  ListTaxRegistrationsRequest = Shapes::StructureShape.new(name: 'ListTaxRegistrationsRequest')
91
111
  ListTaxRegistrationsResponse = Shapes::StructureShape.new(name: 'ListTaxRegistrationsResponse')
92
112
  MalaysiaAdditionalInfo = Shapes::StructureShape.new(name: 'MalaysiaAdditionalInfo')
@@ -100,6 +120,10 @@ module Aws::TaxSettings
100
120
  PostalCode = Shapes::StringShape.new(name: 'PostalCode')
101
121
  PutSupplementalTaxRegistrationRequest = Shapes::StructureShape.new(name: 'PutSupplementalTaxRegistrationRequest')
102
122
  PutSupplementalTaxRegistrationResponse = Shapes::StructureShape.new(name: 'PutSupplementalTaxRegistrationResponse')
123
+ PutTaxExemptionRequest = Shapes::StructureShape.new(name: 'PutTaxExemptionRequest')
124
+ PutTaxExemptionResponse = Shapes::StructureShape.new(name: 'PutTaxExemptionResponse')
125
+ PutTaxInheritanceRequest = Shapes::StructureShape.new(name: 'PutTaxInheritanceRequest')
126
+ PutTaxInheritanceResponse = Shapes::StructureShape.new(name: 'PutTaxInheritanceResponse')
103
127
  PutTaxRegistrationRequest = Shapes::StructureShape.new(name: 'PutTaxRegistrationRequest')
104
128
  PutTaxRegistrationResponse = Shapes::StructureShape.new(name: 'PutTaxRegistrationResponse')
105
129
  RegistrationId = Shapes::StringShape.new(name: 'RegistrationId')
@@ -129,10 +153,17 @@ module Aws::TaxSettings
129
153
  TaxDocumentMetadata = Shapes::StructureShape.new(name: 'TaxDocumentMetadata')
130
154
  TaxDocumentMetadatas = Shapes::ListShape.new(name: 'TaxDocumentMetadatas')
131
155
  TaxDocumentName = Shapes::StringShape.new(name: 'TaxDocumentName')
156
+ TaxExemption = Shapes::StructureShape.new(name: 'TaxExemption')
157
+ TaxExemptionDetails = Shapes::StructureShape.new(name: 'TaxExemptionDetails')
158
+ TaxExemptionDetailsMap = Shapes::MapShape.new(name: 'TaxExemptionDetailsMap')
159
+ TaxExemptionType = Shapes::StructureShape.new(name: 'TaxExemptionType')
160
+ TaxExemptionTypes = Shapes::ListShape.new(name: 'TaxExemptionTypes')
161
+ TaxExemptions = Shapes::ListShape.new(name: 'TaxExemptions')
132
162
  TaxInformationNumber = Shapes::StringShape.new(name: 'TaxInformationNumber')
133
163
  TaxInheritanceDetails = Shapes::StructureShape.new(name: 'TaxInheritanceDetails')
134
164
  TaxOffice = Shapes::StringShape.new(name: 'TaxOffice')
135
165
  TaxRegistration = Shapes::StructureShape.new(name: 'TaxRegistration')
166
+ TaxRegistrationDocFile = Shapes::StructureShape.new(name: 'TaxRegistrationDocFile')
136
167
  TaxRegistrationDocument = Shapes::StructureShape.new(name: 'TaxRegistrationDocument')
137
168
  TaxRegistrationDocuments = Shapes::ListShape.new(name: 'TaxRegistrationDocuments')
138
169
  TaxRegistrationEntry = Shapes::StructureShape.new(name: 'TaxRegistrationEntry')
@@ -140,15 +171,20 @@ module Aws::TaxSettings
140
171
  TaxRegistrationStatus = Shapes::StringShape.new(name: 'TaxRegistrationStatus')
141
172
  TaxRegistrationType = Shapes::StringShape.new(name: 'TaxRegistrationType')
142
173
  TaxRegistrationWithJurisdiction = Shapes::StructureShape.new(name: 'TaxRegistrationWithJurisdiction')
174
+ Timestamp = Shapes::TimestampShape.new(name: 'Timestamp')
143
175
  TurkeyAdditionalInfo = Shapes::StructureShape.new(name: 'TurkeyAdditionalInfo')
144
176
  UkraineAdditionalInfo = Shapes::StructureShape.new(name: 'UkraineAdditionalInfo')
145
177
  UkraineTrnType = Shapes::StringShape.new(name: 'UkraineTrnType')
178
+ Url = Shapes::StringShape.new(name: 'Url')
146
179
  ValidationException = Shapes::StructureShape.new(name: 'ValidationException')
147
180
  ValidationExceptionErrorCode = Shapes::StringShape.new(name: 'ValidationExceptionErrorCode')
148
181
  ValidationExceptionField = Shapes::StructureShape.new(name: 'ValidationExceptionField')
149
182
  ValidationExceptionFieldList = Shapes::ListShape.new(name: 'ValidationExceptionFieldList')
150
183
  VerificationDetails = Shapes::StructureShape.new(name: 'VerificationDetails')
151
184
 
185
+ AccessDeniedException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, required: true, location_name: "message"))
186
+ AccessDeniedException.struct_class = Types::AccessDeniedException
187
+
152
188
  AccountDetails.add_member(:account_id, Shapes::ShapeRef.new(shape: AccountId, location_name: "accountId"))
153
189
  AccountDetails.add_member(:account_meta_data, Shapes::ShapeRef.new(shape: AccountMetaData, location_name: "accountMetaData"))
154
190
  AccountDetails.add_member(:tax_inheritance_details, Shapes::ShapeRef.new(shape: TaxInheritanceDetails, location_name: "taxInheritanceDetails"))
@@ -213,6 +249,15 @@ module Aws::TaxSettings
213
249
  AddressRoleMap.key = Shapes::ShapeRef.new(shape: AddressRoleType)
214
250
  AddressRoleMap.value = Shapes::ShapeRef.new(shape: Jurisdiction)
215
251
 
252
+ AttachmentUploadException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, required: true, location_name: "message"))
253
+ AttachmentUploadException.struct_class = Types::AttachmentUploadException
254
+
255
+ Authorities.member = Shapes::ShapeRef.new(shape: Authority)
256
+
257
+ Authority.add_member(:country, Shapes::ShapeRef.new(shape: CountryCode, required: true, location_name: "country"))
258
+ Authority.add_member(:state, Shapes::ShapeRef.new(shape: State, location_name: "state"))
259
+ Authority.struct_class = Types::Authority
260
+
216
261
  BatchDeleteTaxRegistrationError.add_member(:account_id, Shapes::ShapeRef.new(shape: AccountId, required: true, location_name: "accountId"))
217
262
  BatchDeleteTaxRegistrationError.add_member(:code, Shapes::ShapeRef.new(shape: ErrorCode, location_name: "code"))
218
263
  BatchDeleteTaxRegistrationError.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, required: true, location_name: "message"))
@@ -226,6 +271,13 @@ module Aws::TaxSettings
226
271
  BatchDeleteTaxRegistrationResponse.add_member(:errors, Shapes::ShapeRef.new(shape: BatchDeleteTaxRegistrationErrors, required: true, location_name: "errors"))
227
272
  BatchDeleteTaxRegistrationResponse.struct_class = Types::BatchDeleteTaxRegistrationResponse
228
273
 
274
+ BatchGetTaxExemptionsRequest.add_member(:account_ids, Shapes::ShapeRef.new(shape: AccountIds, required: true, location_name: "accountIds"))
275
+ BatchGetTaxExemptionsRequest.struct_class = Types::BatchGetTaxExemptionsRequest
276
+
277
+ BatchGetTaxExemptionsResponse.add_member(:failed_accounts, Shapes::ShapeRef.new(shape: AccountIds, location_name: "failedAccounts"))
278
+ BatchGetTaxExemptionsResponse.add_member(:tax_exemption_details_map, Shapes::ShapeRef.new(shape: TaxExemptionDetailsMap, location_name: "taxExemptionDetailsMap"))
279
+ BatchGetTaxExemptionsResponse.struct_class = Types::BatchGetTaxExemptionsResponse
280
+
229
281
  BatchPutTaxRegistrationError.add_member(:account_id, Shapes::ShapeRef.new(shape: AccountId, required: true, location_name: "accountId"))
230
282
  BatchPutTaxRegistrationError.add_member(:code, Shapes::ShapeRef.new(shape: ErrorCode, location_name: "code"))
231
283
  BatchPutTaxRegistrationError.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, required: true, location_name: "message"))
@@ -251,6 +303,9 @@ module Aws::TaxSettings
251
303
  CanadaAdditionalInfo.add_member(:provincial_sales_tax_id, Shapes::ShapeRef.new(shape: CanadaProvincialSalesTaxIdString, location_name: "provincialSalesTaxId"))
252
304
  CanadaAdditionalInfo.struct_class = Types::CanadaAdditionalInfo
253
305
 
306
+ CaseCreationLimitExceededException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, required: true, location_name: "message"))
307
+ CaseCreationLimitExceededException.struct_class = Types::CaseCreationLimitExceededException
308
+
254
309
  ConflictException.add_member(:error_code, Shapes::ShapeRef.new(shape: ErrorCode, required: true, location_name: "errorCode"))
255
310
  ConflictException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, required: true, location_name: "message"))
256
311
  ConflictException.struct_class = Types::ConflictException
@@ -272,14 +327,29 @@ module Aws::TaxSettings
272
327
  EstoniaAdditionalInfo.add_member(:registry_commercial_code, Shapes::ShapeRef.new(shape: RegistryCommercialCode, required: true, location_name: "registryCommercialCode"))
273
328
  EstoniaAdditionalInfo.struct_class = Types::EstoniaAdditionalInfo
274
329
 
330
+ ExemptionCertificate.add_member(:document_file, Shapes::ShapeRef.new(shape: ExemptionFileBlob, required: true, location_name: "documentFile"))
331
+ ExemptionCertificate.add_member(:document_name, Shapes::ShapeRef.new(shape: ExemptionDocumentName, required: true, location_name: "documentName"))
332
+ ExemptionCertificate.struct_class = Types::ExemptionCertificate
333
+
275
334
  GeorgiaAdditionalInfo.add_member(:person_type, Shapes::ShapeRef.new(shape: PersonType, required: true, location_name: "personType"))
276
335
  GeorgiaAdditionalInfo.struct_class = Types::GeorgiaAdditionalInfo
277
336
 
278
- GetTaxRegistrationDocumentRequest.add_member(:destination_s3_location, Shapes::ShapeRef.new(shape: DestinationS3Location, required: true, location_name: "destinationS3Location"))
337
+ GetTaxExemptionTypesRequest.struct_class = Types::GetTaxExemptionTypesRequest
338
+
339
+ GetTaxExemptionTypesResponse.add_member(:tax_exemption_types, Shapes::ShapeRef.new(shape: TaxExemptionTypes, location_name: "taxExemptionTypes"))
340
+ GetTaxExemptionTypesResponse.struct_class = Types::GetTaxExemptionTypesResponse
341
+
342
+ GetTaxInheritanceRequest.struct_class = Types::GetTaxInheritanceRequest
343
+
344
+ GetTaxInheritanceResponse.add_member(:heritage_status, Shapes::ShapeRef.new(shape: HeritageStatus, location_name: "heritageStatus"))
345
+ GetTaxInheritanceResponse.struct_class = Types::GetTaxInheritanceResponse
346
+
347
+ GetTaxRegistrationDocumentRequest.add_member(:destination_s3_location, Shapes::ShapeRef.new(shape: DestinationS3Location, location_name: "destinationS3Location"))
279
348
  GetTaxRegistrationDocumentRequest.add_member(:tax_document_metadata, Shapes::ShapeRef.new(shape: TaxDocumentMetadata, required: true, location_name: "taxDocumentMetadata"))
280
349
  GetTaxRegistrationDocumentRequest.struct_class = Types::GetTaxRegistrationDocumentRequest
281
350
 
282
351
  GetTaxRegistrationDocumentResponse.add_member(:destination_file_path, Shapes::ShapeRef.new(shape: DestinationFilePath, location_name: "destinationFilePath"))
352
+ GetTaxRegistrationDocumentResponse.add_member(:presigned_s3_url, Shapes::ShapeRef.new(shape: Url, location_name: "presignedS3Url"))
283
353
  GetTaxRegistrationDocumentResponse.struct_class = Types::GetTaxRegistrationDocumentResponse
284
354
 
285
355
  GetTaxRegistrationRequest.add_member(:account_id, Shapes::ShapeRef.new(shape: AccountId, location_name: "accountId"))
@@ -320,6 +390,14 @@ module Aws::TaxSettings
320
390
  ListSupplementalTaxRegistrationsResponse.add_member(:tax_registrations, Shapes::ShapeRef.new(shape: SupplementalTaxRegistrationList, required: true, location_name: "taxRegistrations"))
321
391
  ListSupplementalTaxRegistrationsResponse.struct_class = Types::ListSupplementalTaxRegistrationsResponse
322
392
 
393
+ ListTaxExemptionsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "maxResults"))
394
+ ListTaxExemptionsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationTokenString, location_name: "nextToken"))
395
+ ListTaxExemptionsRequest.struct_class = Types::ListTaxExemptionsRequest
396
+
397
+ ListTaxExemptionsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationTokenString, location_name: "nextToken"))
398
+ ListTaxExemptionsResponse.add_member(:tax_exemption_details_map, Shapes::ShapeRef.new(shape: TaxExemptionDetailsMap, location_name: "taxExemptionDetailsMap"))
399
+ ListTaxExemptionsResponse.struct_class = Types::ListTaxExemptionsResponse
400
+
323
401
  ListTaxRegistrationsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "maxResults"))
324
402
  ListTaxRegistrationsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationTokenString, location_name: "nextToken"))
325
403
  ListTaxRegistrationsRequest.struct_class = Types::ListTaxRegistrationsRequest
@@ -346,6 +424,20 @@ module Aws::TaxSettings
346
424
  PutSupplementalTaxRegistrationResponse.add_member(:status, Shapes::ShapeRef.new(shape: TaxRegistrationStatus, required: true, location_name: "status"))
347
425
  PutSupplementalTaxRegistrationResponse.struct_class = Types::PutSupplementalTaxRegistrationResponse
348
426
 
427
+ PutTaxExemptionRequest.add_member(:account_ids, Shapes::ShapeRef.new(shape: AccountIds, required: true, location_name: "accountIds"))
428
+ PutTaxExemptionRequest.add_member(:authority, Shapes::ShapeRef.new(shape: Authority, required: true, location_name: "authority"))
429
+ PutTaxExemptionRequest.add_member(:exemption_certificate, Shapes::ShapeRef.new(shape: ExemptionCertificate, required: true, location_name: "exemptionCertificate"))
430
+ PutTaxExemptionRequest.add_member(:exemption_type, Shapes::ShapeRef.new(shape: GenericString, required: true, location_name: "exemptionType"))
431
+ PutTaxExemptionRequest.struct_class = Types::PutTaxExemptionRequest
432
+
433
+ PutTaxExemptionResponse.add_member(:case_id, Shapes::ShapeRef.new(shape: GenericString, location_name: "caseId"))
434
+ PutTaxExemptionResponse.struct_class = Types::PutTaxExemptionResponse
435
+
436
+ PutTaxInheritanceRequest.add_member(:heritage_status, Shapes::ShapeRef.new(shape: HeritageStatus, location_name: "heritageStatus"))
437
+ PutTaxInheritanceRequest.struct_class = Types::PutTaxInheritanceRequest
438
+
439
+ PutTaxInheritanceResponse.struct_class = Types::PutTaxInheritanceResponse
440
+
349
441
  PutTaxRegistrationRequest.add_member(:account_id, Shapes::ShapeRef.new(shape: AccountId, location_name: "accountId"))
350
442
  PutTaxRegistrationRequest.add_member(:tax_registration_entry, Shapes::ShapeRef.new(shape: TaxRegistrationEntry, required: true, location_name: "taxRegistrationEntry"))
351
443
  PutTaxRegistrationRequest.struct_class = Types::PutTaxRegistrationRequest
@@ -397,6 +489,32 @@ module Aws::TaxSettings
397
489
 
398
490
  TaxDocumentMetadatas.member = Shapes::ShapeRef.new(shape: TaxDocumentMetadata)
399
491
 
492
+ TaxExemption.add_member(:authority, Shapes::ShapeRef.new(shape: Authority, required: true, location_name: "authority"))
493
+ TaxExemption.add_member(:effective_date, Shapes::ShapeRef.new(shape: Timestamp, location_name: "effectiveDate"))
494
+ TaxExemption.add_member(:expiration_date, Shapes::ShapeRef.new(shape: Timestamp, location_name: "expirationDate"))
495
+ TaxExemption.add_member(:status, Shapes::ShapeRef.new(shape: EntityExemptionAccountStatus, location_name: "status"))
496
+ TaxExemption.add_member(:system_effective_date, Shapes::ShapeRef.new(shape: Timestamp, location_name: "systemEffectiveDate"))
497
+ TaxExemption.add_member(:tax_exemption_type, Shapes::ShapeRef.new(shape: TaxExemptionType, required: true, location_name: "taxExemptionType"))
498
+ TaxExemption.struct_class = Types::TaxExemption
499
+
500
+ TaxExemptionDetails.add_member(:heritage_obtained_details, Shapes::ShapeRef.new(shape: Boolean, location_name: "heritageObtainedDetails"))
501
+ TaxExemptionDetails.add_member(:heritage_obtained_parent_entity, Shapes::ShapeRef.new(shape: GenericString, location_name: "heritageObtainedParentEntity"))
502
+ TaxExemptionDetails.add_member(:heritage_obtained_reason, Shapes::ShapeRef.new(shape: GenericString, location_name: "heritageObtainedReason"))
503
+ TaxExemptionDetails.add_member(:tax_exemptions, Shapes::ShapeRef.new(shape: TaxExemptions, location_name: "taxExemptions"))
504
+ TaxExemptionDetails.struct_class = Types::TaxExemptionDetails
505
+
506
+ TaxExemptionDetailsMap.key = Shapes::ShapeRef.new(shape: AccountId)
507
+ TaxExemptionDetailsMap.value = Shapes::ShapeRef.new(shape: TaxExemptionDetails)
508
+
509
+ TaxExemptionType.add_member(:applicable_jurisdictions, Shapes::ShapeRef.new(shape: Authorities, location_name: "applicableJurisdictions"))
510
+ TaxExemptionType.add_member(:description, Shapes::ShapeRef.new(shape: GenericString, location_name: "description"))
511
+ TaxExemptionType.add_member(:display_name, Shapes::ShapeRef.new(shape: DisplayName, location_name: "displayName"))
512
+ TaxExemptionType.struct_class = Types::TaxExemptionType
513
+
514
+ TaxExemptionTypes.member = Shapes::ShapeRef.new(shape: TaxExemptionType)
515
+
516
+ TaxExemptions.member = Shapes::ShapeRef.new(shape: TaxExemption)
517
+
400
518
  TaxInheritanceDetails.add_member(:inheritance_obtained_reason, Shapes::ShapeRef.new(shape: InheritanceObtainedReason, location_name: "inheritanceObtainedReason"))
401
519
  TaxInheritanceDetails.add_member(:parent_entity_id, Shapes::ShapeRef.new(shape: AccountId, location_name: "parentEntityId"))
402
520
  TaxInheritanceDetails.struct_class = Types::TaxInheritanceDetails
@@ -412,7 +530,12 @@ module Aws::TaxSettings
412
530
  TaxRegistration.add_member(:tax_document_metadatas, Shapes::ShapeRef.new(shape: TaxDocumentMetadatas, location_name: "taxDocumentMetadatas"))
413
531
  TaxRegistration.struct_class = Types::TaxRegistration
414
532
 
415
- TaxRegistrationDocument.add_member(:s3_location, Shapes::ShapeRef.new(shape: SourceS3Location, required: true, location_name: "s3Location"))
533
+ TaxRegistrationDocFile.add_member(:file_content, Shapes::ShapeRef.new(shape: FileBlob, required: true, location_name: "fileContent"))
534
+ TaxRegistrationDocFile.add_member(:file_name, Shapes::ShapeRef.new(shape: TaxDocumentName, required: true, location_name: "fileName"))
535
+ TaxRegistrationDocFile.struct_class = Types::TaxRegistrationDocFile
536
+
537
+ TaxRegistrationDocument.add_member(:file, Shapes::ShapeRef.new(shape: TaxRegistrationDocFile, location_name: "file"))
538
+ TaxRegistrationDocument.add_member(:s3_location, Shapes::ShapeRef.new(shape: SourceS3Location, location_name: "s3Location"))
416
539
  TaxRegistrationDocument.struct_class = Types::TaxRegistrationDocument
417
540
 
418
541
  TaxRegistrationDocuments.member = Shapes::ShapeRef.new(shape: TaxRegistrationDocument)
@@ -492,6 +615,17 @@ module Aws::TaxSettings
492
615
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
493
616
  end)
494
617
 
618
+ api.add_operation(:batch_get_tax_exemptions, Seahorse::Model::Operation.new.tap do |o|
619
+ o.name = "BatchGetTaxExemptions"
620
+ o.http_method = "POST"
621
+ o.http_request_uri = "/BatchGetTaxExemptions"
622
+ o.input = Shapes::ShapeRef.new(shape: BatchGetTaxExemptionsRequest)
623
+ o.output = Shapes::ShapeRef.new(shape: BatchGetTaxExemptionsResponse)
624
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
625
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
626
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
627
+ end)
628
+
495
629
  api.add_operation(:batch_put_tax_registration, Seahorse::Model::Operation.new.tap do |o|
496
630
  o.name = "BatchPutTaxRegistration"
497
631
  o.http_method = "POST"
@@ -527,6 +661,28 @@ module Aws::TaxSettings
527
661
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
528
662
  end)
529
663
 
664
+ api.add_operation(:get_tax_exemption_types, Seahorse::Model::Operation.new.tap do |o|
665
+ o.name = "GetTaxExemptionTypes"
666
+ o.http_method = "POST"
667
+ o.http_request_uri = "/GetTaxExemptionTypes"
668
+ o.input = Shapes::ShapeRef.new(shape: GetTaxExemptionTypesRequest)
669
+ o.output = Shapes::ShapeRef.new(shape: GetTaxExemptionTypesResponse)
670
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
671
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
672
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
673
+ end)
674
+
675
+ api.add_operation(:get_tax_inheritance, Seahorse::Model::Operation.new.tap do |o|
676
+ o.name = "GetTaxInheritance"
677
+ o.http_method = "POST"
678
+ o.http_request_uri = "/GetTaxInheritance"
679
+ o.input = Shapes::ShapeRef.new(shape: GetTaxInheritanceRequest)
680
+ o.output = Shapes::ShapeRef.new(shape: GetTaxInheritanceResponse)
681
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
682
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
683
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
684
+ end)
685
+
530
686
  api.add_operation(:get_tax_registration, Seahorse::Model::Operation.new.tap do |o|
531
687
  o.name = "GetTaxRegistration"
532
688
  o.http_method = "POST"
@@ -565,6 +721,23 @@ module Aws::TaxSettings
565
721
  )
566
722
  end)
567
723
 
724
+ api.add_operation(:list_tax_exemptions, Seahorse::Model::Operation.new.tap do |o|
725
+ o.name = "ListTaxExemptions"
726
+ o.http_method = "POST"
727
+ o.http_request_uri = "/ListTaxExemptions"
728
+ o.input = Shapes::ShapeRef.new(shape: ListTaxExemptionsRequest)
729
+ o.output = Shapes::ShapeRef.new(shape: ListTaxExemptionsResponse)
730
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
731
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
732
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
733
+ o[:pager] = Aws::Pager.new(
734
+ limit_key: "max_results",
735
+ tokens: {
736
+ "next_token" => "next_token"
737
+ }
738
+ )
739
+ end)
740
+
568
741
  api.add_operation(:list_tax_registrations, Seahorse::Model::Operation.new.tap do |o|
569
742
  o.name = "ListTaxRegistrations"
570
743
  o.http_method = "POST"
@@ -593,6 +766,32 @@ module Aws::TaxSettings
593
766
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
594
767
  end)
595
768
 
769
+ api.add_operation(:put_tax_exemption, Seahorse::Model::Operation.new.tap do |o|
770
+ o.name = "PutTaxExemption"
771
+ o.http_method = "POST"
772
+ o.http_request_uri = "/PutTaxExemption"
773
+ o.input = Shapes::ShapeRef.new(shape: PutTaxExemptionRequest)
774
+ o.output = Shapes::ShapeRef.new(shape: PutTaxExemptionResponse)
775
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
776
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
777
+ o.errors << Shapes::ShapeRef.new(shape: CaseCreationLimitExceededException)
778
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
779
+ o.errors << Shapes::ShapeRef.new(shape: AttachmentUploadException)
780
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
781
+ end)
782
+
783
+ api.add_operation(:put_tax_inheritance, Seahorse::Model::Operation.new.tap do |o|
784
+ o.name = "PutTaxInheritance"
785
+ o.http_method = "POST"
786
+ o.http_request_uri = "/PutTaxInheritance"
787
+ o.input = Shapes::ShapeRef.new(shape: PutTaxInheritanceRequest)
788
+ o.output = Shapes::ShapeRef.new(shape: PutTaxInheritanceResponse)
789
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
790
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
791
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
792
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
793
+ end)
794
+
596
795
  api.add_operation(:put_tax_registration, Seahorse::Model::Operation.new.tap do |o|
597
796
  o.name = "PutTaxRegistration"
598
797
  o.http_method = "POST"
@@ -27,6 +27,9 @@ module Aws::TaxSettings
27
27
  # See {Seahorse::Client::RequestContext} for more information.
28
28
  #
29
29
  # ## Error Classes
30
+ # * {AccessDeniedException}
31
+ # * {AttachmentUploadException}
32
+ # * {CaseCreationLimitExceededException}
30
33
  # * {ConflictException}
31
34
  # * {InternalServerException}
32
35
  # * {ResourceNotFoundException}
@@ -38,6 +41,51 @@ module Aws::TaxSettings
38
41
 
39
42
  extend Aws::Errors::DynamicErrors
40
43
 
44
+ class AccessDeniedException < ServiceError
45
+
46
+ # @param [Seahorse::Client::RequestContext] context
47
+ # @param [String] message
48
+ # @param [Aws::TaxSettings::Types::AccessDeniedException] data
49
+ def initialize(context, message, data = Aws::EmptyStructure.new)
50
+ super(context, message, data)
51
+ end
52
+
53
+ # @return [String]
54
+ def message
55
+ @message || @data[:message]
56
+ end
57
+ end
58
+
59
+ class AttachmentUploadException < ServiceError
60
+
61
+ # @param [Seahorse::Client::RequestContext] context
62
+ # @param [String] message
63
+ # @param [Aws::TaxSettings::Types::AttachmentUploadException] data
64
+ def initialize(context, message, data = Aws::EmptyStructure.new)
65
+ super(context, message, data)
66
+ end
67
+
68
+ # @return [String]
69
+ def message
70
+ @message || @data[:message]
71
+ end
72
+ end
73
+
74
+ class CaseCreationLimitExceededException < ServiceError
75
+
76
+ # @param [Seahorse::Client::RequestContext] context
77
+ # @param [String] message
78
+ # @param [Aws::TaxSettings::Types::CaseCreationLimitExceededException] data
79
+ def initialize(context, message, data = Aws::EmptyStructure.new)
80
+ super(context, message, data)
81
+ end
82
+
83
+ # @return [String]
84
+ def message
85
+ @message || @data[:message]
86
+ end
87
+ end
88
+
41
89
  class ConflictException < ServiceError
42
90
 
43
91
  # @param [Seahorse::Client::RequestContext] context