@aws-sdk/client-cost-explorer 3.946.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 (33) hide show
  1. package/README.md +8 -0
  2. package/dist-cjs/index.js +65 -3
  3. package/dist-es/CostExplorer.js +2 -0
  4. package/dist-es/commands/ListCostCategoryResourceAssociationsCommand.js +16 -0
  5. package/dist-es/commands/index.js +1 -0
  6. package/dist-es/pagination/ListCostCategoryResourceAssociationsPaginator.js +4 -0
  7. package/dist-es/pagination/index.js +1 -0
  8. package/dist-es/schemas/schemas_0.js +50 -4
  9. package/dist-types/CostExplorer.d.ts +8 -0
  10. package/dist-types/CostExplorerClient.d.ts +3 -2
  11. package/dist-types/commands/CreateCostCategoryDefinitionCommand.d.ts +1 -1
  12. package/dist-types/commands/DeleteCostCategoryDefinitionCommand.d.ts +2 -2
  13. package/dist-types/commands/DescribeCostCategoryDefinitionCommand.d.ts +3 -3
  14. package/dist-types/commands/GetCostCategoriesCommand.d.ts +2 -2
  15. package/dist-types/commands/GetReservationCoverageCommand.d.ts +1 -1
  16. package/dist-types/commands/GetSavingsPlansCoverageCommand.d.ts +1 -1
  17. package/dist-types/commands/ListCostCategoryDefinitionsCommand.d.ts +10 -4
  18. package/dist-types/commands/ListCostCategoryResourceAssociationsCommand.d.ts +90 -0
  19. package/dist-types/commands/UpdateCostCategoryDefinitionCommand.d.ts +1 -1
  20. package/dist-types/commands/index.d.ts +1 -0
  21. package/dist-types/models/models_0.d.ts +134 -50
  22. package/dist-types/pagination/ListCostCategoryResourceAssociationsPaginator.d.ts +7 -0
  23. package/dist-types/pagination/index.d.ts +1 -0
  24. package/dist-types/schemas/schemas_0.d.ts +7 -1
  25. package/dist-types/ts3.4/CostExplorer.d.ts +24 -0
  26. package/dist-types/ts3.4/CostExplorerClient.d.ts +6 -0
  27. package/dist-types/ts3.4/commands/ListCostCategoryResourceAssociationsCommand.d.ts +51 -0
  28. package/dist-types/ts3.4/commands/index.d.ts +1 -0
  29. package/dist-types/ts3.4/models/models_0.d.ts +18 -0
  30. package/dist-types/ts3.4/pagination/ListCostCategoryResourceAssociationsPaginator.d.ts +11 -0
  31. package/dist-types/ts3.4/pagination/index.d.ts +1 -0
  32. package/dist-types/ts3.4/schemas/schemas_0.d.ts +7 -1
  33. package/package.json +5 -5
@@ -854,6 +854,7 @@ export interface ListCostCategoryDefinitionsRequest {
854
854
  EffectiveOn?: string | undefined;
855
855
  NextToken?: string | undefined;
856
856
  MaxResults?: number | undefined;
857
+ SupportedResourceTypes?: string[] | undefined;
857
858
  }
