ProductAttributeValues
¶
Source code in docs_src/capo_budgets/types/product_attribute_values.py
key
instance-attribute
¶
key: ProductAttributeName
The name of the product attribute to filter on. Valid values are the following:
-
feature– The feature that was used, such asOn-demand Inference. -
inferenceType– The type of inference usage, such asInput tokensorOutput tokens. -
model– The model, such asClaude Sonnet 5orClaude Haiku 4.5. -
provider– The model provider, such asAnthropic,Cohere, orAmazon.
Keys are case-sensitive.
match_options
instance-attribute
¶
match_options: NotRequired[MatchOptions]
The match options for the ProductAttributes filter. Valid values:
-
ABSENT– Matches costs that have no value for the attribute. -
CASE_SENSITIVE– Requires an exact case match. -
EQUALS– Matches costs where the attribute equals the specified value.
Specify either EQUALS or ABSENT. You can add CASE_SENSITIVE to EQUALS, but you can't use it by itself or with ABSENT.
values
instance-attribute
¶
values: NotRequired[Values]
The specific values of the product attribute, such as Claude Sonnet 5 for the model key. Values are matched exactly.
Values is required unless MatchOptions is ABSENT. To match costs that have no value for the key, set MatchOptions to ABSENT and omit Values.