PutThirdPartyCostRequest
¶
Source code in docs_src/capo_appmonetization/types/put_third_party_cost_request.py
amount
instance-attribute
¶
amount: CostValue
A flat monthly amount as a decimal string (for example, "12.50").
client_token
instance-attribute
¶
client_token: NotRequired[ClientToken]
AWS App Monetization does not use this value for this operation. To retry without creating a duplicate cost, pass the costId returned by the first call.
cost_id
instance-attribute
¶
cost_id: NotRequired[ThirdPartyCostId]
The ID of the cost. Omit it to create a new cost, or supply an existing cost ID to update that cost in place.
currency
instance-attribute
¶
currency: NotRequired[Currency]
The currency of the amount. Defaults to USD when omitted (USD is the only supported currency).
description
instance-attribute
¶
description: NotRequired[ThirdPartyCostDescription]
A free-form description of the cost.
effective_from
instance-attribute
¶
effective_from: NotRequired[ThirdPartyCostMonth]
First month (YYYY-MM) the cost applies in. Absent means the cost has no start month.
effective_to
instance-attribute
¶
effective_to: NotRequired[ThirdPartyCostMonth]
Last month (YYYY-MM) the cost applies in. Absent means the cost has no end month. When both are present, effectiveFrom must not be after effectiveTo.
frequency
instance-attribute
¶
frequency: NotRequired[ThirdPartyCostFrequency]
How often the cost recurs. MONTHLY is the only value today.
label
instance-attribute
¶
label: ThirdPartyCostLabel
A human-readable label for the cost (for example, "Anthropic API").