aws-sdk-invoicing 1.6.0 → 1.7.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.
@@ -17,21 +17,41 @@ module Aws::Invoicing
17
17
  AccessDeniedException = Shapes::StructureShape.new(name: 'AccessDeniedException')
18
18
  AccountIdList = Shapes::ListShape.new(name: 'AccountIdList')
19
19
  AccountIdString = Shapes::StringShape.new(name: 'AccountIdString')
20
+ AmountBreakdown = Shapes::StructureShape.new(name: 'AmountBreakdown')
20
21
  AsOfTimestamp = Shapes::TimestampShape.new(name: 'AsOfTimestamp')
21
22
  BasicString = Shapes::StringShape.new(name: 'BasicString')
23
+ BasicStringWithoutSpace = Shapes::StringShape.new(name: 'BasicStringWithoutSpace')
22
24
  BatchGetInvoiceProfileRequest = Shapes::StructureShape.new(name: 'BatchGetInvoiceProfileRequest')
23
25
  BatchGetInvoiceProfileResponse = Shapes::StructureShape.new(name: 'BatchGetInvoiceProfileResponse')
26
+ BillingPeriod = Shapes::StructureShape.new(name: 'BillingPeriod')
24
27
  CreateInvoiceUnitRequest = Shapes::StructureShape.new(name: 'CreateInvoiceUnitRequest')
25
28
  CreateInvoiceUnitResponse = Shapes::StructureShape.new(name: 'CreateInvoiceUnitResponse')
29
+ CurrencyCode = Shapes::StringShape.new(name: 'CurrencyCode')
30
+ CurrencyExchangeDetails = Shapes::StructureShape.new(name: 'CurrencyExchangeDetails')
31
+ DateInterval = Shapes::StructureShape.new(name: 'DateInterval')
26
32
  DeleteInvoiceUnitRequest = Shapes::StructureShape.new(name: 'DeleteInvoiceUnitRequest')
27
33
  DeleteInvoiceUnitResponse = Shapes::StructureShape.new(name: 'DeleteInvoiceUnitResponse')
28
34
  DescriptionString = Shapes::StringShape.new(name: 'DescriptionString')
35
+ DiscountsBreakdown = Shapes::StructureShape.new(name: 'DiscountsBreakdown')
36
+ DiscountsBreakdownAmount = Shapes::StructureShape.new(name: 'DiscountsBreakdownAmount')
37
+ DiscountsBreakdownAmountList = Shapes::ListShape.new(name: 'DiscountsBreakdownAmountList')
38
+ Entity = Shapes::StructureShape.new(name: 'Entity')
39
+ FeesBreakdown = Shapes::StructureShape.new(name: 'FeesBreakdown')
40
+ FeesBreakdownAmount = Shapes::StructureShape.new(name: 'FeesBreakdownAmount')
41
+ FeesBreakdownAmountList = Shapes::ListShape.new(name: 'FeesBreakdownAmountList')
29
42
  Filters = Shapes::StructureShape.new(name: 'Filters')
30
43
  GetInvoiceUnitRequest = Shapes::StructureShape.new(name: 'GetInvoiceUnitRequest')
31
44
  GetInvoiceUnitResponse = Shapes::StructureShape.new(name: 'GetInvoiceUnitResponse')
32
45
  Integer = Shapes::IntegerShape.new(name: 'Integer')
33
46
  InternalServerException = Shapes::StructureShape.new(name: 'InternalServerException')
47
+ InvoiceCurrencyAmount = Shapes::StructureShape.new(name: 'InvoiceCurrencyAmount')
34
48
  InvoiceProfile = Shapes::StructureShape.new(name: 'InvoiceProfile')
49
+ InvoiceSummaries = Shapes::ListShape.new(name: 'InvoiceSummaries')
50
+ InvoiceSummariesFilter = Shapes::StructureShape.new(name: 'InvoiceSummariesFilter')
51
+ InvoiceSummariesMaxResults = Shapes::IntegerShape.new(name: 'InvoiceSummariesMaxResults')
52
+ InvoiceSummariesSelector = Shapes::StructureShape.new(name: 'InvoiceSummariesSelector')
53
+ InvoiceSummary = Shapes::StructureShape.new(name: 'InvoiceSummary')
54
+ InvoiceType = Shapes::StringShape.new(name: 'InvoiceType')
35
55
  InvoiceUnit = Shapes::StructureShape.new(name: 'InvoiceUnit')
