@aws-sdk/client-cost-explorer 3.223.0 → 3.224.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 +4 -4
- package/dist-cjs/CostExplorer.js +30 -0
- package/dist-cjs/commands/ListSavingsPlansPurchaseRecommendationGenerationCommand.js +46 -0
- package/dist-cjs/commands/StartSavingsPlansPurchaseRecommendationGenerationCommand.js +46 -0
- package/dist-cjs/commands/index.js +2 -0
- package/dist-cjs/endpoint/ruleset.js +11 -20
- package/dist-cjs/models/models_0.js +45 -4
- package/dist-cjs/protocols/Aws_json1_1.js +168 -2
- package/dist-es/CostExplorer.js +30 -0
- package/dist-es/commands/ListSavingsPlansPurchaseRecommendationGenerationCommand.js +42 -0
- package/dist-es/commands/StartSavingsPlansPurchaseRecommendationGenerationCommand.js +42 -0
- package/dist-es/commands/index.js +2 -0
- package/dist-es/endpoint/ruleset.js +11 -20
- package/dist-es/models/models_0.js +34 -0
- package/dist-es/protocols/Aws_json1_1.js +163 -1
- package/dist-types/CostExplorer.d.ts +110 -53
- package/dist-types/CostExplorerClient.d.ts +14 -12
- package/dist-types/commands/DeleteCostCategoryDefinitionCommand.d.ts +2 -1
- package/dist-types/commands/GetCostAndUsageCommand.d.ts +2 -1
- package/dist-types/commands/GetCostAndUsageWithResourcesCommand.d.ts +11 -9
- package/dist-types/commands/GetCostCategoriesCommand.d.ts +2 -1
- package/dist-types/commands/GetCostForecastCommand.d.ts +2 -1
- package/dist-types/commands/GetDimensionValuesCommand.d.ts +2 -1
- package/dist-types/commands/GetReservationCoverageCommand.d.ts +6 -5
- package/dist-types/commands/GetReservationPurchaseRecommendationCommand.d.ts +2 -2
- package/dist-types/commands/GetReservationUtilizationCommand.d.ts +4 -3
- package/dist-types/commands/GetRightsizingRecommendationCommand.d.ts +2 -3
- package/dist-types/commands/GetSavingsPlansCoverageCommand.d.ts +8 -3
- package/dist-types/commands/GetSavingsPlansPurchaseRecommendationCommand.d.ts +4 -1
- package/dist-types/commands/GetSavingsPlansUtilizationCommand.d.ts +7 -3
- package/dist-types/commands/GetSavingsPlansUtilizationDetailsCommand.d.ts +10 -3
- package/dist-types/commands/GetTagsCommand.d.ts +2 -1
- package/dist-types/commands/GetUsageForecastCommand.d.ts +2 -1
- package/dist-types/commands/ListSavingsPlansPurchaseRecommendationGenerationCommand.d.ts +38 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +2 -2
- package/dist-types/commands/StartSavingsPlansPurchaseRecommendationGenerationCommand.d.ts +45 -0
- package/dist-types/commands/TagResourceCommand.d.ts +4 -1
- package/dist-types/commands/UpdateCostCategoryDefinitionCommand.d.ts +3 -1
- package/dist-types/commands/index.d.ts +2 -0
- package/dist-types/endpoint/EndpointParameters.d.ts +1 -1
- package/dist-types/models/models_0.d.ts +589 -317
- package/dist-types/protocols/Aws_json1_1.d.ts +6 -0
- package/dist-types/ts3.4/CostExplorer.d.ts +46 -0
- package/dist-types/ts3.4/CostExplorerClient.d.ts +12 -0
- package/dist-types/ts3.4/commands/ListSavingsPlansPurchaseRecommendationGenerationCommand.d.ts +43 -0
- package/dist-types/ts3.4/commands/StartSavingsPlansPurchaseRecommendationGenerationCommand.d.ts +43 -0
- package/dist-types/ts3.4/commands/index.d.ts +2 -0
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +1 -1
- package/dist-types/ts3.4/models/models_0.d.ts +51 -0
- package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +24 -0
- package/package.json +28 -28
|
@@ -27,8 +27,10 @@ import { GetTagsCommandInput, GetTagsCommandOutput } from "../commands/GetTagsCo
|
|
|
27
27
|
import { GetUsageForecastCommandInput, GetUsageForecastCommandOutput } from "../commands/GetUsageForecastCommand";
|
|
28
28
|
import { ListCostAllocationTagsCommandInput, ListCostAllocationTagsCommandOutput } from "../commands/ListCostAllocationTagsCommand";
|
|
29
29
|
import { ListCostCategoryDefinitionsCommandInput, ListCostCategoryDefinitionsCommandOutput } from "../commands/ListCostCategoryDefinitionsCommand";
|
|
30
|
+
import { ListSavingsPlansPurchaseRecommendationGenerationCommandInput, ListSavingsPlansPurchaseRecommendationGenerationCommandOutput } from "../commands/ListSavingsPlansPurchaseRecommendationGenerationCommand";
|
|
30
31
|
import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "../commands/ListTagsForResourceCommand";
|
|
31
32
|
import { ProvideAnomalyFeedbackCommandInput, ProvideAnomalyFeedbackCommandOutput } from "../commands/ProvideAnomalyFeedbackCommand";
|
|
33
|
+
import { StartSavingsPlansPurchaseRecommendationGenerationCommandInput, StartSavingsPlansPurchaseRecommendationGenerationCommandOutput } from "../commands/StartSavingsPlansPurchaseRecommendationGenerationCommand";
|
|
32
34
|
import { TagResourceCommandInput, TagResourceCommandOutput } from "../commands/TagResourceCommand";
|
|
33
35
|
import { UntagResourceCommandInput, UntagResourceCommandOutput } from "../commands/UntagResourceCommand";
|
|
34
36
|
import { UpdateAnomalyMonitorCommandInput, UpdateAnomalyMonitorCommandOutput } from "../commands/UpdateAnomalyMonitorCommand";
|
|
@@ -62,8 +64,10 @@ export declare const serializeAws_json1_1GetTagsCommand: (input: GetTagsCommandI
|
|
|
62
64
|
export declare const serializeAws_json1_1GetUsageForecastCommand: (input: GetUsageForecastCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
63
65
|
export declare const serializeAws_json1_1ListCostAllocationTagsCommand: (input: ListCostAllocationTagsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
64
66
|
export declare const serializeAws_json1_1ListCostCategoryDefinitionsCommand: (input: ListCostCategoryDefinitionsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
67
|
+
export declare const serializeAws_json1_1ListSavingsPlansPurchaseRecommendationGenerationCommand: (input: ListSavingsPlansPurchaseRecommendationGenerationCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
65
68
|
export declare const serializeAws_json1_1ListTagsForResourceCommand: (input: ListTagsForResourceCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
66
69
|
export declare const serializeAws_json1_1ProvideAnomalyFeedbackCommand: (input: ProvideAnomalyFeedbackCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
70
|
+
export declare const serializeAws_json1_1StartSavingsPlansPurchaseRecommendationGenerationCommand: (input: StartSavingsPlansPurchaseRecommendationGenerationCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
67
71
|
export declare const serializeAws_json1_1TagResourceCommand: (input: TagResourceCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
68
72
|
export declare const serializeAws_json1_1UntagResourceCommand: (input: UntagResourceCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
69
73
|
export declare const serializeAws_json1_1UpdateAnomalyMonitorCommand: (input: UpdateAnomalyMonitorCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
@@ -97,8 +101,10 @@ export declare const deserializeAws_json1_1GetTagsCommand: (output: __HttpRespon
|
|
|
97
101
|
export declare const deserializeAws_json1_1GetUsageForecastCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetUsageForecastCommandOutput>;
|
|
98
102
|
export declare const deserializeAws_json1_1ListCostAllocationTagsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListCostAllocationTagsCommandOutput>;
|
|
99
103
|
export declare const deserializeAws_json1_1ListCostCategoryDefinitionsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListCostCategoryDefinitionsCommandOutput>;
|
|
104
|
+
export declare const deserializeAws_json1_1ListSavingsPlansPurchaseRecommendationGenerationCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListSavingsPlansPurchaseRecommendationGenerationCommandOutput>;
|
|
100
105
|
export declare const deserializeAws_json1_1ListTagsForResourceCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListTagsForResourceCommandOutput>;
|
|
101
106
|
export declare const deserializeAws_json1_1ProvideAnomalyFeedbackCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ProvideAnomalyFeedbackCommandOutput>;
|
|
107
|
+
export declare const deserializeAws_json1_1StartSavingsPlansPurchaseRecommendationGenerationCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<StartSavingsPlansPurchaseRecommendationGenerationCommandOutput>;
|
|
102
108
|
export declare const deserializeAws_json1_1TagResourceCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<TagResourceCommandOutput>;
|
|
103
109
|
export declare const deserializeAws_json1_1UntagResourceCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UntagResourceCommandOutput>;
|
|
104
110
|
export declare const deserializeAws_json1_1UpdateAnomalyMonitorCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UpdateAnomalyMonitorCommandOutput>;
|
|
@@ -107,6 +107,10 @@ import {
|
|
|
107
107
|
ListCostCategoryDefinitionsCommandInput,
|
|
108
108
|
ListCostCategoryDefinitionsCommandOutput,
|
|
109
109
|
} from "./commands/ListCostCategoryDefinitionsCommand";
|
|
110
|
+
import {
|
|
111
|
+
ListSavingsPlansPurchaseRecommendationGenerationCommandInput,
|
|
112
|
+
ListSavingsPlansPurchaseRecommendationGenerationCommandOutput,
|
|
113
|
+
} from "./commands/ListSavingsPlansPurchaseRecommendationGenerationCommand";
|
|
110
114
|
import {
|
|
111
115
|
ListTagsForResourceCommandInput,
|
|
112
116
|
ListTagsForResourceCommandOutput,
|
|
@@ -115,6 +119,10 @@ import {
|
|
|
115
119
|
ProvideAnomalyFeedbackCommandInput,
|
|
116
120
|
ProvideAnomalyFeedbackCommandOutput,
|
|
117
121
|
} from "./commands/ProvideAnomalyFeedbackCommand";
|
|
122
|
+
import {
|
|
123
|
+
StartSavingsPlansPurchaseRecommendationGenerationCommandInput,
|
|
124
|
+
StartSavingsPlansPurchaseRecommendationGenerationCommandOutput,
|
|
125
|
+
} from "./commands/StartSavingsPlansPurchaseRecommendationGenerationCommand";
|
|
118
126
|
import {
|
|
119
127
|
TagResourceCommandInput,
|
|
120
128
|
TagResourceCommandOutput,
|
|
@@ -510,6 +518,25 @@ export declare class CostExplorer extends CostExplorerClient {
|
|
|
510
518
|
options: __HttpHandlerOptions,
|
|
511
519
|
cb: (err: any, data?: ListCostCategoryDefinitionsCommandOutput) => void
|
|
512
520
|
): void;
|
|
521
|
+
listSavingsPlansPurchaseRecommendationGeneration(
|
|
522
|
+
args: ListSavingsPlansPurchaseRecommendationGenerationCommandInput,
|
|
523
|
+
options?: __HttpHandlerOptions
|
|
524
|
+
): Promise<ListSavingsPlansPurchaseRecommendationGenerationCommandOutput>;
|
|
525
|
+
listSavingsPlansPurchaseRecommendationGeneration(
|
|
526
|
+
args: ListSavingsPlansPurchaseRecommendationGenerationCommandInput,
|
|
527
|
+
cb: (
|
|
528
|
+
err: any,
|
|
529
|
+
data?: ListSavingsPlansPurchaseRecommendationGenerationCommandOutput
|
|
530
|
+
) => void
|
|
531
|
+
): void;
|
|
532
|
+
listSavingsPlansPurchaseRecommendationGeneration(
|
|
533
|
+
args: ListSavingsPlansPurchaseRecommendationGenerationCommandInput,
|
|
534
|
+
options: __HttpHandlerOptions,
|
|
535
|
+
cb: (
|
|
536
|
+
err: any,
|
|
537
|
+
data?: ListSavingsPlansPurchaseRecommendationGenerationCommandOutput
|
|
538
|
+
) => void
|
|
539
|
+
): void;
|
|
513
540
|
listTagsForResource(
|
|
514
541
|
args: ListTagsForResourceCommandInput,
|
|
515
542
|
options?: __HttpHandlerOptions
|
|
@@ -536,6 +563,25 @@ export declare class CostExplorer extends CostExplorerClient {
|
|
|
536
563
|
options: __HttpHandlerOptions,
|
|
537
564
|
cb: (err: any, data?: ProvideAnomalyFeedbackCommandOutput) => void
|
|
538
565
|
): void;
|
|
566
|
+
startSavingsPlansPurchaseRecommendationGeneration(
|
|
567
|
+
args: StartSavingsPlansPurchaseRecommendationGenerationCommandInput,
|
|
568
|
+
options?: __HttpHandlerOptions
|
|
569
|
+
): Promise<StartSavingsPlansPurchaseRecommendationGenerationCommandOutput>;
|
|
570
|
+
startSavingsPlansPurchaseRecommendationGeneration(
|
|
571
|
+
args: StartSavingsPlansPurchaseRecommendationGenerationCommandInput,
|
|
572
|
+
cb: (
|
|
573
|
+
err: any,
|
|
574
|
+
data?: StartSavingsPlansPurchaseRecommendationGenerationCommandOutput
|
|
575
|
+
) => void
|
|
576
|
+
): void;
|
|
577
|
+
startSavingsPlansPurchaseRecommendationGeneration(
|
|
578
|
+
args: StartSavingsPlansPurchaseRecommendationGenerationCommandInput,
|
|
579
|
+
options: __HttpHandlerOptions,
|
|
580
|
+
cb: (
|
|
581
|
+
err: any,
|
|
582
|
+
data?: StartSavingsPlansPurchaseRecommendationGenerationCommandOutput
|
|
583
|
+
) => void
|
|
584
|
+
): void;
|
|
539
585
|
tagResource(
|
|
540
586
|
args: TagResourceCommandInput,
|
|
541
587
|
options?: __HttpHandlerOptions
|
|
@@ -151,6 +151,10 @@ import {
|
|
|
151
151
|
ListCostCategoryDefinitionsCommandInput,
|
|
152
152
|
ListCostCategoryDefinitionsCommandOutput,
|
|
153
153
|
} from "./commands/ListCostCategoryDefinitionsCommand";
|
|
154
|
+
import {
|
|
155
|
+
ListSavingsPlansPurchaseRecommendationGenerationCommandInput,
|
|
156
|
+
ListSavingsPlansPurchaseRecommendationGenerationCommandOutput,
|
|
157
|
+
} from "./commands/ListSavingsPlansPurchaseRecommendationGenerationCommand";
|
|
154
158
|
import {
|
|
155
159
|
ListTagsForResourceCommandInput,
|
|
156
160
|
ListTagsForResourceCommandOutput,
|
|
@@ -159,6 +163,10 @@ import {
|
|
|
159
163
|
ProvideAnomalyFeedbackCommandInput,
|
|
160
164
|
ProvideAnomalyFeedbackCommandOutput,
|
|
161
165
|
} from "./commands/ProvideAnomalyFeedbackCommand";
|
|
166
|
+
import {
|
|
167
|
+
StartSavingsPlansPurchaseRecommendationGenerationCommandInput,
|
|
168
|
+
StartSavingsPlansPurchaseRecommendationGenerationCommandOutput,
|
|
169
|
+
} from "./commands/StartSavingsPlansPurchaseRecommendationGenerationCommand";
|
|
162
170
|
import {
|
|
163
171
|
TagResourceCommandInput,
|
|
164
172
|
TagResourceCommandOutput,
|
|
@@ -216,8 +224,10 @@ export declare type ServiceInputTypes =
|
|
|
216
224
|
| GetUsageForecastCommandInput
|
|
217
225
|
| ListCostAllocationTagsCommandInput
|
|
218
226
|
| ListCostCategoryDefinitionsCommandInput
|
|
227
|
+
| ListSavingsPlansPurchaseRecommendationGenerationCommandInput
|
|
219
228
|
| ListTagsForResourceCommandInput
|
|
220
229
|
| ProvideAnomalyFeedbackCommandInput
|
|
230
|
+
| StartSavingsPlansPurchaseRecommendationGenerationCommandInput
|
|
221
231
|
| TagResourceCommandInput
|
|
222
232
|
| UntagResourceCommandInput
|
|
223
233
|
| UpdateAnomalyMonitorCommandInput
|
|
@@ -252,8 +262,10 @@ export declare type ServiceOutputTypes =
|
|
|
252
262
|
| GetUsageForecastCommandOutput
|
|
253
263
|
| ListCostAllocationTagsCommandOutput
|
|
254
264
|
| ListCostCategoryDefinitionsCommandOutput
|
|
265
|
+
| ListSavingsPlansPurchaseRecommendationGenerationCommandOutput
|
|
255
266
|
| ListTagsForResourceCommandOutput
|
|
256
267
|
| ProvideAnomalyFeedbackCommandOutput
|
|
268
|
+
| StartSavingsPlansPurchaseRecommendationGenerationCommandOutput
|
|
257
269
|
| TagResourceCommandOutput
|
|
258
270
|
| UntagResourceCommandOutput
|
|
259
271
|
| UpdateAnomalyMonitorCommandOutput
|
package/dist-types/ts3.4/commands/ListSavingsPlansPurchaseRecommendationGenerationCommand.d.ts
ADDED
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
|
+
import {
|
|
4
|
+
Handler,
|
|
5
|
+
HttpHandlerOptions as __HttpHandlerOptions,
|
|
6
|
+
MetadataBearer as __MetadataBearer,
|
|
7
|
+
MiddlewareStack,
|
|
8
|
+
} from "@aws-sdk/types";
|
|
9
|
+
import {
|
|
10
|
+
CostExplorerClientResolvedConfig,
|
|
11
|
+
ServiceInputTypes,
|
|
12
|
+
ServiceOutputTypes,
|
|
13
|
+
} from "../CostExplorerClient";
|
|
14
|
+
import {
|
|
15
|
+
ListSavingsPlansPurchaseRecommendationGenerationRequest,
|
|
16
|
+
ListSavingsPlansPurchaseRecommendationGenerationResponse,
|
|
17
|
+
} from "../models/models_0";
|
|
18
|
+
export interface ListSavingsPlansPurchaseRecommendationGenerationCommandInput
|
|
19
|
+
extends ListSavingsPlansPurchaseRecommendationGenerationRequest {}
|
|
20
|
+
export interface ListSavingsPlansPurchaseRecommendationGenerationCommandOutput
|
|
21
|
+
extends ListSavingsPlansPurchaseRecommendationGenerationResponse,
|
|
22
|
+
__MetadataBearer {}
|
|
23
|
+
export declare class ListSavingsPlansPurchaseRecommendationGenerationCommand extends $Command<
|
|
24
|
+
ListSavingsPlansPurchaseRecommendationGenerationCommandInput,
|
|
25
|
+
ListSavingsPlansPurchaseRecommendationGenerationCommandOutput,
|
|
26
|
+
CostExplorerClientResolvedConfig
|
|
27
|
+
> {
|
|
28
|
+
readonly input: ListSavingsPlansPurchaseRecommendationGenerationCommandInput;
|
|
29
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
30
|
+
constructor(
|
|
31
|
+
input: ListSavingsPlansPurchaseRecommendationGenerationCommandInput
|
|
32
|
+
);
|
|
33
|
+
resolveMiddleware(
|
|
34
|
+
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
35
|
+
configuration: CostExplorerClientResolvedConfig,
|
|
36
|
+
options?: __HttpHandlerOptions
|
|
37
|
+
): Handler<
|
|
38
|
+
ListSavingsPlansPurchaseRecommendationGenerationCommandInput,
|
|
39
|
+
ListSavingsPlansPurchaseRecommendationGenerationCommandOutput
|
|
40
|
+
>;
|
|
41
|
+
private serialize;
|
|
42
|
+
private deserialize;
|
|
43
|
+
}
|
package/dist-types/ts3.4/commands/StartSavingsPlansPurchaseRecommendationGenerationCommand.d.ts
ADDED
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
|
+
import {
|
|
4
|
+
Handler,
|
|
5
|
+
HttpHandlerOptions as __HttpHandlerOptions,
|
|
6
|
+
MetadataBearer as __MetadataBearer,
|
|
7
|
+
MiddlewareStack,
|
|
8
|
+
} from "@aws-sdk/types";
|
|
9
|
+
import {
|
|
10
|
+
CostExplorerClientResolvedConfig,
|
|
11
|
+
ServiceInputTypes,
|
|
12
|
+
ServiceOutputTypes,
|
|
13
|
+
} from "../CostExplorerClient";
|
|
14
|
+
import {
|
|
15
|
+
StartSavingsPlansPurchaseRecommendationGenerationRequest,
|
|
16
|
+
StartSavingsPlansPurchaseRecommendationGenerationResponse,
|
|
17
|
+
} from "../models/models_0";
|
|
18
|
+
export interface StartSavingsPlansPurchaseRecommendationGenerationCommandInput
|
|
19
|
+
extends StartSavingsPlansPurchaseRecommendationGenerationRequest {}
|
|
20
|
+
export interface StartSavingsPlansPurchaseRecommendationGenerationCommandOutput
|
|
21
|
+
extends StartSavingsPlansPurchaseRecommendationGenerationResponse,
|
|
22
|
+
__MetadataBearer {}
|
|
23
|
+
export declare class StartSavingsPlansPurchaseRecommendationGenerationCommand extends $Command<
|
|
24
|
+
StartSavingsPlansPurchaseRecommendationGenerationCommandInput,
|
|
25
|
+
StartSavingsPlansPurchaseRecommendationGenerationCommandOutput,
|
|
26
|
+
CostExplorerClientResolvedConfig
|
|
27
|
+
> {
|
|
28
|
+
readonly input: StartSavingsPlansPurchaseRecommendationGenerationCommandInput;
|
|
29
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
30
|
+
constructor(
|
|
31
|
+
input: StartSavingsPlansPurchaseRecommendationGenerationCommandInput
|
|
32
|
+
);
|
|
33
|
+
resolveMiddleware(
|
|
34
|
+
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
35
|
+
configuration: CostExplorerClientResolvedConfig,
|
|
36
|
+
options?: __HttpHandlerOptions
|
|
37
|
+
): Handler<
|
|
38
|
+
StartSavingsPlansPurchaseRecommendationGenerationCommandInput,
|
|
39
|
+
StartSavingsPlansPurchaseRecommendationGenerationCommandOutput
|
|
40
|
+
>;
|
|
41
|
+
private serialize;
|
|
42
|
+
private deserialize;
|
|
43
|
+
}
|
|
@@ -25,8 +25,10 @@ export * from "./GetTagsCommand";
|
|
|
25
25
|
export * from "./GetUsageForecastCommand";
|
|
26
26
|
export * from "./ListCostAllocationTagsCommand";
|
|
27
27
|
export * from "./ListCostCategoryDefinitionsCommand";
|
|
28
|
+
export * from "./ListSavingsPlansPurchaseRecommendationGenerationCommand";
|
|
28
29
|
export * from "./ListTagsForResourceCommand";
|
|
29
30
|
export * from "./ProvideAnomalyFeedbackCommand";
|
|
31
|
+
export * from "./StartSavingsPlansPurchaseRecommendationGenerationCommand";
|
|
30
32
|
export * from "./TagResourceCommand";
|
|
31
33
|
export * from "./UntagResourceCommand";
|
|
32
34
|
export * from "./UpdateAnomalyMonitorCommand";
|
|
@@ -27,7 +27,7 @@ export declare const resolveClientEndpointParameters: <T>(
|
|
|
27
27
|
defaultSigningName: string;
|
|
28
28
|
};
|
|
29
29
|
export interface EndpointParameters extends __EndpointParameters {
|
|
30
|
-
Region
|
|
30
|
+
Region: string;
|
|
31
31
|
UseDualStack?: boolean;
|
|
32
32
|
UseFIPS?: boolean;
|
|
33
33
|
Endpoint?: string;
|
|
@@ -928,6 +928,28 @@ export interface ListCostCategoryDefinitionsResponse {
|
|
|
928
928
|
CostCategoryReferences?: CostCategoryReference[];
|
|
929
929
|
NextToken?: string;
|
|
930
930
|
}
|
|
931
|
+
export declare enum GenerationStatus {
|
|
932
|
+
FAILED = "FAILED",
|
|
933
|
+
PROCESSING = "PROCESSING",
|
|
934
|
+
SUCCEEDED = "SUCCEEDED",
|
|
935
|
+
}
|
|
936
|
+
export interface ListSavingsPlansPurchaseRecommendationGenerationRequest {
|
|
937
|
+
GenerationStatus?: GenerationStatus | string;
|
|
938
|
+
RecommendationIds?: string[];
|
|
939
|
+
PageSize?: number;
|
|
940
|
+
NextPageToken?: string;
|
|
941
|
+
}
|
|
942
|
+
export interface GenerationSummary {
|
|
943
|
+
RecommendationId?: string;
|
|
944
|
+
GenerationStatus?: GenerationStatus | string;
|
|
945
|
+
GenerationStartedTime?: string;
|
|
946
|
+
GenerationCompletionTime?: string;
|
|
947
|
+
EstimatedCompletionTime?: string;
|
|
948
|
+
}
|
|
949
|
+
export interface ListSavingsPlansPurchaseRecommendationGenerationResponse {
|
|
950
|
+
GenerationSummaryList?: GenerationSummary[];
|
|
951
|
+
NextPageToken?: string;
|
|
952
|
+
}
|
|
931
953
|
export interface ListTagsForResourceRequest {
|
|
932
954
|
ResourceArn: string | undefined;
|
|
933
955
|
}
|
|
@@ -941,6 +963,20 @@ export interface ProvideAnomalyFeedbackRequest {
|
|
|
941
963
|
export interface ProvideAnomalyFeedbackResponse {
|
|
942
964
|
AnomalyId: string | undefined;
|
|
943
965
|
}
|
|
966
|
+
export declare class GenerationExistsException extends __BaseException {
|
|
967
|
+
readonly name: "GenerationExistsException";
|
|
968
|
+
readonly $fault: "client";
|
|
969
|
+
Message?: string;
|
|
970
|
+
constructor(
|
|
971
|
+
opts: __ExceptionOptionType<GenerationExistsException, __BaseException>
|
|
972
|
+
);
|
|
973
|
+
}
|
|
974
|
+
export interface StartSavingsPlansPurchaseRecommendationGenerationRequest {}
|
|
975
|
+
export interface StartSavingsPlansPurchaseRecommendationGenerationResponse {
|
|
976
|
+
RecommendationId?: string;
|
|
977
|
+
GenerationStartedTime?: string;
|
|
978
|
+
EstimatedCompletionTime?: string;
|
|
979
|
+
}
|
|
944
980
|
export interface TagResourceRequest {
|
|
945
981
|
ResourceArn: string | undefined;
|
|
946
982
|
ResourceTags: ResourceTag[] | undefined;
|
|
@@ -1495,6 +1531,15 @@ export declare const CostCategoryReferenceFilterSensitiveLog: (
|
|
|
1495
1531
|
export declare const ListCostCategoryDefinitionsResponseFilterSensitiveLog: (
|
|
1496
1532
|
obj: ListCostCategoryDefinitionsResponse
|
|
1497
1533
|
) => any;
|
|
1534
|
+
export declare const ListSavingsPlansPurchaseRecommendationGenerationRequestFilterSensitiveLog: (
|
|
1535
|
+
obj: ListSavingsPlansPurchaseRecommendationGenerationRequest
|
|
1536
|
+
) => any;
|
|
1537
|
+
export declare const GenerationSummaryFilterSensitiveLog: (
|
|
1538
|
+
obj: GenerationSummary
|
|
1539
|
+
) => any;
|
|
1540
|
+
export declare const ListSavingsPlansPurchaseRecommendationGenerationResponseFilterSensitiveLog: (
|
|
1541
|
+
obj: ListSavingsPlansPurchaseRecommendationGenerationResponse
|
|
1542
|
+
) => any;
|
|
1498
1543
|
export declare const ListTagsForResourceRequestFilterSensitiveLog: (
|
|
1499
1544
|
obj: ListTagsForResourceRequest
|
|
1500
1545
|
) => any;
|
|
@@ -1507,6 +1552,12 @@ export declare const ProvideAnomalyFeedbackRequestFilterSensitiveLog: (
|
|
|
1507
1552
|
export declare const ProvideAnomalyFeedbackResponseFilterSensitiveLog: (
|
|
1508
1553
|
obj: ProvideAnomalyFeedbackResponse
|
|
1509
1554
|
) => any;
|
|
1555
|
+
export declare const StartSavingsPlansPurchaseRecommendationGenerationRequestFilterSensitiveLog: (
|
|
1556
|
+
obj: StartSavingsPlansPurchaseRecommendationGenerationRequest
|
|
1557
|
+
) => any;
|
|
1558
|
+
export declare const StartSavingsPlansPurchaseRecommendationGenerationResponseFilterSensitiveLog: (
|
|
1559
|
+
obj: StartSavingsPlansPurchaseRecommendationGenerationResponse
|
|
1560
|
+
) => any;
|
|
1510
1561
|
export declare const TagResourceRequestFilterSensitiveLog: (
|
|
1511
1562
|
obj: TagResourceRequest
|
|
1512
1563
|
) => any;
|
|
@@ -111,6 +111,10 @@ import {
|
|
|
111
111
|
ListCostCategoryDefinitionsCommandInput,
|
|
112
112
|
ListCostCategoryDefinitionsCommandOutput,
|
|
113
113
|
} from "../commands/ListCostCategoryDefinitionsCommand";
|
|
114
|
+
import {
|
|
115
|
+
ListSavingsPlansPurchaseRecommendationGenerationCommandInput,
|
|
116
|
+
ListSavingsPlansPurchaseRecommendationGenerationCommandOutput,
|
|
117
|
+
} from "../commands/ListSavingsPlansPurchaseRecommendationGenerationCommand";
|
|
114
118
|
import {
|
|
115
119
|
ListTagsForResourceCommandInput,
|
|
116
120
|
ListTagsForResourceCommandOutput,
|
|
@@ -119,6 +123,10 @@ import {
|
|
|
119
123
|
ProvideAnomalyFeedbackCommandInput,
|
|
120
124
|
ProvideAnomalyFeedbackCommandOutput,
|
|
121
125
|
} from "../commands/ProvideAnomalyFeedbackCommand";
|
|
126
|
+
import {
|
|
127
|
+
StartSavingsPlansPurchaseRecommendationGenerationCommandInput,
|
|
128
|
+
StartSavingsPlansPurchaseRecommendationGenerationCommandOutput,
|
|
129
|
+
} from "../commands/StartSavingsPlansPurchaseRecommendationGenerationCommand";
|
|
122
130
|
import {
|
|
123
131
|
TagResourceCommandInput,
|
|
124
132
|
TagResourceCommandOutput,
|
|
@@ -251,6 +259,10 @@ export declare const serializeAws_json1_1ListCostCategoryDefinitionsCommand: (
|
|
|
251
259
|
input: ListCostCategoryDefinitionsCommandInput,
|
|
252
260
|
context: __SerdeContext
|
|
253
261
|
) => Promise<__HttpRequest>;
|
|
262
|
+
export declare const serializeAws_json1_1ListSavingsPlansPurchaseRecommendationGenerationCommand: (
|
|
263
|
+
input: ListSavingsPlansPurchaseRecommendationGenerationCommandInput,
|
|
264
|
+
context: __SerdeContext
|
|
265
|
+
) => Promise<__HttpRequest>;
|
|
254
266
|
export declare const serializeAws_json1_1ListTagsForResourceCommand: (
|
|
255
267
|
input: ListTagsForResourceCommandInput,
|
|
256
268
|
context: __SerdeContext
|
|
@@ -259,6 +271,10 @@ export declare const serializeAws_json1_1ProvideAnomalyFeedbackCommand: (
|
|
|
259
271
|
input: ProvideAnomalyFeedbackCommandInput,
|
|
260
272
|
context: __SerdeContext
|
|
261
273
|
) => Promise<__HttpRequest>;
|
|
274
|
+
export declare const serializeAws_json1_1StartSavingsPlansPurchaseRecommendationGenerationCommand: (
|
|
275
|
+
input: StartSavingsPlansPurchaseRecommendationGenerationCommandInput,
|
|
276
|
+
context: __SerdeContext
|
|
277
|
+
) => Promise<__HttpRequest>;
|
|
262
278
|
export declare const serializeAws_json1_1TagResourceCommand: (
|
|
263
279
|
input: TagResourceCommandInput,
|
|
264
280
|
context: __SerdeContext
|
|
@@ -391,6 +407,10 @@ export declare const deserializeAws_json1_1ListCostCategoryDefinitionsCommand: (
|
|
|
391
407
|
output: __HttpResponse,
|
|
392
408
|
context: __SerdeContext
|
|
393
409
|
) => Promise<ListCostCategoryDefinitionsCommandOutput>;
|
|
410
|
+
export declare const deserializeAws_json1_1ListSavingsPlansPurchaseRecommendationGenerationCommand: (
|
|
411
|
+
output: __HttpResponse,
|
|
412
|
+
context: __SerdeContext
|
|
413
|
+
) => Promise<ListSavingsPlansPurchaseRecommendationGenerationCommandOutput>;
|
|
394
414
|
export declare const deserializeAws_json1_1ListTagsForResourceCommand: (
|
|
395
415
|
output: __HttpResponse,
|
|
396
416
|
context: __SerdeContext
|
|
@@ -399,6 +419,10 @@ export declare const deserializeAws_json1_1ProvideAnomalyFeedbackCommand: (
|
|
|
399
419
|
output: __HttpResponse,
|
|
400
420
|
context: __SerdeContext
|
|
401
421
|
) => Promise<ProvideAnomalyFeedbackCommandOutput>;
|
|
422
|
+
export declare const deserializeAws_json1_1StartSavingsPlansPurchaseRecommendationGenerationCommand: (
|
|
423
|
+
output: __HttpResponse,
|
|
424
|
+
context: __SerdeContext
|
|
425
|
+
) => Promise<StartSavingsPlansPurchaseRecommendationGenerationCommandOutput>;
|
|
402
426
|
export declare const deserializeAws_json1_1TagResourceCommand: (
|
|
403
427
|
output: __HttpResponse,
|
|
404
428
|
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.224.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",
|
|
@@ -19,36 +19,36 @@
|
|
|
19
19
|
"dependencies": {
|
|
20
20
|
"@aws-crypto/sha256-browser": "2.0.0",
|
|
21
21
|
"@aws-crypto/sha256-js": "2.0.0",
|
|
22
|
-
"@aws-sdk/client-sts": "3.
|
|
23
|
-
"@aws-sdk/config-resolver": "3.
|
|
24
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
25
|
-
"@aws-sdk/fetch-http-handler": "3.
|
|
26
|
-
"@aws-sdk/hash-node": "3.
|
|
27
|
-
"@aws-sdk/invalid-dependency": "3.
|
|
28
|
-
"@aws-sdk/middleware-content-length": "3.
|
|
29
|
-
"@aws-sdk/middleware-endpoint": "3.
|
|
30
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
31
|
-
"@aws-sdk/middleware-logger": "3.
|
|
32
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
33
|
-
"@aws-sdk/middleware-retry": "3.
|
|
34
|
-
"@aws-sdk/middleware-serde": "3.
|
|
35
|
-
"@aws-sdk/middleware-signing": "3.
|
|
36
|
-
"@aws-sdk/middleware-stack": "3.
|
|
37
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
38
|
-
"@aws-sdk/node-config-provider": "3.
|
|
39
|
-
"@aws-sdk/node-http-handler": "3.
|
|
40
|
-
"@aws-sdk/protocol-http": "3.
|
|
41
|
-
"@aws-sdk/smithy-client": "3.
|
|
42
|
-
"@aws-sdk/types": "3.
|
|
43
|
-
"@aws-sdk/url-parser": "3.
|
|
22
|
+
"@aws-sdk/client-sts": "3.224.0",
|
|
23
|
+
"@aws-sdk/config-resolver": "3.224.0",
|
|
24
|
+
"@aws-sdk/credential-provider-node": "3.224.0",
|
|
25
|
+
"@aws-sdk/fetch-http-handler": "3.224.0",
|
|
26
|
+
"@aws-sdk/hash-node": "3.224.0",
|
|
27
|
+
"@aws-sdk/invalid-dependency": "3.224.0",
|
|
28
|
+
"@aws-sdk/middleware-content-length": "3.224.0",
|
|
29
|
+
"@aws-sdk/middleware-endpoint": "3.224.0",
|
|
30
|
+
"@aws-sdk/middleware-host-header": "3.224.0",
|
|
31
|
+
"@aws-sdk/middleware-logger": "3.224.0",
|
|
32
|
+
"@aws-sdk/middleware-recursion-detection": "3.224.0",
|
|
33
|
+
"@aws-sdk/middleware-retry": "3.224.0",
|
|
34
|
+
"@aws-sdk/middleware-serde": "3.224.0",
|
|
35
|
+
"@aws-sdk/middleware-signing": "3.224.0",
|
|
36
|
+
"@aws-sdk/middleware-stack": "3.224.0",
|
|
37
|
+
"@aws-sdk/middleware-user-agent": "3.224.0",
|
|
38
|
+
"@aws-sdk/node-config-provider": "3.224.0",
|
|
39
|
+
"@aws-sdk/node-http-handler": "3.224.0",
|
|
40
|
+
"@aws-sdk/protocol-http": "3.224.0",
|
|
41
|
+
"@aws-sdk/smithy-client": "3.224.0",
|
|
42
|
+
"@aws-sdk/types": "3.224.0",
|
|
43
|
+
"@aws-sdk/url-parser": "3.224.0",
|
|
44
44
|
"@aws-sdk/util-base64": "3.208.0",
|
|
45
45
|
"@aws-sdk/util-body-length-browser": "3.188.0",
|
|
46
46
|
"@aws-sdk/util-body-length-node": "3.208.0",
|
|
47
|
-
"@aws-sdk/util-defaults-mode-browser": "3.
|
|
48
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
49
|
-
"@aws-sdk/util-endpoints": "3.
|
|
50
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
51
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
47
|
+
"@aws-sdk/util-defaults-mode-browser": "3.224.0",
|
|
48
|
+
"@aws-sdk/util-defaults-mode-node": "3.224.0",
|
|
49
|
+
"@aws-sdk/util-endpoints": "3.224.0",
|
|
50
|
+
"@aws-sdk/util-user-agent-browser": "3.224.0",
|
|
51
|
+
"@aws-sdk/util-user-agent-node": "3.224.0",
|
|
52
52
|
"@aws-sdk/util-utf8-browser": "3.188.0",
|
|
53
53
|
"@aws-sdk/util-utf8-node": "3.208.0",
|
|
54
54
|
"tslib": "^2.3.1"
|