

# CostInputs

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.

## Contents
<a name="API_CostInputs_Contents"></a>

 ** fixedMonthlyCost **   <a name="appmonetization-Type-CostInputs-fixedMonthlyCost"></a>
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.  
Type: Double  
Valid Range: Minimum value of 0. Maximum value of 1000000.  
Required: No

 ** margins **   <a name="appmonetization-Type-CostInputs-margins"></a>
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.  
Type: Array of doubles  
Array Members: Minimum number of 0 items. Maximum number of 5 items.  
Valid Range: Minimum value of 0. Maximum value of 0.9999.  
Required: No

 ** source **   <a name="appmonetization-Type-CostInputs-source"></a>
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.  
Type: String  
Valid Values: `ACTUALS | LIVE | ESTIMATE | NONE`   
Required: No

 ** unknown **   <a name="appmonetization-Type-CostInputs-unknown"></a>
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.  
Type: Array of strings  
Array Members: Minimum number of 0 items. Maximum number of 10 items.  
Length Constraints: Minimum length of 1. Maximum length of 100.  
Pattern: `[^\p{C}<>]([^\p{C}<>]*[^\p{C}<>])?`   
Required: No

## See Also
<a name="API_CostInputs_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS SDK for C\+\+](https://docs.aws.amazon.com/goto/SdkForCpp/appmonetization-2022-07-26/CostInputs) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/appmonetization-2022-07-26/CostInputs) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/appmonetization-2022-07-26/CostInputs) 