DimensionValues
¶
Source code in docs_src/capo_cost_explorer/types/dimension_values.py
key
instance-attribute
¶
key: NotRequired[Dimension]
The names of the metadata types that you can use to filter and group your results. For example, AZ returns a list of Availability Zones.
Not all dimensions are supported in each API. Refer to the documentation for each specific API to see what is supported.
LINKED_ACCOUNT_NAME and SERVICE_CODE can only be used in CostCategoryRule.
ANOMALY_TOTAL_IMPACT_ABSOLUTE and ANOMALY_TOTAL_IMPACT_PERCENTAGE can only be used in AnomalySubscriptions.
Use PRODUCT_ATTRIBUTE only as the Dimension in GetDimensionValues. To filter or group by product attributes, use the ProductAttributes field of Expression or the PRODUCT_ATTRIBUTE group type.
match_options
instance-attribute
¶
match_options: NotRequired[MatchOptions]
The match options that you can use to filter your results.
The supported MatchOptions values depend on the operation. Refer to the documentation for each specific API to see what is supported. For example, for Dimensions filters, GetCostAndUsage supports only EQUALS and CASE_SENSITIVE. Other match options are supported only by specific operations, such as cost category rules and anomaly subscriptions.
The default values for MatchOptions are EQUALS and CASE_SENSITIVE.