Class: Aws::AppMonetization::Types::ArchiveMetricRequest

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

Overview

Input for ArchiveMetric. This operation carries no scope selector: metric authoring always addresses the live app. Metrics in the sandbox 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)


352
353
354
355
356
357
# File 'gems/aws-sdk-appmonetization/lib/aws-sdk-appmonetization/types.rb', line 352

class ArchiveMetricRequest < Struct.new(
  :app_id,
  :metric_id)
  SENSITIVE = []
  include Aws::Structure
end

#metric_id ⇒ String

The ID of the metric to archive.

Returns:

  • (String)


352
353
354
355
356
357
# File 'gems/aws-sdk-appmonetization/lib/aws-sdk-appmonetization/types.rb', line 352

class ArchiveMetricRequest < Struct.new(
  :app_id,
  :metric_id)
  SENSITIVE = []
  include Aws::Structure
end