Class: Aws::AppMonetization::Types::AppTieredQuota

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

Overview

A metric grant priced by a tiered schedule (the tiered arm of AppQuotaConfig). The free allowance (includedQuantity) is set separately from the price schedule and may be 0 (tier-priced from the first charged unit). Carries no overage members: a tiered grant is priced by its tiers, never by an overage policy. See TieredPrice.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#included_quantity ⇒ Integer

The free allowance included with the plan for this metric. May be 0, in which case the metric is tier-priced from the first charged unit.

Returns:

  • (Integer)


329
330
331
332
333
334
335
# File 'gems/aws-sdk-appmonetization/lib/aws-sdk-appmonetization/types.rb', line 329

class AppTieredQuota < Struct.new(
  :included_quantity,
  :tiered_price,
  :max_quantity)
  SENSITIVE = []
  include Aws::Structure
end

#max_quantity ⇒ Integer

Usage at which further entitlement checks for this metric are denied, in whole units per billing period, counting the included allowance. Must be at least includedQuantity (equal is a hard stop at the allowance) and is allowed only on a grant that charges past its allowance. Checked at entitlement time against usage already recorded; one allowed action's quantity is not clamped. Prepaid usage-pack units sit outside it. One cap per billing period. Absent means no cap.

Returns:

  • (Integer)


329
330
331
332
333
334
335
# File 'gems/aws-sdk-appmonetization/lib/aws-sdk-appmonetization/types.rb', line 329

class AppTieredQuota < Struct.new(
  :included_quantity,
  :tiered_price,
  :max_quantity)
  SENSITIVE = []
  include Aws::Structure
end

#tiered_price ⇒ Types::TieredPrice

The tiered price schedule applied to charged usage for this metric.

Returns:



329
330
331
332
333
334
335
# File 'gems/aws-sdk-appmonetization/lib/aws-sdk-appmonetization/types.rb', line 329

class AppTieredQuota < Struct.new(
  :included_quantity,
  :tiered_price,
  :max_quantity)
  SENSITIVE = []
  include Aws::Structure
end