Class: Aws::AppMonetization::Types::PutEventRequest

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-appmonetization/lib/aws-sdk-appmonetization/types.rb

Overview

Input for PutEvent.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#app_id ⇒ String

The ID of the app the event belongs to.

Returns:

  • (String)


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.

Returns:

  • (String)


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.

Returns:

  • (String)


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.

Returns:

  • (Hash<String,String>)


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").

Returns:

  • (String)


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.

Returns:

  • (String)


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.

Returns:

  • (Time)


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.

Returns:

  • (String)


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