@aws-sdk/client-cost-explorer 3.535.0 → 3.542.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +16 -0
- package/dist-cjs/endpoint/endpointResolver.js +4 -2
- package/dist-cjs/index.js +123 -3
- package/dist-es/CostExplorer.js +4 -0
- package/dist-es/commands/ListCostAllocationTagBackfillHistoryCommand.js +24 -0
- package/dist-es/commands/StartCostAllocationTagBackfillCommand.js +24 -0
- package/dist-es/commands/index.js +2 -0
- package/dist-es/endpoint/endpointResolver.js +3 -1
- package/dist-es/index.js +0 -1
- package/dist-es/models/models_0.js +18 -0
- package/dist-es/pagination/ListCostAllocationTagBackfillHistoryPaginator.js +4 -0
- package/dist-es/pagination/index.js +1 -0
- package/dist-es/protocols/Aws_json1_1.js +51 -1
- package/dist-types/CostExplorer.d.ts +15 -0
- package/dist-types/CostExplorerClient.d.ts +4 -2
- package/dist-types/commands/ListCostAllocationTagBackfillHistoryCommand.d.ts +77 -0
- package/dist-types/commands/StartCostAllocationTagBackfillCommand.d.ts +76 -0
- package/dist-types/commands/index.d.ts +2 -0
- package/dist-types/index.d.ts +0 -1
- package/dist-types/models/models_0.d.ts +131 -0
- package/dist-types/pagination/ListCostAllocationTagBackfillHistoryPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +1 -0
- package/dist-types/protocols/Aws_json1_1.d.ts +18 -0
- package/dist-types/ts3.4/CostExplorer.d.ts +41 -0
- package/dist-types/ts3.4/CostExplorerClient.d.ts +12 -0
- package/dist-types/ts3.4/commands/ListCostAllocationTagBackfillHistoryCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/StartCostAllocationTagBackfillCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/index.d.ts +2 -0
- package/dist-types/ts3.4/index.d.ts +0 -1
- package/dist-types/ts3.4/models/models_0.d.ts +36 -0
- package/dist-types/ts3.4/pagination/ListCostAllocationTagBackfillHistoryPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +1 -0
- package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +24 -0
- package/package.json +5 -5
|
@@ -998,6 +998,28 @@ export declare class UnresolvableUsageUnitException extends __BaseException {
|
|
|
998
998
|
opts: __ExceptionOptionType<UnresolvableUsageUnitException, __BaseException>
|
|
999
999
|
);
|
|
1000
1000
|
}
|
|
1001
|
+
export interface ListCostAllocationTagBackfillHistoryRequest {
|
|
1002
|
+
NextToken?: string;
|
|
1003
|
+
MaxResults?: number;
|
|
1004
|
+
}
|
|
1005
|
+
export declare const CostAllocationTagBackfillStatus: {
|
|
1006
|
+
readonly FAILED: "FAILED";
|
|
1007
|
+
readonly PROCESSING: "PROCESSING";
|
|
1008
|
+
readonly SUCCEEDED: "SUCCEEDED";
|
|
1009
|
+
};
|
|
1010
|
+
export type CostAllocationTagBackfillStatus =
|
|
1011
|
+
(typeof CostAllocationTagBackfillStatus)[keyof typeof CostAllocationTagBackfillStatus];
|
|
1012
|
+
export interface CostAllocationTagBackfillRequest {
|
|
1013
|
+
BackfillFrom?: string;
|
|
1014
|
+
RequestedAt?: string;
|
|
1015
|
+
CompletedAt?: string;
|
|
1016
|
+
BackfillStatus?: CostAllocationTagBackfillStatus;
|
|
1017
|
+
LastUpdatedAt?: string;
|
|
1018
|
+
}
|
|
1019
|
+
export interface ListCostAllocationTagBackfillHistoryResponse {
|
|
1020
|
+
BackfillRequests?: CostAllocationTagBackfillRequest[];
|
|
1021
|
+
NextToken?: string;
|
|
1022
|
+
}
|
|
1001
1023
|
export declare const CostAllocationTagStatus: {
|
|
1002
1024
|
readonly ACTIVE: "Active";
|
|
1003
1025
|
readonly INACTIVE: "Inactive";
|
|
@@ -1084,6 +1106,20 @@ export interface ProvideAnomalyFeedbackRequest {
|
|
|
1084
1106
|
export interface ProvideAnomalyFeedbackResponse {
|
|
1085
1107
|
AnomalyId: string | undefined;
|
|
1086
1108
|
}
|
|
1109
|
+
export declare class BackfillLimitExceededException extends __BaseException {
|
|
1110
|
+
readonly name: "BackfillLimitExceededException";
|
|
1111
|
+
readonly $fault: "client";
|
|
1112
|
+
Message?: string;
|
|
1113
|
+
constructor(
|
|
1114
|
+
opts: __ExceptionOptionType<BackfillLimitExceededException, __BaseException>
|
|
1115
|
+
);
|
|
1116
|
+
}
|
|
1117
|
+
export interface StartCostAllocationTagBackfillRequest {
|
|
1118
|
+
BackfillFrom: string | undefined;
|
|
1119
|
+
}
|
|
1120
|
+
export interface StartCostAllocationTagBackfillResponse {
|
|
1121
|
+
BackfillRequest?: CostAllocationTagBackfillRequest;
|
|
1122
|
+
}
|
|
1087
1123
|
export declare class GenerationExistsException extends __BaseException {
|
|
1088
1124
|
readonly name: "GenerationExistsException";
|
|
1089
1125
|
readonly $fault: "client";
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Paginator } from "@smithy/types";
|
|
2
|
+
import {
|
|
3
|
+
ListCostAllocationTagBackfillHistoryCommandInput,
|
|
4
|
+
ListCostAllocationTagBackfillHistoryCommandOutput,
|
|
5
|
+
} from "../commands/ListCostAllocationTagBackfillHistoryCommand";
|
|
6
|
+
import { CostExplorerPaginationConfiguration } from "./Interfaces";
|
|
7
|
+
export declare const paginateListCostAllocationTagBackfillHistory: (
|
|
8
|
+
config: CostExplorerPaginationConfiguration,
|
|
9
|
+
input: ListCostAllocationTagBackfillHistoryCommandInput,
|
|
10
|
+
...rest: any[]
|
|
11
|
+
) => Paginator<ListCostAllocationTagBackfillHistoryCommandOutput>;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
export * from "./GetSavingsPlansCoveragePaginator";
|
|
2
2
|
export * from "./GetSavingsPlansUtilizationDetailsPaginator";
|
|
3
3
|
export * from "./Interfaces";
|
|
4
|
+
export * from "./ListCostAllocationTagBackfillHistoryPaginator";
|
|
4
5
|
export * from "./ListCostAllocationTagsPaginator";
|
|
5
6
|
export * from "./ListCostCategoryDefinitionsPaginator";
|
|
@@ -111,6 +111,10 @@ import {
|
|
|
111
111
|
GetUsageForecastCommandInput,
|
|
112
112
|
GetUsageForecastCommandOutput,
|
|
113
113
|
} from "../commands/GetUsageForecastCommand";
|
|
114
|
+
import {
|
|
115
|
+
ListCostAllocationTagBackfillHistoryCommandInput,
|
|
116
|
+
ListCostAllocationTagBackfillHistoryCommandOutput,
|
|
117
|
+
} from "../commands/ListCostAllocationTagBackfillHistoryCommand";
|
|
114
118
|
import {
|
|
115
119
|
ListCostAllocationTagsCommandInput,
|
|
116
120
|
ListCostAllocationTagsCommandOutput,
|
|
@@ -131,6 +135,10 @@ import {
|
|
|
131
135
|
ProvideAnomalyFeedbackCommandInput,
|
|
132
136
|
ProvideAnomalyFeedbackCommandOutput,
|
|
133
137
|
} from "../commands/ProvideAnomalyFeedbackCommand";
|
|
138
|
+
import {
|
|
139
|
+
StartCostAllocationTagBackfillCommandInput,
|
|
140
|
+
StartCostAllocationTagBackfillCommandOutput,
|
|
141
|
+
} from "../commands/StartCostAllocationTagBackfillCommand";
|
|
134
142
|
import {
|
|
135
143
|
StartSavingsPlansPurchaseRecommendationGenerationCommandInput,
|
|
136
144
|
StartSavingsPlansPurchaseRecommendationGenerationCommandOutput,
|
|
@@ -267,6 +275,10 @@ export declare const se_GetUsageForecastCommand: (
|
|
|
267
275
|
input: GetUsageForecastCommandInput,
|
|
268
276
|
context: __SerdeContext
|
|
269
277
|
) => Promise<__HttpRequest>;
|
|
278
|
+
export declare const se_ListCostAllocationTagBackfillHistoryCommand: (
|
|
279
|
+
input: ListCostAllocationTagBackfillHistoryCommandInput,
|
|
280
|
+
context: __SerdeContext
|
|
281
|
+
) => Promise<__HttpRequest>;
|
|
270
282
|
export declare const se_ListCostAllocationTagsCommand: (
|
|
271
283
|
input: ListCostAllocationTagsCommandInput,
|
|
272
284
|
context: __SerdeContext
|
|
@@ -287,6 +299,10 @@ export declare const se_ProvideAnomalyFeedbackCommand: (
|
|
|
287
299
|
input: ProvideAnomalyFeedbackCommandInput,
|
|
288
300
|
context: __SerdeContext
|
|
289
301
|
) => Promise<__HttpRequest>;
|
|
302
|
+
export declare const se_StartCostAllocationTagBackfillCommand: (
|
|
303
|
+
input: StartCostAllocationTagBackfillCommandInput,
|
|
304
|
+
context: __SerdeContext
|
|
305
|
+
) => Promise<__HttpRequest>;
|
|
290
306
|
export declare const se_StartSavingsPlansPurchaseRecommendationGenerationCommand: (
|
|
291
307
|
input: StartSavingsPlansPurchaseRecommendationGenerationCommandInput,
|
|
292
308
|
context: __SerdeContext
|
|
@@ -423,6 +439,10 @@ export declare const de_GetUsageForecastCommand: (
|
|
|
423
439
|
output: __HttpResponse,
|
|
424
440
|
context: __SerdeContext
|
|
425
441
|
) => Promise<GetUsageForecastCommandOutput>;
|
|
442
|
+
export declare const de_ListCostAllocationTagBackfillHistoryCommand: (
|
|
443
|
+
output: __HttpResponse,
|
|
444
|
+
context: __SerdeContext
|
|
445
|
+
) => Promise<ListCostAllocationTagBackfillHistoryCommandOutput>;
|
|
426
446
|
export declare const de_ListCostAllocationTagsCommand: (
|
|
427
447
|
output: __HttpResponse,
|
|
428
448
|
context: __SerdeContext
|
|
@@ -443,6 +463,10 @@ export declare const de_ProvideAnomalyFeedbackCommand: (
|
|
|
443
463
|
output: __HttpResponse,
|
|
444
464
|
context: __SerdeContext
|
|
445
465
|
) => Promise<ProvideAnomalyFeedbackCommandOutput>;
|
|
466
|
+
export declare const de_StartCostAllocationTagBackfillCommand: (
|
|
467
|
+
output: __HttpResponse,
|
|
468
|
+
context: __SerdeContext
|
|
469
|
+
) => Promise<StartCostAllocationTagBackfillCommandOutput>;
|
|
446
470
|
export declare const de_StartSavingsPlansPurchaseRecommendationGenerationCommand: (
|
|
447
471
|
output: __HttpResponse,
|
|
448
472
|
context: __SerdeContext
|
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.
|
|
4
|
+
"version": "3.542.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",
|
|
@@ -20,16 +20,16 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
23
|
-
"@aws-sdk/client-sts": "3.
|
|
23
|
+
"@aws-sdk/client-sts": "3.540.0",
|
|
24
24
|
"@aws-sdk/core": "3.535.0",
|
|
25
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
25
|
+
"@aws-sdk/credential-provider-node": "3.540.0",
|
|
26
26
|
"@aws-sdk/middleware-host-header": "3.535.0",
|
|
27
27
|
"@aws-sdk/middleware-logger": "3.535.0",
|
|
28
28
|
"@aws-sdk/middleware-recursion-detection": "3.535.0",
|
|
29
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
29
|
+
"@aws-sdk/middleware-user-agent": "3.540.0",
|
|
30
30
|
"@aws-sdk/region-config-resolver": "3.535.0",
|
|
31
31
|
"@aws-sdk/types": "3.535.0",
|
|
32
|
-
"@aws-sdk/util-endpoints": "3.
|
|
32
|
+
"@aws-sdk/util-endpoints": "3.540.0",
|
|
33
33
|
"@aws-sdk/util-user-agent-browser": "3.535.0",
|
|
34
34
|
"@aws-sdk/util-user-agent-node": "3.535.0",
|
|
35
35
|
"@smithy/config-resolver": "^2.2.0",
|