Skip to content

CostInputs

Source code in docs_src/capo_appmonetization/types/cost_inputs.py
class CostInputs(TypedDict, closed=True):
    source: NotRequired["capo_appmonetization.types.cost_source.CostSource"]
    """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."""
    unknown: NotRequired["capo_appmonetization.types.unknown_cost_list.UnknownCostList"]
    """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."""
    fixed_monthly_cost: NotRequired["capo_appmonetization.types.cost_amount.CostAmount"]
    """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."""
    margins: NotRequired["capo_appmonetization.types.margin_list.MarginList"]
    """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."""

fixed_monthly_cost instance-attribute

fixed_monthly_cost: NotRequired[CostAmount]

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.

margins instance-attribute

margins: NotRequired[MarginList]

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.

source instance-attribute

source: NotRequired[CostSource]

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.

unknown instance-attribute

unknown: NotRequired[UnknownCostList]

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.