Class: Aws::AppMonetization::Types::CostInputs

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

Overview

Cost inputs beyond each action's unitCost. Couplings outside this group: margins sets the lowest credit-pack and overage price per unit; fixedMonthlyCost with market.expectedUsers sets the fixed cost per payer; HIGH confidence needs source LIVE or ACTUALS plus comparables in alternatives that agree.

Constant Summary collapse

SENSITIVE =
[:unknown, :fixed_monthly_cost, :margins]

Instance Attribute Summary collapse

Instance Attribute Details

#fixed_monthly_cost ⇒ Float

Fixed monthly cost to run the app in USD, including non-AWS fixed costs. Defaults to 0. It raises break-even (fixed cost per payer, with market.expectedUsers), so it can change the verdict and the price.

Returns:

  • (Float)


904
905
906
907
908
909
910
911
# File 'gems/aws-sdk-appmonetization/lib/aws-sdk-appmonetization/types.rb', line 904

class CostInputs < Struct.new(
  :source,
  :unknown,
  :fixed_monthly_cost,
  :margins)
  SENSITIVE = [:unknown, :fixed_monthly_cost, :margins]
  include Aws::Structure
end

#margins ⇒ Array<Float>

Margins the developer named, each in [0, 1). costs.coverPrices in the response shows the price that covers cost to serve at each margin above 0. The lowest margin also sets the lowest overage and credit-pack price per unit; order does not matter. With no value basis and no experiential estimate (see valueKind) the price is cost to serve at the lowest margin; omitted means a default margin of 0, labelled as a default, which prices at cost, the same as [0]. Omitted, or only 0: costs.coverPrices in the response is empty.

Returns:

  • (Array<Float>)


904
905
906
907
908
909
910
911
# File 'gems/aws-sdk-appmonetization/lib/aws-sdk-appmonetization/types.rb', line 904

class CostInputs < Struct.new(
  :source,
  :unknown,
  :fixed_monthly_cost,
  :margins)
  SENSITIVE = [:unknown, :fixed_monthly_cost, :margins]
  include Aws::Structure
end

#source ⇒ String

Where the cost figures came from. Required when any actions[].unitCost is 0. Absent: NONE when no action has unitCost, ESTIMATE when every action has it. ACTUALS, LIVE and ESTIMATE need unitCost on every action.

Returns:

  • (String)


904
905
906
907
908
909
910
911
# File 'gems/aws-sdk-appmonetization/lib/aws-sdk-appmonetization/types.rb', line 904

class CostInputs < Struct.new(
  :source,
  :unknown,
  :fixed_monthly_cost,
  :margins)
  SENSITIVE = [:unknown, :fixed_monthly_cost, :margins]
  include Aws::Structure
end

#unknown ⇒ Array<String>

Costs the developer knows exist but could not price, for example email provider. Omitted: the costs count as complete but unconfirmed, and the rendered text asks the developer to add any that are missing. Empty ([]): the developer confirmed there are no other costs. One or more items: the costs are incomplete, so costs.status in the response is INCOMPLETE and the confidence is LOW, and the rendered text names each item. With source NONE the items are only shown.

Returns:

  • (Array<String>)


904
905
906
907
908
909
910
911
# File 'gems/aws-sdk-appmonetization/lib/aws-sdk-appmonetization/types.rb', line 904

class CostInputs < Struct.new(
  :source,
  :unknown,
  :fixed_monthly_cost,
  :margins)
  SENSITIVE = [:unknown, :fixed_monthly_cost, :margins]
  include Aws::Structure
end