@aws-sdk/client-cost-explorer 3.105.0 → 3.110.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 (45) hide show
  1. package/CHANGELOG.md +27 -0
  2. package/dist-cjs/CostExplorer.js +30 -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/commands/ListCostAllocationTagsCommand.js +39 -0
  12. package/dist-es/commands/UpdateCostAllocationTagsStatusCommand.js +39 -0
  13. package/dist-es/commands/index.js +2 -0
  14. package/dist-es/models/models_0.js +38 -0
  15. package/dist-es/pagination/ListCostAllocationTagsPaginator.js +75 -0
  16. package/dist-es/pagination/index.js +1 -0
  17. package/dist-es/protocols/Aws_json1_1.js +210 -0
  18. package/dist-types/CostExplorer.d.ts +63 -29
  19. package/dist-types/CostExplorerClient.d.ts +4 -2
  20. package/dist-types/commands/DescribeCostCategoryDefinitionCommand.d.ts +6 -2
  21. package/dist-types/commands/GetCostAndUsageWithResourcesCommand.d.ts +3 -1
  22. package/dist-types/commands/GetReservationCoverageCommand.d.ts +6 -3
  23. package/dist-types/commands/GetReservationPurchaseRecommendationCommand.d.ts +16 -10
  24. package/dist-types/commands/GetRightsizingRecommendationCommand.d.ts +2 -6
  25. package/dist-types/commands/GetSavingsPlansUtilizationCommand.d.ts +1 -1
  26. package/dist-types/commands/ListCostAllocationTagsCommand.d.ts +36 -0
  27. package/dist-types/commands/ListCostCategoryDefinitionsCommand.d.ts +7 -1
  28. package/dist-types/commands/TagResourceCommand.d.ts +2 -2
  29. package/dist-types/commands/UntagResourceCommand.d.ts +2 -3
  30. package/dist-types/commands/UpdateCostAllocationTagsStatusCommand.d.ts +38 -0
  31. package/dist-types/commands/index.d.ts +2 -0
  32. package/dist-types/models/models_0.d.ts +403 -227
  33. package/dist-types/pagination/ListCostAllocationTagsPaginator.d.ts +4 -0
  34. package/dist-types/pagination/index.d.ts +1 -0
  35. package/dist-types/protocols/Aws_json1_1.d.ts +6 -0
  36. package/dist-types/ts3.4/CostExplorer.d.ts +10 -0
  37. package/dist-types/ts3.4/CostExplorerClient.d.ts +4 -2
  38. package/dist-types/ts3.4/commands/ListCostAllocationTagsCommand.d.ts +17 -0
  39. package/dist-types/ts3.4/commands/UpdateCostAllocationTagsStatusCommand.d.ts +17 -0
  40. package/dist-types/ts3.4/commands/index.d.ts +2 -0
  41. package/dist-types/ts3.4/models/models_0.d.ts +87 -0
  42. package/dist-types/ts3.4/pagination/ListCostAllocationTagsPaginator.d.ts +4 -0
  43. package/dist-types/ts3.4/pagination/index.d.ts +1 -0
  44. package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +6 -0
  45. package/package.json +29 -29
