Class: Aws::AppMonetization::Types::Metric
- Inherits:
-
Struct
- Object
- Struct
- Aws::AppMonetization::Types::Metric
- Defined in:
- gems/aws-sdk-appmonetization/lib/aws-sdk-appmonetization/types.rb
Overview
A usage metric definition for an app. Metrics aggregate raw usage events (by event type) into a metered quantity used for quota enforcement and usage-based billing.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#app_id ⇒ String
The ID of the app the metric belongs to.
-
#arn ⇒ String
The Amazon Resource Name (ARN) of the metric.
-
#definition ⇒ Types::MetricDefinition
The aggregation definition: filters, aggregation function, grouping, and period.
-
#description ⇒ String
A description of what the metric measures.
-
#event_type ⇒ String
The event type this metric aggregates.
-
#metric_id ⇒ String
The ID of the metric.
-
#name ⇒ String
A human-readable display name for the metric.
-
#stage ⇒ String
The offering stage this metric was read from: DRAFT or PUBLISHED.
-
#unit_name ⇒ String
The unit of measure for the metric.
Instance Attribute Details
#app_id ⇒ String
The ID of the app the metric belongs to.
3745 3746 3747 3748 3749 3750 3751 3752 3753 3754 3755 3756 3757 |
# File 'gems/aws-sdk-appmonetization/lib/aws-sdk-appmonetization/types.rb', line 3745 class Metric < Struct.new( :app_id, :metric_id, :name, :description, :event_type, :unit_name, :definition, :arn, :stage) SENSITIVE = [] include Aws::Structure end |
#arn ⇒ String
The Amazon Resource Name (ARN) of the metric. Output only.
3745 3746 3747 3748 3749 3750 3751 3752 3753 3754 3755 3756 3757 |
# File 'gems/aws-sdk-appmonetization/lib/aws-sdk-appmonetization/types.rb', line 3745 class Metric < Struct.new( :app_id, :metric_id, :name, :description, :event_type, :unit_name, :definition, :arn, :stage) SENSITIVE = [] include Aws::Structure end |
#definition ⇒ Types::MetricDefinition
The aggregation definition: filters, aggregation function, grouping, and period.
3745 3746 3747 3748 3749 3750 3751 3752 3753 3754 3755 3756 3757 |
# File 'gems/aws-sdk-appmonetization/lib/aws-sdk-appmonetization/types.rb', line 3745 class Metric < Struct.new( :app_id, :metric_id, :name, :description, :event_type, :unit_name, :definition, :arn, :stage) SENSITIVE = [] include Aws::Structure end |
#description ⇒ String
A description of what the metric measures.
3745 3746 3747 3748 3749 3750 3751 3752 3753 3754 3755 3756 3757 |
# File 'gems/aws-sdk-appmonetization/lib/aws-sdk-appmonetization/types.rb', line 3745 class Metric < Struct.new( :app_id, :metric_id, :name, :description, :event_type, :unit_name, :definition, :arn, :stage) SENSITIVE = [] include Aws::Structure end |
#event_type ⇒ String
The event type this metric aggregates.
3745 3746 3747 3748 3749 3750 3751 3752 3753 3754 3755 3756 3757 |
# File 'gems/aws-sdk-appmonetization/lib/aws-sdk-appmonetization/types.rb', line 3745 class Metric < Struct.new( :app_id, :metric_id, :name, :description, :event_type, :unit_name, :definition, :arn, :stage) SENSITIVE = [] include Aws::Structure end |
#metric_id ⇒ String
The ID of the metric. We assign this value when you create the metric; it is unique within the app. Treat it as opaque.
3745 3746 3747 3748 3749 3750 3751 3752 3753 3754 3755 3756 3757 |
# File 'gems/aws-sdk-appmonetization/lib/aws-sdk-appmonetization/types.rb', line 3745 class Metric < Struct.new( :app_id, :metric_id, :name, :description, :event_type, :unit_name, :definition, :arn, :stage) SENSITIVE = [] include Aws::Structure end |
#name ⇒ String
A human-readable display name for the metric.
3745 3746 3747 3748 3749 3750 3751 3752 3753 3754 3755 3756 3757 |
# File 'gems/aws-sdk-appmonetization/lib/aws-sdk-appmonetization/types.rb', line 3745 class Metric < Struct.new( :app_id, :metric_id, :name, :description, :event_type, :unit_name, :definition, :arn, :stage) SENSITIVE = [] include Aws::Structure end |
#stage ⇒ String
The offering stage this metric was read from: DRAFT or PUBLISHED. Present on metric reads; absent on write responses.
3745 3746 3747 3748 3749 3750 3751 3752 3753 3754 3755 3756 3757 |
# File 'gems/aws-sdk-appmonetization/lib/aws-sdk-appmonetization/types.rb', line 3745 class Metric < Struct.new( :app_id, :metric_id, :name, :description, :event_type, :unit_name, :definition, :arn, :stage) SENSITIVE = [] include Aws::Structure end |
#unit_name ⇒ String
The unit of measure for the metric.
3745 3746 3747 3748 3749 3750 3751 3752 3753 3754 3755 3756 3757 |
# File 'gems/aws-sdk-appmonetization/lib/aws-sdk-appmonetization/types.rb', line 3745 class Metric < Struct.new( :app_id, :metric_id, :name, :description, :event_type, :unit_name, :definition, :arn, :stage) SENSITIVE = [] include Aws::Structure end |