Class: Aws::AppMonetization::Types::AppQuota

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

Overview

A flat metric grant on a plan: a free allowance plus an optional overage policy for usage beyond it. The flat arm of AppQuotaConfig.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#included_quantity ⇒ Integer

The free allowance included with the plan for this metric.

Returns:

  • (Integer)


259
260
261
262
263
264
265
266
267
# File 'gems/aws-sdk-appmonetization/lib/aws-sdk-appmonetization/types.rb', line 259

class AppQuota < Struct.new(
  :included_quantity,
  :overage_policy,
  :overage_price,
  :tiered_overage,
  :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)


259
260
261
262
263
264
265
266
267
# File 'gems/aws-sdk-appmonetization/lib/aws-sdk-appmonetization/types.rb', line 259

class AppQuota < Struct.new(
  :included_quantity,
  :overage_policy,
  :overage_price,
  :tiered_overage,
  :max_quantity)
  SENSITIVE = []
  include Aws::Structure
end

#overage_policy ⇒ String

How usage beyond the included allowance is handled.

Returns:

  • (String)


259
260
261
262
263
264
265
266
267
# File 'gems/aws-sdk-appmonetization/lib/aws-sdk-appmonetization/types.rb', line 259

class AppQuota < Struct.new(
  :included_quantity,
  :overage_policy,
  :overage_price,
  :tiered_overage,
  :max_quantity)
  SENSITIVE = []
  include Aws::Structure
end

#overage_price ⇒ Types::Price

The per-unit price charged for usage beyond the included allowance under a fixed overage policy.

Returns:



259
260
261
262
263
264
265
266
267
# File 'gems/aws-sdk-appmonetization/lib/aws-sdk-appmonetization/types.rb', line 259

class AppQuota < Struct.new(
  :included_quantity,
  :overage_policy,
  :overage_price,
  :tiered_overage,
  :max_quantity)
  SENSITIVE = []
  include Aws::Structure
end

#tiered_overage ⇒ Types::TieredOverage

The tiered overage schedule applied to usage beyond the included allowance under a tiered overage policy.



259
260
261
262
263
264
265
266
267
# File 'gems/aws-sdk-appmonetization/lib/aws-sdk-appmonetization/types.rb', line 259

class AppQuota < Struct.new(
  :included_quantity,
  :overage_policy,
  :overage_price,
  :tiered_overage,
  :max_quantity)
  SENSITIVE = []
  include Aws::Structure
end