aws-sdk-taxsettings 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,516 @@
1
+ # frozen_string_literal: true
2
+
3
+ # WARNING ABOUT GENERATED CODE
4
+ #
5
+ # This file is generated. See the contributing guide for more information:
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
+ #
8
+ # WARNING ABOUT GENERATED CODE
9
+
10
+ module Aws::TaxSettings
11
+ # @api private
12
+ module ClientApi
13
+
14
+ include Seahorse::Model
15
+
16
+ AccountDetails = Shapes::StructureShape.new(name: 'AccountDetails')
17
+ AccountDetailsList = Shapes::ListShape.new(name: 'AccountDetailsList')
18
+ AccountId = Shapes::StringShape.new(name: 'AccountId')
19
+ AccountIds = Shapes::ListShape.new(name: 'AccountIds')
20
+ AccountMetaData = Shapes::StructureShape.new(name: 'AccountMetaData')
21
+ AccountName = Shapes::StringShape.new(name: 'AccountName')
22
+ AdditionalInfoRequest = Shapes::StructureShape.new(name: 'AdditionalInfoRequest')
23
+ AdditionalInfoResponse = Shapes::StructureShape.new(name: 'AdditionalInfoResponse')
24
+ Address = Shapes::StructureShape.new(name: 'Address')
25
+ AddressLine1 = Shapes::StringShape.new(name: 'AddressLine1')
26
+ AddressLine2 = Shapes::StringShape.new(name: 'AddressLine2')
27
+ AddressLine3 = Shapes::StringShape.new(name: 'AddressLine3')
28
+ AddressRoleMap = Shapes::MapShape.new(name: 'AddressRoleMap')
29
+ AddressRoleType = Shapes::StringShape.new(name: 'AddressRoleType')
30
+ BatchDeleteTaxRegistrationError = Shapes::StructureShape.new(name: 'BatchDeleteTaxRegistrationError')
31
+ BatchDeleteTaxRegistrationErrors = Shapes::ListShape.new(name: 'BatchDeleteTaxRegistrationErrors')
32
+ BatchDeleteTaxRegistrationRequest = Shapes::StructureShape.new(name: 'BatchDeleteTaxRegistrationRequest')
33
+ BatchDeleteTaxRegistrationResponse = Shapes::StructureShape.new(name: 'BatchDeleteTaxRegistrationResponse')
34
+ BatchPutTaxRegistrationError = Shapes::StructureShape.new(name: 'BatchPutTaxRegistrationError')
35
+ BatchPutTaxRegistrationErrors = Shapes::ListShape.new(name: 'BatchPutTaxRegistrationErrors')
36
+ BatchPutTaxRegistrationRequest = Shapes::StructureShape.new(name: 'BatchPutTaxRegistrationRequest')
37
+ BatchPutTaxRegistrationResponse = Shapes::StructureShape.new(name: 'BatchPutTaxRegistrationResponse')
38
+ Boolean = Shapes::BooleanShape.new(name: 'Boolean')
39
+ BrazilAdditionalInfo = Shapes::StructureShape.new(name: 'BrazilAdditionalInfo')
40
+ BusinessRepresentativeName = Shapes::StringShape.new(name: 'BusinessRepresentativeName')
41
+ CanadaAdditionalInfo = Shapes::StructureShape.new(name: 'CanadaAdditionalInfo')
42
+ CanadaProvincialSalesTaxIdString = Shapes::StringShape.new(name: 'CanadaProvincialSalesTaxIdString')
43
+ CanadaQuebecSalesTaxNumberString = Shapes::StringShape.new(name: 'CanadaQuebecSalesTaxNumberString')
44
+ CanadaRetailSalesTaxNumberString = Shapes::StringShape.new(name: 'CanadaRetailSalesTaxNumberString')
45
+ CcmCode = Shapes::StringShape.new(name: 'CcmCode')
46
+ CertifiedEmailId = Shapes::StringShape.new(name: 'CertifiedEmailId')
47
+ CigNumber = Shapes::StringShape.new(name: 'CigNumber')
48
+ City = Shapes::StringShape.new(name: 'City')
49
+ ConflictException = Shapes::StructureShape.new(name: 'ConflictException')
50
+ CountryCode = Shapes::StringShape.new(name: 'CountryCode')
51
+ CupNumber = Shapes::StringShape.new(name: 'CupNumber')
52
+ DateOfBirth = Shapes::StringShape.new(name: 'DateOfBirth')
53
+ DeleteTaxRegistrationRequest = Shapes::StructureShape.new(name: 'DeleteTaxRegistrationRequest')
54
+ DeleteTaxRegistrationResponse = Shapes::StructureShape.new(name: 'DeleteTaxRegistrationResponse')
55
+ DestinationFilePath = Shapes::StringShape.new(name: 'DestinationFilePath')
56
+ DestinationS3Location = Shapes::StructureShape.new(name: 'DestinationS3Location')
57
+ District = Shapes::StringShape.new(name: 'District')
58
+ ErrorCode = Shapes::StringShape.new(name: 'ErrorCode')
59
+ ErrorMessage = Shapes::StringShape.new(name: 'ErrorMessage')
60
+ EstoniaAdditionalInfo = Shapes::StructureShape.new(name: 'EstoniaAdditionalInfo')
61
+ FieldName = Shapes::StringShape.new(name: 'FieldName')
62
+ GeorgiaAdditionalInfo = Shapes::StructureShape.new(name: 'GeorgiaAdditionalInfo')
63
+ GetTaxRegistrationDocumentRequest = Shapes::StructureShape.new(name: 'GetTaxRegistrationDocumentRequest')
64
+ GetTaxRegistrationDocumentResponse = Shapes::StructureShape.new(name: 'GetTaxRegistrationDocumentResponse')
65
+ GetTaxRegistrationRequest = Shapes::StructureShape.new(name: 'GetTaxRegistrationRequest')
66
+ GetTaxRegistrationResponse = Shapes::StructureShape.new(name: 'GetTaxRegistrationResponse')
67
+ IndiaAdditionalInfo = Shapes::StructureShape.new(name: 'IndiaAdditionalInfo')
68
+ IndividualRegistrationNumber = Shapes::StringShape.new(name: 'IndividualRegistrationNumber')
69
+ Industries = Shapes::StringShape.new(name: 'Industries')
70
+ InheritanceObtainedReason = Shapes::StringShape.new(name: 'InheritanceObtainedReason')
71
+ InternalServerException = Shapes::StructureShape.new(name: 'InternalServerException')
72
+ IsraelAdditionalInfo = Shapes::StructureShape.new(name: 'IsraelAdditionalInfo')
73
+ IsraelCustomerType = Shapes::StringShape.new(name: 'IsraelCustomerType')
74
+ IsraelDealerType = Shapes::StringShape.new(name: 'IsraelDealerType')
75
+ ItalyAdditionalInfo = Shapes::StructureShape.new(name: 'ItalyAdditionalInfo')
76
+ ItemOfBusiness = Shapes::StringShape.new(name: 'ItemOfBusiness')
77
+ Jurisdiction = Shapes::StructureShape.new(name: 'Jurisdiction')
78
+ KenyaAdditionalInfo = Shapes::StructureShape.new(name: 'KenyaAdditionalInfo')
79
+ KepEmailId = Shapes::StringShape.new(name: 'KepEmailId')
80
+ LegalName = Shapes::StringShape.new(name: 'LegalName')
81
+ LegalNatureCode = Shapes::StringShape.new(name: 'LegalNatureCode')
82
+ LineOfBusiness = Shapes::StringShape.new(name: 'LineOfBusiness')
83
+ ListTaxRegistrationsRequest = Shapes::StructureShape.new(name: 'ListTaxRegistrationsRequest')
84
+ ListTaxRegistrationsResponse = Shapes::StructureShape.new(name: 'ListTaxRegistrationsResponse')
85
+ MalaysiaAdditionalInfo = Shapes::StructureShape.new(name: 'MalaysiaAdditionalInfo')
86
+ MalaysiaServiceTaxCode = Shapes::StringShape.new(name: 'MalaysiaServiceTaxCode')
87
+ MalaysiaServiceTaxCodesList = Shapes::ListShape.new(name: 'MalaysiaServiceTaxCodesList')
88
+ MaxResults = Shapes::IntegerShape.new(name: 'MaxResults')
89
+ PaginationTokenString = Shapes::StringShape.new(name: 'PaginationTokenString')
90
+ Pan = Shapes::StringShape.new(name: 'Pan')
91
+ PersonType = Shapes::StringShape.new(name: 'PersonType')
92
+ PolandAdditionalInfo = Shapes::StructureShape.new(name: 'PolandAdditionalInfo')
93
+ PostalCode = Shapes::StringShape.new(name: 'PostalCode')
94
+ PutTaxRegistrationRequest = Shapes::StructureShape.new(name: 'PutTaxRegistrationRequest')
95
+ PutTaxRegistrationResponse = Shapes::StructureShape.new(name: 'PutTaxRegistrationResponse')
96
+ RegistrationId = Shapes::StringShape.new(name: 'RegistrationId')
97
+ RegistrationType = Shapes::StringShape.new(name: 'RegistrationType')
98
+ RegistryCommercialCode = Shapes::StringShape.new(name: 'RegistryCommercialCode')
99
+ ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
100
+ RomaniaAdditionalInfo = Shapes::StructureShape.new(name: 'RomaniaAdditionalInfo')
101
+ S3BucketName = Shapes::StringShape.new(name: 'S3BucketName')
102
+ S3Key = Shapes::StringShape.new(name: 'S3Key')
103
+ S3Prefix = Shapes::StringShape.new(name: 'S3Prefix')
104
+ SaudiArabiaAdditionalInfo = Shapes::StructureShape.new(name: 'SaudiArabiaAdditionalInfo')
105
+ SaudiArabiaTaxRegistrationNumberType = Shapes::StringShape.new(name: 'SaudiArabiaTaxRegistrationNumberType')
106
+ SdiAccountId = Shapes::StringShape.new(name: 'SdiAccountId')
107
+ SecondaryTaxId = Shapes::StringShape.new(name: 'SecondaryTaxId')
108
+ Sector = Shapes::StringShape.new(name: 'Sector')
109
+ Seller = Shapes::StringShape.new(name: 'Seller')
110
+ SourceS3Location = Shapes::StructureShape.new(name: 'SourceS3Location')
111
+ SouthKoreaAdditionalInfo = Shapes::StructureShape.new(name: 'SouthKoreaAdditionalInfo')
112
+ SpainAdditionalInfo = Shapes::StructureShape.new(name: 'SpainAdditionalInfo')
113
+ State = Shapes::StringShape.new(name: 'State')
114
+ TaxCode = Shapes::StringShape.new(name: 'TaxCode')
115
+ TaxDocumentAccessToken = Shapes::StringShape.new(name: 'TaxDocumentAccessToken')
116
+ TaxDocumentMetadata = Shapes::StructureShape.new(name: 'TaxDocumentMetadata')
117
+ TaxDocumentMetadatas = Shapes::ListShape.new(name: 'TaxDocumentMetadatas')
118
+ TaxDocumentName = Shapes::StringShape.new(name: 'TaxDocumentName')
119
+ TaxInheritanceDetails = Shapes::StructureShape.new(name: 'TaxInheritanceDetails')
120
+ TaxOffice = Shapes::StringShape.new(name: 'TaxOffice')
121
+ TaxRegistration = Shapes::StructureShape.new(name: 'TaxRegistration')
122
+ TaxRegistrationDocument = Shapes::StructureShape.new(name: 'TaxRegistrationDocument')
123
+ TaxRegistrationDocuments = Shapes::ListShape.new(name: 'TaxRegistrationDocuments')
124
+ TaxRegistrationEntry = Shapes::StructureShape.new(name: 'TaxRegistrationEntry')
125
+ TaxRegistrationNumberType = Shapes::StringShape.new(name: 'TaxRegistrationNumberType')
126
+ TaxRegistrationStatus = Shapes::StringShape.new(name: 'TaxRegistrationStatus')
127
+ TaxRegistrationType = Shapes::StringShape.new(name: 'TaxRegistrationType')
128
+ TaxRegistrationWithJurisdiction = Shapes::StructureShape.new(name: 'TaxRegistrationWithJurisdiction')
129
+ TurkeyAdditionalInfo = Shapes::StructureShape.new(name: 'TurkeyAdditionalInfo')
130
+ UkraineAdditionalInfo = Shapes::StructureShape.new(name: 'UkraineAdditionalInfo')
131
+ UkraineTrnType = Shapes::StringShape.new(name: 'UkraineTrnType')
132
+ ValidationException = Shapes::StructureShape.new(name: 'ValidationException')
133
+ ValidationExceptionErrorCode = Shapes::StringShape.new(name: 'ValidationExceptionErrorCode')
134
+ ValidationExceptionField = Shapes::StructureShape.new(name: 'ValidationExceptionField')
135
+ ValidationExceptionFieldList = Shapes::ListShape.new(name: 'ValidationExceptionFieldList')
136
+ VerificationDetails = Shapes::StructureShape.new(name: 'VerificationDetails')
137
+
138
+ AccountDetails.add_member(:account_id, Shapes::ShapeRef.new(shape: AccountId, location_name: "accountId"))
139
+ AccountDetails.add_member(:account_meta_data, Shapes::ShapeRef.new(shape: AccountMetaData, location_name: "accountMetaData"))
140
+ AccountDetails.add_member(:tax_inheritance_details, Shapes::ShapeRef.new(shape: TaxInheritanceDetails, location_name: "taxInheritanceDetails"))
141
+ AccountDetails.add_member(:tax_registration, Shapes::ShapeRef.new(shape: TaxRegistrationWithJurisdiction, location_name: "taxRegistration"))
142
+ AccountDetails.struct_class = Types::AccountDetails
143
+
144
+ AccountDetailsList.member = Shapes::ShapeRef.new(shape: AccountDetails)
145
+
146
+ AccountIds.member = Shapes::ShapeRef.new(shape: AccountId)
147
+
148
+ AccountMetaData.add_member(:account_name, Shapes::ShapeRef.new(shape: AccountName, location_name: "accountName"))
149
+ AccountMetaData.add_member(:address, Shapes::ShapeRef.new(shape: Address, location_name: "address"))
150
+ AccountMetaData.add_member(:address_role_map, Shapes::ShapeRef.new(shape: AddressRoleMap, location_name: "addressRoleMap"))
151
+ AccountMetaData.add_member(:address_type, Shapes::ShapeRef.new(shape: AddressRoleType, location_name: "addressType"))
152
+ AccountMetaData.add_member(:seller, Shapes::ShapeRef.new(shape: Seller, location_name: "seller"))
153
+ AccountMetaData.struct_class = Types::AccountMetaData
154
+
155
+ AdditionalInfoRequest.add_member(:canada_additional_info, Shapes::ShapeRef.new(shape: CanadaAdditionalInfo, location_name: "canadaAdditionalInfo"))
156
+ AdditionalInfoRequest.add_member(:estonia_additional_info, Shapes::ShapeRef.new(shape: EstoniaAdditionalInfo, location_name: "estoniaAdditionalInfo"))
157
+ AdditionalInfoRequest.add_member(:georgia_additional_info, Shapes::ShapeRef.new(shape: GeorgiaAdditionalInfo, location_name: "georgiaAdditionalInfo"))
158
+ AdditionalInfoRequest.add_member(:israel_additional_info, Shapes::ShapeRef.new(shape: IsraelAdditionalInfo, location_name: "israelAdditionalInfo"))
159
+ AdditionalInfoRequest.add_member(:italy_additional_info, Shapes::ShapeRef.new(shape: ItalyAdditionalInfo, location_name: "italyAdditionalInfo"))
160
+ AdditionalInfoRequest.add_member(:kenya_additional_info, Shapes::ShapeRef.new(shape: KenyaAdditionalInfo, location_name: "kenyaAdditionalInfo"))
161
+ AdditionalInfoRequest.add_member(:malaysia_additional_info, Shapes::ShapeRef.new(shape: MalaysiaAdditionalInfo, location_name: "malaysiaAdditionalInfo"))
162
+ AdditionalInfoRequest.add_member(:poland_additional_info, Shapes::ShapeRef.new(shape: PolandAdditionalInfo, location_name: "polandAdditionalInfo"))
163
+ AdditionalInfoRequest.add_member(:romania_additional_info, Shapes::ShapeRef.new(shape: RomaniaAdditionalInfo, location_name: "romaniaAdditionalInfo"))
164
+ AdditionalInfoRequest.add_member(:saudi_arabia_additional_info, Shapes::ShapeRef.new(shape: SaudiArabiaAdditionalInfo, location_name: "saudiArabiaAdditionalInfo"))
165
+ AdditionalInfoRequest.add_member(:south_korea_additional_info, Shapes::ShapeRef.new(shape: SouthKoreaAdditionalInfo, location_name: "southKoreaAdditionalInfo"))
166
+ AdditionalInfoRequest.add_member(:spain_additional_info, Shapes::ShapeRef.new(shape: SpainAdditionalInfo, location_name: "spainAdditionalInfo"))
167
+ AdditionalInfoRequest.add_member(:turkey_additional_info, Shapes::ShapeRef.new(shape: TurkeyAdditionalInfo, location_name: "turkeyAdditionalInfo"))
168
+ AdditionalInfoRequest.add_member(:ukraine_additional_info, Shapes::ShapeRef.new(shape: UkraineAdditionalInfo, location_name: "ukraineAdditionalInfo"))
169
+ AdditionalInfoRequest.struct_class = Types::AdditionalInfoRequest
170
+
171
+ AdditionalInfoResponse.add_member(:brazil_additional_info, Shapes::ShapeRef.new(shape: BrazilAdditionalInfo, location_name: "brazilAdditionalInfo"))
172
+ AdditionalInfoResponse.add_member(:canada_additional_info, Shapes::ShapeRef.new(shape: CanadaAdditionalInfo, location_name: "canadaAdditionalInfo"))
173
+ AdditionalInfoResponse.add_member(:estonia_additional_info, Shapes::ShapeRef.new(shape: EstoniaAdditionalInfo, location_name: "estoniaAdditionalInfo"))
174
+ AdditionalInfoResponse.add_member(:georgia_additional_info, Shapes::ShapeRef.new(shape: GeorgiaAdditionalInfo, location_name: "georgiaAdditionalInfo"))
175
+ AdditionalInfoResponse.add_member(:india_additional_info, Shapes::ShapeRef.new(shape: IndiaAdditionalInfo, location_name: "indiaAdditionalInfo"))
176
+ AdditionalInfoResponse.add_member(:israel_additional_info, Shapes::ShapeRef.new(shape: IsraelAdditionalInfo, location_name: "israelAdditionalInfo"))
177
+ AdditionalInfoResponse.add_member(:italy_additional_info, Shapes::ShapeRef.new(shape: ItalyAdditionalInfo, location_name: "italyAdditionalInfo"))
178
+ AdditionalInfoResponse.add_member(:kenya_additional_info, Shapes::ShapeRef.new(shape: KenyaAdditionalInfo, location_name: "kenyaAdditionalInfo"))
179
+ AdditionalInfoResponse.add_member(:malaysia_additional_info, Shapes::ShapeRef.new(shape: MalaysiaAdditionalInfo, location_name: "malaysiaAdditionalInfo"))
180
+ AdditionalInfoResponse.add_member(:poland_additional_info, Shapes::ShapeRef.new(shape: PolandAdditionalInfo, location_name: "polandAdditionalInfo"))
181
+ AdditionalInfoResponse.add_member(:romania_additional_info, Shapes::ShapeRef.new(shape: RomaniaAdditionalInfo, location_name: "romaniaAdditionalInfo"))
182
+ AdditionalInfoResponse.add_member(:saudi_arabia_additional_info, Shapes::ShapeRef.new(shape: SaudiArabiaAdditionalInfo, location_name: "saudiArabiaAdditionalInfo"))
183
+ AdditionalInfoResponse.add_member(:south_korea_additional_info, Shapes::ShapeRef.new(shape: SouthKoreaAdditionalInfo, location_name: "southKoreaAdditionalInfo"))
184
+ AdditionalInfoResponse.add_member(:spain_additional_info, Shapes::ShapeRef.new(shape: SpainAdditionalInfo, location_name: "spainAdditionalInfo"))
185
+ AdditionalInfoResponse.add_member(:turkey_additional_info, Shapes::ShapeRef.new(shape: TurkeyAdditionalInfo, location_name: "turkeyAdditionalInfo"))
186
+ AdditionalInfoResponse.add_member(:ukraine_additional_info, Shapes::ShapeRef.new(shape: UkraineAdditionalInfo, location_name: "ukraineAdditionalInfo"))
187
+ AdditionalInfoResponse.struct_class = Types::AdditionalInfoResponse
188
+
189
+ Address.add_member(:address_line_1, Shapes::ShapeRef.new(shape: AddressLine1, required: true, location_name: "addressLine1"))
190
+ Address.add_member(:address_line_2, Shapes::ShapeRef.new(shape: AddressLine2, location_name: "addressLine2"))
191
+ Address.add_member(:address_line_3, Shapes::ShapeRef.new(shape: AddressLine3, location_name: "addressLine3"))
192
+ Address.add_member(:city, Shapes::ShapeRef.new(shape: City, required: true, location_name: "city"))
193
+ Address.add_member(:country_code, Shapes::ShapeRef.new(shape: CountryCode, required: true, location_name: "countryCode"))
194
+ Address.add_member(:district_or_county, Shapes::ShapeRef.new(shape: District, location_name: "districtOrCounty"))
195
+ Address.add_member(:postal_code, Shapes::ShapeRef.new(shape: PostalCode, required: true, location_name: "postalCode"))
196
+ Address.add_member(:state_or_region, Shapes::ShapeRef.new(shape: State, location_name: "stateOrRegion"))
197
+ Address.struct_class = Types::Address
198
+
199
+ AddressRoleMap.key = Shapes::ShapeRef.new(shape: AddressRoleType)
200
+ AddressRoleMap.value = Shapes::ShapeRef.new(shape: Jurisdiction)
201
+
202
+ BatchDeleteTaxRegistrationError.add_member(:account_id, Shapes::ShapeRef.new(shape: AccountId, required: true, location_name: "accountId"))
203
+ BatchDeleteTaxRegistrationError.add_member(:code, Shapes::ShapeRef.new(shape: ErrorCode, location_name: "code"))
204
+ BatchDeleteTaxRegistrationError.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, required: true, location_name: "message"))
205
+ BatchDeleteTaxRegistrationError.struct_class = Types::BatchDeleteTaxRegistrationError
206
+
207
+ BatchDeleteTaxRegistrationErrors.member = Shapes::ShapeRef.new(shape: BatchDeleteTaxRegistrationError)
208
+
209
+ BatchDeleteTaxRegistrationRequest.add_member(:account_ids, Shapes::ShapeRef.new(shape: AccountIds, required: true, location_name: "accountIds"))
210
+ BatchDeleteTaxRegistrationRequest.struct_class = Types::BatchDeleteTaxRegistrationRequest
211
+
212
+ BatchDeleteTaxRegistrationResponse.add_member(:errors, Shapes::ShapeRef.new(shape: BatchDeleteTaxRegistrationErrors, required: true, location_name: "errors"))
213
+ BatchDeleteTaxRegistrationResponse.struct_class = Types::BatchDeleteTaxRegistrationResponse
214
+
215
+ BatchPutTaxRegistrationError.add_member(:account_id, Shapes::ShapeRef.new(shape: AccountId, required: true, location_name: "accountId"))
216
+ BatchPutTaxRegistrationError.add_member(:code, Shapes::ShapeRef.new(shape: ErrorCode, location_name: "code"))
217
+ BatchPutTaxRegistrationError.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, required: true, location_name: "message"))
218
+ BatchPutTaxRegistrationError.struct_class = Types::BatchPutTaxRegistrationError
219
+
220
+ BatchPutTaxRegistrationErrors.member = Shapes::ShapeRef.new(shape: BatchPutTaxRegistrationError)
221
+
222
+ BatchPutTaxRegistrationRequest.add_member(:account_ids, Shapes::ShapeRef.new(shape: AccountIds, required: true, location_name: "accountIds"))
223
+ BatchPutTaxRegistrationRequest.add_member(:tax_registration_entry, Shapes::ShapeRef.new(shape: TaxRegistrationEntry, required: true, location_name: "taxRegistrationEntry"))
224
+ BatchPutTaxRegistrationRequest.struct_class = Types::BatchPutTaxRegistrationRequest
225
+
226
+ BatchPutTaxRegistrationResponse.add_member(:errors, Shapes::ShapeRef.new(shape: BatchPutTaxRegistrationErrors, required: true, location_name: "errors"))
227
+ BatchPutTaxRegistrationResponse.add_member(:status, Shapes::ShapeRef.new(shape: TaxRegistrationStatus, location_name: "status"))
228
+ BatchPutTaxRegistrationResponse.struct_class = Types::BatchPutTaxRegistrationResponse
229
+
230
+ BrazilAdditionalInfo.add_member(:ccm_code, Shapes::ShapeRef.new(shape: CcmCode, location_name: "ccmCode"))
231
+ BrazilAdditionalInfo.add_member(:legal_nature_code, Shapes::ShapeRef.new(shape: LegalNatureCode, location_name: "legalNatureCode"))
232
+ BrazilAdditionalInfo.struct_class = Types::BrazilAdditionalInfo
233
+
234
+ CanadaAdditionalInfo.add_member(:canada_quebec_sales_tax_number, Shapes::ShapeRef.new(shape: CanadaQuebecSalesTaxNumberString, location_name: "canadaQuebecSalesTaxNumber"))
235
+ CanadaAdditionalInfo.add_member(:canada_retail_sales_tax_number, Shapes::ShapeRef.new(shape: CanadaRetailSalesTaxNumberString, location_name: "canadaRetailSalesTaxNumber"))
236
+ CanadaAdditionalInfo.add_member(:is_reseller_account, Shapes::ShapeRef.new(shape: Boolean, location_name: "isResellerAccount"))
237
+ CanadaAdditionalInfo.add_member(:provincial_sales_tax_id, Shapes::ShapeRef.new(shape: CanadaProvincialSalesTaxIdString, location_name: "provincialSalesTaxId"))
238
+ CanadaAdditionalInfo.struct_class = Types::CanadaAdditionalInfo
239
+
240
+ ConflictException.add_member(:error_code, Shapes::ShapeRef.new(shape: ErrorCode, required: true, location_name: "errorCode"))
241
+ ConflictException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, required: true, location_name: "message"))
242
+ ConflictException.struct_class = Types::ConflictException
243
+
244
+ DeleteTaxRegistrationRequest.add_member(:account_id, Shapes::ShapeRef.new(shape: AccountId, location_name: "accountId"))
245
+ DeleteTaxRegistrationRequest.struct_class = Types::DeleteTaxRegistrationRequest
246
+
247
+ DeleteTaxRegistrationResponse.struct_class = Types::DeleteTaxRegistrationResponse
248
+
249
+ DestinationS3Location.add_member(:bucket, Shapes::ShapeRef.new(shape: S3BucketName, required: true, location_name: "bucket"))
250
+ DestinationS3Location.add_member(:prefix, Shapes::ShapeRef.new(shape: S3Prefix, location_name: "prefix"))
251
+ DestinationS3Location.struct_class = Types::DestinationS3Location
252
+
253
+ EstoniaAdditionalInfo.add_member(:registry_commercial_code, Shapes::ShapeRef.new(shape: RegistryCommercialCode, required: true, location_name: "registryCommercialCode"))
254
+ EstoniaAdditionalInfo.struct_class = Types::EstoniaAdditionalInfo
255
+
256
+ GeorgiaAdditionalInfo.add_member(:person_type, Shapes::ShapeRef.new(shape: PersonType, required: true, location_name: "personType"))
257
+ GeorgiaAdditionalInfo.struct_class = Types::GeorgiaAdditionalInfo
258
+
259
+ GetTaxRegistrationDocumentRequest.add_member(:destination_s3_location, Shapes::ShapeRef.new(shape: DestinationS3Location, required: true, location_name: "destinationS3Location"))
260
+ GetTaxRegistrationDocumentRequest.add_member(:tax_document_metadata, Shapes::ShapeRef.new(shape: TaxDocumentMetadata, required: true, location_name: "taxDocumentMetadata"))
261
+ GetTaxRegistrationDocumentRequest.struct_class = Types::GetTaxRegistrationDocumentRequest
262
+
263
+ GetTaxRegistrationDocumentResponse.add_member(:destination_file_path, Shapes::ShapeRef.new(shape: DestinationFilePath, location_name: "destinationFilePath"))
264
+ GetTaxRegistrationDocumentResponse.struct_class = Types::GetTaxRegistrationDocumentResponse
265
+
266
+ GetTaxRegistrationRequest.add_member(:account_id, Shapes::ShapeRef.new(shape: AccountId, location_name: "accountId"))
267
+ GetTaxRegistrationRequest.struct_class = Types::GetTaxRegistrationRequest
268
+
269
+ GetTaxRegistrationResponse.add_member(:tax_registration, Shapes::ShapeRef.new(shape: TaxRegistration, location_name: "taxRegistration"))
270
+ GetTaxRegistrationResponse.struct_class = Types::GetTaxRegistrationResponse
271
+
272
+ IndiaAdditionalInfo.add_member(:pan, Shapes::ShapeRef.new(shape: Pan, location_name: "pan"))
273
+ IndiaAdditionalInfo.struct_class = Types::IndiaAdditionalInfo
274
+
275
+ InternalServerException.add_member(:error_code, Shapes::ShapeRef.new(shape: ErrorCode, required: true, location_name: "errorCode"))
276
+ InternalServerException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, required: true, location_name: "message"))
277
+ InternalServerException.struct_class = Types::InternalServerException
278
+
279
+ IsraelAdditionalInfo.add_member(:customer_type, Shapes::ShapeRef.new(shape: IsraelCustomerType, required: true, location_name: "customerType"))
280
+ IsraelAdditionalInfo.add_member(:dealer_type, Shapes::ShapeRef.new(shape: IsraelDealerType, required: true, location_name: "dealerType"))
281
+ IsraelAdditionalInfo.struct_class = Types::IsraelAdditionalInfo
282
+
283
+ ItalyAdditionalInfo.add_member(:cig_number, Shapes::ShapeRef.new(shape: CigNumber, location_name: "cigNumber"))
284
+ ItalyAdditionalInfo.add_member(:cup_number, Shapes::ShapeRef.new(shape: CupNumber, location_name: "cupNumber"))
285
+ ItalyAdditionalInfo.add_member(:sdi_account_id, Shapes::ShapeRef.new(shape: SdiAccountId, location_name: "sdiAccountId"))
286
+ ItalyAdditionalInfo.add_member(:tax_code, Shapes::ShapeRef.new(shape: TaxCode, location_name: "taxCode"))
287
+ ItalyAdditionalInfo.struct_class = Types::ItalyAdditionalInfo
288
+
289
+ Jurisdiction.add_member(:country_code, Shapes::ShapeRef.new(shape: CountryCode, required: true, location_name: "countryCode"))
290
+ Jurisdiction.add_member(:state_or_region, Shapes::ShapeRef.new(shape: State, location_name: "stateOrRegion"))
291
+ Jurisdiction.struct_class = Types::Jurisdiction
292
+
293
+ KenyaAdditionalInfo.add_member(:person_type, Shapes::ShapeRef.new(shape: PersonType, required: true, location_name: "personType"))
294
+ KenyaAdditionalInfo.struct_class = Types::KenyaAdditionalInfo
295
+
296
+ ListTaxRegistrationsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "maxResults"))
297
+ ListTaxRegistrationsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationTokenString, location_name: "nextToken"))
298
+ ListTaxRegistrationsRequest.struct_class = Types::ListTaxRegistrationsRequest
299
+
300
+ ListTaxRegistrationsResponse.add_member(:account_details, Shapes::ShapeRef.new(shape: AccountDetailsList, required: true, location_name: "accountDetails"))
301
+ ListTaxRegistrationsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationTokenString, location_name: "nextToken"))
302
+ ListTaxRegistrationsResponse.struct_class = Types::ListTaxRegistrationsResponse
303
+
304
+ MalaysiaAdditionalInfo.add_member(:service_tax_codes, Shapes::ShapeRef.new(shape: MalaysiaServiceTaxCodesList, required: true, location_name: "serviceTaxCodes"))
305
+ MalaysiaAdditionalInfo.struct_class = Types::MalaysiaAdditionalInfo
306
+
307
+ MalaysiaServiceTaxCodesList.member = Shapes::ShapeRef.new(shape: MalaysiaServiceTaxCode)
308
+
309
+ PolandAdditionalInfo.add_member(:individual_registration_number, Shapes::ShapeRef.new(shape: IndividualRegistrationNumber, location_name: "individualRegistrationNumber"))
310
+ PolandAdditionalInfo.add_member(:is_group_vat_enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "isGroupVatEnabled"))
311
+ PolandAdditionalInfo.struct_class = Types::PolandAdditionalInfo
312
+
313
+ PutTaxRegistrationRequest.add_member(:account_id, Shapes::ShapeRef.new(shape: AccountId, location_name: "accountId"))
314
+ PutTaxRegistrationRequest.add_member(:tax_registration_entry, Shapes::ShapeRef.new(shape: TaxRegistrationEntry, required: true, location_name: "taxRegistrationEntry"))
315
+ PutTaxRegistrationRequest.struct_class = Types::PutTaxRegistrationRequest
316
+
317
+ PutTaxRegistrationResponse.add_member(:status, Shapes::ShapeRef.new(shape: TaxRegistrationStatus, location_name: "status"))
318
+ PutTaxRegistrationResponse.struct_class = Types::PutTaxRegistrationResponse
319
+
320
+ ResourceNotFoundException.add_member(:error_code, Shapes::ShapeRef.new(shape: ErrorCode, required: true, location_name: "errorCode"))
321
+ ResourceNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, required: true, location_name: "message"))
322
+ ResourceNotFoundException.struct_class = Types::ResourceNotFoundException
323
+
324
+ RomaniaAdditionalInfo.add_member(:tax_registration_number_type, Shapes::ShapeRef.new(shape: TaxRegistrationNumberType, required: true, location_name: "taxRegistrationNumberType"))
325
+ RomaniaAdditionalInfo.struct_class = Types::RomaniaAdditionalInfo
326
+
327
+ SaudiArabiaAdditionalInfo.add_member(:tax_registration_number_type, Shapes::ShapeRef.new(shape: SaudiArabiaTaxRegistrationNumberType, location_name: "taxRegistrationNumberType"))
328
+ SaudiArabiaAdditionalInfo.struct_class = Types::SaudiArabiaAdditionalInfo
329
+
330
+ SourceS3Location.add_member(:bucket, Shapes::ShapeRef.new(shape: S3BucketName, required: true, location_name: "bucket"))
331
+ SourceS3Location.add_member(:key, Shapes::ShapeRef.new(shape: S3Key, required: true, location_name: "key"))
332
+ SourceS3Location.struct_class = Types::SourceS3Location
333
+
334
+ SouthKoreaAdditionalInfo.add_member(:business_representative_name, Shapes::ShapeRef.new(shape: BusinessRepresentativeName, required: true, location_name: "businessRepresentativeName"))
335
+ SouthKoreaAdditionalInfo.add_member(:item_of_business, Shapes::ShapeRef.new(shape: ItemOfBusiness, required: true, location_name: "itemOfBusiness"))
336
+ SouthKoreaAdditionalInfo.add_member(:line_of_business, Shapes::ShapeRef.new(shape: LineOfBusiness, required: true, location_name: "lineOfBusiness"))
337
+ SouthKoreaAdditionalInfo.struct_class = Types::SouthKoreaAdditionalInfo
338
+
339
+ SpainAdditionalInfo.add_member(:registration_type, Shapes::ShapeRef.new(shape: RegistrationType, required: true, location_name: "registrationType"))
340
+ SpainAdditionalInfo.struct_class = Types::SpainAdditionalInfo
341
+
342
+ TaxDocumentMetadata.add_member(:tax_document_access_token, Shapes::ShapeRef.new(shape: TaxDocumentAccessToken, required: true, location_name: "taxDocumentAccessToken"))
343
+ TaxDocumentMetadata.add_member(:tax_document_name, Shapes::ShapeRef.new(shape: TaxDocumentName, required: true, location_name: "taxDocumentName"))
344
+ TaxDocumentMetadata.struct_class = Types::TaxDocumentMetadata
345
+
346
+ TaxDocumentMetadatas.member = Shapes::ShapeRef.new(shape: TaxDocumentMetadata)
347
+
348
+ TaxInheritanceDetails.add_member(:inheritance_obtained_reason, Shapes::ShapeRef.new(shape: InheritanceObtainedReason, location_name: "inheritanceObtainedReason"))
349
+ TaxInheritanceDetails.add_member(:parent_entity_id, Shapes::ShapeRef.new(shape: AccountId, location_name: "parentEntityId"))
350
+ TaxInheritanceDetails.struct_class = Types::TaxInheritanceDetails
351
+
352
+ TaxRegistration.add_member(:additional_tax_information, Shapes::ShapeRef.new(shape: AdditionalInfoResponse, location_name: "additionalTaxInformation"))
353
+ TaxRegistration.add_member(:certified_email_id, Shapes::ShapeRef.new(shape: CertifiedEmailId, location_name: "certifiedEmailId"))
354
+ TaxRegistration.add_member(:legal_address, Shapes::ShapeRef.new(shape: Address, required: true, location_name: "legalAddress"))
355
+ TaxRegistration.add_member(:legal_name, Shapes::ShapeRef.new(shape: LegalName, required: true, location_name: "legalName"))
356
+ TaxRegistration.add_member(:registration_id, Shapes::ShapeRef.new(shape: RegistrationId, required: true, location_name: "registrationId"))
357
+ TaxRegistration.add_member(:registration_type, Shapes::ShapeRef.new(shape: TaxRegistrationType, required: true, location_name: "registrationType"))
358
+ TaxRegistration.add_member(:sector, Shapes::ShapeRef.new(shape: Sector, location_name: "sector"))
359
+ TaxRegistration.add_member(:status, Shapes::ShapeRef.new(shape: TaxRegistrationStatus, required: true, location_name: "status"))
360
+ TaxRegistration.add_member(:tax_document_metadatas, Shapes::ShapeRef.new(shape: TaxDocumentMetadatas, location_name: "taxDocumentMetadatas"))
361
+ TaxRegistration.struct_class = Types::TaxRegistration
362
+
363
+ TaxRegistrationDocument.add_member(:s3_location, Shapes::ShapeRef.new(shape: SourceS3Location, required: true, location_name: "s3Location"))
364
+ TaxRegistrationDocument.struct_class = Types::TaxRegistrationDocument
365
+
366
+ TaxRegistrationDocuments.member = Shapes::ShapeRef.new(shape: TaxRegistrationDocument)
367
+
368
+ TaxRegistrationEntry.add_member(:additional_tax_information, Shapes::ShapeRef.new(shape: AdditionalInfoRequest, location_name: "additionalTaxInformation"))
369
+ TaxRegistrationEntry.add_member(:certified_email_id, Shapes::ShapeRef.new(shape: CertifiedEmailId, location_name: "certifiedEmailId"))
370
+ TaxRegistrationEntry.add_member(:legal_address, Shapes::ShapeRef.new(shape: Address, location_name: "legalAddress"))
371
+ TaxRegistrationEntry.add_member(:legal_name, Shapes::ShapeRef.new(shape: LegalName, location_name: "legalName"))
372
+ TaxRegistrationEntry.add_member(:registration_id, Shapes::ShapeRef.new(shape: RegistrationId, required: true, location_name: "registrationId"))
373
+ TaxRegistrationEntry.add_member(:registration_type, Shapes::ShapeRef.new(shape: TaxRegistrationType, required: true, location_name: "registrationType"))
374
+ TaxRegistrationEntry.add_member(:sector, Shapes::ShapeRef.new(shape: Sector, location_name: "sector"))
375
+ TaxRegistrationEntry.add_member(:verification_details, Shapes::ShapeRef.new(shape: VerificationDetails, location_name: "verificationDetails"))
376
+ TaxRegistrationEntry.struct_class = Types::TaxRegistrationEntry
377
+
378
+ TaxRegistrationWithJurisdiction.add_member(:additional_tax_information, Shapes::ShapeRef.new(shape: AdditionalInfoResponse, location_name: "additionalTaxInformation"))
379
+ TaxRegistrationWithJurisdiction.add_member(:certified_email_id, Shapes::ShapeRef.new(shape: CertifiedEmailId, location_name: "certifiedEmailId"))
380
+ TaxRegistrationWithJurisdiction.add_member(:jurisdiction, Shapes::ShapeRef.new(shape: Jurisdiction, required: true, location_name: "jurisdiction"))
381
+ TaxRegistrationWithJurisdiction.add_member(:legal_name, Shapes::ShapeRef.new(shape: LegalName, required: true, location_name: "legalName"))
382
+ TaxRegistrationWithJurisdiction.add_member(:registration_id, Shapes::ShapeRef.new(shape: RegistrationId, required: true, location_name: "registrationId"))
383
+ TaxRegistrationWithJurisdiction.add_member(:registration_type, Shapes::ShapeRef.new(shape: TaxRegistrationType, required: true, location_name: "registrationType"))
384
+ TaxRegistrationWithJurisdiction.add_member(:sector, Shapes::ShapeRef.new(shape: Sector, location_name: "sector"))
385
+ TaxRegistrationWithJurisdiction.add_member(:status, Shapes::ShapeRef.new(shape: TaxRegistrationStatus, required: true, location_name: "status"))
386
+ TaxRegistrationWithJurisdiction.add_member(:tax_document_metadatas, Shapes::ShapeRef.new(shape: TaxDocumentMetadatas, location_name: "taxDocumentMetadatas"))
387
+ TaxRegistrationWithJurisdiction.struct_class = Types::TaxRegistrationWithJurisdiction
388
+
389
+ TurkeyAdditionalInfo.add_member(:industries, Shapes::ShapeRef.new(shape: Industries, location_name: "industries"))
390
+ TurkeyAdditionalInfo.add_member(:kep_email_id, Shapes::ShapeRef.new(shape: KepEmailId, location_name: "kepEmailId"))
391
+ TurkeyAdditionalInfo.add_member(:secondary_tax_id, Shapes::ShapeRef.new(shape: SecondaryTaxId, location_name: "secondaryTaxId"))
392
+ TurkeyAdditionalInfo.add_member(:tax_office, Shapes::ShapeRef.new(shape: TaxOffice, location_name: "taxOffice"))
393
+ TurkeyAdditionalInfo.struct_class = Types::TurkeyAdditionalInfo
394
+
395
+ UkraineAdditionalInfo.add_member(:ukraine_trn_type, Shapes::ShapeRef.new(shape: UkraineTrnType, required: true, location_name: "ukraineTrnType"))
396
+ UkraineAdditionalInfo.struct_class = Types::UkraineAdditionalInfo
397
+
398
+ ValidationException.add_member(:error_code, Shapes::ShapeRef.new(shape: ValidationExceptionErrorCode, required: true, location_name: "errorCode"))
399
+ ValidationException.add_member(:field_list, Shapes::ShapeRef.new(shape: ValidationExceptionFieldList, location_name: "fieldList"))
400
+ ValidationException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, required: true, location_name: "message"))
401
+ ValidationException.struct_class = Types::ValidationException
402
+
403
+ ValidationExceptionField.add_member(:name, Shapes::ShapeRef.new(shape: FieldName, required: true, location_name: "name"))
404
+ ValidationExceptionField.struct_class = Types::ValidationExceptionField
405
+
406
+ ValidationExceptionFieldList.member = Shapes::ShapeRef.new(shape: ValidationExceptionField)
407
+
408
+ VerificationDetails.add_member(:date_of_birth, Shapes::ShapeRef.new(shape: DateOfBirth, location_name: "dateOfBirth"))
409
+ VerificationDetails.add_member(:tax_registration_documents, Shapes::ShapeRef.new(shape: TaxRegistrationDocuments, location_name: "taxRegistrationDocuments"))
410
+ VerificationDetails.struct_class = Types::VerificationDetails
411
+
412
+
413
+ # @api private
414
+ API = Seahorse::Model::Api.new.tap do |api|
415
+
416
+ api.version = "2018-05-10"
417
+
418
+ api.metadata = {
419
+ "apiVersion" => "2018-05-10",
420
+ "endpointPrefix" => "tax",
421
+ "jsonVersion" => "1.1",
422
+ "protocol" => "rest-json",
423
+ "protocols" => ["rest-json"],
424
+ "serviceFullName" => "Tax Settings",
425
+ "serviceId" => "TaxSettings",
426
+ "signatureVersion" => "v4",
427
+ "signingName" => "tax",
428
+ "uid" => "taxsettings-2018-05-10",
429
+ }
430
+
431
+ api.add_operation(:batch_delete_tax_registration, Seahorse::Model::Operation.new.tap do |o|
432
+ o.name = "BatchDeleteTaxRegistration"
433
+ o.http_method = "POST"
434
+ o.http_request_uri = "/BatchDeleteTaxRegistration"
435
+ o.input = Shapes::ShapeRef.new(shape: BatchDeleteTaxRegistrationRequest)
436
+ o.output = Shapes::ShapeRef.new(shape: BatchDeleteTaxRegistrationResponse)
437
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
438
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
439
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
440
+ end)
441
+
442
+ api.add_operation(:batch_put_tax_registration, Seahorse::Model::Operation.new.tap do |o|
443
+ o.name = "BatchPutTaxRegistration"
444
+ o.http_method = "POST"
445
+ o.http_request_uri = "/BatchPutTaxRegistration"
446
+ o.input = Shapes::ShapeRef.new(shape: BatchPutTaxRegistrationRequest)
447
+ o.output = Shapes::ShapeRef.new(shape: BatchPutTaxRegistrationResponse)
448
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
449
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
450
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
451
+ end)
452
+
453
+ api.add_operation(:delete_tax_registration, Seahorse::Model::Operation.new.tap do |o|
454
+ o.name = "DeleteTaxRegistration"
455
+ o.http_method = "POST"
456
+ o.http_request_uri = "/DeleteTaxRegistration"
457
+ o.input = Shapes::ShapeRef.new(shape: DeleteTaxRegistrationRequest)
458
+ o.output = Shapes::ShapeRef.new(shape: DeleteTaxRegistrationResponse)
459
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
460
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
461
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
462
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
463
+ end)
464
+
465
+ api.add_operation(:get_tax_registration, Seahorse::Model::Operation.new.tap do |o|
466
+ o.name = "GetTaxRegistration"
467
+ o.http_method = "POST"
468
+ o.http_request_uri = "/GetTaxRegistration"
469
+ o.input = Shapes::ShapeRef.new(shape: GetTaxRegistrationRequest)
470
+ o.output = Shapes::ShapeRef.new(shape: GetTaxRegistrationResponse)
471
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
472
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
473
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
474
+ end)
475
+
476
+ api.add_operation(:get_tax_registration_document, Seahorse::Model::Operation.new.tap do |o|
477
+ o.name = "GetTaxRegistrationDocument"
478
+ o.http_method = "POST"
479
+ o.http_request_uri = "/GetTaxRegistrationDocument"
480
+ o.input = Shapes::ShapeRef.new(shape: GetTaxRegistrationDocumentRequest)
481
+ o.output = Shapes::ShapeRef.new(shape: GetTaxRegistrationDocumentResponse)
482
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
483
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
484
+ end)
485
+
486
+ api.add_operation(:list_tax_registrations, Seahorse::Model::Operation.new.tap do |o|
487
+ o.name = "ListTaxRegistrations"
488
+ o.http_method = "POST"
489
+ o.http_request_uri = "/ListTaxRegistrations"
490
+ o.input = Shapes::ShapeRef.new(shape: ListTaxRegistrationsRequest)
491
+ o.output = Shapes::ShapeRef.new(shape: ListTaxRegistrationsResponse)
492
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
493
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
494
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
495
+ o[:pager] = Aws::Pager.new(
496
+ limit_key: "max_results",
497
+ tokens: {
498
+ "next_token" => "next_token"
499
+ }
500
+ )
501
+ end)
502
+
503
+ api.add_operation(:put_tax_registration, Seahorse::Model::Operation.new.tap do |o|
504
+ o.name = "PutTaxRegistration"
505
+ o.http_method = "POST"
506
+ o.http_request_uri = "/PutTaxRegistration"
507
+ o.input = Shapes::ShapeRef.new(shape: PutTaxRegistrationRequest)
508
+ o.output = Shapes::ShapeRef.new(shape: PutTaxRegistrationResponse)
509
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
510
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
511
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
512
+ end)
513
+ end
514
+
515
+ end
516
+ end
File without changes
@@ -0,0 +1,66 @@
1
+ # frozen_string_literal: true
2
+
3
+ # WARNING ABOUT GENERATED CODE
4
+ #
5
+ # This file is generated. See the contributing guide for more information:
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
+ #
8
+ # WARNING ABOUT GENERATED CODE
9
+
10
+ module Aws::TaxSettings
11
+ # Endpoint parameters used to influence endpoints per request.
12
+ #
13
+ # @!attribute region
14
+ # The AWS region used to dispatch the request.
15
+ #
16
+ # @return [String]
17
+ #
18
+ # @!attribute use_dual_stack
19
+ # When true, use the dual-stack endpoint. If the configured endpoint does not support dual-stack, dispatching the request MAY return an error.
20
+ #
21
+ # @return [Boolean]
22
+ #
23
+ # @!attribute use_fips
24
+ # When true, send this request to the FIPS-compliant regional endpoint. If the configured endpoint does not have a FIPS compliant endpoint, dispatching the request will return an error.
25
+ #
26
+ # @return [Boolean]
27
+ #
28
+ # @!attribute endpoint
29
+ # Override the endpoint used to send this request
30
+ #
31
+ # @return [String]
32
+ #
33
+ EndpointParameters = Struct.new(
34
+ :region,
35
+ :use_dual_stack,
36
+ :use_fips,
37
+ :endpoint,
38
+ ) do
39
+ include Aws::Structure
40
+
41
+ # @api private
42
+ class << self
43
+ PARAM_MAP = {
44
+ 'Region' => :region,
45
+ 'UseDualStack' => :use_dual_stack,
46
+ 'UseFIPS' => :use_fips,
47
+ 'Endpoint' => :endpoint,
48
+ }.freeze
49
+ end
50
+
51
+ def initialize(options = {})
52
+ self[:region] = options[:region]
53
+ self[:use_dual_stack] = options[:use_dual_stack]
54
+ self[:use_dual_stack] = false if self[:use_dual_stack].nil?
55
+ if self[:use_dual_stack].nil?
56
+ raise ArgumentError, "Missing required EndpointParameter: :use_dual_stack"
57
+ end
58
+ self[:use_fips] = options[:use_fips]
59
+ self[:use_fips] = false if self[:use_fips].nil?
60
+ if self[:use_fips].nil?
61
+ raise ArgumentError, "Missing required EndpointParameter: :use_fips"
62
+ end
63
+ self[:endpoint] = options[:endpoint]
64
+ end
65
+ end
66
+ end