Class: Aws::AppMonetization::Types::GetMetricRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::AppMonetization::Types::GetMetricRequest
- Defined in:
- gems/aws-sdk-appmonetization/lib/aws-sdk-appmonetization/types.rb
Overview
Input for GetMetric.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#app_id ⇒ String
The ID of the app.
-
#metric_id ⇒ String
The ID of the metric to retrieve.
-
#scope ⇒ String
Required.
-
#stage ⇒ String
The offering stage to read the metric from: DRAFT (the latest draft) or PUBLISHED (the offering customers see).
Instance Attribute Details
#app_id ⇒ String
The ID of the app.
2584 2585 2586 2587 2588 2589 2590 2591 |
# File 'gems/aws-sdk-appmonetization/lib/aws-sdk-appmonetization/types.rb', line 2584 class GetMetricRequest < Struct.new( :app_id, :metric_id, :stage, :scope) SENSITIVE = [] include Aws::Structure end |
#metric_id ⇒ String
The ID of the metric to retrieve.
2584 2585 2586 2587 2588 2589 2590 2591 |
# File 'gems/aws-sdk-appmonetization/lib/aws-sdk-appmonetization/types.rb', line 2584 class GetMetricRequest < Struct.new( :app_id, :metric_id, :stage, :scope) SENSITIVE = [] include Aws::Structure end |
#scope ⇒ String
Required. The environment: live or sandbox. live reads the published offering by default; sandbox reads the app's draft.
2584 2585 2586 2587 2588 2589 2590 2591 |
# File 'gems/aws-sdk-appmonetization/lib/aws-sdk-appmonetization/types.rb', line 2584 class GetMetricRequest < Struct.new( :app_id, :metric_id, :stage, :scope) SENSITIVE = [] include Aws::Structure end |
#stage ⇒ String
The offering stage to read the metric from: DRAFT (the latest draft) or PUBLISHED (the offering customers see). Absent: PUBLISHED when scope=live, DRAFT when scope=sandbox.
2584 2585 2586 2587 2588 2589 2590 2591 |
# File 'gems/aws-sdk-appmonetization/lib/aws-sdk-appmonetization/types.rb', line 2584 class GetMetricRequest < Struct.new( :app_id, :metric_id, :stage, :scope) SENSITIVE = [] include Aws::Structure end |