@aws-sdk/client-cost-explorer 3.1147.0 → 3.1149.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (41) hide show
  1. package/dist-cjs/index.js +31 -5
  2. package/dist-es/models/CostExplorerServiceException.js +1 -0
  3. package/dist-es/models/enums.js +2 -0
  4. package/dist-es/models/errors.js +15 -0
  5. package/dist-es/schemas/schemas_0.js +12 -4
  6. package/dist-types/commands/CreateAnomalyMonitorCommand.d.ts +19 -5
  7. package/dist-types/commands/CreateAnomalySubscriptionCommand.d.ts +19 -5
  8. package/dist-types/commands/CreateCostCategoryDefinitionCommand.d.ts +19 -5
  9. package/dist-types/commands/DescribeCostCategoryDefinitionCommand.d.ts +19 -5
  10. package/dist-types/commands/GetAnomalyMonitorsCommand.d.ts +19 -5
  11. package/dist-types/commands/GetAnomalySubscriptionsCommand.d.ts +19 -5
  12. package/dist-types/commands/GetCostAndUsageCommand.d.ts +21 -7
  13. package/dist-types/commands/GetCostAndUsageComparisonsCommand.d.ts +39 -11
  14. package/dist-types/commands/GetCostAndUsageWithResourcesCommand.d.ts +21 -7
  15. package/dist-types/commands/GetCostCategoriesCommand.d.ts +19 -5
  16. package/dist-types/commands/GetCostComparisonDriversCommand.d.ts +39 -11
  17. package/dist-types/commands/GetCostForecastCommand.d.ts +19 -5
  18. package/dist-types/commands/GetDimensionValuesCommand.d.ts +21 -6
  19. package/dist-types/commands/GetReservationCoverageCommand.d.ts +20 -6
  20. package/dist-types/commands/GetReservationPurchaseRecommendationCommand.d.ts +19 -5
  21. package/dist-types/commands/GetReservationUtilizationCommand.d.ts +20 -6
  22. package/dist-types/commands/GetRightsizingRecommendationCommand.d.ts +19 -5
  23. package/dist-types/commands/GetSavingsPlansCoverageCommand.d.ts +20 -6
  24. package/dist-types/commands/GetSavingsPlansPurchaseRecommendationCommand.d.ts +19 -5
  25. package/dist-types/commands/GetSavingsPlansUtilizationCommand.d.ts +19 -5
  26. package/dist-types/commands/GetSavingsPlansUtilizationDetailsCommand.d.ts +19 -5
  27. package/dist-types/commands/GetTagsCommand.d.ts +19 -5
  28. package/dist-types/commands/GetUsageForecastCommand.d.ts +19 -5
  29. package/dist-types/commands/UpdateAnomalySubscriptionCommand.d.ts +19 -5
  30. package/dist-types/commands/UpdateCostCategoryDefinitionCommand.d.ts +19 -5
  31. package/dist-types/models/CostExplorerServiceException.d.ts +1 -0
  32. package/dist-types/models/enums.d.ts +2 -0
  33. package/dist-types/models/errors.d.ts +15 -0
  34. package/dist-types/models/models_0.d.ts +374 -41
  35. package/dist-types/schemas/schemas_0.d.ts +1 -0
  36. package/dist-types/ts3.4/models/CostExplorerServiceException.d.ts +1 -0
  37. package/dist-types/ts3.4/models/enums.d.ts +2 -0
  38. package/dist-types/ts3.4/models/errors.d.ts +15 -0
  39. package/dist-types/ts3.4/models/models_0.d.ts +7 -0
  40. package/dist-types/ts3.4/schemas/schemas_0.d.ts +1 -0
  41. package/package.json +4 -4
