@aws-sdk/client-cost-explorer 3.943.0 → 3.947.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (101) hide show
  1. package/README.md +8 -0
  2. package/dist-cjs/index.js +80 -161
  3. package/dist-cjs/runtimeConfig.browser.js +2 -2
  4. package/dist-cjs/runtimeConfig.js +3 -4
  5. package/dist-es/CostExplorer.js +2 -0
  6. package/dist-es/CostExplorerClient.js +2 -2
  7. package/dist-es/commands/ListCostCategoryResourceAssociationsCommand.js +16 -0
  8. package/dist-es/commands/index.js +1 -0
  9. package/dist-es/pagination/ListCostCategoryResourceAssociationsPaginator.js +4 -0
  10. package/dist-es/pagination/index.js +1 -0
  11. package/dist-es/runtimeConfig.browser.js +2 -2
  12. package/dist-es/runtimeConfig.js +2 -3
  13. package/dist-es/schemas/schemas_0.js +65 -162
  14. package/dist-types/CostExplorer.d.ts +9 -1
  15. package/dist-types/CostExplorerClient.d.ts +13 -12
  16. package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +2 -2
  17. package/dist-types/auth/httpAuthSchemeProvider.d.ts +2 -2
  18. package/dist-types/commands/CreateAnomalyMonitorCommand.d.ts +3 -3
  19. package/dist-types/commands/CreateAnomalySubscriptionCommand.d.ts +3 -3
  20. package/dist-types/commands/CreateCostCategoryDefinitionCommand.d.ts +4 -4
  21. package/dist-types/commands/DeleteAnomalyMonitorCommand.d.ts +3 -3
  22. package/dist-types/commands/DeleteAnomalySubscriptionCommand.d.ts +3 -3
  23. package/dist-types/commands/DeleteCostCategoryDefinitionCommand.d.ts +5 -5
  24. package/dist-types/commands/DescribeCostCategoryDefinitionCommand.d.ts +6 -6
  25. package/dist-types/commands/GetAnomaliesCommand.d.ts +3 -3
  26. package/dist-types/commands/GetAnomalyMonitorsCommand.d.ts +3 -3
  27. package/dist-types/commands/GetAnomalySubscriptionsCommand.d.ts +3 -3
  28. package/dist-types/commands/GetApproximateUsageRecordsCommand.d.ts +3 -3
  29. package/dist-types/commands/GetCommitmentPurchaseAnalysisCommand.d.ts +3 -3
  30. package/dist-types/commands/GetCostAndUsageCommand.d.ts +3 -3
  31. package/dist-types/commands/GetCostAndUsageComparisonsCommand.d.ts +3 -3
  32. package/dist-types/commands/GetCostAndUsageWithResourcesCommand.d.ts +3 -3
  33. package/dist-types/commands/GetCostCategoriesCommand.d.ts +5 -5
  34. package/dist-types/commands/GetCostComparisonDriversCommand.d.ts +3 -3
  35. package/dist-types/commands/GetCostForecastCommand.d.ts +3 -3
  36. package/dist-types/commands/GetDimensionValuesCommand.d.ts +3 -3
  37. package/dist-types/commands/GetReservationCoverageCommand.d.ts +4 -4
  38. package/dist-types/commands/GetReservationPurchaseRecommendationCommand.d.ts +3 -3
  39. package/dist-types/commands/GetReservationUtilizationCommand.d.ts +3 -3
  40. package/dist-types/commands/GetRightsizingRecommendationCommand.d.ts +3 -3
  41. package/dist-types/commands/GetSavingsPlanPurchaseRecommendationDetailsCommand.d.ts +3 -3
  42. package/dist-types/commands/GetSavingsPlansCoverageCommand.d.ts +4 -4
  43. package/dist-types/commands/GetSavingsPlansPurchaseRecommendationCommand.d.ts +3 -3
  44. package/dist-types/commands/GetSavingsPlansUtilizationCommand.d.ts +3 -3
  45. package/dist-types/commands/GetSavingsPlansUtilizationDetailsCommand.d.ts +3 -3
  46. package/dist-types/commands/GetTagsCommand.d.ts +3 -3
  47. package/dist-types/commands/GetUsageForecastCommand.d.ts +3 -3
  48. package/dist-types/commands/ListCommitmentPurchaseAnalysesCommand.d.ts +3 -3
  49. package/dist-types/commands/ListCostAllocationTagBackfillHistoryCommand.d.ts +3 -3
  50. package/dist-types/commands/ListCostAllocationTagsCommand.d.ts +3 -3
  51. package/dist-types/commands/ListCostCategoryDefinitionsCommand.d.ts +13 -7
  52. package/dist-types/commands/ListCostCategoryResourceAssociationsCommand.d.ts +90 -0
  53. package/dist-types/commands/ListSavingsPlansPurchaseRecommendationGenerationCommand.d.ts +3 -3
  54. package/dist-types/commands/ListTagsForResourceCommand.d.ts +3 -3
  55. package/dist-types/commands/ProvideAnomalyFeedbackCommand.d.ts +3 -3
  56. package/dist-types/commands/StartCommitmentPurchaseAnalysisCommand.d.ts +3 -3
  57. package/dist-types/commands/StartCostAllocationTagBackfillCommand.d.ts +3 -3
  58. package/dist-types/commands/StartSavingsPlansPurchaseRecommendationGenerationCommand.d.ts +3 -3
  59. package/dist-types/commands/TagResourceCommand.d.ts +3 -3
  60. package/dist-types/commands/UntagResourceCommand.d.ts +3 -3
  61. package/dist-types/commands/UpdateAnomalyMonitorCommand.d.ts +3 -3
  62. package/dist-types/commands/UpdateAnomalySubscriptionCommand.d.ts +3 -3
  63. package/dist-types/commands/UpdateCostAllocationTagsStatusCommand.d.ts +3 -3
  64. package/dist-types/commands/UpdateCostCategoryDefinitionCommand.d.ts +4 -4
  65. package/dist-types/commands/index.d.ts +1 -0
  66. package/dist-types/endpoint/EndpointParameters.d.ts +13 -1
  67. package/dist-types/endpoint/endpointResolver.d.ts +5 -2
  68. package/dist-types/extensionConfiguration.d.ts +4 -4
  69. package/dist-types/models/CostExplorerServiceException.d.ts +1 -1
  70. package/dist-types/models/errors.d.ts +1 -1
  71. package/dist-types/models/models_0.d.ts +134 -50
  72. package/dist-types/pagination/GetAnomaliesPaginator.d.ts +1 -1
  73. package/dist-types/pagination/GetAnomalyMonitorsPaginator.d.ts +1 -1
  74. package/dist-types/pagination/GetAnomalySubscriptionsPaginator.d.ts +1 -1
  75. package/dist-types/pagination/GetCostAndUsageComparisonsPaginator.d.ts +1 -1
  76. package/dist-types/pagination/GetCostComparisonDriversPaginator.d.ts +1 -1
  77. package/dist-types/pagination/GetSavingsPlansCoveragePaginator.d.ts +1 -1
  78. package/dist-types/pagination/GetSavingsPlansUtilizationDetailsPaginator.d.ts +1 -1
  79. package/dist-types/pagination/Interfaces.d.ts +1 -1
  80. package/dist-types/pagination/ListCostAllocationTagBackfillHistoryPaginator.d.ts +1 -1
  81. package/dist-types/pagination/ListCostAllocationTagsPaginator.d.ts +1 -1
  82. package/dist-types/pagination/ListCostCategoryDefinitionsPaginator.d.ts +1 -1
  83. package/dist-types/pagination/ListCostCategoryResourceAssociationsPaginator.d.ts +7 -0
  84. package/dist-types/pagination/index.d.ts +1 -0
  85. package/dist-types/runtimeConfig.browser.d.ts +1 -1
  86. package/dist-types/runtimeConfig.d.ts +1 -1
  87. package/dist-types/runtimeConfig.native.d.ts +1 -1
  88. package/dist-types/runtimeConfig.shared.d.ts +1 -1
  89. package/dist-types/runtimeExtensions.d.ts +1 -1
  90. package/dist-types/schemas/schemas_0.d.ts +8 -2
  91. package/dist-types/ts3.4/CostExplorer.d.ts +24 -0
  92. package/dist-types/ts3.4/CostExplorerClient.d.ts +9 -3
  93. package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +1 -1
  94. package/dist-types/ts3.4/commands/ListCostCategoryResourceAssociationsCommand.d.ts +51 -0
  95. package/dist-types/ts3.4/commands/index.d.ts +1 -0
  96. package/dist-types/ts3.4/models/CostExplorerServiceException.d.ts +1 -1
  97. package/dist-types/ts3.4/models/models_0.d.ts +18 -0
  98. package/dist-types/ts3.4/pagination/ListCostCategoryResourceAssociationsPaginator.d.ts +11 -0
  99. package/dist-types/ts3.4/pagination/index.d.ts +1 -0
  100. package/dist-types/ts3.4/schemas/schemas_0.d.ts +7 -1
  101. package/package.json +13 -12
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";
@@ -961,17 +967,7 @@ var AnalysisDetails = [
961
967
  [_SPPAD],
962
968
  [() => SavingsPlansPurchaseAnalysisDetails],
963
969
  ];
