aws-sdk-appmonetization 1.0.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.
data/sig/types.rbs ADDED
@@ -0,0 +1,1399 @@
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::AppMonetization
9
+ module Types
10
+
11
+ class AccessDeniedException
12
+ attr_accessor message: ::String
13
+ SENSITIVE: []
14
+ end
15
+
16
+ class AlternativeInputs
17
+ attr_accessor comparables_opt_in: ("OPTED_IN" | "OPTED_OUT")
18
+ attr_accessor comparables: ::Array[Types::Comparable]
19
+ attr_accessor outside_options: ::Array[Types::OutsideOption]
20
+ SENSITIVE: [:comparables, :outside_options]
21
+ end
22
+
23
+ class AlternativesOutcome
24
+ attr_accessor comparables_used: ::Array[::String]
25
+ attr_accessor comparables_dropped: ::Array[Types::DroppedComparable]
26
+ SENSITIVE: []
27
+ end
28
+
29
+ class App
30
+ attr_accessor app_id: ::String
31
+ attr_accessor name: ::String
32
+ attr_accessor description: ::String
33
+ attr_accessor status: ("ACTIVE" | "DELETED")
34
+ attr_accessor created_at: ::Time
35
+ attr_accessor arn: ::String
36
+ SENSITIVE: []
37
+ end
38
+
39
+ class AppPaymentRegistration
40
+ attr_accessor app_id: ::String
41
+ attr_accessor status: ("ACTIVE" | "PENDING" | "FAILED")
42
+ attr_accessor payment_registration_id: ::String
43
+ attr_accessor payment_registration_status: ("ACTIVE" | "PENDING" | "FAILED")
44
+ attr_accessor additional_app_eligibility: ("ELIGIBLE" | "ONBOARDING_INCOMPLETE" | "IDENTITY_PENDING" | "REGISTRATION_FAILED")
45
+ attr_accessor legal_name: ::String
46
+ attr_accessor developer_address: Types::DeveloperAddress
47
+ attr_accessor tax_registration_number: ::String
48
+ attr_accessor business_type: ("INDIVIDUAL" | "REGISTERED_BUSINESS")
49
+ attr_accessor email: ::String
50
+ attr_accessor support_email: ::String
51
+ attr_accessor display_name: ::String
52
+ attr_accessor support_phone: ::String
53
+ attr_accessor tax_registrations: ::Array[Types::TaxRegistration]
54
+ attr_accessor created_at: ::Time
55
+ attr_accessor updated_at: ::Time
56
+ SENSITIVE: [:legal_name, :tax_registration_number, :email, :support_email, :display_name, :support_phone]
57
+ end
58
+
59
+ class AppQuota
60
+ attr_accessor included_quantity: ::Integer
61
+ attr_accessor overage_policy: ("NO_OVERAGE_THROTTLE" | "APPLY_FIXED_OVERAGE" | "APPLY_TIERED_OVERAGE")
62
+ attr_accessor overage_price: Types::Price
63
+ attr_accessor tiered_overage: Types::TieredOverage
64
+ attr_accessor max_quantity: ::Integer
65
+ SENSITIVE: []
66
+ end
67
+
68
+ class AppQuotaConfig
69
+ attr_accessor flat: Types::AppQuota
70
+ attr_accessor tiered: Types::AppTieredQuota
71
+ attr_accessor unknown: untyped
72
+ SENSITIVE: []
73
+
74
+ class Flat < AppQuotaConfig
75
+ end
76
+ class Tiered < AppQuotaConfig
77
+ end
78
+ class Unknown < AppQuotaConfig
79
+ end
80
+ end
81
+
82
+ class AppTieredQuota
83
+ attr_accessor included_quantity: ::Integer
84
+ attr_accessor tiered_price: Types::TieredPrice
85
+ attr_accessor max_quantity: ::Integer
86
+ SENSITIVE: []
87
+ end
88
+
89
+ class ArchiveMetricRequest
90
+ attr_accessor app_id: ::String
91
+ attr_accessor metric_id: ::String
92
+ SENSITIVE: []
93
+ end
94
+
95
+ class ArchiveMetricResponse
96
+ attr_accessor app_id: ::String
97
+ attr_accessor metric_id: ::String
98
+ SENSITIVE: []
99
+ end
100
+
101
+ class ArchivePlanRequest
102
+ attr_accessor app_id: ::String
103
+ attr_accessor plan_id: ::String
104
+ SENSITIVE: []
105
+ end
106
+
107
+ class ArchivePlanResponse
108
+ attr_accessor app_id: ::String
109
+ attr_accessor plan_id: ::String
110
+ SENSITIVE: []
111
+ end
112
+
113
+ class BillableAction
114
+ attr_accessor name: ::String
115
+ attr_accessor unit: ::String
116
+ attr_accessor unit_cost: ::Float
117
+ attr_accessor typical_monthly_usage: ::Float
118
+ attr_accessor minutes_saved: ::Float
119
+ attr_accessor money_saved: ::Float
120
+ attr_accessor value_per_use: ::Float
121
+ SENSITIVE: [:unit_cost, :money_saved, :value_per_use]
122
+ end
123
+
124
+ class BreakEvenPoint
125
+ attr_accessor cost_per_payer: Types::Price
126
+ attr_accessor payers: ::Float
127
+ SENSITIVE: []
128
+ end
129
+
130
+ class BreakEvenRange
131
+ attr_accessor expected: Types::BreakEvenPoint
132
+ attr_accessor low: Types::BreakEvenPoint
133
+ attr_accessor high: Types::BreakEvenPoint
134
+ SENSITIVE: []
135
+ end
136
+
137
+ class CancelSubscriptionRequest
138
+ attr_accessor app_id: ::String
139
+ attr_accessor user_id: ::String
140
+ attr_accessor effective_at: ::Time
141
+ attr_accessor scope: ("sandbox" | "live")
142
+ SENSITIVE: []
143
+ end
144
+
145
+ class CancelSubscriptionResponse
146
+ attr_accessor subscription: Types::Subscription
147
+ attr_accessor cancellation_effective_at: ::Time
148
+ SENSITIVE: []
149
+ end
150
+
151
+ class CheckoutDropOff
152
+ attr_accessor free_plan: ::Float
153
+ attr_accessor flat: ::Float
154
+ attr_accessor per_use: ::Float
155
+ attr_accessor tiered: ::Float
156
+ SENSITIVE: []
157
+ end
158
+
159
+ class CheckoutItem
160
+ attr_accessor one_time_price_id: ::String
161
+ attr_accessor quantity: ::Integer
162
+ SENSITIVE: []
163
+ end
164
+
165
+ class CheckoutOutcome
166
+ attr_accessor payment_required: Types::CheckoutRedirect
167
+ attr_accessor payment_not_required: Types::SubscriptionChange
168
+ attr_accessor plan_selection_required: Types::PlanSelectionRedirect
169
+ attr_accessor unknown: untyped
170
+ SENSITIVE: []
171
+
172
+ class PaymentRequired < CheckoutOutcome
173
+ end
174
+ class PaymentNotRequired < CheckoutOutcome
175
+ end
176
+ class PlanSelectionRequired < CheckoutOutcome
177
+ end
178
+ class Unknown < CheckoutOutcome
179
+ end
180
+ end
181
+
182
+ class CheckoutRedirect
183
+ attr_accessor checkout_url: ::String
184
+ attr_accessor expires_at: ::Time
185
+ SENSITIVE: []
186
+ end
187
+
188
+ class Comparable
189
+ attr_accessor name: ::String
190
+ attr_accessor url: ::String
191
+ attr_accessor mechanism: ("PAID_SUB" | "PER_REQUEST" | "FREE_CAPPED" | "FREEMIUM" | "ONE_TIME")
192
+ attr_accessor price: Types::Price
193
+ attr_accessor cap: ::Float
194
+ attr_accessor included_units: ::Float
195
+ attr_accessor overage_rate: ::Float
196
+ attr_accessor quality: ::Float
197
+ attr_accessor features: ::Hash[::String, ::Float]
198
+ SENSITIVE: [:overage_rate]
199
+ end
200
+
201
+ class ConflictException
202
+ attr_accessor message: ::String
203
+ attr_accessor resource_id: ::String
204
+ attr_accessor resource_type: ::String
205
+ SENSITIVE: []
206
+ end
207
+
208
+ class CostCover
209
+ attr_accessor margin: ::Float
210
+ attr_accessor price: Types::Price
211
+ SENSITIVE: []
212
+ end
213
+
214
+ class CostGroup
215
+ attr_accessor key: ::String
216
+ attr_accessor cost: ::String
217
+ SENSITIVE: []
218
+ end
219
+
220
+ class CostInputs
221
+ attr_accessor source: ("ACTUALS" | "LIVE" | "ESTIMATE" | "NONE")
222
+ attr_accessor unknown: ::Array[::String]
223
+ attr_accessor fixed_monthly_cost: ::Float
224
+ attr_accessor margins: ::Array[::Float]
225
+ SENSITIVE: [:unknown, :fixed_monthly_cost, :margins]
226
+ end
227
+
228
+ class CostOutcome
229
+ attr_accessor status: ("COMPLETE" | "INCOMPLETE" | "NOT_CHECKED")
230
+ attr_accessor cover_status: ("MODELED" | "COVERED" | "ARITHMETIC" | "NOT_CHECKED")
231
+ attr_accessor cover_prices: ::Array[Types::CostCover]
232
+ attr_accessor break_even: Types::BreakEvenRange
233
+ attr_accessor implied_margin: ::Float
234
+ SENSITIVE: [:cover_prices, :break_even]
235
+ end
236
+
237
+ class CostTrackingConfiguration
238
+ attr_accessor role_arn: ::String
239
+ SENSITIVE: []
240
+ end
241
+
242
+ class CreateAppPaymentRegistrationRequest
243
+ attr_accessor app_id: ::String
244
+ attr_accessor legal_name: ::String
245
+ attr_accessor developer_address: Types::DeveloperAddress
246
+ attr_accessor tax_registration_number: ::String
247
+ attr_accessor business_type: ("INDIVIDUAL" | "REGISTERED_BUSINESS")
248
+ attr_accessor email: ::String
249
+ attr_accessor support_email: ::String
250
+ attr_accessor display_name: ::String
251
+ attr_accessor support_phone: ::String
252
+ attr_accessor invoice_logo: ::String
253
+ attr_accessor tax_registrations: ::Array[Types::TaxRegistration]
254
+ attr_accessor return_url: ::String
255
+ attr_accessor refresh_url: ::String
256
+ attr_accessor client_token: ::String
257
+ attr_accessor scope: ("sandbox" | "live")
258
+ SENSITIVE: [:legal_name, :tax_registration_number, :email, :support_email, :display_name, :support_phone, :invoice_logo]
259
+ end
260
+
261
+ class CreateAppPaymentRegistrationResponse
262
+ attr_accessor registration_url: ::String
263
+ attr_accessor expires_at: ::Time
264
+ SENSITIVE: []
265
+ end
266
+
267
+ class CreateAppRequest
268
+ attr_accessor name: ::String
269
+ attr_accessor description: ::String
270
+ attr_accessor client_token: ::String
271
+ attr_accessor tags: ::Hash[::String, ::String]
272
+ attr_accessor cost_tracking: Types::CostTrackingConfiguration
273
+ SENSITIVE: []
274
+ end
275
+
276
+ class CreateAppResponse
277
+ attr_accessor app: Types::App
278
+ SENSITIVE: []
279
+ end
280
+
281
+ class CreateBillingPortalSessionRequest
282
+ attr_accessor app_id: ::String
283
+ attr_accessor user_id: ::String
284
+ attr_accessor return_url: ::String
285
+ attr_accessor refresh_url: ::String
286
+ attr_accessor session_duration_seconds: ::Integer
287
+ attr_accessor client_token: ::String
288
+ attr_accessor scope: ("sandbox" | "live")
289
+ SENSITIVE: []
290
+ end
291
+
292
+ class CreateBillingPortalSessionResponse
293
+ attr_accessor billing_portal_url: ::String
294
+ attr_accessor session_token: ::String
295
+ attr_accessor expires_at: ::Time
296
+ attr_accessor manage_token: ::String
297
+ SENSITIVE: [:billing_portal_url, :session_token, :manage_token]
298
+ end
299
+
300
+ class CreateMetricRequest
301
+ attr_accessor app_id: ::String
302
+ attr_accessor name: ::String
303
+ attr_accessor description: ::String
304
+ attr_accessor event_type: ::String
305
+ attr_accessor unit_name: ::String
306
+ attr_accessor definition: Types::MetricDefinition
307
+ attr_accessor client_token: ::String
308
+ attr_accessor tags: ::Hash[::String, ::String]
309
+ SENSITIVE: []
310
+ end
311
+
312
+ class CreateMetricResponse
313
+ attr_accessor metric: Types::Metric
314
+ SENSITIVE: []
315
+ end
316
+
317
+ class CreateOneTimeCheckoutSessionRequest
318
+ attr_accessor app_id: ::String
319
+ attr_accessor user_id: ::String
320
+ attr_accessor items: ::Array[Types::CheckoutItem]
321
+ attr_accessor return_url: ::String
322
+ attr_accessor client_token: ::String
323
+ attr_accessor scope: ("sandbox" | "live")
324
+ SENSITIVE: []
325
+ end
326
+
327
+ class CreateOneTimeCheckoutSessionResponse
328
+ attr_accessor checkout_url: ::String
329
+ attr_accessor expires_at: ::Time
330
+ attr_accessor checkout_session_id: ::String
331
+ SENSITIVE: []
332
+ end
333
+
334
+ class CreateOneTimePriceRequest
335
+ attr_accessor app_id: ::String
336
+ attr_accessor definition: Types::OneTimePriceDefinition
337
+ attr_accessor client_token: ::String
338
+ attr_accessor tags: ::Hash[::String, ::String]
339
+ SENSITIVE: []
340
+ end
341
+
342
+ class CreateOneTimePriceResponse
343
+ attr_accessor one_time_price: Types::OneTimePrice
344
+ SENSITIVE: []
345
+ end
346
+
347
+ class CreatePlanRequest
348
+ attr_accessor app_id: ::String
349
+ attr_accessor definition: Types::PlanDefinition
350
+ attr_accessor client_token: ::String
351
+ attr_accessor tags: ::Hash[::String, ::String]
352
+ SENSITIVE: []
353
+ end
354
+
355
+ class CreatePlanResponse
356
+ attr_accessor plan: Types::Plan
357
+ SENSITIVE: []
358
+ end
359
+
360
+ class CreateSubscriptionCheckoutSessionRequest
361
+ attr_accessor app_id: ::String
362
+ attr_accessor user_id: ::String
363
+ attr_accessor plan_id: ::String
364
+ attr_accessor return_url: ::String
365
+ attr_accessor refresh_url: ::String
366
+ attr_accessor session_duration_seconds: ::Integer
367
+ attr_accessor client_token: ::String
368
+ attr_accessor scope: ("sandbox" | "live")
369
+ SENSITIVE: []
370
+ end
371
+
372
+ class CreateSubscriptionCheckoutSessionResponse
373
+ attr_accessor outcome: Types::CheckoutOutcome
374
+ SENSITIVE: []
375
+ end
376
+
377
+ class CustomCharge
378
+ attr_accessor charge_id: ::String
379
+ attr_accessor description: ::String
380
+ attr_accessor amount: ::String
381
+ attr_accessor currency: ::String
382
+ attr_accessor metric_id: ::String
383
+ attr_accessor tax_code: ::String
384
+ SENSITIVE: []
385
+ end
386
+
387
+ class CustomerType
388
+ attr_accessor name: ::String
389
+ attr_accessor share: ::Float
390
+ attr_accessor usage_multiplier: ::Float
391
+ attr_accessor value_per_use_multiplier: ::Float
392
+ attr_accessor usage_spread: ("SIMILAR" | "NORMAL" | "VARIED" | "EXTREME")
393
+ attr_accessor feature_weights: ::Hash[::String, ::Float]
394
+ SENSITIVE: []
395
+ end
396
+
397
+ class DeleteAppRequest
398
+ attr_accessor app_id: ::String
399
+ attr_accessor identifier: ::String
400
+ attr_accessor scope: ("sandbox" | "live")
401
+ SENSITIVE: []
402
+ end
403
+
404
+ class DeleteAppResponse
405
+ attr_accessor app_id: ::String
406
+ attr_accessor status: ("ACTIVE" | "DELETED")
407
+ attr_accessor arn: ::String
408
+ SENSITIVE: []
409
+ end
410
+
411
+ class DeleteOneTimePriceRequest
412
+ attr_accessor app_id: ::String
413
+ attr_accessor one_time_price_id: ::String
414
+ attr_accessor client_token: ::String
415
+ SENSITIVE: []
416
+ end
417
+
418
+ class DeleteOneTimePriceResponse < Aws::EmptyStructure
419
+ end
420
+
421
+ class DeleteThirdPartyCostRequest
422
+ attr_accessor app_id: ::String
423
+ attr_accessor cost_id: ::String
424
+ SENSITIVE: []
425
+ end
426
+
427
+ class DeleteThirdPartyCostResponse < Aws::EmptyStructure
428
+ end
429
+
430
+ class DeveloperAddress
431
+ attr_accessor street1: ::String
432
+ attr_accessor street2: ::String
433
+ attr_accessor city: ::String
434
+ attr_accessor state: ::String
435
+ attr_accessor postal_code: ::String
436
+ attr_accessor country: ::String
437
+ SENSITIVE: [:street1, :street2, :city, :state, :postal_code]
438
+ end
439
+
440
+ class DroppedComparable
441
+ attr_accessor name: ::String
442
+ attr_accessor price: Types::Price
443
+ attr_accessor reason: ::String
444
+ SENSITIVE: [:reason]
445
+ end
446
+
447
+ class EntitlementMetricStatus
448
+ attr_accessor metric_id: ::String
449
+ attr_accessor used_quantity: ::Integer
450
+ attr_accessor included_quantity: ::Integer
451
+ attr_accessor remaining_quantity: ::Integer
452
+ SENSITIVE: []
453
+ end
454
+
455
+ class EntitlementReason
456
+ attr_accessor category: ("CAPABILITY" | "USAGE" | "SYSTEM")
457
+ attr_accessor code: ("ALLOWED" | "WITHIN_QUOTA" | "NO_QUOTA_RESTRICTION" | "OVERAGE_ACCRUING" | "SERVICE_DEGRADED" | "PAYMENT_PAST_DUE" | "COVERED_BY_PURCHASED_UNITS" | "NO_SUBSCRIPTION" | "SUBSCRIPTION_INACTIVE" | "CAPABILITY_NOT_INCLUDED" | "QUOTA_EXCEEDED" | "SUBSCRIPTION_SUSPENDED" | "OUT_OF_UNITS")
458
+ SENSITIVE: []
459
+ end
460
+
461
+ class EvaluatedPlanPrice
462
+ attr_accessor plan_code: ::String
463
+ attr_accessor price: Types::Price
464
+ attr_accessor monthly_profit: ::String
465
+ attr_accessor paid_share: ::Float
466
+ attr_accessor verdict: ("HEALTHY" | "THIN_MARGIN" | "NOT_MONETIZABLE" | "COST_ONLY" | "COST_NOT_CHECKED")
467
+ attr_accessor plans: ::Array[Types::RecommendedPlan]
468
+ attr_accessor credit_packs: ::Array[Types::RecommendedCreditPack]
469
+ SENSITIVE: []
470
+ end
471
+
472
+ class FeatureScores
473
+ attr_accessor app_scores: ::Hash[::String, ::Float]
474
+ attr_accessor weights: ::Hash[::String, ::Float]
475
+ SENSITIVE: []
476
+ end
477
+
478
+ class FreeTierOutcome
479
+ attr_accessor status: ("INCLUDED" | "TRIAL_SUGGESTED" | "NOT_INCLUDED")
480
+ attr_accessor status_source: ("REQUESTED" | "SEGMENT_DEFAULT")
481
+ attr_accessor trial_days: ::Integer
482
+ attr_accessor free_users: ::Float
483
+ attr_accessor conversion: ::Float
484
+ attr_accessor monthly_cost: Types::Price
485
+ SENSITIVE: []
486
+ end
487
+
488
+ class GetAppInfraCostSummaryRequest
489
+ attr_accessor app_id: ::String
490
+ attr_accessor started_at: ::Time
491
+ attr_accessor ended_at: ::Time
492
+ attr_accessor cost_type: ("ESTIMATE" | "ACTUAL")
493
+ attr_accessor group_by: ("SERVICE" | "USER" | "TIME")
494
+ attr_accessor filter_by: ::Hash[("SERVICE" | "USER" | "TIME"), ::Array[::String]]
495
+ attr_accessor scope: ("sandbox" | "live")
496
+ SENSITIVE: []
497
+ end
498
+
499
+ class GetAppInfraCostSummaryResponse
500
+ attr_accessor app_id: ::String
501
+ attr_accessor cost_type: ("ESTIMATE" | "ACTUAL")
502
+ attr_accessor currency: ("USD")
503
+ attr_accessor group_by: ("SERVICE" | "USER" | "TIME")
504
+ attr_accessor total: ::String
505
+ attr_accessor groups: ::Array[Types::CostGroup]
506
+ attr_accessor started_at: ::Time
507
+ attr_accessor ended_at: ::Time
508
+ attr_accessor updated_at: ::Time
509
+ SENSITIVE: []
510
+ end
511
+
512
+ class GetAppPaymentRegistrationRequest
513
+ attr_accessor app_id: ::String
514
+ attr_accessor scope: ("sandbox" | "live")
515
+ SENSITIVE: []
516
+ end
517
+
518
+ class GetAppPaymentRegistrationResponse
519
+ attr_accessor app_payment_registration: Types::AppPaymentRegistration
520
+ SENSITIVE: []
521
+ end
522
+
523
+ class GetAppRequest
524
+ attr_accessor app_id: ::String
525
+ attr_accessor identifier: ::String
526
+ attr_accessor scope: ("sandbox" | "live")
527
+ SENSITIVE: []
528
+ end
529
+
530
+ class GetAppResponse
531
+ attr_accessor app: Types::App
532
+ SENSITIVE: []
533
+ end
534
+
535
+ class GetAppRevenueSummaryRequest
536
+ attr_accessor app_id: ::String
537
+ attr_accessor period: ::String
538
+ attr_accessor group_by: ("PLAN")
539
+ attr_accessor filter_by: ::Hash[("PLAN"), ::Array[::String]]
540
+ attr_accessor scope: ("sandbox" | "live")
541
+ SENSITIVE: []
542
+ end
543
+
544
+ class GetAppRevenueSummaryResponse
545
+ attr_accessor app_id: ::String
546
+ attr_accessor period: ::String
547
+ attr_accessor currency: ("USD")
548
+ attr_accessor group_by: ("PLAN")
549
+ attr_accessor total_revenue: ::String
550
+ attr_accessor subscription_revenue: ::String
551
+ attr_accessor usage_revenue: ::String
552
+ attr_accessor groups: ::Array[Types::RevenueGroup]
553
+ attr_accessor updated_at: ::Time
554
+ SENSITIVE: []
555
+ end
556
+
557
+ class GetAppSubscriptionSummaryRequest
558
+ attr_accessor app_id: ::String
559
+ attr_accessor group_by: ("STATUS" | "PLAN")
560
+ attr_accessor filter_by: ::Hash[("STATUS" | "PLAN"), ::Array[::String]]
561
+ attr_accessor scope: ("sandbox" | "live")
562
+ SENSITIVE: []
563
+ end
564
+
565
+ class GetAppSubscriptionSummaryResponse
566
+ attr_accessor app_id: ::String
567
+ attr_accessor group_by: ("STATUS" | "PLAN")
568
+ attr_accessor total_subscribers: ::Integer
569
+ attr_accessor groups: ::Array[Types::SubscriptionGroup]
570
+ attr_accessor updated_at: ::Time
571
+ SENSITIVE: []
572
+ end
573
+
574
+ class GetAppUsageSummaryRequest
575
+ attr_accessor app_id: ::String
576
+ attr_accessor started_at: ::Time
577
+ attr_accessor ended_at: ::Time
578
+ attr_accessor group_by: ("METRIC" | "USER" | "TIME")
579
+ attr_accessor filter_by: ::Hash[("METRIC" | "USER" | "TIME"), ::Array[::String]]
580
+ attr_accessor scope: ("sandbox" | "live")
581
+ SENSITIVE: []
582
+ end
583
+
584
+ class GetAppUsageSummaryResponse
585
+ attr_accessor app_id: ::String
586
+ attr_accessor group_by: ("METRIC" | "USER" | "TIME")
587
+ attr_accessor total_events: ::Integer
588
+ attr_accessor groups: ::Array[Types::UsageGroup]
589
+ attr_accessor started_at: ::Time
590
+ attr_accessor ended_at: ::Time
591
+ attr_accessor updated_at: ::Time
592
+ SENSITIVE: []
593
+ end
594
+
595
+ class GetEntitlementDecisionRequest
596
+ attr_accessor app_id: ::String
597
+ attr_accessor user_id: ::String
598
+ attr_accessor event_type: ::String
599
+ attr_accessor scope: ("sandbox" | "live")
600
+ attr_accessor quantity: ::String
601
+ attr_accessor properties: ::Hash[::String, ::String]
602
+ SENSITIVE: []
603
+ end
604
+
605
+ class GetEntitlementDecisionResponse
606
+ attr_accessor decision: ("ALLOW" | "DENY")
607
+ attr_accessor reason: Types::EntitlementReason
608
+ attr_accessor plan_id: ::String
609
+ attr_accessor metrics: ::Array[Types::EntitlementMetricStatus]
610
+ SENSITIVE: []
611
+ end
612
+
613
+ class GetMetricRequest
614
+ attr_accessor app_id: ::String
615
+ attr_accessor metric_id: ::String
616
+ attr_accessor stage: ("DRAFT" | "PUBLISHED")
617
+ attr_accessor scope: ("sandbox" | "live")
618
+ SENSITIVE: []
619
+ end
620
+
621
+ class GetMetricResponse
622
+ attr_accessor metric: Types::Metric
623
+ SENSITIVE: []
624
+ end
625
+
626
+ class GetMetricUsageRequest
627
+ attr_accessor app_id: ::String
628
+ attr_accessor user_id: ::String
629
+ attr_accessor started_at: ::Time
630
+ attr_accessor ended_at: ::Time
631
+ attr_accessor scope: ("sandbox" | "live")
632
+ attr_accessor max_results: ::Integer
633
+ attr_accessor next_token: ::String
634
+ SENSITIVE: []
635
+ end
636
+
637
+ class GetMetricUsageResponse
638
+ attr_accessor usage: ::Array[Types::MetricUsage]
639
+ attr_accessor next_token: ::String
640
+ SENSITIVE: []
641
+ end
642
+
643
+ class GetOneTimePriceRequest
644
+ attr_accessor app_id: ::String
645
+ attr_accessor one_time_price_id: ::String
646
+ attr_accessor scope: ("sandbox" | "live")
647
+ SENSITIVE: []
648
+ end
649
+
650
+ class GetOneTimePriceResponse
651
+ attr_accessor one_time_price: Types::OneTimePrice
652
+ SENSITIVE: []
653
+ end
654
+
655
+ class GetPlanRecommendationRequest
656
+ attr_accessor app_name: ::String
657
+ attr_accessor segment: ("CONSUMER" | "PROSUMER" | "ENTERPRISE")
658
+ attr_accessor app_type: ("INFRASTRUCTURE" | "DAILY_WORKFLOW" | "PERIODIC_WORKFLOW" | "POINT_UTILITY" | "CREATIVE" | "API_WRAPPER")
659
+ attr_accessor value_kind: ("PRODUCTIVITY" | "EXPERIENTIAL")
660
+ attr_accessor actions: ::Array[Types::BillableAction]
661
+ attr_accessor hourly_rate: ::Float
662
+ attr_accessor value_share: ::Float
663
+ attr_accessor features: Types::FeatureScores
664
+ attr_accessor costs: Types::CostInputs
665
+ attr_accessor alternatives: Types::AlternativeInputs
666
+ attr_accessor market: Types::MarketInputs
667
+ attr_accessor plan_options: Types::PlanOptions
668
+ attr_accessor context: Types::RequestContext
669
+ SENSITIVE: [:actions, :hourly_rate, :value_share, :features, :context]
670
+ end
671
+
672
+ class GetPlanRecommendationResponse
673
+ attr_accessor pricing_model: ("FLAT" | "TIERED" | "PER_USE" | "PER_USE_SPLIT")
674
+ attr_accessor recommended_price: Types::Price
675
+ attr_accessor recommended_price_range: Types::PriceRange
676
+ attr_accessor unit_prices: ::Array[Types::UnitPrice]
677
+ attr_accessor plans: ::Array[Types::RecommendedPlan]
678
+ attr_accessor credit_packs: ::Array[Types::RecommendedCreditPack]
679
+ attr_accessor verdict: ("HEALTHY" | "THIN_MARGIN" | "NOT_MONETIZABLE" | "COST_ONLY" | "COST_NOT_CHECKED")
680
+ attr_accessor confidence: ("HIGH" | "MEDIUM" | "LOW")
681
+ attr_accessor confidence_reason: ::String
682
+ attr_accessor basis: ::String
683
+ attr_accessor costs: Types::CostOutcome
684
+ attr_accessor alternatives: Types::AlternativesOutcome
685
+ attr_accessor plan_options: Types::PlanOptionsOutcome
686
+ attr_accessor analysis: Types::PricingAnalysis
687
+ attr_accessor recommendation_version: ::String
688
+ attr_accessor summary: ::String
689
+ attr_accessor details: ::String
690
+ SENSITIVE: [:confidence_reason, :basis, :costs, :alternatives, :plan_options, :analysis, :summary, :details]
691
+ end
692
+
693
+ class GetPlanRequest
694
+ attr_accessor app_id: ::String
695
+ attr_accessor plan_id: ::String
696
+ attr_accessor stage: ("DRAFT" | "PUBLISHED")
697
+ attr_accessor scope: ("sandbox" | "live")
698
+ SENSITIVE: []
699
+ end
700
+
701
+ class GetPlanResponse
702
+ attr_accessor plan: Types::Plan
703
+ SENSITIVE: []
704
+ end
705
+
706
+ class GetSubscriptionHistoryRequest
707
+ attr_accessor app_id: ::String
708
+ attr_accessor user_id: ::String
709
+ attr_accessor effective_after: ::Time
710
+ attr_accessor effective_before: ::Time
711
+ attr_accessor max_results: ::Integer
712
+ attr_accessor next_token: ::String
713
+ attr_accessor scope: ("sandbox" | "live")
714
+ SENSITIVE: []
715
+ end
716
+
717
+ class GetSubscriptionHistoryResponse
718
+ attr_accessor items: ::Array[Types::Subscription]
719
+ attr_accessor next_token: ::String
720
+ SENSITIVE: []
721
+ end
722
+
723
+ class GetSubscriptionRequest
724
+ attr_accessor app_id: ::String
725
+ attr_accessor user_id: ::String
726
+ attr_accessor scope: ("sandbox" | "live")
727
+ SENSITIVE: []
728
+ end
729
+
730
+ class GetSubscriptionResponse
731
+ attr_accessor subscription: Types::Subscription
732
+ attr_accessor pending_change: Types::PendingChange
733
+ attr_accessor current_period_ends_at: ::Time
734
+ SENSITIVE: []
735
+ end
736
+
737
+ class GetThirdPartyCostRequest
738
+ attr_accessor app_id: ::String
739
+ attr_accessor cost_id: ::String
740
+ SENSITIVE: []
741
+ end
742
+
743
+ class GetThirdPartyCostResponse
744
+ attr_accessor item: Types::ThirdPartyCostItem
745
+ SENSITIVE: []
746
+ end
747
+
748
+ class IdempotencyConflictException
749
+ attr_accessor message: ::String
750
+ SENSITIVE: []
751
+ end
752
+
753
+ class InternalServerException
754
+ attr_accessor message: ::String
755
+ attr_accessor retry_after_seconds: ::Integer
756
+ SENSITIVE: []
757
+ end
758
+
759
+ class InvalidConfigurationException
760
+ attr_accessor message: ::String
761
+ SENSITIVE: []
762
+ end
763
+
764
+ class ListAppsRequest
765
+ attr_accessor max_results: ::Integer
766
+ attr_accessor next_token: ::String
767
+ SENSITIVE: []
768
+ end
769
+
770
+ class ListAppsResponse
771
+ attr_accessor apps: ::Array[Types::App]
772
+ attr_accessor next_token: ::String
773
+ SENSITIVE: []
774
+ end
775
+
776
+ class ListMetricsRequest
777
+ attr_accessor app_id: ::String
778
+ attr_accessor stage: ("DRAFT" | "PUBLISHED")
779
+ attr_accessor max_results: ::Integer
780
+ attr_accessor next_token: ::String
781
+ attr_accessor scope: ("sandbox" | "live")
782
+ SENSITIVE: []
783
+ end
784
+
785
+ class ListMetricsResponse
786
+ attr_accessor metrics: ::Array[Types::Metric]
787
+ attr_accessor next_token: ::String
788
+ SENSITIVE: []
789
+ end
790
+
791
+ class ListOneTimePricesRequest
792
+ attr_accessor app_id: ::String
793
+ attr_accessor stage: ("DRAFT" | "PUBLISHED")
794
+ attr_accessor max_results: ::Integer
795
+ attr_accessor next_token: ::String
796
+ attr_accessor scope: ("sandbox" | "live")
797
+ SENSITIVE: []
798
+ end
799
+
800
+ class ListOneTimePricesResponse
801
+ attr_accessor one_time_prices: ::Array[Types::OneTimePrice]
802
+ attr_accessor next_token: ::String
803
+ SENSITIVE: []
804
+ end
805
+
806
+ class ListPlansRequest
807
+ attr_accessor app_id: ::String
808
+ attr_accessor stage: ("DRAFT" | "PUBLISHED")
809
+ attr_accessor max_results: ::Integer
810
+ attr_accessor next_token: ::String
811
+ attr_accessor scope: ("sandbox" | "live")
812
+ SENSITIVE: []
813
+ end
814
+
815
+ class ListPlansResponse
816
+ attr_accessor plans: ::Array[Types::Plan]
817
+ attr_accessor next_token: ::String
818
+ SENSITIVE: []
819
+ end
820
+
821
+ class ListSubscriptionsRequest
822
+ attr_accessor app_id: ::String
823
+ attr_accessor max_results: ::Integer
824
+ attr_accessor next_token: ::String
825
+ attr_accessor scope: ("sandbox" | "live")
826
+ SENSITIVE: []
827
+ end
828
+
829
+ class ListSubscriptionsResponse
830
+ attr_accessor items: ::Array[Types::SubscriptionSummary]
831
+ attr_accessor next_token: ::String
832
+ SENSITIVE: []
833
+ end
834
+
835
+ class ListTagsForResourceRequest
836
+ attr_accessor resource_arn: ::String
837
+ SENSITIVE: []
838
+ end
839
+
840
+ class ListTagsForResourceResponse
841
+ attr_accessor tags: ::Hash[::String, ::String]
842
+ SENSITIVE: []
843
+ end
844
+
845
+ class ListThirdPartyCostsRequest
846
+ attr_accessor app_id: ::String
847
+ attr_accessor max_results: ::Integer
848
+ attr_accessor next_token: ::String
849
+ SENSITIVE: []
850
+ end
851
+
852
+ class ListThirdPartyCostsResponse
853
+ attr_accessor items: ::Array[Types::ThirdPartyCostItem]
854
+ attr_accessor next_token: ::String
855
+ SENSITIVE: []
856
+ end
857
+
858
+ class MarketInputs
859
+ attr_accessor expected_users: ::Integer
860
+ attr_accessor measured_conversion: Types::MeasuredConversion
861
+ attr_accessor customer_types: ::Array[Types::CustomerType]
862
+ attr_accessor checkout_drop_off: Types::CheckoutDropOff
863
+ SENSITIVE: [:expected_users, :measured_conversion, :customer_types, :checkout_drop_off]
864
+ end
865
+
866
+ class MaxTierOutcome
867
+ attr_accessor status: ("INCLUDED" | "INCLUDED_AS_REQUESTED" | "NOT_INCLUDED")
868
+ attr_accessor price: Types::Price
869
+ SENSITIVE: []
870
+ end
871
+
872
+ class MeasuredConversion
873
+ attr_accessor paying_users: ::Integer
874
+ attr_accessor users: ::Integer
875
+ SENSITIVE: []
876
+ end
877
+
878
+ class Metric
879
+ attr_accessor app_id: ::String
880
+ attr_accessor metric_id: ::String
881
+ attr_accessor name: ::String
882
+ attr_accessor description: ::String
883
+ attr_accessor event_type: ::String
884
+ attr_accessor unit_name: ::String
885
+ attr_accessor definition: Types::MetricDefinition
886
+ attr_accessor arn: ::String
887
+ attr_accessor stage: ("DRAFT" | "PUBLISHED")
888
+ SENSITIVE: []
889
+ end
890
+
891
+ class MetricDefinition
892
+ attr_accessor filters: ::Array[Types::MetricFilter]
893
+ attr_accessor function: ("SUM" | "COUNT" | "MAX")
894
+ attr_accessor function_field: ::String
895
+ attr_accessor group_by: ::Array[::String]
896
+ attr_accessor period: ("MONTHLY")
897
+ SENSITIVE: []
898
+ end
899
+
900
+ class MetricFilter
901
+ attr_accessor field: ::String
902
+ attr_accessor operator: ("EQUALS" | "NOT_EQUALS" | "IN" | "NOT_IN")
903
+ attr_accessor values: ::Array[::String]
904
+ SENSITIVE: []
905
+ end
906
+
907
+ class MetricUsage
908
+ attr_accessor metric_id: ::String
909
+ attr_accessor quantity: ::String
910
+ SENSITIVE: []
911
+ end
912
+
913
+ class ModelComparison
914
+ attr_accessor pricing_model: ("FLAT" | "TIERED" | "PER_USE" | "PER_USE_SPLIT")
915
+ attr_accessor monthly_profit: ::String
916
+ attr_accessor monthly_revenue: Types::Price
917
+ attr_accessor margin: ::Float
918
+ attr_accessor paid_share: ::Float
919
+ SENSITIVE: []
920
+ end
921
+
922
+ class OneTimePrice
923
+ attr_accessor arn: ::String
924
+ attr_accessor app_id: ::String
925
+ attr_accessor one_time_price_id: ::String
926
+ attr_accessor definition: Types::OneTimePriceDefinition
927
+ attr_accessor stage: ("DRAFT" | "PUBLISHED")
928
+ SENSITIVE: []
929
+ end
930
+
931
+ class OneTimePriceDefinition
932
+ attr_accessor name: ::String
933
+ attr_accessor price: Types::Price
934
+ attr_accessor metric_id: ::String
935
+ attr_accessor capacity: ::Integer
936
+ SENSITIVE: []
937
+ end
938
+
939
+ class OutsideOption
940
+ attr_accessor name: ::String
941
+ attr_accessor monthly_cost: ::Float
942
+ attr_accessor quality: ::Float
943
+ attr_accessor features: ::Hash[::String, ::Float]
944
+ SENSITIVE: [:monthly_cost]
945
+ end
946
+
947
+ class PaymentFailurePolicy
948
+ attr_accessor retry_attempts: ::Integer
949
+ attr_accessor retry_window_days: ::Integer
950
+ attr_accessor downgrade_to_plan_id: ::String
951
+ SENSITIVE: []
952
+ end
953
+
954
+ class PendingChange
955
+ attr_accessor plan_id: ::String
956
+ attr_accessor plan_name: ::String
957
+ attr_accessor effective_at: ::Time
958
+ SENSITIVE: []
959
+ end
960
+
961
+ class Plan
962
+ attr_accessor app_id: ::String
963
+ attr_accessor plan_id: ::String
964
+ attr_accessor definition: Types::PlanDefinition
965
+ attr_accessor stage: ("DRAFT" | "PUBLISHED")
966
+ attr_accessor created_at: ::Time
967
+ attr_accessor updated_at: ::Time
968
+ attr_accessor arn: ::String
969
+ SENSITIVE: []
970
+ end
971
+
972
+ class PlanDefinition
973
+ attr_accessor name: ::String
974
+ attr_accessor description: ::String
975
+ attr_accessor billing_cycle: ("MONTHLY" | "ANNUAL" | "ONE_TIME")
976
+ attr_accessor subscription_price: Types::Price
977
+ attr_accessor included_quotas: ::Hash[::String, Types::AppQuotaConfig]
978
+ attr_accessor tax_code: ::String
979
+ attr_accessor payment_failure_policy: Types::PaymentFailurePolicy
980
+ SENSITIVE: []
981
+ end
982
+
983
+ class PlanOptions
984
+ attr_accessor pricing_model_preference: ("FLAT" | "TIERED" | "PER_USE" | "PER_USE_SPLIT")
985
+ attr_accessor free_tier_inclusion: ("INCLUDE" | "EXCLUDE")
986
+ attr_accessor max_tier_inclusion: ("INCLUDE" | "EXCLUDE")
987
+ attr_accessor annual_plan_inclusion: ("INCLUDE" | "EXCLUDE")
988
+ attr_accessor credit_pack_inclusion: ("INCLUDE" | "EXCLUDE")
989
+ attr_accessor plan_prices: ::Array[Types::PlanPrice]
990
+ attr_accessor published_price: Types::PublishedPrice
991
+ SENSITIVE: [:plan_prices, :published_price]
992
+ end
993
+
994
+ class PlanOptionsOutcome
995
+ attr_accessor preference_outcome: ("HONORED" | "NOT_HONORED" | "NOT_REQUESTED")
996
+ attr_accessor free_tier: Types::FreeTierOutcome
997
+ attr_accessor max_tier: Types::MaxTierOutcome
998
+ attr_accessor evaluated_plan_prices: ::Array[Types::EvaluatedPlanPrice]
999
+ SENSITIVE: []
1000
+ end
1001
+
1002
+ class PlanPrice
1003
+ attr_accessor plan_code: ::String
1004
+ attr_accessor action_name: ::String
1005
+ attr_accessor price: Types::Price
1006
+ SENSITIVE: []
1007
+ end
1008
+
1009
+ class PlanSelectionRedirect
1010
+ attr_accessor pricing_url: ::String
1011
+ attr_accessor session_token: ::String
1012
+ attr_accessor expires_at: ::Time
1013
+ SENSITIVE: [:pricing_url, :session_token]
1014
+ end
1015
+
1016
+ class Price
1017
+ attr_accessor currency_code: ::String
1018
+ attr_accessor amount: ::String
1019
+ SENSITIVE: []
1020
+ end
1021
+
1022
+ class PriceRange
1023
+ attr_accessor low: Types::Price
1024
+ attr_accessor high: Types::Price
1025
+ SENSITIVE: []
1026
+ end
1027
+
1028
+ class PricingAnalysis
1029
+ attr_accessor model_comparison: ::Array[Types::ModelComparison]
1030
+ attr_accessor pricing_model_caveats: ::Array[("CLOSE_CALL" | "CHECKOUT_DROP_OFF")]
1031
+ attr_accessor friction_alternative: ("FLAT" | "TIERED" | "PER_USE" | "PER_USE_SPLIT")
1032
+ SENSITIVE: []
1033
+ end
1034
+
1035
+ class PublishDraftRequest
1036
+ attr_accessor app_id: ::String
1037
+ SENSITIVE: []
1038
+ end
1039
+
1040
+ class PublishDraftResponse
1041
+ attr_accessor app: Types::App
1042
+ SENSITIVE: []
1043
+ end
1044
+
1045
+ class PublishedPrice
1046
+ attr_accessor currency_code: ::String
1047
+ attr_accessor amount: ::String
1048
+ SENSITIVE: []
1049
+ end
1050
+
1051
+ class PutAwsServiceEventRequest
1052
+ attr_accessor app_id: ::String
1053
+ attr_accessor client_token: ::String
1054
+ attr_accessor user_id: ::String
1055
+ attr_accessor service: ::String
1056
+ attr_accessor operation: ::String
1057
+ attr_accessor quantity: ::String
1058
+ attr_accessor timestamp: ::Time
1059
+ attr_accessor aws_region: ::String
1060
+ attr_accessor properties: ::Hash[::String, ::String]
1061
+ attr_accessor scope: ("sandbox" | "live")
1062
+ SENSITIVE: []
1063
+ end
1064
+
1065
+ class PutAwsServiceEventResponse
1066
+ attr_accessor event_id: ::String
1067
+ attr_accessor status: ("ACCEPTED")
1068
+ SENSITIVE: []
1069
+ end
1070
+
1071
+ class PutCustomChargesRequest
1072
+ attr_accessor app_id: ::String
1073
+ attr_accessor user_id: ::String
1074
+ attr_accessor charges: ::Array[Types::CustomCharge]
1075
+ attr_accessor scope: ("sandbox" | "live")
1076
+ SENSITIVE: []
1077
+ end
1078
+
1079
+ class PutCustomChargesResponse
1080
+ attr_accessor billing_period_start_at: ::Time
1081
+ attr_accessor billing_period_end_at: ::Time
1082
+ SENSITIVE: []
1083
+ end
1084
+
1085
+ class PutEventRequest
1086
+ attr_accessor app_id: ::String
1087
+ attr_accessor client_token: ::String
1088
+ attr_accessor user_id: ::String
1089
+ attr_accessor event_type: ::String
1090
+ attr_accessor quantity: ::String
1091
+ attr_accessor timestamp: ::Time
1092
+ attr_accessor properties: ::Hash[::String, ::String]
1093
+ attr_accessor scope: ("sandbox" | "live")
1094
+ SENSITIVE: []
1095
+ end
1096
+
1097
+ class PutEventResponse
1098
+ attr_accessor event_id: ::String
1099
+ attr_accessor status: ::String
1100
+ SENSITIVE: []
1101
+ end
1102
+
1103
+ class PutThirdPartyCostRequest
1104
+ attr_accessor app_id: ::String
1105
+ attr_accessor cost_id: ::String
1106
+ attr_accessor label: ::String
1107
+ attr_accessor amount: ::String
1108
+ attr_accessor frequency: ("MONTHLY")
1109
+ attr_accessor currency: ("USD")
1110
+ attr_accessor description: ::String
1111
+ attr_accessor effective_from: ::String
1112
+ attr_accessor effective_to: ::String
1113
+ attr_accessor client_token: ::String
1114
+ SENSITIVE: []
1115
+ end
1116
+
1117
+ class PutThirdPartyCostResponse
1118
+ attr_accessor item: Types::ThirdPartyCostItem
1119
+ SENSITIVE: []
1120
+ end
1121
+
1122
+ class RecommendedCreditPack
1123
+ attr_accessor name: ::String
1124
+ attr_accessor action_name: ::String
1125
+ attr_accessor quantity: ::Integer
1126
+ attr_accessor price: Types::Price
1127
+ SENSITIVE: []
1128
+ end
1129
+
1130
+ class RecommendedPlan
1131
+ attr_accessor plan_code: ::String
1132
+ attr_accessor name: ::String
1133
+ attr_accessor billing_cycle: ("MONTHLY" | "ANNUAL" | "ONE_TIME")
1134
+ attr_accessor price: Types::Price
1135
+ attr_accessor included_quotas: ::Array[Types::RecommendedQuota]
1136
+ attr_accessor upgrade_plan_codes: ::Array[::String]
1137
+ attr_accessor downgrade_plan_codes: ::Array[::String]
1138
+ SENSITIVE: []
1139
+ end
1140
+
1141
+ class RecommendedQuota
1142
+ attr_accessor action_name: ::String
1143
+ attr_accessor included_quantity: ::Integer
1144
+ attr_accessor overage_policy: ("NO_OVERAGE_THROTTLE" | "APPLY_FIXED_OVERAGE" | "APPLY_TIERED_OVERAGE")
1145
+ attr_accessor overage_price: Types::Price
1146
+ SENSITIVE: []
1147
+ end
1148
+
1149
+ class RequestContext
1150
+ attr_accessor non_aws_costs_note: ::String
1151
+ attr_accessor value_basis: ::String
1152
+ attr_accessor expected_users_basis: ::String
1153
+ attr_accessor usage_sources: ::Hash[::String, ("ESTIMATE" | "MEASURED")]
1154
+ attr_accessor customer_type_descriptions: ::Hash[::String, ::String]
1155
+ SENSITIVE: [:non_aws_costs_note, :value_basis, :expected_users_basis, :customer_type_descriptions]
1156
+ end
1157
+
1158
+ class ResourceNotFoundException
1159
+ attr_accessor message: ::String
1160
+ attr_accessor resource_id: ::String
1161
+ attr_accessor resource_type: ::String
1162
+ SENSITIVE: []
1163
+ end
1164
+
1165
+ class RevenueGroup
1166
+ attr_accessor key: ::String
1167
+ attr_accessor users: ::Integer
1168
+ attr_accessor subscription_revenue: ::String
1169
+ attr_accessor usage_revenue: ::String
1170
+ attr_accessor total_revenue: ::String
1171
+ SENSITIVE: []
1172
+ end
1173
+
1174
+ class RevisionConflictException
1175
+ attr_accessor message: ::String
1176
+ attr_accessor current_revision: ::Integer
1177
+ SENSITIVE: []
1178
+ end
1179
+
1180
+ class ServiceQuotaExceededException
1181
+ attr_accessor message: ::String
1182
+ attr_accessor resource_id: ::String
1183
+ attr_accessor resource_type: ::String
1184
+ attr_accessor service_code: ::String
1185
+ attr_accessor quota_code: ::String
1186
+ SENSITIVE: []
1187
+ end
1188
+
1189
+ class ServiceUnavailableException
1190
+ attr_accessor message: ::String
1191
+ attr_accessor retry_after_seconds: ::Integer
1192
+ SENSITIVE: []
1193
+ end
1194
+
1195
+ class Subscription
1196
+ attr_accessor app_id: ::String
1197
+ attr_accessor user_id: ::String
1198
+ attr_accessor plan_id: ::String
1199
+ attr_accessor effective_at: ::Time
1200
+ attr_accessor billing_anchor_date: ::Time
1201
+ attr_accessor billing_cycle: ("MONTHLY" | "ANNUAL" | "ONE_TIME")
1202
+ SENSITIVE: []
1203
+ end
1204
+
1205
+ class SubscriptionChange
1206
+ attr_accessor effective_at: ::Time
1207
+ SENSITIVE: []
1208
+ end
1209
+
1210
+ class SubscriptionGroup
1211
+ attr_accessor key: ::String
1212
+ attr_accessor count: ::Integer
1213
+ SENSITIVE: []
1214
+ end
1215
+
1216
+ class SubscriptionSummary
1217
+ attr_accessor app_id: ::String
1218
+ attr_accessor user_id: ::String
1219
+ attr_accessor plan_id: ::String
1220
+ attr_accessor effective_at: ::Time
1221
+ attr_accessor billing_anchor_date: ::Time
1222
+ attr_accessor billing_cycle: ("MONTHLY" | "ANNUAL" | "ONE_TIME")
1223
+ SENSITIVE: []
1224
+ end
1225
+
1226
+ class TagResourceRequest
1227
+ attr_accessor resource_arn: ::String
1228
+ attr_accessor tags: ::Hash[::String, ::String]
1229
+ SENSITIVE: []
1230
+ end
1231
+
1232
+ class TagResourceResponse < Aws::EmptyStructure
1233
+ end
1234
+
1235
+ class TaxRegistration
1236
+ attr_accessor country_code: ::String
1237
+ attr_accessor state: ::String
1238
+ attr_accessor collection_type: ::String
1239
+ attr_accessor registration_type: ("SALES_USE" | "RETAIL_DELIVERY_FEE" | "VAT" | "VAT_OSS" | "VAT_IOSS" | "GST" | "FEDERAL_EIN" | "CPF" | "CNPJ" | "SST" | "TIN" | "NIP" | "NPWP" | "NCID")
1240
+ attr_accessor registration_id: ::String
1241
+ attr_accessor locality: ::String
1242
+ SENSITIVE: [:state, :registration_id]
1243
+ end
1244
+
1245
+ class ThirdPartyCostItem
1246
+ attr_accessor app_id: ::String
1247
+ attr_accessor cost_id: ::String
1248
+ attr_accessor label: ::String
1249
+ attr_accessor amount: ::String
1250
+ attr_accessor frequency: ("MONTHLY")
1251
+ attr_accessor currency: ("USD")
1252
+ attr_accessor description: ::String
1253
+ attr_accessor effective_from: ::String
1254
+ attr_accessor effective_to: ::String
1255
+ attr_accessor created_at: ::Time
1256
+ attr_accessor updated_at: ::Time
1257
+ SENSITIVE: []
1258
+ end
1259
+
1260
+ class ThrottlingException
1261
+ attr_accessor message: ::String
1262
+ attr_accessor service_code: ::String
1263
+ attr_accessor quota_code: ::String
1264
+ attr_accessor retry_after_seconds: ::Integer
1265
+ SENSITIVE: []
1266
+ end
1267
+
1268
+ class TierBand
1269
+ attr_accessor first_unit: ::Integer
1270
+ attr_accessor last_unit: ::Integer
1271
+ attr_accessor unit_price: Types::Price
1272
+ SENSITIVE: []
1273
+ end
1274
+
1275
+ class TieredOverage
1276
+ attr_accessor semantics: ("GRADUATED" | "VOLUME")
1277
+ attr_accessor tiers: ::Array[Types::TierBand]
1278
+ SENSITIVE: []
1279
+ end
1280
+
1281
+ class TieredPrice
1282
+ attr_accessor semantics: ("GRADUATED" | "VOLUME")
1283
+ attr_accessor tiers: ::Array[Types::TierBand]
1284
+ SENSITIVE: []
1285
+ end
1286
+
1287
+ class UnitPrice
1288
+ attr_accessor action_name: ::String
1289
+ attr_accessor price: Types::Price
1290
+ SENSITIVE: []
1291
+ end
1292
+
1293
+ class UntagResourceRequest
1294
+ attr_accessor resource_arn: ::String
1295
+ attr_accessor tag_keys: ::Array[::String]
1296
+ SENSITIVE: []
1297
+ end
1298
+
1299
+ class UntagResourceResponse < Aws::EmptyStructure
1300
+ end
1301
+
1302
+ class UpdateAppPaymentRegistrationRequest
1303
+ attr_accessor app_id: ::String
1304
+ attr_accessor payment_registration_id: ::String
1305
+ attr_accessor legal_name: ::String
1306
+ attr_accessor developer_address: Types::DeveloperAddress
1307
+ attr_accessor tax_registration_number: ::String
1308
+ attr_accessor email: ::String
1309
+ attr_accessor support_email: ::String
1310
+ attr_accessor display_name: ::String
1311
+ attr_accessor support_phone: ::String
1312
+ attr_accessor invoice_logo: ::String
1313
+ attr_accessor tax_registrations: ::Array[Types::TaxRegistration]
1314
+ attr_accessor scope: ("sandbox" | "live")
1315
+ SENSITIVE: [:legal_name, :tax_registration_number, :email, :support_email, :display_name, :support_phone, :invoice_logo]
1316
+ end
1317
+
1318
+ class UpdateAppPaymentRegistrationResponse
1319
+ attr_accessor app_payment_registration: Types::AppPaymentRegistration
1320
+ SENSITIVE: []
1321
+ end
1322
+
1323
+ class UpdateAppRequest
1324
+ attr_accessor app_id: ::String
1325
+ attr_accessor name: ::String
1326
+ attr_accessor description: ::String
1327
+ attr_accessor identifier: ::String
1328
+ attr_accessor scope: ("sandbox" | "live")
1329
+ attr_accessor cost_tracking: Types::CostTrackingConfiguration
1330
+ SENSITIVE: []
1331
+ end
1332
+
1333
+ class UpdateAppResponse
1334
+ attr_accessor app: Types::App
1335
+ SENSITIVE: []
1336
+ end
1337
+
1338
+ class UpdateMetricRequest
1339
+ attr_accessor app_id: ::String
1340
+ attr_accessor metric_id: ::String
1341
+ attr_accessor name: ::String
1342
+ attr_accessor description: ::String
1343
+ attr_accessor event_type: ::String
1344
+ attr_accessor unit_name: ::String
1345
+ attr_accessor definition: Types::MetricDefinition
1346
+ SENSITIVE: []
1347
+ end
1348
+
1349
+ class UpdateMetricResponse
1350
+ attr_accessor metric: Types::Metric
1351
+ SENSITIVE: []
1352
+ end
1353
+
1354
+ class UpdateOneTimePriceRequest
1355
+ attr_accessor app_id: ::String
1356
+ attr_accessor one_time_price_id: ::String
1357
+ attr_accessor definition: Types::OneTimePriceDefinition
1358
+ attr_accessor client_token: ::String
1359
+ SENSITIVE: []
1360
+ end
1361
+
1362
+ class UpdateOneTimePriceResponse
1363
+ attr_accessor one_time_price: Types::OneTimePrice
1364
+ SENSITIVE: []
1365
+ end
1366
+
1367
+ class UpdatePlanRequest
1368
+ attr_accessor app_id: ::String
1369
+ attr_accessor plan_id: ::String
1370
+ attr_accessor definition: Types::PlanDefinition
1371
+ SENSITIVE: []
1372
+ end
1373
+
1374
+ class UpdatePlanResponse
1375
+ attr_accessor plan: Types::Plan
1376
+ SENSITIVE: []
1377
+ end
1378
+
1379
+ class UsageGroup
1380
+ attr_accessor key: ::String
1381
+ attr_accessor metric_name: ::String
1382
+ attr_accessor usage: ::Integer
1383
+ SENSITIVE: []
1384
+ end
1385
+
1386
+ class ValidationException
1387
+ attr_accessor message: ::String
1388
+ attr_accessor reason: ("UNKNOWN_OPERATION" | "CANNOT_PARSE" | "FIELD_VALIDATION_FAILED" | "OTHER")
1389
+ attr_accessor field_list: ::Array[Types::ValidationExceptionField]
1390
+ SENSITIVE: []
1391
+ end
1392
+
1393
+ class ValidationExceptionField
1394
+ attr_accessor name: ::String
1395
+ attr_accessor message: ::String
1396
+ SENSITIVE: []
1397
+ end
1398
+ end
1399
+ end