36
56
  InvoiceUnitArnString = Shapes::StringShape.new(name: 'InvoiceUnitArnString')
37
57
  InvoiceUnitName = Shapes::StringShape.new(name: 'InvoiceUnitName')
@@ -39,11 +59,15 @@ module Aws::Invoicing
39
59
  InvoiceUnitRule = Shapes::StructureShape.new(name: 'InvoiceUnitRule')
40
60
  InvoiceUnits = Shapes::ListShape.new(name: 'InvoiceUnits')
41
61
  LastModifiedTimestamp = Shapes::TimestampShape.new(name: 'LastModifiedTimestamp')
62
+ ListInvoiceSummariesRequest = Shapes::StructureShape.new(name: 'ListInvoiceSummariesRequest')
63
+ ListInvoiceSummariesResourceType = Shapes::StringShape.new(name: 'ListInvoiceSummariesResourceType')
64
+ ListInvoiceSummariesResponse = Shapes::StructureShape.new(name: 'ListInvoiceSummariesResponse')
42
65
  ListInvoiceUnitsRequest = Shapes::StructureShape.new(name: 'ListInvoiceUnitsRequest')
43
66
  ListInvoiceUnitsResponse = Shapes::StructureShape.new(name: 'ListInvoiceUnitsResponse')
44
67
  ListTagsForResourceRequest = Shapes::StructureShape.new(name: 'ListTagsForResourceRequest')
45
68
  ListTagsForResourceResponse = Shapes::StructureShape.new(name: 'ListTagsForResourceResponse')
46
69
  MaxResultsInteger = Shapes::IntegerShape.new(name: 'MaxResultsInteger')
70
+ Month = Shapes::IntegerShape.new(name: 'Month')
47
71
  NextTokenString = Shapes::StringShape.new(name: 'NextTokenString')
48
72
  ProfileList = Shapes::ListShape.new(name: 'ProfileList')
49
73
  ReceiverAddress = Shapes::StructureShape.new(name: 'ReceiverAddress')
@@ -53,13 +77,18 @@ module Aws::Invoicing
53
77
  ResourceTagKeyList = Shapes::ListShape.new(name: 'ResourceTagKeyList')
54
78
  ResourceTagList = Shapes::ListShape.new(name: 'ResourceTagList')
55
79
  ResourceTagValue = Shapes::StringShape.new(name: 'ResourceTagValue')
56
- SensitiveBasicString = Shapes::StringShape.new(name: 'SensitiveBasicString')
80
+ SensitiveBasicStringWithoutSpace = Shapes::StringShape.new(name: 'SensitiveBasicStringWithoutSpace')
57
81
  ServiceQuotaExceededException = Shapes::StructureShape.new(name: 'ServiceQuotaExceededException')
82
+ StringWithoutNewLine = Shapes::StringShape.new(name: 'StringWithoutNewLine')
58
83
  TagResourceRequest = Shapes::StructureShape.new(name: 'TagResourceRequest')
59
84
  TagResourceResponse = Shapes::StructureShape.new(name: 'TagResourceResponse')
60
85
  TagrisArn = Shapes::StringShape.new(name: 'TagrisArn')
61
86
  TaxInheritanceDisabledFlag = Shapes::BooleanShape.new(name: 'TaxInheritanceDisabledFlag')
87
+ TaxesBreakdown = Shapes::StructureShape.new(name: 'TaxesBreakdown')
88
+ TaxesBreakdownAmount = Shapes::StructureShape.new(name: 'TaxesBreakdownAmount')
89
+ TaxesBreakdownAmountList = Shapes::ListShape.new(name: 'TaxesBreakdownAmountList')
62
90
  ThrottlingException = Shapes::StructureShape.new(name: 'ThrottlingException')
