<a id="cli-aws-budgets-describe-budget-spend"></a>

# describe-budget-spend

## Description

Describes the spend of a budget for the budget’s current period. Use this operation with a budget that uses the `PublicOnDemandCost` or `EstimatedContractedCost` metric.

By default, the response has one row for each budget limit. If the budget has `BudgetLimitDimensions` , set `GroupBy` to the budget’s `SpendAttributions` key to get one row for each principal instead. Use `FilterExpression` to return only some principals. Rows are sorted by spend, from highest to lowest.

Results are paginated. Use the `NextToken` parameter to retrieve additional results.

See also: [AWS API Documentation](https://docs.aws.amazon.com/goto/WebAPI/budgets-2016-10-20/DescribeBudgetSpend)

`describe-budget-spend` is a paginated operation. Multiple API calls may be issued in order to retrieve the entire data set of results. You can disable pagination by providing the `--no-paginate` argument.
When using `--output text` and the `--query` argument on a paginated response, the `--query` argument must extract data from the results of the following query expressions: `SpendByGroup`

## Synopsis

```
  describe-budget-spend
--account-id <value>
--budget-name <value>
[--group-by <value>]
[--filter-expression <value>]
[--starting-token <value>]
[--page-size <value>]
[--max-items <value>]
[--cli-input-json | --cli-input-yaml]
[--generate-cli-skeleton <value>]
[--debug]
[--endpoint-url <value>]
[--no-verify-ssl]
[--no-paginate]
[--output <value>]
[--query <value>]
[--profile <value>]
[--region <value>]
[--version <value>]
[--color <value>]
[--no-sign-request]
[--ca-bundle <value>]
[--cli-read-timeout <value>]
[--cli-connect-timeout <value>]
[--cli-binary-format <value>]
[--no-cli-pager]
[--cli-auto-prompt]
[--no-cli-auto-prompt]
[--cli-error-format <value>]
[--help]
```

## Options

`--account-id` (string) [required]

> The `accountId` that is associated with the budget.

> Constraints:

> * min: `12`
> * max: `12`
> * pattern: `\d{12}`

`--budget-name` (string) [required]

> The name of the budget whose spend you want to describe.

> Constraints:

> * min: `1`
> * max: `100`
> * pattern: `^(?![^:\\]*/action/|(?i).*<script>.*</script>.*)[^:\\]+$`

`--group-by` (list)

> How to group the spend. You can specify no entry or one entry. To get one row for each principal, specify one `DIMENSION` entry whose key is the budget’s `SpendAttributions` value. If you don’t specify `GroupBy` , the response uses the budget’s `BudgetLimitDimensions` .

> Constraints:

> * min: `0`
> * max: `2`

> (structure)

> > How to group the spend of a budget. A group definition has the same shape as the group definition of the Cost Explorer `GetCostAndUsage` operation.

> > Type -> (string) [required]

> > > The type of the group. The only valid value is `DIMENSION` .

> > > Possible values:

> > > * `DIMENSION`

> > Key -> (string) [required]

> > > The key to group by. The key must be the same value as the budget’s `SpendAttributions` . Valid values are `IDENTITY_CENTER_USER` and `IAM_PRINCIPAL` .

> > > Constraints:

> > > * min: `1`
> > > * max: `1024`

Shorthand Syntax:

```
Type=string,Key=string ...
```

JSON Syntax:

```json
[
  {
    "Type": "DIMENSION",
    "Key": "string"
  }
  ...
]
```

`--filter-expression` (structure)

> The principals to return spend for. Specify one `Dimensions` clause whose key is the budget’s `SpendAttributions` value, with the `EQUALS` match option and 1 to 20 principal IDs. If you don’t specify `FilterExpression` , Amazon Web Services Budgets returns spend for every principal that has spend in the budget.

> Or -> (list)

> > Return results that match either Dimension object.

> > (structure)

> > > Use Expression to filter in various Budgets APIs.

> > > Or -> (list)

> > > > Return results that match either Dimension object.

> > > > ( … recursive … )

> > > And -> (list)

> > > > Return results that match both Dimension objects.

> > > > ( … recursive … )

> > > ( … recursive … )Dimensions -> (structure)

> > > > The specific Dimension to use for Expression.

> > > > Key -> (string) [required]

> > > > > The name of the dimension that you want to filter on.

> > > > > Possible values:

> > > > > * `AZ`
> > > > > * `INSTANCE_TYPE`
> > > > > * `LINKED_ACCOUNT`
> > > > > * `LINKED_ACCOUNT_NAME`
> > > > > * `OPERATION`
> > > > > * `PURCHASE_TYPE`
> > > > > * `REGION`
> > > > > * `IDENTITY_CENTER_USER`
> > > > > * `IDENTITY_CENTER_GROUP`
> > > > > * `IAM_PRINCIPAL`
> > > > > * `SERVICE`
> > > > > * `SERVICE_CODE`
> > > > > * `USAGE_TYPE`
> > > > > * `USAGE_TYPE_GROUP`
> > > > > * `RECORD_TYPE`
> > > > > * `OPERATING_SYSTEM`
> > > > > * `TENANCY`
> > > > > * `SCOPE`
> > > > > * `PLATFORM`
> > > > > * `SUBSCRIPTION_ID`
> > > > > * `LEGAL_ENTITY_NAME`
> > > > > * `INVOICING_ENTITY`
> > > > > * `DEPLOYMENT_OPTION`
> > > > > * `DATABASE_ENGINE`
> > > > > * `CACHE_ENGINE`
> > > > > * `INSTANCE_TYPE_FAMILY`
> > > > > * `BILLING_ENTITY`
> > > > > * `RESERVATION_ID`
> > > > > * `RESOURCE_ID`
> > > > > * `RIGHTSIZING_TYPE`
> > > > > * `SAVINGS_PLANS_TYPE`
> > > > > * `SAVINGS_PLAN_ARN`
> > > > > * `PAYMENT_OPTION`
> > > > > * `RESERVATION_MODIFIED`
> > > > > * `TAG_KEY`
> > > > > * `COST_CATEGORY_NAME`

> > > > Values -> (list) [required]

> > > > > The metadata values you can specify to filter upon, so that the results all match at least one of the specified values.

> > > > > Constraints:

> > > > > * min: `1`

> > > > > (string)

> > > > > > Constraints:

> > > > > > * min: `0`
> > > > > > * max: `1024`
> > > > > > * pattern: `[\S\s]*`

> > > > MatchOptions -> (list)

> > > > > The match options that you can use to filter your results. You can specify only one of these values in the array.

> > > > > (string)

> > > > > > Possible values:

> > > > > > * `EQUALS`
> > > > > > * `ABSENT`
> > > > > > * `STARTS_WITH`
> > > > > > * `ENDS_WITH`
> > > > > > * `CONTAINS`
> > > > > > * `GREATER_THAN_OR_EQUAL`
> > > > > > * `CASE_SENSITIVE`
> > > > > > * `CASE_INSENSITIVE`

> > > IdentityCenterAttributes -> (structure)

> > > > The filter that limits results based on the attributes of IAM Identity Center users.

> > > > Key -> (string) [required]

> > > > > The name of the Identity Center user attribute to filter on. Valid values are `organization` , `division` , `department` , and `costCenter` .

> > > > > Possible values:

> > > > > * `organization`
> > > > > * `division`
> > > > > * `department`
> > > > > * `costCenter`

> > > > Values -> (list)

> > > > > The specific values of the Identity Center user attribute. You can specify 1 to 200 values. Each value is 1 to 1,024 characters long and can’t contain control characters.

> > > > > Constraints:

> > > > > * min: `1`
> > > > > * max: `200`

> > > > > (string)

> > > > > > The value of an IAM Identity Center user attribute.

> > > > > > Constraints:

> > > > > > * min: `1`
> > > > > > * max: `1024`
> > > > > > * pattern: `[^\p{Cntrl}\r\n]*`

> > > > MatchOptions -> (list)

> > > > > The match options that you can use to filter your results.

> > > > > (string)

> > > > > > Possible values:

> > > > > > * `EQUALS`
> > > > > > * `ABSENT`
> > > > > > * `STARTS_WITH`
> > > > > > * `ENDS_WITH`
> > > > > > * `CONTAINS`
> > > > > > * `GREATER_THAN_OR_EQUAL`
> > > > > > * `CASE_SENSITIVE`
> > > > > > * `CASE_INSENSITIVE`

> > > Tags -> (structure)

> > > > The specific Tag to use for Expression.

> > > > Key -> (string)

> > > > > The key for the tag.

> > > > > Constraints:

> > > > > * min: `0`
> > > > > * max: `1024`
> > > > > * pattern: `[\S\s]*`

> > > > Values -> (list)

> > > > > The specific value of the tag.

> > > > > Constraints:

> > > > > * min: `1`

> > > > > (string)

> > > > > > Constraints:

> > > > > > * min: `0`
> > > > > > * max: `1024`
> > > > > > * pattern: `[\S\s]*`

> > > > MatchOptions -> (list)

> > > > > The match options that you can use to filter your results.

> > > > > (string)

> > > > > > Possible values:

> > > > > > * `EQUALS`
> > > > > > * `ABSENT`
> > > > > > * `STARTS_WITH`
> > > > > > * `ENDS_WITH`
> > > > > > * `CONTAINS`
> > > > > > * `GREATER_THAN_OR_EQUAL`
> > > > > > * `CASE_SENSITIVE`
> > > > > > * `CASE_INSENSITIVE`

> > > CostCategories -> (structure)

> > > > The filter that’s based on CostCategoryValues.

> > > > Key -> (string)

> > > > > The unique name of the cost category.

> > > > Values -> (list)

> > > > > The specific value of the cost category.

> > > > > Constraints:

> > > > > * min: `1`

> > > > > (string)

> > > > > > Constraints:

> > > > > > * min: `0`
> > > > > > * max: `1024`
> > > > > > * pattern: `[\S\s]*`

> > > > MatchOptions -> (list)

> > > > > The match options that you can use to filter your results.

> > > > > (string)

> > > > > > Possible values:

> > > > > > * `EQUALS`
> > > > > > * `ABSENT`
> > > > > > * `STARTS_WITH`
> > > > > > * `ENDS_WITH`
> > > > > > * `CONTAINS`
> > > > > > * `GREATER_THAN_OR_EQUAL`
> > > > > > * `CASE_SENSITIVE`
> > > > > > * `CASE_INSENSITIVE`

> > > ProductAttributes -> (structure)

> > > > The filter that limits results based on the values of specific product attributes.

> > > > Key -> (string) [required]

> > > > > The name of the product attribute to filter on. Valid values are the following:

> > > > > * `feature` – The feature that was used, such as `On-demand Inference` .
> > > > > * `inferenceType` – The type of inference usage, such as `Input tokens` or `Output tokens` .
> > > > > * `model` – The model, such as `Claude Sonnet 5` or `Claude Haiku 4.5` .
> > > > > * `provider` – The model provider, such as `Anthropic` , `Cohere` , or `Amazon` .

> > > > > Keys are case-sensitive.

> > > > > Constraints:

> > > > > * min: `0`
> > > > > * max: `1024`
> > > > > * pattern: `[\S\s]*`

> > > > Values -> (list)

> > > > > 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` .

> > > > > Constraints:

> > > > > * min: `1`

> > > > > (string)

> > > > > > Constraints:

> > > > > > * min: `0`
> > > > > > * max: `1024`
> > > > > > * pattern: `[\S\s]*`

> > > > MatchOptions -> (list)

> > > > > 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` .

> > > > > (string)

> > > > > > Possible values:

> > > > > > * `EQUALS`
> > > > > > * `ABSENT`
> > > > > > * `STARTS_WITH`
> > > > > > * `ENDS_WITH`
> > > > > > * `CONTAINS`
> > > > > > * `GREATER_THAN_OR_EQUAL`
> > > > > > * `CASE_SENSITIVE`
> > > > > > * `CASE_INSENSITIVE`

> And -> (list)

> > Return results that match both Dimension objects.

> > (structure)

> > > Use Expression to filter in various Budgets APIs.

> > > Or -> (list)

> > > > Return results that match either Dimension object.

> > > > ( … recursive … )

> > > And -> (list)

> > > > Return results that match both Dimension objects.

> > > > ( … recursive … )

> > > ( … recursive … )Dimensions -> (structure)

> > > > The specific Dimension to use for Expression.

> > > > Key -> (string) [required]

> > > > > The name of the dimension that you want to filter on.

> > > > > Possible values:

> > > > > * `AZ`
> > > > > * `INSTANCE_TYPE`
> > > > > * `LINKED_ACCOUNT`
> > > > > * `LINKED_ACCOUNT_NAME`
> > > > > * `OPERATION`
> > > > > * `PURCHASE_TYPE`
> > > > > * `REGION`
> > > > > * `IDENTITY_CENTER_USER`
> > > > > * `IDENTITY_CENTER_GROUP`
> > > > > * `IAM_PRINCIPAL`
> > > > > * `SERVICE`
> > > > > * `SERVICE_CODE`
> > > > > * `USAGE_TYPE`
> > > > > * `USAGE_TYPE_GROUP`
> > > > > * `RECORD_TYPE`
> > > > > * `OPERATING_SYSTEM`
> > > > > * `TENANCY`
> > > > > * `SCOPE`
> > > > > * `PLATFORM`
> > > > > * `SUBSCRIPTION_ID`
> > > > > * `LEGAL_ENTITY_NAME`
> > > > > * `INVOICING_ENTITY`
> > > > > * `DEPLOYMENT_OPTION`
> > > > > * `DATABASE_ENGINE`
> > > > > * `CACHE_ENGINE`
> > > > > * `INSTANCE_TYPE_FAMILY`
> > > > > * `BILLING_ENTITY`
> > > > > * `RESERVATION_ID`
> > > > > * `RESOURCE_ID`
> > > > > * `RIGHTSIZING_TYPE`
> > > > > * `SAVINGS_PLANS_TYPE`
> > > > > * `SAVINGS_PLAN_ARN`
> > > > > * `PAYMENT_OPTION`
> > > > > * `RESERVATION_MODIFIED`
> > > > > * `TAG_KEY`
> > > > > * `COST_CATEGORY_NAME`

> > > > Values -> (list) [required]

> > > > > The metadata values you can specify to filter upon, so that the results all match at least one of the specified values.

> > > > > Constraints:

> > > > > * min: `1`

> > > > > (string)

> > > > > > Constraints:

> > > > > > * min: `0`
> > > > > > * max: `1024`
> > > > > > * pattern: `[\S\s]*`

> > > > MatchOptions -> (list)

> > > > > The match options that you can use to filter your results. You can specify only one of these values in the array.

> > > > > (string)

> > > > > > Possible values:

> > > > > > * `EQUALS`
> > > > > > * `ABSENT`
> > > > > > * `STARTS_WITH`
> > > > > > * `ENDS_WITH`
> > > > > > * `CONTAINS`
> > > > > > * `GREATER_THAN_OR_EQUAL`
> > > > > > * `CASE_SENSITIVE`
> > > > > > * `CASE_INSENSITIVE`

> > > IdentityCenterAttributes -> (structure)

> > > > The filter that limits results based on the attributes of IAM Identity Center users.

> > > > Key -> (string) [required]

> > > > > The name of the Identity Center user attribute to filter on. Valid values are `organization` , `division` , `department` , and `costCenter` .

> > > > > Possible values:

> > > > > * `organization`
> > > > > * `division`
> > > > > * `department`
> > > > > * `costCenter`

> > > > Values -> (list)

> > > > > The specific values of the Identity Center user attribute. You can specify 1 to 200 values. Each value is 1 to 1,024 characters long and can’t contain control characters.

> > > > > Constraints:

> > > > > * min: `1`
> > > > > * max: `200`

> > > > > (string)

> > > > > > The value of an IAM Identity Center user attribute.

> > > > > > Constraints:

> > > > > > * min: `1`
> > > > > > * max: `1024`
> > > > > > * pattern: `[^\p{Cntrl}\r\n]*`

> > > > MatchOptions -> (list)

> > > > > The match options that you can use to filter your results.

> > > > > (string)

> > > > > > Possible values:

> > > > > > * `EQUALS`
> > > > > > * `ABSENT`
> > > > > > * `STARTS_WITH`
> > > > > > * `ENDS_WITH`
> > > > > > * `CONTAINS`
> > > > > > * `GREATER_THAN_OR_EQUAL`
> > > > > > * `CASE_SENSITIVE`
> > > > > > * `CASE_INSENSITIVE`

> > > Tags -> (structure)

> > > > The specific Tag to use for Expression.

> > > > Key -> (string)

> > > > > The key for the tag.

> > > > > Constraints:

> > > > > * min: `0`
> > > > > * max: `1024`
> > > > > * pattern: `[\S\s]*`

> > > > Values -> (list)

> > > > > The specific value of the tag.

> > > > > Constraints:

> > > > > * min: `1`

> > > > > (string)

> > > > > > Constraints:

> > > > > > * min: `0`
> > > > > > * max: `1024`
> > > > > > * pattern: `[\S\s]*`

> > > > MatchOptions -> (list)

> > > > > The match options that you can use to filter your results.

> > > > > (string)

> > > > > > Possible values:

> > > > > > * `EQUALS`
> > > > > > * `ABSENT`
> > > > > > * `STARTS_WITH`
> > > > > > * `ENDS_WITH`
> > > > > > * `CONTAINS`
> > > > > > * `GREATER_THAN_OR_EQUAL`
> > > > > > * `CASE_SENSITIVE`
> > > > > > * `CASE_INSENSITIVE`

> > > CostCategories -> (structure)

> > > > The filter that’s based on CostCategoryValues.

> > > > Key -> (string)

> > > > > The unique name of the cost category.

> > > > Values -> (list)

> > > > > The specific value of the cost category.

> > > > > Constraints:

> > > > > * min: `1`

> > > > > (string)

> > > > > > Constraints:

> > > > > > * min: `0`
> > > > > > * max: `1024`
> > > > > > * pattern: `[\S\s]*`

> > > > MatchOptions -> (list)

> > > > > The match options that you can use to filter your results.

> > > > > (string)

> > > > > > Possible values:

> > > > > > * `EQUALS`
> > > > > > * `ABSENT`
> > > > > > * `STARTS_WITH`
> > > > > > * `ENDS_WITH`
> > > > > > * `CONTAINS`
> > > > > > * `GREATER_THAN_OR_EQUAL`
> > > > > > * `CASE_SENSITIVE`
> > > > > > * `CASE_INSENSITIVE`

> > > ProductAttributes -> (structure)

> > > > The filter that limits results based on the values of specific product attributes.

> > > > Key -> (string) [required]

> > > > > The name of the product attribute to filter on. Valid values are the following:

> > > > > * `feature` – The feature that was used, such as `On-demand Inference` .
> > > > > * `inferenceType` – The type of inference usage, such as `Input tokens` or `Output tokens` .
> > > > > * `model` – The model, such as `Claude Sonnet 5` or `Claude Haiku 4.5` .
> > > > > * `provider` – The model provider, such as `Anthropic` , `Cohere` , or `Amazon` .

> > > > > Keys are case-sensitive.

> > > > > Constraints:

> > > > > * min: `0`
> > > > > * max: `1024`
> > > > > * pattern: `[\S\s]*`

> > > > Values -> (list)

> > > > > 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` .

> > > > > Constraints:

> > > > > * min: `1`

> > > > > (string)

> > > > > > Constraints:

> > > > > > * min: `0`
> > > > > > * max: `1024`
> > > > > > * pattern: `[\S\s]*`

> > > > MatchOptions -> (list)

> > > > > 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` .

> > > > > (string)

> > > > > > Possible values:

> > > > > > * `EQUALS`
> > > > > > * `ABSENT`
> > > > > > * `STARTS_WITH`
> > > > > > * `ENDS_WITH`
> > > > > > * `CONTAINS`
> > > > > > * `GREATER_THAN_OR_EQUAL`
> > > > > > * `CASE_SENSITIVE`
> > > > > > * `CASE_INSENSITIVE`

> Not -> (structure)

> > Return results that don’t match a Dimension object.

> > Or -> (list)

> > > Return results that match either Dimension object.

> > > ( … recursive … )

> > And -> (list)

> > > Return results that match both Dimension objects.

> > > ( … recursive … )

> > ( … recursive … )Dimensions -> (structure)

> > > The specific Dimension to use for Expression.

> > > Key -> (string) [required]

> > > > The name of the dimension that you want to filter on.

> > > > Possible values:

> > > > * `AZ`
> > > > * `INSTANCE_TYPE`
> > > > * `LINKED_ACCOUNT`
> > > > * `LINKED_ACCOUNT_NAME`
> > > > * `OPERATION`
> > > > * `PURCHASE_TYPE`
> > > > * `REGION`
> > > > * `IDENTITY_CENTER_USER`
> > > > * `IDENTITY_CENTER_GROUP`
> > > > * `IAM_PRINCIPAL`
> > > > * `SERVICE`
> > > > * `SERVICE_CODE`
> > > > * `USAGE_TYPE`
> > > > * `USAGE_TYPE_GROUP`
> > > > * `RECORD_TYPE`
> > > > * `OPERATING_SYSTEM`
> > > > * `TENANCY`
> > > > * `SCOPE`
> > > > * `PLATFORM`
> > > > * `SUBSCRIPTION_ID`
> > > > * `LEGAL_ENTITY_NAME`
> > > > * `INVOICING_ENTITY`
> > > > * `DEPLOYMENT_OPTION`
> > > > * `DATABASE_ENGINE`
> > > > * `CACHE_ENGINE`
> > > > * `INSTANCE_TYPE_FAMILY`
> > > > * `BILLING_ENTITY`
> > > > * `RESERVATION_ID`
> > > > * `RESOURCE_ID`
> > > > * `RIGHTSIZING_TYPE`
> > > > * `SAVINGS_PLANS_TYPE`
> > > > * `SAVINGS_PLAN_ARN`
> > > > * `PAYMENT_OPTION`
> > > > * `RESERVATION_MODIFIED`
> > > > * `TAG_KEY`
> > > > * `COST_CATEGORY_NAME`

> > > Values -> (list) [required]

> > > > The metadata values you can specify to filter upon, so that the results all match at least one of the specified values.

> > > > Constraints:

> > > > * min: `1`

> > > > (string)

> > > > > Constraints:

> > > > > * min: `0`
> > > > > * max: `1024`
> > > > > * pattern: `[\S\s]*`

> > > MatchOptions -> (list)

> > > > The match options that you can use to filter your results. You can specify only one of these values in the array.

> > > > (string)

> > > > > Possible values:

> > > > > * `EQUALS`
> > > > > * `ABSENT`
> > > > > * `STARTS_WITH`
> > > > > * `ENDS_WITH`
> > > > > * `CONTAINS`
> > > > > * `GREATER_THAN_OR_EQUAL`
> > > > > * `CASE_SENSITIVE`
> > > > > * `CASE_INSENSITIVE`

> > IdentityCenterAttributes -> (structure)

> > > The filter that limits results based on the attributes of IAM Identity Center users.

> > > Key -> (string) [required]

> > > > The name of the Identity Center user attribute to filter on. Valid values are `organization` , `division` , `department` , and `costCenter` .

> > > > Possible values:

> > > > * `organization`
> > > > * `division`
> > > > * `department`
> > > > * `costCenter`

> > > Values -> (list)

> > > > The specific values of the Identity Center user attribute. You can specify 1 to 200 values. Each value is 1 to 1,024 characters long and can’t contain control characters.

> > > > Constraints:

> > > > * min: `1`
> > > > * max: `200`

> > > > (string)

> > > > > The value of an IAM Identity Center user attribute.

> > > > > Constraints:

> > > > > * min: `1`
> > > > > * max: `1024`
> > > > > * pattern: `[^\p{Cntrl}\r\n]*`

> > > MatchOptions -> (list)

> > > > The match options that you can use to filter your results.

> > > > (string)

> > > > > Possible values:

> > > > > * `EQUALS`
> > > > > * `ABSENT`
> > > > > * `STARTS_WITH`
> > > > > * `ENDS_WITH`
> > > > > * `CONTAINS`
> > > > > * `GREATER_THAN_OR_EQUAL`
> > > > > * `CASE_SENSITIVE`
> > > > > * `CASE_INSENSITIVE`

> > Tags -> (structure)

> > > The specific Tag to use for Expression.

> > > Key -> (string)

> > > > The key for the tag.

> > > > Constraints:

> > > > * min: `0`
> > > > * max: `1024`
> > > > * pattern: `[\S\s]*`

> > > Values -> (list)

> > > > The specific value of the tag.

> > > > Constraints:

> > > > * min: `1`

> > > > (string)

> > > > > Constraints:

> > > > > * min: `0`
> > > > > * max: `1024`
> > > > > * pattern: `[\S\s]*`

> > > MatchOptions -> (list)

> > > > The match options that you can use to filter your results.

> > > > (string)

> > > > > Possible values:

> > > > > * `EQUALS`
> > > > > * `ABSENT`
> > > > > * `STARTS_WITH`
> > > > > * `ENDS_WITH`
> > > > > * `CONTAINS`
> > > > > * `GREATER_THAN_OR_EQUAL`
> > > > > * `CASE_SENSITIVE`
> > > > > * `CASE_INSENSITIVE`

> > CostCategories -> (structure)

> > > The filter that’s based on CostCategoryValues.

> > > Key -> (string)

> > > > The unique name of the cost category.

> > > Values -> (list)

> > > > The specific value of the cost category.

> > > > Constraints:

> > > > * min: `1`

> > > > (string)

> > > > > Constraints:

> > > > > * min: `0`
> > > > > * max: `1024`
> > > > > * pattern: `[\S\s]*`

> > > MatchOptions -> (list)

> > > > The match options that you can use to filter your results.

> > > > (string)

> > > > > Possible values:

> > > > > * `EQUALS`
> > > > > * `ABSENT`
> > > > > * `STARTS_WITH`
> > > > > * `ENDS_WITH`
> > > > > * `CONTAINS`
> > > > > * `GREATER_THAN_OR_EQUAL`
> > > > > * `CASE_SENSITIVE`
> > > > > * `CASE_INSENSITIVE`

> > ProductAttributes -> (structure)

> > > The filter that limits results based on the values of specific product attributes.

> > > Key -> (string) [required]

> > > > The name of the product attribute to filter on. Valid values are the following:

> > > > * `feature` – The feature that was used, such as `On-demand Inference` .
> > > > * `inferenceType` – The type of inference usage, such as `Input tokens` or `Output tokens` .
> > > > * `model` – The model, such as `Claude Sonnet 5` or `Claude Haiku 4.5` .
> > > > * `provider` – The model provider, such as `Anthropic` , `Cohere` , or `Amazon` .

> > > > Keys are case-sensitive.

> > > > Constraints:

> > > > * min: `0`
> > > > * max: `1024`
> > > > * pattern: `[\S\s]*`

> > > Values -> (list)

> > > > 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` .

> > > > Constraints:

> > > > * min: `1`

> > > > (string)

> > > > > Constraints:

> > > > > * min: `0`
> > > > > * max: `1024`
> > > > > * pattern: `[\S\s]*`

> > > MatchOptions -> (list)

> > > > 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` .

> > > > (string)

> > > > > Possible values:

> > > > > * `EQUALS`
> > > > > * `ABSENT`
> > > > > * `STARTS_WITH`
> > > > > * `ENDS_WITH`
> > > > > * `CONTAINS`
> > > > > * `GREATER_THAN_OR_EQUAL`
> > > > > * `CASE_SENSITIVE`
> > > > > * `CASE_INSENSITIVE`

> Dimensions -> (structure)

> > The specific Dimension to use for Expression.

> > Key -> (string) [required]

> > > The name of the dimension that you want to filter on.

> > > Possible values:

> > > * `AZ`
> > > * `INSTANCE_TYPE`
> > > * `LINKED_ACCOUNT`
> > > * `LINKED_ACCOUNT_NAME`
> > > * `OPERATION`
> > > * `PURCHASE_TYPE`
> > > * `REGION`
> > > * `IDENTITY_CENTER_USER`
> > > * `IDENTITY_CENTER_GROUP`
> > > * `IAM_PRINCIPAL`
> > > * `SERVICE`
> > > * `SERVICE_CODE`
> > > * `USAGE_TYPE`
> > > * `USAGE_TYPE_GROUP`
> > > * `RECORD_TYPE`
> > > * `OPERATING_SYSTEM`
> > > * `TENANCY`
> > > * `SCOPE`
> > > * `PLATFORM`
> > > * `SUBSCRIPTION_ID`
> > > * `LEGAL_ENTITY_NAME`
> > > * `INVOICING_ENTITY`
> > > * `DEPLOYMENT_OPTION`
> > > * `DATABASE_ENGINE`
> > > * `CACHE_ENGINE`
> > > * `INSTANCE_TYPE_FAMILY`
> > > * `BILLING_ENTITY`
> > > * `RESERVATION_ID`
> > > * `RESOURCE_ID`
> > > * `RIGHTSIZING_TYPE`
> > > * `SAVINGS_PLANS_TYPE`
> > > * `SAVINGS_PLAN_ARN`
> > > * `PAYMENT_OPTION`
> > > * `RESERVATION_MODIFIED`
> > > * `TAG_KEY`
> > > * `COST_CATEGORY_NAME`

> > Values -> (list) [required]

> > > The metadata values you can specify to filter upon, so that the results all match at least one of the specified values.

> > > Constraints:

> > > * min: `1`

> > > (string)

> > > > Constraints:

> > > > * min: `0`
> > > > * max: `1024`
> > > > * pattern: `[\S\s]*`

> > MatchOptions -> (list)

> > > The match options that you can use to filter your results. You can specify only one of these values in the array.

> > > (string)

> > > > Possible values:

> > > > * `EQUALS`
> > > > * `ABSENT`
> > > > * `STARTS_WITH`
> > > > * `ENDS_WITH`
> > > > * `CONTAINS`
> > > > * `GREATER_THAN_OR_EQUAL`
> > > > * `CASE_SENSITIVE`
> > > > * `CASE_INSENSITIVE`

> IdentityCenterAttributes -> (structure)

> > The filter that limits results based on the attributes of IAM Identity Center users.

> > Key -> (string) [required]

> > > The name of the Identity Center user attribute to filter on. Valid values are `organization` , `division` , `department` , and `costCenter` .

> > > Possible values:

> > > * `organization`
> > > * `division`
> > > * `department`
> > > * `costCenter`

> > Values -> (list)

> > > The specific values of the Identity Center user attribute. You can specify 1 to 200 values. Each value is 1 to 1,024 characters long and can’t contain control characters.

> > > Constraints:

> > > * min: `1`
> > > * max: `200`

> > > (string)

> > > > The value of an IAM Identity Center user attribute.

> > > > Constraints:

> > > > * min: `1`
> > > > * max: `1024`
> > > > * pattern: `[^\p{Cntrl}\r\n]*`

> > MatchOptions -> (list)

> > > The match options that you can use to filter your results.

> > > (string)

> > > > Possible values:

> > > > * `EQUALS`
> > > > * `ABSENT`
> > > > * `STARTS_WITH`
> > > > * `ENDS_WITH`
> > > > * `CONTAINS`
> > > > * `GREATER_THAN_OR_EQUAL`
> > > > * `CASE_SENSITIVE`
> > > > * `CASE_INSENSITIVE`

> Tags -> (structure)

> > The specific Tag to use for Expression.

> > Key -> (string)

> > > The key for the tag.

> > > Constraints:

> > > * min: `0`
> > > * max: `1024`
> > > * pattern: `[\S\s]*`

> > Values -> (list)

> > > The specific value of the tag.

> > > Constraints:

> > > * min: `1`

> > > (string)

> > > > Constraints:

> > > > * min: `0`
> > > > * max: `1024`
> > > > * pattern: `[\S\s]*`

> > MatchOptions -> (list)

> > > The match options that you can use to filter your results.

> > > (string)

> > > > Possible values:

> > > > * `EQUALS`
> > > > * `ABSENT`
> > > > * `STARTS_WITH`
> > > > * `ENDS_WITH`
> > > > * `CONTAINS`
> > > > * `GREATER_THAN_OR_EQUAL`
> > > > * `CASE_SENSITIVE`
> > > > * `CASE_INSENSITIVE`

> CostCategories -> (structure)

> > The filter that’s based on CostCategoryValues.

> > Key -> (string)

> > > The unique name of the cost category.

> > Values -> (list)

> > > The specific value of the cost category.

> > > Constraints:

> > > * min: `1`

> > > (string)

> > > > Constraints:

> > > > * min: `0`
> > > > * max: `1024`
> > > > * pattern: `[\S\s]*`

> > MatchOptions -> (list)

> > > The match options that you can use to filter your results.

> > > (string)

> > > > Possible values:

> > > > * `EQUALS`
> > > > * `ABSENT`
> > > > * `STARTS_WITH`
> > > > * `ENDS_WITH`
> > > > * `CONTAINS`
> > > > * `GREATER_THAN_OR_EQUAL`
> > > > * `CASE_SENSITIVE`
> > > > * `CASE_INSENSITIVE`

> ProductAttributes -> (structure)

> > The filter that limits results based on the values of specific product attributes.

> > Key -> (string) [required]

> > > The name of the product attribute to filter on. Valid values are the following:

> > > * `feature` – The feature that was used, such as `On-demand Inference` .
> > > * `inferenceType` – The type of inference usage, such as `Input tokens` or `Output tokens` .
> > > * `model` – The model, such as `Claude Sonnet 5` or `Claude Haiku 4.5` .
> > > * `provider` – The model provider, such as `Anthropic` , `Cohere` , or `Amazon` .

> > > Keys are case-sensitive.

> > > Constraints:

> > > * min: `0`
> > > * max: `1024`
> > > * pattern: `[\S\s]*`

> > Values -> (list)

> > > 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` .

> > > Constraints:

> > > * min: `1`

> > > (string)

> > > > Constraints:

> > > > * min: `0`
> > > > * max: `1024`
> > > > * pattern: `[\S\s]*`

> > MatchOptions -> (list)

> > > 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` .

> > > (string)

> > > > Possible values:

> > > > * `EQUALS`
> > > > * `ABSENT`
> > > > * `STARTS_WITH`
> > > > * `ENDS_WITH`
> > > > * `CONTAINS`
> > > > * `GREATER_THAN_OR_EQUAL`
> > > > * `CASE_SENSITIVE`
> > > > * `CASE_INSENSITIVE`

JSON Syntax:

```json
{
  "Or": [
    {
      "Or": [
        { ... recursive ... }
        ...
      ],
      "And": [
        { ... recursive ... }
        ...
      ],
      "Not": { ... recursive ... },
      "Dimensions": {
        "Key": "AZ"|"INSTANCE_TYPE"|"LINKED_ACCOUNT"|"LINKED_ACCOUNT_NAME"|"OPERATION"|"PURCHASE_TYPE"|"REGION"|"IDENTITY_CENTER_USER"|"IDENTITY_CENTER_GROUP"|"IAM_PRINCIPAL"|"SERVICE"|"SERVICE_CODE"|"USAGE_TYPE"|"USAGE_TYPE_GROUP"|"RECORD_TYPE"|"OPERATING_SYSTEM"|"TENANCY"|"SCOPE"|"PLATFORM"|"SUBSCRIPTION_ID"|"LEGAL_ENTITY_NAME"|"INVOICING_ENTITY"|"DEPLOYMENT_OPTION"|"DATABASE_ENGINE"|"CACHE_ENGINE"|"INSTANCE_TYPE_FAMILY"|"BILLING_ENTITY"|"RESERVATION_ID"|"RESOURCE_ID"|"RIGHTSIZING_TYPE"|"SAVINGS_PLANS_TYPE"|"SAVINGS_PLAN_ARN"|"PAYMENT_OPTION"|"RESERVATION_MODIFIED"|"TAG_KEY"|"COST_CATEGORY_NAME",
        "Values": ["string", ...],
        "MatchOptions": ["EQUALS"|"ABSENT"|"STARTS_WITH"|"ENDS_WITH"|"CONTAINS"|"GREATER_THAN_OR_EQUAL"|"CASE_SENSITIVE"|"CASE_INSENSITIVE", ...]
      },
      "IdentityCenterAttributes": {
        "Key": "organization"|"division"|"department"|"costCenter",
        "Values": ["string", ...],
        "MatchOptions": ["EQUALS"|"ABSENT"|"STARTS_WITH"|"ENDS_WITH"|"CONTAINS"|"GREATER_THAN_OR_EQUAL"|"CASE_SENSITIVE"|"CASE_INSENSITIVE", ...]
      },
      "Tags": {
        "Key": "string",
        "Values": ["string", ...],
        "MatchOptions": ["EQUALS"|"ABSENT"|"STARTS_WITH"|"ENDS_WITH"|"CONTAINS"|"GREATER_THAN_OR_EQUAL"|"CASE_SENSITIVE"|"CASE_INSENSITIVE", ...]
      },
      "CostCategories": {
        "Key": "string",
        "Values": ["string", ...],
        "MatchOptions": ["EQUALS"|"ABSENT"|"STARTS_WITH"|"ENDS_WITH"|"CONTAINS"|"GREATER_THAN_OR_EQUAL"|"CASE_SENSITIVE"|"CASE_INSENSITIVE", ...]
      },
      "ProductAttributes": {
        "Key": "string",
        "Values": ["string", ...],
        "MatchOptions": ["EQUALS"|"ABSENT"|"STARTS_WITH"|"ENDS_WITH"|"CONTAINS"|"GREATER_THAN_OR_EQUAL"|"CASE_SENSITIVE"|"CASE_INSENSITIVE", ...]
      }
    }
    ...
  ],
  "And": [
    {
      "Or": [
        { ... recursive ... }
        ...
      ],
      "And": [
        { ... recursive ... }
        ...
      ],
      "Not": { ... recursive ... },
      "Dimensions": {
        "Key": "AZ"|"INSTANCE_TYPE"|"LINKED_ACCOUNT"|"LINKED_ACCOUNT_NAME"|"OPERATION"|"PURCHASE_TYPE"|"REGION"|"IDENTITY_CENTER_USER"|"IDENTITY_CENTER_GROUP"|"IAM_PRINCIPAL"|"SERVICE"|"SERVICE_CODE"|"USAGE_TYPE"|"USAGE_TYPE_GROUP"|"RECORD_TYPE"|"OPERATING_SYSTEM"|"TENANCY"|"SCOPE"|"PLATFORM"|"SUBSCRIPTION_ID"|"LEGAL_ENTITY_NAME"|"INVOICING_ENTITY"|"DEPLOYMENT_OPTION"|"DATABASE_ENGINE"|"CACHE_ENGINE"|"INSTANCE_TYPE_FAMILY"|"BILLING_ENTITY"|"RESERVATION_ID"|"RESOURCE_ID"|"RIGHTSIZING_TYPE"|"SAVINGS_PLANS_TYPE"|"SAVINGS_PLAN_ARN"|"PAYMENT_OPTION"|"RESERVATION_MODIFIED"|"TAG_KEY"|"COST_CATEGORY_NAME",
        "Values": ["string", ...],
        "MatchOptions": ["EQUALS"|"ABSENT"|"STARTS_WITH"|"ENDS_WITH"|"CONTAINS"|"GREATER_THAN_OR_EQUAL"|"CASE_SENSITIVE"|"CASE_INSENSITIVE", ...]
      },
      "IdentityCenterAttributes": {
        "Key": "organization"|"division"|"department"|"costCenter",
        "Values": ["string", ...],
        "MatchOptions": ["EQUALS"|"ABSENT"|"STARTS_WITH"|"ENDS_WITH"|"CONTAINS"|"GREATER_THAN_OR_EQUAL"|"CASE_SENSITIVE"|"CASE_INSENSITIVE", ...]
      },
      "Tags": {
        "Key": "string",
        "Values": ["string", ...],
        "MatchOptions": ["EQUALS"|"ABSENT"|"STARTS_WITH"|"ENDS_WITH"|"CONTAINS"|"GREATER_THAN_OR_EQUAL"|"CASE_SENSITIVE"|"CASE_INSENSITIVE", ...]
      },
      "CostCategories": {
        "Key": "string",
        "Values": ["string", ...],
        "MatchOptions": ["EQUALS"|"ABSENT"|"STARTS_WITH"|"ENDS_WITH"|"CONTAINS"|"GREATER_THAN_OR_EQUAL"|"CASE_SENSITIVE"|"CASE_INSENSITIVE", ...]
      },
      "ProductAttributes": {
        "Key": "string",
        "Values": ["string", ...],
        "MatchOptions": ["EQUALS"|"ABSENT"|"STARTS_WITH"|"ENDS_WITH"|"CONTAINS"|"GREATER_THAN_OR_EQUAL"|"CASE_SENSITIVE"|"CASE_INSENSITIVE", ...]
      }
    }
    ...
  ],
  "Not": {
    "Or": [
      { ... recursive ... }
      ...
    ],
    "And": [
      { ... recursive ... }
      ...
    ],
    "Not": { ... recursive ... },
    "Dimensions": {
      "Key": "AZ"|"INSTANCE_TYPE"|"LINKED_ACCOUNT"|"LINKED_ACCOUNT_NAME"|"OPERATION"|"PURCHASE_TYPE"|"REGION"|"IDENTITY_CENTER_USER"|"IDENTITY_CENTER_GROUP"|"IAM_PRINCIPAL"|"SERVICE"|"SERVICE_CODE"|"USAGE_TYPE"|"USAGE_TYPE_GROUP"|"RECORD_TYPE"|"OPERATING_SYSTEM"|"TENANCY"|"SCOPE"|"PLATFORM"|"SUBSCRIPTION_ID"|"LEGAL_ENTITY_NAME"|"INVOICING_ENTITY"|"DEPLOYMENT_OPTION"|"DATABASE_ENGINE"|"CACHE_ENGINE"|"INSTANCE_TYPE_FAMILY"|"BILLING_ENTITY"|"RESERVATION_ID"|"RESOURCE_ID"|"RIGHTSIZING_TYPE"|"SAVINGS_PLANS_TYPE"|"SAVINGS_PLAN_ARN"|"PAYMENT_OPTION"|"RESERVATION_MODIFIED"|"TAG_KEY"|"COST_CATEGORY_NAME",
      "Values": ["string", ...],
      "MatchOptions": ["EQUALS"|"ABSENT"|"STARTS_WITH"|"ENDS_WITH"|"CONTAINS"|"GREATER_THAN_OR_EQUAL"|"CASE_SENSITIVE"|"CASE_INSENSITIVE", ...]
    },
    "IdentityCenterAttributes": {
      "Key": "organization"|"division"|"department"|"costCenter",
      "Values": ["string", ...],
      "MatchOptions": ["EQUALS"|"ABSENT"|"STARTS_WITH"|"ENDS_WITH"|"CONTAINS"|"GREATER_THAN_OR_EQUAL"|"CASE_SENSITIVE"|"CASE_INSENSITIVE", ...]
    },
    "Tags": {
      "Key": "string",
      "Values": ["string", ...],
      "MatchOptions": ["EQUALS"|"ABSENT"|"STARTS_WITH"|"ENDS_WITH"|"CONTAINS"|"GREATER_THAN_OR_EQUAL"|"CASE_SENSITIVE"|"CASE_INSENSITIVE", ...]
    },
    "CostCategories": {
      "Key": "string",
      "Values": ["string", ...],
      "MatchOptions": ["EQUALS"|"ABSENT"|"STARTS_WITH"|"ENDS_WITH"|"CONTAINS"|"GREATER_THAN_OR_EQUAL"|"CASE_SENSITIVE"|"CASE_INSENSITIVE", ...]
    },
    "ProductAttributes": {
      "Key": "string",
      "Values": ["string", ...],
      "MatchOptions": ["EQUALS"|"ABSENT"|"STARTS_WITH"|"ENDS_WITH"|"CONTAINS"|"GREATER_THAN_OR_EQUAL"|"CASE_SENSITIVE"|"CASE_INSENSITIVE", ...]
    }
  },
  "Dimensions": {
    "Key": "AZ"|"INSTANCE_TYPE"|"LINKED_ACCOUNT"|"LINKED_ACCOUNT_NAME"|"OPERATION"|"PURCHASE_TYPE"|"REGION"|"IDENTITY_CENTER_USER"|"IDENTITY_CENTER_GROUP"|"IAM_PRINCIPAL"|"SERVICE"|"SERVICE_CODE"|"USAGE_TYPE"|"USAGE_TYPE_GROUP"|"RECORD_TYPE"|"OPERATING_SYSTEM"|"TENANCY"|"SCOPE"|"PLATFORM"|"SUBSCRIPTION_ID"|"LEGAL_ENTITY_NAME"|"INVOICING_ENTITY"|"DEPLOYMENT_OPTION"|"DATABASE_ENGINE"|"CACHE_ENGINE"|"INSTANCE_TYPE_FAMILY"|"BILLING_ENTITY"|"RESERVATION_ID"|"RESOURCE_ID"|"RIGHTSIZING_TYPE"|"SAVINGS_PLANS_TYPE"|"SAVINGS_PLAN_ARN"|"PAYMENT_OPTION"|"RESERVATION_MODIFIED"|"TAG_KEY"|"COST_CATEGORY_NAME",
    "Values": ["string", ...],
    "MatchOptions": ["EQUALS"|"ABSENT"|"STARTS_WITH"|"ENDS_WITH"|"CONTAINS"|"GREATER_THAN_OR_EQUAL"|"CASE_SENSITIVE"|"CASE_INSENSITIVE", ...]
  },
  "IdentityCenterAttributes": {
    "Key": "organization"|"division"|"department"|"costCenter",
    "Values": ["string", ...],
    "MatchOptions": ["EQUALS"|"ABSENT"|"STARTS_WITH"|"ENDS_WITH"|"CONTAINS"|"GREATER_THAN_OR_EQUAL"|"CASE_SENSITIVE"|"CASE_INSENSITIVE", ...]
  },
  "Tags": {
    "Key": "string",
    "Values": ["string", ...],
    "MatchOptions": ["EQUALS"|"ABSENT"|"STARTS_WITH"|"ENDS_WITH"|"CONTAINS"|"GREATER_THAN_OR_EQUAL"|"CASE_SENSITIVE"|"CASE_INSENSITIVE", ...]
  },
  "CostCategories": {
    "Key": "string",
    "Values": ["string", ...],
    "MatchOptions": ["EQUALS"|"ABSENT"|"STARTS_WITH"|"ENDS_WITH"|"CONTAINS"|"GREATER_THAN_OR_EQUAL"|"CASE_SENSITIVE"|"CASE_INSENSITIVE", ...]
  },
  "ProductAttributes": {
    "Key": "string",
    "Values": ["string", ...],
    "MatchOptions": ["EQUALS"|"ABSENT"|"STARTS_WITH"|"ENDS_WITH"|"CONTAINS"|"GREATER_THAN_OR_EQUAL"|"CASE_SENSITIVE"|"CASE_INSENSITIVE", ...]
  }
}
```

`--starting-token` (string)

> A token to specify where to start paginating. This is the `NextToken` from a previously truncated response.

> For usage examples, see [Pagination](https://docs.aws.amazon.com/cli/latest/userguide/pagination.html) in the *AWS Command Line Interface User Guide* .

`--page-size` (integer)

> The size of each page to get in the AWS service call. This does not affect the number of items returned in the command’s output. Setting a smaller page size results in more calls to the AWS service, retrieving fewer items in each call. This can help prevent the AWS service calls from timing out.

> For usage examples, see [Pagination](https://docs.aws.amazon.com/cli/latest/userguide/pagination.html) in the *AWS Command Line Interface User Guide* .

> Constraints:

> * min: `1`
> * max: `1000`

`--max-items` (integer)

> The total number of items to return in the command’s output. If the total number of items available is more than the value specified, a `NextToken` is provided in the command’s output. To resume pagination, provide the `NextToken` value in the `starting-token` argument of a subsequent command. **Do not** use the `NextToken` response element directly outside of the AWS CLI.

> For usage examples, see [Pagination](https://docs.aws.amazon.com/cli/latest/userguide/pagination.html) in the *AWS Command Line Interface User Guide* .

`--cli-input-json` | `--cli-input-yaml` (string)
Reads arguments from the JSON string provided. The JSON string follows the format provided by `--generate-cli-skeleton`. If other arguments are provided on the command line, those values will override the JSON-provided values. It is not possible to pass arbitrary binary values using a JSON-provided value as the string will be taken literally. This may not be specified along with `--cli-input-yaml`.

`--generate-cli-skeleton` (string)
Prints a JSON skeleton to standard output without sending an API request. If provided with no value or the value `input`, prints a sample input JSON that can be used as an argument for `--cli-input-json`. Similarly, if provided `yaml-input` it will print a sample input YAML that can be used with `--cli-input-yaml`. If provided with the value `output`, it validates the command inputs and returns a sample output JSON for that command. The generated JSON skeleton is not stable between versions of the AWS CLI and there are no backwards compatibility guarantees in the JSON skeleton generated.

## Global Options

`--debug` (boolean)

Turn on debug logging.

`--endpoint-url` (string)

Override command’s default URL with the given URL.

`--no-verify-ssl` (boolean)

By default, the AWS CLI uses SSL when communicating with AWS services. For each SSL connection, the AWS CLI will verify SSL certificates. This option overrides the default behavior of verifying SSL certificates.

`--no-paginate` (boolean)

Disable automatic pagination. If automatic pagination is disabled, the AWS CLI will only make one call, for the first page of results.

`--output` (string)

The formatting style for command output.

* json
* text
* table
* yaml
* yaml-stream
* off

`--query` (string)

A JMESPath query to use in filtering the response data.

`--profile` (string)

Use a specific profile from your credential file.

`--region` (string)

The region to use. Overrides config/env settings.

`--version` (string)

Display the version of this tool.

`--color` (string)

Turn on/off color output.

* on
* off
* auto

`--no-sign-request` (boolean)

Do not sign requests. Credentials will not be loaded if this argument is provided.

`--ca-bundle` (string)

The CA certificate bundle to use when verifying SSL certificates. Overrides config/env settings.

`--cli-read-timeout` (int)

The maximum socket read time in seconds. If the value is set to 0, the socket read will be blocking and not timeout. The default value is 60 seconds.

`--cli-connect-timeout` (int)

The maximum socket connect time in seconds. If the value is set to 0, the socket connect will be blocking and not timeout. The default value is 60 seconds.

`--cli-binary-format` (string)

The formatting style to be used for binary blobs. The default format is base64. The base64 format expects binary blobs to be provided as a base64 encoded string. The raw-in-base64-out format preserves compatibility with AWS CLI V1 behavior and binary values must be passed literally. When providing contents from a file that map to a binary blob `fileb://` will always be treated as binary and use the file contents directly regardless of the `cli-binary-format` setting. When using `file://` the file contents will need to properly formatted for the configured `cli-binary-format`.

* base64
* raw-in-base64-out

`--no-cli-pager` (boolean)

Disable cli pager for output.

`--cli-auto-prompt` (boolean)

Automatically prompt for CLI input parameters.

`--no-cli-auto-prompt` (boolean)

Disable automatically prompt for CLI input parameters.

`--cli-error-format` (string)

The formatting style for error output. By default, errors are displayed in enhanced format.

* legacy
* json
* yaml
* text
* table
* enhanced

`--help` (boolean)

Display help for the command/subcommand.

## Output

BudgetLimit -> (structure)

> The budget limit of the budget.

> Amount -> (string) [required]

> > The cost or usage amount that’s associated with a budget forecast, actual spend, or budget threshold.

> > Constraints:

> > * min: `1`
> > * max: `2147483647`
> > * pattern: `([0-9]*\.)?[0-9]+`

> Unit -> (string) [required]

> > The unit of measurement that’s used for the budget forecast, actual spend, or budget threshold.

> > Constraints:

> > * min: `1`
> > * max: `2147483647`
> > * pattern: `.*`

BudgetLimitDimensions -> (list)

> The dimension that the budget limit applies to. With this value and `BudgetLimit` , you can tell whether a row is a principal’s own limit or a share of a limit for all principals.

> Constraints:

> * min: `0`
> * max: `1`

> (structure)

> > A dimension that a budget limit applies to separately for each value.

> > Type -> (string) [required]

> > > The type of the dimension. The only valid value is `DIMENSION` .

> > > Possible values:

> > > * `DIMENSION`

> > Key -> (string) [required]

> > > The key of the dimension. The key must be the same value as the budget’s `SpendAttributions` . Valid values are the following:

> > > * `IDENTITY_CENTER_USER` – Applies separately to each IAM Identity Center user.
> > > * `IAM_PRINCIPAL` – Applies separately to each IAM user or role.

> > > Constraints:

> > > * min: `1`
> > > * max: `1024`

GroupDefinitions -> (list)

> The grouping that the response uses. The `Keys` of each row in `SpendByGroup` follow this order.

> Constraints:

> * min: `0`
> * max: `2`

> (structure)

> > How to group the spend of a budget. A group definition has the same shape as the group definition of the Cost Explorer `GetCostAndUsage` operation.

> > Type -> (string) [required]

> > > The type of the group. The only valid value is `DIMENSION` .

> > > Possible values:

> > > * `DIMENSION`

> > Key -> (string) [required]

> > > The key to group by. The key must be the same value as the budget’s `SpendAttributions` . Valid values are `IDENTITY_CENTER_USER` and `IAM_PRINCIPAL` .

> > > Constraints:

> > > * min: `1`
> > > * max: `1024`

SpendByGroup -> (list)

> The rows of spend for the current period.

> (structure)

> > One row of a budget’s spend for the current period. The row is the spend of one limit, or of one principal’s share when you group by the budget’s `SpendAttributions` key.

> > Keys -> (list)

> > > The values that identify the row, one for each entry in `GroupDefinitions` , in the same order. When you group by the budget’s `SpendAttributions` key, the value is the ID of the principal. The list is empty for the total spend of a budget without `BudgetLimitDimensions` .

> > > Constraints:

> > > * min: `0`
> > > * max: `2`

> > > (string)

> > > > A value that identifies a spend row, such as an Identity Center user ID or an IAM ARN.

> > > > Constraints:

> > > > * min: `0`
> > > > * max: `2048`

> > Spend -> (structure)

> > > The spend of the row in the current period.

> > > Amount -> (string) [required]

> > > > The cost or usage amount that’s associated with a budget forecast, actual spend, or budget threshold.

> > > > Constraints:

> > > > * min: `1`
> > > > * max: `2147483647`
> > > > * pattern: `([0-9]*\.)?[0-9]+`

> > > Unit -> (string) [required]

> > > > The unit of measurement that’s used for the budget forecast, actual spend, or budget threshold.

> > > > Constraints:

> > > > * min: `1`
> > > > * max: `2147483647`
> > > > * pattern: `.*`

> > LimitStatus -> (string)

> > > Specifies whether the spend has reached the budget limit that the row counts toward. That limit is the principal’s own limit, or the limit of the whole budget.

> > > Possible values:

> > > * `WITHIN_LIMIT`
> > > * `LIMIT_REACHED`

> > LastUsageTime -> (timestamp)

> > > The time of the most recent usage that counts toward the row. Amazon Web Services Budgets doesn’t return this field when the budget has no `BudgetLimitDimensions` or when the budget has no usage in the current period yet.

TimePeriod -> (structure)

> The current period of the budget.

> Start -> (timestamp)

> > The start date for a budget. If you created your budget and didn’t specify a start date, Amazon Web Services defaults to the start of your chosen time period (DAILY, MONTHLY, QUARTERLY, ANNUALLY, or CUSTOM). For example, if you created your budget on January 24, 2018, chose `DAILY` , and didn’t set a start date, Amazon Web Services set your start date to `01/24/18 00:00 UTC` . If you chose `MONTHLY` , Amazon Web Services set your start date to `01/01/18 00:00 UTC` . The defaults are the same for the Billing and Cost Management console and the API.

> > You can change your start date with the `UpdateBudget` operation.

> End -> (timestamp)

> > The end date for a budget. If you didn’t specify an end date, Amazon Web Services set your end date to `06/15/87 00:00 UTC` . The defaults are the same for the Billing and Cost Management console and the API.

> > After the end date, Amazon Web Services deletes the budget and all the associated notifications and subscribers. You can change your end date with the `UpdateBudget` operation.

LastUpdatedTime -> (timestamp)

> The time when Amazon Web Services Budgets last updated the spend for the current period.

NextToken -> (string)

> The pagination token in the service response that indicates the next set of results that you can retrieve.

> Constraints:

> * min: `1`
> * max: `4096`
> * pattern: `^[A-Za-z0-9+/=_-]+$`