@@ -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";
@@ -1775,6 +1775,53 @@ export declare class UnresolvableUsageUnitException extends __BaseException {
1775
1775
 
1776
1776
  constructor(opts: __ExceptionOptionType<UnresolvableUsageUnitException, __BaseException>);
1777
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
+ }
1778
1825
  export interface ListCostCategoryDefinitionsRequest {
1779
1826
 
1780
1827
  EffectiveOn?: string;
@@ -1939,6 +1986,46 @@ export declare namespace UpdateAnomalySubscriptionResponse {
1939
1986
 
1940
1987
  const filterSensitiveLog: (obj: UpdateAnomalySubscriptionResponse) => any;
1941
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
+ }
1942
2029
  export interface UpdateCostCategoryDefinitionResponse {
1943
2030
 
1944
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.105.0",
4
+ "version": "3.110.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,37 +18,37 @@
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.105.0",
22
- "@aws-sdk/config-resolver": "3.80.0",
23
- "@aws-sdk/credential-provider-node": "3.105.0",
24
- "@aws-sdk/fetch-http-handler": "3.78.0",
25
- "@aws-sdk/hash-node": "3.78.0",
26
- "@aws-sdk/invalid-dependency": "3.78.0",
27
- "@aws-sdk/middleware-content-length": "3.78.0",
28
- "@aws-sdk/middleware-host-header": "3.78.0",
29
- "@aws-sdk/middleware-logger": "3.78.0",
30
- "@aws-sdk/middleware-recursion-detection": "3.105.0",
31
- "@aws-sdk/middleware-retry": "3.80.0",
32
- "@aws-sdk/middleware-serde": "3.78.0",
33
- "@aws-sdk/middleware-signing": "3.78.0",
34
- "@aws-sdk/middleware-stack": "3.78.0",
35
- "@aws-sdk/middleware-user-agent": "3.78.0",
36
- "@aws-sdk/node-config-provider": "3.80.0",
37
- "@aws-sdk/node-http-handler": "3.94.0",
38
- "@aws-sdk/protocol-http": "3.78.0",
39
- "@aws-sdk/smithy-client": "3.99.0",
40
- "@aws-sdk/types": "3.78.0",
41
- "@aws-sdk/url-parser": "3.78.0",
42
- "@aws-sdk/util-base64-browser": "3.58.0",
21
+ "@aws-sdk/client-sts": "3.110.0",
22
+ "@aws-sdk/config-resolver": "3.110.0",
23
+ "@aws-sdk/credential-provider-node": "3.110.0",
24
+ "@aws-sdk/fetch-http-handler": "3.110.0",
25
+ "@aws-sdk/hash-node": "3.110.0",
26
+ "@aws-sdk/invalid-dependency": "3.110.0",
27
+ "@aws-sdk/middleware-content-length": "3.110.0",
28
+ "@aws-sdk/middleware-host-header": "3.110.0",
29
+ "@aws-sdk/middleware-logger": "3.110.0",
30
+ "@aws-sdk/middleware-recursion-detection": "3.110.0",
31
+ "@aws-sdk/middleware-retry": "3.110.0",
32
+ "@aws-sdk/middleware-serde": "3.110.0",
33
+ "@aws-sdk/middleware-signing": "3.110.0",
34
+ "@aws-sdk/middleware-stack": "3.110.0",
35
+ "@aws-sdk/middleware-user-agent": "3.110.0",
36
+ "@aws-sdk/node-config-provider": "3.110.0",
37
+ "@aws-sdk/node-http-handler": "3.110.0",
38
+ "@aws-sdk/protocol-http": "3.110.0",
39
+ "@aws-sdk/smithy-client": "3.110.0",
40
+ "@aws-sdk/types": "3.110.0",
41
+ "@aws-sdk/url-parser": "3.110.0",
42
+ "@aws-sdk/util-base64-browser": "3.109.0",
43
43
  "@aws-sdk/util-base64-node": "3.55.0",
44
44
  "@aws-sdk/util-body-length-browser": "3.55.0",
45
45
  "@aws-sdk/util-body-length-node": "3.55.0",
46
- "@aws-sdk/util-defaults-mode-browser": "3.99.0",
47
- "@aws-sdk/util-defaults-mode-node": "3.99.0",
48
- "@aws-sdk/util-user-agent-browser": "3.78.0",
49
- "@aws-sdk/util-user-agent-node": "3.80.0",
50
- "@aws-sdk/util-utf8-browser": "3.55.0",
51
- "@aws-sdk/util-utf8-node": "3.55.0",
46
+ "@aws-sdk/util-defaults-mode-browser": "3.110.0",
47
+ "@aws-sdk/util-defaults-mode-node": "3.110.0",
48
+ "@aws-sdk/util-user-agent-browser": "3.110.0",
49
+ "@aws-sdk/util-user-agent-node": "3.110.0",
50
+ "@aws-sdk/util-utf8-browser": "3.109.0",
51
+ "@aws-sdk/util-utf8-node": "3.109.0",
52
52
  "tslib": "^2.3.1"
53
53
  },
54
54
  "devDependencies": {