858
859
  export interface CostCategoryReference {
859
860
  CostCategoryArn?: string | undefined;
@@ -864,11 +865,28 @@ export interface CostCategoryReference {
864
865
  ProcessingStatus?: CostCategoryProcessingStatus[] | undefined;
865
866
  Values?: string[] | undefined;
866
867
  DefaultValue?: string | undefined;
868
+ SupportedResourceTypes?: string[] | undefined;
867
869
  }
868
870
  export interface ListCostCategoryDefinitionsResponse {
869
871
  CostCategoryReferences?: CostCategoryReference[] | undefined;
870
872
  NextToken?: string | undefined;
871
873
  }
874
+ export interface ListCostCategoryResourceAssociationsRequest {
875
+ CostCategoryArn?: string | undefined;
876
+ NextToken?: string | undefined;
877
+ MaxResults?: number | undefined;
878
+ }
879
+ export interface CostCategoryResourceAssociation {
880
+ ResourceArn?: string | undefined;
881
+ CostCategoryName?: string | undefined;
882
+ CostCategoryArn?: string | undefined;
883
+ }
884
+ export interface ListCostCategoryResourceAssociationsResponse {
885
+ CostCategoryResourceAssociations?:
886
+ | CostCategoryResourceAssociation[]
887
+ | undefined;
888
+ NextToken?: string | undefined;
889
+ }
872
890
  export interface ListSavingsPlansPurchaseRecommendationGenerationRequest {
873
891
  GenerationStatus?: GenerationStatus | undefined;
874
892
  RecommendationIds?: string[] | undefined;
@@ -0,0 +1,11 @@
1
+ import { Paginator } from "@smithy/types";
2
+ import {
3
+ ListCostCategoryResourceAssociationsCommandInput,
4
+ ListCostCategoryResourceAssociationsCommandOutput,
5
+ } from "../commands/ListCostCategoryResourceAssociationsCommand";
6
+ import { CostExplorerPaginationConfiguration } from "./Interfaces";
7
+ export declare const paginateListCostCategoryResourceAssociations: (
8
+ config: CostExplorerPaginationConfiguration,
9
+ input: ListCostCategoryResourceAssociationsCommandInput,
10
+ ...rest: any[]
11
+ ) => 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";
@@ -26,6 +26,7 @@ export declare var CostCategory: StaticStructureSchema;
26
26
  export declare var CostCategoryInheritedValueDimension: StaticStructureSchema;
27
27
  export declare var CostCategoryProcessingStatus: StaticStructureSchema;
28
28
  export declare var CostCategoryReference: StaticStructureSchema;
29
+ export declare var CostCategoryResourceAssociation: StaticStructureSchema;
29
30
  export declare var CostCategoryRule: StaticStructureSchema;
30
31
  export declare var CostCategorySplitChargeRule: StaticStructureSchema;
31
32
  export declare var CostCategorySplitChargeRuleParameter: StaticStructureSchema;
@@ -129,6 +130,8 @@ export declare var ListCostAllocationTagsRequest: StaticStructureSchema;
129
130
  export declare var ListCostAllocationTagsResponse: StaticStructureSchema;
130
131
  export declare var ListCostCategoryDefinitionsRequest: StaticStructureSchema;
131
132
  export declare var ListCostCategoryDefinitionsResponse: StaticStructureSchema;
133
+ export declare var ListCostCategoryResourceAssociationsRequest: StaticStructureSchema;
134
+ export declare var ListCostCategoryResourceAssociationsResponse: StaticStructureSchema;
132
135
  export declare var ListSavingsPlansPurchaseRecommendationGenerationRequest: StaticStructureSchema;
133
136
  export declare var ListSavingsPlansPurchaseRecommendationGenerationResponse: StaticStructureSchema;
134
137
  export declare var ListTagsForResourceRequest: StaticStructureSchema;
@@ -211,7 +214,6 @@ export declare var UpdateCostAllocationTagsStatusResponse: StaticStructureSchema
211
214
  export declare var UpdateCostCategoryDefinitionRequest: StaticStructureSchema;
212
215
  export declare var UpdateCostCategoryDefinitionResponse: StaticStructureSchema;
213
216
  export declare var UtilizationByTime: StaticStructureSchema;
214
- export declare var __Unit: "unit";
215
217
  export declare var CostExplorerServiceException: StaticErrorSchema;
216
218
  export declare var AnalysisIds: number;
217
219
  export declare var AnalysisSummaryList: StaticListSchema;
@@ -226,6 +228,7 @@ export declare var CostAndUsageComparisons: StaticListSchema;
226
228
  export declare var CostCategoryNamesList: number;
227
229
  export declare var CostCategoryProcessingStatusList: StaticListSchema;
228
230
  export declare var CostCategoryReferencesList: StaticListSchema;
231
+ export declare var CostCategoryResourceAssociations: StaticListSchema;
229
232
  export declare var CostCategoryRulesList: StaticListSchema;
230
233
  export declare var CostCategorySplitChargeRuleParametersList: StaticListSchema;
231
234
  export declare var CostCategorySplitChargeRuleParameterValuesList: number;
@@ -255,6 +258,8 @@ export declare var ReservationPurchaseRecommendations: StaticListSchema;
255
258
  export declare var ReservationUtilizationGroups: StaticListSchema;
256
259
  export declare var ResourceTagKeyList: number;
257
260
  export declare var ResourceTagList: StaticListSchema;
261
+ export declare var ResourceTypes: number;
262
+ export declare var ResourceTypesFilterInput: number;
258
263
  export declare var ResultsByTime: StaticListSchema;
259
264
  export declare var RightsizingRecommendationList: StaticListSchema;
260
265
  export declare var RootCauses: StaticListSchema;
@@ -312,6 +317,7 @@ export declare var ListCommitmentPurchaseAnalyses: StaticOperationSchema;
312
317
  export declare var ListCostAllocationTagBackfillHistory: StaticOperationSchema;
313
318
  export declare var ListCostAllocationTags: StaticOperationSchema;
314
319
  export declare var ListCostCategoryDefinitions: StaticOperationSchema;
320
+ export declare var ListCostCategoryResourceAssociations: StaticOperationSchema;
315
321
  export declare var ListSavingsPlansPurchaseRecommendationGeneration: StaticOperationSchema;
316
322
  export declare var ListTagsForResource: StaticOperationSchema;
317
323
  export declare var ProvideAnomalyFeedback: StaticOperationSchema;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-cost-explorer",
3
3
  "description": "AWS SDK for JavaScript Cost Explorer Client for Node.js, Browser and React Native",
4
- "version": "3.946.0",
4
+ "version": "3.947.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-cost-explorer",
@@ -21,17 +21,17 @@
21
21
  "dependencies": {
22
22
  "@aws-crypto/sha256-browser": "5.2.0",
23
23
  "@aws-crypto/sha256-js": "5.2.0",
24
- "@aws-sdk/core": "3.946.0",
25
- "@aws-sdk/credential-provider-node": "3.946.0",
24
+ "@aws-sdk/core": "3.947.0",
25
+ "@aws-sdk/credential-provider-node": "3.947.0",
26
26
  "@aws-sdk/middleware-host-header": "3.936.0",
27
27
  "@aws-sdk/middleware-logger": "3.936.0",
28
28
  "@aws-sdk/middleware-recursion-detection": "3.936.0",
29
- "@aws-sdk/middleware-user-agent": "3.946.0",
29
+ "@aws-sdk/middleware-user-agent": "3.947.0",
30
30
  "@aws-sdk/region-config-resolver": "3.936.0",
31
31
  "@aws-sdk/types": "3.936.0",
32
32
  "@aws-sdk/util-endpoints": "3.936.0",
33
33
  "@aws-sdk/util-user-agent-browser": "3.936.0",
34
- "@aws-sdk/util-user-agent-node": "3.946.0",
34
+ "@aws-sdk/util-user-agent-node": "3.947.0",
35
35
  "@smithy/config-resolver": "^4.4.3",
36
36
  "@smithy/core": "^3.18.7",
37
37
  "@smithy/fetch-http-handler": "^5.3.6",