Skip to content

DimensionValues

Source code in docs_src/capo_cost_explorer/types/dimension_values.py
class DimensionValues(TypedDict, closed=True):
    key: NotRequired["capo_cost_explorer.types.dimension.Dimension"]
    """<p>The names of the metadata types that you can use to filter and group your results. For example, <code>AZ</code> returns a list of Availability Zones.</p> <p>Not all dimensions are supported in each API. Refer to the documentation for each specific API to see what is supported.</p> <p> <code>LINKED_ACCOUNT_NAME</code> and <code>SERVICE_CODE</code> can only be used in <a href="https://docs.aws.amazon.com/aws-cost-management/latest/APIReference/API_CostCategoryRule.html">CostCategoryRule</a>.</p> <p> <code>ANOMALY_TOTAL_IMPACT_ABSOLUTE</code> and <code>ANOMALY_TOTAL_IMPACT_PERCENTAGE</code> can only be used in <a href="https://docs.aws.amazon.com/aws-cost-management/latest/APIReference/API_AnomalySubscription.html">AnomalySubscriptions</a>.</p> <p>Use <code>PRODUCT_ATTRIBUTE</code> only as the <code>Dimension</code> in <code>GetDimensionValues</code>. To filter or group by product attributes, use the <code>ProductAttributes</code> field of <code>Expression</code> or the <code>PRODUCT_ATTRIBUTE</code> group type.</p>"""
    values: NotRequired["capo_cost_explorer.types.values.Values"]
    """<p>The metadata values that you can use to filter and group your results. You can use <code>GetDimensionValues</code> to find specific values.</p>"""
    match_options: NotRequired["capo_cost_explorer.types.match_options.MatchOptions"]
    """<p>The match options that you can use to filter your results.</p> <p>The supported <code>MatchOptions</code> values depend on the operation. Refer to the documentation for each specific API to see what is supported. For example, for <code>Dimensions</code> filters, <code>GetCostAndUsage</code> supports only <code>EQUALS</code> and <code>CASE_SENSITIVE</code>. Other match options are supported only by specific operations, such as cost category rules and anomaly subscriptions.</p> <p>The default values for <code>MatchOptions</code> are <code>EQUALS</code> and <code>CASE_SENSITIVE</code>.</p>"""

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.

values instance-attribute

values: NotRequired[Values]

The metadata values that you can use to filter and group your results. You can use GetDimensionValues to find specific values.