@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
package/README.md
CHANGED
|
@@ -489,6 +489,14 @@ ListCostCategoryDefinitions
|
|
|
489
489
|
|
|
490
490
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/cost-explorer/command/ListCostCategoryDefinitionsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-cost-explorer/Interface/ListCostCategoryDefinitionsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-cost-explorer/Interface/ListCostCategoryDefinitionsCommandOutput/)
|
|
491
491
|
|
|
492
|
+
</details>
|
|
493
|
+
<details>
|
|
494
|
+
<summary>
|
|
495
|
+
ListCostCategoryResourceAssociations
|
|
496
|
+
</summary>
|
|
497
|
+
|
|
498
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/cost-explorer/command/ListCostCategoryResourceAssociationsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-cost-explorer/Interface/ListCostCategoryResourceAssociationsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-cost-explorer/Interface/ListCostCategoryResourceAssociationsCommandOutput/)
|
|
499
|
+
|
|
492
500
|
</details>
|
|
493
501
|
<details>
|
|
494
502
|
<summary>
|
package/dist-cjs/index.js
CHANGED
|
@@ -418,6 +418,8 @@ const _CCNo = "CostCategoryNames";
|
|
|
418
418
|
const _CCPS = "CostCategoryProcessingStatus";
|
|
419
419
|
const _CCPSL = "CostCategoryProcessingStatusList";
|
|
420
420
|
const _CCR = "CostCategoryReference";
|
|
421
|
+
const _CCRA = "CostCategoryResourceAssociation";
|
|
422
|
+
const _CCRAo = "CostCategoryResourceAssociations";
|
|
421
423
|
const _CCRL = "CostCategoryReferencesList";
|
|
422
424
|
const _CCRLo = "CostCategoryRulesList";
|
|
423
425
|
const _CCRo = "CostCategoryRule";
|
|
@@ -654,6 +656,9 @@ const _LCATRi = "ListCostAllocationTagsResponse";
|
|
|
654
656
|
const _LCCD = "ListCostCategoryDefinitions";
|
|
655
657
|
const _LCCDR = "ListCostCategoryDefinitionsRequest";
|
|
656
658
|
const _LCCDRi = "ListCostCategoryDefinitionsResponse";
|
|
659
|
+
const _LCCRA = "ListCostCategoryResourceAssociations";
|
|
660
|
+
const _LCCRAR = "ListCostCategoryResourceAssociationsRequest";
|
|
661
|
+
const _LCCRARi = "ListCostCategoryResourceAssociationsResponse";
|
|
657
662
|
const _LCPA = "ListCommitmentPurchaseAnalyses";
|
|
658
663
|
const _LCPAR = "ListCommitmentPurchaseAnalysesRequest";
|
|
659
664
|
const _LCPARi = "ListCommitmentPurchaseAnalysesResponse";
|
|
@@ -853,6 +858,7 @@ const _SPUD = "SavingsPlansUtilizationDetails";
|
|
|
853
858
|
const _SPUDa = "SavingsPlansUtilizationDetail";
|
|
854
859
|
const _SPa = "SavingsPlans";
|
|
855
860
|
const _SQEE = "ServiceQuotaExceededException";
|
|
861
|
+
const _SRT = "SupportedResourceTypes";
|
|
856
862
|
const _SS = "SearchString";
|
|
857
863
|
const _SSPPRG = "StartSavingsPlansPurchaseRecommendationGeneration";
|
|
858
864
|
const _SSPPRGR = "StartSavingsPlansPurchaseRecommendationGenerationRequest";
|
|
@@ -1055,9 +1061,10 @@ var CostCategoryReference = [
|
|
|
1055
1061
|
n0,
|
|
1056
1062
|
_CCR,
|
|
1057
1063
|
0,
|
|
1058
|
-
[_CCA, _N, _ES, _EE, _NOR, _PS, _V, _DVe],
|
|
1059
|
-
[0, 0, 0, 0, 1, () => CostCategoryProcessingStatusList, 64 | 0, 0],
|
|
1064
|
+
[_CCA, _N, _ES, _EE, _NOR, _PS, _V, _DVe, _SRT],
|
|
1065
|
+
[0, 0, 0, 0, 1, () => CostCategoryProcessingStatusList, 64 | 0, 0, 64 | 0],
|
|
1060
1066
|
];
|
|
1067
|
+
var CostCategoryResourceAssociation = [3, n0, _CCRA, 0, [_RAe, _CCN, _CCA], [0, 0, 0]];
|
|
1061
1068
|
var CostCategoryRule = [
|
|
1062
1069
|
3,
|
|
1063
1070
|
n0,
|
|
@@ -1652,7 +1659,14 @@ var ListCostAllocationTagsResponse = [
|
|
|
1652
1659
|
[_CATo, _NTe],
|
|
1653
1660
|
[() => CostAllocationTagList, 0],
|
|
1654
1661
|
];
|
|
1655
|
-
var ListCostCategoryDefinitionsRequest = [
|
|
1662
|
+
var ListCostCategoryDefinitionsRequest = [
|
|
1663
|
+
3,
|
|
1664
|
+
n0,
|
|
1665
|
+
_LCCDR,
|
|
1666
|
+
0,
|
|
1667
|
+
[_EO, _NTe, _MR, _SRT],
|
|
1668
|
+
[0, 0, 1, 64 | 0],
|
|
1669
|
+
];
|
|
1656
1670
|
var ListCostCategoryDefinitionsResponse = [
|
|
1657
1671
|
3,
|
|
1658
1672
|
n0,
|
|
@@ -1661,6 +1675,22 @@ var ListCostCategoryDefinitionsResponse = [
|
|
|
1661
1675
|
[_CCRos, _NTe],
|
|
1662
1676
|
[() => CostCategoryReferencesList, 0],
|
|
1663
1677
|
];
|
|
1678
|
+
var ListCostCategoryResourceAssociationsRequest = [
|
|
1679
|
+
3,
|
|
1680
|
+
n0,
|
|
1681
|
+
_LCCRAR,
|
|
1682
|
+
0,
|
|
1683
|
+
[_CCA, _NTe, _MR],
|
|
1684
|
+
[0, 0, 1],
|
|
1685
|
+
];
|
|
1686
|
+
var ListCostCategoryResourceAssociationsResponse = [
|
|
1687
|
+
3,
|
|
1688
|
+
n0,
|
|
1689
|
+
_LCCRARi,
|
|
1690
|
+
0,
|
|
1691
|
+
[_CCRAo, _NTe],
|
|
1692
|
+
[() => CostCategoryResourceAssociations, 0],
|
|
1693
|
+
];
|
|
1664
1694
|
var ListSavingsPlansPurchaseRecommendationGenerationRequest = [
|
|
1665
1695
|
3,
|
|
1666
1696
|
n0,
|
|
@@ -2184,6 +2214,13 @@ var CostAllocationTagStatusList = [1, n0, _CATSL, 0, () => CostAllocationTagStat
|
|
|
2184
2214
|
var CostAndUsageComparisons = [1, n0, _CAUCo, 0, () => CostAndUsageComparison];
|
|
2185
2215
|
var CostCategoryProcessingStatusList = [1, n0, _CCPSL, 0, () => CostCategoryProcessingStatus];
|
|
2186
2216
|
var CostCategoryReferencesList = [1, n0, _CCRL, 0, () => CostCategoryReference];
|
|
2217
|
+
var CostCategoryResourceAssociations = [
|
|
2218
|
+
1,
|
|
2219
|
+
n0,
|
|
2220
|
+
_CCRAo,
|
|
2221
|
+
0,
|
|
2222
|
+
() => CostCategoryResourceAssociation,
|
|
2223
|
+
];
|
|
2187
2224
|
var CostCategoryRulesList = [1, n0, _CCRLo, 0, () => CostCategoryRule];
|
|
2188
2225
|
var CostCategorySplitChargeRuleParametersList = [
|
|
2189
2226
|
1,
|
|
@@ -2512,6 +2549,14 @@ var ListCostCategoryDefinitions = [
|
|
|
2512
2549
|
() => ListCostCategoryDefinitionsRequest,
|
|
2513
2550
|
() => ListCostCategoryDefinitionsResponse,
|
|
2514
2551
|
];
|
|
2552
|
+
var ListCostCategoryResourceAssociations = [
|
|
2553
|
+
9,
|
|
2554
|
+
n0,
|
|
2555
|
+
_LCCRA,
|
|
2556
|
+
0,
|
|
2557
|
+
() => ListCostCategoryResourceAssociationsRequest,
|
|
2558
|
+
() => ListCostCategoryResourceAssociationsResponse,
|
|
2559
|
+
];
|
|
2515
2560
|
var ListSavingsPlansPurchaseRecommendationGeneration = [
|
|
2516
2561
|
9,
|
|
2517
2562
|
n0,
|
|
@@ -3010,6 +3055,18 @@ class ListCostCategoryDefinitionsCommand extends smithyClient.Command
|
|
|
3010
3055
|
.build() {
|
|
3011
3056
|
}
|
|
3012
3057
|
|
|
3058
|
+
class ListCostCategoryResourceAssociationsCommand extends smithyClient.Command
|
|
3059
|
+
.classBuilder()
|
|
3060
|
+
.ep(commonParams)
|
|
3061
|
+
.m(function (Command, cs, config, o) {
|
|
3062
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
3063
|
+
})
|
|
3064
|
+
.s("AWSInsightsIndexService", "ListCostCategoryResourceAssociations", {})
|
|
3065
|
+
.n("CostExplorerClient", "ListCostCategoryResourceAssociationsCommand")
|
|
3066
|
+
.sc(ListCostCategoryResourceAssociations)
|
|
3067
|
+
.build() {
|
|
3068
|
+
}
|
|
3069
|
+
|
|
3013
3070
|
class ListSavingsPlansPurchaseRecommendationGenerationCommand extends smithyClient.Command
|
|
3014
3071
|
.classBuilder()
|
|
3015
3072
|
.ep(commonParams)
|
|
@@ -3189,6 +3246,7 @@ const commands = {
|
|
|
3189
3246
|
ListCostAllocationTagBackfillHistoryCommand,
|
|
3190
3247
|
ListCostAllocationTagsCommand,
|
|
3191
3248
|
ListCostCategoryDefinitionsCommand,
|
|
3249
|
+
ListCostCategoryResourceAssociationsCommand,
|
|
3192
3250
|
ListSavingsPlansPurchaseRecommendationGenerationCommand,
|
|
3193
3251
|
ListTagsForResourceCommand,
|
|
3194
3252
|
ProvideAnomalyFeedbackCommand,
|
|
@@ -3226,6 +3284,8 @@ const paginateListCostAllocationTags = core.createPaginator(CostExplorerClient,
|
|
|
3226
3284
|
|
|
3227
3285
|
const paginateListCostCategoryDefinitions = core.createPaginator(CostExplorerClient, ListCostCategoryDefinitionsCommand, "NextToken", "NextToken", "MaxResults");
|
|
3228
3286
|
|
|
3287
|
+
const paginateListCostCategoryResourceAssociations = core.createPaginator(CostExplorerClient, ListCostCategoryResourceAssociationsCommand, "NextToken", "NextToken", "MaxResults");
|
|
3288
|
+
|
|
3229
3289
|
const AccountScope = {
|
|
3230
3290
|
LINKED: "LINKED",
|
|
3231
3291
|
PAYER: "PAYER",
|
|
@@ -3548,6 +3608,7 @@ exports.ListCommitmentPurchaseAnalysesCommand = ListCommitmentPurchaseAnalysesCo
|
|
|
3548
3608
|
exports.ListCostAllocationTagBackfillHistoryCommand = ListCostAllocationTagBackfillHistoryCommand;
|
|
3549
3609
|
exports.ListCostAllocationTagsCommand = ListCostAllocationTagsCommand;
|
|
3550
3610
|
exports.ListCostCategoryDefinitionsCommand = ListCostCategoryDefinitionsCommand;
|
|
3611
|
+
exports.ListCostCategoryResourceAssociationsCommand = ListCostCategoryResourceAssociationsCommand;
|
|
3551
3612
|
exports.ListSavingsPlansPurchaseRecommendationGenerationCommand = ListSavingsPlansPurchaseRecommendationGenerationCommand;
|
|
3552
3613
|
exports.ListTagsForResourceCommand = ListTagsForResourceCommand;
|
|
3553
3614
|
exports.LookbackPeriodInDays = LookbackPeriodInDays;
|
|
@@ -3594,3 +3655,4 @@ exports.paginateGetSavingsPlansUtilizationDetails = paginateGetSavingsPlansUtili
|
|
|
3594
3655
|
exports.paginateListCostAllocationTagBackfillHistory = paginateListCostAllocationTagBackfillHistory;
|
|
3595
3656
|
exports.paginateListCostAllocationTags = paginateListCostAllocationTags;
|
|
3596
3657
|
exports.paginateListCostCategoryDefinitions = paginateListCostCategoryDefinitions;
|
|
3658
|
+
exports.paginateListCostCategoryResourceAssociations = paginateListCostCategoryResourceAssociations;
|
package/dist-es/CostExplorer.js
CHANGED
|
@@ -33,6 +33,7 @@ import { ListCommitmentPurchaseAnalysesCommand, } from "./commands/ListCommitmen
|
|
|
33
33
|
import { ListCostAllocationTagBackfillHistoryCommand, } from "./commands/ListCostAllocationTagBackfillHistoryCommand";
|
|
34
34
|
import { ListCostAllocationTagsCommand, } from "./commands/ListCostAllocationTagsCommand";
|
|
35
35
|
import { ListCostCategoryDefinitionsCommand, } from "./commands/ListCostCategoryDefinitionsCommand";
|
|
36
|
+
import { ListCostCategoryResourceAssociationsCommand, } from "./commands/ListCostCategoryResourceAssociationsCommand";
|
|
36
37
|
import { ListSavingsPlansPurchaseRecommendationGenerationCommand, } from "./commands/ListSavingsPlansPurchaseRecommendationGenerationCommand";
|
|
37
38
|
import { ListTagsForResourceCommand, } from "./commands/ListTagsForResourceCommand";
|
|
38
39
|
import { ProvideAnomalyFeedbackCommand, } from "./commands/ProvideAnomalyFeedbackCommand";
|
|
@@ -81,6 +82,7 @@ const commands = {
|
|
|
81
82
|
ListCostAllocationTagBackfillHistoryCommand,
|
|
82
83
|
ListCostAllocationTagsCommand,
|
|
83
84
|
ListCostCategoryDefinitionsCommand,
|
|
85
|
+
ListCostCategoryResourceAssociationsCommand,
|
|
84
86
|
ListSavingsPlansPurchaseRecommendationGenerationCommand,
|
|
85
87
|
ListTagsForResourceCommand,
|
|
86
88
|
ProvideAnomalyFeedbackCommand,
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
+
import { ListCostCategoryResourceAssociations } from "../schemas/schemas_0";
|
|
5
|
+
export { $Command };
|
|
6
|
+
export class ListCostCategoryResourceAssociationsCommand extends $Command
|
|
7
|
+
.classBuilder()
|
|
8
|
+
.ep(commonParams)
|
|
9
|
+
.m(function (Command, cs, config, o) {
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
+
})
|
|
12
|
+
.s("AWSInsightsIndexService", "ListCostCategoryResourceAssociations", {})
|
|
13
|
+
.n("CostExplorerClient", "ListCostCategoryResourceAssociationsCommand")
|
|
14
|
+
.sc(ListCostCategoryResourceAssociations)
|
|
15
|
+
.build() {
|
|
16
|
+
}
|
|
@@ -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";
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
2
|
+
import { ListCostCategoryResourceAssociationsCommand, } from "../commands/ListCostCategoryResourceAssociationsCommand";
|
|
3
|
+
import { CostExplorerClient } from "../CostExplorerClient";
|
|
4
|
+
export const paginateListCostCategoryResourceAssociations = createPaginator(CostExplorerClient, ListCostCategoryResourceAssociationsCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -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";
|
|
@@ -84,6 +84,8 @@ const _CCNo = "CostCategoryNames";
|
|
|
84
84
|
const _CCPS = "CostCategoryProcessingStatus";
|
|
85
85
|
const _CCPSL = "CostCategoryProcessingStatusList";
|
|
86
86
|
const _CCR = "CostCategoryReference";
|
|
87
|
+
const _CCRA = "CostCategoryResourceAssociation";
|
|
88
|
+
const _CCRAo = "CostCategoryResourceAssociations";
|
|
87
89
|
const _CCRL = "CostCategoryReferencesList";
|
|
88
90
|
const _CCRLo = "CostCategoryRulesList";
|
|
89
91
|
const _CCRo = "CostCategoryRule";
|
|
@@ -320,6 +322,9 @@ const _LCATRi = "ListCostAllocationTagsResponse";
|
|
|
320
322
|
const _LCCD = "ListCostCategoryDefinitions";
|
|
321
323
|
const _LCCDR = "ListCostCategoryDefinitionsRequest";
|
|
322
324
|
const _LCCDRi = "ListCostCategoryDefinitionsResponse";
|
|
325
|
+
const _LCCRA = "ListCostCategoryResourceAssociations";
|
|
326
|
+
const _LCCRAR = "ListCostCategoryResourceAssociationsRequest";
|
|
327
|
+
const _LCCRARi = "ListCostCategoryResourceAssociationsResponse";
|
|
323
328
|
const _LCPA = "ListCommitmentPurchaseAnalyses";
|
|
324
329
|
const _LCPAR = "ListCommitmentPurchaseAnalysesRequest";
|
|
325
330
|
const _LCPARi = "ListCommitmentPurchaseAnalysesResponse";
|
|
@@ -519,6 +524,7 @@ const _SPUD = "SavingsPlansUtilizationDetails";
|
|
|
519
524
|
const _SPUDa = "SavingsPlansUtilizationDetail";
|
|
520
525
|
const _SPa = "SavingsPlans";
|
|
521
526
|
const _SQEE = "ServiceQuotaExceededException";
|
|
527
|
+
const _SRT = "SupportedResourceTypes";
|
|
522
528
|
const _SS = "SearchString";
|
|
523
529
|
const _SSPPRG = "StartSavingsPlansPurchaseRecommendationGeneration";
|
|
524
530
|
const _SSPPRGR = "StartSavingsPlansPurchaseRecommendationGenerationRequest";
|
|
@@ -724,9 +730,10 @@ export var CostCategoryReference = [
|
|
|
724
730
|
n0,
|
|
725
731
|
_CCR,
|
|
726
732
|
0,
|
|
727
|
-
[_CCA, _N, _ES, _EE, _NOR, _PS, _V, _DVe],
|
|
728
|
-
[0, 0, 0, 0, 1, () => CostCategoryProcessingStatusList, 64 | 0, 0],
|
|
733
|
+
[_CCA, _N, _ES, _EE, _NOR, _PS, _V, _DVe, _SRT],
|
|
734
|
+
[0, 0, 0, 0, 1, () => CostCategoryProcessingStatusList, 64 | 0, 0, 64 | 0],
|
|
729
735
|
];
|
|
736
|
+
export var CostCategoryResourceAssociation = [3, n0, _CCRA, 0, [_RAe, _CCN, _CCA], [0, 0, 0]];
|
|
730
737
|
export var CostCategoryRule = [
|
|
731
738
|
3,
|
|
732
739
|
n0,
|
|
@@ -1321,7 +1328,14 @@ export var ListCostAllocationTagsResponse = [
|
|
|
1321
1328
|
[_CATo, _NTe],
|
|
1322
1329
|
[() => CostAllocationTagList, 0],
|
|
1323
1330
|
];
|
|
1324
|
-
export var ListCostCategoryDefinitionsRequest = [
|
|
1331
|
+
export var ListCostCategoryDefinitionsRequest = [
|
|
1332
|
+
3,
|
|
1333
|
+
n0,
|
|
1334
|
+
_LCCDR,
|
|
1335
|
+
0,
|
|
1336
|
+
[_EO, _NTe, _MR, _SRT],
|
|
1337
|
+
[0, 0, 1, 64 | 0],
|
|
1338
|
+
];
|
|
1325
1339
|
export var ListCostCategoryDefinitionsResponse = [
|
|
1326
1340
|
3,
|
|
1327
1341
|
n0,
|
|
@@ -1330,6 +1344,22 @@ export var ListCostCategoryDefinitionsResponse = [
|
|
|
1330
1344
|
[_CCRos, _NTe],
|
|
1331
1345
|
[() => CostCategoryReferencesList, 0],
|
|
1332
1346
|
];
|
|
1347
|
+
export var ListCostCategoryResourceAssociationsRequest = [
|
|
1348
|
+
3,
|
|
1349
|
+
n0,
|
|
1350
|
+
_LCCRAR,
|
|
1351
|
+
0,
|
|
1352
|
+
[_CCA, _NTe, _MR],
|
|
1353
|
+
[0, 0, 1],
|
|
1354
|
+
];
|
|
1355
|
+
export var ListCostCategoryResourceAssociationsResponse = [
|
|
1356
|
+
3,
|
|
1357
|
+
n0,
|
|
1358
|
+
_LCCRARi,
|
|
1359
|
+
0,
|
|
1360
|
+
[_CCRAo, _NTe],
|
|
1361
|
+
[() => CostCategoryResourceAssociations, 0],
|
|
1362
|
+
];
|
|
1333
1363
|
export var ListSavingsPlansPurchaseRecommendationGenerationRequest = [
|
|
1334
1364
|
3,
|
|
1335
1365
|
n0,
|
|
@@ -1835,7 +1865,6 @@ export var UtilizationByTime = [
|
|
|
1835
1865
|
[_TP, _G, _To],
|
|
1836
1866
|
[() => DateInterval, () => ReservationUtilizationGroups, () => ReservationAggregates],
|
|
1837
1867
|
];
|
|
1838
|
-
export var __Unit = "unit";
|
|
1839
1868
|
export var CostExplorerServiceException = [-3, _s, "CostExplorerServiceException", 0, [], []];
|
|
1840
1869
|
TypeRegistry.for(_s).registerError(CostExplorerServiceException, __CostExplorerServiceException);
|
|
1841
1870
|
export var AnalysisIds = 64 | 0;
|
|
@@ -1857,6 +1886,13 @@ export var CostAndUsageComparisons = [1, n0, _CAUCo, 0, () => CostAndUsageCompar
|
|
|
1857
1886
|
export var CostCategoryNamesList = 64 | 0;
|
|
1858
1887
|
export var CostCategoryProcessingStatusList = [1, n0, _CCPSL, 0, () => CostCategoryProcessingStatus];
|
|
1859
1888
|
export var CostCategoryReferencesList = [1, n0, _CCRL, 0, () => CostCategoryReference];
|
|
1889
|
+
export var CostCategoryResourceAssociations = [
|
|
1890
|
+
1,
|
|
1891
|
+
n0,
|
|
1892
|
+
_CCRAo,
|
|
1893
|
+
0,
|
|
1894
|
+
() => CostCategoryResourceAssociation,
|
|
1895
|
+
];
|
|
1860
1896
|
export var CostCategoryRulesList = [1, n0, _CCRLo, 0, () => CostCategoryRule];
|
|
1861
1897
|
export var CostCategorySplitChargeRuleParametersList = [
|
|
1862
1898
|
1,
|
|
@@ -1910,6 +1946,8 @@ export var ReservationPurchaseRecommendations = [
|
|
|
1910
1946
|
export var ReservationUtilizationGroups = [1, n0, _RUGe, 0, () => ReservationUtilizationGroup];
|
|
1911
1947
|
export var ResourceTagKeyList = 64 | 0;
|
|
1912
1948
|
export var ResourceTagList = [1, n0, _RTL, 0, () => ResourceTag];
|
|
1949
|
+
export var ResourceTypes = 64 | 0;
|
|
1950
|
+
export var ResourceTypesFilterInput = 64 | 0;
|
|
1913
1951
|
export var ResultsByTime = [1, n0, _RBT, 0, () => ResultByTime];
|
|
1914
1952
|
export var RightsizingRecommendationList = [1, n0, _RRL, 0, () => RightsizingRecommendation];
|
|
1915
1953
|
export var RootCauses = [1, n0, _RC, 0, () => RootCause];
|
|
@@ -2203,6 +2241,14 @@ export var ListCostCategoryDefinitions = [
|
|
|
2203
2241
|
() => ListCostCategoryDefinitionsRequest,
|
|
2204
2242
|
() => ListCostCategoryDefinitionsResponse,
|
|
2205
2243
|
];
|
|
2244
|
+
export var ListCostCategoryResourceAssociations = [
|
|
2245
|
+
9,
|
|
2246
|
+
n0,
|
|
2247
|
+
_LCCRA,
|
|
2248
|
+
0,
|
|
2249
|
+
() => ListCostCategoryResourceAssociationsRequest,
|
|
2250
|
+
() => ListCostCategoryResourceAssociationsResponse,
|
|
2251
|
+
];
|
|
2206
2252
|
export var ListSavingsPlansPurchaseRecommendationGeneration = [
|
|
2207
2253
|
9,
|
|
2208
2254
|
n0,
|
|
@@ -33,6 +33,7 @@ import { ListCommitmentPurchaseAnalysesCommandInput, ListCommitmentPurchaseAnaly
|
|
|
33
33
|
import { ListCostAllocationTagBackfillHistoryCommandInput, ListCostAllocationTagBackfillHistoryCommandOutput } from "./commands/ListCostAllocationTagBackfillHistoryCommand";
|
|
34
34
|
import { ListCostAllocationTagsCommandInput, ListCostAllocationTagsCommandOutput } from "./commands/ListCostAllocationTagsCommand";
|
|
35
35
|
import { ListCostCategoryDefinitionsCommandInput, ListCostCategoryDefinitionsCommandOutput } from "./commands/ListCostCategoryDefinitionsCommand";
|
|
36
|
+
import { ListCostCategoryResourceAssociationsCommandInput, ListCostCategoryResourceAssociationsCommandOutput } from "./commands/ListCostCategoryResourceAssociationsCommand";
|
|
36
37
|
import { ListSavingsPlansPurchaseRecommendationGenerationCommandInput, ListSavingsPlansPurchaseRecommendationGenerationCommandOutput } from "./commands/ListSavingsPlansPurchaseRecommendationGenerationCommand";
|
|
37
38
|
import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
|
|
38
39
|
import { ProvideAnomalyFeedbackCommandInput, ProvideAnomalyFeedbackCommandOutput } from "./commands/ProvideAnomalyFeedbackCommand";
|
|
@@ -257,6 +258,13 @@ export interface CostExplorer {
|
|
|
257
258
|
listCostCategoryDefinitions(args: ListCostCategoryDefinitionsCommandInput, options?: __HttpHandlerOptions): Promise<ListCostCategoryDefinitionsCommandOutput>;
|
|
258
259
|
listCostCategoryDefinitions(args: ListCostCategoryDefinitionsCommandInput, cb: (err: any, data?: ListCostCategoryDefinitionsCommandOutput) => void): void;
|
|
259
260
|
listCostCategoryDefinitions(args: ListCostCategoryDefinitionsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListCostCategoryDefinitionsCommandOutput) => void): void;
|
|
261
|
+
/**
|
|
262
|
+
* @see {@link ListCostCategoryResourceAssociationsCommand}
|
|
263
|
+
*/
|
|
264
|
+
listCostCategoryResourceAssociations(): Promise<ListCostCategoryResourceAssociationsCommandOutput>;
|
|
265
|
+
listCostCategoryResourceAssociations(args: ListCostCategoryResourceAssociationsCommandInput, options?: __HttpHandlerOptions): Promise<ListCostCategoryResourceAssociationsCommandOutput>;
|
|
266
|
+
listCostCategoryResourceAssociations(args: ListCostCategoryResourceAssociationsCommandInput, cb: (err: any, data?: ListCostCategoryResourceAssociationsCommandOutput) => void): void;
|
|
267
|
+
listCostCategoryResourceAssociations(args: ListCostCategoryResourceAssociationsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListCostCategoryResourceAssociationsCommandOutput) => void): void;
|
|
260
268
|
/**
|
|
261
269
|
* @see {@link ListSavingsPlansPurchaseRecommendationGenerationCommand}
|
|
262
270
|
*/
|
|
@@ -41,6 +41,7 @@ import { ListCommitmentPurchaseAnalysesCommandInput, ListCommitmentPurchaseAnaly
|
|
|
41
41
|
import { ListCostAllocationTagBackfillHistoryCommandInput, ListCostAllocationTagBackfillHistoryCommandOutput } from "./commands/ListCostAllocationTagBackfillHistoryCommand";
|
|
42
42
|
import { ListCostAllocationTagsCommandInput, ListCostAllocationTagsCommandOutput } from "./commands/ListCostAllocationTagsCommand";
|
|
43
43
|
import { ListCostCategoryDefinitionsCommandInput, ListCostCategoryDefinitionsCommandOutput } from "./commands/ListCostCategoryDefinitionsCommand";
|
|
44
|
+
import { ListCostCategoryResourceAssociationsCommandInput, ListCostCategoryResourceAssociationsCommandOutput } from "./commands/ListCostCategoryResourceAssociationsCommand";
|
|
44
45
|
import { ListSavingsPlansPurchaseRecommendationGenerationCommandInput, ListSavingsPlansPurchaseRecommendationGenerationCommandOutput } from "./commands/ListSavingsPlansPurchaseRecommendationGenerationCommand";
|
|
45
46
|
import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
|
|
46
47
|
import { ProvideAnomalyFeedbackCommandInput, ProvideAnomalyFeedbackCommandOutput } from "./commands/ProvideAnomalyFeedbackCommand";
|
|
@@ -59,11 +60,11 @@ export { __Client };
|
|
|
59
60
|
/**
|
|
60
61
|
* @public
|
|
61
62
|
*/
|
|
62
|
-
export type ServiceInputTypes = CreateAnomalyMonitorCommandInput | CreateAnomalySubscriptionCommandInput | CreateCostCategoryDefinitionCommandInput | DeleteAnomalyMonitorCommandInput | DeleteAnomalySubscriptionCommandInput | DeleteCostCategoryDefinitionCommandInput | DescribeCostCategoryDefinitionCommandInput | GetAnomaliesCommandInput | GetAnomalyMonitorsCommandInput | GetAnomalySubscriptionsCommandInput | GetApproximateUsageRecordsCommandInput | GetCommitmentPurchaseAnalysisCommandInput | GetCostAndUsageCommandInput | GetCostAndUsageComparisonsCommandInput | GetCostAndUsageWithResourcesCommandInput | GetCostCategoriesCommandInput | GetCostComparisonDriversCommandInput | GetCostForecastCommandInput | GetDimensionValuesCommandInput | GetReservationCoverageCommandInput | GetReservationPurchaseRecommendationCommandInput | GetReservationUtilizationCommandInput | GetRightsizingRecommendationCommandInput | GetSavingsPlanPurchaseRecommendationDetailsCommandInput | GetSavingsPlansCoverageCommandInput | GetSavingsPlansPurchaseRecommendationCommandInput | GetSavingsPlansUtilizationCommandInput | GetSavingsPlansUtilizationDetailsCommandInput | GetTagsCommandInput | GetUsageForecastCommandInput | ListCommitmentPurchaseAnalysesCommandInput | ListCostAllocationTagBackfillHistoryCommandInput | ListCostAllocationTagsCommandInput | ListCostCategoryDefinitionsCommandInput | ListSavingsPlansPurchaseRecommendationGenerationCommandInput | ListTagsForResourceCommandInput | ProvideAnomalyFeedbackCommandInput | StartCommitmentPurchaseAnalysisCommandInput | StartCostAllocationTagBackfillCommandInput | StartSavingsPlansPurchaseRecommendationGenerationCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateAnomalyMonitorCommandInput | UpdateAnomalySubscriptionCommandInput | UpdateCostAllocationTagsStatusCommandInput | UpdateCostCategoryDefinitionCommandInput;
|
|
63
|
+
export type ServiceInputTypes = CreateAnomalyMonitorCommandInput | CreateAnomalySubscriptionCommandInput | CreateCostCategoryDefinitionCommandInput | DeleteAnomalyMonitorCommandInput | DeleteAnomalySubscriptionCommandInput | DeleteCostCategoryDefinitionCommandInput | DescribeCostCategoryDefinitionCommandInput | GetAnomaliesCommandInput | GetAnomalyMonitorsCommandInput | GetAnomalySubscriptionsCommandInput | GetApproximateUsageRecordsCommandInput | GetCommitmentPurchaseAnalysisCommandInput | GetCostAndUsageCommandInput | GetCostAndUsageComparisonsCommandInput | GetCostAndUsageWithResourcesCommandInput | GetCostCategoriesCommandInput | GetCostComparisonDriversCommandInput | GetCostForecastCommandInput | GetDimensionValuesCommandInput | GetReservationCoverageCommandInput | GetReservationPurchaseRecommendationCommandInput | GetReservationUtilizationCommandInput | GetRightsizingRecommendationCommandInput | GetSavingsPlanPurchaseRecommendationDetailsCommandInput | GetSavingsPlansCoverageCommandInput | GetSavingsPlansPurchaseRecommendationCommandInput | GetSavingsPlansUtilizationCommandInput | GetSavingsPlansUtilizationDetailsCommandInput | GetTagsCommandInput | GetUsageForecastCommandInput | ListCommitmentPurchaseAnalysesCommandInput | ListCostAllocationTagBackfillHistoryCommandInput | ListCostAllocationTagsCommandInput | ListCostCategoryDefinitionsCommandInput | ListCostCategoryResourceAssociationsCommandInput | ListSavingsPlansPurchaseRecommendationGenerationCommandInput | ListTagsForResourceCommandInput | ProvideAnomalyFeedbackCommandInput | StartCommitmentPurchaseAnalysisCommandInput | StartCostAllocationTagBackfillCommandInput | StartSavingsPlansPurchaseRecommendationGenerationCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateAnomalyMonitorCommandInput | UpdateAnomalySubscriptionCommandInput | UpdateCostAllocationTagsStatusCommandInput | UpdateCostCategoryDefinitionCommandInput;
|
|
63
64
|
/**
|
|
64
65
|
* @public
|
|
65
66
|
*/
|
|
66
|
-
export type ServiceOutputTypes = CreateAnomalyMonitorCommandOutput | CreateAnomalySubscriptionCommandOutput | CreateCostCategoryDefinitionCommandOutput | DeleteAnomalyMonitorCommandOutput | DeleteAnomalySubscriptionCommandOutput | DeleteCostCategoryDefinitionCommandOutput | DescribeCostCategoryDefinitionCommandOutput | GetAnomaliesCommandOutput | GetAnomalyMonitorsCommandOutput | GetAnomalySubscriptionsCommandOutput | GetApproximateUsageRecordsCommandOutput | GetCommitmentPurchaseAnalysisCommandOutput | GetCostAndUsageCommandOutput | GetCostAndUsageComparisonsCommandOutput | GetCostAndUsageWithResourcesCommandOutput | GetCostCategoriesCommandOutput | GetCostComparisonDriversCommandOutput | GetCostForecastCommandOutput | GetDimensionValuesCommandOutput | GetReservationCoverageCommandOutput | GetReservationPurchaseRecommendationCommandOutput | GetReservationUtilizationCommandOutput | GetRightsizingRecommendationCommandOutput | GetSavingsPlanPurchaseRecommendationDetailsCommandOutput | GetSavingsPlansCoverageCommandOutput | GetSavingsPlansPurchaseRecommendationCommandOutput | GetSavingsPlansUtilizationCommandOutput | GetSavingsPlansUtilizationDetailsCommandOutput | GetTagsCommandOutput | GetUsageForecastCommandOutput | ListCommitmentPurchaseAnalysesCommandOutput | ListCostAllocationTagBackfillHistoryCommandOutput | ListCostAllocationTagsCommandOutput | ListCostCategoryDefinitionsCommandOutput | ListSavingsPlansPurchaseRecommendationGenerationCommandOutput | ListTagsForResourceCommandOutput | ProvideAnomalyFeedbackCommandOutput | StartCommitmentPurchaseAnalysisCommandOutput | StartCostAllocationTagBackfillCommandOutput | StartSavingsPlansPurchaseRecommendationGenerationCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateAnomalyMonitorCommandOutput | UpdateAnomalySubscriptionCommandOutput | UpdateCostAllocationTagsStatusCommandOutput | UpdateCostCategoryDefinitionCommandOutput;
|
|
67
|
+
export type ServiceOutputTypes = CreateAnomalyMonitorCommandOutput | CreateAnomalySubscriptionCommandOutput | CreateCostCategoryDefinitionCommandOutput | DeleteAnomalyMonitorCommandOutput | DeleteAnomalySubscriptionCommandOutput | DeleteCostCategoryDefinitionCommandOutput | DescribeCostCategoryDefinitionCommandOutput | GetAnomaliesCommandOutput | GetAnomalyMonitorsCommandOutput | GetAnomalySubscriptionsCommandOutput | GetApproximateUsageRecordsCommandOutput | GetCommitmentPurchaseAnalysisCommandOutput | GetCostAndUsageCommandOutput | GetCostAndUsageComparisonsCommandOutput | GetCostAndUsageWithResourcesCommandOutput | GetCostCategoriesCommandOutput | GetCostComparisonDriversCommandOutput | GetCostForecastCommandOutput | GetDimensionValuesCommandOutput | GetReservationCoverageCommandOutput | GetReservationPurchaseRecommendationCommandOutput | GetReservationUtilizationCommandOutput | GetRightsizingRecommendationCommandOutput | GetSavingsPlanPurchaseRecommendationDetailsCommandOutput | GetSavingsPlansCoverageCommandOutput | GetSavingsPlansPurchaseRecommendationCommandOutput | GetSavingsPlansUtilizationCommandOutput | GetSavingsPlansUtilizationDetailsCommandOutput | GetTagsCommandOutput | GetUsageForecastCommandOutput | ListCommitmentPurchaseAnalysesCommandOutput | ListCostAllocationTagBackfillHistoryCommandOutput | ListCostAllocationTagsCommandOutput | ListCostCategoryDefinitionsCommandOutput | ListCostCategoryResourceAssociationsCommandOutput | ListSavingsPlansPurchaseRecommendationGenerationCommandOutput | ListTagsForResourceCommandOutput | ProvideAnomalyFeedbackCommandOutput | StartCommitmentPurchaseAnalysisCommandOutput | StartCostAllocationTagBackfillCommandOutput | StartSavingsPlansPurchaseRecommendationGenerationCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateAnomalyMonitorCommandOutput | UpdateAnomalySubscriptionCommandOutput | UpdateCostAllocationTagsStatusCommandOutput | UpdateCostCategoryDefinitionCommandOutput;
|
|
67
68
|
/**
|
|
68
69
|
* @public
|
|
69
70
|
*/
|
|
@@ -27,7 +27,7 @@ declare const CreateCostCategoryDefinitionCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>Creates a new
|
|
30
|
+
* <p>Creates a new cost category with the requested name and rules.</p>
|
|
31
31
|
* @example
|
|
32
32
|
* Use a bare-bones client and the command you need to make an API call.
|
|
33
33
|
* ```javascript
|
|
@@ -27,8 +27,8 @@ declare const DeleteCostCategoryDefinitionCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>Deletes a
|
|
31
|
-
* categorized with this
|
|
30
|
+
* <p>Deletes a cost category. Expenses from this month going forward will no longer be
|
|
31
|
+
* categorized with this cost category.</p>
|
|
32
32
|
* @example
|
|
33
33
|
* Use a bare-bones client and the command you need to make an API call.
|
|
34
34
|
* ```javascript
|
|
@@ -28,10 +28,10 @@ declare const DescribeCostCategoryDefinitionCommand_base: {
|
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
30
|
* <p>Returns the name, Amazon Resource Name (ARN), rules, definition, and effective dates of a
|
|
31
|
-
*
|
|
32
|
-
* <p>You have the option to use <code>EffectiveOn</code> to return a
|
|
31
|
+
* cost category that's defined in the account.</p>
|
|
32
|
+
* <p>You have the option to use <code>EffectiveOn</code> to return a cost category that's
|
|
33
33
|
* active on a specific date. If there's no <code>EffectiveOn</code> specified, you see a Cost
|
|
34
|
-
* Category that's effective on the current date. If
|
|
34
|
+
* Category that's effective on the current date. If cost category is still effective,
|
|
35
35
|
* <code>EffectiveEnd</code> is omitted in the response. </p>
|
|
36
36
|
* @example
|
|
37
37
|
* Use a bare-bones client and the command you need to make an API call.
|
|
@@ -27,9 +27,9 @@ declare const GetCostCategoriesCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>Retrieves an array of
|
|
30
|
+
* <p>Retrieves an array of cost category names and values incurred cost.</p>
|
|
31
31
|
* <note>
|
|
32
|
-
* <p>If some
|
|
32
|
+
* <p>If some cost category names and values are not associated with any cost, they will not
|
|
33
33
|
* be returned by this API.</p>
|
|
34
34
|
* </note>
|
|
35
35
|
* @example
|
|
@@ -30,7 +30,7 @@ declare const GetReservationCoverageCommand_base: {
|
|
|
30
30
|
* <p>Retrieves the reservation coverage for your account, which you can use to see how much
|
|
31
31
|
* of your Amazon Elastic Compute Cloud, Amazon ElastiCache, Amazon Relational Database Service,
|
|
32
32
|
* or Amazon Redshift usage is covered by a reservation. An organization's management account can
|
|
33
|
-
* see the coverage of the associated member accounts. This supports dimensions,
|
|
33
|
+
* see the coverage of the associated member accounts. This supports dimensions, cost categories,
|
|
34
34
|
* and nested expressions. For any time period, you can filter data about reservation usage by
|
|
35
35
|
* the following dimensions:</p>
|
|
36
36
|
* <ul>
|
|
@@ -29,7 +29,7 @@ declare const GetSavingsPlansCoverageCommand_base: {
|
|
|
29
29
|
/**
|
|
30
30
|
* <p>Retrieves the Savings Plans covered for your account. This enables you to see how much of
|
|
31
31
|
* your cost is covered by a Savings Plan. An organization’s management account can see the
|
|
32
|
-
* coverage of the associated member accounts. This supports dimensions,
|
|
32
|
+
* coverage of the associated member accounts. This supports dimensions, cost categories, and
|
|
33
33
|
* nested expressions. For any time period, you can filter data for Savings Plans usage with the
|
|
34
34
|
* following dimensions:</p>
|
|
35
35
|
* <ul>
|
|
@@ -28,10 +28,10 @@ declare const ListCostCategoryDefinitionsCommand_base: {
|
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
30
|
* <p>Returns the name, Amazon Resource Name (ARN), <code>NumberOfRules</code> and effective
|
|
31
|
-
* dates of all
|
|
32
|
-
*
|
|
33
|
-
* date. If there is no <code>EffectiveOn</code> specified, you’ll see
|
|
34
|
-
* effective on the current date. If
|
|
31
|
+
* dates of all cost categories defined in the account. You have the option to use
|
|
32
|
+
* <code>EffectiveOn</code> and <code>SupportedResourceTypes</code> to return a list of cost categories that were active on a specific
|
|
33
|
+
* date. If there is no <code>EffectiveOn</code> specified, you’ll see cost categories that are
|
|
34
|
+
* effective on the current date. If cost category is still effective, <code>EffectiveEnd</code>
|
|
35
35
|
* is omitted in the response. <code>ListCostCategoryDefinitions</code> supports pagination. The
|
|
36
36
|
* request can have a <code>MaxResults</code> range up to 100.</p>
|
|
37
37
|
* @example
|
|
@@ -46,6 +46,9 @@ declare const ListCostCategoryDefinitionsCommand_base: {
|
|
|
46
46
|
* EffectiveOn: "STRING_VALUE",
|
|
47
47
|
* NextToken: "STRING_VALUE",
|
|
48
48
|
* MaxResults: Number("int"),
|
|
49
|
+
* SupportedResourceTypes: [ // ResourceTypesFilterInput
|
|
50
|
+
* "STRING_VALUE",
|
|
51
|
+
* ],
|
|
49
52
|
* };
|
|
50
53
|
* const command = new ListCostCategoryDefinitionsCommand(input);
|
|
51
54
|
* const response = await client.send(command);
|
|
@@ -67,6 +70,9 @@ declare const ListCostCategoryDefinitionsCommand_base: {
|
|
|
67
70
|
* // "STRING_VALUE",
|
|
68
71
|
* // ],
|
|
69
72
|
* // DefaultValue: "STRING_VALUE",
|
|
73
|
+
* // SupportedResourceTypes: [ // ResourceTypes
|
|
74
|
+
* // "STRING_VALUE",
|
|
75
|
+
* // ],
|
|
70
76
|
* // },
|
|
71
77
|
* // ],
|
|
72
78
|
* // NextToken: "STRING_VALUE",
|
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { CostExplorerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CostExplorerClient";
|
|
4
|
+
import type { ListCostCategoryResourceAssociationsRequest, ListCostCategoryResourceAssociationsResponse } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link ListCostCategoryResourceAssociationsCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface ListCostCategoryResourceAssociationsCommandInput extends ListCostCategoryResourceAssociationsRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link ListCostCategoryResourceAssociationsCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface ListCostCategoryResourceAssociationsCommandOutput extends ListCostCategoryResourceAssociationsResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const ListCostCategoryResourceAssociationsCommand_base: {
|
|
25
|
+
new (input: ListCostCategoryResourceAssociationsCommandInput): import("@smithy/smithy-client").CommandImpl<ListCostCategoryResourceAssociationsCommandInput, ListCostCategoryResourceAssociationsCommandOutput, CostExplorerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (...[input]: [] | [ListCostCategoryResourceAssociationsCommandInput]): import("@smithy/smithy-client").CommandImpl<ListCostCategoryResourceAssociationsCommandInput, ListCostCategoryResourceAssociationsCommandOutput, CostExplorerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Returns resource associations of all cost categories defined in the account. You have the option to use <code>CostCategoryArn</code> to get the association for a specific cost category. <code>ListCostCategoryResourceAssociations</code> supports pagination. The request can have a <code>MaxResults</code> range up to 100.
|
|
31
|
+
* </p>
|
|
32
|
+
* @example
|
|
33
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
34
|
+
* ```javascript
|
|
35
|
+
* import { CostExplorerClient, ListCostCategoryResourceAssociationsCommand } from "@aws-sdk/client-cost-explorer"; // ES Modules import
|
|
36
|
+
* // const { CostExplorerClient, ListCostCategoryResourceAssociationsCommand } = require("@aws-sdk/client-cost-explorer"); // CommonJS import
|
|
37
|
+
* // import type { CostExplorerClientConfig } from "@aws-sdk/client-cost-explorer";
|
|
38
|
+
* const config = {}; // type is CostExplorerClientConfig
|
|
39
|
+
* const client = new CostExplorerClient(config);
|
|
40
|
+
* const input = { // ListCostCategoryResourceAssociationsRequest
|
|
41
|
+
* CostCategoryArn: "STRING_VALUE",
|
|
42
|
+
* NextToken: "STRING_VALUE",
|
|
43
|
+
* MaxResults: Number("int"),
|
|
44
|
+
* };
|
|
45
|
+
* const command = new ListCostCategoryResourceAssociationsCommand(input);
|
|
46
|
+
* const response = await client.send(command);
|
|
47
|
+
* // { // ListCostCategoryResourceAssociationsResponse
|
|
48
|
+
* // CostCategoryResourceAssociations: [ // CostCategoryResourceAssociations
|
|
49
|
+
* // { // CostCategoryResourceAssociation
|
|
50
|
+
* // ResourceArn: "STRING_VALUE",
|
|
51
|
+
* // CostCategoryName: "STRING_VALUE",
|
|
52
|
+
* // CostCategoryArn: "STRING_VALUE",
|
|
53
|
+
* // },
|
|
54
|
+
* // ],
|
|
55
|
+
* // NextToken: "STRING_VALUE",
|
|
56
|
+
* // };
|
|
57
|
+
*
|
|
58
|
+
* ```
|
|
59
|
+
*
|
|
60
|
+
* @param ListCostCategoryResourceAssociationsCommandInput - {@link ListCostCategoryResourceAssociationsCommandInput}
|
|
61
|
+
* @returns {@link ListCostCategoryResourceAssociationsCommandOutput}
|
|
62
|
+
* @see {@link ListCostCategoryResourceAssociationsCommandInput} for command's `input` shape.
|
|
63
|
+
* @see {@link ListCostCategoryResourceAssociationsCommandOutput} for command's `response` shape.
|
|
64
|
+
* @see {@link CostExplorerClientResolvedConfig | config} for CostExplorerClient's `config` shape.
|
|
65
|
+
*
|
|
66
|
+
* @throws {@link LimitExceededException} (client fault)
|
|
67
|
+
* <p>You made too many calls in a short period of time. Try again later.</p>
|
|
68
|
+
*
|
|
69
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
70
|
+
* <p> The specified ARN in the request doesn't exist. </p>
|
|
71
|
+
*
|
|
72
|
+
* @throws {@link CostExplorerServiceException}
|
|
73
|
+
* <p>Base exception class for all service exceptions from CostExplorer service.</p>
|
|
74
|
+
*
|
|
75
|
+
*
|
|
76
|
+
* @public
|
|
77
|
+
*/
|
|
78
|
+
export declare class ListCostCategoryResourceAssociationsCommand extends ListCostCategoryResourceAssociationsCommand_base {
|
|
79
|
+
/** @internal type navigation helper, not in runtime. */
|
|
80
|
+
protected static __types: {
|
|
81
|
+
api: {
|
|
82
|
+
input: ListCostCategoryResourceAssociationsRequest;
|
|
83
|
+
output: ListCostCategoryResourceAssociationsResponse;
|
|
84
|
+
};
|
|
85
|
+
sdk: {
|
|
86
|
+
input: ListCostCategoryResourceAssociationsCommandInput;
|
|
87
|
+
output: ListCostCategoryResourceAssociationsCommandOutput;
|
|
88
|
+
};
|
|
89
|
+
};
|
|
90
|
+
}
|
|
@@ -27,7 +27,7 @@ declare const UpdateCostCategoryDefinitionCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>Updates an existing
|
|
30
|
+
* <p>Updates an existing cost category. Changes made to the cost category rules will be used to
|
|
31
31
|
* categorize the current month’s expenses and future expenses. This won’t change categorization
|
|
32
32
|
* for the previous months.</p>
|
|
33
33
|
* @example
|
|
@@ -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";
|