Class: Aws::AppMonetization::Types::GetMetricUsageRequest

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

Overview

Input for GetMetricUsage.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#app_id ⇒ String

The ID of the app.

Returns:

  • (String)


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.

Returns:

  • (Time)


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

Returns:

  • (Integer)


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.

Returns:

  • (String)


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.

Returns:

  • (String)


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

Returns:

  • (Time)


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.

Returns:

  • (String)


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