Class: Aws::AppMonetization::Types::PutEventRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::AppMonetization::Types::PutEventRequest
- Defined in:
- gems/aws-sdk-appmonetization/lib/aws-sdk-appmonetization/types.rb
Overview
Input for PutEvent.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#app_id ⇒ String
The ID of the app the event belongs to.
-
#client_token ⇒ String
A unique, case-sensitive identifier to ensure that the operation completes no more than one time.
-
#event_type ⇒ String
The event type.
-
#properties ⇒ Hash<String,String>
The key/value properties carried on the event, usable in metric filters and grouping.
-
#quantity ⇒ String
The amount of usage the event represents, as a non-negative decimal string (for example, "1" or "12.5").
-
#scope ⇒ String
The environment of the app that this operation applies to: the live app or the app's isolated sandbox test environment.
-
#timestamp ⇒ Time
The time the event occurred.
-
#user_id ⇒ String
The ID of the end user the event is attributed to.
Instance Attribute Details
#app_id ⇒ String
The ID of the app the event belongs to.
4638 4639 4640 4641 4642 4643 4644 4645 4646 4647 4648 4649 |
# File 'gems/aws-sdk-appmonetization/lib/aws-sdk-appmonetization/types.rb', line 4638 class PutEventRequest < Struct.new( :app_id, :client_token, :user_id, :event_type, :quantity, :timestamp, :properties, :scope) SENSITIVE = [] include Aws::Structure end |
#client_token ⇒ String
A unique, case-sensitive identifier to ensure that the operation completes no more than one time. If this token matches a previous request, the service ignores the request but does not return an error.
A suitable default value is auto-generated. You should normally not need to pass this option.
4638 4639 4640 4641 4642 4643 4644 4645 4646 4647 4648 4649 |
# File 'gems/aws-sdk-appmonetization/lib/aws-sdk-appmonetization/types.rb', line 4638 class PutEventRequest < Struct.new( :app_id, :client_token, :user_id, :event_type, :quantity, :timestamp, :properties, :scope) SENSITIVE = [] include Aws::Structure end |
#event_type ⇒ String
The event type. Correlates with the event type of the metrics that aggregate it.
4638 4639 4640 4641 4642 4643 4644 4645 4646 4647 4648 4649 |
# File 'gems/aws-sdk-appmonetization/lib/aws-sdk-appmonetization/types.rb', line 4638 class PutEventRequest < Struct.new( :app_id, :client_token, :user_id, :event_type, :quantity, :timestamp, :properties, :scope) SENSITIVE = [] include Aws::Structure end |
#properties ⇒ Hash<String,String>
The key/value properties carried on the event, usable in metric filters and grouping. When a metric sums or takes the max of a property, that property's value must be a plain non-negative decimal (up to 15 digits before the point and 6 after; no sign, exponent, spaces, or commas, for example "1200" or "12.5"), and events that break this are rejected.
4638 4639 4640 4641 4642 4643 4644 4645 4646 4647 4648 4649 |
# File 'gems/aws-sdk-appmonetization/lib/aws-sdk-appmonetization/types.rb', line 4638 class PutEventRequest < Struct.new( :app_id, :client_token, :user_id, :event_type, :quantity, :timestamp, :properties, :scope) SENSITIVE = [] include Aws::Structure end |
#quantity ⇒ String
The amount of usage the event represents, as a non-negative decimal string (for example, "1" or "12.5").
4638 4639 4640 4641 4642 4643 4644 4645 4646 4647 4648 4649 |
# File 'gems/aws-sdk-appmonetization/lib/aws-sdk-appmonetization/types.rb', line 4638 class PutEventRequest < Struct.new( :app_id, :client_token, :user_id, :event_type, :quantity, :timestamp, :properties, :scope) SENSITIVE = [] include Aws::Structure end |
#scope ⇒ String
The environment of the app that this operation applies to: the live app or the app's isolated sandbox test environment.
4638 4639 4640 4641 4642 4643 4644 4645 4646 4647 4648 4649 |
# File 'gems/aws-sdk-appmonetization/lib/aws-sdk-appmonetization/types.rb', line 4638 class PutEventRequest < Struct.new( :app_id, :client_token, :user_id, :event_type, :quantity, :timestamp, :properties, :scope) SENSITIVE = [] include Aws::Structure end |
#timestamp ⇒ Time
The time the event occurred.
4638 4639 4640 4641 4642 4643 4644 4645 4646 4647 4648 4649 |
# File 'gems/aws-sdk-appmonetization/lib/aws-sdk-appmonetization/types.rb', line 4638 class PutEventRequest < Struct.new( :app_id, :client_token, :user_id, :event_type, :quantity, :timestamp, :properties, :scope) SENSITIVE = [] include Aws::Structure end |
#user_id ⇒ String
The ID of the end user the event is attributed to. Do not include personally identifiable or otherwise sensitive data in this value.
4638 4639 4640 4641 4642 4643 4644 4645 4646 4647 4648 4649 |
# File 'gems/aws-sdk-appmonetization/lib/aws-sdk-appmonetization/types.rb', line 4638 class PutEventRequest < Struct.new( :app_id, :client_token, :user_id, :event_type, :quantity, :timestamp, :properties, :scope) SENSITIVE = [] include Aws::Structure end |