964
- var AnalysisNotFoundException = [
965
- -3,
966
- n0,
967
- _ANFE,
968
- {
969
- [_e]: _c,
970
- [_hE]: 400,
971
- },
972
- [_M],
973
- [0],
974
- ];
970
+ var AnalysisNotFoundException = [-3, n0, _ANFE, { [_e]: _c, [_hE]: 400 }, [_M], [0]];
975
971
  schema.TypeRegistry.for(n0).registerError(AnalysisNotFoundException, AnalysisNotFoundException$1);
976
972
  var AnalysisSummary = [
977
973
  3,
@@ -1007,39 +1003,11 @@ var AnomalySubscription = [
1007
1003
  [_SA, _AIc, _MAL, _S, _T, _Fr, _SN, _TE],
1008
1004
  [0, 0, 64 | 0, () => Subscribers, 1, 0, 0, () => Expression],
1009
1005
  ];
1010
- var BackfillLimitExceededException = [
1011
- -3,
1012
- n0,
1013
- _BLEE,
1014
- {
1015
- [_e]: _c,
1016
- [_hE]: 400,
1017
- },
1018
- [_M],
1019
- [0],
1020
- ];
1006
+ var BackfillLimitExceededException = [-3, n0, _BLEE, { [_e]: _c, [_hE]: 400 }, [_M], [0]];
1021
1007
  schema.TypeRegistry.for(n0).registerError(BackfillLimitExceededException, BackfillLimitExceededException$1);
1022
- var BillExpirationException = [
1023
- -3,
1024
- n0,
1025
- _BEE,
1026
- {
1027
- [_e]: _c,
1028
- },
1029
- [_M],
1030
- [0],
1031
- ];
1008
+ var BillExpirationException = [-3, n0, _BEE, { [_e]: _c }, [_M], [0]];
1032
1009
  schema.TypeRegistry.for(n0).registerError(BillExpirationException, BillExpirationException$1);
1033
- var BillingViewHealthStatusException = [
1034
- -3,
1035
- n0,
1036
- _BVHSE,
1037
- {
1038
- [_e]: _c,
1039
- },
1040
- [_M],
1041
- [0],
1042
- ];
1010
+ var BillingViewHealthStatusException = [-3, n0, _BVHSE, { [_e]: _c }, [_M], [0]];
1043
1011
  schema.TypeRegistry.for(n0).registerError(BillingViewHealthStatusException, BillingViewHealthStatusException$1);
1044
1012
  var CommitmentPurchaseAnalysisConfiguration = [
1045
1013
  3,
@@ -1093,9 +1061,10 @@ var CostCategoryReference = [
1093
1061
  n0,
1094
1062
  _CCR,
1095
1063
  0,
1096
- [_CCA, _N, _ES, _EE, _NOR, _PS, _V, _DVe],
1097
- [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],
1098
1066
  ];
1067
+ var CostCategoryResourceAssociation = [3, n0, _CCRA, 0, [_RAe, _CCN, _CCA], [0, 0, 0]];
1099
1068
  var CostCategoryRule = [
1100
1069
  3,
1101
1070
  n0,
@@ -1177,16 +1146,7 @@ var CurrentInstance = [
1177
1146
  [_RI, _IN, _Tag, _RD, _RU, _RCHILP, _SPCHILP, _ODHILP, _TRHILP, _MC, _CCu],
1178
1147
  [0, 0, () => TagValuesList, () => ResourceDetails, () => ResourceUtilization, 0, 0, 0, 0, 0, 0],
1179
1148
  ];
1180
- var DataUnavailableException = [
1181
- -3,
1182
- n0,
1183
- _DUE,
1184
- {
1185
- [_e]: _c,
1186
- },
1187
- [_M],
1188
- [0],
1189
- ];
1149
+ var DataUnavailableException = [-3, n0, _DUE, { [_e]: _c }, [_M], [0]];
1190
1150
  schema.TypeRegistry.for(n0).registerError(DataUnavailableException, DataUnavailableException$1);
1191
1151
  var DateInterval = [3, n0, _DI, 0, [_Sta, _E], [0, 0]];
1192
1152
  var DeleteAnomalyMonitorRequest = [3, n0, _DAMR, 0, [_MA], [0]];
@@ -1280,17 +1240,7 @@ var ForecastResult = [
1280
1240
  [_TP, _MV, _PILB, _PIUB],
1281
1241
  [() => DateInterval, 0, 0, 0],
1282
1242
  ];
1283
- var GenerationExistsException = [
1284
- -3,
1285
- n0,
1286
- _GEE,
1287
- {
1288
- [_e]: _c,
1289
- [_hE]: 400,
1290
- },
1291
- [_M],
1292
- [0],
1293
- ];
1243
+ var GenerationExistsException = [-3, n0, _GEE, { [_e]: _c, [_hE]: 400 }, [_M], [0]];
1294
1244
  schema.TypeRegistry.for(n0).registerError(GenerationExistsException, GenerationExistsException$1);
1295
1245
  var GenerationSummary = [3, n0, _GS, 0, [_RIe, _GSe, _GST, _GCT, _ECT], [0, 0, 0, 0, 0]];
1296
1246
  var GetAnomaliesRequest = [
@@ -1657,27 +1607,9 @@ var InstanceDetails = [
1657
1607
  () => MemoryDBInstanceDetails,
1658
1608
  ],
1659
1609
  ];
1660
- var InvalidNextTokenException = [
1661
- -3,
1662
- n0,
1663
- _INTE,
1664
- {
1665
- [_e]: _c,
1666
- },
1667
- [_M],
1668
- [0],
1669
- ];
1610
+ var InvalidNextTokenException = [-3, n0, _INTE, { [_e]: _c }, [_M], [0]];
1670
1611
  schema.TypeRegistry.for(n0).registerError(InvalidNextTokenException, InvalidNextTokenException$1);
1671
- var LimitExceededException = [
1672
- -3,
1673
- n0,
1674
- _LEE,
1675
- {
1676
- [_e]: _c,
1677
- },
1678
- [_M],
1679
- [0],
1680
- ];
1612
+ var LimitExceededException = [-3, n0, _LEE, { [_e]: _c }, [_M], [0]];
1681
1613
  schema.TypeRegistry.for(n0).registerError(LimitExceededException, LimitExceededException$1);
1682
1614
  var ListCommitmentPurchaseAnalysesRequest = [
1683
1615
  3,
@@ -1727,7 +1659,14 @@ var ListCostAllocationTagsResponse = [
1727
1659
  [_CATo, _NTe],
1728
1660
  [() => CostAllocationTagList, 0],
1729
1661
  ];
1730
- var ListCostCategoryDefinitionsRequest = [3, n0, _LCCDR, 0, [_EO, _NTe, _MR], [0, 0, 1]];
1662
+ var ListCostCategoryDefinitionsRequest = [
1663
+ 3,
1664
+ n0,
1665
+ _LCCDR,
1666
+ 0,
1667
+ [_EO, _NTe, _MR, _SRT],
1668
+ [0, 0, 1, 64 | 0],
1669
+ ];
1731
1670
  var ListCostCategoryDefinitionsResponse = [
1732
1671
  3,
1733
1672
  n0,
@@ -1736,6 +1675,22 @@ var ListCostCategoryDefinitionsResponse = [
1736
1675
  [_CCRos, _NTe],
1737
1676
  [() => CostCategoryReferencesList, 0],
1738
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
+ ];
1739
1694
  var ListSavingsPlansPurchaseRecommendationGenerationRequest = [
1740
1695
  3,
1741
1696
  n0,
@@ -1836,16 +1791,7 @@ var RedshiftInstanceDetails = [
1836
1791
  [_Fa, _NT, _Re, _CG, _SFE],
1837
1792
  [0, 0, 0, 2, 2],
1838
1793
  ];
1839
- var RequestChangedException = [
1840
- -3,
1841
- n0,
1842
- _RCE,
1843
- {
1844
- [_e]: _c,
1845
- },
1846
- [_M],
1847
- [0],
1848
- ];
1794
+ var RequestChangedException = [-3, n0, _RCE, { [_e]: _c }, [_M], [0]];
1849
1795
  schema.TypeRegistry.for(n0).registerError(RequestChangedException, RequestChangedException$1);
1850
1796
  var ReservationAggregates = [
1851
1797
  3,
@@ -1956,17 +1902,7 @@ var ReservationUtilizationGroup = [
1956
1902
  ];
1957
1903
  var ReservedCapacityDetails = [3, n0, _RCD, 0, [_DDBCD], [() => DynamoDBCapacityDetails]];
1958
1904
  var ResourceDetails = [3, n0, _RD, 0, [_ECRD], [() => EC2ResourceDetails]];
1959
- var ResourceNotFoundException = [
1960
- -3,
1961
- n0,
1962
- _RNFE,
1963
- {
1964
- [_e]: _c,
1965
- [_hE]: 404,
1966
- },
1967
- [_M, _RN],
1968
- [0, 0],
1969
- ];
1905
+ var ResourceNotFoundException = [-3, n0, _RNFE, { [_e]: _c, [_hE]: 404 }, [_M, _RN], [0, 0]];
1970
1906
  schema.TypeRegistry.for(n0).registerError(ResourceNotFoundException, ResourceNotFoundException$1);
1971
1907
  var ResourceTag = [3, n0, _RTe, 0, [_K, _Va], [0, 0]];
1972
1908
  var ResourceUtilization = [3, n0, _RU, 0, [_ECRU], [() => EC2ResourceUtilization]];
@@ -2146,17 +2082,7 @@ var SavingsPlansUtilizationDetail = [
2146
2082
  [_SPA, _At, _Ut, _Sa, _AC],
2147
2083
  [0, 128 | 0, () => SavingsPlansUtilization, () => SavingsPlansSavings, () => SavingsPlansAmortizedCommitment],
2148
2084
  ];
2149
- var ServiceQuotaExceededException = [
2150
- -3,
2151
- n0,
2152
- _SQEE,
2153
- {
2154
- [_e]: _c,
2155
- [_hE]: 402,
2156
- },
2157
- [_M],
2158
- [0],
2159
- ];
2085
+ var ServiceQuotaExceededException = [-3, n0, _SQEE, { [_e]: _c, [_hE]: 402 }, [_M], [0]];
2160
2086
  schema.TypeRegistry.for(n0).registerError(ServiceQuotaExceededException, ServiceQuotaExceededException$1);
2161
2087
  var ServiceSpecification = [3, n0, _SSe, 0, [_ECS], [() => EC2Specification]];
2162
2088
  var SortDefinition = [3, n0, _SDo, 0, [_K, _SO], [0, 0]];
@@ -2214,53 +2140,14 @@ var TargetInstance = [
2214
2140
  [0, 0, 0, 2, () => ResourceDetails, () => ResourceUtilization, 64 | 0],
2215
2141
  ];
2216
2142
  var TerminateRecommendationDetail = [3, n0, _TRD, 0, [_EMS, _CCu], [0, 0]];
2217
- var TooManyTagsException = [
2218
- -3,
2219
- n0,
2220
- _TMTE,
2221
- {
2222
- [_e]: _c,
2223
- [_hE]: 400,
2224
- },
2225
- [_M, _RN],
2226
- [0, 0],
2227
- ];
2143
+ var TooManyTagsException = [-3, n0, _TMTE, { [_e]: _c, [_hE]: 400 }, [_M, _RN], [0, 0]];
2228
2144
  schema.TypeRegistry.for(n0).registerError(TooManyTagsException, TooManyTagsException$1);
2229
2145
  var TotalImpactFilter = [3, n0, _TIF, 0, [_NO, _SV, _EV], [0, 1, 1]];
2230
- var UnknownMonitorException = [
2231
- -3,
2232
- n0,
2233
- _UME,
2234
- {
2235
- [_e]: _c,
2236
- [_hE]: 404,
2237
- },
2238
- [_M],
2239
- [0],
2240
- ];
2146
+ var UnknownMonitorException = [-3, n0, _UME, { [_e]: _c, [_hE]: 404 }, [_M], [0]];
2241
2147
  schema.TypeRegistry.for(n0).registerError(UnknownMonitorException, UnknownMonitorException$1);
2242
- var UnknownSubscriptionException = [
2243
- -3,
2244
- n0,
2245
- _USE,
2246
- {
2247
- [_e]: _c,
2248
- [_hE]: 404,
2249
- },
2250
- [_M],
2251
- [0],
2252
- ];
2148
+ var UnknownSubscriptionException = [-3, n0, _USE, { [_e]: _c, [_hE]: 404 }, [_M], [0]];
2253
2149
  schema.TypeRegistry.for(n0).registerError(UnknownSubscriptionException, UnknownSubscriptionException$1);
2254
- var UnresolvableUsageUnitException = [
2255
- -3,
2256
- n0,
2257
- _UUUE,
2258
- {
2259
- [_e]: _c,
2260
- },
2261
- [_M],
2262
- [0],
2263
- ];
2150
+ var UnresolvableUsageUnitException = [-3, n0, _UUUE, { [_e]: _c }, [_M], [0]];
2264
2151
  schema.TypeRegistry.for(n0).registerError(UnresolvableUsageUnitException, UnresolvableUsageUnitException$1);
2265
2152
  var UntagResourceRequest = [3, n0, _URR, 0, [_RAe, _RTK], [0, 64 | 0]];
2266
2153
  var UntagResourceResponse = [3, n0, _URRn, 0, [], []];
@@ -2327,6 +2214,13 @@ var CostAllocationTagStatusList = [1, n0, _CATSL, 0, () => CostAllocationTagStat
2327
2214
  var CostAndUsageComparisons = [1, n0, _CAUCo, 0, () => CostAndUsageComparison];
2328
2215
  var CostCategoryProcessingStatusList = [1, n0, _CCPSL, 0, () => CostCategoryProcessingStatus];
2329
2216
  var CostCategoryReferencesList = [1, n0, _CCRL, 0, () => CostCategoryReference];
2217
+ var CostCategoryResourceAssociations = [
2218
+ 1,
2219
+ n0,
2220
+ _CCRAo,
2221
+ 0,
2222
+ () => CostCategoryResourceAssociation,
2223
+ ];
2330
2224
  var CostCategoryRulesList = [1, n0, _CCRLo, 0, () => CostCategoryRule];
2331
2225
  var CostCategorySplitChargeRuleParametersList = [
2332
2226
  1,
@@ -2655,6 +2549,14 @@ var ListCostCategoryDefinitions = [
2655
2549
  () => ListCostCategoryDefinitionsRequest,
2656
2550
  () => ListCostCategoryDefinitionsResponse,
2657
2551
  ];
2552
+ var ListCostCategoryResourceAssociations = [
2553
+ 9,
2554
+ n0,
2555
+ _LCCRA,
2556
+ 0,
2557
+ () => ListCostCategoryResourceAssociationsRequest,
2558
+ () => ListCostCategoryResourceAssociationsResponse,
2559
+ ];
2658
2560
  var ListSavingsPlansPurchaseRecommendationGeneration = [
2659
2561
  9,
2660
2562
  n0,
@@ -3153,6 +3055,18 @@ class ListCostCategoryDefinitionsCommand extends smithyClient.Command
3153
3055
  .build() {
3154
3056
  }
3155
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
+
3156
3070
  class ListSavingsPlansPurchaseRecommendationGenerationCommand extends smithyClient.Command
3157
3071
  .classBuilder()
3158
3072
  .ep(commonParams)
@@ -3332,6 +3246,7 @@ const commands = {
3332
3246
  ListCostAllocationTagBackfillHistoryCommand,
3333
3247
  ListCostAllocationTagsCommand,
3334
3248
  ListCostCategoryDefinitionsCommand,
3249
+ ListCostCategoryResourceAssociationsCommand,
3335
3250
  ListSavingsPlansPurchaseRecommendationGenerationCommand,
3336
3251
  ListTagsForResourceCommand,
3337
3252
  ProvideAnomalyFeedbackCommand,
@@ -3369,6 +3284,8 @@ const paginateListCostAllocationTags = core.createPaginator(CostExplorerClient,
3369
3284
 
3370
3285
  const paginateListCostCategoryDefinitions = core.createPaginator(CostExplorerClient, ListCostCategoryDefinitionsCommand, "NextToken", "NextToken", "MaxResults");
3371
3286
 
3287
+ const paginateListCostCategoryResourceAssociations = core.createPaginator(CostExplorerClient, ListCostCategoryResourceAssociationsCommand, "NextToken", "NextToken", "MaxResults");
3288
+
3372
3289
  const AccountScope = {
3373
3290
  LINKED: "LINKED",
3374
3291
  PAYER: "PAYER",
@@ -3691,6 +3608,7 @@ exports.ListCommitmentPurchaseAnalysesCommand = ListCommitmentPurchaseAnalysesCo
3691
3608
  exports.ListCostAllocationTagBackfillHistoryCommand = ListCostAllocationTagBackfillHistoryCommand;
3692
3609
  exports.ListCostAllocationTagsCommand = ListCostAllocationTagsCommand;
3693
3610
  exports.ListCostCategoryDefinitionsCommand = ListCostCategoryDefinitionsCommand;
3611
+ exports.ListCostCategoryResourceAssociationsCommand = ListCostCategoryResourceAssociationsCommand;
3694
3612
  exports.ListSavingsPlansPurchaseRecommendationGenerationCommand = ListSavingsPlansPurchaseRecommendationGenerationCommand;
3695
3613
  exports.ListTagsForResourceCommand = ListTagsForResourceCommand;
3696
3614
  exports.LookbackPeriodInDays = LookbackPeriodInDays;
@@ -3737,3 +3655,4 @@ exports.paginateGetSavingsPlansUtilizationDetails = paginateGetSavingsPlansUtili
3737
3655
  exports.paginateListCostAllocationTagBackfillHistory = paginateListCostAllocationTagBackfillHistory;
3738
3656
  exports.paginateListCostAllocationTags = paginateListCostAllocationTags;
3739
3657
  exports.paginateListCostCategoryDefinitions = paginateListCostCategoryDefinitions;
3658
+ exports.paginateListCostCategoryResourceAssociations = paginateListCostCategoryResourceAssociations;
@@ -8,11 +8,11 @@ const util_user_agent_browser_1 = require("@aws-sdk/util-user-agent-browser");
8
8
  const config_resolver_1 = require("@smithy/config-resolver");
9
9
  const fetch_http_handler_1 = require("@smithy/fetch-http-handler");
10
10
  const invalid_dependency_1 = require("@smithy/invalid-dependency");
11
+ const smithy_client_1 = require("@smithy/smithy-client");
11
12
  const util_body_length_browser_1 = require("@smithy/util-body-length-browser");
13
+ const util_defaults_mode_browser_1 = require("@smithy/util-defaults-mode-browser");
12
14
  const util_retry_1 = require("@smithy/util-retry");
13
15
  const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
14
- const smithy_client_1 = require("@smithy/smithy-client");
15
- const util_defaults_mode_browser_1 = require("@smithy/util-defaults-mode-browser");
16
16
  const getRuntimeConfig = (config) => {
17
17
  const defaultsMode = (0, util_defaults_mode_browser_1.resolveDefaultsModeConfig)(config);
18
18
  const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode);
@@ -11,14 +11,13 @@ const hash_node_1 = require("@smithy/hash-node");
11
11
  const middleware_retry_1 = require("@smithy/middleware-retry");
12
12
  const node_config_provider_1 = require("@smithy/node-config-provider");
13
13
  const node_http_handler_1 = require("@smithy/node-http-handler");
14
+ const smithy_client_1 = require("@smithy/smithy-client");
14
15
  const util_body_length_node_1 = require("@smithy/util-body-length-node");
16
+ const util_defaults_mode_node_1 = require("@smithy/util-defaults-mode-node");
15
17
  const util_retry_1 = require("@smithy/util-retry");
16
18
  const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
17
- const smithy_client_1 = require("@smithy/smithy-client");
18
- const util_defaults_mode_node_1 = require("@smithy/util-defaults-mode-node");
19
- const smithy_client_2 = require("@smithy/smithy-client");
20
19
  const getRuntimeConfig = (config) => {
21
- (0, smithy_client_2.emitWarningIfUnsupportedVersion)(process.version);
20
+ (0, smithy_client_1.emitWarningIfUnsupportedVersion)(process.version);
22
21
  const defaultsMode = (0, util_defaults_mode_node_1.resolveDefaultsModeConfig)(config);
23
22
  const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode);
24
23
  const clientSharedValues = (0, runtimeConfig_shared_1.getRuntimeConfig)(config);
@@ -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,
@@ -6,8 +6,8 @@ import { resolveRegionConfig } from "@smithy/config-resolver";
6
6
  import { DefaultIdentityProviderConfig, getHttpAuthSchemeEndpointRuleSetPlugin, getHttpSigningPlugin, } from "@smithy/core";
7
7
  import { getSchemaSerdePlugin } from "@smithy/core/schema";
8
8
  import { getContentLengthPlugin } from "@smithy/middleware-content-length";
9
- import { resolveEndpointConfig } from "@smithy/middleware-endpoint";
10
- import { getRetryPlugin, resolveRetryConfig } from "@smithy/middleware-retry";
9
+ import { resolveEndpointConfig, } from "@smithy/middleware-endpoint";
10
+ import { getRetryPlugin, resolveRetryConfig, } from "@smithy/middleware-retry";
11
11
  import { Client as __Client, } from "@smithy/smithy-client";
12
12
  import { defaultCostExplorerHttpAuthSchemeParametersProvider, resolveHttpAuthSchemeConfig, } from "./auth/httpAuthSchemeProvider";
13
13
  import { resolveClientEndpointParameters, } from "./endpoint/EndpointParameters";
@@ -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";
@@ -4,11 +4,11 @@ import { createDefaultUserAgentProvider } from "@aws-sdk/util-user-agent-browser
4
4
  import { DEFAULT_USE_DUALSTACK_ENDPOINT, DEFAULT_USE_FIPS_ENDPOINT } from "@smithy/config-resolver";
5
5
  import { FetchHttpHandler as RequestHandler, streamCollector } from "@smithy/fetch-http-handler";
6
6
  import { invalidProvider } from "@smithy/invalid-dependency";
7
+ import { loadConfigsForDefaultMode } from "@smithy/smithy-client";
7
8
  import { calculateBodyLength } from "@smithy/util-body-length-browser";
9
+ import { resolveDefaultsModeConfig } from "@smithy/util-defaults-mode-browser";
8
10
  import { DEFAULT_MAX_ATTEMPTS, DEFAULT_RETRY_MODE } from "@smithy/util-retry";
9
11
  import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
10
- import { loadConfigsForDefaultMode } from "@smithy/smithy-client";
11
- import { resolveDefaultsModeConfig } from "@smithy/util-defaults-mode-browser";
12
12
  export const getRuntimeConfig = (config) => {
13
13
  const defaultsMode = resolveDefaultsModeConfig(config);
14
14
  const defaultConfigProvider = () => defaultsMode().then(loadConfigsForDefaultMode);
@@ -7,12 +7,11 @@ import { Hash } from "@smithy/hash-node";
7
7
  import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS } from "@smithy/middleware-retry";
8
8
  import { loadConfig as loadNodeConfig } from "@smithy/node-config-provider";
9
9
  import { NodeHttpHandler as RequestHandler, streamCollector } from "@smithy/node-http-handler";
10
+ import { emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode } from "@smithy/smithy-client";
10
11
  import { calculateBodyLength } from "@smithy/util-body-length-node";
12
+ import { resolveDefaultsModeConfig } from "@smithy/util-defaults-mode-node";
11
13
  import { DEFAULT_RETRY_MODE } from "@smithy/util-retry";
12
14
  import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
13
- import { loadConfigsForDefaultMode } from "@smithy/smithy-client";
14
- import { resolveDefaultsModeConfig } from "@smithy/util-defaults-mode-node";
15
- import { emitWarningIfUnsupportedVersion } from "@smithy/smithy-client";
16
15
  export const getRuntimeConfig = (config) => {
17
16
  emitWarningIfUnsupportedVersion(process.version);
18
17
  const defaultsMode = resolveDefaultsModeConfig(config);