Class: Aws::AppMonetization::Types::UpdateMetricRequest

Inherits:
Struct
  • Object
show all
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

Instance Attribute Details

#app_id ⇒ String

The ID of the app.

Returns:

  • (String)


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.

Returns:

  • (String)


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.

Returns:

  • (String)


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.

Returns:

  • (String)


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.

Returns:

  • (String)


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.

Returns:

  • (String)


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