@aws-sdk/client-cost-explorer 3.946.0 → 3.948.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/README.md +8 -0
- package/dist-cjs/index.js +65 -3
- package/dist-es/CostExplorer.js +2 -0
- package/dist-es/commands/ListCostCategoryResourceAssociationsCommand.js +16 -0
- package/dist-es/commands/index.js +1 -0
- package/dist-es/pagination/ListCostCategoryResourceAssociationsPaginator.js +4 -0
- package/dist-es/pagination/index.js +1 -0
- package/dist-es/schemas/schemas_0.js +50 -4
- package/dist-types/CostExplorer.d.ts +8 -0
- package/dist-types/CostExplorerClient.d.ts +3 -2
- package/dist-types/commands/CreateCostCategoryDefinitionCommand.d.ts +1 -1
- package/dist-types/commands/DeleteCostCategoryDefinitionCommand.d.ts +2 -2
- package/dist-types/commands/DescribeCostCategoryDefinitionCommand.d.ts +3 -3
- package/dist-types/commands/GetCostCategoriesCommand.d.ts +2 -2
- package/dist-types/commands/GetReservationCoverageCommand.d.ts +1 -1
- package/dist-types/commands/GetSavingsPlansCoverageCommand.d.ts +1 -1
- package/dist-types/commands/ListCostCategoryDefinitionsCommand.d.ts +10 -4
- package/dist-types/commands/ListCostCategoryResourceAssociationsCommand.d.ts +90 -0
- package/dist-types/commands/UpdateCostCategoryDefinitionCommand.d.ts +1 -1
- package/dist-types/commands/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +134 -50
- package/dist-types/pagination/ListCostCategoryResourceAssociationsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +1 -0
- package/dist-types/schemas/schemas_0.d.ts +7 -1
- package/dist-types/ts3.4/CostExplorer.d.ts +24 -0
- package/dist-types/ts3.4/CostExplorerClient.d.ts +6 -0
- package/dist-types/ts3.4/commands/ListCostCategoryResourceAssociationsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +18 -0
- package/dist-types/ts3.4/pagination/ListCostCategoryResourceAssociationsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +1 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +7 -1
- package/package.json +6 -6
|
@@ -504,12 +504,12 @@ export interface AnomalyDateInterval {
|
|
|
504
504
|
*/
|
|
505
505
|
export interface CostCategoryValues {
|
|
506
506
|
/**
|
|
507
|
-
* <p>The unique name of the
|
|
507
|
+
* <p>The unique name of the cost category.</p>
|
|
508
508
|
* @public
|
|
509
509
|
*/
|
|
510
510
|
Key?: string | undefined;
|
|
511
511
|
/**
|
|
512
|
-
* <p>The specific value of the
|
|
512
|
+
* <p>The specific value of the cost category.</p>
|
|
513
513
|
* @public
|
|
514
514
|
*/
|
|
515
515
|
Values?: string[] | undefined;
|
|
@@ -551,7 +551,7 @@ export interface DimensionValues {
|
|
|
551
551
|
/**
|
|
552
552
|
* <p>The match options that you can use to filter your results.</p>
|
|
553
553
|
* <p>
|
|
554
|
-
* <code>MatchOptions</code> is only applicable for actions related to
|
|
554
|
+
* <code>MatchOptions</code> is only applicable for actions related to cost category and
|
|
555
555
|
* Anomaly Subscriptions. Refer to the documentation for each specific API to see what is
|
|
556
556
|
* supported.</p>
|
|
557
557
|
* <p>The default values for <code>MatchOptions</code> are <code>EQUALS</code> and
|
|
@@ -584,7 +584,7 @@ export interface TagValues {
|
|
|
584
584
|
Values?: string[] | undefined;
|
|
585
585
|
/**
|
|
586
586
|
* <p>The match options that you can use to filter your results. <code>MatchOptions</code>
|
|
587
|
-
* is only applicable for actions related to
|
|
587
|
+
* is only applicable for actions related to cost category. The default values for
|
|
588
588
|
* <code>MatchOptions</code> are <code>EQUALS</code> and
|
|
589
589
|
* <code>CASE_SENSITIVE</code>.</p>
|
|
590
590
|
* @public
|
|
@@ -702,20 +702,20 @@ export interface CostCategorySplitChargeRuleParameter {
|
|
|
702
702
|
Values: string[] | undefined;
|
|
703
703
|
}
|
|
704
704
|
/**
|
|
705
|
-
* <p>Use the split charge rule to split the cost of one
|
|
705
|
+
* <p>Use the split charge rule to split the cost of one cost category value across several
|
|
706
706
|
* other target values. </p>
|
|
707
707
|
* @public
|
|
708
708
|
*/
|
|
709
709
|
export interface CostCategorySplitChargeRule {
|
|
710
710
|
/**
|
|
711
|
-
* <p>The
|
|
711
|
+
* <p>The cost category value that you want to split. That value can't be used as a source
|
|
712
712
|
* or a target in other split charge rules. To indicate uncategorized costs, you can use an
|
|
713
713
|
* empty string as the source.</p>
|
|
714
714
|
* @public
|
|
715
715
|
*/
|
|
716
716
|
Source: string | undefined;
|
|
717
717
|
/**
|
|
718
|
-
* <p>The
|
|
718
|
+
* <p>The cost category values that you want to split costs across. These values can't be
|
|
719
719
|
* used as a source in other split charge rules. </p>
|
|
720
720
|
* @public
|
|
721
721
|
*/
|
|
@@ -744,12 +744,12 @@ export interface CostCategorySplitChargeRule {
|
|
|
744
744
|
*/
|
|
745
745
|
export interface CreateCostCategoryDefinitionResponse {
|
|
746
746
|
/**
|
|
747
|
-
* <p>The unique identifier for your newly created
|
|
747
|
+
* <p>The unique identifier for your newly created cost category. </p>
|
|
748
748
|
* @public
|
|
749
749
|
*/
|
|
750
750
|
CostCategoryArn?: string | undefined;
|
|
751
751
|
/**
|
|
752
|
-
* <p>The
|
|
752
|
+
* <p>The cost category's effective start date. It can only be a billing start date (first day of the month).</p>
|
|
753
753
|
* @public
|
|
754
754
|
*/
|
|
755
755
|
EffectiveStart?: string | undefined;
|
|
@@ -789,7 +789,7 @@ export interface DeleteAnomalySubscriptionResponse {
|
|
|
789
789
|
*/
|
|
790
790
|
export interface DeleteCostCategoryDefinitionRequest {
|
|
791
791
|
/**
|
|
792
|
-
* <p>The unique identifier for your
|
|
792
|
+
* <p>The unique identifier for your cost category. </p>
|
|
793
793
|
* @public
|
|
794
794
|
*/
|
|
795
795
|
CostCategoryArn: string | undefined;
|
|
@@ -799,13 +799,13 @@ export interface DeleteCostCategoryDefinitionRequest {
|
|
|
799
799
|
*/
|
|
800
800
|
export interface DeleteCostCategoryDefinitionResponse {
|
|
801
801
|
/**
|
|
802
|
-
* <p>The unique identifier for your
|
|
802
|
+
* <p>The unique identifier for your cost category. </p>
|
|
803
803
|
* @public
|
|
804
804
|
*/
|
|
805
805
|
CostCategoryArn?: string | undefined;
|
|
806
806
|
/**
|
|
807
|
-
* <p>The effective end date of the
|
|
808
|
-
* this date is categorized by the deleted
|
|
807
|
+
* <p>The effective end date of the cost category as a result of deleting it. No costs after
|
|
808
|
+
* this date is categorized by the deleted cost category. </p>
|
|
809
809
|
* @public
|
|
810
810
|
*/
|
|
811
811
|
EffectiveEnd?: string | undefined;
|
|
@@ -815,12 +815,12 @@ export interface DeleteCostCategoryDefinitionResponse {
|
|
|
815
815
|
*/
|
|
816
816
|
export interface DescribeCostCategoryDefinitionRequest {
|
|
817
817
|
/**
|
|
818
|
-
* <p>The unique identifier for your
|
|
818
|
+
* <p>The unique identifier for your cost category. </p>
|
|
819
819
|
* @public
|
|
820
820
|
*/
|
|
821
821
|
CostCategoryArn: string | undefined;
|
|
822
822
|
/**
|
|
823
|
-
* <p>The date when the
|
|
823
|
+
* <p>The date when the cost category was effective. </p>
|
|
824
824
|
* @public
|
|
825
825
|
*/
|
|
826
826
|
EffectiveOn?: string | undefined;
|
|
@@ -1268,12 +1268,12 @@ export interface GetCostCategoriesResponse {
|
|
|
1268
1268
|
*/
|
|
1269
1269
|
NextPageToken?: string | undefined;
|
|
1270
1270
|
/**
|
|
1271
|
-
* <p>The names of the
|
|
1271
|
+
* <p>The names of the cost categories.</p>
|
|
1272
1272
|
* @public
|
|
1273
1273
|
*/
|
|
1274
1274
|
CostCategoryNames?: string[] | undefined;
|
|
1275
1275
|
/**
|
|
1276
|
-
* <p>The
|
|
1276
|
+
* <p>The cost category values.</p>
|
|
1277
1277
|
* <p>If the <code>CostCategoryName</code> key isn't specified in the request, the
|
|
1278
1278
|
* <code>CostCategoryValues</code> fields aren't returned. </p>
|
|
1279
1279
|
* @public
|
|
@@ -3942,7 +3942,7 @@ export interface ListCostAllocationTagsResponse {
|
|
|
3942
3942
|
*/
|
|
3943
3943
|
export interface ListCostCategoryDefinitionsRequest {
|
|
3944
3944
|
/**
|
|
3945
|
-
* <p>The date when the
|
|
3945
|
+
* <p>The date when the cost category was effective. </p>
|
|
3946
3946
|
* @public
|
|
3947
3947
|
*/
|
|
3948
3948
|
EffectiveOn?: string | undefined;
|
|
@@ -3957,37 +3957,44 @@ export interface ListCostCategoryDefinitionsRequest {
|
|
|
3957
3957
|
* @public
|
|
3958
3958
|
*/
|
|
3959
3959
|
MaxResults?: number | undefined;
|
|
3960
|
+
/**
|
|
3961
|
+
* <p>
|
|
3962
|
+
* 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>.
|
|
3963
|
+
* </p>
|
|
3964
|
+
* @public
|
|
3965
|
+
*/
|
|
3966
|
+
SupportedResourceTypes?: string[] | undefined;
|
|
3960
3967
|
}
|
|
3961
3968
|
/**
|
|
3962
|
-
* <p>A reference to a
|
|
3969
|
+
* <p>A reference to a cost category containing only enough information to identify the Cost
|
|
3963
3970
|
* Category.</p>
|
|
3964
|
-
* <p>You can use this information to retrieve the full
|
|
3971
|
+
* <p>You can use this information to retrieve the full cost category information using
|
|
3965
3972
|
* <code>DescribeCostCategory</code>.</p>
|
|
3966
3973
|
* @public
|
|
3967
3974
|
*/
|
|
3968
3975
|
export interface CostCategoryReference {
|
|
3969
3976
|
/**
|
|
3970
|
-
* <p>The unique identifier for your
|
|
3977
|
+
* <p>The unique identifier for your cost category. </p>
|
|
3971
3978
|
* @public
|
|
3972
3979
|
*/
|
|
3973
3980
|
CostCategoryArn?: string | undefined;
|
|
3974
3981
|
/**
|
|
3975
|
-
* <p>The unique name of the
|
|
3982
|
+
* <p>The unique name of the cost category.</p>
|
|
3976
3983
|
* @public
|
|
3977
3984
|
*/
|
|
3978
3985
|
Name?: string | undefined;
|
|
3979
3986
|
/**
|
|
3980
|
-
* <p>The
|
|
3987
|
+
* <p>The cost category's effective start date.</p>
|
|
3981
3988
|
* @public
|
|
3982
3989
|
*/
|
|
3983
3990
|
EffectiveStart?: string | undefined;
|
|
3984
3991
|
/**
|
|
3985
|
-
* <p>The
|
|
3992
|
+
* <p>The cost category's effective end date.</p>
|
|
3986
3993
|
* @public
|
|
3987
3994
|
*/
|
|
3988
3995
|
EffectiveEnd?: string | undefined;
|
|
3989
3996
|
/**
|
|
3990
|
-
* <p>The number of rules that are associated with a specific
|
|
3997
|
+
* <p>The number of rules that are associated with a specific cost category. </p>
|
|
3991
3998
|
* @public
|
|
3992
3999
|
*/
|
|
3993
4000
|
NumberOfRules?: number | undefined;
|
|
@@ -4008,13 +4015,20 @@ export interface CostCategoryReference {
|
|
|
4008
4015
|
* @public
|
|
4009
4016
|
*/
|
|
4010
4017
|
DefaultValue?: string | undefined;
|
|
4018
|
+
/**
|
|
4019
|
+
* <p>
|
|
4020
|
+
* The resource types supported by a specific cost category.
|
|
4021
|
+
* </p>
|
|
4022
|
+
* @public
|
|
4023
|
+
*/
|
|
4024
|
+
SupportedResourceTypes?: string[] | undefined;
|
|
4011
4025
|
}
|
|
4012
4026
|
/**
|
|
4013
4027
|
* @public
|
|
4014
4028
|
*/
|
|
4015
4029
|
export interface ListCostCategoryDefinitionsResponse {
|
|
4016
4030
|
/**
|
|
4017
|
-
* <p>A reference to a
|
|
4031
|
+
* <p>A reference to a cost category that contains enough information to identify the Cost
|
|
4018
4032
|
* Category. </p>
|
|
4019
4033
|
* @public
|
|
4020
4034
|
*/
|
|
@@ -4026,6 +4040,74 @@ export interface ListCostCategoryDefinitionsResponse {
|
|
|
4026
4040
|
*/
|
|
4027
4041
|
NextToken?: string | undefined;
|
|
4028
4042
|
}
|
|
4043
|
+
/**
|
|
4044
|
+
* @public
|
|
4045
|
+
*/
|
|
4046
|
+
export interface ListCostCategoryResourceAssociationsRequest {
|
|
4047
|
+
/**
|
|
4048
|
+
* <p>The unique identifier for your cost category.</p>
|
|
4049
|
+
* @public
|
|
4050
|
+
*/
|
|
4051
|
+
CostCategoryArn?: string | undefined;
|
|
4052
|
+
/**
|
|
4053
|
+
* <p>
|
|
4054
|
+
* The token to retrieve the next set of results. Amazon Web Services provides the token when the response from a previous call has more results than the maximum page size.
|
|
4055
|
+
* </p>
|
|
4056
|
+
* @public
|
|
4057
|
+
*/
|
|
4058
|
+
NextToken?: string | undefined;
|
|
4059
|
+
/**
|
|
4060
|
+
* <p>
|
|
4061
|
+
* The number of entries a paginated response contains.
|
|
4062
|
+
* </p>
|
|
4063
|
+
* @public
|
|
4064
|
+
*/
|
|
4065
|
+
MaxResults?: number | undefined;
|
|
4066
|
+
}
|
|
4067
|
+
/**
|
|
4068
|
+
* <p>A reference to a cost category association that contains information on an associated resource.
|
|
4069
|
+
* </p>
|
|
4070
|
+
* @public
|
|
4071
|
+
*/
|
|
4072
|
+
export interface CostCategoryResourceAssociation {
|
|
4073
|
+
/**
|
|
4074
|
+
* <p>
|
|
4075
|
+
* The unique identifier for an associated resource.
|
|
4076
|
+
* </p>
|
|
4077
|
+
* @public
|
|
4078
|
+
*/
|
|
4079
|
+
ResourceArn?: string | undefined;
|
|
4080
|
+
/**
|
|
4081
|
+
* <p>The unique name of the cost category.</p>
|
|
4082
|
+
* @public
|
|
4083
|
+
*/
|
|
4084
|
+
CostCategoryName?: string | undefined;
|
|
4085
|
+
/**
|
|
4086
|
+
* <p>The unique identifier for your cost category.
|
|
4087
|
+
* </p>
|
|
4088
|
+
* @public
|
|
4089
|
+
*/
|
|
4090
|
+
CostCategoryArn?: string | undefined;
|
|
4091
|
+
}
|
|
4092
|
+
/**
|
|
4093
|
+
* @public
|
|
4094
|
+
*/
|
|
4095
|
+
export interface ListCostCategoryResourceAssociationsResponse {
|
|
4096
|
+
/**
|
|
4097
|
+
* <p>
|
|
4098
|
+
* A reference to a cost category association that contains information on an associated resource.
|
|
4099
|
+
* </p>
|
|
4100
|
+
* @public
|
|
4101
|
+
*/
|
|
4102
|
+
CostCategoryResourceAssociations?: CostCategoryResourceAssociation[] | undefined;
|
|
4103
|
+
/**
|
|
4104
|
+
* <p>
|
|
4105
|
+
* The token to retrieve the next set of results. Amazon Web Services provides the token when the response from a previous call has more results than the maximum page size.
|
|
4106
|
+
* </p>
|
|
4107
|
+
* @public
|
|
4108
|
+
*/
|
|
4109
|
+
NextToken?: string | undefined;
|
|
4110
|
+
}
|
|
4029
4111
|
/**
|
|
4030
4112
|
* @public
|
|
4031
4113
|
*/
|
|
@@ -4402,12 +4484,12 @@ export interface UpdateCostAllocationTagsStatusResponse {
|
|
|
4402
4484
|
*/
|
|
4403
4485
|
export interface UpdateCostCategoryDefinitionResponse {
|
|
4404
4486
|
/**
|
|
4405
|
-
* <p>The unique identifier for your
|
|
4487
|
+
* <p>The unique identifier for your cost category. </p>
|
|
4406
4488
|
* @public
|
|
4407
4489
|
*/
|
|
4408
4490
|
CostCategoryArn?: string | undefined;
|
|
4409
4491
|
/**
|
|
4410
|
-
* <p>The
|
|
4492
|
+
* <p>The cost category's effective start date. It can only be a billing start date (first day of the month).</p>
|
|
4411
4493
|
* @public
|
|
4412
4494
|
*/
|
|
4413
4495
|
EffectiveStart?: string | undefined;
|
|
@@ -4930,7 +5012,7 @@ export interface CostAndUsageComparison {
|
|
|
4930
5012
|
}
|
|
4931
5013
|
/**
|
|
4932
5014
|
* <p>Rules are processed in order. If there are multiple rules that match the line item,
|
|
4933
|
-
* then the first rule to match is used to determine that
|
|
5015
|
+
* then the first rule to match is used to determine that cost category value.</p>
|
|
4934
5016
|
* @public
|
|
4935
5017
|
*/
|
|
4936
5018
|
export interface CostCategoryRule {
|
|
@@ -4948,7 +5030,7 @@ export interface CostCategoryRule {
|
|
|
4948
5030
|
* <code>SERVICE_CODE</code>, <code>RECORD_TYPE</code>, <code>LINKED_ACCOUNT_NAME</code>, <code>REGION</code>, and <code>USAGE_TYPE</code>.</p>
|
|
4949
5031
|
* <p>
|
|
4950
5032
|
* <code>RECORD_TYPE</code> is a dimension used for Cost Explorer APIs, and is also
|
|
4951
|
-
* supported for
|
|
5033
|
+
* supported for cost category expressions. This dimension uses different terms, depending
|
|
4952
5034
|
* on whether you're using the console or API/JSON editor. For a detailed comparison, see
|
|
4953
5035
|
* <a href="https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/manage-cost-categories.html#cost-categories-terms">Term Comparisons</a> in the <i>Billing and Cost Management User
|
|
4954
5036
|
* Guide</i>.</p>
|
|
@@ -5410,6 +5492,9 @@ export interface GetCostAndUsageWithResourcesRequest {
|
|
|
5410
5492
|
* <code>SERVICE</code> and <code>LINKED_ACCOUNT</code> and get the costs that are associated
|
|
5411
5493
|
* with that account's usage of that service. You can nest <code>Expression</code> objects to
|
|
5412
5494
|
* 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>
|
|
5495
|
+
* <p>The <code>GetCostAndUsageWithResources</code> operation requires that you either group
|
|
5496
|
+
* by or filter by a <code>ResourceId</code>. It requires the <a href="https://docs.aws.amazon.com/aws-cost-management/latest/APIReference/API_Expression.html">Expression</a>
|
|
5497
|
+
* <code>"SERVICE = Amazon Elastic Compute Cloud - Compute"</code> in the filter.</p>
|
|
5413
5498
|
* <p>Valid values for <code>MatchOptions</code> for <code>Dimensions</code> are
|
|
5414
5499
|
* <code>EQUALS</code> and <code>CASE_SENSITIVE</code>.</p>
|
|
5415
5500
|
* <p>Valid values for <code>MatchOptions</code> for <code>CostCategories</code> and
|
|
@@ -5470,8 +5555,8 @@ export interface GetCostCategoriesRequest {
|
|
|
5470
5555
|
/**
|
|
5471
5556
|
* <p>The value that you want to search the filter values for.</p>
|
|
5472
5557
|
* <p>If you don't specify a <code>CostCategoryName</code>, <code>SearchString</code> is used to
|
|
5473
|
-
* filter
|
|
5474
|
-
* <code>CostCategoryName</code>, <code>SearchString</code> is used to filter
|
|
5558
|
+
* filter cost category names that match the <code>SearchString</code> pattern. If you specify a
|
|
5559
|
+
* <code>CostCategoryName</code>, <code>SearchString</code> is used to filter cost category
|
|
5475
5560
|
* values that match the <code>SearchString</code> pattern.</p>
|
|
5476
5561
|
* @public
|
|
5477
5562
|
*/
|
|
@@ -5482,7 +5567,7 @@ export interface GetCostCategoriesRequest {
|
|
|
5482
5567
|
*/
|
|
5483
5568
|
TimePeriod: DateInterval | undefined;
|
|
5484
5569
|
/**
|
|
5485
|
-
* <p>The unique name of the
|
|
5570
|
+
* <p>The unique name of the cost category.</p>
|
|
5486
5571
|
* @public
|
|
5487
5572
|
*/
|
|
5488
5573
|
CostCategoryName?: string | undefined;
|
|
@@ -8148,40 +8233,39 @@ export interface CreateAnomalySubscriptionRequest {
|
|
|
8148
8233
|
*/
|
|
8149
8234
|
export interface CostCategory {
|
|
8150
8235
|
/**
|
|
8151
|
-
* <p>The unique identifier for your
|
|
8236
|
+
* <p>The unique identifier for your cost category. </p>
|
|
8152
8237
|
* @public
|
|
8153
8238
|
*/
|
|
8154
8239
|
CostCategoryArn: string | undefined;
|
|
8155
8240
|
/**
|
|
8156
|
-
* <p>The effective start date of your
|
|
8241
|
+
* <p>The effective start date of your cost category.</p>
|
|
8157
8242
|
* @public
|
|
8158
8243
|
*/
|
|
8159
8244
|
EffectiveStart: string | undefined;
|
|
8160
8245
|
/**
|
|
8161
|
-
* <p>The effective end date of your
|
|
8246
|
+
* <p>The effective end date of your cost category.</p>
|
|
8162
8247
|
* @public
|
|
8163
8248
|
*/
|
|
8164
8249
|
EffectiveEnd?: string | undefined;
|
|
8165
8250
|
/**
|
|
8166
|
-
* <p>The unique name of the
|
|
8251
|
+
* <p>The unique name of the cost category.</p>
|
|
8167
8252
|
* @public
|
|
8168
8253
|
*/
|
|
8169
8254
|
Name: string | undefined;
|
|
8170
8255
|
/**
|
|
8171
|
-
* <p>The rule schema version in this particular
|
|
8256
|
+
* <p>The rule schema version in this particular cost category.</p>
|
|
8172
8257
|
* @public
|
|
8173
8258
|
*/
|
|
8174
8259
|
RuleVersion: CostCategoryRuleVersion | undefined;
|
|
8175
8260
|
/**
|
|
8176
8261
|
* <p>The rules are processed in order. If there are multiple rules that match the line
|
|
8177
|
-
* item, then the first rule to match is used to determine that
|
|
8262
|
+
* item, then the first rule to match is used to determine that cost category value.
|
|
8178
8263
|
* </p>
|
|
8179
8264
|
* @public
|
|
8180
8265
|
*/
|
|
8181
8266
|
Rules: CostCategoryRule[] | undefined;
|
|
8182
8267
|
/**
|
|
8183
|
-
* <p> The split charge rules that are used to allocate your charges between your
|
|
8184
|
-
* Category values. </p>
|
|
8268
|
+
* <p> The split charge rules that are used to allocate your charges between your cost category values. </p>
|
|
8185
8269
|
* @public
|
|
8186
8270
|
*/
|
|
8187
8271
|
SplitChargeRules?: CostCategorySplitChargeRule[] | undefined;
|
|
@@ -8203,22 +8287,22 @@ export interface CostCategory {
|
|
|
8203
8287
|
*/
|
|
8204
8288
|
export interface CreateCostCategoryDefinitionRequest {
|
|
8205
8289
|
/**
|
|
8206
|
-
* <p>The unique name of the
|
|
8290
|
+
* <p>The unique name of the cost category.</p>
|
|
8207
8291
|
* @public
|
|
8208
8292
|
*/
|
|
8209
8293
|
Name: string | undefined;
|
|
8210
8294
|
/**
|
|
8211
|
-
* <p>The
|
|
8295
|
+
* <p>The cost category's effective start date. It can only be a billing start date (first day of the month). If the date isn't provided, it's the first day of the current month. Dates can't be before the previous twelve months, or in the future.</p>
|
|
8212
8296
|
* @public
|
|
8213
8297
|
*/
|
|
8214
8298
|
EffectiveStart?: string | undefined;
|
|
8215
8299
|
/**
|
|
8216
|
-
* <p>The rule schema version in this particular
|
|
8300
|
+
* <p>The rule schema version in this particular cost category.</p>
|
|
8217
8301
|
* @public
|
|
8218
8302
|
*/
|
|
8219
8303
|
RuleVersion: CostCategoryRuleVersion | undefined;
|
|
8220
8304
|
/**
|
|
8221
|
-
* <p>The
|
|
8305
|
+
* <p>The cost category rules used to categorize costs. For more information, see <a href="https://docs.aws.amazon.com/aws-cost-management/latest/APIReference/API_CostCategoryRule.html">CostCategoryRule</a>.</p>
|
|
8222
8306
|
* @public
|
|
8223
8307
|
*/
|
|
8224
8308
|
Rules: CostCategoryRule[] | undefined;
|
|
@@ -8229,7 +8313,7 @@ export interface CreateCostCategoryDefinitionRequest {
|
|
|
8229
8313
|
*/
|
|
8230
8314
|
DefaultValue?: string | undefined;
|
|
8231
8315
|
/**
|
|
8232
|
-
* <p> The split charge rules used to allocate your charges between your
|
|
8316
|
+
* <p> The split charge rules used to allocate your charges between your cost category values.
|
|
8233
8317
|
* </p>
|
|
8234
8318
|
* @public
|
|
8235
8319
|
*/
|
|
@@ -8351,17 +8435,17 @@ export interface GetCostComparisonDriversResponse {
|
|
|
8351
8435
|
*/
|
|
8352
8436
|
export interface UpdateCostCategoryDefinitionRequest {
|
|
8353
8437
|
/**
|
|
8354
|
-
* <p>The unique identifier for your
|
|
8438
|
+
* <p>The unique identifier for your cost category.</p>
|
|
8355
8439
|
* @public
|
|
8356
8440
|
*/
|
|
8357
8441
|
CostCategoryArn: string | undefined;
|
|
8358
8442
|
/**
|
|
8359
|
-
* <p>The
|
|
8443
|
+
* <p>The cost category's effective start date. It can only be a billing start date (first day of the month). If the date isn't provided, it's the first day of the current month. Dates can't be before the previous twelve months, or in the future.</p>
|
|
8360
8444
|
* @public
|
|
8361
8445
|
*/
|
|
8362
8446
|
EffectiveStart?: string | undefined;
|
|
8363
8447
|
/**
|
|
8364
|
-
* <p>The rule schema version in this particular
|
|
8448
|
+
* <p>The rule schema version in this particular cost category.</p>
|
|
8365
8449
|
* @public
|
|
8366
8450
|
*/
|
|
8367
8451
|
RuleVersion: CostCategoryRuleVersion | undefined;
|
|
@@ -8379,7 +8463,7 @@ export interface UpdateCostCategoryDefinitionRequest {
|
|
|
8379
8463
|
*/
|
|
8380
8464
|
DefaultValue?: string | undefined;
|
|
8381
8465
|
/**
|
|
8382
|
-
* <p> The split charge rules used to allocate your charges between your
|
|
8466
|
+
* <p> The split charge rules used to allocate your charges between your cost category values.
|
|
8383
8467
|
* </p>
|
|
8384
8468
|
* @public
|
|
8385
8469
|
*/
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { Paginator } from "@smithy/types";
|
|
2
|
+
import { ListCostCategoryResourceAssociationsCommandInput, ListCostCategoryResourceAssociationsCommandOutput } from "../commands/ListCostCategoryResourceAssociationsCommand";
|
|
3
|
+
import { CostExplorerPaginationConfiguration } from "./Interfaces";
|
|
4
|
+
/**
|
|
5
|
+
* @public
|
|
6
|
+
*/
|
|
7
|
+
export declare const paginateListCostCategoryResourceAssociations: (config: CostExplorerPaginationConfiguration, input: ListCostCategoryResourceAssociationsCommandInput, ...rest: any[]) => Paginator<ListCostCategoryResourceAssociationsCommandOutput>;
|
|
@@ -9,3 +9,4 @@ export * from "./Interfaces";
|
|
|
9
9
|
export * from "./ListCostAllocationTagBackfillHistoryPaginator";
|
|
10
10
|
export * from "./ListCostAllocationTagsPaginator";
|
|
11
11
|
export * from "./ListCostCategoryDefinitionsPaginator";
|
|
12
|
+
export * from "./ListCostCategoryResourceAssociationsPaginator";
|
|
@@ -20,6 +20,7 @@ export declare var CostCategory: StaticStructureSchema;
|
|
|
20
20
|
export declare var CostCategoryInheritedValueDimension: StaticStructureSchema;
|
|
21
21
|
export declare var CostCategoryProcessingStatus: StaticStructureSchema;
|
|
22
22
|
export declare var CostCategoryReference: StaticStructureSchema;
|
|
23
|
+
export declare var CostCategoryResourceAssociation: StaticStructureSchema;
|
|
23
24
|
export declare var CostCategoryRule: StaticStructureSchema;
|
|
24
25
|
export declare var CostCategorySplitChargeRule: StaticStructureSchema;
|
|
25
26
|
export declare var CostCategorySplitChargeRuleParameter: StaticStructureSchema;
|
|
@@ -123,6 +124,8 @@ export declare var ListCostAllocationTagsRequest: StaticStructureSchema;
|
|
|
123
124
|
export declare var ListCostAllocationTagsResponse: StaticStructureSchema;
|
|
124
125
|
export declare var ListCostCategoryDefinitionsRequest: StaticStructureSchema;
|
|
125
126
|
export declare var ListCostCategoryDefinitionsResponse: StaticStructureSchema;
|
|
127
|
+
export declare var ListCostCategoryResourceAssociationsRequest: StaticStructureSchema;
|
|
128
|
+
export declare var ListCostCategoryResourceAssociationsResponse: StaticStructureSchema;
|
|
126
129
|
export declare var ListSavingsPlansPurchaseRecommendationGenerationRequest: StaticStructureSchema;
|
|
127
130
|
export declare var ListSavingsPlansPurchaseRecommendationGenerationResponse: StaticStructureSchema;
|
|
128
131
|
export declare var ListTagsForResourceRequest: StaticStructureSchema;
|
|
@@ -205,7 +208,6 @@ export declare var UpdateCostAllocationTagsStatusResponse: StaticStructureSchema
|
|
|
205
208
|
export declare var UpdateCostCategoryDefinitionRequest: StaticStructureSchema;
|
|
206
209
|
export declare var UpdateCostCategoryDefinitionResponse: StaticStructureSchema;
|
|
207
210
|
export declare var UtilizationByTime: StaticStructureSchema;
|
|
208
|
-
export declare var __Unit: "unit";
|
|
209
211
|
export declare var CostExplorerServiceException: StaticErrorSchema;
|
|
210
212
|
export declare var AnalysisIds: number;
|
|
211
213
|
export declare var AnalysisSummaryList: StaticListSchema;
|
|
@@ -220,6 +222,7 @@ export declare var CostAndUsageComparisons: StaticListSchema;
|
|
|
220
222
|
export declare var CostCategoryNamesList: number;
|
|
221
223
|
export declare var CostCategoryProcessingStatusList: StaticListSchema;
|
|
222
224
|
export declare var CostCategoryReferencesList: StaticListSchema;
|
|
225
|
+
export declare var CostCategoryResourceAssociations: StaticListSchema;
|
|
223
226
|
export declare var CostCategoryRulesList: StaticListSchema;
|
|
224
227
|
export declare var CostCategorySplitChargeRuleParametersList: StaticListSchema;
|
|
225
228
|
export declare var CostCategorySplitChargeRuleParameterValuesList: number;
|
|
@@ -249,6 +252,8 @@ export declare var ReservationPurchaseRecommendations: StaticListSchema;
|
|
|
249
252
|
export declare var ReservationUtilizationGroups: StaticListSchema;
|
|
250
253
|
export declare var ResourceTagKeyList: number;
|
|
251
254
|
export declare var ResourceTagList: StaticListSchema;
|
|
255
|
+
export declare var ResourceTypes: number;
|
|
256
|
+
export declare var ResourceTypesFilterInput: number;
|
|
252
257
|
export declare var ResultsByTime: StaticListSchema;
|
|
253
258
|
export declare var RightsizingRecommendationList: StaticListSchema;
|
|
254
259
|
export declare var RootCauses: StaticListSchema;
|
|
@@ -306,6 +311,7 @@ export declare var ListCommitmentPurchaseAnalyses: StaticOperationSchema;
|
|
|
306
311
|
export declare var ListCostAllocationTagBackfillHistory: StaticOperationSchema;
|
|
307
312
|
export declare var ListCostAllocationTags: StaticOperationSchema;
|
|
308
313
|
export declare var ListCostCategoryDefinitions: StaticOperationSchema;
|
|
314
|
+
export declare var ListCostCategoryResourceAssociations: StaticOperationSchema;
|
|
309
315
|
export declare var ListSavingsPlansPurchaseRecommendationGeneration: StaticOperationSchema;
|
|
310
316
|
export declare var ListTagsForResource: StaticOperationSchema;
|
|
311
317
|
export declare var ProvideAnomalyFeedback: StaticOperationSchema;
|
|
@@ -135,6 +135,10 @@ import {
|
|
|
135
135
|
ListCostCategoryDefinitionsCommandInput,
|
|
136
136
|
ListCostCategoryDefinitionsCommandOutput,
|
|
137
137
|
} from "./commands/ListCostCategoryDefinitionsCommand";
|
|
138
|
+
import {
|
|
139
|
+
ListCostCategoryResourceAssociationsCommandInput,
|
|
140
|
+
ListCostCategoryResourceAssociationsCommandOutput,
|
|
141
|
+
} from "./commands/ListCostCategoryResourceAssociationsCommand";
|
|
138
142
|
import {
|
|
139
143
|
ListSavingsPlansPurchaseRecommendationGenerationCommandInput,
|
|
140
144
|
ListSavingsPlansPurchaseRecommendationGenerationCommandOutput,
|
|
@@ -663,6 +667,26 @@ export interface CostExplorer {
|
|
|
663
667
|
options: __HttpHandlerOptions,
|
|
664
668
|
cb: (err: any, data?: ListCostCategoryDefinitionsCommandOutput) => void
|
|
665
669
|
): void;
|
|
670
|
+
listCostCategoryResourceAssociations(): Promise<ListCostCategoryResourceAssociationsCommandOutput>;
|
|
671
|
+
listCostCategoryResourceAssociations(
|
|
672
|
+
args: ListCostCategoryResourceAssociationsCommandInput,
|
|
673
|
+
options?: __HttpHandlerOptions
|
|
674
|
+
): Promise<ListCostCategoryResourceAssociationsCommandOutput>;
|
|
675
|
+
listCostCategoryResourceAssociations(
|
|
676
|
+
args: ListCostCategoryResourceAssociationsCommandInput,
|
|
677
|
+
cb: (
|
|
678
|
+
err: any,
|
|
679
|
+
data?: ListCostCategoryResourceAssociationsCommandOutput
|
|
680
|
+
) => void
|
|
681
|
+
): void;
|
|
682
|
+
listCostCategoryResourceAssociations(
|
|
683
|
+
args: ListCostCategoryResourceAssociationsCommandInput,
|
|
684
|
+
options: __HttpHandlerOptions,
|
|
685
|
+
cb: (
|
|
686
|
+
err: any,
|
|
687
|
+
data?: ListCostCategoryResourceAssociationsCommandOutput
|
|
688
|
+
) => void
|
|
689
|
+
): void;
|
|
666
690
|
listSavingsPlansPurchaseRecommendationGeneration(): Promise<ListSavingsPlansPurchaseRecommendationGenerationCommandOutput>;
|
|
667
691
|
listSavingsPlansPurchaseRecommendationGeneration(
|
|
668
692
|
args: ListSavingsPlansPurchaseRecommendationGenerationCommandInput,
|
|
@@ -184,6 +184,10 @@ import {
|
|
|
184
184
|
ListCostCategoryDefinitionsCommandInput,
|
|
185
185
|
ListCostCategoryDefinitionsCommandOutput,
|
|
186
186
|
} from "./commands/ListCostCategoryDefinitionsCommand";
|
|
187
|
+
import {
|
|
188
|
+
ListCostCategoryResourceAssociationsCommandInput,
|
|
189
|
+
ListCostCategoryResourceAssociationsCommandOutput,
|
|
190
|
+
} from "./commands/ListCostCategoryResourceAssociationsCommand";
|
|
187
191
|
import {
|
|
188
192
|
ListSavingsPlansPurchaseRecommendationGenerationCommandInput,
|
|
189
193
|
ListSavingsPlansPurchaseRecommendationGenerationCommandOutput,
|
|
@@ -274,6 +278,7 @@ export type ServiceInputTypes =
|
|
|
274
278
|
| ListCostAllocationTagBackfillHistoryCommandInput
|
|
275
279
|
| ListCostAllocationTagsCommandInput
|
|
276
280
|
| ListCostCategoryDefinitionsCommandInput
|
|
281
|
+
| ListCostCategoryResourceAssociationsCommandInput
|
|
277
282
|
| ListSavingsPlansPurchaseRecommendationGenerationCommandInput
|
|
278
283
|
| ListTagsForResourceCommandInput
|
|
279
284
|
| ProvideAnomalyFeedbackCommandInput
|
|
@@ -321,6 +326,7 @@ export type ServiceOutputTypes =
|
|
|
321
326
|
| ListCostAllocationTagBackfillHistoryCommandOutput
|
|
322
327
|
| ListCostAllocationTagsCommandOutput
|
|
323
328
|
| ListCostCategoryDefinitionsCommandOutput
|
|
329
|
+
| ListCostCategoryResourceAssociationsCommandOutput
|
|
324
330
|
| ListSavingsPlansPurchaseRecommendationGenerationCommandOutput
|
|
325
331
|
| ListTagsForResourceCommandOutput
|
|
326
332
|
| ProvideAnomalyFeedbackCommandOutput
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import {
|
|
4
|
+
CostExplorerClientResolvedConfig,
|
|
5
|
+
ServiceInputTypes,
|
|
6
|
+
ServiceOutputTypes,
|
|
7
|
+
} from "../CostExplorerClient";
|
|
8
|
+
import {
|
|
9
|
+
ListCostCategoryResourceAssociationsRequest,
|
|
10
|
+
ListCostCategoryResourceAssociationsResponse,
|
|
11
|
+
} from "../models/models_0";
|
|
12
|
+
export { __MetadataBearer };
|
|
13
|
+
export { $Command };
|
|
14
|
+
export interface ListCostCategoryResourceAssociationsCommandInput
|
|
15
|
+
extends ListCostCategoryResourceAssociationsRequest {}
|
|
16
|
+
export interface ListCostCategoryResourceAssociationsCommandOutput
|
|
17
|
+
extends ListCostCategoryResourceAssociationsResponse,
|
|
18
|
+
__MetadataBearer {}
|
|
19
|
+
declare const ListCostCategoryResourceAssociationsCommand_base: {
|
|
20
|
+
new (
|
|
21
|
+
input: ListCostCategoryResourceAssociationsCommandInput
|
|
22
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
23
|
+
ListCostCategoryResourceAssociationsCommandInput,
|
|
24
|
+
ListCostCategoryResourceAssociationsCommandOutput,
|
|
25
|
+
CostExplorerClientResolvedConfig,
|
|
26
|
+
ServiceInputTypes,
|
|
27
|
+
ServiceOutputTypes
|
|
28
|
+
>;
|
|
29
|
+
new (
|
|
30
|
+
...[input]: [] | [ListCostCategoryResourceAssociationsCommandInput]
|
|
31
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
32
|
+
ListCostCategoryResourceAssociationsCommandInput,
|
|
33
|
+
ListCostCategoryResourceAssociationsCommandOutput,
|
|
34
|
+
CostExplorerClientResolvedConfig,
|
|
35
|
+
ServiceInputTypes,
|
|
36
|
+
ServiceOutputTypes
|
|
37
|
+
>;
|
|
38
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
39
|
+
};
|
|
40
|
+
export declare class ListCostCategoryResourceAssociationsCommand extends ListCostCategoryResourceAssociationsCommand_base {
|
|
41
|
+
protected static __types: {
|
|
42
|
+
api: {
|
|
43
|
+
input: ListCostCategoryResourceAssociationsRequest;
|
|
44
|
+
output: ListCostCategoryResourceAssociationsResponse;
|
|
45
|
+
};
|
|
46
|
+
sdk: {
|
|
47
|
+
input: ListCostCategoryResourceAssociationsCommandInput;
|
|
48
|
+
output: ListCostCategoryResourceAssociationsCommandOutput;
|
|
49
|
+
};
|
|
50
|
+
};
|
|
51
|
+
}
|
|
@@ -32,6 +32,7 @@ export * from "./ListCommitmentPurchaseAnalysesCommand";
|
|
|
32
32
|
export * from "./ListCostAllocationTagBackfillHistoryCommand";
|
|
33
33
|
export * from "./ListCostAllocationTagsCommand";
|
|
34
34
|
export * from "./ListCostCategoryDefinitionsCommand";
|
|
35
|
+
export * from "./ListCostCategoryResourceAssociationsCommand";
|
|
35
36
|
export * from "./ListSavingsPlansPurchaseRecommendationGenerationCommand";
|
|
36
37
|
export * from "./ListTagsForResourceCommand";
|
|
37
38
|
export * from "./ProvideAnomalyFeedbackCommand";
|