Class: Aws::AppMonetization::Types::GetMetricUsageRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::AppMonetization::Types::GetMetricUsageRequest
- Defined in:
- gems/aws-sdk-appmonetization/lib/aws-sdk-appmonetization/types.rb
Overview
Input for GetMetricUsage.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#app_id ⇒ String
The ID of the app.
-
#ended_at ⇒ Time
Exclusive end of the reporting window.
-
#max_results ⇒ Integer
Maximum number of per-metric usage entries to return in this page (1-25, default 25).
-
#next_token ⇒ String
Opaque continuation token from a prior response.
-
#scope ⇒ String
Required.
-
#started_at ⇒ Time
Inclusive start of the reporting window (half-open [startedAt, endedAt)).
-
#user_id ⇒ String
The end user whose usage is read.
Instance Attribute Details
#app_id ⇒ String
The ID of the app.
2647 2648 2649 2650 2651 2652 2653 2654 2655 2656 2657 |
# File 'gems/aws-sdk-appmonetization/lib/aws-sdk-appmonetization/types.rb', line 2647 class GetMetricUsageRequest < Struct.new( :app_id, :user_id, :started_at, :ended_at, :scope, :max_results, :next_token) SENSITIVE = [] include Aws::Structure end |
#ended_at ⇒ Time
Exclusive end of the reporting window. Must be after startedAt; the window may span at most 744 hours (31 days, the longest monthly billing period). Must not be in the future beyond a small clock-skew allowance.
2647 2648 2649 2650 2651 2652 2653 2654 2655 2656 2657 |
# File 'gems/aws-sdk-appmonetization/lib/aws-sdk-appmonetization/types.rb', line 2647 class GetMetricUsageRequest < Struct.new( :app_id, :user_id, :started_at, :ended_at, :scope, :max_results, :next_token) SENSITIVE = [] include Aws::Structure end |
#max_results ⇒ Integer
Maximum number of per-metric usage entries to return in this page (1-25, default 25).
2647 2648 2649 2650 2651 2652 2653 2654 2655 2656 2657 |
# File 'gems/aws-sdk-appmonetization/lib/aws-sdk-appmonetization/types.rb', line 2647 class GetMetricUsageRequest < Struct.new( :app_id, :user_id, :started_at, :ended_at, :scope, :max_results, :next_token) SENSITIVE = [] include Aws::Structure end |
#next_token ⇒ String
Opaque continuation token from a prior response. The window (startedAt/endedAt) must be unchanged across a pagination sequence.
2647 2648 2649 2650 2651 2652 2653 2654 2655 2656 2657 |
# File 'gems/aws-sdk-appmonetization/lib/aws-sdk-appmonetization/types.rb', line 2647 class GetMetricUsageRequest < Struct.new( :app_id, :user_id, :started_at, :ended_at, :scope, :max_results, :next_token) SENSITIVE = [] include Aws::Structure end |
#scope ⇒ String
Required. The environment: live or sandbox. sandbox reads the app's isolated test environment. Usage is kept separately per environment.
2647 2648 2649 2650 2651 2652 2653 2654 2655 2656 2657 |
# File 'gems/aws-sdk-appmonetization/lib/aws-sdk-appmonetization/types.rb', line 2647 class GetMetricUsageRequest < Struct.new( :app_id, :user_id, :started_at, :ended_at, :scope, :max_results, :next_token) SENSITIVE = [] include Aws::Structure end |
#started_at ⇒ Time
Inclusive start of the reporting window (half-open [startedAt, endedAt)).
2647 2648 2649 2650 2651 2652 2653 2654 2655 2656 2657 |
# File 'gems/aws-sdk-appmonetization/lib/aws-sdk-appmonetization/types.rb', line 2647 class GetMetricUsageRequest < Struct.new( :app_id, :user_id, :started_at, :ended_at, :scope, :max_results, :next_token) SENSITIVE = [] include Aws::Structure end |
#user_id ⇒ String
The end user whose usage is read. Do not include personally identifiable or otherwise sensitive data in this value.
2647 2648 2649 2650 2651 2652 2653 2654 2655 2656 2657 |
# File 'gems/aws-sdk-appmonetization/lib/aws-sdk-appmonetization/types.rb', line 2647 class GetMetricUsageRequest < Struct.new( :app_id, :user_id, :started_at, :ended_at, :scope, :max_results, :next_token) SENSITIVE = [] include Aws::Structure end |