Class: Aws::AppMonetization::Types::PutAwsServiceEventRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::AppMonetization::Types::PutAwsServiceEventRequest
- Defined in:
- gems/aws-sdk-appmonetization/lib/aws-sdk-appmonetization/types.rb
Overview
Input for PutAwsServiceEvent.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#app_id ⇒ String
The ID of the app.
-
#aws_region ⇒ String
The AWS Region in which the event occurred.
-
#client_token ⇒ String
A unique, case-sensitive identifier to ensure that the operation completes no more than one time.
-
#operation ⇒ String
The AWS operation (API action) that produced the usage event.
-
#properties ⇒ Hash<String,String>
The key/value properties carried on a usage event.
-
#quantity ⇒ String
A non-negative decimal quantity represented as a string (for example, "1500" or "12.5").
-
#scope ⇒ String
The environment of the app that this operation applies to.
-
#service ⇒ String
The AWS service name that emitted the usage event.
-
#timestamp ⇒ Time
The time the event occurred, as an ISO-8601 date-time in UTC (for example, "2026-07-26T15:04:05Z").
-
#user_id ⇒ String
An opaque identifier that you assign to an end user.
Instance Attribute Details
#app_id ⇒ String
The ID of the app.
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.
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.
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.
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.
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").
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.
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.
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").
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.
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 |