91
+ Timestamp = Shapes::TimestampShape.new(name: 'Timestamp')
63
92
  UntagResourceRequest = Shapes::StructureShape.new(name: 'UntagResourceRequest')
64
93
  UntagResourceResponse = Shapes::StructureShape.new(name: 'UntagResourceResponse')
65
94
  UpdateInvoiceUnitRequest = Shapes::StructureShape.new(name: 'UpdateInvoiceUnitRequest')
@@ -68,6 +97,7 @@ module Aws::Invoicing
68
97
  ValidationExceptionField = Shapes::StructureShape.new(name: 'ValidationExceptionField')
69
98
  ValidationExceptionFieldList = Shapes::ListShape.new(name: 'ValidationExceptionFieldList')
70
99
  ValidationExceptionReason = Shapes::StringShape.new(name: 'ValidationExceptionReason')
100
+ Year = Shapes::IntegerShape.new(name: 'Year')
71
101
 
72
102
  AccessDeniedException.add_member(:message, Shapes::ShapeRef.new(shape: BasicString, location_name: "message"))
73
103
  AccessDeniedException.add_member(:resource_name, Shapes::ShapeRef.new(shape: InvoiceUnitArnString, location_name: "resourceName"))
@@ -75,12 +105,22 @@ module Aws::Invoicing
75
105
 
76
106
  AccountIdList.member = Shapes::ShapeRef.new(shape: AccountIdString)
77
107
 
108
+ AmountBreakdown.add_member(:sub_total_amount, Shapes::ShapeRef.new(shape: BasicString, location_name: "SubTotalAmount"))
109
+ AmountBreakdown.add_member(:discounts, Shapes::ShapeRef.new(shape: DiscountsBreakdown, location_name: "Discounts"))
110
+ AmountBreakdown.add_member(:taxes, Shapes::ShapeRef.new(shape: TaxesBreakdown, location_name: "Taxes"))
111
+ AmountBreakdown.add_member(:fees, Shapes::ShapeRef.new(shape: FeesBreakdown, location_name: "Fees"))
112
+ AmountBreakdown.struct_class = Types::AmountBreakdown
113
+
78
114
  BatchGetInvoiceProfileRequest.add_member(:account_ids, Shapes::ShapeRef.new(shape: AccountIdList, required: true, location_name: "AccountIds"))
79
115
  BatchGetInvoiceProfileRequest.struct_class = Types::BatchGetInvoiceProfileRequest
80
116
 
81
117
  BatchGetInvoiceProfileResponse.add_member(:profiles, Shapes::ShapeRef.new(shape: ProfileList, location_name: "Profiles"))
82
118
  BatchGetInvoiceProfileResponse.struct_class = Types::BatchGetInvoiceProfileResponse
83
119
 
120
+ BillingPeriod.add_member(:month, Shapes::ShapeRef.new(shape: Month, required: true, location_name: "Month"))
121
+ BillingPeriod.add_member(:year, Shapes::ShapeRef.new(shape: Year, required: true, location_name: "Year"))
122
+ BillingPeriod.struct_class = Types::BillingPeriod
123
+
84
124
  CreateInvoiceUnitRequest.add_member(:name, Shapes::ShapeRef.new(shape: InvoiceUnitName, required: true, location_name: "Name"))
85
125
  CreateInvoiceUnitRequest.add_member(:invoice_receiver, Shapes::ShapeRef.new(shape: AccountIdString, required: true, location_name: "InvoiceReceiver"))
86
126
  CreateInvoiceUnitRequest.add_member(:description, Shapes::ShapeRef.new(shape: DescriptionString, location_name: "Description"))
@@ -92,12 +132,46 @@ module Aws::Invoicing
92
132
  CreateInvoiceUnitResponse.add_member(:invoice_unit_arn, Shapes::ShapeRef.new(shape: InvoiceUnitArnString, location_name: "InvoiceUnitArn"))
93
133
  CreateInvoiceUnitResponse.struct_class = Types::CreateInvoiceUnitResponse
94
134
 
