Class: Aws::AppMonetization::Types::GetEntitlementDecisionRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::AppMonetization::Types::GetEntitlementDecisionRequest
- Defined in:
- gems/aws-sdk-appmonetization/lib/aws-sdk-appmonetization/types.rb
Overview
Input for GetEntitlementDecision.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#app_id ⇒ String
The ID of the app.
-
#event_type ⇒ String
The type of action the user is attempting, used to determine the applicable plan capability and quota.
-
#properties ⇒ Hash<String,String>
The same event properties you will send on the event.
-
#quantity ⇒ String
The number of units the pending action will consume, as a non-negative decimal string (the same Quantity shape PutEvent uses).
-
#scope ⇒ String
The environment of the app that this operation applies to.
-
#user_id ⇒ String
An opaque identifier that you assign to an end user.
Instance Attribute Details
#app_id ⇒ String
The ID of the app.
2520 2521 2522 2523 2524 2525 2526 2527 2528 2529 |
# File 'gems/aws-sdk-appmonetization/lib/aws-sdk-appmonetization/types.rb', line 2520 class GetEntitlementDecisionRequest < Struct.new( :app_id, :user_id, :event_type, :scope, :quantity, :properties) SENSITIVE = [] include Aws::Structure end |
#event_type ⇒ String
The type of action the user is attempting, used to determine the applicable plan capability and quota. Use the same event type you will send on the event.
2520 2521 2522 2523 2524 2525 2526 2527 2528 2529 |
# File 'gems/aws-sdk-appmonetization/lib/aws-sdk-appmonetization/types.rb', line 2520 class GetEntitlementDecisionRequest < Struct.new( :app_id, :user_id, :event_type, :scope, :quantity, :properties) SENSITIVE = [] include Aws::Structure end |
#properties ⇒ Hash<String,String>
The same event properties you will send on the event. Each metric's filter is applied to them, and a summed or maxed field value is read from them. Omit them or send {} when the event has none; a metric that sums or maxes a property then rejects the check, as PutEvent rejects the event. Do not include personally identifiable or otherwise sensitive data in these values.
2520 2521 2522 2523 2524 2525 2526 2527 2528 2529 |
# File 'gems/aws-sdk-appmonetization/lib/aws-sdk-appmonetization/types.rb', line 2520 class GetEntitlementDecisionRequest < Struct.new( :app_id, :user_id, :event_type, :scope, :quantity, :properties) SENSITIVE = [] include Aws::Structure end |
#quantity ⇒ String
The number of units the pending action will consume, as a non-negative decimal string (the same Quantity shape PutEvent uses). Send the real amount if known, otherwise your best upper estimate (for example a request's max tokens). Used when a metric counts events or sums or maxes the event quantity itself. The decision is DENY when usage already reached the limit, or when folding this event in would push it past (SUM and COUNT add the increment; MAX takes the larger of current usage and the increment).
2520 2521 2522 2523 2524 2525 2526 2527 2528 2529 |
# File 'gems/aws-sdk-appmonetization/lib/aws-sdk-appmonetization/types.rb', line 2520 class GetEntitlementDecisionRequest < Struct.new( :app_id, :user_id, :event_type, :scope, :quantity, :properties) SENSITIVE = [] include Aws::Structure end |
#scope ⇒ String
The environment of the app that this operation applies to. Specify live to use the live app, or sandbox to use the app's isolated test environment.
2520 2521 2522 2523 2524 2525 2526 2527 2528 2529 |
# File 'gems/aws-sdk-appmonetization/lib/aws-sdk-appmonetization/types.rb', line 2520 class GetEntitlementDecisionRequest < Struct.new( :app_id, :user_id, :event_type, :scope, :quantity, :properties) SENSITIVE = [] include Aws::Structure end |
#user_id ⇒ String
An opaque identifier that you assign to an end user. Do not include personally identifiable or otherwise sensitive data in this value.
2520 2521 2522 2523 2524 2525 2526 2527 2528 2529 |
# File 'gems/aws-sdk-appmonetization/lib/aws-sdk-appmonetization/types.rb', line 2520 class GetEntitlementDecisionRequest < Struct.new( :app_id, :user_id, :event_type, :scope, :quantity, :properties) SENSITIVE = [] include Aws::Structure end |