

# ThirdPartyCostItem

A seller-declared, non-AWS recurring cost for an app. A flat monthly charge that stands until the developer updates or removes it (no proration, no usage scaling).

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

 ** amount **   <a name="appmonetization-Type-ThirdPartyCostItem-amount"></a>
The flat monthly amount as a decimal string (for example, "12.50").  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 32.  
Pattern: `-?[0-9]+(\.[0-9]+)?`   
Required: Yes

 ** appId **   <a name="appmonetization-Type-ThirdPartyCostItem-appId"></a>
The ID of the app the cost belongs to.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 64.  
Pattern: `[A-Za-z0-9_-]+`   
Required: Yes

 ** costId **   <a name="appmonetization-Type-ThirdPartyCostItem-costId"></a>
The ID of the cost.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 64.  
Pattern: `[0-9a-z]{1,64}`   
Required: Yes

 ** createdAt **   <a name="appmonetization-Type-ThirdPartyCostItem-createdAt"></a>
The time the cost was created.  
Type: Timestamp  
Required: Yes

 ** currency **   <a name="appmonetization-Type-ThirdPartyCostItem-currency"></a>
The currency of the amount. USD is the only supported currency.  
Type: String  
Valid Values: `USD`   
Required: Yes

 ** frequency **   <a name="appmonetization-Type-ThirdPartyCostItem-frequency"></a>
How often the cost recurs. MONTHLY is the only value today.  
Type: String  
Valid Values: `MONTHLY`   
Required: Yes

 ** label **   <a name="appmonetization-Type-ThirdPartyCostItem-label"></a>
A human-readable label for the cost (for example, "Anthropic API").  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 128.  
Required: Yes

 ** updatedAt **   <a name="appmonetization-Type-ThirdPartyCostItem-updatedAt"></a>
The time the cost was last updated.  
Type: Timestamp  
Required: Yes

 ** description **   <a name="appmonetization-Type-ThirdPartyCostItem-description"></a>
A free-form description of the cost.  
Type: String  
Length Constraints: Minimum length of 0. Maximum length of 512.  
Required: No

 ** effectiveFrom **   <a name="appmonetization-Type-ThirdPartyCostItem-effectiveFrom"></a>
First month (YYYY-MM) the cost applies in. Absent means the cost has no start month.  
Type: String  
Length Constraints: Fixed length of 7.  
Pattern: `\d{4}-(0[1-9]|1[0-2])`   
Required: No

 ** effectiveTo **   <a name="appmonetization-Type-ThirdPartyCostItem-effectiveTo"></a>
Last month (YYYY-MM) the cost applies in. Absent means the cost has no end month.  
Type: String  
Length Constraints: Fixed length of 7.  
Pattern: `\d{4}-(0[1-9]|1[0-2])`   
Required: No

## See Also
<a name="API_ThirdPartyCostItem_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/ThirdPartyCostItem) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/appmonetization-2022-07-26/ThirdPartyCostItem) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/appmonetization-2022-07-26/ThirdPartyCostItem) 