135
+ CurrencyExchangeDetails.add_member(:source_currency_code, Shapes::ShapeRef.new(shape: BasicString, location_name: "SourceCurrencyCode"))
136
+ CurrencyExchangeDetails.add_member(:target_currency_code, Shapes::ShapeRef.new(shape: BasicString, location_name: "TargetCurrencyCode"))
137
+ CurrencyExchangeDetails.add_member(:rate, Shapes::ShapeRef.new(shape: BasicString, location_name: "Rate"))
138
+ CurrencyExchangeDetails.struct_class = Types::CurrencyExchangeDetails
139
+
140
+ DateInterval.add_member(:start_date, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "StartDate"))
141
+ DateInterval.add_member(:end_date, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "EndDate"))
142
+ DateInterval.struct_class = Types::DateInterval
143
+
95
144
  DeleteInvoiceUnitRequest.add_member(:invoice_unit_arn, Shapes::ShapeRef.new(shape: InvoiceUnitArnString, required: true, location_name: "InvoiceUnitArn"))
96
145
  DeleteInvoiceUnitRequest.struct_class = Types::DeleteInvoiceUnitRequest
97
146
 
98
147
  DeleteInvoiceUnitResponse.add_member(:invoice_unit_arn, Shapes::ShapeRef.new(shape: InvoiceUnitArnString, location_name: "InvoiceUnitArn"))
99
148
  DeleteInvoiceUnitResponse.struct_class = Types::DeleteInvoiceUnitResponse
100
149
 
150
+ DiscountsBreakdown.add_member(:breakdown, Shapes::ShapeRef.new(shape: DiscountsBreakdownAmountList, location_name: "Breakdown"))
151
+ DiscountsBreakdown.add_member(:total_amount, Shapes::ShapeRef.new(shape: BasicString, location_name: "TotalAmount"))
152
+ DiscountsBreakdown.struct_class = Types::DiscountsBreakdown
153
+
154
+ DiscountsBreakdownAmount.add_member(:description, Shapes::ShapeRef.new(shape: BasicString, location_name: "Description"))
155
+ DiscountsBreakdownAmount.add_member(:amount, Shapes::ShapeRef.new(shape: BasicString, location_name: "Amount"))
156
+ DiscountsBreakdownAmount.add_member(:rate, Shapes::ShapeRef.new(shape: BasicString, location_name: "Rate"))
157
+ DiscountsBreakdownAmount.struct_class = Types::DiscountsBreakdownAmount
158
+
159
+ DiscountsBreakdownAmountList.member = Shapes::ShapeRef.new(shape: DiscountsBreakdownAmount)
160
+
161
+ Entity.add_member(:invoicing_entity, Shapes::ShapeRef.new(shape: BasicString, location_name: "InvoicingEntity"))
162
+ Entity.struct_class = Types::Entity
163
+
164
+ FeesBreakdown.add_member(:breakdown, Shapes::ShapeRef.new(shape: FeesBreakdownAmountList, location_name: "Breakdown"))
165
+ FeesBreakdown.add_member(:total_amount, Shapes::ShapeRef.new(shape: BasicString, location_name: "TotalAmount"))
166
+ FeesBreakdown.struct_class = Types::FeesBreakdown
167
+
168
+ FeesBreakdownAmount.add_member(:description, Shapes::ShapeRef.new(shape: BasicString, location_name: "Description"))
169
+ FeesBreakdownAmount.add_member(:amount, Shapes::ShapeRef.new(shape: BasicString, location_name: "Amount"))
170
+ FeesBreakdownAmount.add_member(:rate, Shapes::ShapeRef.new(shape: BasicString, location_name: "Rate"))
171
+ FeesBreakdownAmount.struct_class = Types::FeesBreakdownAmount
172
+
173
+ FeesBreakdownAmountList.member = Shapes::ShapeRef.new(shape: FeesBreakdownAmount)
174
+
101
175
  Filters.add_member(:names, Shapes::ShapeRef.new(shape: InvoiceUnitNames, location_name: "Names"))
102
176
  Filters.add_member(:invoice_receivers, Shapes::ShapeRef.new(shape: AccountIdList, location_name: "InvoiceReceivers"))
