@aws-sdk/client-cost-explorer 3.99.0 → 3.106.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 (47) hide show
  1. package/dist-cjs/CostExplorer.js +30 -0
  2. package/dist-cjs/CostExplorerClient.js +2 -0
  3. package/dist-cjs/commands/ListCostAllocationTagsCommand.js +36 -0
  4. package/dist-cjs/commands/UpdateCostAllocationTagsStatusCommand.js +36 -0
  5. package/dist-cjs/commands/index.js +2 -0
  6. package/dist-cjs/models/models_0.js +54 -2
  7. package/dist-cjs/pagination/ListCostAllocationTagsPaginator.js +36 -0
  8. package/dist-cjs/pagination/index.js +1 -0
  9. package/dist-cjs/protocols/Aws_json1_1.js +192 -2
  10. package/dist-es/CostExplorer.js +30 -0
  11. package/dist-es/CostExplorerClient.js +2 -0
  12. package/dist-es/commands/ListCostAllocationTagsCommand.js +39 -0
  13. package/dist-es/commands/UpdateCostAllocationTagsStatusCommand.js +39 -0
  14. package/dist-es/commands/index.js +2 -0
  15. package/dist-es/models/models_0.js +38 -0
  16. package/dist-es/pagination/ListCostAllocationTagsPaginator.js +75 -0
  17. package/dist-es/pagination/index.js +1 -0
  18. package/dist-es/protocols/Aws_json1_1.js +210 -0
  19. package/dist-types/CostExplorer.d.ts +63 -29
  20. package/dist-types/CostExplorerClient.d.ts +4 -2
  21. package/dist-types/commands/DescribeCostCategoryDefinitionCommand.d.ts +6 -2
  22. package/dist-types/commands/GetCostAndUsageWithResourcesCommand.d.ts +3 -1
  23. package/dist-types/commands/GetReservationCoverageCommand.d.ts +6 -3
  24. package/dist-types/commands/GetReservationPurchaseRecommendationCommand.d.ts +16 -10
  25. package/dist-types/commands/GetRightsizingRecommendationCommand.d.ts +2 -6
  26. package/dist-types/commands/GetSavingsPlansUtilizationCommand.d.ts +1 -1
  27. package/dist-types/commands/ListCostAllocationTagsCommand.d.ts +36 -0
  28. package/dist-types/commands/ListCostCategoryDefinitionsCommand.d.ts +7 -1
  29. package/dist-types/commands/TagResourceCommand.d.ts +2 -2
  30. package/dist-types/commands/UntagResourceCommand.d.ts +2 -3
  31. package/dist-types/commands/UpdateCostAllocationTagsStatusCommand.d.ts +38 -0
  32. package/dist-types/commands/index.d.ts +2 -0
  33. package/dist-types/models/models_0.d.ts +410 -248
  34. package/dist-types/pagination/ListCostAllocationTagsPaginator.d.ts +4 -0
  35. package/dist-types/pagination/index.d.ts +1 -0
  36. package/dist-types/protocols/Aws_json1_1.d.ts +6 -0
  37. package/dist-types/ts3.4/CostExplorer.d.ts +10 -0
  38. package/dist-types/ts3.4/CostExplorerClient.d.ts +4 -2
  39. package/dist-types/ts3.4/commands/ListCostAllocationTagsCommand.d.ts +17 -0
  40. package/dist-types/ts3.4/commands/UpdateCostAllocationTagsStatusCommand.d.ts +17 -0
  41. package/dist-types/ts3.4/commands/index.d.ts +2 -0
  42. package/dist-types/ts3.4/models/models_0.d.ts +94 -21
  43. package/dist-types/ts3.4/pagination/ListCostAllocationTagsPaginator.d.ts +4 -0
  44. package/dist-types/ts3.4/pagination/index.d.ts +1 -0
  45. package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +6 -0
  46. package/package.json +4 -3
  47. package/CHANGELOG.md +0 -3755
@@ -0,0 +1,4 @@
1
+ import { Paginator } from "@aws-sdk/types";
2
+ import { ListCostAllocationTagsCommandInput, ListCostAllocationTagsCommandOutput } from "../commands/ListCostAllocationTagsCommand";
3
+ import { CostExplorerPaginationConfiguration } from "./Interfaces";
4
+ export declare function paginateListCostAllocationTags(config: CostExplorerPaginationConfiguration, input: ListCostAllocationTagsCommandInput, ...additionalArguments: any): Paginator<ListCostAllocationTagsCommandOutput>;
@@ -1,4 +1,5 @@
1
1
  export * from "./GetSavingsPlansCoveragePaginator";
2
2
  export * from "./GetSavingsPlansUtilizationDetailsPaginator";
3
3
  export * from "./Interfaces";
4
+ export * from "./ListCostAllocationTagsPaginator";
4
5
  export * from "./ListCostCategoryDefinitionsPaginator";
