@aws-sdk/client-cost-explorer 3.1182.0 → 3.1184.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.
- package/dist-cjs/index.js +5 -1
- package/dist-es/models/enums.js +4 -0
- package/dist-types/commands/CreateAnomalyMonitorCommand.d.ts +2 -2
- package/dist-types/commands/CreateAnomalySubscriptionCommand.d.ts +2 -2
- package/dist-types/commands/CreateCostCategoryDefinitionCommand.d.ts +2 -2
- package/dist-types/commands/DescribeCostCategoryDefinitionCommand.d.ts +2 -2
- package/dist-types/commands/GetAnomalyMonitorsCommand.d.ts +2 -2
- package/dist-types/commands/GetAnomalySubscriptionsCommand.d.ts +2 -2
- package/dist-types/commands/GetCostAndUsageCommand.d.ts +2 -2
- package/dist-types/commands/GetCostAndUsageComparisonsCommand.d.ts +4 -4
- package/dist-types/commands/GetCostAndUsageWithResourcesCommand.d.ts +2 -2
- package/dist-types/commands/GetCostCategoriesCommand.d.ts +2 -2
- package/dist-types/commands/GetCostComparisonDriversCommand.d.ts +4 -4
- package/dist-types/commands/GetCostForecastCommand.d.ts +3 -3
- package/dist-types/commands/GetDimensionValuesCommand.d.ts +3 -3
- package/dist-types/commands/GetReservationCoverageCommand.d.ts +9 -6
- package/dist-types/commands/GetReservationPurchaseRecommendationCommand.d.ts +2 -2
- package/dist-types/commands/GetReservationUtilizationCommand.d.ts +2 -2
- package/dist-types/commands/GetRightsizingRecommendationCommand.d.ts +2 -2
- package/dist-types/commands/GetSavingsPlansCoverageCommand.d.ts +7 -6
- package/dist-types/commands/GetSavingsPlansPurchaseRecommendationCommand.d.ts +2 -2
- package/dist-types/commands/GetSavingsPlansUtilizationCommand.d.ts +2 -2
- package/dist-types/commands/GetSavingsPlansUtilizationDetailsCommand.d.ts +2 -2
- package/dist-types/commands/GetTagsCommand.d.ts +2 -2
- package/dist-types/commands/GetUsageForecastCommand.d.ts +3 -3
- package/dist-types/commands/ListCostCategoryResourceAssociationsCommand.d.ts +1 -1
- package/dist-types/commands/UpdateAnomalySubscriptionCommand.d.ts +2 -2
- package/dist-types/commands/UpdateCostCategoryDefinitionCommand.d.ts +2 -2
- package/dist-types/models/enums.d.ts +4 -0
- package/dist-types/models/models_0.d.ts +413 -275
- package/dist-types/ts3.4/models/enums.d.ts +4 -0
- package/package.json +1 -1
|
@@ -502,13 +502,22 @@ export interface AnomalyDateInterval {
|
|
|
502
502
|
}
|
|
503
503
|
/**
|
|
504
504
|
* <p>The Cost Categories values used for filtering the costs.</p>
|
|
505
|
-
* <p>
|
|
506
|
-
*
|
|
507
|
-
*
|
|
508
|
-
*
|
|
509
|
-
* <code>
|
|
510
|
-
*
|
|
511
|
-
*
|
|
505
|
+
* <p>In operations that support <code>ABSENT</code>, such as <code>GetCostAndUsage</code>,
|
|
506
|
+
* you can filter on resources that aren't mapped to any Cost Categories. Set
|
|
507
|
+
* <code>MatchOptions</code> to <code>ABSENT</code> and omit <code>Key</code> and
|
|
508
|
+
* <code>Values</code>. Not all operations support <code>ABSENT</code>. For example,
|
|
509
|
+
* <code>GetReservationCoverage</code>, <code>GetSavingsPlansCoverage</code>, and cost
|
|
510
|
+
* category rules don't.</p>
|
|
511
|
+
* <p>To filter on resources without a given Cost Categories key, set
|
|
512
|
+
* <code>MatchOptions</code> to <code>ABSENT</code>, specify the <code>Key</code>,
|
|
513
|
+
* and omit <code>Values</code>.</p>
|
|
514
|
+
* <p>A <code>Key</code> without <code>Values</code> doesn't apply <code>ABSENT</code>. In
|
|
515
|
+
* Cost Explorer operations such as <code>GetCostAndUsage</code>, unless
|
|
516
|
+
* <code>MatchOptions</code> includes <code>ABSENT</code>, you must specify both
|
|
517
|
+
* <code>Key</code> and <code>Values</code>, or the request fails with a
|
|
518
|
+
* <code>ValidationException</code>.</p>
|
|
519
|
+
* <p>If <code>MatchOptions</code> includes <code>ABSENT</code> and you also specify
|
|
520
|
+
* <code>Values</code>, the request fails with a <code>ValidationException</code>.</p>
|
|
512
521
|
* @public
|
|
513
522
|
*/
|
|
514
523
|
export interface CostCategoryValues {
|
|
@@ -523,10 +532,27 @@ export interface CostCategoryValues {
|
|
|
523
532
|
*/
|
|
524
533
|
Values?: string[] | undefined;
|
|
525
534
|
/**
|
|
526
|
-
* <p>The match options that you can use to filter your results.
|
|
527
|
-
*
|
|
528
|
-
*
|
|
529
|
-
*
|
|
535
|
+
* <p>The match options that you can use to filter your results. The supported values
|
|
536
|
+
* depend on the operation. Refer to the documentation for each specific API to see what is
|
|
537
|
+
* supported. For example, <code>GetCostAndUsage</code> supports the following
|
|
538
|
+
* values:</p>
|
|
539
|
+
* <ul>
|
|
540
|
+
* <li>
|
|
541
|
+
* <p>
|
|
542
|
+
* <code>EQUALS</code> - Matches values exactly.</p>
|
|
543
|
+
* </li>
|
|
544
|
+
* <li>
|
|
545
|
+
* <p>
|
|
546
|
+
* <code>ABSENT</code> - Matches costs that don't have a value for the
|
|
547
|
+
* key.</p>
|
|
548
|
+
* </li>
|
|
549
|
+
* <li>
|
|
550
|
+
* <p>
|
|
551
|
+
* <code>CASE_SENSITIVE</code> - Matches values with case sensitivity.</p>
|
|
552
|
+
* </li>
|
|
553
|
+
* </ul>
|
|
554
|
+
* <p>The default values for <code>MatchOptions</code> are <code>EQUALS</code> and
|
|
555
|
+
* <code>CASE_SENSITIVE</code>.</p>
|
|
530
556
|
* @public
|
|
531
557
|
*/
|
|
532
558
|
MatchOptions?: MatchOption[] | undefined;
|
|
@@ -563,10 +589,12 @@ export interface DimensionValues {
|
|
|
563
589
|
Values?: string[] | undefined;
|
|
564
590
|
/**
|
|
565
591
|
* <p>The match options that you can use to filter your results.</p>
|
|
566
|
-
* <p>
|
|
567
|
-
*
|
|
568
|
-
*
|
|
569
|
-
*
|
|
592
|
+
* <p>The supported <code>MatchOptions</code> values depend on the operation. Refer to the
|
|
593
|
+
* documentation for each specific API to see what is supported. For example, for
|
|
594
|
+
* <code>Dimensions</code> filters, <code>GetCostAndUsage</code> supports only
|
|
595
|
+
* <code>EQUALS</code> and <code>CASE_SENSITIVE</code>. Other match options are
|
|
596
|
+
* supported only by specific operations, such as cost category rules and anomaly
|
|
597
|
+
* subscriptions.</p>
|
|
570
598
|
* <p>The default values for <code>MatchOptions</code> are <code>EQUALS</code> and
|
|
571
599
|
* <code>CASE_SENSITIVE</code>.</p>
|
|
572
600
|
* @public
|
|
@@ -695,18 +723,29 @@ export interface ProductAttributeValues {
|
|
|
695
723
|
}
|
|
696
724
|
/**
|
|
697
725
|
* <p>The values that are available for a tag.</p>
|
|
698
|
-
* <p>
|
|
699
|
-
*
|
|
700
|
-
*
|
|
701
|
-
*
|
|
702
|
-
*
|
|
703
|
-
*
|
|
704
|
-
*
|
|
726
|
+
* <p>In operations that support <code>ABSENT</code>, such as <code>GetCostAndUsage</code>,
|
|
727
|
+
* you can filter on resources with no tags. Set <code>MatchOptions</code> to
|
|
728
|
+
* <code>ABSENT</code> and omit <code>Key</code> and <code>Values</code>. Not all
|
|
729
|
+
* operations support <code>ABSENT</code>. For example, <code>GetReservationCoverage</code>
|
|
730
|
+
* and <code>GetSavingsPlansCoverage</code> don't.</p>
|
|
731
|
+
* <p>To filter on resources without a given tag key, set <code>MatchOptions</code> to
|
|
732
|
+
* <code>ABSENT</code>, specify the <code>Key</code>, and omit
|
|
733
|
+
* <code>Values</code>.</p>
|
|
734
|
+
* <p>A <code>Key</code> without <code>Values</code> doesn't apply <code>ABSENT</code>. In
|
|
735
|
+
* Cost Explorer operations such as <code>GetCostAndUsage</code>, unless
|
|
736
|
+
* <code>MatchOptions</code> includes <code>ABSENT</code>, you must specify both
|
|
737
|
+
* <code>Key</code> and <code>Values</code>, or the request fails with a
|
|
738
|
+
* <code>ValidationException</code>.</p>
|
|
739
|
+
* <p>If <code>MatchOptions</code> includes <code>ABSENT</code> and you also specify
|
|
740
|
+
* <code>Values</code>, the request fails with a <code>ValidationException</code>.</p>
|
|
705
741
|
* @public
|
|
706
742
|
*/
|
|
707
743
|
export interface TagValues {
|
|
708
744
|
/**
|
|
709
745
|
* <p>The key for the tag.</p>
|
|
746
|
+
* <p>Specify user-defined tag keys without the <code>user:</code> prefix. For example, use
|
|
747
|
+
* <code>team</code>, not <code>user:team</code>. Tag keys that Amazon Web Services
|
|
748
|
+
* generates keep their <code>aws:</code> prefix.</p>
|
|
710
749
|
* @public
|
|
711
750
|
*/
|
|
712
751
|
Key?: string | undefined;
|
|
@@ -716,10 +755,27 @@ export interface TagValues {
|
|
|
716
755
|
*/
|
|
717
756
|
Values?: string[] | undefined;
|
|
718
757
|
/**
|
|
719
|
-
* <p>The match options that you can use to filter your results.
|
|
720
|
-
*
|
|
721
|
-
*
|
|
722
|
-
*
|
|
758
|
+
* <p>The match options that you can use to filter your results. The supported values
|
|
759
|
+
* depend on the operation. Refer to the documentation for each specific API to see what is
|
|
760
|
+
* supported. For example, <code>GetCostAndUsage</code> supports the following
|
|
761
|
+
* values:</p>
|
|
762
|
+
* <ul>
|
|
763
|
+
* <li>
|
|
764
|
+
* <p>
|
|
765
|
+
* <code>EQUALS</code> - Matches values exactly.</p>
|
|
766
|
+
* </li>
|
|
767
|
+
* <li>
|
|
768
|
+
* <p>
|
|
769
|
+
* <code>ABSENT</code> - Matches costs that don't have a value for the
|
|
770
|
+
* key.</p>
|
|
771
|
+
* </li>
|
|
772
|
+
* <li>
|
|
773
|
+
* <p>
|
|
774
|
+
* <code>CASE_SENSITIVE</code> - Matches values with case sensitivity.</p>
|
|
775
|
+
* </li>
|
|
776
|
+
* </ul>
|
|
777
|
+
* <p>The default values for <code>MatchOptions</code> are <code>EQUALS</code> and
|
|
778
|
+
* <code>CASE_SENSITIVE</code>.</p>
|
|
723
779
|
* @public
|
|
724
780
|
*/
|
|
725
781
|
MatchOptions?: MatchOption[] | undefined;
|
|
@@ -1418,7 +1474,10 @@ export interface GetCostCategoriesResponse {
|
|
|
1418
1474
|
*/
|
|
1419
1475
|
ReturnSize: number | undefined;
|
|
1420
1476
|
/**
|
|
1421
|
-
* <p>The total number of objects
|
|
1477
|
+
* <p>The total number of objects. When you specify <code>SortBy</code>, <code>TotalSize</code> equals
|
|
1478
|
+
* <code>ReturnSize</code>: the number of values that Cost Explorer returns after it applies
|
|
1479
|
+
* the <code>MaxResults</code> limit, not the number of values that match the request. Without <code>SortBy</code>,
|
|
1480
|
+
* <code>TotalSize</code> can be greater than <code>ReturnSize</code>.</p>
|
|
1422
1481
|
* @public
|
|
1423
1482
|
*/
|
|
1424
1483
|
TotalSize: number | undefined;
|
|
@@ -1498,7 +1557,7 @@ export interface GetCostForecastResponse {
|
|
|
1498
1557
|
*/
|
|
1499
1558
|
export interface GetDimensionValuesResponse {
|
|
1500
1559
|
/**
|
|
1501
|
-
* <p>The
|
|
1560
|
+
* <p>The dimension values that match your request. Some dimensions are available only
|
|
1502
1561
|
* for a specific context.</p>
|
|
1503
1562
|
* <p>If you set the context to <code>COST_AND_USAGE</code>, you can use the following
|
|
1504
1563
|
* dimensions for searching:</p>
|
|
@@ -1507,8 +1566,9 @@ export interface GetDimensionValuesResponse {
|
|
|
1507
1566
|
* <p>AZ - The Availability Zone. An example is <code>us-east-1a</code>.</p>
|
|
1508
1567
|
* </li>
|
|
1509
1568
|
* <li>
|
|
1510
|
-
* <p>DATABASE_ENGINE - The Amazon Relational Database Service database. Examples
|
|
1511
|
-
* Aurora
|
|
1569
|
+
* <p>DATABASE_ENGINE - The Amazon Relational Database Service database engine. Examples
|
|
1570
|
+
* are <code>Aurora MySQL</code>, <code>Aurora PostgreSQL</code>, and
|
|
1571
|
+
* <code>MySQL</code>.</p>
|
|
1512
1572
|
* </li>
|
|
1513
1573
|
* <li>
|
|
1514
1574
|
* <p>INSTANCE_TYPE - The type of Amazon EC2 instance. An example is
|
|
@@ -1524,19 +1584,22 @@ export interface GetDimensionValuesResponse {
|
|
|
1524
1584
|
* account.</p>
|
|
1525
1585
|
* </li>
|
|
1526
1586
|
* <li>
|
|
1527
|
-
* <p>OPERATING_SYSTEM - The operating system. Examples are
|
|
1587
|
+
* <p>OPERATING_SYSTEM - The operating system. Examples are <code>Linux/UNIX</code>,
|
|
1588
|
+
* <code>Windows (Amazon VPC)</code>, and <code>Red Hat Enterprise Linux</code>.</p>
|
|
1528
1589
|
* </li>
|
|
1529
1590
|
* <li>
|
|
1530
1591
|
* <p>OPERATION - The action performed. Examples include <code>RunInstance</code> and
|
|
1531
1592
|
* <code>CreateBucket</code>.</p>
|
|
1532
1593
|
* </li>
|
|
1533
1594
|
* <li>
|
|
1534
|
-
* <p>PLATFORM - The
|
|
1535
|
-
*
|
|
1595
|
+
* <p>PLATFORM - The operating system or platform of the usage. Examples are
|
|
1596
|
+
* <code>Linux/UNIX</code>, <code>Windows (Amazon VPC)</code>, and <code>Red Hat Enterprise
|
|
1597
|
+
* Linux</code>.</p>
|
|
1536
1598
|
* </li>
|
|
1537
1599
|
* <li>
|
|
1538
1600
|
* <p>PURCHASE_TYPE - The reservation type of the purchase to which this usage is
|
|
1539
|
-
* related. Examples include On
|
|
1601
|
+
* related. Examples include <code>On Demand Instances</code>, <code>Standard Reserved
|
|
1602
|
+
* Instances</code>, <code>Spot Instances</code>, and <code>Savings Plans</code>.</p>
|
|
1540
1603
|
* </li>
|
|
1541
1604
|
* <li>
|
|
1542
1605
|
* <p>SERVICE - The Amazon Web Services service such as Amazon DynamoDB.</p>
|
|
@@ -1552,12 +1615,13 @@ export interface GetDimensionValuesResponse {
|
|
|
1552
1615
|
* </li>
|
|
1553
1616
|
* <li>
|
|
1554
1617
|
* <p>RECORD_TYPE - The different types of charges such as RI fees, usage costs, tax
|
|
1555
|
-
* refunds, and credits
|
|
1618
|
+
* refunds, and credits. Examples include <code>Usage</code>, <code>Credit</code>, <code>Tax</code>,
|
|
1619
|
+
* <code>Recurring</code>, <code>Upfront</code>, and <code>Support</code>.</p>
|
|
1556
1620
|
* </li>
|
|
1557
1621
|
* <li>
|
|
1558
1622
|
* <p>RESOURCE_ID - The unique identifier of the resource. ResourceId is an opt-in
|
|
1559
|
-
* feature
|
|
1560
|
-
*
|
|
1623
|
+
* feature that is available for the last 14 days. You can opt in by enabling resource-level
|
|
1624
|
+
* data for the services that you want in Cost Management Console preferences.</p>
|
|
1561
1625
|
* </li>
|
|
1562
1626
|
* </ul>
|
|
1563
1627
|
* <p>If you set the context to <code>RESERVATIONS</code>, you can use the following
|
|
@@ -1567,46 +1631,48 @@ export interface GetDimensionValuesResponse {
|
|
|
1567
1631
|
* <p>AZ - The Availability Zone. An example is <code>us-east-1a</code>.</p>
|
|
1568
1632
|
* </li>
|
|
1569
1633
|
* <li>
|
|
1570
|
-
* <p>CACHE_ENGINE - The Amazon ElastiCache operating system. Examples are Windows or
|
|
1571
|
-
* Linux.</p>
|
|
1572
|
-
* </li>
|
|
1573
|
-
* <li>
|
|
1574
|
-
* <p>DEPLOYMENT_OPTION - The scope of Amazon Relational Database Service deployments.
|
|
1575
|
-
* Valid values are <code>SingleAZ</code> and <code>MultiAZ</code>.</p>
|
|
1576
|
-
* </li>
|
|
1577
|
-
* <li>
|
|
1578
1634
|
* <p>INSTANCE_TYPE - The type of Amazon EC2 instance. An example is
|
|
1579
1635
|
* <code>m4.xlarge</code>.</p>
|
|
1580
1636
|
* </li>
|
|
1581
1637
|
* <li>
|
|
1582
|
-
* <p>
|
|
1583
|
-
*
|
|
1584
|
-
* account.</p>
|
|
1638
|
+
* <p>INSTANCE_TYPE_FAMILY - The family of the instance type. An example is
|
|
1639
|
+
* <code>m5</code>.</p>
|
|
1585
1640
|
* </li>
|
|
1586
1641
|
* <li>
|
|
1587
|
-
* <p>
|
|
1588
|
-
*
|
|
1642
|
+
* <p>LINKED_ACCOUNT - The Amazon Web Services ID of the member account. The
|
|
1643
|
+
* <code>name</code> attribute contains the full name of the member account.</p>
|
|
1644
|
+
* </li>
|
|
1645
|
+
* <li>
|
|
1646
|
+
* <p>PLATFORM - The platform of the reservation. For Amazon EC2, examples are
|
|
1647
|
+
* <code>Linux/UNIX</code>, <code>Windows</code>, and <code>Red Hat Enterprise Linux</code>.
|
|
1648
|
+
* For Amazon Relational Database Service and Amazon ElastiCache, the value is the engine,
|
|
1649
|
+
* such as <code>MySQL</code> or <code>Redis</code>. These values can differ from the
|
|
1650
|
+
* <code>COST_AND_USAGE</code> values, for example <code>Windows</code> instead of
|
|
1651
|
+
* <code>Windows (Amazon VPC)</code>.</p>
|
|
1589
1652
|
* </li>
|
|
1590
1653
|
* <li>
|
|
1591
1654
|
* <p>REGION - The Amazon Web Services Region.</p>
|
|
1592
1655
|
* </li>
|
|
1593
1656
|
* <li>
|
|
1594
1657
|
* <p>SCOPE (Utilization only) - The scope of a Reserved Instance (RI). Values are
|
|
1595
|
-
*
|
|
1658
|
+
* <code>Region</code> and <code>Availability Zone</code>.</p>
|
|
1596
1659
|
* </li>
|
|
1597
1660
|
* <li>
|
|
1598
|
-
* <p>
|
|
1599
|
-
*
|
|
1661
|
+
* <p>SERVICE - The Amazon Web Services service of the reservation, such as Amazon
|
|
1662
|
+
* Relational Database Service.</p>
|
|
1600
1663
|
* </li>
|
|
1601
1664
|
* <li>
|
|
1602
|
-
* <p>TENANCY - The tenancy of
|
|
1665
|
+
* <p>TENANCY - The tenancy of the reservation. Values are <code>Shared</code> and
|
|
1666
|
+
* <code>Dedicated</code>.</p>
|
|
1603
1667
|
* </li>
|
|
1604
1668
|
* </ul>
|
|
1605
1669
|
* <p>If you set the context to <code>SAVINGS_PLANS</code>, you can use the following
|
|
1606
1670
|
* dimensions for searching:</p>
|
|
1607
1671
|
* <ul>
|
|
1608
1672
|
* <li>
|
|
1609
|
-
* <p>SAVINGS_PLANS_TYPE - Type of Savings Plans
|
|
1673
|
+
* <p>SAVINGS_PLANS_TYPE - Type of Savings Plans. Examples are
|
|
1674
|
+
* <code>ComputeSavingsPlans</code>, <code>EC2InstanceSavingsPlans</code>,
|
|
1675
|
+
* <code>SageMakerSavingsPlans</code>, and <code>DatabaseSavingsPlans</code>.</p>
|
|
1610
1676
|
* </li>
|
|
1611
1677
|
* <li>
|
|
1612
1678
|
* <p>PAYMENT_OPTION - Payment option for the given Savings Plans (for example, All
|
|
@@ -1620,9 +1686,8 @@ export interface GetDimensionValuesResponse {
|
|
|
1620
1686
|
* <code>m5</code>)</p>
|
|
1621
1687
|
* </li>
|
|
1622
1688
|
* <li>
|
|
1623
|
-
* <p>LINKED_ACCOUNT - The
|
|
1624
|
-
*
|
|
1625
|
-
* account.</p>
|
|
1689
|
+
* <p>LINKED_ACCOUNT - The Amazon Web Services ID of the member account. The
|
|
1690
|
+
* <code>name</code> attribute contains the full name of the member account.</p>
|
|
1626
1691
|
* </li>
|
|
1627
1692
|
* <li>
|
|
1628
1693
|
* <p>SAVINGS_PLAN_ARN - The unique identifier for your Savings Plan</p>
|
|
@@ -1637,7 +1702,11 @@ export interface GetDimensionValuesResponse {
|
|
|
1637
1702
|
*/
|
|
1638
1703
|
ReturnSize: number | undefined;
|
|
1639
1704
|
/**
|
|
1640
|
-
* <p>The total number of search results
|
|
1705
|
+
* <p>The total number of search results. When you specify <code>SortBy</code>, <code>TotalSize</code> equals
|
|
1706
|
+
* <code>ReturnSize</code>: the number of values that Cost Explorer returns after it applies
|
|
1707
|
+
* the <code>MaxResults</code> limit, not the number of values that match the request. In the <code>COST_AND_USAGE</code>
|
|
1708
|
+
* context without <code>SortBy</code>, <code>TotalSize</code> can be greater than
|
|
1709
|
+
* <code>ReturnSize</code>.</p>
|
|
1641
1710
|
* @public
|
|
1642
1711
|
*/
|
|
1643
1712
|
TotalSize: number | undefined;
|
|
@@ -1649,12 +1718,15 @@ export interface GetDimensionValuesResponse {
|
|
|
1649
1718
|
NextPageToken?: string | undefined;
|
|
1650
1719
|
}
|
|
1651
1720
|
/**
|
|
1652
|
-
* <p>
|
|
1721
|
+
* <p>The cost of the On-Demand Instance usage that reservations didn't cover.</p>
|
|
1653
1722
|
* @public
|
|
1654
1723
|
*/
|
|
1655
1724
|
export interface CoverageCost {
|
|
1656
1725
|
/**
|
|
1657
|
-
* <p>
|
|
1726
|
+
* <p>The cost of the On-Demand Instance usage that reservations didn't cover (the usage in
|
|
1727
|
+
* <code>OnDemandHours</code>), at public On-Demand rates. It doesn't include Spot
|
|
1728
|
+
* usage or usage that Savings Plans covered. This isn't your billed cost. It's 0 for usage
|
|
1729
|
+
* that has no public On-Demand rate.</p>
|
|
1658
1730
|
* @public
|
|
1659
1731
|
*/
|
|
1660
1732
|
OnDemandCost?: string | undefined;
|
|
@@ -1738,7 +1810,8 @@ export interface Coverage {
|
|
|
1738
1810
|
*/
|
|
1739
1811
|
CoverageNormalizedUnits?: CoverageNormalizedUnits | undefined;
|
|
1740
1812
|
/**
|
|
1741
|
-
* <p>The
|
|
1813
|
+
* <p>The cost of the On-Demand Instance usage that reservations didn't cover, at public
|
|
1814
|
+
* On-Demand rates.</p>
|
|
1742
1815
|
* @public
|
|
1743
1816
|
*/
|
|
1744
1817
|
CoverageCost?: CoverageCost | undefined;
|
|
@@ -3809,12 +3882,18 @@ export interface GetSavingsPlansUtilizationDetailsResponse {
|
|
|
3809
3882
|
*/
|
|
3810
3883
|
SavingsPlansUtilizationDetails: SavingsPlansUtilizationDetail[] | undefined;
|
|
3811
3884
|
/**
|
|
3812
|
-
* <p>The total Savings Plans utilization
|
|
3885
|
+
* <p>The total Savings Plans utilization for the Savings Plans in this page of results.
|
|
3886
|
+
* <code>Total</code> covers only the current page, not the whole query. If the response
|
|
3887
|
+
* includes a <code>NextToken</code>, add <code>TotalCommitment</code> and
|
|
3888
|
+
* <code>UsedCommitment</code> across all pages, and then compute the utilization percentage
|
|
3889
|
+
* from those sums.</p>
|
|
3813
3890
|
* @public
|
|
3814
3891
|
*/
|
|
3815
3892
|
Total?: SavingsPlansUtilizationAggregates | undefined;
|
|
3816
3893
|
/**
|
|
3817
|
-
* <p>The time period
|
|
3894
|
+
* <p>The time period that the response covers. <code>End</code> can be earlier than the
|
|
3895
|
+
* <code>End</code> date in the request if utilization data isn't complete for the whole
|
|
3896
|
+
* period.</p>
|
|
3818
3897
|
* @public
|
|
3819
3898
|
*/
|
|
3820
3899
|
TimePeriod: DateInterval | undefined;
|
|
@@ -3846,7 +3925,10 @@ export interface GetTagsResponse {
|
|
|
3846
3925
|
*/
|
|
3847
3926
|
ReturnSize: number | undefined;
|
|
3848
3927
|
/**
|
|
3849
|
-
* <p>The total number of query results
|
|
3928
|
+
* <p>The total number of query results. When you specify <code>SortBy</code>, <code>TotalSize</code> equals
|
|
3929
|
+
* <code>ReturnSize</code>: the number of values that Cost Explorer returns after it applies
|
|
3930
|
+
* the <code>MaxResults</code> limit, not the number of values that match the request. Without <code>SortBy</code>,
|
|
3931
|
+
* <code>TotalSize</code> can be greater than <code>ReturnSize</code>.</p>
|
|
3850
3932
|
* @public
|
|
3851
3933
|
*/
|
|
3852
3934
|
TotalSize: number | undefined;
|
|
@@ -4097,7 +4179,7 @@ export interface ListCostCategoryDefinitionsRequest {
|
|
|
4097
4179
|
MaxResults?: number | undefined;
|
|
4098
4180
|
/**
|
|
4099
4181
|
* <p>
|
|
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:
|
|
4182
|
+
* 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>, <code>billing:creditsharing</code>, <code>billing:benefitlevelsharing</code>, and <code>billing:benefitgroupsharing</code>.
|
|
4101
4183
|
* </p>
|
|
4102
4184
|
* @public
|
|
4103
4185
|
*/
|
|
@@ -4155,7 +4237,7 @@ export interface CostCategoryReference {
|
|
|
4155
4237
|
DefaultValue?: string | undefined;
|
|
4156
4238
|
/**
|
|
4157
4239
|
* <p>
|
|
4158
|
-
* The resource types supported by a specific cost category.
|
|
4240
|
+
* The resource types supported by a specific cost category. The valid values are <code>billing:rispgroupsharing</code>, <code>billing:billingview</code>, <code>billing:creditsharing</code>, <code>billing:benefitlevelsharing</code>, and <code>billing:benefitgroupsharing</code>.
|
|
4159
4241
|
* </p>
|
|
4160
4242
|
* @public
|
|
4161
4243
|
*/
|
|
@@ -4210,7 +4292,7 @@ export interface ListCostCategoryResourceAssociationsRequest {
|
|
|
4210
4292
|
export interface CostCategoryResourceAssociation {
|
|
4211
4293
|
/**
|
|
4212
4294
|
* <p>
|
|
4213
|
-
* The unique identifier for an associated resource.
|
|
4295
|
+
* The unique identifier for an associated resource. For benefit level sharing, the ARN is <code>arn:aws:billing::<accountId>:benefitlevelsharing/<ri|sp>/<benefitId>/<prioritized|restricted></code> or <code>arn:aws:billing::<payerAccountId>:benefitlevelsharing/credit/<creditId></code>. For a Reserved Instance, <code><accountId></code> is the management account. For a Savings Plan, it's the account that owns the Savings Plan. For benefit group sharing, the ARN is <code>arn:aws:billing::<payerAccountId>:benefitgroupsharing/<risp|credit>/<payerAccountId></code>.
|
|
4214
4296
|
* </p>
|
|
4215
4297
|
* @public
|
|
4216
4298
|
*/
|
|
@@ -5637,13 +5719,18 @@ export interface GetCostAndUsageRequest {
|
|
|
5637
5719
|
* <code>NetAmortizedCost</code>, <code>NetUnblendedCost</code>,
|
|
5638
5720
|
* <code>NormalizedUsageAmount</code>, <code>UnblendedCost</code>,
|
|
5639
5721
|
* <code>UsageQuantity</code>, <code>BilledCost</code>, <code>ContractedCost</code>,
|
|
5640
|
-
* <code>ListCost</code>, <code>PublicEquivalentBilledCost</code>,
|
|
5641
|
-
* <code>PublicOnDemandCost</code>. </p>
|
|
5722
|
+
* <code>ListCost</code>, <code>PublicEquivalentBilledCost</code>,
|
|
5723
|
+
* <code>PublicOnDemandCost</code>, and <code>EstimatedContractedCost</code>. </p>
|
|
5642
5724
|
* <p>
|
|
5643
5725
|
* <code>BilledCost</code>, <code>ContractedCost</code>, <code>ListCost</code>,
|
|
5644
5726
|
* <code>PublicEquivalentBilledCost</code>, and <code>PublicOnDemandCost</code> are cost
|
|
5645
5727
|
* analytics metrics. They use the same definitions as the cost analytics columns in Cost and
|
|
5646
5728
|
* Usage Report (CUR) 2.0.</p>
|
|
5729
|
+
* <p>
|
|
5730
|
+
* <code>EstimatedContractedCost</code> is supported only in requests that filter on an
|
|
5731
|
+
* artificial intelligence (AI) usage type group with the <code>USAGE_TYPE_GROUP</code> dimension, such as <code>Bedrock: Inference
|
|
5732
|
+
* Model (Token)</code>. These requests can use only the <code>PublicOnDemandCost</code>,
|
|
5733
|
+
* <code>EstimatedContractedCost</code>, and <code>UsageQuantity</code> metrics.</p>
|
|
5647
5734
|
* <note>
|
|
5648
5735
|
* <p>If you return the <code>UsageQuantity</code> metric, the service aggregates all usage
|
|
5649
5736
|
* numbers without taking into account the units. For example, if you aggregate
|
|
@@ -5666,6 +5753,21 @@ export interface GetCostAndUsageRequest {
|
|
|
5666
5753
|
* <code>LINKED_ACCOUNT</code>, <code>OPERATION</code>, <code>PLATFORM</code>,
|
|
5667
5754
|
* <code>PURCHASE_TYPE</code>, <code>SERVICE</code>, <code>TENANCY</code>,
|
|
5668
5755
|
* <code>RECORD_TYPE</code>, and <code>USAGE_TYPE</code>.</p>
|
|
5756
|
+
* <p>In requests that filter on an AI usage type group, the <code>DIMENSION</code> type also
|
|
5757
|
+
* accepts the following values:</p>
|
|
5758
|
+
* <ul>
|
|
5759
|
+
* <li>
|
|
5760
|
+
* <p>IAM_PRINCIPAL – The IAM principal that made your AI requests.</p>
|
|
5761
|
+
* </li>
|
|
5762
|
+
* <li>
|
|
5763
|
+
* <p>IDENTITY_CENTER_GROUP – The IAM Identity Center group ID on your AI usage.</p>
|
|
5764
|
+
* </li>
|
|
5765
|
+
* <li>
|
|
5766
|
+
* <p>IDENTITY_CENTER_USER – The IAM Identity Center user ID on your AI usage.</p>
|
|
5767
|
+
* </li>
|
|
5768
|
+
* </ul>
|
|
5769
|
+
* <p>These requests support only one group. For more information about these values, see
|
|
5770
|
+
* <code>Context</code> in <a href="https://docs.aws.amazon.com/aws-cost-management/latest/APIReference/API_GetDimensionValues.html">GetDimensionValues</a>.</p>
|
|
5669
5771
|
* <p>When you group by the <code>TAG</code> type and include a valid tag key, you get all
|
|
5670
5772
|
* tag values, including empty strings.</p>
|
|
5671
5773
|
* <p>To group by the <code>PRODUCT_ATTRIBUTE</code> type, set <code>Key</code> to a
|
|
@@ -5725,8 +5827,8 @@ export interface GetCostAndUsageWithResourcesRequest {
|
|
|
5725
5827
|
* with that account's usage of that service. You can nest <code>Expression</code> objects to
|
|
5726
5828
|
* 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>
|
|
5727
5829
|
* <p>The <code>GetCostAndUsageWithResources</code> operation requires that you either group
|
|
5728
|
-
* by or filter by a <code>ResourceId</code>.
|
|
5729
|
-
*
|
|
5830
|
+
* by or filter by a <code>ResourceId</code>. Resource-level data is available for the services
|
|
5831
|
+
* that you opt in to in Cost Management Console preferences.</p>
|
|
5730
5832
|
* <p>Valid values for <code>MatchOptions</code> for <code>Dimensions</code> are
|
|
5731
5833
|
* <code>EQUALS</code> and <code>CASE_SENSITIVE</code>.</p>
|
|
5732
5834
|
* <p>Valid values for <code>MatchOptions</code> for <code>CostCategories</code>,
|
|
@@ -6040,11 +6142,12 @@ export interface GetCostCategoriesRequest {
|
|
|
6040
6142
|
*/
|
|
6041
6143
|
BillingViewArn?: string | undefined;
|
|
6042
6144
|
/**
|
|
6043
|
-
* <p>
|
|
6044
|
-
* request.</p>
|
|
6045
|
-
* <p>The maximum number of objects that are returned for this request. If
|
|
6145
|
+
* <p>The maximum number of objects that are returned for this request. If
|
|
6046
6146
|
* <code>MaxResults</code> isn't specified with the <code>SortBy</code> value, the request
|
|
6047
6147
|
* returns 1000 results as the default value for this parameter.</p>
|
|
6148
|
+
* <p>You can use this field only when you specify the <code>SortBy</code> value in the
|
|
6149
|
+
* request. If you specify a nonzero <code>MaxResults</code> without <code>SortBy</code>, the
|
|
6150
|
+
* request fails with a <code>ValidationException</code>.</p>
|
|
6048
6151
|
* <p>For <code>GetCostCategories</code>, MaxResults has an upper quota of 1000.</p>
|
|
6049
6152
|
* @public
|
|
6050
6153
|
*/
|
|
@@ -6456,6 +6559,10 @@ export interface GetDimensionValuesRequest {
|
|
|
6456
6559
|
* your costs of supported services, or the values of the key that you specify in
|
|
6457
6560
|
* <code>DimensionKey</code>. <code>PRODUCT_ATTRIBUTE</code> is supported only in the
|
|
6458
6561
|
* <code>COST_AND_USAGE</code> context.</p>
|
|
6562
|
+
* <p>
|
|
6563
|
+
* <code>IAM_PRINCIPAL</code>, <code>IDENTITY_CENTER_GROUP</code>, and
|
|
6564
|
+
* <code>IDENTITY_CENTER_USER</code> return values from your artificial intelligence (AI) usage
|
|
6565
|
+
* only.</p>
|
|
6459
6566
|
* @public
|
|
6460
6567
|
*/
|
|
6461
6568
|
Dimension: Dimension | undefined;
|
|
@@ -6477,11 +6584,16 @@ export interface GetDimensionValuesRequest {
|
|
|
6477
6584
|
DimensionKey?: string | undefined;
|
|
6478
6585
|
/**
|
|
6479
6586
|
* <p>The context for the call to <code>GetDimensionValues</code>. This can be
|
|
6480
|
-
* <code>RESERVATIONS</code
|
|
6481
|
-
*
|
|
6482
|
-
*
|
|
6483
|
-
*
|
|
6484
|
-
*
|
|
6587
|
+
* <code>COST_AND_USAGE</code>, <code>RESERVATIONS</code>, or <code>SAVINGS_PLANS</code>. The
|
|
6588
|
+
* default value is <code>COST_AND_USAGE</code>. If the context is set to
|
|
6589
|
+
* <code>RESERVATIONS</code>, the resulting dimension values can be used in the
|
|
6590
|
+
* <code>GetReservationUtilization</code> operation. <code>GetReservationCoverage</code>
|
|
6591
|
+
* filters match cost and usage data, so use <code>COST_AND_USAGE</code> values for them. If
|
|
6592
|
+
* the context is set to <code>SAVINGS_PLANS</code>, the resulting dimension values can be used
|
|
6593
|
+
* in the <code>GetSavingsPlansUtilization</code> and
|
|
6594
|
+
* <code>GetSavingsPlansUtilizationDetails</code> operations. If the context is set to
|
|
6595
|
+
* <code>COST_AND_USAGE</code>, the resulting dimension values can be used in the
|
|
6596
|
+
* <code>GetCostAndUsage</code> operation.</p>
|
|
6485
6597
|
* <p>If you set the context to <code>COST_AND_USAGE</code>, you can use the following
|
|
6486
6598
|
* dimensions for searching:</p>
|
|
6487
6599
|
* <ul>
|
|
@@ -6498,16 +6610,17 @@ export interface GetDimensionValuesRequest {
|
|
|
6498
6610
|
* Amazon Web Services by third-party software providers.</p>
|
|
6499
6611
|
* </li>
|
|
6500
6612
|
* <li>
|
|
6501
|
-
* <p>CACHE_ENGINE - The Amazon ElastiCache
|
|
6502
|
-
*
|
|
6613
|
+
* <p>CACHE_ENGINE - The Amazon ElastiCache engine. Examples are <code>Redis</code>,
|
|
6614
|
+
* <code>Valkey</code>, and <code>Memcached</code>.</p>
|
|
6503
6615
|
* </li>
|
|
6504
6616
|
* <li>
|
|
6505
6617
|
* <p>DEPLOYMENT_OPTION - The scope of Amazon Relational Database Service deployments.
|
|
6506
|
-
*
|
|
6618
|
+
* Examples are <code>Single-AZ</code> and <code>Multi-AZ</code>.</p>
|
|
6507
6619
|
* </li>
|
|
6508
6620
|
* <li>
|
|
6509
|
-
* <p>DATABASE_ENGINE - The Amazon Relational Database Service database. Examples
|
|
6510
|
-
* Aurora
|
|
6621
|
+
* <p>DATABASE_ENGINE - The Amazon Relational Database Service database engine. Examples
|
|
6622
|
+
* are <code>Aurora MySQL</code>, <code>Aurora PostgreSQL</code>, and
|
|
6623
|
+
* <code>MySQL</code>.</p>
|
|
6511
6624
|
* </li>
|
|
6512
6625
|
* <li>
|
|
6513
6626
|
* <p>INSTANCE_TYPE - The type of Amazon EC2 instance. An example is
|
|
@@ -6515,10 +6628,9 @@ export interface GetDimensionValuesRequest {
|
|
|
6515
6628
|
* </li>
|
|
6516
6629
|
* <li>
|
|
6517
6630
|
* <p>INSTANCE_TYPE_FAMILY - A family of instance types optimized to fit different use
|
|
6518
|
-
* cases.
|
|
6519
|
-
*
|
|
6520
|
-
*
|
|
6521
|
-
* and <code>R6g</code>).</p>
|
|
6631
|
+
* cases. The value is the family code, such as <code>m5</code> or <code>c6g</code> for
|
|
6632
|
+
* Amazon EC2. The casing of the code follows each service's product catalog, for example
|
|
6633
|
+
* <code>R6G</code> for Amazon Relational Database Service.</p>
|
|
6522
6634
|
* </li>
|
|
6523
6635
|
* <li>
|
|
6524
6636
|
* <p>INVOICING_ENTITY - The name of the entity that issues the Amazon Web Services
|
|
@@ -6534,15 +6646,17 @@ export interface GetDimensionValuesRequest {
|
|
|
6534
6646
|
* account.</p>
|
|
6535
6647
|
* </li>
|
|
6536
6648
|
* <li>
|
|
6537
|
-
* <p>OPERATING_SYSTEM - The operating system. Examples are
|
|
6649
|
+
* <p>OPERATING_SYSTEM - The operating system. Examples are <code>Linux/UNIX</code>,
|
|
6650
|
+
* <code>Windows (Amazon VPC)</code>, and <code>Red Hat Enterprise Linux</code>.</p>
|
|
6538
6651
|
* </li>
|
|
6539
6652
|
* <li>
|
|
6540
6653
|
* <p>OPERATION - The action performed. Examples include <code>RunInstance</code> and
|
|
6541
6654
|
* <code>CreateBucket</code>.</p>
|
|
6542
6655
|
* </li>
|
|
6543
6656
|
* <li>
|
|
6544
|
-
* <p>PLATFORM - The
|
|
6545
|
-
*
|
|
6657
|
+
* <p>PLATFORM - The operating system or platform of the usage. Examples are
|
|
6658
|
+
* <code>Linux/UNIX</code>, <code>Windows (Amazon VPC)</code>, and <code>Red Hat Enterprise
|
|
6659
|
+
* Linux</code>.</p>
|
|
6546
6660
|
* </li>
|
|
6547
6661
|
* <li>
|
|
6548
6662
|
* <p>PRODUCT_ATTRIBUTE - The product attributes of supported services, such as the model
|
|
@@ -6550,7 +6664,8 @@ export interface GetDimensionValuesRequest {
|
|
|
6550
6664
|
* </li>
|
|
6551
6665
|
* <li>
|
|
6552
6666
|
* <p>PURCHASE_TYPE - The reservation type of the purchase that this usage is related to.
|
|
6553
|
-
* Examples include On
|
|
6667
|
+
* Examples include <code>On Demand Instances</code>, <code>Standard Reserved
|
|
6668
|
+
* Instances</code>, <code>Spot Instances</code>, and <code>Savings Plans</code>.</p>
|
|
6554
6669
|
* </li>
|
|
6555
6670
|
* <li>
|
|
6556
6671
|
* <p>RESERVATION_ID - The unique identifier for an Amazon Web Services Reservation
|
|
@@ -6560,13 +6675,15 @@ export interface GetDimensionValuesRequest {
|
|
|
6560
6675
|
* <p>SAVINGS_PLAN_ARN - The unique identifier for your Savings Plans.</p>
|
|
6561
6676
|
* </li>
|
|
6562
6677
|
* <li>
|
|
6563
|
-
* <p>SAVINGS_PLANS_TYPE - Type of Savings Plans
|
|
6678
|
+
* <p>SAVINGS_PLANS_TYPE - Type of Savings Plans. Examples are
|
|
6679
|
+
* <code>ComputeSavingsPlans</code> and <code>EC2InstanceSavingsPlans</code>.</p>
|
|
6564
6680
|
* </li>
|
|
6565
6681
|
* <li>
|
|
6566
6682
|
* <p>SERVICE - The Amazon Web Services service such as Amazon DynamoDB.</p>
|
|
6567
6683
|
* </li>
|
|
6568
6684
|
* <li>
|
|
6569
|
-
* <p>TENANCY - The tenancy of a resource. Examples are
|
|
6685
|
+
* <p>TENANCY - The tenancy of a resource. Examples are <code>Shared</code>,
|
|
6686
|
+
* <code>Dedicated</code>, and <code>Host</code>.</p>
|
|
6570
6687
|
* </li>
|
|
6571
6688
|
* <li>
|
|
6572
6689
|
* <p>USAGE_TYPE - The type of usage. An example is DataTransfer-In-Bytes. The response
|
|
@@ -6582,13 +6699,30 @@ export interface GetDimensionValuesRequest {
|
|
|
6582
6699
|
* </li>
|
|
6583
6700
|
* <li>
|
|
6584
6701
|
* <p>RECORD_TYPE - The different types of charges such as Reserved Instance (RI) fees,
|
|
6585
|
-
* usage costs, tax refunds, and credits
|
|
6702
|
+
* usage costs, tax refunds, and credits. Examples include <code>Usage</code>, <code>Credit</code>, <code>Tax</code>,
|
|
6703
|
+
* <code>Recurring</code>, <code>Upfront</code>, and <code>Support</code>.</p>
|
|
6586
6704
|
* </li>
|
|
6587
6705
|
* <li>
|
|
6588
6706
|
* <p>RESOURCE_ID - The unique identifier of the resource. ResourceId is an opt-in
|
|
6589
|
-
* feature
|
|
6707
|
+
* feature that is available for the last 14 days, for the services that you opt in to in
|
|
6708
|
+
* Cost Management Console preferences.</p>
|
|
6709
|
+
* </li>
|
|
6710
|
+
* <li>
|
|
6711
|
+
* <p>IAM_PRINCIPAL – The IAM principal that made your AI requests. Cost Explorer removes
|
|
6712
|
+
* the session name from an assumed role, and keeps it for an IAM Identity Center
|
|
6713
|
+
* session.</p>
|
|
6714
|
+
* </li>
|
|
6715
|
+
* <li>
|
|
6716
|
+
* <p>IDENTITY_CENTER_GROUP – The IAM Identity Center group ID on your AI usage. Your usage
|
|
6717
|
+
* counts under every group that its IAM Identity Center user belongs to.</p>
|
|
6718
|
+
* </li>
|
|
6719
|
+
* <li>
|
|
6720
|
+
* <p>IDENTITY_CENTER_USER – The IAM Identity Center user ID on your AI usage.</p>
|
|
6590
6721
|
* </li>
|
|
6591
6722
|
* </ul>
|
|
6723
|
+
* <p>Dimension values are case-sensitive and must match exactly when you use them in a
|
|
6724
|
+
* filter. Use <code>GetDimensionValues</code> to list the values that are available for your
|
|
6725
|
+
* account.</p>
|
|
6592
6726
|
* <p>If you set the context to <code>RESERVATIONS</code>, you can use the following
|
|
6593
6727
|
* dimensions for searching:</p>
|
|
6594
6728
|
* <ul>
|
|
@@ -6596,46 +6730,48 @@ export interface GetDimensionValuesRequest {
|
|
|
6596
6730
|
* <p>AZ - The Availability Zone. An example is <code>us-east-1a</code>.</p>
|
|
6597
6731
|
* </li>
|
|
6598
6732
|
* <li>
|
|
6599
|
-
* <p>CACHE_ENGINE - The Amazon ElastiCache operating system. Examples are Windows or
|
|
6600
|
-
* Linux.</p>
|
|
6601
|
-
* </li>
|
|
6602
|
-
* <li>
|
|
6603
|
-
* <p>DEPLOYMENT_OPTION - The scope of Amazon Relational Database Service deployments.
|
|
6604
|
-
* Valid values are <code>SingleAZ</code> and <code>MultiAZ</code>.</p>
|
|
6605
|
-
* </li>
|
|
6606
|
-
* <li>
|
|
6607
6733
|
* <p>INSTANCE_TYPE - The type of Amazon EC2 instance. An example is
|
|
6608
6734
|
* <code>m4.xlarge</code>.</p>
|
|
6609
6735
|
* </li>
|
|
6610
6736
|
* <li>
|
|
6611
|
-
* <p>
|
|
6612
|
-
*
|
|
6613
|
-
*
|
|
6737
|
+
* <p>INSTANCE_TYPE_FAMILY - The family of the instance type. An example is
|
|
6738
|
+
* <code>m5</code>.</p>
|
|
6739
|
+
* </li>
|
|
6740
|
+
* <li>
|
|
6741
|
+
* <p>LINKED_ACCOUNT - The Amazon Web Services ID of the member account. The
|
|
6742
|
+
* <code>name</code> attribute contains the full name of the member account.</p>
|
|
6614
6743
|
* </li>
|
|
6615
6744
|
* <li>
|
|
6616
|
-
* <p>PLATFORM - The
|
|
6617
|
-
*
|
|
6745
|
+
* <p>PLATFORM - The platform of the reservation. For Amazon EC2, examples are
|
|
6746
|
+
* <code>Linux/UNIX</code>, <code>Windows</code>, and <code>Red Hat Enterprise Linux</code>.
|
|
6747
|
+
* For Amazon Relational Database Service and Amazon ElastiCache, the value is the engine,
|
|
6748
|
+
* such as <code>MySQL</code> or <code>Redis</code>. These values can differ from the
|
|
6749
|
+
* <code>COST_AND_USAGE</code> values, for example <code>Windows</code> instead of
|
|
6750
|
+
* <code>Windows (Amazon VPC)</code>.</p>
|
|
6618
6751
|
* </li>
|
|
6619
6752
|
* <li>
|
|
6620
6753
|
* <p>REGION - The Amazon Web Services Region.</p>
|
|
6621
6754
|
* </li>
|
|
6622
6755
|
* <li>
|
|
6623
6756
|
* <p>SCOPE (Utilization only) - The scope of a Reserved Instance (RI). Values are
|
|
6624
|
-
*
|
|
6757
|
+
* <code>Region</code> and <code>Availability Zone</code>.</p>
|
|
6625
6758
|
* </li>
|
|
6626
6759
|
* <li>
|
|
6627
|
-
* <p>
|
|
6628
|
-
*
|
|
6760
|
+
* <p>SERVICE - The Amazon Web Services service of the reservation, such as Amazon
|
|
6761
|
+
* Relational Database Service.</p>
|
|
6629
6762
|
* </li>
|
|
6630
6763
|
* <li>
|
|
6631
|
-
* <p>TENANCY - The tenancy of
|
|
6764
|
+
* <p>TENANCY - The tenancy of the reservation. Values are <code>Shared</code> and
|
|
6765
|
+
* <code>Dedicated</code>.</p>
|
|
6632
6766
|
* </li>
|
|
6633
6767
|
* </ul>
|
|
6634
6768
|
* <p>If you set the context to <code>SAVINGS_PLANS</code>, you can use the following
|
|
6635
6769
|
* dimensions for searching:</p>
|
|
6636
6770
|
* <ul>
|
|
6637
6771
|
* <li>
|
|
6638
|
-
* <p>SAVINGS_PLANS_TYPE - Type of Savings Plans
|
|
6772
|
+
* <p>SAVINGS_PLANS_TYPE - Type of Savings Plans. Examples are
|
|
6773
|
+
* <code>ComputeSavingsPlans</code>, <code>EC2InstanceSavingsPlans</code>,
|
|
6774
|
+
* <code>SageMakerSavingsPlans</code>, and <code>DatabaseSavingsPlans</code>.</p>
|
|
6639
6775
|
* </li>
|
|
6640
6776
|
* <li>
|
|
6641
6777
|
* <p>PAYMENT_OPTION - The payment option for the given Savings Plans (for example, All
|
|
@@ -6649,9 +6785,8 @@ export interface GetDimensionValuesRequest {
|
|
|
6649
6785
|
* <code>m5</code>)</p>
|
|
6650
6786
|
* </li>
|
|
6651
6787
|
* <li>
|
|
6652
|
-
* <p>LINKED_ACCOUNT - The
|
|
6653
|
-
*
|
|
6654
|
-
* account.</p>
|
|
6788
|
+
* <p>LINKED_ACCOUNT - The Amazon Web Services ID of the member account. The
|
|
6789
|
+
* <code>name</code> attribute contains the full name of the member account.</p>
|
|
6655
6790
|
* </li>
|
|
6656
6791
|
* <li>
|
|
6657
6792
|
* <p>SAVINGS_PLAN_ARN - The unique identifier for your Savings Plans.</p>
|
|
@@ -6661,143 +6796,36 @@ export interface GetDimensionValuesRequest {
|
|
|
6661
6796
|
*/
|
|
6662
6797
|
Context?: Context | undefined;
|
|
6663
6798
|
/**
|
|
6664
|
-
* <p>
|
|
6665
|
-
*
|
|
6666
|
-
*
|
|
6667
|
-
*
|
|
6799
|
+
* <p>To filter your results, use an <a href="https://docs.aws.amazon.com/aws-cost-management/latest/APIReference/API_Expression.html">Expression</a>
|
|
6800
|
+
* object.</p>
|
|
6801
|
+
* <p>The supported filter shapes depend on <code>Context</code> and on whether you specify
|
|
6802
|
+
* <code>SortBy</code>:</p>
|
|
6668
6803
|
* <ul>
|
|
6669
6804
|
* <li>
|
|
6670
|
-
* <p>
|
|
6671
|
-
*
|
|
6672
|
-
*
|
|
6673
|
-
*
|
|
6674
|
-
*
|
|
6675
|
-
* <code>Dimensions</code>, and
|
|
6676
|
-
* <code>ProductAttributes</code>.</p>
|
|
6677
|
-
* <ul>
|
|
6678
|
-
* <li>
|
|
6679
|
-
* <p>Specify the <code>CostCategories</code> field to define a
|
|
6680
|
-
* filter that acts on Cost Categories.</p>
|
|
6681
|
-
* </li>
|
|
6682
|
-
* <li>
|
|
6683
|
-
* <p>Specify the <code>Tags</code> field to define a filter that
|
|
6684
|
-
* acts on Cost Allocation Tags.</p>
|
|
6685
|
-
* </li>
|
|
6686
|
-
* <li>
|
|
6687
|
-
* <p>Specify the <code>Dimensions</code> field to define a filter
|
|
6688
|
-
* that acts on the <a href="https://docs.aws.amazon.com/aws-cost-management/latest/APIReference/API_DimensionValues.html">
|
|
6689
|
-
* <code>DimensionValues</code>
|
|
6690
|
-
* </a>.</p>
|
|
6691
|
-
* </li>
|
|
6692
|
-
* <li>
|
|
6693
|
-
* <p>Specify the <code>ProductAttributes</code> field to define a
|
|
6694
|
-
* filter that acts on the product attributes of supported
|
|
6695
|
-
* services, such as Amazon Bedrock. Only
|
|
6696
|
-
* <code>GetCostAndUsage</code>,
|
|
6697
|
-
* <code>GetCostAndUsageWithResources</code>,
|
|
6698
|
-
* <code>GetDimensionValues</code> (in the
|
|
6699
|
-
* <code>COST_AND_USAGE</code> context),
|
|
6700
|
-
* <code>GetTags</code>, and <code>GetCostCategories</code>
|
|
6701
|
-
* support <code>ProductAttributes</code>. For the supported
|
|
6702
|
-
* services, keys and <code>SERVICE</code> filter rules, see <a href="https://docs.aws.amazon.com/aws-cost-management/latest/APIReference/API_ProductAttributeValues.html">
|
|
6703
|
-
* <code>ProductAttributeValues</code>
|
|
6704
|
-
* </a>.</p>
|
|
6705
|
-
* </li>
|
|
6706
|
-
* </ul>
|
|
6707
|
-
* </li>
|
|
6708
|
-
* <li>
|
|
6709
|
-
* <p>For each filter type, you can set the dimension name and values for
|
|
6710
|
-
* the filters that you plan to use.</p>
|
|
6711
|
-
* <ul>
|
|
6712
|
-
* <li>
|
|
6713
|
-
* <p>For example, you can filter for <code>REGION==us-east-1 OR
|
|
6714
|
-
* REGION==us-west-1</code>. For
|
|
6715
|
-
* <code>GetRightsizingRecommendation</code>, the Region is a
|
|
6716
|
-
* full name (for example, <code>REGION==US East (N.
|
|
6717
|
-
* Virginia)</code>.</p>
|
|
6718
|
-
* </li>
|
|
6719
|
-
* <li>
|
|
6720
|
-
* <p>The corresponding <code>Expression</code> for this example is
|
|
6721
|
-
* as follows: <code>\{ "Dimensions": \{ "Key": "REGION", "Values": [
|
|
6722
|
-
* "us-east-1", "us-west-1" ] \} \}</code>
|
|
6723
|
-
* </p>
|
|
6724
|
-
* </li>
|
|
6725
|
-
* <li>
|
|
6726
|
-
* <p>As shown in the previous example, lists of dimension values
|
|
6727
|
-
* are combined with <code>OR</code> when applying the
|
|
6728
|
-
* filter.</p>
|
|
6729
|
-
* </li>
|
|
6730
|
-
* </ul>
|
|
6731
|
-
* </li>
|
|
6732
|
-
* <li>
|
|
6733
|
-
* <p>You can also set different match options to further control how the
|
|
6734
|
-
* filter behaves. Not all APIs support match options. Refer to the
|
|
6735
|
-
* documentation for each specific API to see what is supported.</p>
|
|
6736
|
-
* <ul>
|
|
6737
|
-
* <li>
|
|
6738
|
-
* <p>For example, you can filter for linked account names that
|
|
6739
|
-
* start with "a".</p>
|
|
6740
|
-
* </li>
|
|
6741
|
-
* <li>
|
|
6742
|
-
* <p>The corresponding <code>Expression</code> for this example is
|
|
6743
|
-
* as follows: <code>\{ "Dimensions": \{ "Key":
|
|
6744
|
-
* "LINKED_ACCOUNT_NAME", "MatchOptions": [ "STARTS_WITH" ],
|
|
6745
|
-
* "Values": [ "a" ] \} \}</code>
|
|
6746
|
-
* </p>
|
|
6747
|
-
* </li>
|
|
6748
|
-
* </ul>
|
|
6749
|
-
* </li>
|
|
6750
|
-
* </ul>
|
|
6805
|
+
* <p>
|
|
6806
|
+
* <code>COST_AND_USAGE</code> without <code>SortBy</code>: a single
|
|
6807
|
+
* <code>Dimensions</code>, <code>Tags</code>, or <code>CostCategories</code> expression,
|
|
6808
|
+
* or one <code>And</code> of such expressions. <code>Or</code>, <code>Not</code>, and an
|
|
6809
|
+
* <code>And</code> inside another <code>And</code> aren't supported.</p>
|
|
6751
6810
|
* </li>
|
|
6752
6811
|
* <li>
|
|
6753
|
-
* <p>
|
|
6754
|
-
*
|
|
6755
|
-
*
|
|
6756
|
-
*
|
|
6757
|
-
*
|
|
6758
|
-
*
|
|
6759
|
-
*
|
|
6760
|
-
*
|
|
6761
|
-
*
|
|
6762
|
-
*
|
|
6763
|
-
*
|
|
6764
|
-
*
|
|
6765
|
-
*
|
|
6766
|
-
*
|
|
6767
|
-
*
|
|
6768
|
-
* follows: <code>\{ "And": [ \{"Or": [ \{"Dimensions": \{ "Key": "REGION",
|
|
6769
|
-
* "Values": [ "us-east-1", "us-west-1" ] \}\}, \{"Tags": \{ "Key":
|
|
6770
|
-
* "TagName", "Values": ["Value1"] \} \} ]\}, \{"Not": \{"Dimensions": \{
|
|
6771
|
-
* "Key": "USAGE_TYPE", "Values": ["DataTransfer"] \}\}\} ] \}
|
|
6772
|
-
* </code>
|
|
6773
|
-
* </p>
|
|
6774
|
-
* </li>
|
|
6775
|
-
* </ul>
|
|
6776
|
-
* <note>
|
|
6777
|
-
* <p>Because each <code>Expression</code> can have only one operator, the
|
|
6778
|
-
* service returns an error if more than one is specified. The following
|
|
6779
|
-
* example shows an <code>Expression</code> object that creates an error:
|
|
6780
|
-
* <code> \{ "And": [ ... ], "Dimensions": \{ "Key": "USAGE_TYPE", "Values":
|
|
6781
|
-
* [ "DataTransfer" ] \} \} </code>
|
|
6782
|
-
* </p>
|
|
6783
|
-
* <p>The following is an example of the corresponding error message:
|
|
6784
|
-
* <code>"Expression has more than one roots. Only one root operator is
|
|
6785
|
-
* allowed for each expression: And, Or, Not, Dimensions, Tags,
|
|
6786
|
-
* CostCategories"</code>
|
|
6787
|
-
* </p>
|
|
6788
|
-
* </note>
|
|
6812
|
+
* <p>
|
|
6813
|
+
* <code>COST_AND_USAGE</code> with <code>SortBy</code>: <code>And</code>,
|
|
6814
|
+
* <code>Or</code>, and <code>Not</code> are supported, nested up to four levels.</p>
|
|
6815
|
+
* </li>
|
|
6816
|
+
* <li>
|
|
6817
|
+
* <p>
|
|
6818
|
+
* <code>RESERVATIONS</code> and <code>SAVINGS_PLANS</code>: a single
|
|
6819
|
+
* <code>Dimensions</code> expression, a <code>Not</code> expression that contains one
|
|
6820
|
+
* <code>Dimensions</code> expression, or one <code>And</code> of such expressions. Each
|
|
6821
|
+
* dimension can appear only once. <code>Or</code>, <code>Tags</code>,
|
|
6822
|
+
* <code>CostCategories</code>, and an <code>And</code> inside another <code>And</code>
|
|
6823
|
+
* aren't supported. For <code>RESERVATIONS</code>, don't specify <code>MatchOptions</code>.
|
|
6824
|
+
* For <code>SAVINGS_PLANS</code>, <code>MatchOptions</code> can be only <code>EQUALS</code>,
|
|
6825
|
+
* or <code>EQUALS</code> and <code>CASE_SENSITIVE</code>. <code>SortBy</code> isn't
|
|
6826
|
+
* supported in these contexts.</p>
|
|
6789
6827
|
* </li>
|
|
6790
6828
|
* </ul>
|
|
6791
|
-
* <note>
|
|
6792
|
-
* <p>For the <code>GetRightsizingRecommendation</code> action, a combination of OR and
|
|
6793
|
-
* NOT isn't supported. OR isn't supported between different dimensions, or dimensions
|
|
6794
|
-
* and tags. NOT operators aren't supported. Dimensions are also limited to
|
|
6795
|
-
* <code>LINKED_ACCOUNT</code>, <code>REGION</code>, or
|
|
6796
|
-
* <code>RIGHTSIZING_TYPE</code>.</p>
|
|
6797
|
-
* <p>For the <code>GetReservationPurchaseRecommendation</code> action, only NOT is
|
|
6798
|
-
* supported. AND and OR aren't supported. Dimensions are limited to
|
|
6799
|
-
* <code>LINKED_ACCOUNT</code>.</p>
|
|
6800
|
-
* </note>
|
|
6801
6829
|
* @public
|
|
6802
6830
|
*/
|
|
6803
6831
|
Filter?: Expression | undefined;
|
|
@@ -6884,9 +6912,10 @@ export interface GetDimensionValuesRequest {
|
|
|
6884
6912
|
*/
|
|
6885
6913
|
BillingViewArn?: string | undefined;
|
|
6886
6914
|
/**
|
|
6887
|
-
* <p>
|
|
6888
|
-
*
|
|
6889
|
-
*
|
|
6915
|
+
* <p>The maximum number of objects that are returned for this request. If MaxResults isn't
|
|
6916
|
+
* specified with SortBy, the request returns 1000 results as the default value for this
|
|
6917
|
+
* parameter. This field takes effect only when you specify SortBy in the request. If you don't
|
|
6918
|
+
* specify SortBy, Cost Explorer ignores MaxResults.</p>
|
|
6890
6919
|
* <p>For <code>GetDimensionValues</code>, MaxResults has an upper limit of 1000.</p>
|
|
6891
6920
|
* @public
|
|
6892
6921
|
*/
|
|
@@ -7017,12 +7046,18 @@ export interface GetReservationCoverageRequest {
|
|
|
7017
7046
|
* two <code>SERVICE</code> values, use only dimensions that both services support.</p>
|
|
7018
7047
|
* <p>
|
|
7019
7048
|
* <code>GetReservationCoverage</code> uses the same <a href="https://docs.aws.amazon.com/aws-cost-management/latest/APIReference/API_Expression.html">Expression</a> object
|
|
7020
|
-
* as the other operations,
|
|
7021
|
-
*
|
|
7022
|
-
*
|
|
7049
|
+
* as the other operations, with the following limits. <code>Filter</code> accepts one
|
|
7050
|
+
* <code>Dimensions</code>, <code>Tags</code>, or <code>CostCategories</code> expression, a
|
|
7051
|
+
* <code>Not</code> of one of these expressions, or one <code>And</code> of two or more of
|
|
7052
|
+
* these. The operation doesn't support <code>Or</code>, an <code>And</code> inside an
|
|
7053
|
+
* <code>And</code>, or a <code>Not</code> around any other expression.</p>
|
|
7054
|
+
* <p>Each dimension can appear only once in a filter, including inside a
|
|
7055
|
+
* <code>Not</code>. <code>Tags</code> is the only exception: you can filter on more than one
|
|
7056
|
+
* tag key. You can use only one <code>CostCategories</code> expression. To filter on several
|
|
7057
|
+
* values of a dimension, put them in one expression. The operation ORs multiple values for a
|
|
7058
|
+
* dimension together.</p>
|
|
7023
7059
|
* <p>If you don't provide a <code>SERVICE</code> filter, Cost Explorer defaults to
|
|
7024
7060
|
* EC2.</p>
|
|
7025
|
-
* <p>Cost category is also supported.</p>
|
|
7026
7061
|
* @public
|
|
7027
7062
|
*/
|
|
7028
7063
|
Filter?: Expression | undefined;
|
|
@@ -7098,7 +7133,8 @@ export interface GetReservationCoverageRequest {
|
|
|
7098
7133
|
* </p>
|
|
7099
7134
|
* </li>
|
|
7100
7135
|
* </ul>
|
|
7101
|
-
* <p>
|
|
7136
|
+
* <p>If you specify <code>SortBy</code>, you must also specify <code>SortOrder</code>. There
|
|
7137
|
+
* is no default. Supported values for <code>SortOrder</code> are <code>ASCENDING</code> or
|
|
7102
7138
|
* <code>DESCENDING</code>.</p>
|
|
7103
7139
|
* @public
|
|
7104
7140
|
*/
|
|
@@ -7372,6 +7408,20 @@ export interface GetReservationUtilizationRequest {
|
|
|
7372
7408
|
* </li>
|
|
7373
7409
|
* <li>
|
|
7374
7410
|
* <p>SCOPE</p>
|
|
7411
|
+
* <p>The valid values for <code>SCOPE</code> are the following. Use them exactly as
|
|
7412
|
+
* shown, including capitalization.</p>
|
|
7413
|
+
* <ul>
|
|
7414
|
+
* <li>
|
|
7415
|
+
* <p>
|
|
7416
|
+
* <code>Region</code> - Matches reservations that aren't tied to an Availability
|
|
7417
|
+
* Zone.</p>
|
|
7418
|
+
* </li>
|
|
7419
|
+
* <li>
|
|
7420
|
+
* <p>
|
|
7421
|
+
* <code>Availability Zone</code> - Matches reservations for a specific
|
|
7422
|
+
* Availability Zone.</p>
|
|
7423
|
+
* </li>
|
|
7424
|
+
* </ul>
|
|
7375
7425
|
* </li>
|
|
7376
7426
|
* <li>
|
|
7377
7427
|
* <p>SUBSCRIPTION_ID</p>
|
|
@@ -7385,9 +7435,14 @@ export interface GetReservationUtilizationRequest {
|
|
|
7385
7435
|
* </ul>
|
|
7386
7436
|
* <p>
|
|
7387
7437
|
* <code>GetReservationUtilization</code> uses the same <a href="https://docs.aws.amazon.com/aws-cost-management/latest/APIReference/API_Expression.html">Expression</a> object
|
|
7388
|
-
* as the other operations,
|
|
7389
|
-
*
|
|
7390
|
-
*
|
|
7438
|
+
* as the other operations, with the following limits. <code>Filter</code> accepts one
|
|
7439
|
+
* <code>Dimensions</code> expression, a <code>Not</code> of one <code>Dimensions</code>
|
|
7440
|
+
* expression, or one <code>And</code> of two or more of these. The operation doesn't support
|
|
7441
|
+
* <code>Or</code>, an <code>And</code> inside an <code>And</code>, a <code>Not</code> around
|
|
7442
|
+
* any other expression, <code>Tags</code>, or <code>CostCategories</code>.</p>
|
|
7443
|
+
* <p>Each dimension can appear only once in a filter, including inside a
|
|
7444
|
+
* <code>Not</code>. To filter on several values of a dimension, put them in one expression.
|
|
7445
|
+
* The operation ORs multiple values for a dimension together.</p>
|
|
7391
7446
|
* @public
|
|
7392
7447
|
*/
|
|
7393
7448
|
Filter?: Expression | undefined;
|
|
@@ -7481,8 +7536,13 @@ export interface GetReservationUtilizationRequest {
|
|
|
7481
7536
|
* </p>
|
|
7482
7537
|
* </li>
|
|
7483
7538
|
* </ul>
|
|
7484
|
-
* <p>
|
|
7485
|
-
*
|
|
7539
|
+
* <p>
|
|
7540
|
+
* <code>SortBy</code> applies only when you set <code>GroupBy</code>. If you don't set
|
|
7541
|
+
* <code>GroupBy</code>, the operation ignores <code>SortBy</code>, including its
|
|
7542
|
+
* <code>Key</code>.</p>
|
|
7543
|
+
* <p>If you specify <code>SortBy</code> with <code>GroupBy</code>, you must also specify
|
|
7544
|
+
* <code>SortOrder</code>. There is no default. The supported values for
|
|
7545
|
+
* <code>SortOrder</code> are <code>ASCENDING</code> and <code>DESCENDING</code>.</p>
|
|
7486
7546
|
* @public
|
|
7487
7547
|
*/
|
|
7488
7548
|
SortBy?: SortDefinition | undefined;
|
|
@@ -7684,7 +7744,7 @@ export interface GetSavingsPlansCoverageRequest {
|
|
|
7684
7744
|
*/
|
|
7685
7745
|
TimePeriod: DateInterval | undefined;
|
|
7686
7746
|
/**
|
|
7687
|
-
* <p>You can group the data using the attributes <code>
|
|
7747
|
+
* <p>You can group the data using the attributes <code>INSTANCE_TYPE_FAMILY</code>,
|
|
7688
7748
|
* <code>REGION</code>, or <code>SERVICE</code>.</p>
|
|
7689
7749
|
* @public
|
|
7690
7750
|
*/
|
|
@@ -7718,15 +7778,34 @@ export interface GetSavingsPlansCoverageRequest {
|
|
|
7718
7778
|
* </li>
|
|
7719
7779
|
* <li>
|
|
7720
7780
|
* <p>
|
|
7721
|
-
* <code>
|
|
7781
|
+
* <code>INSTANCE_TYPE_FAMILY</code>
|
|
7722
7782
|
* </p>
|
|
7723
7783
|
* </li>
|
|
7724
7784
|
* </ul>
|
|
7725
7785
|
* <p>
|
|
7726
7786
|
* <code>GetSavingsPlansCoverage</code> uses the same <a href="https://docs.aws.amazon.com/aws-cost-management/latest/APIReference/API_Expression.html">Expression</a> object
|
|
7727
|
-
* as the other operations
|
|
7728
|
-
*
|
|
7729
|
-
*
|
|
7787
|
+
* as the other operations. The filter must have one of the following shapes:</p>
|
|
7788
|
+
* <ul>
|
|
7789
|
+
* <li>
|
|
7790
|
+
* <p>A <code>Dimensions</code> or <code>CostCategories</code> expression.</p>
|
|
7791
|
+
* </li>
|
|
7792
|
+
* <li>
|
|
7793
|
+
* <p>A <code>Not</code> expression that contains one <code>Dimensions</code> or
|
|
7794
|
+
* <code>CostCategories</code> expression.</p>
|
|
7795
|
+
* </li>
|
|
7796
|
+
* <li>
|
|
7797
|
+
* <p>An <code>And</code> expression with two or more operands, where each operand has one
|
|
7798
|
+
* of the two shapes above.</p>
|
|
7799
|
+
* </li>
|
|
7800
|
+
* </ul>
|
|
7801
|
+
* <p>
|
|
7802
|
+
* <code>Or</code> and <code>Tags</code> expressions aren't supported. An <code>And</code>
|
|
7803
|
+
* expression can't contain another <code>And</code>, and a <code>Not</code> expression can't
|
|
7804
|
+
* contain an <code>And</code> or another <code>Not</code>.</p>
|
|
7805
|
+
* <p>Each dimension can appear only once in the filter, including inside <code>Not</code>, and
|
|
7806
|
+
* you can use only one <code>CostCategories</code> expression. To filter on several values of a
|
|
7807
|
+
* dimension, put all of the values in one expression. Cost Explorer combines the values in one
|
|
7808
|
+
* expression with OR.</p>
|
|
7730
7809
|
* @public
|
|
7731
7810
|
*/
|
|
7732
7811
|
Filter?: Expression | undefined;
|
|
@@ -7858,8 +7937,12 @@ export interface GetSavingsPlansPurchaseRecommendationRequest {
|
|
|
7858
7937
|
export interface GetSavingsPlansUtilizationDetailsRequest {
|
|
7859
7938
|
/**
|
|
7860
7939
|
* <p>The time period that you want the usage and costs for. The <code>Start</code> date must be
|
|
7861
|
-
* within 13 months. The <code>End</code> date must be after the <code>Start</code>
|
|
7862
|
-
*
|
|
7940
|
+
* within 13 months. The <code>End</code> date must be after the <code>Start</code>
|
|
7941
|
+
* date.</p>
|
|
7942
|
+
* <p>The <code>End</code> date is exclusive. If utilization data isn't complete for the whole
|
|
7943
|
+
* period, Cost Explorer moves <code>End</code> earlier to the first day without complete data,
|
|
7944
|
+
* unless <code>DataType</code> is only <code>ATTRIBUTES</code>. The response
|
|
7945
|
+
* <code>TimePeriod</code> shows the period used.</p>
|
|
7863
7946
|
* @public
|
|
7864
7947
|
*/
|
|
7865
7948
|
TimePeriod: DateInterval | undefined;
|
|
@@ -7879,6 +7962,11 @@ export interface GetSavingsPlansUtilizationDetailsRequest {
|
|
|
7879
7962
|
* </li>
|
|
7880
7963
|
* <li>
|
|
7881
7964
|
* <p>
|
|
7965
|
+
* <code>SAVINGS_PLANS_TYPE</code>
|
|
7966
|
+
* </p>
|
|
7967
|
+
* </li>
|
|
7968
|
+
* <li>
|
|
7969
|
+
* <p>
|
|
7882
7970
|
* <code>REGION</code>
|
|
7883
7971
|
* </p>
|
|
7884
7972
|
* </li>
|
|
@@ -7895,7 +7983,28 @@ export interface GetSavingsPlansUtilizationDetailsRequest {
|
|
|
7895
7983
|
* </ul>
|
|
7896
7984
|
* <p>
|
|
7897
7985
|
* <code>GetSavingsPlansUtilizationDetails</code> uses the same <a href="https://docs.aws.amazon.com/aws-cost-management/latest/APIReference/API_Expression.html">Expression</a> object
|
|
7898
|
-
* as the other operations
|
|
7986
|
+
* as the other operations. The filter must have one of the following shapes:</p>
|
|
7987
|
+
* <ul>
|
|
7988
|
+
* <li>
|
|
7989
|
+
* <p>A <code>Dimensions</code> expression.</p>
|
|
7990
|
+
* </li>
|
|
7991
|
+
* <li>
|
|
7992
|
+
* <p>A <code>Not</code> expression that contains one <code>Dimensions</code>
|
|
7993
|
+
* expression.</p>
|
|
7994
|
+
* </li>
|
|
7995
|
+
* <li>
|
|
7996
|
+
* <p>An <code>And</code> expression with two or more operands, where each operand has one
|
|
7997
|
+
* of the two shapes above.</p>
|
|
7998
|
+
* </li>
|
|
7999
|
+
* </ul>
|
|
8000
|
+
* <p>
|
|
8001
|
+
* <code>Or</code>, <code>Tags</code>, and <code>CostCategories</code> expressions aren't
|
|
8002
|
+
* supported. An <code>And</code> expression can't contain another <code>And</code>, and a
|
|
8003
|
+
* <code>Not</code> expression can't contain an <code>And</code> or another
|
|
8004
|
+
* <code>Not</code>.</p>
|
|
8005
|
+
* <p>Each dimension can appear only once in the filter, including inside <code>Not</code>. To
|
|
8006
|
+
* filter on several values of a dimension, put all of the values in one expression. Cost
|
|
8007
|
+
* Explorer combines the values in one expression with OR.</p>
|
|
7899
8008
|
* @public
|
|
7900
8009
|
*/
|
|
7901
8010
|
Filter?: Expression | undefined;
|
|
@@ -7974,10 +8083,16 @@ export interface GetSavingsPlansUtilizationRequest {
|
|
|
7974
8083
|
*/
|
|
7975
8084
|
TimePeriod: DateInterval | undefined;
|
|
7976
8085
|
/**
|
|
7977
|
-
* <p>The granularity of the Amazon Web Services
|
|
8086
|
+
* <p>The granularity of the Amazon Web Services utilization data for your Savings
|
|
7978
8087
|
* Plans.</p>
|
|
7979
8088
|
* <p>The <code>GetSavingsPlansUtilization</code> operation supports only <code>DAILY</code> and
|
|
7980
8089
|
* <code>MONTHLY</code> granularities.</p>
|
|
8090
|
+
* <p>With <code>MONTHLY</code>, each result's <code>TimePeriod</code> shows a full calendar
|
|
8091
|
+
* month, but its amounts include only the days inside the requested <code>TimePeriod</code>. If
|
|
8092
|
+
* <code>TimePeriod</code> doesn't start on the first day of a month, the first result covers
|
|
8093
|
+
* only part of that month. The same applies to the last result if <code>TimePeriod</code>
|
|
8094
|
+
* doesn't end on the first day of a month. For the current month, the result's
|
|
8095
|
+
* <code>End</code> is the first day without complete data.</p>
|
|
7981
8096
|
* @public
|
|
7982
8097
|
*/
|
|
7983
8098
|
Granularity?: Granularity | undefined;
|
|
@@ -8018,7 +8133,28 @@ export interface GetSavingsPlansUtilizationRequest {
|
|
|
8018
8133
|
* </ul>
|
|
8019
8134
|
* <p>
|
|
8020
8135
|
* <code>GetSavingsPlansUtilization</code> uses the same <a href="https://docs.aws.amazon.com/aws-cost-management/latest/APIReference/API_Expression.html">Expression</a> object
|
|
8021
|
-
* as the other operations
|
|
8136
|
+
* as the other operations. The filter must have one of the following shapes:</p>
|
|
8137
|
+
* <ul>
|
|
8138
|
+
* <li>
|
|
8139
|
+
* <p>A <code>Dimensions</code> expression.</p>
|
|
8140
|
+
* </li>
|
|
8141
|
+
* <li>
|
|
8142
|
+
* <p>A <code>Not</code> expression that contains one <code>Dimensions</code>
|
|
8143
|
+
* expression.</p>
|
|
8144
|
+
* </li>
|
|
8145
|
+
* <li>
|
|
8146
|
+
* <p>An <code>And</code> expression with two or more operands, where each operand has one
|
|
8147
|
+
* of the two shapes above.</p>
|
|
8148
|
+
* </li>
|
|
8149
|
+
* </ul>
|
|
8150
|
+
* <p>
|
|
8151
|
+
* <code>Or</code>, <code>Tags</code>, and <code>CostCategories</code> expressions aren't
|
|
8152
|
+
* supported. An <code>And</code> expression can't contain another <code>And</code>, and a
|
|
8153
|
+
* <code>Not</code> expression can't contain an <code>And</code> or another
|
|
8154
|
+
* <code>Not</code>.</p>
|
|
8155
|
+
* <p>Each dimension can appear only once in the filter, including inside <code>Not</code>. To
|
|
8156
|
+
* filter on several values of a dimension, put all of the values in one expression. Cost
|
|
8157
|
+
* Explorer combines the values in one expression with OR.</p>
|
|
8022
8158
|
* @public
|
|
8023
8159
|
*/
|
|
8024
8160
|
Filter?: Expression | undefined;
|
|
@@ -8304,9 +8440,11 @@ export interface GetTagsRequest {
|
|
|
8304
8440
|
*/
|
|
8305
8441
|
BillingViewArn?: string | undefined;
|
|
8306
8442
|
/**
|
|
8307
|
-
* <p>
|
|
8308
|
-
*
|
|
8309
|
-
*
|
|
8443
|
+
* <p>The maximum number of objects that are returned for this request. If MaxResults isn't
|
|
8444
|
+
* specified with SortBy, the request returns 1000 results as the default value for this
|
|
8445
|
+
* parameter. You can use this field only when you specify SortBy in the request. If you
|
|
8446
|
+
* specify a nonzero MaxResults without SortBy, the request fails with a
|
|
8447
|
+
* <code>ValidationException</code>.</p>
|
|
8310
8448
|
* <p>For <code>GetTags</code>, MaxResults has an upper quota of 1000.</p>
|
|
8311
8449
|
* @public
|
|
8312
8450
|
*/
|