103
177
  Filters.add_member(:accounts, Shapes::ShapeRef.new(shape: AccountIdList, location_name: "Accounts"))
@@ -120,14 +194,46 @@ module Aws::Invoicing
120
194
  InternalServerException.add_member(:message, Shapes::ShapeRef.new(shape: BasicString, location_name: "message"))
121
195
  InternalServerException.struct_class = Types::InternalServerException
122
196
 
197
+ InvoiceCurrencyAmount.add_member(:total_amount, Shapes::ShapeRef.new(shape: BasicString, location_name: "TotalAmount"))
198
+ InvoiceCurrencyAmount.add_member(:total_amount_before_tax, Shapes::ShapeRef.new(shape: BasicString, location_name: "TotalAmountBeforeTax"))
199
+ InvoiceCurrencyAmount.add_member(:currency_code, Shapes::ShapeRef.new(shape: CurrencyCode, location_name: "CurrencyCode"))
200
+ InvoiceCurrencyAmount.add_member(:amount_breakdown, Shapes::ShapeRef.new(shape: AmountBreakdown, location_name: "AmountBreakdown"))
201
+ InvoiceCurrencyAmount.add_member(:currency_exchange_details, Shapes::ShapeRef.new(shape: CurrencyExchangeDetails, location_name: "CurrencyExchangeDetails"))
202
+ InvoiceCurrencyAmount.struct_class = Types::InvoiceCurrencyAmount
203
+
123
204
  InvoiceProfile.add_member(:account_id, Shapes::ShapeRef.new(shape: AccountIdString, location_name: "AccountId"))
124
- InvoiceProfile.add_member(:receiver_name, Shapes::ShapeRef.new(shape: BasicString, location_name: "ReceiverName"))
205
+ InvoiceProfile.add_member(:receiver_name, Shapes::ShapeRef.new(shape: BasicStringWithoutSpace, location_name: "ReceiverName"))
125
206
  InvoiceProfile.add_member(:receiver_address, Shapes::ShapeRef.new(shape: ReceiverAddress, location_name: "ReceiverAddress"))
126
- InvoiceProfile.add_member(:receiver_email, Shapes::ShapeRef.new(shape: SensitiveBasicString, location_name: "ReceiverEmail"))
127
- InvoiceProfile.add_member(:issuer, Shapes::ShapeRef.new(shape: BasicString, location_name: "Issuer"))
128
- InvoiceProfile.add_member(:tax_registration_number, Shapes::ShapeRef.new(shape: SensitiveBasicString, location_name: "TaxRegistrationNumber"))
207
+ InvoiceProfile.add_member(:receiver_email, Shapes::ShapeRef.new(shape: SensitiveBasicStringWithoutSpace, location_name: "ReceiverEmail"))
208
+ InvoiceProfile.add_member(:issuer, Shapes::ShapeRef.new(shape: BasicStringWithoutSpace, location_name: "Issuer"))
209
+ InvoiceProfile.add_member(:tax_registration_number, Shapes::ShapeRef.new(shape: SensitiveBasicStringWithoutSpace, location_name: "TaxRegistrationNumber"))
129
210
  InvoiceProfile.struct_class = Types::InvoiceProfile
130
211
 
