aws-sdk-billingconductor 1.19.0 → 1.20.0

Sign up to get free protection for your applications and to get access to all the features.
data/sig/types.rbs ADDED
@@ -0,0 +1,835 @@
1
+ # WARNING ABOUT GENERATED CODE
2
+ #
3
+ # This file is generated. See the contributing guide for more information:
4
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
5
+ #
6
+ # WARNING ABOUT GENERATED CODE
7
+
8
+ module Aws::BillingConductor
9
+ module Types
10
+
11
+ class AccessDeniedException
12
+ attr_accessor message: ::String
13
+ SENSITIVE: []
14
+ end
15
+
16
+ class AccountAssociationsListElement
17
+ attr_accessor account_id: ::String
18
+ attr_accessor billing_group_arn: ::String
19
+ attr_accessor account_name: ::String
20
+ attr_accessor account_email: ::String
21
+ SENSITIVE: [:account_name, :account_email]
22
+ end
23
+
24
+ class AccountGrouping
25
+ attr_accessor linked_account_ids: ::Array[::String]
26
+ attr_accessor auto_associate: bool
27
+ SENSITIVE: []
28
+ end
29
+
30
+ class AssociateAccountsInput
31
+ attr_accessor arn: ::String
32
+ attr_accessor account_ids: ::Array[::String]
33
+ SENSITIVE: []
34
+ end
35
+
36
+ class AssociateAccountsOutput
37
+ attr_accessor arn: ::String
38
+ SENSITIVE: []
39
+ end
40
+
41
+ class AssociatePricingRulesInput
42
+ attr_accessor arn: ::String
43
+ attr_accessor pricing_rule_arns: ::Array[::String]
44
+ SENSITIVE: []
45
+ end
46
+
47
+ class AssociatePricingRulesOutput
48
+ attr_accessor arn: ::String
49
+ SENSITIVE: []
50
+ end
51
+
52
+ class AssociateResourceError
53
+ attr_accessor message: ::String
54
+ attr_accessor reason: ("INVALID_ARN" | "SERVICE_LIMIT_EXCEEDED" | "ILLEGAL_CUSTOMLINEITEM" | "INTERNAL_SERVER_EXCEPTION" | "INVALID_BILLING_PERIOD_RANGE")
55
+ SENSITIVE: []
56
+ end
57
+
58
+ class AssociateResourceResponseElement
59
+ attr_accessor arn: ::String
60
+ attr_accessor error: Types::AssociateResourceError
61
+ SENSITIVE: []
62
+ end
63
+
64
+ class Attribute
65
+ attr_accessor key: ::String
66
+ attr_accessor value: ::String
67
+ SENSITIVE: []
68
+ end
69
+
70
+ class BatchAssociateResourcesToCustomLineItemInput
71
+ attr_accessor target_arn: ::String
72
+ attr_accessor resource_arns: ::Array[::String]
73
+ attr_accessor billing_period_range: Types::CustomLineItemBillingPeriodRange
74
+ SENSITIVE: []
75
+ end
76
+
77
+ class BatchAssociateResourcesToCustomLineItemOutput
78
+ attr_accessor successfully_associated_resources: ::Array[Types::AssociateResourceResponseElement]
79
+ attr_accessor failed_associated_resources: ::Array[Types::AssociateResourceResponseElement]
80
+ SENSITIVE: []
81
+ end
82
+
83
+ class BatchDisassociateResourcesFromCustomLineItemInput
84
+ attr_accessor target_arn: ::String
85
+ attr_accessor resource_arns: ::Array[::String]
86
+ attr_accessor billing_period_range: Types::CustomLineItemBillingPeriodRange
87
+ SENSITIVE: []
88
+ end
89
+
90
+ class BatchDisassociateResourcesFromCustomLineItemOutput
91
+ attr_accessor successfully_disassociated_resources: ::Array[Types::DisassociateResourceResponseElement]
92
+ attr_accessor failed_disassociated_resources: ::Array[Types::DisassociateResourceResponseElement]
93
+ SENSITIVE: []
94
+ end
95
+
96
+ class BillingGroupCostReportElement
97
+ attr_accessor arn: ::String
98
+ attr_accessor aws_cost: ::String
99
+ attr_accessor proforma_cost: ::String
100
+ attr_accessor margin: ::String
101
+ attr_accessor margin_percentage: ::String
102
+ attr_accessor currency: ::String
103
+ SENSITIVE: []
104
+ end
105
+
106
+ class BillingGroupCostReportResultElement
107
+ attr_accessor arn: ::String
108
+ attr_accessor aws_cost: ::String
109
+ attr_accessor proforma_cost: ::String
110
+ attr_accessor margin: ::String
111
+ attr_accessor margin_percentage: ::String
112
+ attr_accessor currency: ::String
113
+ attr_accessor attributes: ::Array[Types::Attribute]
114
+ SENSITIVE: []
115
+ end
116
+
117
+ class BillingGroupListElement
118
+ attr_accessor name: ::String
119
+ attr_accessor arn: ::String
120
+ attr_accessor description: ::String
121
+ attr_accessor primary_account_id: ::String
122
+ attr_accessor computation_preference: Types::ComputationPreference
123
+ attr_accessor size: ::Integer
124
+ attr_accessor creation_time: ::Integer
125
+ attr_accessor last_modified_time: ::Integer
126
+ attr_accessor status: ("ACTIVE" | "PRIMARY_ACCOUNT_MISSING")
127
+ attr_accessor status_reason: ::String
128
+ attr_accessor account_grouping: Types::ListBillingGroupAccountGrouping
129
+ SENSITIVE: [:name, :description]
130
+ end
131
+
132
+ class BillingPeriodRange
133
+ attr_accessor inclusive_start_billing_period: ::String
134
+ attr_accessor exclusive_end_billing_period: ::String
135
+ SENSITIVE: []
136
+ end
137
+
138
+ class ComputationPreference
139
+ attr_accessor pricing_plan_arn: ::String
140
+ SENSITIVE: []
141
+ end
142
+
143
+ class ConflictException
144
+ attr_accessor message: ::String
145
+ attr_accessor resource_id: ::String
146
+ attr_accessor resource_type: ::String
147
+ attr_accessor reason: ("RESOURCE_NAME_CONFLICT" | "PRICING_RULE_IN_PRICING_PLAN_CONFLICT" | "PRICING_PLAN_ATTACHED_TO_BILLING_GROUP_DELETE_CONFLICT" | "PRICING_RULE_ATTACHED_TO_PRICING_PLAN_DELETE_CONFLICT" | "WRITE_CONFLICT_RETRY")
148
+ SENSITIVE: []
149
+ end
150
+
151
+ class CreateBillingGroupInput
152
+ attr_accessor client_token: ::String
153
+ attr_accessor name: ::String
154
+ attr_accessor account_grouping: Types::AccountGrouping
155
+ attr_accessor computation_preference: Types::ComputationPreference
156
+ attr_accessor primary_account_id: ::String
157
+ attr_accessor description: ::String
158
+ attr_accessor tags: ::Hash[::String, ::String]
159
+ SENSITIVE: [:name, :description]
160
+ end
161
+
162
+ class CreateBillingGroupOutput
163
+ attr_accessor arn: ::String
164
+ SENSITIVE: []
165
+ end
166
+
167
+ class CreateCustomLineItemInput
168
+ attr_accessor client_token: ::String
169
+ attr_accessor name: ::String
170
+ attr_accessor description: ::String
171
+ attr_accessor billing_group_arn: ::String
172
+ attr_accessor billing_period_range: Types::CustomLineItemBillingPeriodRange
173
+ attr_accessor tags: ::Hash[::String, ::String]
174
+ attr_accessor charge_details: Types::CustomLineItemChargeDetails
175
+ attr_accessor account_id: ::String
176
+ SENSITIVE: [:name, :description]
177
+ end
178
+
179
+ class CreateCustomLineItemOutput
180
+ attr_accessor arn: ::String
181
+ SENSITIVE: []
182
+ end
183
+
184
+ class CreateFreeTierConfig
185
+ attr_accessor activated: bool
186
+ SENSITIVE: []
187
+ end
188
+
189
+ class CreatePricingPlanInput
190
+ attr_accessor client_token: ::String
191
+ attr_accessor name: ::String
192
+ attr_accessor description: ::String
193
+ attr_accessor pricing_rule_arns: ::Array[::String]
194
+ attr_accessor tags: ::Hash[::String, ::String]
195
+ SENSITIVE: [:name, :description]
196
+ end
197
+
198
+ class CreatePricingPlanOutput
199
+ attr_accessor arn: ::String
200
+ SENSITIVE: []
201
+ end
202
+
203
+ class CreatePricingRuleInput
204
+ attr_accessor client_token: ::String
205
+ attr_accessor name: ::String
206
+ attr_accessor description: ::String
207
+ attr_accessor scope: ("GLOBAL" | "SERVICE" | "BILLING_ENTITY" | "SKU")
208
+ attr_accessor type: ("MARKUP" | "DISCOUNT" | "TIERING")
209
+ attr_accessor modifier_percentage: ::Float
210
+ attr_accessor service: ::String
211
+ attr_accessor tags: ::Hash[::String, ::String]
212
+ attr_accessor billing_entity: ::String
213
+ attr_accessor tiering: Types::CreateTieringInput
214
+ attr_accessor usage_type: ::String
215
+ attr_accessor operation: ::String
216
+ SENSITIVE: [:name, :description]
217
+ end
218
+
219
+ class CreatePricingRuleOutput
220
+ attr_accessor arn: ::String
221
+ SENSITIVE: []
222
+ end
223
+
224
+ class CreateTieringInput
225
+ attr_accessor free_tier: Types::CreateFreeTierConfig
226
+ SENSITIVE: []
227
+ end
228
+
229
+ class CustomLineItemBillingPeriodRange
230
+ attr_accessor inclusive_start_billing_period: ::String
231
+ attr_accessor exclusive_end_billing_period: ::String
232
+ SENSITIVE: []
233
+ end
234
+
235
+ class CustomLineItemChargeDetails
236
+ attr_accessor flat: Types::CustomLineItemFlatChargeDetails
237
+ attr_accessor percentage: Types::CustomLineItemPercentageChargeDetails
238
+ attr_accessor type: ("CREDIT" | "FEE")
239
+ attr_accessor line_item_filters: ::Array[Types::LineItemFilter]
240
+ SENSITIVE: []
241
+ end
242
+
243
+ class CustomLineItemFlatChargeDetails
244
+ attr_accessor charge_value: ::Float
245
+ SENSITIVE: []
246
+ end
247
+
248
+ class CustomLineItemListElement
249
+ attr_accessor arn: ::String
250
+ attr_accessor name: ::String
251
+ attr_accessor charge_details: Types::ListCustomLineItemChargeDetails
252
+ attr_accessor currency_code: ("USD" | "CNY")
253
+ attr_accessor description: ::String
254
+ attr_accessor product_code: ::String
255
+ attr_accessor billing_group_arn: ::String
256
+ attr_accessor creation_time: ::Integer
257
+ attr_accessor last_modified_time: ::Integer
258
+ attr_accessor association_size: ::Integer
259
+ attr_accessor account_id: ::String
260
+ SENSITIVE: [:name, :description]
261
+ end
262
+
263
+ class CustomLineItemPercentageChargeDetails
264
+ attr_accessor percentage_value: ::Float
265
+ attr_accessor associated_values: ::Array[::String]
266
+ SENSITIVE: []
267
+ end
268
+
269
+ class CustomLineItemVersionListElement
270
+ attr_accessor name: ::String
271
+ attr_accessor charge_details: Types::ListCustomLineItemChargeDetails
272
+ attr_accessor currency_code: ("USD" | "CNY")
273
+ attr_accessor description: ::String
274
+ attr_accessor product_code: ::String
275
+ attr_accessor billing_group_arn: ::String
276
+ attr_accessor creation_time: ::Integer
277
+ attr_accessor last_modified_time: ::Integer
278
+ attr_accessor association_size: ::Integer
279
+ attr_accessor start_billing_period: ::String
280
+ attr_accessor end_billing_period: ::String
281
+ attr_accessor arn: ::String
282
+ attr_accessor start_time: ::Integer
283
+ attr_accessor account_id: ::String
284
+ SENSITIVE: [:name, :description]
285
+ end
286
+
287
+ class DeleteBillingGroupInput
288
+ attr_accessor arn: ::String
289
+ SENSITIVE: []
290
+ end
291
+
292
+ class DeleteBillingGroupOutput
293
+ attr_accessor arn: ::String
294
+ SENSITIVE: []
295
+ end
296
+
297
+ class DeleteCustomLineItemInput
298
+ attr_accessor arn: ::String
299
+ attr_accessor billing_period_range: Types::CustomLineItemBillingPeriodRange
300
+ SENSITIVE: []
301
+ end
302
+
303
+ class DeleteCustomLineItemOutput
304
+ attr_accessor arn: ::String
305
+ SENSITIVE: []
306
+ end
307
+
308
+ class DeletePricingPlanInput
309
+ attr_accessor arn: ::String
310
+ SENSITIVE: []
311
+ end
312
+
313
+ class DeletePricingPlanOutput
314
+ attr_accessor arn: ::String
315
+ SENSITIVE: []
316
+ end
317
+
318
+ class DeletePricingRuleInput
319
+ attr_accessor arn: ::String
320
+ SENSITIVE: []
321
+ end
322
+
323
+ class DeletePricingRuleOutput
324
+ attr_accessor arn: ::String
325
+ SENSITIVE: []
326
+ end
327
+
328
+ class DisassociateAccountsInput
329
+ attr_accessor arn: ::String
330
+ attr_accessor account_ids: ::Array[::String]
331
+ SENSITIVE: []
332
+ end
333
+
334
+ class DisassociateAccountsOutput
335
+ attr_accessor arn: ::String
336
+ SENSITIVE: []
337
+ end
338
+
339
+ class DisassociatePricingRulesInput
340
+ attr_accessor arn: ::String
341
+ attr_accessor pricing_rule_arns: ::Array[::String]
342
+ SENSITIVE: []
343
+ end
344
+
345
+ class DisassociatePricingRulesOutput
346
+ attr_accessor arn: ::String
347
+ SENSITIVE: []
348
+ end
349
+
350
+ class DisassociateResourceResponseElement
351
+ attr_accessor arn: ::String
352
+ attr_accessor error: Types::AssociateResourceError
353
+ SENSITIVE: []
354
+ end
355
+
356
+ class FreeTierConfig
357
+ attr_accessor activated: bool
358
+ SENSITIVE: []
359
+ end
360
+
361
+ class GetBillingGroupCostReportInput
362
+ attr_accessor arn: ::String
363
+ attr_accessor billing_period_range: Types::BillingPeriodRange
364
+ attr_accessor group_by: ::Array[("PRODUCT_NAME" | "BILLING_PERIOD")]
365
+ attr_accessor max_results: ::Integer
366
+ attr_accessor next_token: ::String
367
+ SENSITIVE: []
368
+ end
369
+
370
+ class GetBillingGroupCostReportOutput
371
+ attr_accessor billing_group_cost_report_results: ::Array[Types::BillingGroupCostReportResultElement]
372
+ attr_accessor next_token: ::String
373
+ SENSITIVE: []
374
+ end
375
+
376
+ class InternalServerException
377
+ attr_accessor message: ::String
378
+ attr_accessor retry_after_seconds: ::Integer
379
+ SENSITIVE: []
380
+ end
381
+
382
+ class LineItemFilter
383
+ attr_accessor attribute: ("LINE_ITEM_TYPE")
384
+ attr_accessor match_option: ("NOT_EQUAL")
385
+ attr_accessor values: ::Array[("SAVINGS_PLAN_NEGATION")]
386
+ SENSITIVE: []
387
+ end
388
+
389
+ class ListAccountAssociationsFilter
390
+ attr_accessor association: ::String
391
+ attr_accessor account_id: ::String
392
+ attr_accessor account_ids: ::Array[::String]
393
+ SENSITIVE: []
394
+ end
395
+
396
+ class ListAccountAssociationsInput
397
+ attr_accessor billing_period: ::String
398
+ attr_accessor filters: Types::ListAccountAssociationsFilter
399
+ attr_accessor next_token: ::String
400
+ SENSITIVE: []
401
+ end
402
+
403
+ class ListAccountAssociationsOutput
404
+ attr_accessor linked_accounts: ::Array[Types::AccountAssociationsListElement]
405
+ attr_accessor next_token: ::String
406
+ SENSITIVE: []
407
+ end
408
+
409
+ class ListBillingGroupAccountGrouping
410
+ attr_accessor auto_associate: bool
411
+ SENSITIVE: []
412
+ end
413
+
414
+ class ListBillingGroupCostReportsFilter
415
+ attr_accessor billing_group_arns: ::Array[::String]
416
+ SENSITIVE: []
417
+ end
418
+
419
+ class ListBillingGroupCostReportsInput
420
+ attr_accessor billing_period: ::String
421
+ attr_accessor max_results: ::Integer
422
+ attr_accessor next_token: ::String
423
+ attr_accessor filters: Types::ListBillingGroupCostReportsFilter
424
+ SENSITIVE: []
425
+ end
426
+
427
+ class ListBillingGroupCostReportsOutput
428
+ attr_accessor billing_group_cost_reports: ::Array[Types::BillingGroupCostReportElement]
429
+ attr_accessor next_token: ::String
430
+ SENSITIVE: []
431
+ end
432
+
433
+ class ListBillingGroupsFilter
434
+ attr_accessor arns: ::Array[::String]
435
+ attr_accessor pricing_plan: ::String
436
+ attr_accessor statuses: ::Array[("ACTIVE" | "PRIMARY_ACCOUNT_MISSING")]
437
+ attr_accessor auto_associate: bool
438
+ SENSITIVE: []
439
+ end
440
+
441
+ class ListBillingGroupsInput
442
+ attr_accessor billing_period: ::String
443
+ attr_accessor max_results: ::Integer
444
+ attr_accessor next_token: ::String
445
+ attr_accessor filters: Types::ListBillingGroupsFilter
446
+ SENSITIVE: []
447
+ end
448
+
449
+ class ListBillingGroupsOutput
450
+ attr_accessor billing_groups: ::Array[Types::BillingGroupListElement]
451
+ attr_accessor next_token: ::String
452
+ SENSITIVE: []
453
+ end
454
+
455
+ class ListCustomLineItemChargeDetails
456
+ attr_accessor flat: Types::ListCustomLineItemFlatChargeDetails
457
+ attr_accessor percentage: Types::ListCustomLineItemPercentageChargeDetails
458
+ attr_accessor type: ("CREDIT" | "FEE")
459
+ attr_accessor line_item_filters: ::Array[Types::LineItemFilter]
460
+ SENSITIVE: []
461
+ end
462
+
463
+ class ListCustomLineItemFlatChargeDetails
464
+ attr_accessor charge_value: ::Float
465
+ SENSITIVE: []
466
+ end
467
+
468
+ class ListCustomLineItemPercentageChargeDetails
469
+ attr_accessor percentage_value: ::Float
470
+ SENSITIVE: []
471
+ end
472
+
473
+ class ListCustomLineItemVersionsBillingPeriodRangeFilter
474
+ attr_accessor start_billing_period: ::String
475
+ attr_accessor end_billing_period: ::String
476
+ SENSITIVE: []
477
+ end
478
+
479
+ class ListCustomLineItemVersionsFilter
480
+ attr_accessor billing_period_range: Types::ListCustomLineItemVersionsBillingPeriodRangeFilter
481
+ SENSITIVE: []
482
+ end
483
+
484
+ class ListCustomLineItemVersionsInput
485
+ attr_accessor arn: ::String
486
+ attr_accessor max_results: ::Integer
487
+ attr_accessor next_token: ::String
488
+ attr_accessor filters: Types::ListCustomLineItemVersionsFilter
489
+ SENSITIVE: []
490
+ end
491
+
492
+ class ListCustomLineItemVersionsOutput
493
+ attr_accessor custom_line_item_versions: ::Array[Types::CustomLineItemVersionListElement]
494
+ attr_accessor next_token: ::String
495
+ SENSITIVE: []
496
+ end
497
+
498
+ class ListCustomLineItemsFilter
499
+ attr_accessor names: ::Array[::String]
500
+ attr_accessor billing_groups: ::Array[::String]
501
+ attr_accessor arns: ::Array[::String]
502
+ attr_accessor account_ids: ::Array[::String]
503
+ SENSITIVE: []
504
+ end
505
+
506
+ class ListCustomLineItemsInput
507
+ attr_accessor billing_period: ::String
508
+ attr_accessor max_results: ::Integer
509
+ attr_accessor next_token: ::String
510
+ attr_accessor filters: Types::ListCustomLineItemsFilter
511
+ SENSITIVE: []
512
+ end
513
+
514
+ class ListCustomLineItemsOutput
515
+ attr_accessor custom_line_items: ::Array[Types::CustomLineItemListElement]
516
+ attr_accessor next_token: ::String
517
+ SENSITIVE: []
518
+ end
519
+
520
+ class ListPricingPlansAssociatedWithPricingRuleInput
521
+ attr_accessor billing_period: ::String
522
+ attr_accessor pricing_rule_arn: ::String
523
+ attr_accessor max_results: ::Integer
524
+ attr_accessor next_token: ::String
525
+ SENSITIVE: []
526
+ end
527
+
528
+ class ListPricingPlansAssociatedWithPricingRuleOutput
529
+ attr_accessor billing_period: ::String
530
+ attr_accessor pricing_rule_arn: ::String
531
+ attr_accessor pricing_plan_arns: ::Array[::String]
532
+ attr_accessor next_token: ::String
533
+ SENSITIVE: []
534
+ end
535
+
536
+ class ListPricingPlansFilter
537
+ attr_accessor arns: ::Array[::String]
538
+ SENSITIVE: []
539
+ end
540
+
541
+ class ListPricingPlansInput
542
+ attr_accessor billing_period: ::String
543
+ attr_accessor filters: Types::ListPricingPlansFilter
544
+ attr_accessor max_results: ::Integer
545
+ attr_accessor next_token: ::String
546
+ SENSITIVE: []
547
+ end
548
+
549
+ class ListPricingPlansOutput
550
+ attr_accessor billing_period: ::String
551
+ attr_accessor pricing_plans: ::Array[Types::PricingPlanListElement]
552
+ attr_accessor next_token: ::String
553
+ SENSITIVE: []
554
+ end
555
+
556
+ class ListPricingRulesAssociatedToPricingPlanInput
557
+ attr_accessor billing_period: ::String
558
+ attr_accessor pricing_plan_arn: ::String
559
+ attr_accessor max_results: ::Integer
560
+ attr_accessor next_token: ::String
561
+ SENSITIVE: []
562
+ end
563
+
564
+ class ListPricingRulesAssociatedToPricingPlanOutput
565
+ attr_accessor billing_period: ::String
566
+ attr_accessor pricing_plan_arn: ::String
567
+ attr_accessor pricing_rule_arns: ::Array[::String]
568
+ attr_accessor next_token: ::String
569
+ SENSITIVE: []
570
+ end
571
+
572
+ class ListPricingRulesFilter
573
+ attr_accessor arns: ::Array[::String]
574
+ SENSITIVE: []
575
+ end
576
+
577
+ class ListPricingRulesInput
578
+ attr_accessor billing_period: ::String
579
+ attr_accessor filters: Types::ListPricingRulesFilter
580
+ attr_accessor max_results: ::Integer
581
+ attr_accessor next_token: ::String
582
+ SENSITIVE: []
583
+ end
584
+
585
+ class ListPricingRulesOutput
586
+ attr_accessor billing_period: ::String
587
+ attr_accessor pricing_rules: ::Array[Types::PricingRuleListElement]
588
+ attr_accessor next_token: ::String
589
+ SENSITIVE: []
590
+ end
591
+
592
+ class ListResourcesAssociatedToCustomLineItemFilter
593
+ attr_accessor relationship: ("PARENT" | "CHILD")
594
+ SENSITIVE: []
595
+ end
596
+
597
+ class ListResourcesAssociatedToCustomLineItemInput
598
+ attr_accessor billing_period: ::String
599
+ attr_accessor arn: ::String
600
+ attr_accessor max_results: ::Integer
601
+ attr_accessor next_token: ::String
602
+ attr_accessor filters: Types::ListResourcesAssociatedToCustomLineItemFilter
603
+ SENSITIVE: []
604
+ end
605
+
606
+ class ListResourcesAssociatedToCustomLineItemOutput
607
+ attr_accessor arn: ::String
608
+ attr_accessor associated_resources: ::Array[Types::ListResourcesAssociatedToCustomLineItemResponseElement]
609
+ attr_accessor next_token: ::String
610
+ SENSITIVE: []
611
+ end
612
+
613
+ class ListResourcesAssociatedToCustomLineItemResponseElement
614
+ attr_accessor arn: ::String
615
+ attr_accessor relationship: ("PARENT" | "CHILD")
616
+ attr_accessor end_billing_period: ::String
617
+ SENSITIVE: []
618
+ end
619
+
620
+ class ListTagsForResourceRequest
621
+ attr_accessor resource_arn: ::String
622
+ SENSITIVE: []
623
+ end
624
+
625
+ class ListTagsForResourceResponse
626
+ attr_accessor tags: ::Hash[::String, ::String]
627
+ SENSITIVE: []
628
+ end
629
+
630
+ class PricingPlanListElement
631
+ attr_accessor name: ::String
632
+ attr_accessor arn: ::String
633
+ attr_accessor description: ::String
634
+ attr_accessor size: ::Integer
635
+ attr_accessor creation_time: ::Integer
636
+ attr_accessor last_modified_time: ::Integer
637
+ SENSITIVE: [:name, :description]
638
+ end
639
+
640
+ class PricingRuleListElement
641
+ attr_accessor name: ::String
642
+ attr_accessor arn: ::String
643
+ attr_accessor description: ::String
644
+ attr_accessor scope: ("GLOBAL" | "SERVICE" | "BILLING_ENTITY" | "SKU")
645
+ attr_accessor type: ("MARKUP" | "DISCOUNT" | "TIERING")
646
+ attr_accessor modifier_percentage: ::Float
647
+ attr_accessor service: ::String
648
+ attr_accessor associated_pricing_plan_count: ::Integer
649
+ attr_accessor creation_time: ::Integer
650
+ attr_accessor last_modified_time: ::Integer
651
+ attr_accessor billing_entity: ::String
652
+ attr_accessor tiering: Types::Tiering
653
+ attr_accessor usage_type: ::String
654
+ attr_accessor operation: ::String
655
+ SENSITIVE: [:name, :description]
656
+ end
657
+
658
+ class ResourceNotFoundException
659
+ attr_accessor message: ::String
660
+ attr_accessor resource_id: ::String
661
+ attr_accessor resource_type: ::String
662
+ SENSITIVE: []
663
+ end
664
+
665
+ class ServiceLimitExceededException
666
+ attr_accessor message: ::String
667
+ attr_accessor resource_id: ::String
668
+ attr_accessor resource_type: ::String
669
+ attr_accessor limit_code: ::String
670
+ attr_accessor service_code: ::String
671
+ SENSITIVE: []
672
+ end
673
+
674
+ class TagResourceRequest
675
+ attr_accessor resource_arn: ::String
676
+ attr_accessor tags: ::Hash[::String, ::String]
677
+ SENSITIVE: []
678
+ end
679
+
680
+ class TagResourceResponse < Aws::EmptyStructure
681
+ end
682
+
683
+ class ThrottlingException
684
+ attr_accessor message: ::String
685
+ attr_accessor retry_after_seconds: ::Integer
686
+ SENSITIVE: []
687
+ end
688
+
689
+ class Tiering
690
+ attr_accessor free_tier: Types::FreeTierConfig
691
+ SENSITIVE: []
692
+ end
693
+
694
+ class UntagResourceRequest
695
+ attr_accessor resource_arn: ::String
696
+ attr_accessor tag_keys: ::Array[::String]
697
+ SENSITIVE: []
698
+ end
699
+
700
+ class UntagResourceResponse < Aws::EmptyStructure
701
+ end
702
+
703
+ class UpdateBillingGroupAccountGrouping
704
+ attr_accessor auto_associate: bool
705
+ SENSITIVE: []
706
+ end
707
+
708
+ class UpdateBillingGroupInput
709
+ attr_accessor arn: ::String
710
+ attr_accessor name: ::String
711
+ attr_accessor status: ("ACTIVE" | "PRIMARY_ACCOUNT_MISSING")
712
+ attr_accessor computation_preference: Types::ComputationPreference
713
+ attr_accessor description: ::String
714
+ attr_accessor account_grouping: Types::UpdateBillingGroupAccountGrouping
715
+ SENSITIVE: [:name, :description]
716
+ end
717
+
718
+ class UpdateBillingGroupOutput
719
+ attr_accessor arn: ::String
720
+ attr_accessor name: ::String
721
+ attr_accessor description: ::String
722
+ attr_accessor primary_account_id: ::String
723
+ attr_accessor pricing_plan_arn: ::String
724
+ attr_accessor size: ::Integer
725
+ attr_accessor last_modified_time: ::Integer
726
+ attr_accessor status: ("ACTIVE" | "PRIMARY_ACCOUNT_MISSING")
727
+ attr_accessor status_reason: ::String
728
+ attr_accessor account_grouping: Types::UpdateBillingGroupAccountGrouping
729
+ SENSITIVE: [:name, :description]
730
+ end
731
+
732
+ class UpdateCustomLineItemChargeDetails
733
+ attr_accessor flat: Types::UpdateCustomLineItemFlatChargeDetails
734
+ attr_accessor percentage: Types::UpdateCustomLineItemPercentageChargeDetails
735
+ attr_accessor line_item_filters: ::Array[Types::LineItemFilter]
736
+ SENSITIVE: []
737
+ end
738
+
739
+ class UpdateCustomLineItemFlatChargeDetails
740
+ attr_accessor charge_value: ::Float
741
+ SENSITIVE: []
742
+ end
743
+
744
+ class UpdateCustomLineItemInput
745
+ attr_accessor arn: ::String
746
+ attr_accessor name: ::String
747
+ attr_accessor description: ::String
748
+ attr_accessor charge_details: Types::UpdateCustomLineItemChargeDetails
749
+ attr_accessor billing_period_range: Types::CustomLineItemBillingPeriodRange
750
+ SENSITIVE: [:name, :description]
751
+ end
752
+
753
+ class UpdateCustomLineItemOutput
754
+ attr_accessor arn: ::String
755
+ attr_accessor billing_group_arn: ::String
756
+ attr_accessor name: ::String
757
+ attr_accessor description: ::String
758
+ attr_accessor charge_details: Types::ListCustomLineItemChargeDetails
759
+ attr_accessor last_modified_time: ::Integer
760
+ attr_accessor association_size: ::Integer
761
+ SENSITIVE: [:name, :description]
762
+ end
763
+
764
+ class UpdateCustomLineItemPercentageChargeDetails
765
+ attr_accessor percentage_value: ::Float
766
+ SENSITIVE: []
767
+ end
768
+
769
+ class UpdateFreeTierConfig
770
+ attr_accessor activated: bool
771
+ SENSITIVE: []
772
+ end
773
+
774
+ class UpdatePricingPlanInput
775
+ attr_accessor arn: ::String
776
+ attr_accessor name: ::String
777
+ attr_accessor description: ::String
778
+ SENSITIVE: [:name, :description]
779
+ end
780
+
781
+ class UpdatePricingPlanOutput
782
+ attr_accessor arn: ::String
783
+ attr_accessor name: ::String
784
+ attr_accessor description: ::String
785
+ attr_accessor size: ::Integer
786
+ attr_accessor last_modified_time: ::Integer
787
+ SENSITIVE: [:name, :description]
788
+ end
789
+
790
+ class UpdatePricingRuleInput
791
+ attr_accessor arn: ::String
792
+ attr_accessor name: ::String
793
+ attr_accessor description: ::String
794
+ attr_accessor type: ("MARKUP" | "DISCOUNT" | "TIERING")
795
+ attr_accessor modifier_percentage: ::Float
796
+ attr_accessor tiering: Types::UpdateTieringInput
797
+ SENSITIVE: [:name, :description]
798
+ end
799
+
800
+ class UpdatePricingRuleOutput
801
+ attr_accessor arn: ::String
802
+ attr_accessor name: ::String
803
+ attr_accessor description: ::String
804
+ attr_accessor scope: ("GLOBAL" | "SERVICE" | "BILLING_ENTITY" | "SKU")
805
+ attr_accessor type: ("MARKUP" | "DISCOUNT" | "TIERING")
806
+ attr_accessor modifier_percentage: ::Float
807
+ attr_accessor service: ::String
808
+ attr_accessor associated_pricing_plan_count: ::Integer
809
+ attr_accessor last_modified_time: ::Integer
810
+ attr_accessor billing_entity: ::String
811
+ attr_accessor tiering: Types::UpdateTieringInput
812
+ attr_accessor usage_type: ::String
813
+ attr_accessor operation: ::String
814
+ SENSITIVE: [:name, :description]
815
+ end
816
+
817
+ class UpdateTieringInput
818
+ attr_accessor free_tier: Types::UpdateFreeTierConfig
819
+ SENSITIVE: []
820
+ end
821
+
822
+ class ValidationException
823
+ attr_accessor message: ::String
824
+ attr_accessor reason: ("UNKNOWN_OPERATION" | "CANNOT_PARSE" | "FIELD_VALIDATION_FAILED" | "OTHER" | "PRIMARY_NOT_ASSOCIATED" | "PRIMARY_CANNOT_DISASSOCIATE" | "ACCOUNTS_NOT_ASSOCIATED" | "ACCOUNTS_ALREADY_ASSOCIATED" | "ILLEGAL_PRIMARY_ACCOUNT" | "ILLEGAL_ACCOUNTS" | "MISMATCHED_BILLINGGROUP_ARN" | "MISSING_BILLINGGROUP" | "MISMATCHED_CUSTOMLINEITEM_ARN" | "ILLEGAL_BILLING_PERIOD" | "ILLEGAL_BILLING_PERIOD_RANGE" | "TOO_MANY_ACCOUNTS_IN_REQUEST" | "DUPLICATE_ACCOUNT" | "INVALID_BILLING_GROUP_STATUS" | "MISMATCHED_PRICINGPLAN_ARN" | "MISSING_PRICINGPLAN" | "MISMATCHED_PRICINGRULE_ARN" | "DUPLICATE_PRICINGRULE_ARNS" | "ILLEGAL_EXPRESSION" | "ILLEGAL_SCOPE" | "ILLEGAL_SERVICE" | "PRICINGRULES_NOT_EXIST" | "PRICINGRULES_ALREADY_ASSOCIATED" | "PRICINGRULES_NOT_ASSOCIATED" | "INVALID_TIME_RANGE" | "INVALID_BILLINGVIEW_ARN" | "MISMATCHED_BILLINGVIEW_ARN" | "ILLEGAL_CUSTOMLINEITEM" | "MISSING_CUSTOMLINEITEM" | "ILLEGAL_CUSTOMLINEITEM_UPDATE" | "TOO_MANY_CUSTOMLINEITEMS_IN_REQUEST" | "ILLEGAL_CHARGE_DETAILS" | "ILLEGAL_UPDATE_CHARGE_DETAILS" | "INVALID_ARN" | "ILLEGAL_RESOURCE_ARNS" | "ILLEGAL_CUSTOMLINEITEM_MODIFICATION" | "MISSING_LINKED_ACCOUNT_IDS" | "MULTIPLE_LINKED_ACCOUNT_IDS" | "MISSING_PRICING_PLAN_ARN" | "MULTIPLE_PRICING_PLAN_ARN" | "ILLEGAL_CHILD_ASSOCIATE_RESOURCE" | "CUSTOM_LINE_ITEM_ASSOCIATION_EXISTS" | "INVALID_BILLING_GROUP" | "INVALID_BILLING_PERIOD_FOR_OPERATION" | "ILLEGAL_BILLING_ENTITY" | "ILLEGAL_MODIFIER_PERCENTAGE" | "ILLEGAL_TYPE" | "ILLEGAL_ENDED_BILLINGGROUP" | "ILLEGAL_TIERING_INPUT" | "ILLEGAL_OPERATION" | "ILLEGAL_USAGE_TYPE" | "INVALID_SKU_COMBO" | "INVALID_FILTER" | "TOO_MANY_AUTO_ASSOCIATE_BILLING_GROUPS" | "CANNOT_DELETE_AUTO_ASSOCIATE_BILLING_GROUP" | "ILLEGAL_ACCOUNT_ID")
825
+ attr_accessor fields: ::Array[Types::ValidationExceptionField]
826
+ SENSITIVE: []
827
+ end
828
+
829
+ class ValidationExceptionField
830
+ attr_accessor name: ::String
831
+ attr_accessor message: ::String
832
+ SENSITIVE: []
833
+ end
834
+ end
835
+ end