Class: Aws::AppMonetization::Types::PutAwsServiceEventRequest

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

Overview

Input for PutAwsServiceEvent.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#app_id ⇒ String

The ID of the app.

Returns:

  • (String)


4505
4506
4507
4508
4509
4510
4511
4512
4513
4514
4515
4516
4517
4518
# File 'gems/aws-sdk-appmonetization/lib/aws-sdk-appmonetization/types.rb', line 4505

class PutAwsServiceEventRequest < Struct.new(
  :app_id,
  :client_token,
  :user_id,
  :service,
  :operation,
  :quantity,
  :timestamp,
  :aws_region,
  :properties,
  :scope)
  SENSITIVE = []
  include Aws::Structure
end

#aws_region ⇒ String

The AWS Region in which the event occurred.

Returns:

  • (String)


4505
4506
4507
4508
4509
4510
4511
4512
4513
4514
4515
4516
4517
4518
# File 'gems/aws-sdk-appmonetization/lib/aws-sdk-appmonetization/types.rb', line 4505

class PutAwsServiceEventRequest < Struct.new(
  :app_id,
  :client_token,
  :user_id,
  :service,
  :operation,
  :quantity,
  :timestamp,
  :aws_region,
  :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)


4505
4506
4507
4508
4509
4510
4511
4512
4513
4514
4515
4516
4517
4518
# File 'gems/aws-sdk-appmonetization/lib/aws-sdk-appmonetization/types.rb', line 4505

class PutAwsServiceEventRequest < Struct.new(
  :app_id,
  :client_token,
  :user_id,
  :service,
  :operation,
  :quantity,
  :timestamp,
  :aws_region,
  :properties,
  :scope)
  SENSITIVE = []
  include Aws::Structure
end

#operation ⇒ String

The AWS operation (API action) that produced the usage event.

Returns:

  • (String)


4505
4506
4507
4508
4509
4510
4511
4512
4513
4514
4515
4516
4517
4518
# File 'gems/aws-sdk-appmonetization/lib/aws-sdk-appmonetization/types.rb', line 4505

class PutAwsServiceEventRequest < Struct.new(
  :app_id,
  :client_token,
  :user_id,
  :service,
  :operation,
  :quantity,
  :timestamp,
  :aws_region,
  :properties,
  :scope)
  SENSITIVE = []
  include Aws::Structure
end

#properties ⇒ Hash<String,String>

The key/value properties carried on a usage event. Property values can be referenced by metric filters and grouping.

Returns:

  • (Hash<String,String>)


4505
4506
4507
4508
4509
4510
4511
4512
4513
4514
4515
4516
4517
4518
# File 'gems/aws-sdk-appmonetization/lib/aws-sdk-appmonetization/types.rb', line 4505

class PutAwsServiceEventRequest < Struct.new(
  :app_id,
  :client_token,
  :user_id,
  :service,
  :operation,
  :quantity,
  :timestamp,
  :aws_region,
  :properties,
  :scope)
  SENSITIVE = []
  include Aws::Structure
end

#quantity ⇒ String

A non-negative decimal quantity represented as a string (for example, "1500" or "12.5").

Returns:

  • (String)


4505
4506
4507
4508
4509
4510
4511
4512
4513
4514
4515
4516
4517
4518
# File 'gems/aws-sdk-appmonetization/lib/aws-sdk-appmonetization/types.rb', line 4505

class PutAwsServiceEventRequest < Struct.new(
  :app_id,
  :client_token,
  :user_id,
  :service,
  :operation,
  :quantity,
  :timestamp,
  :aws_region,
  :properties,
  :scope)
  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.

Returns:

  • (String)


4505
4506
4507
4508
4509
4510
4511
4512
4513
4514
4515
4516
4517
4518
# File 'gems/aws-sdk-appmonetization/lib/aws-sdk-appmonetization/types.rb', line 4505

class PutAwsServiceEventRequest < Struct.new(
  :app_id,
  :client_token,
  :user_id,
  :service,
  :operation,
  :quantity,
  :timestamp,
  :aws_region,
  :properties,
  :scope)
  SENSITIVE = []
  include Aws::Structure
end

#service ⇒ String

The AWS service name that emitted the usage event.

Returns:

  • (String)


4505
4506
4507
4508
4509
4510
4511
4512
4513
4514
4515
4516
4517
4518
# File 'gems/aws-sdk-appmonetization/lib/aws-sdk-appmonetization/types.rb', line 4505

class PutAwsServiceEventRequest < Struct.new(
  :app_id,
  :client_token,
  :user_id,
  :service,
  :operation,
  :quantity,
  :timestamp,
  :aws_region,
  :properties,
  :scope)
  SENSITIVE = []
  include Aws::Structure
end

#timestamp ⇒ Time

The time the event occurred, as an ISO-8601 date-time in UTC (for example, "2026-07-26T15:04:05Z").

Returns:

  • (Time)


4505
4506
4507
4508
4509
4510
4511
4512
4513
4514
4515
4516
4517
4518
# File 'gems/aws-sdk-appmonetization/lib/aws-sdk-appmonetization/types.rb', line 4505

class PutAwsServiceEventRequest < Struct.new(
  :app_id,
  :client_token,
  :user_id,
  :service,
  :operation,
  :quantity,
  :timestamp,
  :aws_region,
  :properties,
  :scope)
  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.

Returns:

  • (String)


4505
4506
4507
4508
4509
4510
4511
4512
4513
4514
4515
4516
4517
4518
# File 'gems/aws-sdk-appmonetization/lib/aws-sdk-appmonetization/types.rb', line 4505

class PutAwsServiceEventRequest < Struct.new(
  :app_id,
  :client_token,
  :user_id,
  :service,
  :operation,
  :quantity,
  :timestamp,
  :aws_region,
  :properties,
  :scope)
  SENSITIVE = []
  include Aws::Structure
end