212
+ InvoiceSummaries.member = Shapes::ShapeRef.new(shape: InvoiceSummary)
213
+
214
+ InvoiceSummariesFilter.add_member(:time_interval, Shapes::ShapeRef.new(shape: DateInterval, location_name: "TimeInterval"))
215
+ InvoiceSummariesFilter.add_member(:billing_period, Shapes::ShapeRef.new(shape: BillingPeriod, location_name: "BillingPeriod"))
216
+ InvoiceSummariesFilter.add_member(:invoicing_entity, Shapes::ShapeRef.new(shape: BasicString, location_name: "InvoicingEntity"))
217
+ InvoiceSummariesFilter.struct_class = Types::InvoiceSummariesFilter
218
+
219
+ InvoiceSummariesSelector.add_member(:resource_type, Shapes::ShapeRef.new(shape: ListInvoiceSummariesResourceType, required: true, location_name: "ResourceType"))
220
+ InvoiceSummariesSelector.add_member(:value, Shapes::ShapeRef.new(shape: StringWithoutNewLine, required: true, location_name: "Value"))
221
+ InvoiceSummariesSelector.struct_class = Types::InvoiceSummariesSelector
222
+
223
+ InvoiceSummary.add_member(:account_id, Shapes::ShapeRef.new(shape: AccountIdString, location_name: "AccountId"))
224
+ InvoiceSummary.add_member(:invoice_id, Shapes::ShapeRef.new(shape: BasicString, location_name: "InvoiceId"))
225
+ InvoiceSummary.add_member(:issued_date, Shapes::ShapeRef.new(shape: Timestamp, location_name: "IssuedDate"))
226
+ InvoiceSummary.add_member(:due_date, Shapes::ShapeRef.new(shape: Timestamp, location_name: "DueDate"))
227
+ InvoiceSummary.add_member(:entity, Shapes::ShapeRef.new(shape: Entity, location_name: "Entity"))
228
+ InvoiceSummary.add_member(:billing_period, Shapes::ShapeRef.new(shape: BillingPeriod, location_name: "BillingPeriod"))
229
+ InvoiceSummary.add_member(:invoice_type, Shapes::ShapeRef.new(shape: InvoiceType, location_name: "InvoiceType"))
230
+ InvoiceSummary.add_member(:original_invoice_id, Shapes::ShapeRef.new(shape: BasicString, location_name: "OriginalInvoiceId"))
231
+ InvoiceSummary.add_member(:purchase_order_number, Shapes::ShapeRef.new(shape: BasicString, location_name: "PurchaseOrderNumber"))
232
+ InvoiceSummary.add_member(:base_currency_amount, Shapes::ShapeRef.new(shape: InvoiceCurrencyAmount, location_name: "BaseCurrencyAmount"))
233
+ InvoiceSummary.add_member(:tax_currency_amount, Shapes::ShapeRef.new(shape: InvoiceCurrencyAmount, location_name: "TaxCurrencyAmount"))
234
+ InvoiceSummary.add_member(:payment_currency_amount, Shapes::ShapeRef.new(shape: InvoiceCurrencyAmount, location_name: "PaymentCurrencyAmount"))
235
+ InvoiceSummary.struct_class = Types::InvoiceSummary
236
+
131
237
  InvoiceUnit.add_member(:invoice_unit_arn, Shapes::ShapeRef.new(shape: InvoiceUnitArnString, location_name: "InvoiceUnitArn"))
132
238
  InvoiceUnit.add_member(:invoice_receiver, Shapes::ShapeRef.new(shape: AccountIdString, location_name: "InvoiceReceiver"))
133
239
  InvoiceUnit.add_member(:name, Shapes::ShapeRef.new(shape: InvoiceUnitName, location_name: "Name"))
@@ -144,6 +250,16 @@ module Aws::Invoicing
144
250
 
145
251
  InvoiceUnits.member = Shapes::ShapeRef.new(shape: InvoiceUnit)
146
252
 
253
+ ListInvoiceSummariesRequest.add_member(:selector, Shapes::ShapeRef.new(shape: InvoiceSummariesSelector, required: true, location_name: "Selector"))
254
+ ListInvoiceSummariesRequest.add_member(:filter, Shapes::ShapeRef.new(shape: InvoiceSummariesFilter, location_name: "Filter"))
255
+ ListInvoiceSummariesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextTokenString, location_name: "NextToken"))
256
+ ListInvoiceSummariesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: InvoiceSummariesMaxResults, location_name: "MaxResults"))
257
+ ListInvoiceSummariesRequest.struct_class = Types::ListInvoiceSummariesRequest
258
+
259
+ ListInvoiceSummariesResponse.add_member(:invoice_summaries, Shapes::ShapeRef.new(shape: InvoiceSummaries, required: true, location_name: "InvoiceSummaries"))
260
+ ListInvoiceSummariesResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextTokenString, location_name: "NextToken"))
261
+ ListInvoiceSummariesResponse.struct_class = Types::ListInvoiceSummariesResponse
262
+
147
263
  ListInvoiceUnitsRequest.add_member(:filters, Shapes::ShapeRef.new(shape: Filters, location_name: "Filters"))
