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/client.rbs ADDED
@@ -0,0 +1,938 @@
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
9
+ module AppMonetization
10
+ class Client < ::Seahorse::Client::Base
11
+ include ::Aws::ClientStubs
12
+
13
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AppMonetization/Client.html#initialize-instance_method
14
+ def self.new: (
15
+ ?credentials: untyped,
16
+ ?region: String,
17
+ ?access_key_id: String,
18
+ ?account_id: String,
19
+ ?active_endpoint_cache: bool,
20
+ ?adaptive_retry_wait_to_fill: bool,
21
+ ?auth_scheme_preference: Array[String],
22
+ ?client_side_monitoring: bool,
23
+ ?client_side_monitoring_client_id: String,
24
+ ?client_side_monitoring_host: String,
25
+ ?client_side_monitoring_port: Integer,
26
+ ?client_side_monitoring_publisher: untyped,
27
+ ?convert_params: bool,
28
+ ?correct_clock_skew: bool,
29
+ ?defaults_mode: String,
30
+ ?disable_clock_skew_correction: bool,
31
+ ?disable_host_prefix_injection: bool,
32
+ ?disable_request_compression: bool,
33
+ ?endpoint: String,
34
+ ?endpoint_cache_max_entries: Integer,
35
+ ?endpoint_cache_max_threads: Integer,
36
+ ?endpoint_cache_poll_interval: Integer,
37
+ ?endpoint_discovery: bool,
38
+ ?ignore_configured_endpoint_urls: bool,
39
+ ?log_formatter: untyped,
40
+ ?log_level: Symbol,
41
+ ?logger: untyped,
42
+ ?max_attempts: Integer,
43
+ ?profile: String,
44
+ ?request_checksum_calculation: String,
45
+ ?request_min_compression_size_bytes: Integer,
46
+ ?response_checksum_validation: String,
47
+ ?retry_backoff: Proc,
48
+ ?retry_base_delay: Float,
49
+ ?retry_jitter: (:none | :equal | :full | ^(Integer) -> Integer),
50
+ ?retry_limit: Integer,
51
+ ?retry_max_delay: Integer,
52
+ ?retry_mode: ("legacy" | "standard" | "adaptive"),
53
+ ?sdk_ua_app_id: String,
54
+ ?secret_access_key: String,
55
+ ?session_token: String,
56
+ ?sigv4a_signing_region_set: Array[String],
57
+ ?stub_responses: untyped,
58
+ ?telemetry_provider: Aws::Telemetry::TelemetryProviderBase,
59
+ ?token_provider: untyped,
60
+ ?use_dualstack_endpoint: bool,
61
+ ?use_fips_endpoint: bool,
62
+ ?validate_params: bool,
63
+ ?endpoint_provider: untyped,
64
+ ?http_proxy: String,
65
+ ?http_open_timeout: (Float | Integer),
66
+ ?http_read_timeout: (Float | Integer),
67
+ ?http_idle_timeout: (Float | Integer),
68
+ ?http_continue_timeout: (Float | Integer),
69
+ ?ssl_timeout: (Float | Integer | nil),
70
+ ?http_wire_trace: bool,
71
+ ?ssl_verify_peer: bool,
72
+ ?ssl_ca_bundle: String,
73
+ ?ssl_ca_directory: String,
74
+ ?ssl_ca_store: String,
75
+ ?on_chunk_received: Proc,
76
+ ?on_chunk_sent: Proc,
77
+ ?raise_response_errors: bool
78
+ ) -> instance
79
+ | (?Hash[Symbol, untyped]) -> instance
80
+
81
+
82
+ interface _ArchiveMetricResponseSuccess
83
+ include ::Seahorse::Client::_ResponseSuccess[Types::ArchiveMetricResponse]
84
+ def app_id: () -> ::String
85
+ def metric_id: () -> ::String
86
+ end
87
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AppMonetization/Client.html#archive_metric-instance_method
88
+ def archive_metric: (
89
+ app_id: ::String,
90
+ metric_id: ::String
91
+ ) -> _ArchiveMetricResponseSuccess
92
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ArchiveMetricResponseSuccess
93
+
94
+ interface _ArchivePlanResponseSuccess
95
+ include ::Seahorse::Client::_ResponseSuccess[Types::ArchivePlanResponse]
96
+ def app_id: () -> ::String
97
+ def plan_id: () -> ::String
98
+ end
99
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AppMonetization/Client.html#archive_plan-instance_method
100
+ def archive_plan: (
101
+ app_id: ::String,
102
+ plan_id: ::String
103
+ ) -> _ArchivePlanResponseSuccess
104
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ArchivePlanResponseSuccess
105
+
106
+ interface _CancelSubscriptionResponseSuccess
107
+ include ::Seahorse::Client::_ResponseSuccess[Types::CancelSubscriptionResponse]
108
+ def subscription: () -> Types::Subscription
109
+ def cancellation_effective_at: () -> ::Time
110
+ end
111
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AppMonetization/Client.html#cancel_subscription-instance_method
112
+ def cancel_subscription: (
113
+ app_id: ::String,
114
+ user_id: ::String,
115
+ effective_at: ::Time,
116
+ scope: ("sandbox" | "live")
117
+ ) -> _CancelSubscriptionResponseSuccess
118
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CancelSubscriptionResponseSuccess
119
+
120
+ interface _CreateAppResponseSuccess
121
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreateAppResponse]
122
+ def app: () -> Types::App
123
+ end
124
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AppMonetization/Client.html#create_app-instance_method
125
+ def create_app: (
126
+ name: ::String,
127
+ ?description: ::String,
128
+ ?client_token: ::String,
129
+ ?tags: Hash[::String, ::String],
130
+ ?cost_tracking: {
131
+ role_arn: ::String
132
+ }
133
+ ) -> _CreateAppResponseSuccess
134
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateAppResponseSuccess
135
+
136
+ interface _CreateAppPaymentRegistrationResponseSuccess
137
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreateAppPaymentRegistrationResponse]
138
+ def registration_url: () -> ::String
139
+ def expires_at: () -> ::Time
140
+ end
141
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AppMonetization/Client.html#create_app_payment_registration-instance_method
142
+ def create_app_payment_registration: (
143
+ app_id: ::String,
144
+ ?legal_name: ::String,
145
+ ?developer_address: Params::developer_address,
146
+ ?tax_registration_number: ::String,
147
+ ?business_type: ("INDIVIDUAL" | "REGISTERED_BUSINESS"),
148
+ ?email: ::String,
149
+ ?support_email: ::String,
150
+ ?display_name: ::String,
151
+ ?support_phone: ::String,
152
+ ?invoice_logo: ::String,
153
+ ?tax_registrations: Array[
154
+ Params::tax_registration
155
+ ],
156
+ return_url: ::String,
157
+ refresh_url: ::String,
158
+ ?client_token: ::String,
159
+ scope: ("sandbox" | "live")
160
+ ) -> _CreateAppPaymentRegistrationResponseSuccess
161
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateAppPaymentRegistrationResponseSuccess
162
+
163
+ interface _CreateBillingPortalSessionResponseSuccess
164
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreateBillingPortalSessionResponse]
165
+ def billing_portal_url: () -> ::String
166
+ def session_token: () -> ::String
167
+ def expires_at: () -> ::Time
168
+ def manage_token: () -> ::String
169
+ end
170
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AppMonetization/Client.html#create_billing_portal_session-instance_method
171
+ def create_billing_portal_session: (
172
+ app_id: ::String,
173
+ user_id: ::String,
174
+ return_url: ::String,
175
+ refresh_url: ::String,
176
+ ?session_duration_seconds: ::Integer,
177
+ ?client_token: ::String,
178
+ scope: ("sandbox" | "live")
179
+ ) -> _CreateBillingPortalSessionResponseSuccess
180
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateBillingPortalSessionResponseSuccess
181
+
182
+ interface _CreateMetricResponseSuccess
183
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreateMetricResponse]
184
+ def metric: () -> Types::Metric
185
+ end
186
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AppMonetization/Client.html#create_metric-instance_method
187
+ def create_metric: (
188
+ app_id: ::String,
189
+ name: ::String,
190
+ description: ::String,
191
+ event_type: ::String,
192
+ unit_name: ::String,
193
+ definition: Params::metric_definition,
194
+ ?client_token: ::String,
195
+ ?tags: Hash[::String, ::String]
196
+ ) -> _CreateMetricResponseSuccess
197
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateMetricResponseSuccess
198
+
199
+ interface _CreateOneTimeCheckoutSessionResponseSuccess
200
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreateOneTimeCheckoutSessionResponse]
201
+ def checkout_url: () -> ::String
202
+ def expires_at: () -> ::Time
203
+ def checkout_session_id: () -> ::String
204
+ end
205
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AppMonetization/Client.html#create_one_time_checkout_session-instance_method
206
+ def create_one_time_checkout_session: (
207
+ app_id: ::String,
208
+ user_id: ::String,
209
+ items: Array[
210
+ {
211
+ one_time_price_id: ::String,
212
+ quantity: ::Integer?
213
+ }
214
+ ],
215
+ return_url: ::String,
216
+ ?client_token: ::String,
217
+ scope: ("sandbox" | "live")
218
+ ) -> _CreateOneTimeCheckoutSessionResponseSuccess
219
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateOneTimeCheckoutSessionResponseSuccess
220
+
221
+ interface _CreateOneTimePriceResponseSuccess
222
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreateOneTimePriceResponse]
223
+ def one_time_price: () -> Types::OneTimePrice
224
+ end
225
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AppMonetization/Client.html#create_one_time_price-instance_method
226
+ def create_one_time_price: (
227
+ app_id: ::String,
228
+ definition: Params::one_time_price_definition,
229
+ ?client_token: ::String,
230
+ ?tags: Hash[::String, ::String]
231
+ ) -> _CreateOneTimePriceResponseSuccess
232
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateOneTimePriceResponseSuccess
233
+
234
+ interface _CreatePlanResponseSuccess
235
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreatePlanResponse]
236
+ def plan: () -> Types::Plan
237
+ end
238
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AppMonetization/Client.html#create_plan-instance_method
239
+ def create_plan: (
240
+ app_id: ::String,
241
+ definition: Params::plan_definition,
242
+ ?client_token: ::String,
243
+ ?tags: Hash[::String, ::String]
244
+ ) -> _CreatePlanResponseSuccess
245
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreatePlanResponseSuccess
246
+
247
+ interface _CreateSubscriptionCheckoutSessionResponseSuccess
248
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreateSubscriptionCheckoutSessionResponse]
249
+ def outcome: () -> Types::CheckoutOutcome
250
+ end
251
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AppMonetization/Client.html#create_subscription_checkout_session-instance_method
252
+ def create_subscription_checkout_session: (
253
+ app_id: ::String,
254
+ user_id: ::String,
255
+ ?plan_id: ::String,
256
+ return_url: ::String,
257
+ refresh_url: ::String,
258
+ ?session_duration_seconds: ::Integer,
259
+ ?client_token: ::String,
260
+ scope: ("sandbox" | "live")
261
+ ) -> _CreateSubscriptionCheckoutSessionResponseSuccess
262
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateSubscriptionCheckoutSessionResponseSuccess
263
+
264
+ interface _DeleteAppResponseSuccess
265
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeleteAppResponse]
266
+ def app_id: () -> ::String
267
+ def status: () -> ("ACTIVE" | "DELETED")
268
+ def arn: () -> ::String
269
+ end
270
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AppMonetization/Client.html#delete_app-instance_method
271
+ def delete_app: (
272
+ app_id: ::String,
273
+ ?identifier: ::String,
274
+ ?scope: ("sandbox" | "live")
275
+ ) -> _DeleteAppResponseSuccess
276
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteAppResponseSuccess
277
+
278
+ interface _DeleteOneTimePriceResponseSuccess
279
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeleteOneTimePriceResponse]
280
+ end
281
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AppMonetization/Client.html#delete_one_time_price-instance_method
282
+ def delete_one_time_price: (
283
+ app_id: ::String,
284
+ one_time_price_id: ::String,
285
+ ?client_token: ::String
286
+ ) -> _DeleteOneTimePriceResponseSuccess
287
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteOneTimePriceResponseSuccess
288
+
289
+ interface _DeleteThirdPartyCostResponseSuccess
290
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeleteThirdPartyCostResponse]
291
+ end
292
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AppMonetization/Client.html#delete_third_party_cost-instance_method
293
+ def delete_third_party_cost: (
294
+ app_id: ::String,
295
+ cost_id: ::String
296
+ ) -> _DeleteThirdPartyCostResponseSuccess
297
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteThirdPartyCostResponseSuccess
298
+
299
+ interface _GetAppResponseSuccess
300
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetAppResponse]
301
+ def app: () -> Types::App
302
+ end
303
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AppMonetization/Client.html#get_app-instance_method
304
+ def get_app: (
305
+ app_id: ::String,
306
+ ?identifier: ::String,
307
+ ?scope: ("sandbox" | "live")
308
+ ) -> _GetAppResponseSuccess
309
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetAppResponseSuccess
310
+
311
+ interface _GetAppInfraCostSummaryResponseSuccess
312
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetAppInfraCostSummaryResponse]
313
+ def app_id: () -> ::String
314
+ def cost_type: () -> ("ESTIMATE" | "ACTUAL")
315
+ def currency: () -> ("USD")
316
+ def group_by: () -> ("SERVICE" | "USER" | "TIME")
317
+ def total: () -> ::String
318
+ def groups: () -> ::Array[Types::CostGroup]
319
+ def started_at: () -> ::Time
320
+ def ended_at: () -> ::Time
321
+ def updated_at: () -> ::Time
322
+ end
323
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AppMonetization/Client.html#get_app_infra_cost_summary-instance_method
324
+ def get_app_infra_cost_summary: (
325
+ app_id: ::String,
326
+ started_at: ::Time,
327
+ ended_at: ::Time,
328
+ cost_type: ("ESTIMATE" | "ACTUAL"),
329
+ ?group_by: ("SERVICE" | "USER" | "TIME"),
330
+ ?filter_by: Hash[("SERVICE" | "USER" | "TIME"), Array[::String]],
331
+ scope: ("sandbox" | "live")
332
+ ) -> _GetAppInfraCostSummaryResponseSuccess
333
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetAppInfraCostSummaryResponseSuccess
334
+
335
+ interface _GetAppPaymentRegistrationResponseSuccess
336
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetAppPaymentRegistrationResponse]
337
+ def app_payment_registration: () -> Types::AppPaymentRegistration
338
+ end
339
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AppMonetization/Client.html#get_app_payment_registration-instance_method
340
+ def get_app_payment_registration: (
341
+ app_id: ::String,
342
+ scope: ("sandbox" | "live")
343
+ ) -> _GetAppPaymentRegistrationResponseSuccess
344
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetAppPaymentRegistrationResponseSuccess
345
+
346
+ interface _GetAppRevenueSummaryResponseSuccess
347
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetAppRevenueSummaryResponse]
348
+ def app_id: () -> ::String
349
+ def period: () -> ::String
350
+ def currency: () -> ("USD")
351
+ def group_by: () -> ("PLAN")
352
+ def total_revenue: () -> ::String
353
+ def subscription_revenue: () -> ::String
354
+ def usage_revenue: () -> ::String
355
+ def groups: () -> ::Array[Types::RevenueGroup]
356
+ def updated_at: () -> ::Time
357
+ end
358
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AppMonetization/Client.html#get_app_revenue_summary-instance_method
359
+ def get_app_revenue_summary: (
360
+ app_id: ::String,
361
+ ?period: ::String,
362
+ ?group_by: ("PLAN"),
363
+ ?filter_by: Hash[("PLAN"), Array[::String]],
364
+ scope: ("sandbox" | "live")
365
+ ) -> _GetAppRevenueSummaryResponseSuccess
366
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetAppRevenueSummaryResponseSuccess
367
+
368
+ interface _GetAppSubscriptionSummaryResponseSuccess
369
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetAppSubscriptionSummaryResponse]
370
+ def app_id: () -> ::String
371
+ def group_by: () -> ("STATUS" | "PLAN")
372
+ def total_subscribers: () -> ::Integer
373
+ def groups: () -> ::Array[Types::SubscriptionGroup]
374
+ def updated_at: () -> ::Time
375
+ end
376
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AppMonetization/Client.html#get_app_subscription_summary-instance_method
377
+ def get_app_subscription_summary: (
378
+ app_id: ::String,
379
+ ?group_by: ("STATUS" | "PLAN"),
380
+ ?filter_by: Hash[("STATUS" | "PLAN"), Array[::String]],
381
+ scope: ("sandbox" | "live")
382
+ ) -> _GetAppSubscriptionSummaryResponseSuccess
383
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetAppSubscriptionSummaryResponseSuccess
384
+
385
+ interface _GetAppUsageSummaryResponseSuccess
386
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetAppUsageSummaryResponse]
387
+ def app_id: () -> ::String
388
+ def group_by: () -> ("METRIC" | "USER" | "TIME")
389
+ def total_events: () -> ::Integer
390
+ def groups: () -> ::Array[Types::UsageGroup]
391
+ def started_at: () -> ::Time
392
+ def ended_at: () -> ::Time
393
+ def updated_at: () -> ::Time
394
+ end
395
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AppMonetization/Client.html#get_app_usage_summary-instance_method
396
+ def get_app_usage_summary: (
397
+ app_id: ::String,
398
+ started_at: ::Time,
399
+ ended_at: ::Time,
400
+ ?group_by: ("METRIC" | "USER" | "TIME"),
401
+ ?filter_by: Hash[("METRIC" | "USER" | "TIME"), Array[::String]],
402
+ scope: ("sandbox" | "live")
403
+ ) -> _GetAppUsageSummaryResponseSuccess
404
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetAppUsageSummaryResponseSuccess
405
+
406
+ interface _GetEntitlementDecisionResponseSuccess
407
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetEntitlementDecisionResponse]
408
+ def decision: () -> ("ALLOW" | "DENY")
409
+ def reason: () -> Types::EntitlementReason
410
+ def plan_id: () -> ::String
411
+ def metrics: () -> ::Array[Types::EntitlementMetricStatus]
412
+ end
413
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AppMonetization/Client.html#get_entitlement_decision-instance_method
414
+ def get_entitlement_decision: (
415
+ app_id: ::String,
416
+ user_id: ::String,
417
+ event_type: ::String,
418
+ scope: ("sandbox" | "live"),
419
+ quantity: ::String,
420
+ ?properties: Hash[::String, ::String]
421
+ ) -> _GetEntitlementDecisionResponseSuccess
422
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetEntitlementDecisionResponseSuccess
423
+
424
+ interface _GetMetricResponseSuccess
425
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetMetricResponse]
426
+ def metric: () -> Types::Metric
427
+ end
428
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AppMonetization/Client.html#get_metric-instance_method
429
+ def get_metric: (
430
+ app_id: ::String,
431
+ metric_id: ::String,
432
+ ?stage: ("DRAFT" | "PUBLISHED"),
433
+ scope: ("sandbox" | "live")
434
+ ) -> _GetMetricResponseSuccess
435
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetMetricResponseSuccess
436
+
437
+ interface _GetMetricUsageResponseSuccess
438
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetMetricUsageResponse]
439
+ def usage: () -> ::Array[Types::MetricUsage]
440
+ def next_token: () -> ::String
441
+ end
442
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AppMonetization/Client.html#get_metric_usage-instance_method
443
+ def get_metric_usage: (
444
+ app_id: ::String,
445
+ user_id: ::String,
446
+ started_at: ::Time,
447
+ ended_at: ::Time,
448
+ scope: ("sandbox" | "live"),
449
+ ?max_results: ::Integer,
450
+ ?next_token: ::String
451
+ ) -> _GetMetricUsageResponseSuccess
452
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetMetricUsageResponseSuccess
453
+
454
+ interface _GetOneTimePriceResponseSuccess
455
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetOneTimePriceResponse]
456
+ def one_time_price: () -> Types::OneTimePrice
457
+ end
458
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AppMonetization/Client.html#get_one_time_price-instance_method
459
+ def get_one_time_price: (
460
+ app_id: ::String,
461
+ one_time_price_id: ::String,
462
+ scope: ("sandbox" | "live")
463
+ ) -> _GetOneTimePriceResponseSuccess
464
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetOneTimePriceResponseSuccess
465
+
466
+ interface _GetPlanResponseSuccess
467
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetPlanResponse]
468
+ def plan: () -> Types::Plan
469
+ end
470
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AppMonetization/Client.html#get_plan-instance_method
471
+ def get_plan: (
472
+ app_id: ::String,
473
+ plan_id: ::String,
474
+ ?stage: ("DRAFT" | "PUBLISHED"),
475
+ scope: ("sandbox" | "live")
476
+ ) -> _GetPlanResponseSuccess
477
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetPlanResponseSuccess
478
+
479
+ interface _GetPlanRecommendationResponseSuccess
480
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetPlanRecommendationResponse]
481
+ def pricing_model: () -> ("FLAT" | "TIERED" | "PER_USE" | "PER_USE_SPLIT")
482
+ def recommended_price: () -> Types::Price
483
+ def recommended_price_range: () -> Types::PriceRange
484
+ def unit_prices: () -> ::Array[Types::UnitPrice]
485
+ def plans: () -> ::Array[Types::RecommendedPlan]
486
+ def credit_packs: () -> ::Array[Types::RecommendedCreditPack]
487
+ def verdict: () -> ("HEALTHY" | "THIN_MARGIN" | "NOT_MONETIZABLE" | "COST_ONLY" | "COST_NOT_CHECKED")
488
+ def confidence: () -> ("HIGH" | "MEDIUM" | "LOW")
489
+ def confidence_reason: () -> ::String
490
+ def basis: () -> ::String
491
+ def costs: () -> Types::CostOutcome
492
+ def alternatives: () -> Types::AlternativesOutcome
493
+ def plan_options: () -> Types::PlanOptionsOutcome
494
+ def analysis: () -> Types::PricingAnalysis
495
+ def recommendation_version: () -> ::String
496
+ def summary: () -> ::String
497
+ def details: () -> ::String
498
+ end
499
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AppMonetization/Client.html#get_plan_recommendation-instance_method
500
+ def get_plan_recommendation: (
501
+ ?app_name: ::String,
502
+ segment: ("CONSUMER" | "PROSUMER" | "ENTERPRISE"),
503
+ app_type: ("INFRASTRUCTURE" | "DAILY_WORKFLOW" | "PERIODIC_WORKFLOW" | "POINT_UTILITY" | "CREATIVE" | "API_WRAPPER"),
504
+ ?value_kind: ("PRODUCTIVITY" | "EXPERIENTIAL"),
505
+ actions: Array[
506
+ {
507
+ name: ::String?,
508
+ unit: ::String?,
509
+ unit_cost: ::Float?,
510
+ typical_monthly_usage: ::Float,
511
+ minutes_saved: ::Float?,
512
+ money_saved: ::Float?,
513
+ value_per_use: ::Float?
514
+ }
515
+ ],
516
+ ?hourly_rate: ::Float,
517
+ ?value_share: ::Float,
518
+ ?features: {
519
+ app_scores: Hash[::String, ::Float],
520
+ weights: Hash[::String, ::Float]?
521
+ },
522
+ ?costs: {
523
+ source: ("ACTUALS" | "LIVE" | "ESTIMATE" | "NONE")?,
524
+ unknown: Array[::String]?,
525
+ fixed_monthly_cost: ::Float?,
526
+ margins: Array[::Float]?
527
+ },
528
+ ?alternatives: {
529
+ comparables_opt_in: ("OPTED_IN" | "OPTED_OUT")?,
530
+ comparables: Array[
531
+ {
532
+ name: ::String?,
533
+ url: ::String,
534
+ mechanism: ("PAID_SUB" | "PER_REQUEST" | "FREE_CAPPED" | "FREEMIUM" | "ONE_TIME"),
535
+ price: {
536
+ currency_code: ::String,
537
+ amount: ::String
538
+ },
539
+ cap: ::Float?,
540
+ included_units: ::Float?,
541
+ overage_rate: ::Float?,
542
+ quality: ::Float?,
543
+ features: Hash[::String, ::Float]?
544
+ }
545
+ ]?,
546
+ outside_options: Array[
547
+ {
548
+ name: ::String,
549
+ monthly_cost: ::Float,
550
+ quality: ::Float?,
551
+ features: Hash[::String, ::Float]?
552
+ }
553
+ ]?
554
+ },
555
+ ?market: {
556
+ expected_users: ::Integer?,
557
+ measured_conversion: {
558
+ paying_users: ::Integer,
559
+ users: ::Integer
560
+ }?,
561
+ customer_types: Array[
562
+ {
563
+ name: ::String,
564
+ share: ::Float,
565
+ usage_multiplier: ::Float,
566
+ value_per_use_multiplier: ::Float,
567
+ usage_spread: ("SIMILAR" | "NORMAL" | "VARIED" | "EXTREME")?,
568
+ feature_weights: Hash[::String, ::Float]?
569
+ }
570
+ ]?,
571
+ checkout_drop_off: {
572
+ free_plan: ::Float?,
573
+ flat: ::Float?,
574
+ per_use: ::Float?,
575
+ tiered: ::Float?
576
+ }?
577
+ },
578
+ ?plan_options: {
579
+ pricing_model_preference: ("FLAT" | "TIERED" | "PER_USE" | "PER_USE_SPLIT")?,
580
+ free_tier_inclusion: ("INCLUDE" | "EXCLUDE")?,
581
+ max_tier_inclusion: ("INCLUDE" | "EXCLUDE")?,
582
+ annual_plan_inclusion: ("INCLUDE" | "EXCLUDE")?,
583
+ credit_pack_inclusion: ("INCLUDE" | "EXCLUDE")?,
584
+ plan_prices: Array[
585
+ {
586
+ plan_code: ::String,
587
+ action_name: ::String?,
588
+ price: {
589
+ currency_code: ::String,
590
+ amount: ::String
591
+ }
592
+ }
593
+ ]?,
594
+ published_price: {
595
+ currency_code: ::String,
596
+ amount: ::String
597
+ }?
598
+ },
599
+ ?context: {
600
+ non_aws_costs_note: ::String?,
601
+ value_basis: ::String?,
602
+ expected_users_basis: ::String?,
603
+ usage_sources: Hash[::String, ("ESTIMATE" | "MEASURED")]?,
604
+ customer_type_descriptions: Hash[::String, ::String]?
605
+ }
606
+ ) -> _GetPlanRecommendationResponseSuccess
607
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetPlanRecommendationResponseSuccess
608
+
609
+ interface _GetSubscriptionResponseSuccess
610
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetSubscriptionResponse]
611
+ def subscription: () -> Types::Subscription
612
+ def pending_change: () -> Types::PendingChange
613
+ def current_period_ends_at: () -> ::Time
614
+ end
615
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AppMonetization/Client.html#get_subscription-instance_method
616
+ def get_subscription: (
617
+ app_id: ::String,
618
+ user_id: ::String,
619
+ scope: ("sandbox" | "live")
620
+ ) -> _GetSubscriptionResponseSuccess
621
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetSubscriptionResponseSuccess
622
+
623
+ interface _GetSubscriptionHistoryResponseSuccess
624
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetSubscriptionHistoryResponse]
625
+ def items: () -> ::Array[Types::Subscription]
626
+ def next_token: () -> ::String
627
+ end
628
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AppMonetization/Client.html#get_subscription_history-instance_method
629
+ def get_subscription_history: (
630
+ app_id: ::String,
631
+ user_id: ::String,
632
+ ?effective_after: ::Time,
633
+ ?effective_before: ::Time,
634
+ ?max_results: ::Integer,
635
+ ?next_token: ::String,
636
+ scope: ("sandbox" | "live")
637
+ ) -> _GetSubscriptionHistoryResponseSuccess
638
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetSubscriptionHistoryResponseSuccess
639
+
640
+ interface _GetThirdPartyCostResponseSuccess
641
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetThirdPartyCostResponse]
642
+ def item: () -> Types::ThirdPartyCostItem
643
+ end
644
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AppMonetization/Client.html#get_third_party_cost-instance_method
645
+ def get_third_party_cost: (
646
+ app_id: ::String,
647
+ cost_id: ::String
648
+ ) -> _GetThirdPartyCostResponseSuccess
649
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetThirdPartyCostResponseSuccess
650
+
651
+ interface _ListAppsResponseSuccess
652
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListAppsResponse]
653
+ def apps: () -> ::Array[Types::App]
654
+ def next_token: () -> ::String
655
+ end
656
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AppMonetization/Client.html#list_apps-instance_method
657
+ def list_apps: (
658
+ ?max_results: ::Integer,
659
+ ?next_token: ::String
660
+ ) -> _ListAppsResponseSuccess
661
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListAppsResponseSuccess
662
+
663
+ interface _ListMetricsResponseSuccess
664
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListMetricsResponse]
665
+ def metrics: () -> ::Array[Types::Metric]
666
+ def next_token: () -> ::String
667
+ end
668
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AppMonetization/Client.html#list_metrics-instance_method
669
+ def list_metrics: (
670
+ app_id: ::String,
671
+ ?stage: ("DRAFT" | "PUBLISHED"),
672
+ ?max_results: ::Integer,
673
+ ?next_token: ::String,
674
+ scope: ("sandbox" | "live")
675
+ ) -> _ListMetricsResponseSuccess
676
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListMetricsResponseSuccess
677
+
678
+ interface _ListOneTimePricesResponseSuccess
679
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListOneTimePricesResponse]
680
+ def one_time_prices: () -> ::Array[Types::OneTimePrice]
681
+ def next_token: () -> ::String
682
+ end
683
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AppMonetization/Client.html#list_one_time_prices-instance_method
684
+ def list_one_time_prices: (
685
+ app_id: ::String,
686
+ ?stage: ("DRAFT" | "PUBLISHED"),
687
+ ?max_results: ::Integer,
688
+ ?next_token: ::String,
689
+ scope: ("sandbox" | "live")
690
+ ) -> _ListOneTimePricesResponseSuccess
691
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListOneTimePricesResponseSuccess
692
+
693
+ interface _ListPlansResponseSuccess
694
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListPlansResponse]
695
+ def plans: () -> ::Array[Types::Plan]
696
+ def next_token: () -> ::String
697
+ end
698
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AppMonetization/Client.html#list_plans-instance_method
699
+ def list_plans: (
700
+ app_id: ::String,
701
+ ?stage: ("DRAFT" | "PUBLISHED"),
702
+ ?max_results: ::Integer,
703
+ ?next_token: ::String,
704
+ scope: ("sandbox" | "live")
705
+ ) -> _ListPlansResponseSuccess
706
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListPlansResponseSuccess
707
+
708
+ interface _ListSubscriptionsResponseSuccess
709
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListSubscriptionsResponse]
710
+ def items: () -> ::Array[Types::SubscriptionSummary]
711
+ def next_token: () -> ::String
712
+ end
713
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AppMonetization/Client.html#list_subscriptions-instance_method
714
+ def list_subscriptions: (
715
+ app_id: ::String,
716
+ ?max_results: ::Integer,
717
+ ?next_token: ::String,
718
+ scope: ("sandbox" | "live")
719
+ ) -> _ListSubscriptionsResponseSuccess
720
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListSubscriptionsResponseSuccess
721
+
722
+ interface _ListTagsForResourceResponseSuccess
723
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListTagsForResourceResponse]
724
+ def tags: () -> ::Hash[::String, ::String]
725
+ end
726
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AppMonetization/Client.html#list_tags_for_resource-instance_method
727
+ def list_tags_for_resource: (
728
+ resource_arn: ::String
729
+ ) -> _ListTagsForResourceResponseSuccess
730
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListTagsForResourceResponseSuccess
731
+
732
+ interface _ListThirdPartyCostsResponseSuccess
733
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListThirdPartyCostsResponse]
734
+ def items: () -> ::Array[Types::ThirdPartyCostItem]
735
+ def next_token: () -> ::String
736
+ end
737
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AppMonetization/Client.html#list_third_party_costs-instance_method
738
+ def list_third_party_costs: (
739
+ app_id: ::String,
740
+ ?max_results: ::Integer,
741
+ ?next_token: ::String
742
+ ) -> _ListThirdPartyCostsResponseSuccess
743
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListThirdPartyCostsResponseSuccess
744
+
745
+ interface _PublishDraftResponseSuccess
746
+ include ::Seahorse::Client::_ResponseSuccess[Types::PublishDraftResponse]
747
+ def app: () -> Types::App
748
+ end
749
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AppMonetization/Client.html#publish_draft-instance_method
750
+ def publish_draft: (
751
+ app_id: ::String
752
+ ) -> _PublishDraftResponseSuccess
753
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _PublishDraftResponseSuccess
754
+
755
+ interface _PutAwsServiceEventResponseSuccess
756
+ include ::Seahorse::Client::_ResponseSuccess[Types::PutAwsServiceEventResponse]
757
+ def event_id: () -> ::String
758
+ def status: () -> ("ACCEPTED")
759
+ end
760
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AppMonetization/Client.html#put_aws_service_event-instance_method
761
+ def put_aws_service_event: (
762
+ app_id: ::String,
763
+ ?client_token: ::String,
764
+ user_id: ::String,
765
+ service: ::String,
766
+ operation: ::String,
767
+ ?quantity: ::String,
768
+ timestamp: ::Time,
769
+ ?aws_region: ::String,
770
+ ?properties: Hash[::String, ::String],
771
+ scope: ("sandbox" | "live")
772
+ ) -> _PutAwsServiceEventResponseSuccess
773
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _PutAwsServiceEventResponseSuccess
774
+
775
+ interface _PutCustomChargesResponseSuccess
776
+ include ::Seahorse::Client::_ResponseSuccess[Types::PutCustomChargesResponse]
777
+ def billing_period_start_at: () -> ::Time
778
+ def billing_period_end_at: () -> ::Time
779
+ end
780
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AppMonetization/Client.html#put_custom_charges-instance_method
781
+ def put_custom_charges: (
782
+ app_id: ::String,
783
+ user_id: ::String,
784
+ charges: Array[
785
+ {
786
+ charge_id: ::String,
787
+ description: ::String,
788
+ amount: ::String,
789
+ currency: ::String,
790
+ metric_id: ::String?,
791
+ tax_code: ::String?
792
+ }
793
+ ],
794
+ scope: ("sandbox" | "live")
795
+ ) -> _PutCustomChargesResponseSuccess
796
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _PutCustomChargesResponseSuccess
797
+
798
+ interface _PutEventResponseSuccess
799
+ include ::Seahorse::Client::_ResponseSuccess[Types::PutEventResponse]
800
+ def event_id: () -> ::String
801
+ def status: () -> ::String
802
+ end
803
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AppMonetization/Client.html#put_event-instance_method
804
+ def put_event: (
805
+ app_id: ::String,
806
+ ?client_token: ::String,
807
+ user_id: ::String,
808
+ event_type: ::String,
809
+ quantity: ::String,
810
+ timestamp: ::Time,
811
+ ?properties: Hash[::String, ::String],
812
+ scope: ("sandbox" | "live")
813
+ ) -> _PutEventResponseSuccess
814
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _PutEventResponseSuccess
815
+
816
+ interface _PutThirdPartyCostResponseSuccess
817
+ include ::Seahorse::Client::_ResponseSuccess[Types::PutThirdPartyCostResponse]
818
+ def item: () -> Types::ThirdPartyCostItem
819
+ end
820
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AppMonetization/Client.html#put_third_party_cost-instance_method
821
+ def put_third_party_cost: (
822
+ app_id: ::String,
823
+ ?cost_id: ::String,
824
+ label: ::String,
825
+ amount: ::String,
826
+ ?frequency: ("MONTHLY"),
827
+ ?currency: ("USD"),
828
+ ?description: ::String,
829
+ ?effective_from: ::String,
830
+ ?effective_to: ::String,
831
+ ?client_token: ::String
832
+ ) -> _PutThirdPartyCostResponseSuccess
833
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _PutThirdPartyCostResponseSuccess
834
+
835
+ interface _TagResourceResponseSuccess
836
+ include ::Seahorse::Client::_ResponseSuccess[Types::TagResourceResponse]
837
+ end
838
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AppMonetization/Client.html#tag_resource-instance_method
839
+ def tag_resource: (
840
+ resource_arn: ::String,
841
+ tags: Hash[::String, ::String]
842
+ ) -> _TagResourceResponseSuccess
843
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _TagResourceResponseSuccess
844
+
845
+ interface _UntagResourceResponseSuccess
846
+ include ::Seahorse::Client::_ResponseSuccess[Types::UntagResourceResponse]
847
+ end
848
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AppMonetization/Client.html#untag_resource-instance_method
849
+ def untag_resource: (
850
+ resource_arn: ::String,
851
+ tag_keys: Array[::String]
852
+ ) -> _UntagResourceResponseSuccess
853
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UntagResourceResponseSuccess
854
+
855
+ interface _UpdateAppResponseSuccess
856
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateAppResponse]
857
+ def app: () -> Types::App
858
+ end
859
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AppMonetization/Client.html#update_app-instance_method
860
+ def update_app: (
861
+ app_id: ::String,
862
+ ?name: ::String,
863
+ ?description: ::String,
864
+ ?identifier: ::String,
865
+ ?scope: ("sandbox" | "live"),
866
+ ?cost_tracking: {
867
+ role_arn: ::String
868
+ }
869
+ ) -> _UpdateAppResponseSuccess
870
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateAppResponseSuccess
871
+
872
+ interface _UpdateAppPaymentRegistrationResponseSuccess
873
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateAppPaymentRegistrationResponse]
874
+ def app_payment_registration: () -> Types::AppPaymentRegistration
875
+ end
876
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AppMonetization/Client.html#update_app_payment_registration-instance_method
877
+ def update_app_payment_registration: (
878
+ app_id: ::String,
879
+ ?payment_registration_id: ::String,
880
+ ?legal_name: ::String,
881
+ ?developer_address: Params::developer_address,
882
+ ?tax_registration_number: ::String,
883
+ ?email: ::String,
884
+ ?support_email: ::String,
885
+ ?display_name: ::String,
886
+ ?support_phone: ::String,
887
+ ?invoice_logo: ::String,
888
+ ?tax_registrations: Array[
889
+ Params::tax_registration
890
+ ],
891
+ scope: ("sandbox" | "live")
892
+ ) -> _UpdateAppPaymentRegistrationResponseSuccess
893
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateAppPaymentRegistrationResponseSuccess
894
+
895
+ interface _UpdateMetricResponseSuccess
896
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateMetricResponse]
897
+ def metric: () -> Types::Metric
898
+ end
899
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AppMonetization/Client.html#update_metric-instance_method
900
+ def update_metric: (
901
+ app_id: ::String,
902
+ metric_id: ::String,
903
+ ?name: ::String,
904
+ ?description: ::String,
905
+ ?event_type: ::String,
906
+ ?unit_name: ::String,
907
+ ?definition: Params::metric_definition
908
+ ) -> _UpdateMetricResponseSuccess
909
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateMetricResponseSuccess
910
+
911
+ interface _UpdateOneTimePriceResponseSuccess
912
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateOneTimePriceResponse]
913
+ def one_time_price: () -> Types::OneTimePrice
914
+ end
915
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AppMonetization/Client.html#update_one_time_price-instance_method
916
+ def update_one_time_price: (
917
+ app_id: ::String,
918
+ one_time_price_id: ::String,
919
+ definition: Params::one_time_price_definition,
920
+ ?client_token: ::String
921
+ ) -> _UpdateOneTimePriceResponseSuccess
922
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateOneTimePriceResponseSuccess
923
+
924
+ interface _UpdatePlanResponseSuccess
925
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdatePlanResponse]
926
+ def plan: () -> Types::Plan
927
+ end
928
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AppMonetization/Client.html#update_plan-instance_method
929
+ def update_plan: (
930
+ app_id: ::String,
931
+ plan_id: ::String,
932
+ definition: Params::plan_definition
933
+ ) -> _UpdatePlanResponseSuccess
934
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdatePlanResponseSuccess
935
+ end
936
+ end
937
+ end
938
+