Class: Aws::AppMonetization::Types::UpdateMetricRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::AppMonetization::Types::UpdateMetricRequest
- Defined in:
- gems/aws-sdk-appmonetization/lib/aws-sdk-appmonetization/types.rb
Overview
Input for UpdateMetric. This operation carries no scope selector: metric authoring always addresses the live app. The sandbox always runs the live app's draft, so its metrics are read-only through this API. Read them with GetMetric or ListMetrics using scope=sandbox or stage=DRAFT.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#app_id ⇒ String
The ID of the app.
-
#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 to update.
-
#name ⇒ String
A human-readable display name for the metric.
-
#unit_name ⇒ String
The unit of measure for the metric (for example, "requests"), in lowercase snake_case.
Instance Attribute Details
#app_id ⇒ String
The ID of the app.
5672 5673 5674 5675 5676 5677 5678 5679 5680 5681 5682 |
# File 'gems/aws-sdk-appmonetization/lib/aws-sdk-appmonetization/types.rb', line 5672 class UpdateMetricRequest < Struct.new( :app_id, :metric_id, :name, :description, :event_type, :unit_name, :definition) SENSITIVE = [] include Aws::Structure end |
#definition ⇒ Types::MetricDefinition
The aggregation definition: filters, aggregation function, grouping, and period.
5672 5673 5674 5675 5676 5677 5678 5679 5680 5681 5682 |
# File 'gems/aws-sdk-appmonetization/lib/aws-sdk-appmonetization/types.rb', line 5672 class UpdateMetricRequest < Struct.new( :app_id, :metric_id, :name, :description, :event_type, :unit_name, :definition) SENSITIVE = [] include Aws::Structure end |
#description ⇒ String
A description of what the metric measures.
5672 5673 5674 5675 5676 5677 5678 5679 5680 5681 5682 |
# File 'gems/aws-sdk-appmonetization/lib/aws-sdk-appmonetization/types.rb', line 5672 class UpdateMetricRequest < Struct.new( :app_id, :metric_id, :name, :description, :event_type, :unit_name, :definition) SENSITIVE = [] include Aws::Structure end |
#event_type ⇒ String
The event type this metric aggregates.
5672 5673 5674 5675 5676 5677 5678 5679 5680 5681 5682 |
# File 'gems/aws-sdk-appmonetization/lib/aws-sdk-appmonetization/types.rb', line 5672 class UpdateMetricRequest < Struct.new( :app_id, :metric_id, :name, :description, :event_type, :unit_name, :definition) SENSITIVE = [] include Aws::Structure end |
#metric_id ⇒ String
The ID of the metric to update.
5672 5673 5674 5675 5676 5677 5678 5679 5680 5681 5682 |
# File 'gems/aws-sdk-appmonetization/lib/aws-sdk-appmonetization/types.rb', line 5672 class UpdateMetricRequest < Struct.new( :app_id, :metric_id, :name, :description, :event_type, :unit_name, :definition) SENSITIVE = [] include Aws::Structure end |
#name ⇒ String
A human-readable display name for the metric.
5672 5673 5674 5675 5676 5677 5678 5679 5680 5681 5682 |
# File 'gems/aws-sdk-appmonetization/lib/aws-sdk-appmonetization/types.rb', line 5672 class UpdateMetricRequest < Struct.new( :app_id, :metric_id, :name, :description, :event_type, :unit_name, :definition) SENSITIVE = [] include Aws::Structure end |
#unit_name ⇒ String
The unit of measure for the metric (for example, "requests"), in lowercase snake_case.
5672 5673 5674 5675 5676 5677 5678 5679 5680 5681 5682 |
# File 'gems/aws-sdk-appmonetization/lib/aws-sdk-appmonetization/types.rb', line 5672 class UpdateMetricRequest < Struct.new( :app_id, :metric_id, :name, :description, :event_type, :unit_name, :definition) SENSITIVE = [] include Aws::Structure end |