148
264
  ListInvoiceUnitsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextTokenString, location_name: "NextToken"))
149
265
  ListInvoiceUnitsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResultsInteger, location_name: "MaxResults"))
@@ -194,6 +310,17 @@ module Aws::Invoicing
194
310
 
195
311
  TagResourceResponse.struct_class = Types::TagResourceResponse
196
312
 
313
+ TaxesBreakdown.add_member(:breakdown, Shapes::ShapeRef.new(shape: TaxesBreakdownAmountList, location_name: "Breakdown"))
314
+ TaxesBreakdown.add_member(:total_amount, Shapes::ShapeRef.new(shape: BasicString, location_name: "TotalAmount"))
315
+ TaxesBreakdown.struct_class = Types::TaxesBreakdown
316
+
317
+ TaxesBreakdownAmount.add_member(:description, Shapes::ShapeRef.new(shape: BasicString, location_name: "Description"))
318
+ TaxesBreakdownAmount.add_member(:amount, Shapes::ShapeRef.new(shape: BasicString, location_name: "Amount"))
319
+ TaxesBreakdownAmount.add_member(:rate, Shapes::ShapeRef.new(shape: BasicString, location_name: "Rate"))
320
+ TaxesBreakdownAmount.struct_class = Types::TaxesBreakdownAmount
321
+
322
+ TaxesBreakdownAmountList.member = Shapes::ShapeRef.new(shape: TaxesBreakdownAmount)
323
+
197
324
  ThrottlingException.add_member(:message, Shapes::ShapeRef.new(shape: BasicString, location_name: "message"))
198
325
  ThrottlingException.struct_class = Types::ThrottlingException
199
326
 
@@ -251,11 +378,11 @@ module Aws::Invoicing
251
378
  o.http_request_uri = "/"
252
379
  o.input = Shapes::ShapeRef.new(shape: BatchGetInvoiceProfileRequest)
253
380
  o.output = Shapes::ShapeRef.new(shape: BatchGetInvoiceProfileResponse)
254
- o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
381
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
382
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
255
383
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
384
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
256
385
  o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
257
- o.errors << Shapes::ShapeRef.new(shape: ValidationException)
258
- o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
259
386
  end)
260
387
 
261
388
  api.add_operation(:create_invoice_unit, Seahorse::Model::Operation.new.tap do |o|
@@ -264,10 +391,10 @@ module Aws::Invoicing
264
391
  o.http_request_uri = "/"
265
392
  o.input = Shapes::ShapeRef.new(shape: CreateInvoiceUnitRequest)
266
393
  o.output = Shapes::ShapeRef.new(shape: CreateInvoiceUnitResponse)
267
- o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
394
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
268
395
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
396
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
269
397
  o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
270
- o.errors << Shapes::ShapeRef.new(shape: ValidationException)
271
398
  end)
272
399
 
273
400
  api.add_operation(:delete_invoice_unit, Seahorse::Model::Operation.new.tap do |o|
@@ -276,11 +403,11 @@ module Aws::Invoicing
276
403
  o.http_request_uri = "/"
277
404
  o.input = Shapes::ShapeRef.new(shape: DeleteInvoiceUnitRequest)
278
405
  o.output = Shapes::ShapeRef.new(shape: DeleteInvoiceUnitResponse)
279
- o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
406
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
407
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
280
408
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
409
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
281
410
  o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
282
- o.errors << Shapes::ShapeRef.new(shape: ValidationException)
283
- o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
284
411
  end)
285
412
 