@@ -25,6 +25,7 @@ import { GetSavingsPlansUtilizationCommandInput, GetSavingsPlansUtilizationComma
25
25
  import { GetSavingsPlansUtilizationDetailsCommandInput, GetSavingsPlansUtilizationDetailsCommandOutput } from "../commands/GetSavingsPlansUtilizationDetailsCommand";
26
26
  import { GetTagsCommandInput, GetTagsCommandOutput } from "../commands/GetTagsCommand";
27
27
  import { GetUsageForecastCommandInput, GetUsageForecastCommandOutput } from "../commands/GetUsageForecastCommand";
28
+ import { ListCostAllocationTagsCommandInput, ListCostAllocationTagsCommandOutput } from "../commands/ListCostAllocationTagsCommand";
28
29
  import { ListCostCategoryDefinitionsCommandInput, ListCostCategoryDefinitionsCommandOutput } from "../commands/ListCostCategoryDefinitionsCommand";
29
30
  import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "../commands/ListTagsForResourceCommand";
30
31
  import { ProvideAnomalyFeedbackCommandInput, ProvideAnomalyFeedbackCommandOutput } from "../commands/ProvideAnomalyFeedbackCommand";
@@ -32,6 +33,7 @@ import { TagResourceCommandInput, TagResourceCommandOutput } from "../commands/T
32
33
  import { UntagResourceCommandInput, UntagResourceCommandOutput } from "../commands/UntagResourceCommand";
33
34
  import { UpdateAnomalyMonitorCommandInput, UpdateAnomalyMonitorCommandOutput } from "../commands/UpdateAnomalyMonitorCommand";
34
35
  import { UpdateAnomalySubscriptionCommandInput, UpdateAnomalySubscriptionCommandOutput } from "../commands/UpdateAnomalySubscriptionCommand";
36
+ import { UpdateCostAllocationTagsStatusCommandInput, UpdateCostAllocationTagsStatusCommandOutput } from "../commands/UpdateCostAllocationTagsStatusCommand";
35
37
  import { UpdateCostCategoryDefinitionCommandInput, UpdateCostCategoryDefinitionCommandOutput } from "../commands/UpdateCostCategoryDefinitionCommand";
36
38
  export declare const serializeAws_json1_1CreateAnomalyMonitorCommand: (input: CreateAnomalyMonitorCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
37
39
  export declare const serializeAws_json1_1CreateAnomalySubscriptionCommand: (input: CreateAnomalySubscriptionCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
@@ -58,6 +60,7 @@ export declare const serializeAws_json1_1GetSavingsPlansUtilizationCommand: (inp
58
60
  export declare const serializeAws_json1_1GetSavingsPlansUtilizationDetailsCommand: (input: GetSavingsPlansUtilizationDetailsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
59
61
  export declare const serializeAws_json1_1GetTagsCommand: (input: GetTagsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
60
62
  export declare const serializeAws_json1_1GetUsageForecastCommand: (input: GetUsageForecastCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
63
+ export declare const serializeAws_json1_1ListCostAllocationTagsCommand: (input: ListCostAllocationTagsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
61
64
  export declare const serializeAws_json1_1ListCostCategoryDefinitionsCommand: (input: ListCostCategoryDefinitionsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
62
65
  export declare const serializeAws_json1_1ListTagsForResourceCommand: (input: ListTagsForResourceCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
63
66
  export declare const serializeAws_json1_1ProvideAnomalyFeedbackCommand: (input: ProvideAnomalyFeedbackCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
@@ -65,6 +68,7 @@ export declare const serializeAws_json1_1TagResourceCommand: (input: TagResource
65
68
  export declare const serializeAws_json1_1UntagResourceCommand: (input: UntagResourceCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
66
69
  export declare const serializeAws_json1_1UpdateAnomalyMonitorCommand: (input: UpdateAnomalyMonitorCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
67
70
  export declare const serializeAws_json1_1UpdateAnomalySubscriptionCommand: (input: UpdateAnomalySubscriptionCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
71
+ export declare const serializeAws_json1_1UpdateCostAllocationTagsStatusCommand: (input: UpdateCostAllocationTagsStatusCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
68
72
  export declare const serializeAws_json1_1UpdateCostCategoryDefinitionCommand: (input: UpdateCostCategoryDefinitionCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
69
73
  export declare const deserializeAws_json1_1CreateAnomalyMonitorCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<CreateAnomalyMonitorCommandOutput>;
70
74
  export declare const deserializeAws_json1_1CreateAnomalySubscriptionCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<CreateAnomalySubscriptionCommandOutput>;
@@ -91,6 +95,7 @@ export declare const deserializeAws_json1_1GetSavingsPlansUtilizationCommand: (o
91
95
  export declare const deserializeAws_json1_1GetSavingsPlansUtilizationDetailsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetSavingsPlansUtilizationDetailsCommandOutput>;
92
96
  export declare const deserializeAws_json1_1GetTagsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetTagsCommandOutput>;
93
97
  export declare const deserializeAws_json1_1GetUsageForecastCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetUsageForecastCommandOutput>;
98
+ export declare const deserializeAws_json1_1ListCostAllocationTagsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListCostAllocationTagsCommandOutput>;
94
99
  export declare const deserializeAws_json1_1ListCostCategoryDefinitionsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListCostCategoryDefinitionsCommandOutput>;
95
100
  export declare const deserializeAws_json1_1ListTagsForResourceCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListTagsForResourceCommandOutput>;
96
101
  export declare const deserializeAws_json1_1ProvideAnomalyFeedbackCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ProvideAnomalyFeedbackCommandOutput>;
@@ -98,4 +103,5 @@ export declare const deserializeAws_json1_1TagResourceCommand: (output: __HttpRe
98
103
  export declare const deserializeAws_json1_1UntagResourceCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UntagResourceCommandOutput>;
99
104
  export declare const deserializeAws_json1_1UpdateAnomalyMonitorCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UpdateAnomalyMonitorCommandOutput>;
100
105
  export declare const deserializeAws_json1_1UpdateAnomalySubscriptionCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UpdateAnomalySubscriptionCommandOutput>;
106
+ export declare const deserializeAws_json1_1UpdateCostAllocationTagsStatusCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UpdateCostAllocationTagsStatusCommandOutput>;
101
107
  export declare const deserializeAws_json1_1UpdateCostCategoryDefinitionCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UpdateCostCategoryDefinitionCommandOutput>;
@@ -24,6 +24,7 @@ import { GetSavingsPlansUtilizationCommandInput, GetSavingsPlansUtilizationComma
24
24
  import { GetSavingsPlansUtilizationDetailsCommandInput, GetSavingsPlansUtilizationDetailsCommandOutput } from "./commands/GetSavingsPlansUtilizationDetailsCommand";
25
25
  import { GetTagsCommandInput, GetTagsCommandOutput } from "./commands/GetTagsCommand";
26
26
  import { GetUsageForecastCommandInput, GetUsageForecastCommandOutput } from "./commands/GetUsageForecastCommand";
27
+ import { ListCostAllocationTagsCommandInput, ListCostAllocationTagsCommandOutput } from "./commands/ListCostAllocationTagsCommand";
27
28
  import { ListCostCategoryDefinitionsCommandInput, ListCostCategoryDefinitionsCommandOutput } from "./commands/ListCostCategoryDefinitionsCommand";
28
29
  import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
29
30
  import { ProvideAnomalyFeedbackCommandInput, ProvideAnomalyFeedbackCommandOutput } from "./commands/ProvideAnomalyFeedbackCommand";
@@ -31,6 +32,7 @@ import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/Ta
31
32
  import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
32
33
  import { UpdateAnomalyMonitorCommandInput, UpdateAnomalyMonitorCommandOutput } from "./commands/UpdateAnomalyMonitorCommand";
33
34
  import { UpdateAnomalySubscriptionCommandInput, UpdateAnomalySubscriptionCommandOutput } from "./commands/UpdateAnomalySubscriptionCommand";
35
+ import { UpdateCostAllocationTagsStatusCommandInput, UpdateCostAllocationTagsStatusCommandOutput } from "./commands/UpdateCostAllocationTagsStatusCommand";
34
36
  import { UpdateCostCategoryDefinitionCommandInput, UpdateCostCategoryDefinitionCommandOutput } from "./commands/UpdateCostCategoryDefinitionCommand";
35
37
  import { CostExplorerClient } from "./CostExplorerClient";
36
38
 
@@ -136,6 +138,10 @@ export declare class CostExplorer extends CostExplorerClient {
136
138
  getUsageForecast(args: GetUsageForecastCommandInput, cb: (err: any, data?: GetUsageForecastCommandOutput) => void): void;
137
139
  getUsageForecast(args: GetUsageForecastCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetUsageForecastCommandOutput) => void): void;
138
140
 
141
+ listCostAllocationTags(args: ListCostAllocationTagsCommandInput, options?: __HttpHandlerOptions): Promise<ListCostAllocationTagsCommandOutput>;
142
+ listCostAllocationTags(args: ListCostAllocationTagsCommandInput, cb: (err: any, data?: ListCostAllocationTagsCommandOutput) => void): void;
143
+ listCostAllocationTags(args: ListCostAllocationTagsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListCostAllocationTagsCommandOutput) => void): void;
144
+
139
145
  listCostCategoryDefinitions(args: ListCostCategoryDefinitionsCommandInput, options?: __HttpHandlerOptions): Promise<ListCostCategoryDefinitionsCommandOutput>;
140
146
  listCostCategoryDefinitions(args: ListCostCategoryDefinitionsCommandInput, cb: (err: any, data?: ListCostCategoryDefinitionsCommandOutput) => void): void;
141
147
  listCostCategoryDefinitions(args: ListCostCategoryDefinitionsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListCostCategoryDefinitionsCommandOutput) => void): void;
@@ -164,6 +170,10 @@ export declare class CostExplorer extends CostExplorerClient {
164
170
  updateAnomalySubscription(args: UpdateAnomalySubscriptionCommandInput, cb: (err: any, data?: UpdateAnomalySubscriptionCommandOutput) => void): void;
165
171
  updateAnomalySubscription(args: UpdateAnomalySubscriptionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateAnomalySubscriptionCommandOutput) => void): void;
166
172
 
173
+ updateCostAllocationTagsStatus(args: UpdateCostAllocationTagsStatusCommandInput, options?: __HttpHandlerOptions): Promise<UpdateCostAllocationTagsStatusCommandOutput>;
174
+ updateCostAllocationTagsStatus(args: UpdateCostAllocationTagsStatusCommandInput, cb: (err: any, data?: UpdateCostAllocationTagsStatusCommandOutput) => void): void;
175
+ updateCostAllocationTagsStatus(args: UpdateCostAllocationTagsStatusCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateCostAllocationTagsStatusCommandOutput) => void): void;
176
+
167
177
  updateCostCategoryDefinition(args: UpdateCostCategoryDefinitionCommandInput, options?: __HttpHandlerOptions): Promise<UpdateCostCategoryDefinitionCommandOutput>;
168
178
  updateCostCategoryDefinition(args: UpdateCostCategoryDefinitionCommandInput, cb: (err: any, data?: UpdateCostCategoryDefinitionCommandOutput) => void): void;
169
179
  updateCostCategoryDefinition(args: UpdateCostCategoryDefinitionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateCostCategoryDefinitionCommandOutput) => void): void;
@@ -31,6 +31,7 @@ import { GetSavingsPlansUtilizationCommandInput, GetSavingsPlansUtilizationComma
31
31
  import { GetSavingsPlansUtilizationDetailsCommandInput, GetSavingsPlansUtilizationDetailsCommandOutput } from "./commands/GetSavingsPlansUtilizationDetailsCommand";
32
32
  import { GetTagsCommandInput, GetTagsCommandOutput } from "./commands/GetTagsCommand";
33
33
  import { GetUsageForecastCommandInput, GetUsageForecastCommandOutput } from "./commands/GetUsageForecastCommand";
34
+ import { ListCostAllocationTagsCommandInput, ListCostAllocationTagsCommandOutput } from "./commands/ListCostAllocationTagsCommand";
34
35
  import { ListCostCategoryDefinitionsCommandInput, ListCostCategoryDefinitionsCommandOutput } from "./commands/ListCostCategoryDefinitionsCommand";
35
36
  import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
36
37
  import { ProvideAnomalyFeedbackCommandInput, ProvideAnomalyFeedbackCommandOutput } from "./commands/ProvideAnomalyFeedbackCommand";
@@ -38,9 +39,10 @@ import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/Ta
38
39
  import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
39
40
  import { UpdateAnomalyMonitorCommandInput, UpdateAnomalyMonitorCommandOutput } from "./commands/UpdateAnomalyMonitorCommand";
40
41
  import { UpdateAnomalySubscriptionCommandInput, UpdateAnomalySubscriptionCommandOutput } from "./commands/UpdateAnomalySubscriptionCommand";
42
+ import { UpdateCostAllocationTagsStatusCommandInput, UpdateCostAllocationTagsStatusCommandOutput } from "./commands/UpdateCostAllocationTagsStatusCommand";
41
43
  import { UpdateCostCategoryDefinitionCommandInput, UpdateCostCategoryDefinitionCommandOutput } from "./commands/UpdateCostCategoryDefinitionCommand";
42
- export declare type ServiceInputTypes = CreateAnomalyMonitorCommandInput | CreateAnomalySubscriptionCommandInput | CreateCostCategoryDefinitionCommandInput | DeleteAnomalyMonitorCommandInput | DeleteAnomalySubscriptionCommandInput | DeleteCostCategoryDefinitionCommandInput | DescribeCostCategoryDefinitionCommandInput | GetAnomaliesCommandInput | GetAnomalyMonitorsCommandInput | GetAnomalySubscriptionsCommandInput | GetCostAndUsageCommandInput | GetCostAndUsageWithResourcesCommandInput | GetCostCategoriesCommandInput | GetCostForecastCommandInput | GetDimensionValuesCommandInput | GetReservationCoverageCommandInput | GetReservationPurchaseRecommendationCommandInput | GetReservationUtilizationCommandInput | GetRightsizingRecommendationCommandInput | GetSavingsPlansCoverageCommandInput | GetSavingsPlansPurchaseRecommendationCommandInput | GetSavingsPlansUtilizationCommandInput | GetSavingsPlansUtilizationDetailsCommandInput | GetTagsCommandInput | GetUsageForecastCommandInput | ListCostCategoryDefinitionsCommandInput | ListTagsForResourceCommandInput | ProvideAnomalyFeedbackCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateAnomalyMonitorCommandInput | UpdateAnomalySubscriptionCommandInput | UpdateCostCategoryDefinitionCommandInput;
43
- export declare type ServiceOutputTypes = CreateAnomalyMonitorCommandOutput | CreateAnomalySubscriptionCommandOutput | CreateCostCategoryDefinitionCommandOutput | DeleteAnomalyMonitorCommandOutput | DeleteAnomalySubscriptionCommandOutput | DeleteCostCategoryDefinitionCommandOutput | DescribeCostCategoryDefinitionCommandOutput | GetAnomaliesCommandOutput | GetAnomalyMonitorsCommandOutput | GetAnomalySubscriptionsCommandOutput | GetCostAndUsageCommandOutput | GetCostAndUsageWithResourcesCommandOutput | GetCostCategoriesCommandOutput | GetCostForecastCommandOutput | GetDimensionValuesCommandOutput | GetReservationCoverageCommandOutput | GetReservationPurchaseRecommendationCommandOutput | GetReservationUtilizationCommandOutput | GetRightsizingRecommendationCommandOutput | GetSavingsPlansCoverageCommandOutput | GetSavingsPlansPurchaseRecommendationCommandOutput | GetSavingsPlansUtilizationCommandOutput | GetSavingsPlansUtilizationDetailsCommandOutput | GetTagsCommandOutput | GetUsageForecastCommandOutput | ListCostCategoryDefinitionsCommandOutput | ListTagsForResourceCommandOutput | ProvideAnomalyFeedbackCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateAnomalyMonitorCommandOutput | UpdateAnomalySubscriptionCommandOutput | UpdateCostCategoryDefinitionCommandOutput;
44
+ export declare type ServiceInputTypes = CreateAnomalyMonitorCommandInput | CreateAnomalySubscriptionCommandInput | CreateCostCategoryDefinitionCommandInput | DeleteAnomalyMonitorCommandInput | DeleteAnomalySubscriptionCommandInput | DeleteCostCategoryDefinitionCommandInput | DescribeCostCategoryDefinitionCommandInput | GetAnomaliesCommandInput | GetAnomalyMonitorsCommandInput | GetAnomalySubscriptionsCommandInput | GetCostAndUsageCommandInput | GetCostAndUsageWithResourcesCommandInput | GetCostCategoriesCommandInput | GetCostForecastCommandInput | GetDimensionValuesCommandInput | GetReservationCoverageCommandInput | GetReservationPurchaseRecommendationCommandInput | GetReservationUtilizationCommandInput | GetRightsizingRecommendationCommandInput | GetSavingsPlansCoverageCommandInput | GetSavingsPlansPurchaseRecommendationCommandInput | GetSavingsPlansUtilizationCommandInput | GetSavingsPlansUtilizationDetailsCommandInput | GetTagsCommandInput | GetUsageForecastCommandInput | ListCostAllocationTagsCommandInput | ListCostCategoryDefinitionsCommandInput | ListTagsForResourceCommandInput | ProvideAnomalyFeedbackCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateAnomalyMonitorCommandInput | UpdateAnomalySubscriptionCommandInput | UpdateCostAllocationTagsStatusCommandInput | UpdateCostCategoryDefinitionCommandInput;
45
+ export declare type ServiceOutputTypes = CreateAnomalyMonitorCommandOutput | CreateAnomalySubscriptionCommandOutput | CreateCostCategoryDefinitionCommandOutput | DeleteAnomalyMonitorCommandOutput | DeleteAnomalySubscriptionCommandOutput | DeleteCostCategoryDefinitionCommandOutput | DescribeCostCategoryDefinitionCommandOutput | GetAnomaliesCommandOutput | GetAnomalyMonitorsCommandOutput | GetAnomalySubscriptionsCommandOutput | GetCostAndUsageCommandOutput | GetCostAndUsageWithResourcesCommandOutput | GetCostCategoriesCommandOutput | GetCostForecastCommandOutput | GetDimensionValuesCommandOutput | GetReservationCoverageCommandOutput | GetReservationPurchaseRecommendationCommandOutput | GetReservationUtilizationCommandOutput | GetRightsizingRecommendationCommandOutput | GetSavingsPlansCoverageCommandOutput | GetSavingsPlansPurchaseRecommendationCommandOutput | GetSavingsPlansUtilizationCommandOutput | GetSavingsPlansUtilizationDetailsCommandOutput | GetTagsCommandOutput | GetUsageForecastCommandOutput | ListCostAllocationTagsCommandOutput | ListCostCategoryDefinitionsCommandOutput | ListTagsForResourceCommandOutput | ProvideAnomalyFeedbackCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateAnomalyMonitorCommandOutput | UpdateAnomalySubscriptionCommandOutput | UpdateCostAllocationTagsStatusCommandOutput | UpdateCostCategoryDefinitionCommandOutput;
44
46
  export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
45
47
 
46
48
  requestHandler?: __HttpHandler;
@@ -0,0 +1,17 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { CostExplorerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CostExplorerClient";
4
+ import { ListCostAllocationTagsRequest, ListCostAllocationTagsResponse } from "../models/models_0";
5
+ export interface ListCostAllocationTagsCommandInput extends ListCostAllocationTagsRequest {
6
+ }
7
+ export interface ListCostAllocationTagsCommandOutput extends ListCostAllocationTagsResponse, __MetadataBearer {
8
+ }
9
+
10
+ export declare class ListCostAllocationTagsCommand extends $Command<ListCostAllocationTagsCommandInput, ListCostAllocationTagsCommandOutput, CostExplorerClientResolvedConfig> {
11
+ readonly input: ListCostAllocationTagsCommandInput;
12
+ constructor(input: ListCostAllocationTagsCommandInput);
13
+
14
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CostExplorerClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListCostAllocationTagsCommandInput, ListCostAllocationTagsCommandOutput>;
15
+ private serialize;
16
+ private deserialize;
17
+ }
@@ -0,0 +1,17 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { CostExplorerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CostExplorerClient";
4
+ import { UpdateCostAllocationTagsStatusRequest, UpdateCostAllocationTagsStatusResponse } from "../models/models_0";
5
+ export interface UpdateCostAllocationTagsStatusCommandInput extends UpdateCostAllocationTagsStatusRequest {
6
+ }
7
+ export interface UpdateCostAllocationTagsStatusCommandOutput extends UpdateCostAllocationTagsStatusResponse, __MetadataBearer {
8
+ }
9
+
10
+ export declare class UpdateCostAllocationTagsStatusCommand extends $Command<UpdateCostAllocationTagsStatusCommandInput, UpdateCostAllocationTagsStatusCommandOutput, CostExplorerClientResolvedConfig> {
11
+ readonly input: UpdateCostAllocationTagsStatusCommandInput;
12
+ constructor(input: UpdateCostAllocationTagsStatusCommandInput);
13
+
14
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CostExplorerClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UpdateCostAllocationTagsStatusCommandInput, UpdateCostAllocationTagsStatusCommandOutput>;
15
+ private serialize;
16
+ private deserialize;
17
+ }
@@ -23,6 +23,7 @@ export * from "./GetSavingsPlansUtilizationCommand";
23
23
  export * from "./GetSavingsPlansUtilizationDetailsCommand";
24
24
  export * from "./GetTagsCommand";
25
25
  export * from "./GetUsageForecastCommand";
26
+ export * from "./ListCostAllocationTagsCommand";
26
27
  export * from "./ListCostCategoryDefinitionsCommand";
27
28
  export * from "./ListTagsForResourceCommand";
28
29
  export * from "./ProvideAnomalyFeedbackCommand";
@@ -30,4 +31,5 @@ export * from "./TagResourceCommand";
30
31
  export * from "./UntagResourceCommand";
31
32
  export * from "./UpdateAnomalyMonitorCommand";
32
33
  export * from "./UpdateAnomalySubscriptionCommand";
34
+ export * from "./UpdateCostAllocationTagsStatusCommand";
33
35
  export * from "./UpdateCostCategoryDefinitionCommand";
@@ -582,9 +582,7 @@ export interface DimensionValuesWithAttributes {
582
582
 
583
583
  Value?: string;
584
584
 
585
- Attributes?: {
586
- [key: string]: string;
587
- };
585
+ Attributes?: Record<string, string>;
588
586
  }
589
587
  export declare namespace DimensionValuesWithAttributes {
590
588
 
@@ -606,9 +604,7 @@ export interface Group {
606
604
 
607
605
  Keys?: string[];
608
606
 
609
- Metrics?: {
610
- [key: string]: MetricValue;
611
- };
607
+ Metrics?: Record<string, MetricValue>;
612
608
  }
613
609
  export declare namespace Group {
614
610
 
@@ -619,9 +615,7 @@ export interface ResultByTime {
619
615
 
620
616
  TimePeriod?: DateInterval;
621
617
 
622
- Total?: {
623
- [key: string]: MetricValue;
624
- };
618
+ Total?: Record<string, MetricValue>;
625
619
 
626
620
  Groups?: Group[];
627
621
 
@@ -806,9 +800,7 @@ export declare namespace Coverage {
806
800
 
807
801
  export interface ReservationCoverageGroup {
808
802
 
809
- Attributes?: {
810
- [key: string]: string;
811
- };
803
+ Attributes?: Record<string, string>;
812
804
 
813
805
  Coverage?: Coverage;
814
806
  }
@@ -1148,9 +1140,7 @@ export interface ReservationUtilizationGroup {
1148
1140
 
1149
1141
  Value?: string;
1150
1142
 
1151
- Attributes?: {
1152
- [key: string]: string;
1153
- };
1143
+ Attributes?: Record<string, string>;
1154
1144
 
1155
1145
  Utilization?: ReservationAggregates;
1156
1146
  }
@@ -1487,9 +1477,7 @@ export declare namespace SavingsPlansCoverageData {
1487
1477
 
1488
1478
  export interface SavingsPlansCoverage {
1489
1479
 
1490
- Attributes?: {
1491
- [key: string]: string;
1492
- };
1480
+ Attributes?: Record<string, string>;
1493
1481
 
1494
1482
  Coverage?: SavingsPlansCoverageData;
1495
1483
 
@@ -1729,9 +1717,7 @@ export interface SavingsPlansUtilizationDetail {
1729
1717
 
1730
1718
  SavingsPlanArn?: string;
1731
1719
 
1732
- Attributes?: {
1733
- [key: string]: string;
1734
- };
1720
+ Attributes?: Record<string, string>;
1735
1721
 
1736
1722
  Utilization?: SavingsPlansUtilization;
1737
1723
 
@@ -1789,6 +1775,53 @@ export declare class UnresolvableUsageUnitException extends __BaseException {
1789
1775
 
1790
1776
  constructor(opts: __ExceptionOptionType<UnresolvableUsageUnitException, __BaseException>);
1791
1777
  }
1778
+ export declare enum CostAllocationTagStatus {
1779
+ ACTIVE = "Active",
1780
+ INACTIVE = "Inactive"
1781
+ }
1782
+ export declare enum CostAllocationTagType {
1783
+ AWS_GENERATED = "AWSGenerated",
1784
+ USER_DEFINED = "UserDefined"
1785
+ }
1786
+ export interface ListCostAllocationTagsRequest {
1787
+
1788
+ Status?: CostAllocationTagStatus | string;
1789
+
1790
+ TagKeys?: string[];
1791
+
1792
+ Type?: CostAllocationTagType | string;
1793
+
1794
+ NextToken?: string;
1795
+
1796
+ MaxResults?: number;
1797
+ }
1798
+ export declare namespace ListCostAllocationTagsRequest {
1799
+
1800
+ const filterSensitiveLog: (obj: ListCostAllocationTagsRequest) => any;
1801
+ }
1802
+
1803
+ export interface CostAllocationTag {
1804
+
1805
+ TagKey: string | undefined;
1806
+
1807
+ Type: CostAllocationTagType | string | undefined;
1808
+
1809
+ Status: CostAllocationTagStatus | string | undefined;
1810
+ }
1811
+ export declare namespace CostAllocationTag {
1812
+
1813
+ const filterSensitiveLog: (obj: CostAllocationTag) => any;
1814
+ }
1815
+ export interface ListCostAllocationTagsResponse {
1816
+
1817
+ CostAllocationTags?: CostAllocationTag[];
1818
+
1819
+ NextToken?: string;
1820
+ }
1821
+ export declare namespace ListCostAllocationTagsResponse {
1822
+
1823
+ const filterSensitiveLog: (obj: ListCostAllocationTagsResponse) => any;
1824
+ }
1792
1825
  export interface ListCostCategoryDefinitionsRequest {
1793
1826
 
1794
1827
  EffectiveOn?: string;
@@ -1953,6 +1986,46 @@ export declare namespace UpdateAnomalySubscriptionResponse {
1953
1986
 
1954
1987
  const filterSensitiveLog: (obj: UpdateAnomalySubscriptionResponse) => any;
1955
1988
  }
1989
+
1990
+ export interface CostAllocationTagStatusEntry {
1991
+
1992
+ TagKey: string | undefined;
1993
+
1994
+ Status: CostAllocationTagStatus | string | undefined;
1995
+ }
1996
+ export declare namespace CostAllocationTagStatusEntry {
1997
+
1998
+ const filterSensitiveLog: (obj: CostAllocationTagStatusEntry) => any;
1999
+ }
2000
+ export interface UpdateCostAllocationTagsStatusRequest {
2001
+
2002
+ CostAllocationTagsStatus: CostAllocationTagStatusEntry[] | undefined;
2003
+ }
2004
+ export declare namespace UpdateCostAllocationTagsStatusRequest {
2005
+
2006
+ const filterSensitiveLog: (obj: UpdateCostAllocationTagsStatusRequest) => any;
2007
+ }
2008
+
2009
+ export interface UpdateCostAllocationTagsStatusError {
2010
+
2011
+ TagKey?: string;
2012
+
2013
+ Code?: string;
2014
+
2015
+ Message?: string;
2016
+ }
2017
+ export declare namespace UpdateCostAllocationTagsStatusError {
2018
+
2019
+ const filterSensitiveLog: (obj: UpdateCostAllocationTagsStatusError) => any;
2020
+ }
2021
+ export interface UpdateCostAllocationTagsStatusResponse {
2022
+
2023
+ Errors?: UpdateCostAllocationTagsStatusError[];
2024
+ }
2025
+ export declare namespace UpdateCostAllocationTagsStatusResponse {
2026
+
2027
+ const filterSensitiveLog: (obj: UpdateCostAllocationTagsStatusResponse) => any;
2028
+ }
1956
2029
  export interface UpdateCostCategoryDefinitionResponse {
1957
2030
 
1958
2031
  CostCategoryArn?: string;
@@ -0,0 +1,4 @@
1
+ import { Paginator } from "@aws-sdk/types";
2
+ import { ListCostAllocationTagsCommandInput, ListCostAllocationTagsCommandOutput } from "../commands/ListCostAllocationTagsCommand";
3
+ import { CostExplorerPaginationConfiguration } from "./Interfaces";
4
+ export declare function paginateListCostAllocationTags(config: CostExplorerPaginationConfiguration, input: ListCostAllocationTagsCommandInput, ...additionalArguments: any): Paginator<ListCostAllocationTagsCommandOutput>;
@@ -1,4 +1,5 @@
1
1
  export * from "./GetSavingsPlansCoveragePaginator";
2
2
  export * from "./GetSavingsPlansUtilizationDetailsPaginator";
3
3
  export * from "./Interfaces";
4
+ export * from "./ListCostAllocationTagsPaginator";
4
5
  export * from "./ListCostCategoryDefinitionsPaginator";
@@ -25,6 +25,7 @@ import { GetSavingsPlansUtilizationCommandInput, GetSavingsPlansUtilizationComma
25
25
  import { GetSavingsPlansUtilizationDetailsCommandInput, GetSavingsPlansUtilizationDetailsCommandOutput } from "../commands/GetSavingsPlansUtilizationDetailsCommand";
26
26
  import { GetTagsCommandInput, GetTagsCommandOutput } from "../commands/GetTagsCommand";
27
27
  import { GetUsageForecastCommandInput, GetUsageForecastCommandOutput } from "../commands/GetUsageForecastCommand";
28
+ import { ListCostAllocationTagsCommandInput, ListCostAllocationTagsCommandOutput } from "../commands/ListCostAllocationTagsCommand";
28
29
  import { ListCostCategoryDefinitionsCommandInput, ListCostCategoryDefinitionsCommandOutput } from "../commands/ListCostCategoryDefinitionsCommand";
29
30
  import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "../commands/ListTagsForResourceCommand";
30
31
  import { ProvideAnomalyFeedbackCommandInput, ProvideAnomalyFeedbackCommandOutput } from "../commands/ProvideAnomalyFeedbackCommand";
@@ -32,6 +33,7 @@ import { TagResourceCommandInput, TagResourceCommandOutput } from "../commands/T
32
33
  import { UntagResourceCommandInput, UntagResourceCommandOutput } from "../commands/UntagResourceCommand";
33
34
  import { UpdateAnomalyMonitorCommandInput, UpdateAnomalyMonitorCommandOutput } from "../commands/UpdateAnomalyMonitorCommand";
34
35
  import { UpdateAnomalySubscriptionCommandInput, UpdateAnomalySubscriptionCommandOutput } from "../commands/UpdateAnomalySubscriptionCommand";
36
+ import { UpdateCostAllocationTagsStatusCommandInput, UpdateCostAllocationTagsStatusCommandOutput } from "../commands/UpdateCostAllocationTagsStatusCommand";
35
37
  import { UpdateCostCategoryDefinitionCommandInput, UpdateCostCategoryDefinitionCommandOutput } from "../commands/UpdateCostCategoryDefinitionCommand";
36
38
  export declare const serializeAws_json1_1CreateAnomalyMonitorCommand: (input: CreateAnomalyMonitorCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
37
39
  export declare const serializeAws_json1_1CreateAnomalySubscriptionCommand: (input: CreateAnomalySubscriptionCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
@@ -58,6 +60,7 @@ export declare const serializeAws_json1_1GetSavingsPlansUtilizationCommand: (inp
58
60
  export declare const serializeAws_json1_1GetSavingsPlansUtilizationDetailsCommand: (input: GetSavingsPlansUtilizationDetailsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
59
61
  export declare const serializeAws_json1_1GetTagsCommand: (input: GetTagsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
60
62
  export declare const serializeAws_json1_1GetUsageForecastCommand: (input: GetUsageForecastCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
63
+ export declare const serializeAws_json1_1ListCostAllocationTagsCommand: (input: ListCostAllocationTagsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
61
64
  export declare const serializeAws_json1_1ListCostCategoryDefinitionsCommand: (input: ListCostCategoryDefinitionsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
62
65
  export declare const serializeAws_json1_1ListTagsForResourceCommand: (input: ListTagsForResourceCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
63
66
  export declare const serializeAws_json1_1ProvideAnomalyFeedbackCommand: (input: ProvideAnomalyFeedbackCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
@@ -65,6 +68,7 @@ export declare const serializeAws_json1_1TagResourceCommand: (input: TagResource
65
68
  export declare const serializeAws_json1_1UntagResourceCommand: (input: UntagResourceCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
66
69
  export declare const serializeAws_json1_1UpdateAnomalyMonitorCommand: (input: UpdateAnomalyMonitorCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
67
70
  export declare const serializeAws_json1_1UpdateAnomalySubscriptionCommand: (input: UpdateAnomalySubscriptionCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
71
+ export declare const serializeAws_json1_1UpdateCostAllocationTagsStatusCommand: (input: UpdateCostAllocationTagsStatusCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
68
72
  export declare const serializeAws_json1_1UpdateCostCategoryDefinitionCommand: (input: UpdateCostCategoryDefinitionCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
69
73
  export declare const deserializeAws_json1_1CreateAnomalyMonitorCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<CreateAnomalyMonitorCommandOutput>;
70
74
  export declare const deserializeAws_json1_1CreateAnomalySubscriptionCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<CreateAnomalySubscriptionCommandOutput>;
@@ -91,6 +95,7 @@ export declare const deserializeAws_json1_1GetSavingsPlansUtilizationCommand: (o
91
95
  export declare const deserializeAws_json1_1GetSavingsPlansUtilizationDetailsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetSavingsPlansUtilizationDetailsCommandOutput>;
92
96
  export declare const deserializeAws_json1_1GetTagsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetTagsCommandOutput>;
93
97
  export declare const deserializeAws_json1_1GetUsageForecastCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetUsageForecastCommandOutput>;
98
+ export declare const deserializeAws_json1_1ListCostAllocationTagsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListCostAllocationTagsCommandOutput>;
94
99
  export declare const deserializeAws_json1_1ListCostCategoryDefinitionsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListCostCategoryDefinitionsCommandOutput>;
95
100
  export declare const deserializeAws_json1_1ListTagsForResourceCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListTagsForResourceCommandOutput>;
96
101
  export declare const deserializeAws_json1_1ProvideAnomalyFeedbackCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ProvideAnomalyFeedbackCommandOutput>;
@@ -98,4 +103,5 @@ export declare const deserializeAws_json1_1TagResourceCommand: (output: __HttpRe
98
103
  export declare const deserializeAws_json1_1UntagResourceCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UntagResourceCommandOutput>;
99
104
  export declare const deserializeAws_json1_1UpdateAnomalyMonitorCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UpdateAnomalyMonitorCommandOutput>;
100
105
  export declare const deserializeAws_json1_1UpdateAnomalySubscriptionCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UpdateAnomalySubscriptionCommandOutput>;
106
+ export declare const deserializeAws_json1_1UpdateCostAllocationTagsStatusCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UpdateCostAllocationTagsStatusCommandOutput>;
101
107
  export declare const deserializeAws_json1_1UpdateCostCategoryDefinitionCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UpdateCostCategoryDefinitionCommandOutput>;
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.99.0",
4
+ "version": "3.106.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -18,15 +18,16 @@
18
18
  "dependencies": {
19
19
  "@aws-crypto/sha256-browser": "2.0.0",
20
20
  "@aws-crypto/sha256-js": "2.0.0",
21
- "@aws-sdk/client-sts": "3.99.0",
21
+ "@aws-sdk/client-sts": "3.105.0",
22
22
  "@aws-sdk/config-resolver": "3.80.0",
23
- "@aws-sdk/credential-provider-node": "3.99.0",
23
+ "@aws-sdk/credential-provider-node": "3.105.0",
24
24
  "@aws-sdk/fetch-http-handler": "3.78.0",
25
25
  "@aws-sdk/hash-node": "3.78.0",
26
26
  "@aws-sdk/invalid-dependency": "3.78.0",
27
27
  "@aws-sdk/middleware-content-length": "3.78.0",
28
28
  "@aws-sdk/middleware-host-header": "3.78.0",
29
29
  "@aws-sdk/middleware-logger": "3.78.0",
30
+ "@aws-sdk/middleware-recursion-detection": "3.105.0",
30
31
  "@aws-sdk/middleware-retry": "3.80.0",
31
32
  "@aws-sdk/middleware-serde": "3.78.0",
32
33
  "@aws-sdk/middleware-signing": "3.78.0",