@@ -548,6 +548,10 @@ export interface DimensionValues {
548
548
  * <p>
549
549
  * <code>ANOMALY_TOTAL_IMPACT_ABSOLUTE</code> and
550
550
  * <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>
551
+ * <p>Use <code>PRODUCT_ATTRIBUTE</code> only as the <code>Dimension</code> in
552
+ * <code>GetDimensionValues</code>. To filter or group by product attributes, use the
553
+ * <code>ProductAttributes</code> field of <code>Expression</code> or the
554
+ * <code>PRODUCT_ATTRIBUTE</code> group type.</p>
551
555
  * @public
552
556
  */
553
557
  Key?: Dimension | undefined;
@@ -569,6 +573,126 @@ export interface DimensionValues {
569
573
  */
570
574
  MatchOptions?: MatchOption[] | undefined;
571
575
  }
576
+ /**
577
+ * <p>The product attribute values that you can use to filter the costs of supported services.
578
+ * Currently, Amazon Bedrock is the only supported service.</p>
579
+ * <p>The following product attribute keys are available for each supported service:</p>
580
+ * <ul>
581
+ * <li>
582
+ * <p>Amazon Bedrock</p>
583
+ * <ul>
584
+ * <li>
585
+ * <p>
586
+ * <code>provider</code> - The model provider, such as
587
+ * <code>Anthropic</code>, <code>Cohere</code>, or
588
+ * <code>OpenAI</code>.</p>
589
+ * </li>
590
+ * <li>
591
+ * <p>
592
+ * <code>model</code> - The model, such as <code>Claude Sonnet 5</code> or
593
+ * <code>Claude Haiku 4.5</code>.</p>
594
+ * </li>
595
+ * <li>
596
+ * <p>
597
+ * <code>inferenceType</code> - The type of inference usage, such as
598
+ * <code>Input tokens</code> or <code>Output tokens</code>.</p>
599
+ * </li>
600
+ * <li>
601
+ * <p>
602
+ * <code>feature</code> - The feature that was used, such as
603
+ * <code>On-demand Inference</code> or <code>Reranker</code>.</p>
604
+ * </li>
605
+ * </ul>
606
+ * </li>
607
+ * </ul>
608
+ * <p>The following operations support product attributes: <code>GetCostAndUsage</code>,
609
+ * <code>GetCostAndUsageWithResources</code>, <code>GetDimensionValues</code> (in the
610
+ * <code>COST_AND_USAGE</code> context), <code>GetTags</code>, and
611
+ * <code>GetCostCategories</code>.</p>
612
+ * <p>Product attribute data is available for time periods that start on or after September 1,
613
+ * 2026. Requests for earlier time periods that use product attributes fail with a
614
+ * <code>DataUnavailableException</code>.</p>
615
+ * <p>The <code>SERVICE</code> filter rules for product attributes depend on the
616
+ * operation:</p>
617
+ * <ul>
618
+ * <li>
619
+ * <p>
620
+ * <code>GetCostAndUsage</code> and <code>GetCostAndUsageWithResources</code> -
621
+ * Optional.</p>
622
+ * </li>
623
+ * <li>
624
+ * <p>
625
+ * <code>GetDimensionValues</code> - Required when the filter includes
626
+ * <code>ProductAttributes</code>, for any <code>Dimension</code>. Otherwise,
627
+ * optional.</p>
628
+ * </li>
629
+ * <li>
630
+ * <p>
631
+ * <code>GetTags</code> and <code>GetCostCategories</code> - Required when the
632
+ * filter includes <code>ProductAttributes</code>.</p>
633
+ * </li>
634
+ * </ul>
635
+ * <p>A <code>SERVICE</code> filter must contain only supported services, or the request
636
+ * fails with a <code>ValidationException</code>. Service names are matched exactly. To list
637
+ * them, use <code>GetDimensionValues</code> with <code>Dimension</code> set to
638
+ * <code>SERVICE</code> and the same <code>TimePeriod</code>, for example with
639
+ * <code>SearchString</code> set to <code>Bedrock</code>.</p>
640
+ * <p>The costs of a supported service can appear under multiple service names. When the
641
+ * <code>SERVICE</code> filter is optional, omit it so that your results include all of
642
+ * those costs.</p>
643
+ * <p>For example, the following <code>Expression</code> filters for the costs of one
644
+ * model: <code>\{ "ProductAttributes": \{ "Key": "model", "Values": [
645
+ * "Claude Sonnet 5" ], "MatchOptions": [ "EQUALS" ] \} \}</code>
646
+ * </p>
647
+ * @public
648
+ */
649
+ export interface ProductAttributeValues {
650
+ /**
651
+ * <p>The name of the product attribute, such as <code>model</code>. The keys that are
652
+ * available depend on the service. For the keys of each supported service, see
653
+ * <a href="https://docs.aws.amazon.com/aws-cost-management/latest/APIReference/API_ProductAttributeValues.html">
654
+ * <code>ProductAttributeValues</code>
655
+ * </a>.</p>
656
+ * <p>Keys are case-sensitive. A key that doesn't exist doesn't return an error:
657
+ * <code>EQUALS</code> matches no costs, and <code>ABSENT</code> matches all costs of
658
+ * supported services.</p>
659
+ * @public
660
+ */
661
+ Key: string | undefined;
662
+ /**
663
+ * <p>The specific values of the product attribute, such as <code>Claude Sonnet 5</code> for
664
+ * the <code>model</code> key. Values are matched exactly, including case. To list the values
665
+ * of a key, use <code>GetDimensionValues</code> with <code>Dimension</code> set to
666
+ * <code>PRODUCT_ATTRIBUTE</code> and <code>DimensionKey</code> set to the key.</p>
667
+ * <p>To match costs that have no value for the key, set <code>MatchOptions</code> to
668
+ * <code>ABSENT</code> and omit <code>Values</code>. Otherwise, <code>Values</code> is
669
+ * required.</p>
670
+ * @public
671
+ */
672
+ Values?: string[] | undefined;
673
+ /**
674
+ * <p>The match options that you can use to filter your results. Valid values:</p>
675
+ * <ul>
676
+ * <li>
677
+ * <p>
678
+ * <code>EQUALS</code> - Matches the values that you specify.</p>
679
+ * </li>
680
+ * <li>
681
+ * <p>
682
+ * <code>ABSENT</code> - Matches costs that have no value for the key. Omit
683
+ * <code>Values</code>.</p>
684
+ * </li>
685
+ * <li>
686
+ * <p>
687
+ * <code>CASE_SENSITIVE</code> - Use only with <code>EQUALS</code>. Values are
688
+ * always matched case-sensitively.</p>
689
+ * </li>
690
+ * </ul>
691
+ * <p>Default values are <code>EQUALS</code> and <code>CASE_SENSITIVE</code>.</p>
692
+ * @public
693
+ */
694
+ MatchOptions?: MatchOption[] | undefined;
695
+ }
572
696
  /**
573
697
  * <p>The values that are available for a tag.</p>
574
698
  * <p>If <code>Values</code> and <code>Key</code> aren't specified, the <code>ABSENT</code>
@@ -3973,7 +4097,7 @@ export interface ListCostCategoryDefinitionsRequest {
3973
4097
  MaxResults?: number | undefined;
3974
4098
  /**
3975
4099
  * <p>
3976
- * Filter cost category definitions that are supported by given resource types based on the latest version. If the filter is present, the result only includes Cost Categories that supports input resource type. If the filter isn't provided, no filtering is applied. The valid values are <code>billing:rispgroupsharing</code> and <code>billing:billingview</code>.
4100
+ * Filter cost category definitions that are supported by given resource types based on the latest version. If the filter is present, the result only includes Cost Categories that supports input resource type. If the filter isn't provided, no filtering is applied. The valid values are <code>billing:rispgroupsharing</code>, <code>billing:billingview</code>, and <code>billing:creditsharing</code>.
3977
4101
  * </p>
3978
4102
  * @public
3979
4103
  */
@@ -4518,9 +4642,10 @@ export interface UpdateCostCategoryDefinitionResponse {
4518
4642
  * <p>Simple dimension values.</p>
4519
4643
  * <ul>
4520
4644
  * <li>
4521
- * <p>There are three types of simple dimension values:
4522
- * <code>CostCategories</code>, <code>Tags</code>, and
4523
- * <code>Dimensions</code>.</p>
4645
+ * <p>There are four types of simple dimension values:
4646
+ * <code>CostCategories</code>, <code>Tags</code>,
4647
+ * <code>Dimensions</code>, and
4648
+ * <code>ProductAttributes</code>.</p>
4524
4649
  * <ul>
4525
4650
  * <li>
4526
4651
  * <p>Specify the <code>CostCategories</code> field to define a
@@ -4536,6 +4661,20 @@ export interface UpdateCostCategoryDefinitionResponse {
4536
4661
  * <code>DimensionValues</code>
4537
4662
  * </a>.</p>
4538
4663
  * </li>
4664
+ * <li>
4665
+ * <p>Specify the <code>ProductAttributes</code> field to define a
4666
+ * filter that acts on the product attributes of supported
4667
+ * services, such as Amazon Bedrock. Only
4668
+ * <code>GetCostAndUsage</code>,
4669
+ * <code>GetCostAndUsageWithResources</code>,
4670
+ * <code>GetDimensionValues</code> (in the
4671
+ * <code>COST_AND_USAGE</code> context),
4672
+ * <code>GetTags</code>, and <code>GetCostCategories</code>
4673
+ * support <code>ProductAttributes</code>. For the supported
4674
+ * services, keys and <code>SERVICE</code> filter rules, see <a href="https://docs.aws.amazon.com/aws-cost-management/latest/APIReference/API_ProductAttributeValues.html">
4675
+ * <code>ProductAttributeValues</code>
4676
+ * </a>.</p>
4677
+ * </li>
4539
4678
  * </ul>
4540
4679
  * </li>
4541
4680
  * <li>
@@ -4664,6 +4803,18 @@ export interface Expression {
4664
4803
  * @public
4665
4804
  */
4666
4805
  CostCategories?: CostCategoryValues | undefined;
4806
+ /**
4807
+ * <p>The filter that's based on <code>ProductAttributeValues</code>. Use it to filter the
4808
+ * costs of supported services, such as Amazon Bedrock, by product attributes. The following
4809
+ * operations support this filter: <code>GetCostAndUsage</code>,
4810
+ * <code>GetCostAndUsageWithResources</code>, <code>GetDimensionValues</code> (in the
4811
+ * <code>COST_AND_USAGE</code> context), <code>GetTags</code>, and
4812
+ * <code>GetCostCategories</code>. For the supported services and keys, see <a href="https://docs.aws.amazon.com/aws-cost-management/latest/APIReference/API_ProductAttributeValues.html">
4813
+ * <code>ProductAttributeValues</code>
4814
+ * </a>.</p>
4815
+ * @public
4816
+ */
4817
+ ProductAttributes?: ProductAttributeValues | undefined;
4667
4818
  }
4668
4819
  /**
4669
4820
  * <p>This object continuously inspects your account's cost data for anomalies. It's based
@@ -4902,9 +5053,10 @@ export interface CostAndUsageComparison {
4902
5053
  * <p>Simple dimension values.</p>
4903
5054
  * <ul>
4904
5055
  * <li>
4905
- * <p>There are three types of simple dimension values:
4906
- * <code>CostCategories</code>, <code>Tags</code>, and
4907
- * <code>Dimensions</code>.</p>
5056
+ * <p>There are four types of simple dimension values:
5057
+ * <code>CostCategories</code>, <code>Tags</code>,
5058
+ * <code>Dimensions</code>, and
5059
+ * <code>ProductAttributes</code>.</p>
4908
5060
  * <ul>
4909
5061
  * <li>
4910
5062
  * <p>Specify the <code>CostCategories</code> field to define a
@@ -4920,6 +5072,20 @@ export interface CostAndUsageComparison {
4920
5072
  * <code>DimensionValues</code>
4921
5073
  * </a>.</p>
4922
5074
  * </li>
5075
+ * <li>
5076
+ * <p>Specify the <code>ProductAttributes</code> field to define a
5077
+ * filter that acts on the product attributes of supported
5078
+ * services, such as Amazon Bedrock. Only
5079
+ * <code>GetCostAndUsage</code>,
5080
+ * <code>GetCostAndUsageWithResources</code>,
5081
+ * <code>GetDimensionValues</code> (in the
5082
+ * <code>COST_AND_USAGE</code> context),
5083
+ * <code>GetTags</code>, and <code>GetCostCategories</code>
5084
+ * support <code>ProductAttributes</code>. For the supported
5085
+ * services, keys and <code>SERVICE</code> filter rules, see <a href="https://docs.aws.amazon.com/aws-cost-management/latest/APIReference/API_ProductAttributeValues.html">
5086
+ * <code>ProductAttributeValues</code>
5087
+ * </a>.</p>
5088
+ * </li>
4923
5089
  * </ul>
4924
5090
  * </li>
4925
5091
  * <li>
@@ -5086,9 +5252,10 @@ export interface CostComparisonDriver {
5086
5252
  * <p>Simple dimension values.</p>
5087
5253
  * <ul>
5088
5254
  * <li>
5089
- * <p>There are three types of simple dimension values:
5090
- * <code>CostCategories</code>, <code>Tags</code>, and
5091
- * <code>Dimensions</code>.</p>
5255
+ * <p>There are four types of simple dimension values:
5256
+ * <code>CostCategories</code>, <code>Tags</code>,
5257
+ * <code>Dimensions</code>, and
5258
+ * <code>ProductAttributes</code>.</p>
5092
5259
  * <ul>
5093
5260
  * <li>
5094
5261
  * <p>Specify the <code>CostCategories</code> field to define a
@@ -5104,6 +5271,20 @@ export interface CostComparisonDriver {
5104
5271
  * <code>DimensionValues</code>
5105
5272
  * </a>.</p>
5106
5273
  * </li>
5274
+ * <li>
5275
+ * <p>Specify the <code>ProductAttributes</code> field to define a
5276
+ * filter that acts on the product attributes of supported
5277
+ * services, such as Amazon Bedrock. Only
5278
+ * <code>GetCostAndUsage</code>,
5279
+ * <code>GetCostAndUsageWithResources</code>,
5280
+ * <code>GetDimensionValues</code> (in the
5281
+ * <code>COST_AND_USAGE</code> context),
5282
+ * <code>GetTags</code>, and <code>GetCostCategories</code>
5283
+ * support <code>ProductAttributes</code>. For the supported
5284
+ * services, keys and <code>SERVICE</code> filter rules, see <a href="https://docs.aws.amazon.com/aws-cost-management/latest/APIReference/API_ProductAttributeValues.html">
5285
+ * <code>ProductAttributeValues</code>
5286
+ * </a>.</p>
5287
+ * </li>
5107
5288
  * </ul>
5108
5289
  * </li>
5109
5290
  * <li>
@@ -5261,9 +5442,10 @@ export interface GetCostAndUsageComparisonsRequest {
5261
5442
  * <p>Simple dimension values.</p>
5262
5443
  * <ul>
5263
5444
  * <li>
5264
- * <p>There are three types of simple dimension values:
5265
- * <code>CostCategories</code>, <code>Tags</code>, and
5266
- * <code>Dimensions</code>.</p>
5445
+ * <p>There are four types of simple dimension values:
5446
+ * <code>CostCategories</code>, <code>Tags</code>,
5447
+ * <code>Dimensions</code>, and
5448
+ * <code>ProductAttributes</code>.</p>
5267
5449
  * <ul>
5268
5450
  * <li>
5269
5451
  * <p>Specify the <code>CostCategories</code> field to define a
@@ -5279,6 +5461,20 @@ export interface GetCostAndUsageComparisonsRequest {
5279
5461
  * <code>DimensionValues</code>
5280
5462
  * </a>.</p>
5281
5463
  * </li>
5464
+ * <li>
5465
+ * <p>Specify the <code>ProductAttributes</code> field to define a
5466
+ * filter that acts on the product attributes of supported
5467
+ * services, such as Amazon Bedrock. Only
5468
+ * <code>GetCostAndUsage</code>,
5469
+ * <code>GetCostAndUsageWithResources</code>,
5470
+ * <code>GetDimensionValues</code> (in the
5471
+ * <code>COST_AND_USAGE</code> context),
5472
+ * <code>GetTags</code>, and <code>GetCostCategories</code>
5473
+ * support <code>ProductAttributes</code>. For the supported
5474
+ * services, keys and <code>SERVICE</code> filter rules, see <a href="https://docs.aws.amazon.com/aws-cost-management/latest/APIReference/API_ProductAttributeValues.html">
5475
+ * <code>ProductAttributeValues</code>
5476
+ * </a>.</p>
5477
+ * </li>
5282
5478
  * </ul>
5283
5479
  * </li>
5284
5480
  * <li>
@@ -5422,10 +5618,14 @@ export interface GetCostAndUsageRequest {
5422
5618
  * define any combination of dimension filters. For more information, see <a href="https://docs.aws.amazon.com/aws-cost-management/latest/APIReference/API_Expression.html">Expression</a>. </p>
5423
5619
  * <p>Valid values for <code>MatchOptions</code> for <code>Dimensions</code> are
5424
5620
  * <code>EQUALS</code> and <code>CASE_SENSITIVE</code>.</p>
5425
- * <p>Valid values for <code>MatchOptions</code> for <code>CostCategories</code> and
5426
- * <code>Tags</code> are <code>EQUALS</code>, <code>ABSENT</code>, and
5427
- * <code>CASE_SENSITIVE</code>. Default values are <code>EQUALS</code> and
5428
- * <code>CASE_SENSITIVE</code>.</p>
5621
+ * <p>Valid values for <code>MatchOptions</code> for <code>CostCategories</code>,
5622
+ * <code>Tags</code>, and <code>ProductAttributes</code> are <code>EQUALS</code>,
5623
+ * <code>ABSENT</code>, and <code>CASE_SENSITIVE</code>. Default values are <code>EQUALS</code>
5624
+ * and <code>CASE_SENSITIVE</code>.</p>
5625
+ * <p>You can filter by product attributes with or without grouping by them. If you filter or
5626
+ * group by product attributes, the results include only the costs of supported services, and a
5627
+ * <code>SERVICE</code> filter is optional. For more information, see <a href="https://docs.aws.amazon.com/aws-cost-management/latest/APIReference/API_ProductAttributeValues.html">ProductAttributeValues</a>.</p>
5628
+ * <p>If you include a <code>SERVICE</code> filter, it must apply to the whole request: combine it with other filters by using <code>And</code>, and include it in every branch of an <code>Or</code>. A <code>SERVICE</code> filter inside <code>Not</code> doesn't meet this requirement, and the request fails with a <code>ValidationException</code>.</p>
5429
5629
  * @public
5430
5630
  */
5431
5631
  Filter?: Expression | undefined;
@@ -5452,7 +5652,8 @@ export interface GetCostAndUsageRequest {
5452
5652
  Metrics: string[] | undefined;
5453
5653
  /**
5454
5654
  * <p>You can group Amazon Web Services costs using up to two different groups, either
5455
- * dimensions, tag keys, cost categories, or any two group by types.</p>
5655
+ * dimensions, tag keys, cost categories, product attributes, or any two group by
5656
+ * types.</p>
5456
5657
  * <p>Valid values for the <code>DIMENSION</code> type are <code>AZ</code>,
5457
5658
  * <code>INSTANCE_TYPE</code>, <code>LEGAL_ENTITY_NAME</code>, <code>INVOICING_ENTITY</code>,
5458
5659
  * <code>LINKED_ACCOUNT</code>, <code>OPERATION</code>, <code>PLATFORM</code>,
@@ -5460,6 +5661,16 @@ export interface GetCostAndUsageRequest {
5460
5661
  * <code>RECORD_TYPE</code>, and <code>USAGE_TYPE</code>.</p>
5461
5662
  * <p>When you group by the <code>TAG</code> type and include a valid tag key, you get all
5462
5663
  * tag values, including empty strings.</p>
5664
+ * <p>To group by the <code>PRODUCT_ATTRIBUTE</code> type, set <code>Key</code> to a
5665
+ * product attribute key, such as <code>model</code>. For the keys of each supported service, see
5666
+ * <a href="https://docs.aws.amazon.com/aws-cost-management/latest/APIReference/API_ProductAttributeValues.html">ProductAttributeValues</a>. The results include only the costs of supported services, and if you have no
5667
+ * such costs, the response contains no groups.</p>
5668
+ * <p>In the response, each group key has the format <code>key$value</code>, for example,
5669
+ * <code>model$Claude Sonnet 5</code>. Costs that have no value for the key are in the group
5670
+ * <code>key$</code>, for example, <code>model$</code>. Remove the <code>key$</code> prefix
5671
+ * before you use a value in a <code>ProductAttributes</code> filter. Keys are case-sensitive: if
5672
+ * you group by a key that doesn't exist, such as <code>Model</code>, all of your costs of
5673
+ * supported services are in the group <code>Model$</code>.</p>
5463
5674
  * @public
5464
5675
  */
5465
5676
  GroupBy?: GroupDefinition[] | undefined;
@@ -5511,10 +5722,12 @@ export interface GetCostAndUsageWithResourcesRequest {
5511
5722
  * <code>"SERVICE = Amazon Elastic Compute Cloud - Compute"</code> in the filter.</p>
5512
5723
  * <p>Valid values for <code>MatchOptions</code> for <code>Dimensions</code> are
5513
5724
  * <code>EQUALS</code> and <code>CASE_SENSITIVE</code>.</p>
5514
- * <p>Valid values for <code>MatchOptions</code> for <code>CostCategories</code> and
5515
- * <code>Tags</code> are <code>EQUALS</code>, <code>ABSENT</code>, and
5516
- * <code>CASE_SENSITIVE</code>. Default values are <code>EQUALS</code> and
5517
- * <code>CASE_SENSITIVE</code>.</p>
5725
+ * <p>Valid values for <code>MatchOptions</code> for <code>CostCategories</code>,
5726
+ * <code>Tags</code>, and <code>ProductAttributes</code> are <code>EQUALS</code>,
5727
+ * <code>ABSENT</code>, and <code>CASE_SENSITIVE</code>. Default values are <code>EQUALS</code>
5728
+ * and <code>CASE_SENSITIVE</code>.</p>
5729
+ * <p>If you filter or group by product attributes, the <code>SERVICE</code> filter rules are
5730
+ * the same as for <a href="https://docs.aws.amazon.com/aws-cost-management/latest/APIReference/API_GetCostAndUsage.html">GetCostAndUsage</a>.</p>
5518
5731
  * @public
5519
5732
  */
5520
5733
  Filter: Expression | undefined;
@@ -5542,7 +5755,12 @@ export interface GetCostAndUsageWithResourcesRequest {
5542
5755
  Metrics?: string[] | undefined;
5543
5756
  /**
5544
5757
  * <p>You can group Amazon Web Services costs using up to two different groups:
5545
- * <code>DIMENSION</code>, <code>TAG</code>, <code>COST_CATEGORY</code>.</p>
5758
+ * <code>DIMENSION</code>, <code>TAG</code>, <code>COST_CATEGORY</code>, and
5759
+ * <code>PRODUCT_ATTRIBUTE</code>.</p>
5760
+ * <p>
5761
+ * <code>PRODUCT_ATTRIBUTE</code> groups work the same way as in <a href="https://docs.aws.amazon.com/aws-cost-management/latest/APIReference/API_GetCostAndUsage.html">GetCostAndUsage</a>. A
5762
+ * <code>PRODUCT_ATTRIBUTE</code> group or a <code>ProductAttributes</code> filter doesn't meet
5763
+ * the requirement to group by or filter by a <code>ResourceId</code>.</p>
5546
5764
  * @public
5547
5765
  */
5548
5766
  GroupBy?: GroupDefinition[] | undefined;
@@ -5595,9 +5813,10 @@ export interface GetCostCategoriesRequest {
5595
5813
  * <p>Simple dimension values.</p>
5596
5814
  * <ul>
5597
5815
  * <li>
5598
- * <p>There are three types of simple dimension values:
5599
- * <code>CostCategories</code>, <code>Tags</code>, and
5600
- * <code>Dimensions</code>.</p>
5816
+ * <p>There are four types of simple dimension values:
5817
+ * <code>CostCategories</code>, <code>Tags</code>,
5818
+ * <code>Dimensions</code>, and
5819
+ * <code>ProductAttributes</code>.</p>
5601
5820
  * <ul>
5602
5821
  * <li>
5603
5822
  * <p>Specify the <code>CostCategories</code> field to define a
@@ -5613,6 +5832,20 @@ export interface GetCostCategoriesRequest {
5613
5832
  * <code>DimensionValues</code>
5614
5833
  * </a>.</p>
5615
5834
  * </li>
5835
+ * <li>
5836
+ * <p>Specify the <code>ProductAttributes</code> field to define a
5837
+ * filter that acts on the product attributes of supported
5838
+ * services, such as Amazon Bedrock. Only
5839
+ * <code>GetCostAndUsage</code>,
5840
+ * <code>GetCostAndUsageWithResources</code>,
5841
+ * <code>GetDimensionValues</code> (in the
5842
+ * <code>COST_AND_USAGE</code> context),
5843
+ * <code>GetTags</code>, and <code>GetCostCategories</code>
5844
+ * support <code>ProductAttributes</code>. For the supported
5845
+ * services, keys and <code>SERVICE</code> filter rules, see <a href="https://docs.aws.amazon.com/aws-cost-management/latest/APIReference/API_ProductAttributeValues.html">
5846
+ * <code>ProductAttributeValues</code>
5847
+ * </a>.</p>
5848
+ * </li>
5616
5849
  * </ul>
5617
5850
  * </li>
5618
5851
  * <li>
@@ -5829,9 +6062,10 @@ export interface GetCostComparisonDriversRequest {
5829
6062
  * <p>Simple dimension values.</p>
5830
6063
  * <ul>
5831
6064
  * <li>
5832
- * <p>There are three types of simple dimension values:
5833
- * <code>CostCategories</code>, <code>Tags</code>, and
5834
- * <code>Dimensions</code>.</p>
6065
+ * <p>There are four types of simple dimension values:
6066
+ * <code>CostCategories</code>, <code>Tags</code>,
6067
+ * <code>Dimensions</code>, and
6068
+ * <code>ProductAttributes</code>.</p>
5835
6069
  * <ul>
5836
6070
  * <li>
5837
6071
  * <p>Specify the <code>CostCategories</code> field to define a
@@ -5847,6 +6081,20 @@ export interface GetCostComparisonDriversRequest {
5847
6081
  * <code>DimensionValues</code>
5848
6082
  * </a>.</p>
5849
6083
  * </li>
6084
+ * <li>
6085
+ * <p>Specify the <code>ProductAttributes</code> field to define a
6086
+ * filter that acts on the product attributes of supported
6087
+ * services, such as Amazon Bedrock. Only
6088
+ * <code>GetCostAndUsage</code>,
6089
+ * <code>GetCostAndUsageWithResources</code>,
6090
+ * <code>GetDimensionValues</code> (in the
6091
+ * <code>COST_AND_USAGE</code> context),
6092
+ * <code>GetTags</code>, and <code>GetCostCategories</code>
6093
+ * support <code>ProductAttributes</code>. For the supported
6094
+ * services, keys and <code>SERVICE</code> filter rules, see <a href="https://docs.aws.amazon.com/aws-cost-management/latest/APIReference/API_ProductAttributeValues.html">
6095
+ * <code>ProductAttributeValues</code>
6096
+ * </a>.</p>
6097
+ * </li>
5850
6098
  * </ul>
5851
6099
  * </li>
5852
6100
  * <li>
@@ -6164,9 +6412,30 @@ export interface GetDimensionValuesRequest {
6164
6412
  * <p>The name of the dimension. Each <code>Dimension</code> is available for a different
6165
6413
  * <code>Context</code>. For more information, see <code>Context</code>.
6166
6414
  * <code>LINK_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/AAPI_CostCategoryRule.html">CostCategoryRule</a>. </p>
6415
+ * <p>
6416
+ * <code>PRODUCT_ATTRIBUTE</code> returns the product attribute keys that are available for
6417
+ * your costs of supported services, or the values of the key that you specify in
6418
+ * <code>DimensionKey</code>. <code>PRODUCT_ATTRIBUTE</code> is supported only in the
6419
+ * <code>COST_AND_USAGE</code> context.</p>
6167
6420
  * @public
6168
6421
  */
6169
6422
  Dimension: Dimension | undefined;
6423
+ /**
6424
+ * <p>The product attribute key to return values for, such as <code>model</code>. If you omit
6425
+ * <code>DimensionKey</code> or set it to an empty string, the response lists the product
6426
+ * attribute keys that are available for your costs of supported services instead. For the
6427
+ * supported services, see <a href="https://docs.aws.amazon.com/aws-cost-management/latest/APIReference/API_ProductAttributeValues.html">ProductAttributeValues</a>.</p>
6428
+ * <p>If you specify a key, the response lists the values of that key. If some of your costs
6429
+ * have no value for the key, the response includes an empty-string value. Keys are
6430
+ * case-sensitive, and a key that doesn't exist returns no values other than an empty
6431
+ * string.</p>
6432
+ * <p>You can specify <code>DimensionKey</code> only when <code>Dimension</code> is
6433
+ * <code>PRODUCT_ATTRIBUTE</code>. If you also specify <code>SortBy</code>,
6434
+ * <code>DimensionKey</code> is required. As a result, you can't list product attribute keys when
6435
+ * you use <code>SortBy</code>.</p>
6436
+ * @public
6437
+ */
6438
+ DimensionKey?: string | undefined;
6170
6439
  /**
6171
6440
  * <p>The context for the call to <code>GetDimensionValues</code>. This can be
6172
6441
  * <code>RESERVATIONS</code> or <code>COST_AND_USAGE</code>. The default value is
@@ -6237,6 +6506,10 @@ export interface GetDimensionValuesRequest {
6237
6506
  * Linux.</p>
6238
6507
  * </li>
6239
6508
  * <li>
6509
+ * <p>PRODUCT_ATTRIBUTE - The product attributes of supported services, such as the model
6510
+ * provider or the model for Amazon Bedrock.</p>
6511
+ * </li>
6512
+ * <li>
6240
6513
  * <p>PURCHASE_TYPE - The reservation type of the purchase that this usage is related to.
6241
6514
  * Examples include On-Demand Instances and Standard Reserved Instances.</p>
6242
6515
  * </li>
@@ -6358,9 +6631,10 @@ export interface GetDimensionValuesRequest {
6358
6631
  * <p>Simple dimension values.</p>
6359
6632
  * <ul>
6360
6633
  * <li>
6361
- * <p>There are three types of simple dimension values:
6362
- * <code>CostCategories</code>, <code>Tags</code>, and
6363
- * <code>Dimensions</code>.</p>
6634
+ * <p>There are four types of simple dimension values:
6635
+ * <code>CostCategories</code>, <code>Tags</code>,
6636
+ * <code>Dimensions</code>, and
6637
+ * <code>ProductAttributes</code>.</p>
6364
6638
  * <ul>
6365
6639
  * <li>
6366
6640
  * <p>Specify the <code>CostCategories</code> field to define a
@@ -6376,6 +6650,20 @@ export interface GetDimensionValuesRequest {
6376
6650
  * <code>DimensionValues</code>
6377
6651
  * </a>.</p>
6378
6652
  * </li>
6653
+ * <li>
6654
+ * <p>Specify the <code>ProductAttributes</code> field to define a
6655
+ * filter that acts on the product attributes of supported
6656
+ * services, such as Amazon Bedrock. Only
6657
+ * <code>GetCostAndUsage</code>,
6658
+ * <code>GetCostAndUsageWithResources</code>,
6659
+ * <code>GetDimensionValues</code> (in the
6660
+ * <code>COST_AND_USAGE</code> context),
6661
+ * <code>GetTags</code>, and <code>GetCostCategories</code>
6662
+ * support <code>ProductAttributes</code>. For the supported
6663
+ * services, keys and <code>SERVICE</code> filter rules, see <a href="https://docs.aws.amazon.com/aws-cost-management/latest/APIReference/API_ProductAttributeValues.html">
6664
+ * <code>ProductAttributeValues</code>
6665
+ * </a>.</p>
6666
+ * </li>
6379
6667
  * </ul>
6380
6668
  * </li>
6381
6669
  * <li>
@@ -6771,9 +7059,10 @@ export interface GetReservationPurchaseRecommendationRequest {
6771
7059
  * <p>Simple dimension values.</p>
6772
7060
  * <ul>
6773
7061
  * <li>
6774
- * <p>There are three types of simple dimension values:
6775
- * <code>CostCategories</code>, <code>Tags</code>, and
6776
- * <code>Dimensions</code>.</p>
7062
+ * <p>There are four types of simple dimension values:
7063
+ * <code>CostCategories</code>, <code>Tags</code>,
7064
+ * <code>Dimensions</code>, and
7065
+ * <code>ProductAttributes</code>.</p>
6777
7066
  * <ul>
6778
7067
  * <li>
6779
7068
  * <p>Specify the <code>CostCategories</code> field to define a
@@ -6789,6 +7078,20 @@ export interface GetReservationPurchaseRecommendationRequest {
6789
7078
  * <code>DimensionValues</code>
6790
7079
  * </a>.</p>
6791
7080
  * </li>
7081
+ * <li>
7082
+ * <p>Specify the <code>ProductAttributes</code> field to define a
7083
+ * filter that acts on the product attributes of supported
7084
+ * services, such as Amazon Bedrock. Only
7085
+ * <code>GetCostAndUsage</code>,
7086
+ * <code>GetCostAndUsageWithResources</code>,
7087
+ * <code>GetDimensionValues</code> (in the
7088
+ * <code>COST_AND_USAGE</code> context),
7089
+ * <code>GetTags</code>, and <code>GetCostCategories</code>
7090
+ * support <code>ProductAttributes</code>. For the supported
7091
+ * services, keys and <code>SERVICE</code> filter rules, see <a href="https://docs.aws.amazon.com/aws-cost-management/latest/APIReference/API_ProductAttributeValues.html">
7092
+ * <code>ProductAttributeValues</code>
7093
+ * </a>.</p>
7094
+ * </li>
6792
7095
  * </ul>
6793
7096
  * </li>
6794
7097
  * <li>
@@ -7135,9 +7438,10 @@ export interface GetRightsizingRecommendationRequest {
7135
7438
  * <p>Simple dimension values.</p>
7136
7439
  * <ul>
7137
7440
  * <li>
7138
- * <p>There are three types of simple dimension values:
7139
- * <code>CostCategories</code>, <code>Tags</code>, and
7140
- * <code>Dimensions</code>.</p>
7441
+ * <p>There are four types of simple dimension values:
7442
+ * <code>CostCategories</code>, <code>Tags</code>,
7443
+ * <code>Dimensions</code>, and
7444
+ * <code>ProductAttributes</code>.</p>
7141
7445
  * <ul>
7142
7446
  * <li>
7143
7447
  * <p>Specify the <code>CostCategories</code> field to define a
@@ -7153,6 +7457,20 @@ export interface GetRightsizingRecommendationRequest {
7153
7457
  * <code>DimensionValues</code>
7154
7458
  * </a>.</p>
7155
7459
  * </li>
7460
+ * <li>
7461
+ * <p>Specify the <code>ProductAttributes</code> field to define a
7462
+ * filter that acts on the product attributes of supported
7463
+ * services, such as Amazon Bedrock. Only
7464
+ * <code>GetCostAndUsage</code>,
7465
+ * <code>GetCostAndUsageWithResources</code>,
7466
+ * <code>GetDimensionValues</code> (in the
7467
+ * <code>COST_AND_USAGE</code> context),
7468
+ * <code>GetTags</code>, and <code>GetCostCategories</code>
7469
+ * support <code>ProductAttributes</code>. For the supported
7470
+ * services, keys and <code>SERVICE</code> filter rules, see <a href="https://docs.aws.amazon.com/aws-cost-management/latest/APIReference/API_ProductAttributeValues.html">
7471
+ * <code>ProductAttributeValues</code>
7472
+ * </a>.</p>
7473
+ * </li>
7156
7474
  * </ul>
7157
7475
  * </li>
7158
7476
  * <li>
@@ -7697,9 +8015,10 @@ export interface GetTagsRequest {
7697
8015
  * <p>Simple dimension values.</p>
7698
8016
  * <ul>
7699
8017
  * <li>
7700
- * <p>There are three types of simple dimension values:
7701
- * <code>CostCategories</code>, <code>Tags</code>, and
7702
- * <code>Dimensions</code>.</p>
8018
+ * <p>There are four types of simple dimension values:
8019
+ * <code>CostCategories</code>, <code>Tags</code>,
8020
+ * <code>Dimensions</code>, and
8021
+ * <code>ProductAttributes</code>.</p>
7703
8022
  * <ul>
7704
8023
  * <li>
7705
8024
  * <p>Specify the <code>CostCategories</code> field to define a
@@ -7715,6 +8034,20 @@ export interface GetTagsRequest {
7715
8034
  * <code>DimensionValues</code>
7716
8035
  * </a>.</p>
7717
8036
  * </li>
8037
+ * <li>
8038
+ * <p>Specify the <code>ProductAttributes</code> field to define a
8039
+ * filter that acts on the product attributes of supported
8040
+ * services, such as Amazon Bedrock. Only
8041
+ * <code>GetCostAndUsage</code>,
8042
+ * <code>GetCostAndUsageWithResources</code>,
8043
+ * <code>GetDimensionValues</code> (in the
8044
+ * <code>COST_AND_USAGE</code> context),
8045
+ * <code>GetTags</code>, and <code>GetCostCategories</code>
8046
+ * support <code>ProductAttributes</code>. For the supported
8047
+ * services, keys and <code>SERVICE</code> filter rules, see <a href="https://docs.aws.amazon.com/aws-cost-management/latest/APIReference/API_ProductAttributeValues.html">
8048
+ * <code>ProductAttributeValues</code>
8049
+ * </a>.</p>
8050
+ * </li>
7718
8051
  * </ul>
7719
8052
  * </li>
7720
8053
  * <li>