286
413
  api.add_operation(:get_invoice_unit, Seahorse::Model::Operation.new.tap do |o|
@@ -289,11 +416,30 @@ module Aws::Invoicing
289
416
  o.http_request_uri = "/"
290
417
  o.input = Shapes::ShapeRef.new(shape: GetInvoiceUnitRequest)
291
418
  o.output = Shapes::ShapeRef.new(shape: GetInvoiceUnitResponse)
292
- o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
419
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
420
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
293
421
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
422
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
294
423
  o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
295
- o.errors << Shapes::ShapeRef.new(shape: ValidationException)
424
+ end)
425
+
426
+ api.add_operation(:list_invoice_summaries, Seahorse::Model::Operation.new.tap do |o|
427
+ o.name = "ListInvoiceSummaries"
428
+ o.http_method = "POST"
429
+ o.http_request_uri = "/"
430
+ o.input = Shapes::ShapeRef.new(shape: ListInvoiceSummariesRequest)
431
+ o.output = Shapes::ShapeRef.new(shape: ListInvoiceSummariesResponse)
296
432
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
433
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
434
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
435
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
436
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
437
+ o[:pager] = Aws::Pager.new(
438
+ limit_key: "max_results",
439
+ tokens: {
440
+ "next_token" => "next_token"
441
+ }
442
+ )
297
443
  end)
298
444
 
299
445
  api.add_operation(:list_invoice_units, Seahorse::Model::Operation.new.tap do |o|
@@ -302,10 +448,10 @@ module Aws::Invoicing
302
448
  o.http_request_uri = "/"
303
449
  o.input = Shapes::ShapeRef.new(shape: ListInvoiceUnitsRequest)
304
450
  o.output = Shapes::ShapeRef.new(shape: ListInvoiceUnitsResponse)
305
- o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
451
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
306
452
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
453
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
307
454
  o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
308
- o.errors << Shapes::ShapeRef.new(shape: ValidationException)
309
455
  o[:pager] = Aws::Pager.new(
310
456
  limit_key: "max_results",
311
457
  tokens: {
@@ -320,11 +466,11 @@ module Aws::Invoicing
320
466
  o.http_request_uri = "/"
321
467
  o.input = Shapes::ShapeRef.new(shape: ListTagsForResourceRequest)
322
468
  o.output = Shapes::ShapeRef.new(shape: ListTagsForResourceResponse)
323
- o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
469
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
470
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
324
471
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
472
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
325
473
  o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
326
- o.errors << Shapes::ShapeRef.new(shape: ValidationException)
327
- o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
328
474
  end)
329
475
 
330
476
  api.add_operation(:tag_resource, Seahorse::Model::Operation.new.tap do |o|
@@ -333,12 +479,12 @@ module Aws::Invoicing
333
479
  o.http_request_uri = "/"
334
480
  o.input = Shapes::ShapeRef.new(shape: TagResourceRequest)
335
481
  o.output = Shapes::ShapeRef.new(shape: TagResourceResponse)
336
- o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
337
- o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
338
- o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
482
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
339
483
  o.errors << Shapes::ShapeRef.new(shape: ValidationException)
484
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
340
485
  o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
341
- o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
486
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
487
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
342
488
  end)
343
489
 
344
490
  api.add_operation(:untag_resource, Seahorse::Model::Operation.new.tap do |o|
@@ -347,11 +493,11 @@ module Aws::Invoicing
347
493
  o.http_request_uri = "/"
348
494
  o.input = Shapes::ShapeRef.new(shape: UntagResourceRequest)
349
495
  o.output = Shapes::ShapeRef.new(shape: UntagResourceResponse)
350
- o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
496
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
497
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
351
498
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
499
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
352
500
  o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
353
- o.errors << Shapes::ShapeRef.new(shape: ValidationException)
354
- o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
355
501
  end)
356
502
 
357
503
  api.add_operation(:update_invoice_unit, Seahorse::Model::Operation.new.tap do |o|
@@ -360,11 +506,11 @@ module Aws::Invoicing
360
506
  o.http_request_uri = "/"
361
507
  o.input = Shapes::ShapeRef.new(shape: UpdateInvoiceUnitRequest)
362
508
  o.output = Shapes::ShapeRef.new(shape: UpdateInvoiceUnitResponse)
363
- o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
509
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
510
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
364
511
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
512
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
365
513
  o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
366
- o.errors << Shapes::ShapeRef.new(shape: ValidationException)
367
- o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
368
514
  end)
369
515
  end
370
516