aws-sdk-invoicing 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,713 @@
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::Invoicing
11
+ module Types
12
+
13
+ # You don't have sufficient access to perform this action.
14
+ #
15
+ # @!attribute [rw] message
16
+ # @return [String]
17
+ #
18
+ # @!attribute [rw] resource_name
19
+ # You don't have sufficient access to perform this action.
20
+ # @return [String]
21
+ #
22
+ # @see http://docs.aws.amazon.com/goto/WebAPI/invoicing-2024-12-01/AccessDeniedException AWS API Documentation
23
+ #
24
+ class AccessDeniedException < Struct.new(
25
+ :message,
26
+ :resource_name)
27
+ SENSITIVE = []
28
+ include Aws::Structure
29
+ end
30
+
31
+ # @!attribute [rw] account_ids
32
+ # Retrieves the corresponding invoice profile data for these account
33
+ # IDs.
34
+ # @return [Array<String>]
35
+ #
36
+ # @see http://docs.aws.amazon.com/goto/WebAPI/invoicing-2024-12-01/BatchGetInvoiceProfileRequest AWS API Documentation
37
+ #
38
+ class BatchGetInvoiceProfileRequest < Struct.new(
39
+ :account_ids)
40
+ SENSITIVE = []
41
+ include Aws::Structure
42
+ end
43
+
44
+ # @!attribute [rw] profiles
45
+ # A list of invoice profiles corresponding to the requested accounts.
46
+ # @return [Array<Types::InvoiceProfile>]
47
+ #
48
+ # @see http://docs.aws.amazon.com/goto/WebAPI/invoicing-2024-12-01/BatchGetInvoiceProfileResponse AWS API Documentation
49
+ #
50
+ class BatchGetInvoiceProfileResponse < Struct.new(
51
+ :profiles)
52
+ SENSITIVE = []
53
+ include Aws::Structure
54
+ end
55
+
56
+ # @!attribute [rw] name
57
+ # The unique name of the invoice unit that is shown on the generated
58
+ # invoice. This can't be changed once it is set. To change this name,
59
+ # you must delete the invoice unit recreate.
60
+ # @return [String]
61
+ #
62
+ # @!attribute [rw] invoice_receiver
63
+ # The Amazon Web Services account ID chosen to be the receiver of an
64
+ # invoice unit. All invoices generated for that invoice unit will be
65
+ # sent to this account ID.
66
+ # @return [String]
67
+ #
68
+ # @!attribute [rw] description
69
+ # The invoice unit's description. This can be changed at a later
70
+ # time.
71
+ # @return [String]
72
+ #
73
+ # @!attribute [rw] tax_inheritance_disabled
74
+ # Whether the invoice unit based tax inheritance is/ should be enabled
75
+ # or disabled.
76
+ # @return [Boolean]
77
+ #
78
+ # @!attribute [rw] rule
79
+ # The `InvoiceUnitRule` object used to create invoice units.
80
+ # @return [Types::InvoiceUnitRule]
81
+ #
82
+ # @!attribute [rw] resource_tags
83
+ # The tag structure that contains a tag key and value.
84
+ # @return [Array<Types::ResourceTag>]
85
+ #
86
+ # @see http://docs.aws.amazon.com/goto/WebAPI/invoicing-2024-12-01/CreateInvoiceUnitRequest AWS API Documentation
87
+ #
88
+ class CreateInvoiceUnitRequest < Struct.new(
89
+ :name,
90
+ :invoice_receiver,
91
+ :description,
92
+ :tax_inheritance_disabled,
93
+ :rule,
94
+ :resource_tags)
95
+ SENSITIVE = []
96
+ include Aws::Structure
97
+ end
98
+
99
+ # @!attribute [rw] invoice_unit_arn
100
+ # The ARN to identify an invoice unit. This information can't be
101
+ # modified or deleted.
102
+ # @return [String]
103
+ #
104
+ # @see http://docs.aws.amazon.com/goto/WebAPI/invoicing-2024-12-01/CreateInvoiceUnitResponse AWS API Documentation
105
+ #
106
+ class CreateInvoiceUnitResponse < Struct.new(
107
+ :invoice_unit_arn)
108
+ SENSITIVE = []
109
+ include Aws::Structure
110
+ end
111
+
112
+ # @!attribute [rw] invoice_unit_arn
113
+ # The ARN to identify an invoice unit. This information can't be
114
+ # modified or deleted.
115
+ # @return [String]
116
+ #
117
+ # @see http://docs.aws.amazon.com/goto/WebAPI/invoicing-2024-12-01/DeleteInvoiceUnitRequest AWS API Documentation
118
+ #
119
+ class DeleteInvoiceUnitRequest < Struct.new(
120
+ :invoice_unit_arn)
121
+ SENSITIVE = []
122
+ include Aws::Structure
123
+ end
124
+
125
+ # @!attribute [rw] invoice_unit_arn
126
+ # The ARN to identify an invoice unit. This information can't be
127
+ # modified or deleted.
128
+ # @return [String]
129
+ #
130
+ # @see http://docs.aws.amazon.com/goto/WebAPI/invoicing-2024-12-01/DeleteInvoiceUnitResponse AWS API Documentation
131
+ #
132
+ class DeleteInvoiceUnitResponse < Struct.new(
133
+ :invoice_unit_arn)
134
+ SENSITIVE = []
135
+ include Aws::Structure
136
+ end
137
+
138
+ # An optional input to the list API. If multiple filters are specified,
139
+ # the returned list will be a configuration that match all of the
140
+ # provided filters. Supported filter types are `InvoiceReceivers`,
141
+ # `Names`, and `Accounts`.
142
+ #
143
+ # @!attribute [rw] names
144
+ # An optional input to the list API. You can specify a list of invoice
145
+ # unit names inside filters to return invoice units that match only
146
+ # the specified invoice unit names. If multiple names are provided,
147
+ # the result is an `OR` condition (match any) of the specified invoice
148
+ # unit names.
149
+ # @return [Array<String>]
150
+ #
151
+ # @!attribute [rw] invoice_receivers
152
+ # You can specify a list of Amazon Web Services account IDs inside
153
+ # filters to return invoice units that match only the specified
154
+ # accounts. If multiple accounts are provided, the result is an `OR`
155
+ # condition (match any) of the specified accounts. This filter only
156
+ # matches the specified accounts on the invoice receivers of the
157
+ # invoice units.
158
+ # @return [Array<String>]
159
+ #
160
+ # @!attribute [rw] accounts
161
+ # You can specify a list of Amazon Web Services account IDs inside
162
+ # filters to return invoice units that match only the specified
163
+ # accounts. If multiple accounts are provided, the result is an `OR`
164
+ # condition (match any) of the specified accounts. The specified
165
+ # account IDs are matched with either the receiver or the linked
166
+ # accounts in the rules.
167
+ # @return [Array<String>]
168
+ #
169
+ # @see http://docs.aws.amazon.com/goto/WebAPI/invoicing-2024-12-01/Filters AWS API Documentation
170
+ #
171
+ class Filters < Struct.new(
172
+ :names,
173
+ :invoice_receivers,
174
+ :accounts)
175
+ SENSITIVE = []
176
+ include Aws::Structure
177
+ end
178
+
179
+ # @!attribute [rw] invoice_unit_arn
180
+ # The ARN to identify an invoice unit. This information can't be
181
+ # modified or deleted.
182
+ # @return [String]
183
+ #
184
+ # @!attribute [rw] as_of
185
+ # The state of an invoice unit at a specified time. You can see legacy
186
+ # invoice units that are currently deleted if the `AsOf` time is set
187
+ # to before it was deleted. If an `AsOf` is not provided, the default
188
+ # value is the current time.
189
+ # @return [Time]
190
+ #
191
+ # @see http://docs.aws.amazon.com/goto/WebAPI/invoicing-2024-12-01/GetInvoiceUnitRequest AWS API Documentation
192
+ #
193
+ class GetInvoiceUnitRequest < Struct.new(
194
+ :invoice_unit_arn,
195
+ :as_of)
196
+ SENSITIVE = []
197
+ include Aws::Structure
198
+ end
199
+
200
+ # @!attribute [rw] invoice_unit_arn
201
+ # The ARN to identify an invoice unit. This information can't be
202
+ # modified or deleted.
203
+ # @return [String]
204
+ #
205
+ # @!attribute [rw] invoice_receiver
206
+ # The Amazon Web Services account ID chosen to be the receiver of an
207
+ # invoice unit. All invoices generated for that invoice unit will be
208
+ # sent to this account ID.
209
+ # @return [String]
210
+ #
211
+ # @!attribute [rw] name
212
+ # The unique name of the invoice unit that is shown on the generated
213
+ # invoice.
214
+ # @return [String]
215
+ #
216
+ # @!attribute [rw] description
217
+ # The assigned description for an invoice unit.
218
+ # @return [String]
219
+ #
220
+ # @!attribute [rw] tax_inheritance_disabled
221
+ # Whether the invoice unit based tax inheritance is/ should be enabled
222
+ # or disabled.
223
+ # @return [Boolean]
224
+ #
225
+ # @!attribute [rw] rule
226
+ # This is used to categorize the invoice unit. Values are Amazon Web
227
+ # Services account IDs. Currently, the only supported rule is
228
+ # `LINKED_ACCOUNT`.
229
+ # @return [Types::InvoiceUnitRule]
230
+ #
231
+ # @!attribute [rw] last_modified
232
+ # The most recent date the invoice unit response was updated.
233
+ # @return [Time]
234
+ #
235
+ # @see http://docs.aws.amazon.com/goto/WebAPI/invoicing-2024-12-01/GetInvoiceUnitResponse AWS API Documentation
236
+ #
237
+ class GetInvoiceUnitResponse < Struct.new(
238
+ :invoice_unit_arn,
239
+ :invoice_receiver,
240
+ :name,
241
+ :description,
242
+ :tax_inheritance_disabled,
243
+ :rule,
244
+ :last_modified)
245
+ SENSITIVE = []
246
+ include Aws::Structure
247
+ end
248
+
249
+ # The processing request failed because of an unknown error, exception,
250
+ # or failure.
251
+ #
252
+ # @!attribute [rw] retry_after_seconds
253
+ # The processing request failed because of an unknown error,
254
+ # exception, or failure.
255
+ # @return [Integer]
256
+ #
257
+ # @!attribute [rw] message
258
+ # @return [String]
259
+ #
260
+ # @see http://docs.aws.amazon.com/goto/WebAPI/invoicing-2024-12-01/InternalServerException AWS API Documentation
261
+ #
262
+ class InternalServerException < Struct.new(
263
+ :retry_after_seconds,
264
+ :message)
265
+ SENSITIVE = []
266
+ include Aws::Structure
267
+ end
268
+
269
+ # Contains high-level information about the invoice receiver.
270
+ #
271
+ # @!attribute [rw] account_id
272
+ # The account ID the invoice profile is generated for.
273
+ # @return [String]
274
+ #
275
+ # @!attribute [rw] receiver_name
276
+ # The name of the person receiving the invoice profile.
277
+ # @return [String]
278
+ #
279
+ # @!attribute [rw] receiver_address
280
+ # The address of the receiver that will be printed on the invoice.
281
+ # @return [Types::ReceiverAddress]
282
+ #
283
+ # @!attribute [rw] receiver_email
284
+ # The email address for the invoice profile receiver.
285
+ # @return [String]
286
+ #
287
+ # @!attribute [rw] issuer
288
+ # This specifies the issuing entity of the invoice.
289
+ # @return [String]
290
+ #
291
+ # @!attribute [rw] tax_registration_number
292
+ # Your Tax Registration Number (TRN) information.
293
+ # @return [String]
294
+ #
295
+ # @see http://docs.aws.amazon.com/goto/WebAPI/invoicing-2024-12-01/InvoiceProfile AWS API Documentation
296
+ #
297
+ class InvoiceProfile < Struct.new(
298
+ :account_id,
299
+ :receiver_name,
300
+ :receiver_address,
301
+ :receiver_email,
302
+ :issuer,
303
+ :tax_registration_number)
304
+ SENSITIVE = [:receiver_address, :receiver_email, :tax_registration_number]
305
+ include Aws::Structure
306
+ end
307
+
308
+ # An invoice unit is a set of mutually exclusive accounts that
309
+ # correspond to your business entity. Invoice units allow you separate
310
+ # Amazon Web Services account costs and configures your invoice for each
311
+ # business entity going forward.
312
+ #
313
+ # @!attribute [rw] invoice_unit_arn
314
+ # ARN to identify an invoice unit. This information can't be modified
315
+ # or deleted.
316
+ # @return [String]
317
+ #
318
+ # @!attribute [rw] invoice_receiver
319
+ # The account that receives invoices related to the invoice unit.
320
+ # @return [String]
321
+ #
322
+ # @!attribute [rw] name
323
+ # A unique name that is distinctive within your Amazon Web Services.
324
+ # @return [String]
325
+ #
326
+ # @!attribute [rw] description
327
+ # The assigned description for an invoice unit. This information
328
+ # can't be modified or deleted.
329
+ # @return [String]
330
+ #
331
+ # @!attribute [rw] tax_inheritance_disabled
332
+ # Whether the invoice unit based tax inheritance is/ should be enabled
333
+ # or disabled.
334
+ # @return [Boolean]
335
+ #
336
+ # @!attribute [rw] rule
337
+ # An `InvoiceUnitRule` object used the categorize invoice units.
338
+ # @return [Types::InvoiceUnitRule]
339
+ #
340
+ # @!attribute [rw] last_modified
341
+ # The last time the invoice unit was updated. This is important to
342
+ # determine the version of invoice unit configuration used to create
343
+ # the invoices. Any invoice created after this modified time will use
344
+ # this invoice unit configuration.
345
+ # @return [Time]
346
+ #
347
+ # @see http://docs.aws.amazon.com/goto/WebAPI/invoicing-2024-12-01/InvoiceUnit AWS API Documentation
348
+ #
349
+ class InvoiceUnit < Struct.new(
350
+ :invoice_unit_arn,
351
+ :invoice_receiver,
352
+ :name,
353
+ :description,
354
+ :tax_inheritance_disabled,
355
+ :rule,
356
+ :last_modified)
357
+ SENSITIVE = []
358
+ include Aws::Structure
359
+ end
360
+
361
+ # This is used to categorize the invoice unit. Values are Amazon Web
362
+ # Services account IDs. Currently, the only supported rule is
363
+ # `LINKED_ACCOUNT`.
364
+ #
365
+ # @!attribute [rw] linked_accounts
366
+ # The list of `LINKED_ACCOUNT` IDs where charges are included within
367
+ # the invoice unit.
368
+ # @return [Array<String>]
369
+ #
370
+ # @see http://docs.aws.amazon.com/goto/WebAPI/invoicing-2024-12-01/InvoiceUnitRule AWS API Documentation
371
+ #
372
+ class InvoiceUnitRule < Struct.new(
373
+ :linked_accounts)
374
+ SENSITIVE = []
375
+ include Aws::Structure
376
+ end
377
+
378
+ # @!attribute [rw] filters
379
+ # An optional input to the list API. If multiple filters are
380
+ # specified, the returned list will be a configuration that match all
381
+ # of the provided filters. Supported filter types are
382
+ # `InvoiceReceivers`, `Names`, and `Accounts`.
383
+ # @return [Types::Filters]
384
+ #
385
+ # @!attribute [rw] next_token
386
+ # The next token used to indicate where the returned list should start
387
+ # from.
388
+ # @return [String]
389
+ #
390
+ # @!attribute [rw] max_results
391
+ # The maximum number of invoice units that can be returned.
392
+ # @return [Integer]
393
+ #
394
+ # @!attribute [rw] as_of
395
+ # The state of an invoice unit at a specified time. You can see legacy
396
+ # invoice units that are currently deleted if the `AsOf` time is set
397
+ # to before it was deleted. If an `AsOf` is not provided, the default
398
+ # value is the current time.
399
+ # @return [Time]
400
+ #
401
+ # @see http://docs.aws.amazon.com/goto/WebAPI/invoicing-2024-12-01/ListInvoiceUnitsRequest AWS API Documentation
402
+ #
403
+ class ListInvoiceUnitsRequest < Struct.new(
404
+ :filters,
405
+ :next_token,
406
+ :max_results,
407
+ :as_of)
408
+ SENSITIVE = []
409
+ include Aws::Structure
410
+ end
411
+
412
+ # @!attribute [rw] invoice_units
413
+ # An invoice unit is a set of mutually exclusive accounts that
414
+ # correspond to your business entity.
415
+ # @return [Array<Types::InvoiceUnit>]
416
+ #
417
+ # @!attribute [rw] next_token
418
+ # The next token used to indicate where the returned list should start
419
+ # from.
420
+ # @return [String]
421
+ #
422
+ # @see http://docs.aws.amazon.com/goto/WebAPI/invoicing-2024-12-01/ListInvoiceUnitsResponse AWS API Documentation
423
+ #
424
+ class ListInvoiceUnitsResponse < Struct.new(
425
+ :invoice_units,
426
+ :next_token)
427
+ SENSITIVE = []
428
+ include Aws::Structure
429
+ end
430
+
431
+ # @!attribute [rw] resource_arn
432
+ # The Amazon Resource Name (ARN) of tags to list.
433
+ # @return [String]
434
+ #
435
+ # @see http://docs.aws.amazon.com/goto/WebAPI/invoicing-2024-12-01/ListTagsForResourceRequest AWS API Documentation
436
+ #
437
+ class ListTagsForResourceRequest < Struct.new(
438
+ :resource_arn)
439
+ SENSITIVE = []
440
+ include Aws::Structure
441
+ end
442
+
443
+ # @!attribute [rw] resource_tags
444
+ # Adds a tag to a resource.
445
+ # @return [Array<Types::ResourceTag>]
446
+ #
447
+ # @see http://docs.aws.amazon.com/goto/WebAPI/invoicing-2024-12-01/ListTagsForResourceResponse AWS API Documentation
448
+ #
449
+ class ListTagsForResourceResponse < Struct.new(
450
+ :resource_tags)
451
+ SENSITIVE = []
452
+ include Aws::Structure
453
+ end
454
+
455
+ # The details of the address associated with the receiver.
456
+ #
457
+ # @!attribute [rw] address_line_1
458
+ # The first line of the address.
459
+ # @return [String]
460
+ #
461
+ # @!attribute [rw] address_line_2
462
+ # The second line of the address, if applicable.
463
+ # @return [String]
464
+ #
465
+ # @!attribute [rw] address_line_3
466
+ # The third line of the address, if applicable.
467
+ # @return [String]
468
+ #
469
+ # @!attribute [rw] district_or_county
470
+ # The district or country the address is located in.
471
+ # @return [String]
472
+ #
473
+ # @!attribute [rw] city
474
+ # The city that the address is in.
475
+ # @return [String]
476
+ #
477
+ # @!attribute [rw] state_or_region
478
+ # The state, region, or province the address is located.
479
+ # @return [String]
480
+ #
481
+ # @!attribute [rw] country_code
482
+ # The country code for the country the address is in.
483
+ # @return [String]
484
+ #
485
+ # @!attribute [rw] company_name
486
+ # A unique company name.
487
+ # @return [String]
488
+ #
489
+ # @!attribute [rw] postal_code
490
+ # The postal code associated with the address.
491
+ # @return [String]
492
+ #
493
+ # @see http://docs.aws.amazon.com/goto/WebAPI/invoicing-2024-12-01/ReceiverAddress AWS API Documentation
494
+ #
495
+ class ReceiverAddress < Struct.new(
496
+ :address_line_1,
497
+ :address_line_2,
498
+ :address_line_3,
499
+ :district_or_county,
500
+ :city,
501
+ :state_or_region,
502
+ :country_code,
503
+ :company_name,
504
+ :postal_code)
505
+ SENSITIVE = []
506
+ include Aws::Structure
507
+ end
508
+
509
+ # The resource could not be found.
510
+ #
511
+ # @!attribute [rw] message
512
+ # @return [String]
513
+ #
514
+ # @!attribute [rw] resource_name
515
+ # The resource could not be found.
516
+ # @return [String]
517
+ #
518
+ # @see http://docs.aws.amazon.com/goto/WebAPI/invoicing-2024-12-01/ResourceNotFoundException AWS API Documentation
519
+ #
520
+ class ResourceNotFoundException < Struct.new(
521
+ :message,
522
+ :resource_name)
523
+ SENSITIVE = []
524
+ include Aws::Structure
525
+ end
526
+
527
+ # The tag structure that contains a tag key and value.
528
+ #
529
+ # @!attribute [rw] key
530
+ # The object key of your of your resource tag.
531
+ # @return [String]
532
+ #
533
+ # @!attribute [rw] value
534
+ # The specific value of the resource tag.
535
+ # @return [String]
536
+ #
537
+ # @see http://docs.aws.amazon.com/goto/WebAPI/invoicing-2024-12-01/ResourceTag AWS API Documentation
538
+ #
539
+ class ResourceTag < Struct.new(
540
+ :key,
541
+ :value)
542
+ SENSITIVE = []
543
+ include Aws::Structure
544
+ end
545
+
546
+ # The request was rejected because it attempted to create resources
547
+ # beyond the current Amazon Web Services account limits. The error
548
+ # message describes the limit exceeded.
549
+ #
550
+ # @!attribute [rw] message
551
+ # @return [String]
552
+ #
553
+ # @see http://docs.aws.amazon.com/goto/WebAPI/invoicing-2024-12-01/ServiceQuotaExceededException AWS API Documentation
554
+ #
555
+ class ServiceQuotaExceededException < Struct.new(
556
+ :message)
557
+ SENSITIVE = []
558
+ include Aws::Structure
559
+ end
560
+
561
+ # @!attribute [rw] resource_arn
562
+ # The Amazon Resource Name (ARN) of the tags.
563
+ # @return [String]
564
+ #
565
+ # @!attribute [rw] resource_tags
566
+ # Adds a tag to a resource.
567
+ # @return [Array<Types::ResourceTag>]
568
+ #
569
+ # @see http://docs.aws.amazon.com/goto/WebAPI/invoicing-2024-12-01/TagResourceRequest AWS API Documentation
570
+ #
571
+ class TagResourceRequest < Struct.new(
572
+ :resource_arn,
573
+ :resource_tags)
574
+ SENSITIVE = []
575
+ include Aws::Structure
576
+ end
577
+
578
+ # @see http://docs.aws.amazon.com/goto/WebAPI/invoicing-2024-12-01/TagResourceResponse AWS API Documentation
579
+ #
580
+ class TagResourceResponse < Aws::EmptyStructure; end
581
+
582
+ # The request was denied due to request throttling.
583
+ #
584
+ # @!attribute [rw] message
585
+ # @return [String]
586
+ #
587
+ # @see http://docs.aws.amazon.com/goto/WebAPI/invoicing-2024-12-01/ThrottlingException AWS API Documentation
588
+ #
589
+ class ThrottlingException < Struct.new(
590
+ :message)
591
+ SENSITIVE = []
592
+ include Aws::Structure
593
+ end
594
+
595
+ # @!attribute [rw] resource_arn
596
+ # The Amazon Resource Name (ARN) to untag.
597
+ # @return [String]
598
+ #
599
+ # @!attribute [rw] resource_tag_keys
600
+ # Keys for the tags to be removed.
601
+ # @return [Array<String>]
602
+ #
603
+ # @see http://docs.aws.amazon.com/goto/WebAPI/invoicing-2024-12-01/UntagResourceRequest AWS API Documentation
604
+ #
605
+ class UntagResourceRequest < Struct.new(
606
+ :resource_arn,
607
+ :resource_tag_keys)
608
+ SENSITIVE = []
609
+ include Aws::Structure
610
+ end
611
+
612
+ # @see http://docs.aws.amazon.com/goto/WebAPI/invoicing-2024-12-01/UntagResourceResponse AWS API Documentation
613
+ #
614
+ class UntagResourceResponse < Aws::EmptyStructure; end
615
+
616
+ # @!attribute [rw] invoice_unit_arn
617
+ # The ARN to identify an invoice unit. This information can't be
618
+ # modified or deleted.
619
+ # @return [String]
620
+ #
621
+ # @!attribute [rw] description
622
+ # The assigned description for an invoice unit. This information
623
+ # can't be modified or deleted.
624
+ # @return [String]
625
+ #
626
+ # @!attribute [rw] tax_inheritance_disabled
627
+ # Whether the invoice unit based tax inheritance is/ should be enabled
628
+ # or disabled.
629
+ # @return [Boolean]
630
+ #
631
+ # @!attribute [rw] rule
632
+ # The `InvoiceUnitRule` object used to update invoice units.
633
+ # @return [Types::InvoiceUnitRule]
634
+ #
635
+ # @see http://docs.aws.amazon.com/goto/WebAPI/invoicing-2024-12-01/UpdateInvoiceUnitRequest AWS API Documentation
636
+ #
637
+ class UpdateInvoiceUnitRequest < Struct.new(
638
+ :invoice_unit_arn,
639
+ :description,
640
+ :tax_inheritance_disabled,
641
+ :rule)
642
+ SENSITIVE = []
643
+ include Aws::Structure
644
+ end
645
+
646
+ # @!attribute [rw] invoice_unit_arn
647
+ # The ARN to identify an invoice unit. This information can't be
648
+ # modified or deleted.
649
+ # @return [String]
650
+ #
651
+ # @see http://docs.aws.amazon.com/goto/WebAPI/invoicing-2024-12-01/UpdateInvoiceUnitResponse AWS API Documentation
652
+ #
653
+ class UpdateInvoiceUnitResponse < Struct.new(
654
+ :invoice_unit_arn)
655
+ SENSITIVE = []
656
+ include Aws::Structure
657
+ end
658
+
659
+ # The input fails to satisfy the constraints specified by an Amazon Web
660
+ # Services service.
661
+ #
662
+ # @!attribute [rw] message
663
+ # @return [String]
664
+ #
665
+ # @!attribute [rw] resource_name
666
+ # You don't have sufficient access to perform this action.
667
+ # @return [String]
668
+ #
669
+ # @!attribute [rw] reason
670
+ # You don't have sufficient access to perform this action.
671
+ # @return [String]
672
+ #
673
+ # @!attribute [rw] field_list
674
+ # The input fails to satisfy the constraints specified by an Amazon
675
+ # Web Services service.
676
+ # @return [Array<Types::ValidationExceptionField>]
677
+ #
678
+ # @see http://docs.aws.amazon.com/goto/WebAPI/invoicing-2024-12-01/ValidationException AWS API Documentation
679
+ #
680
+ class ValidationException < Struct.new(
681
+ :message,
682
+ :resource_name,
683
+ :reason,
684
+ :field_list)
685
+ SENSITIVE = []
686
+ include Aws::Structure
687
+ end
688
+
689
+ # The input fails to satisfy the constraints specified by an Amazon Web
690
+ # Services service.
691
+ #
692
+ # @!attribute [rw] name
693
+ # The input fails to satisfy the constraints specified by an Amazon
694
+ # Web Services service.
695
+ # @return [String]
696
+ #
697
+ # @!attribute [rw] message
698
+ # The input fails to satisfy the constraints specified by an Amazon
699
+ # Web Services service.
700
+ # @return [String]
701
+ #
702
+ # @see http://docs.aws.amazon.com/goto/WebAPI/invoicing-2024-12-01/ValidationExceptionField AWS API Documentation
703
+ #
704
+ class ValidationExceptionField < Struct.new(
705
+ :name,
706
+ :message)
707
+ SENSITIVE = []
708
+ include Aws::Structure
709
+ end
710
+
711
+ end
712
+ end
713
+