@aws-sdk/client-cost-explorer 3.816.0 → 3.818.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/index.js +148 -0
- package/dist-cjs/runtimeConfig.js +4 -1
- package/dist-es/CostExplorer.js +4 -0
- package/dist-es/commands/GetCostAndUsageComparisonsCommand.js +22 -0
- package/dist-es/commands/GetCostComparisonDriversCommand.js +22 -0
- package/dist-es/commands/index.js +2 -0
- package/dist-es/pagination/GetCostAndUsageComparisonsPaginator.js +4 -0
- package/dist-es/pagination/GetCostComparisonDriversPaginator.js +4 -0
- package/dist-es/pagination/index.js +2 -0
- package/dist-es/protocols/Aws_json1_1.js +104 -0
- package/dist-es/runtimeConfig.js +4 -1
- package/dist-types/CostExplorer.d.ts +14 -0
- package/dist-types/CostExplorerClient.d.ts +4 -2
- package/dist-types/commands/GetCostAndUsageComparisonsCommand.d.ts +257 -0
- package/dist-types/commands/GetCostComparisonDriversCommand.d.ts +263 -0
- package/dist-types/commands/index.d.ts +2 -0
- package/dist-types/models/models_0.d.ts +830 -93
- package/dist-types/pagination/GetCostAndUsageComparisonsPaginator.d.ts +7 -0
- package/dist-types/pagination/GetCostComparisonDriversPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +2 -0
- package/dist-types/protocols/Aws_json1_1.d.ts +18 -0
- package/dist-types/ts3.4/CostExplorer.d.ts +34 -0
- package/dist-types/ts3.4/CostExplorerClient.d.ts +12 -0
- package/dist-types/ts3.4/commands/GetCostAndUsageComparisonsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetCostComparisonDriversCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/index.d.ts +2 -0
- package/dist-types/ts3.4/models/models_0.d.ts +49 -0
- package/dist-types/ts3.4/pagination/GetCostAndUsageComparisonsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/GetCostComparisonDriversPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +2 -0
- package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +24 -0
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -321,6 +321,14 @@ GetCostAndUsage
|
|
|
321
321
|
|
|
322
322
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/cost-explorer/command/GetCostAndUsageCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-cost-explorer/Interface/GetCostAndUsageCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-cost-explorer/Interface/GetCostAndUsageCommandOutput/)
|
|
323
323
|
|
|
324
|
+
</details>
|
|
325
|
+
<details>
|
|
326
|
+
<summary>
|
|
327
|
+
GetCostAndUsageComparisons
|
|
328
|
+
</summary>
|
|
329
|
+
|
|
330
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/cost-explorer/command/GetCostAndUsageComparisonsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-cost-explorer/Interface/GetCostAndUsageComparisonsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-cost-explorer/Interface/GetCostAndUsageComparisonsCommandOutput/)
|
|
331
|
+
|
|
324
332
|
</details>
|
|
325
333
|
<details>
|
|
326
334
|
<summary>
|
|
@@ -337,6 +345,14 @@ GetCostCategories
|
|
|
337
345
|
|
|
338
346
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/cost-explorer/command/GetCostCategoriesCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-cost-explorer/Interface/GetCostCategoriesCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-cost-explorer/Interface/GetCostCategoriesCommandOutput/)
|
|
339
347
|
|
|
348
|
+
</details>
|
|
349
|
+
<details>
|
|
350
|
+
<summary>
|
|
351
|
+
GetCostComparisonDrivers
|
|
352
|
+
</summary>
|
|
353
|
+
|
|
354
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/cost-explorer/command/GetCostComparisonDriversCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-cost-explorer/Interface/GetCostComparisonDriversCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-cost-explorer/Interface/GetCostComparisonDriversCommandOutput/)
|
|
355
|
+
|
|
340
356
|
</details>
|
|
341
357
|
<details>
|
|
342
358
|
<summary>
|
package/dist-cjs/index.js
CHANGED
|
@@ -63,8 +63,10 @@ __export(index_exports, {
|
|
|
63
63
|
GetApproximateUsageRecordsCommand: () => GetApproximateUsageRecordsCommand,
|
|
64
64
|
GetCommitmentPurchaseAnalysisCommand: () => GetCommitmentPurchaseAnalysisCommand,
|
|
65
65
|
GetCostAndUsageCommand: () => GetCostAndUsageCommand,
|
|
66
|
+
GetCostAndUsageComparisonsCommand: () => GetCostAndUsageComparisonsCommand,
|
|
66
67
|
GetCostAndUsageWithResourcesCommand: () => GetCostAndUsageWithResourcesCommand,
|
|
67
68
|
GetCostCategoriesCommand: () => GetCostCategoriesCommand,
|
|
69
|
+
GetCostComparisonDriversCommand: () => GetCostComparisonDriversCommand,
|
|
68
70
|
GetCostForecastCommand: () => GetCostForecastCommand,
|
|
69
71
|
GetDimensionValuesCommand: () => GetDimensionValuesCommand,
|
|
70
72
|
GetReservationCoverageCommand: () => GetReservationCoverageCommand,
|
|
@@ -126,6 +128,8 @@ __export(index_exports, {
|
|
|
126
128
|
paginateGetAnomalies: () => paginateGetAnomalies,
|
|
127
129
|
paginateGetAnomalyMonitors: () => paginateGetAnomalyMonitors,
|
|
128
130
|
paginateGetAnomalySubscriptions: () => paginateGetAnomalySubscriptions,
|
|
131
|
+
paginateGetCostAndUsageComparisons: () => paginateGetCostAndUsageComparisons,
|
|
132
|
+
paginateGetCostComparisonDrivers: () => paginateGetCostComparisonDrivers,
|
|
129
133
|
paginateGetSavingsPlansCoverage: () => paginateGetSavingsPlansCoverage,
|
|
130
134
|
paginateGetSavingsPlansUtilizationDetails: () => paginateGetSavingsPlansUtilizationDetails,
|
|
131
135
|
paginateListCostAllocationTagBackfillHistory: () => paginateListCostAllocationTagBackfillHistory,
|
|
@@ -908,6 +912,12 @@ var se_GetCostAndUsageCommand = /* @__PURE__ */ __name(async (input, context) =>
|
|
|
908
912
|
body = JSON.stringify(se_GetCostAndUsageRequest(input, context));
|
|
909
913
|
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
910
914
|
}, "se_GetCostAndUsageCommand");
|
|
915
|
+
var se_GetCostAndUsageComparisonsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
916
|
+
const headers = sharedHeaders("GetCostAndUsageComparisons");
|
|
917
|
+
let body;
|
|
918
|
+
body = JSON.stringify(se_GetCostAndUsageComparisonsRequest(input, context));
|
|
919
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
920
|
+
}, "se_GetCostAndUsageComparisonsCommand");
|
|
911
921
|
var se_GetCostAndUsageWithResourcesCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
912
922
|
const headers = sharedHeaders("GetCostAndUsageWithResources");
|
|
913
923
|
let body;
|
|
@@ -920,6 +930,12 @@ var se_GetCostCategoriesCommand = /* @__PURE__ */ __name(async (input, context)
|
|
|
920
930
|
body = JSON.stringify(se_GetCostCategoriesRequest(input, context));
|
|
921
931
|
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
922
932
|
}, "se_GetCostCategoriesCommand");
|
|
933
|
+
var se_GetCostComparisonDriversCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
934
|
+
const headers = sharedHeaders("GetCostComparisonDrivers");
|
|
935
|
+
let body;
|
|
936
|
+
body = JSON.stringify(se_GetCostComparisonDriversRequest(input, context));
|
|
937
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
938
|
+
}, "se_GetCostComparisonDriversCommand");
|
|
923
939
|
var se_GetCostForecastCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
924
940
|
const headers = sharedHeaders("GetCostForecast");
|
|
925
941
|
let body;
|
|
@@ -1263,6 +1279,19 @@ var de_GetCostAndUsageCommand = /* @__PURE__ */ __name(async (output, context) =
|
|
|
1263
1279
|
};
|
|
1264
1280
|
return response;
|
|
1265
1281
|
}, "de_GetCostAndUsageCommand");
|
|
1282
|
+
var de_GetCostAndUsageComparisonsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1283
|
+
if (output.statusCode >= 300) {
|
|
1284
|
+
return de_CommandError(output, context);
|
|
1285
|
+
}
|
|
1286
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
1287
|
+
let contents = {};
|
|
1288
|
+
contents = de_GetCostAndUsageComparisonsResponse(data, context);
|
|
1289
|
+
const response = {
|
|
1290
|
+
$metadata: deserializeMetadata(output),
|
|
1291
|
+
...contents
|
|
1292
|
+
};
|
|
1293
|
+
return response;
|
|
1294
|
+
}, "de_GetCostAndUsageComparisonsCommand");
|
|
1266
1295
|
var de_GetCostAndUsageWithResourcesCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1267
1296
|
if (output.statusCode >= 300) {
|
|
1268
1297
|
return de_CommandError(output, context);
|
|
@@ -1289,6 +1318,19 @@ var de_GetCostCategoriesCommand = /* @__PURE__ */ __name(async (output, context)
|
|
|
1289
1318
|
};
|
|
1290
1319
|
return response;
|
|
1291
1320
|
}, "de_GetCostCategoriesCommand");
|
|
1321
|
+
var de_GetCostComparisonDriversCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1322
|
+
if (output.statusCode >= 300) {
|
|
1323
|
+
return de_CommandError(output, context);
|
|
1324
|
+
}
|
|
1325
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
1326
|
+
let contents = {};
|
|
1327
|
+
contents = de_GetCostComparisonDriversResponse(data, context);
|
|
1328
|
+
const response = {
|
|
1329
|
+
$metadata: deserializeMetadata(output),
|
|
1330
|
+
...contents
|
|
1331
|
+
};
|
|
1332
|
+
return response;
|
|
1333
|
+
}, "de_GetCostComparisonDriversCommand");
|
|
1292
1334
|
var de_GetCostForecastCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1293
1335
|
if (output.statusCode >= 300) {
|
|
1294
1336
|
return de_CommandError(output, context);
|
|
@@ -1941,6 +1983,18 @@ var se_GetAnomaliesRequest = /* @__PURE__ */ __name((input, context) => {
|
|
|
1941
1983
|
TotalImpact: /* @__PURE__ */ __name((_) => se_TotalImpactFilter(_, context), "TotalImpact")
|
|
1942
1984
|
});
|
|
1943
1985
|
}, "se_GetAnomaliesRequest");
|
|
1986
|
+
var se_GetCostAndUsageComparisonsRequest = /* @__PURE__ */ __name((input, context) => {
|
|
1987
|
+
return (0, import_smithy_client.take)(input, {
|
|
1988
|
+
BaselineTimePeriod: import_smithy_client._json,
|
|
1989
|
+
BillingViewArn: [],
|
|
1990
|
+
ComparisonTimePeriod: import_smithy_client._json,
|
|
1991
|
+
Filter: /* @__PURE__ */ __name((_) => se_Expression(_, context), "Filter"),
|
|
1992
|
+
GroupBy: import_smithy_client._json,
|
|
1993
|
+
MaxResults: [],
|
|
1994
|
+
MetricForComparison: [],
|
|
1995
|
+
NextPageToken: []
|
|
1996
|
+
});
|
|
1997
|
+
}, "se_GetCostAndUsageComparisonsRequest");
|
|
1944
1998
|
var se_GetCostAndUsageRequest = /* @__PURE__ */ __name((input, context) => {
|
|
1945
1999
|
return (0, import_smithy_client.take)(input, {
|
|
1946
2000
|
BillingViewArn: [],
|
|
@@ -1975,6 +2029,18 @@ var se_GetCostCategoriesRequest = /* @__PURE__ */ __name((input, context) => {
|
|
|
1975
2029
|
TimePeriod: import_smithy_client._json
|
|
1976
2030
|
});
|
|
1977
2031
|
}, "se_GetCostCategoriesRequest");
|
|
2032
|
+
var se_GetCostComparisonDriversRequest = /* @__PURE__ */ __name((input, context) => {
|
|
2033
|
+
return (0, import_smithy_client.take)(input, {
|
|
2034
|
+
BaselineTimePeriod: import_smithy_client._json,
|
|
2035
|
+
BillingViewArn: [],
|
|
2036
|
+
ComparisonTimePeriod: import_smithy_client._json,
|
|
2037
|
+
Filter: /* @__PURE__ */ __name((_) => se_Expression(_, context), "Filter"),
|
|
2038
|
+
GroupBy: import_smithy_client._json,
|
|
2039
|
+
MaxResults: [],
|
|
2040
|
+
MetricForComparison: [],
|
|
2041
|
+
NextPageToken: []
|
|
2042
|
+
});
|
|
2043
|
+
}, "se_GetCostComparisonDriversRequest");
|
|
1978
2044
|
var se_GetCostForecastRequest = /* @__PURE__ */ __name((input, context) => {
|
|
1979
2045
|
return (0, import_smithy_client.take)(input, {
|
|
1980
2046
|
BillingViewArn: [],
|
|
@@ -2251,6 +2317,18 @@ var de_CommitmentPurchaseAnalysisConfiguration = /* @__PURE__ */ __name((output,
|
|
|
2251
2317
|
SavingsPlansPurchaseAnalysisConfiguration: /* @__PURE__ */ __name((_) => de_SavingsPlansPurchaseAnalysisConfiguration(_, context), "SavingsPlansPurchaseAnalysisConfiguration")
|
|
2252
2318
|
});
|
|
2253
2319
|
}, "de_CommitmentPurchaseAnalysisConfiguration");
|
|
2320
|
+
var de_CostAndUsageComparison = /* @__PURE__ */ __name((output, context) => {
|
|
2321
|
+
return (0, import_smithy_client.take)(output, {
|
|
2322
|
+
CostAndUsageSelector: /* @__PURE__ */ __name((_) => de_Expression(_, context), "CostAndUsageSelector"),
|
|
2323
|
+
Metrics: import_smithy_client._json
|
|
2324
|
+
});
|
|
2325
|
+
}, "de_CostAndUsageComparison");
|
|
2326
|
+
var de_CostAndUsageComparisons = /* @__PURE__ */ __name((output, context) => {
|
|
2327
|
+
const retVal = (output || []).filter((e) => e != null).map((entry) => {
|
|
2328
|
+
return de_CostAndUsageComparison(entry, context);
|
|
2329
|
+
});
|
|
2330
|
+
return retVal;
|
|
2331
|
+
}, "de_CostAndUsageComparisons");
|
|
2254
2332
|
var de_CostCategory = /* @__PURE__ */ __name((output, context) => {
|
|
2255
2333
|
return (0, import_smithy_client.take)(output, {
|
|
2256
2334
|
CostCategoryArn: import_smithy_client.expectString,
|
|
@@ -2278,6 +2356,19 @@ var de_CostCategoryRulesList = /* @__PURE__ */ __name((output, context) => {
|
|
|
2278
2356
|
});
|
|
2279
2357
|
return retVal;
|
|
2280
2358
|
}, "de_CostCategoryRulesList");
|
|
2359
|
+
var de_CostComparisonDriver = /* @__PURE__ */ __name((output, context) => {
|
|
2360
|
+
return (0, import_smithy_client.take)(output, {
|
|
2361
|
+
CostDrivers: import_smithy_client._json,
|
|
2362
|
+
CostSelector: /* @__PURE__ */ __name((_) => de_Expression(_, context), "CostSelector"),
|
|
2363
|
+
Metrics: import_smithy_client._json
|
|
2364
|
+
});
|
|
2365
|
+
}, "de_CostComparisonDriver");
|
|
2366
|
+
var de_CostComparisonDrivers = /* @__PURE__ */ __name((output, context) => {
|
|
2367
|
+
const retVal = (output || []).filter((e) => e != null).map((entry) => {
|
|
2368
|
+
return de_CostComparisonDriver(entry, context);
|
|
2369
|
+
});
|
|
2370
|
+
return retVal;
|
|
2371
|
+
}, "de_CostComparisonDrivers");
|
|
2281
2372
|
var de_DescribeCostCategoryDefinitionResponse = /* @__PURE__ */ __name((output, context) => {
|
|
2282
2373
|
return (0, import_smithy_client.take)(output, {
|
|
2283
2374
|
CostCategory: /* @__PURE__ */ __name((_) => de_CostCategory(_, context), "CostCategory")
|
|
@@ -2329,6 +2420,19 @@ var de_GetCommitmentPurchaseAnalysisResponse = /* @__PURE__ */ __name((output, c
|
|
|
2329
2420
|
EstimatedCompletionTime: import_smithy_client.expectString
|
|
2330
2421
|
});
|
|
2331
2422
|
}, "de_GetCommitmentPurchaseAnalysisResponse");
|
|
2423
|
+
var de_GetCostAndUsageComparisonsResponse = /* @__PURE__ */ __name((output, context) => {
|
|
2424
|
+
return (0, import_smithy_client.take)(output, {
|
|
2425
|
+
CostAndUsageComparisons: /* @__PURE__ */ __name((_) => de_CostAndUsageComparisons(_, context), "CostAndUsageComparisons"),
|
|
2426
|
+
NextPageToken: import_smithy_client.expectString,
|
|
2427
|
+
TotalCostAndUsage: import_smithy_client._json
|
|
2428
|
+
});
|
|
2429
|
+
}, "de_GetCostAndUsageComparisonsResponse");
|
|
2430
|
+
var de_GetCostComparisonDriversResponse = /* @__PURE__ */ __name((output, context) => {
|
|
2431
|
+
return (0, import_smithy_client.take)(output, {
|
|
2432
|
+
CostComparisonDrivers: /* @__PURE__ */ __name((_) => de_CostComparisonDrivers(_, context), "CostComparisonDrivers"),
|
|
2433
|
+
NextPageToken: import_smithy_client.expectString
|
|
2434
|
+
});
|
|
2435
|
+
}, "de_GetCostComparisonDriversResponse");
|
|
2332
2436
|
var de_Impact = /* @__PURE__ */ __name((output, context) => {
|
|
2333
2437
|
return (0, import_smithy_client.take)(output, {
|
|
2334
2438
|
MaxImpact: import_smithy_client.limitedParseDouble,
|
|
@@ -2617,6 +2721,21 @@ var GetCostAndUsageCommand = class extends import_smithy_client.Command.classBui
|
|
|
2617
2721
|
}
|
|
2618
2722
|
};
|
|
2619
2723
|
|
|
2724
|
+
// src/commands/GetCostAndUsageComparisonsCommand.ts
|
|
2725
|
+
|
|
2726
|
+
|
|
2727
|
+
|
|
2728
|
+
var GetCostAndUsageComparisonsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
2729
|
+
return [
|
|
2730
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2731
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2732
|
+
];
|
|
2733
|
+
}).s("AWSInsightsIndexService", "GetCostAndUsageComparisons", {}).n("CostExplorerClient", "GetCostAndUsageComparisonsCommand").f(void 0, void 0).ser(se_GetCostAndUsageComparisonsCommand).de(de_GetCostAndUsageComparisonsCommand).build() {
|
|
2734
|
+
static {
|
|
2735
|
+
__name(this, "GetCostAndUsageComparisonsCommand");
|
|
2736
|
+
}
|
|
2737
|
+
};
|
|
2738
|
+
|
|
2620
2739
|
// src/commands/GetCostAndUsageWithResourcesCommand.ts
|
|
2621
2740
|
|
|
2622
2741
|
|
|
@@ -2647,6 +2766,21 @@ var GetCostCategoriesCommand = class extends import_smithy_client.Command.classB
|
|
|
2647
2766
|
}
|
|
2648
2767
|
};
|
|
2649
2768
|
|
|
2769
|
+
// src/commands/GetCostComparisonDriversCommand.ts
|
|
2770
|
+
|
|
2771
|
+
|
|
2772
|
+
|
|
2773
|
+
var GetCostComparisonDriversCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
2774
|
+
return [
|
|
2775
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2776
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2777
|
+
];
|
|
2778
|
+
}).s("AWSInsightsIndexService", "GetCostComparisonDrivers", {}).n("CostExplorerClient", "GetCostComparisonDriversCommand").f(void 0, void 0).ser(se_GetCostComparisonDriversCommand).de(de_GetCostComparisonDriversCommand).build() {
|
|
2779
|
+
static {
|
|
2780
|
+
__name(this, "GetCostComparisonDriversCommand");
|
|
2781
|
+
}
|
|
2782
|
+
};
|
|
2783
|
+
|
|
2650
2784
|
// src/commands/GetCostForecastCommand.ts
|
|
2651
2785
|
|
|
2652
2786
|
|
|
@@ -3097,8 +3231,10 @@ var commands = {
|
|
|
3097
3231
|
GetApproximateUsageRecordsCommand,
|
|
3098
3232
|
GetCommitmentPurchaseAnalysisCommand,
|
|
3099
3233
|
GetCostAndUsageCommand,
|
|
3234
|
+
GetCostAndUsageComparisonsCommand,
|
|
3100
3235
|
GetCostAndUsageWithResourcesCommand,
|
|
3101
3236
|
GetCostCategoriesCommand,
|
|
3237
|
+
GetCostComparisonDriversCommand,
|
|
3102
3238
|
GetCostForecastCommand,
|
|
3103
3239
|
GetDimensionValuesCommand,
|
|
3104
3240
|
GetReservationCoverageCommand,
|
|
@@ -3148,6 +3284,14 @@ var paginateGetAnomalyMonitors = (0, import_core.createPaginator)(CostExplorerCl
|
|
|
3148
3284
|
|
|
3149
3285
|
var paginateGetAnomalySubscriptions = (0, import_core.createPaginator)(CostExplorerClient, GetAnomalySubscriptionsCommand, "NextPageToken", "NextPageToken", "MaxResults");
|
|
3150
3286
|
|
|
3287
|
+
// src/pagination/GetCostAndUsageComparisonsPaginator.ts
|
|
3288
|
+
|
|
3289
|
+
var paginateGetCostAndUsageComparisons = (0, import_core.createPaginator)(CostExplorerClient, GetCostAndUsageComparisonsCommand, "NextPageToken", "NextPageToken", "MaxResults");
|
|
3290
|
+
|
|
3291
|
+
// src/pagination/GetCostComparisonDriversPaginator.ts
|
|
3292
|
+
|
|
3293
|
+
var paginateGetCostComparisonDrivers = (0, import_core.createPaginator)(CostExplorerClient, GetCostComparisonDriversCommand, "NextPageToken", "NextPageToken", "MaxResults");
|
|
3294
|
+
|
|
3151
3295
|
// src/pagination/GetSavingsPlansCoveragePaginator.ts
|
|
3152
3296
|
|
|
3153
3297
|
var paginateGetSavingsPlansCoverage = (0, import_core.createPaginator)(CostExplorerClient, GetSavingsPlansCoverageCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -3188,8 +3332,10 @@ var paginateListCostCategoryDefinitions = (0, import_core.createPaginator)(CostE
|
|
|
3188
3332
|
GetApproximateUsageRecordsCommand,
|
|
3189
3333
|
GetCommitmentPurchaseAnalysisCommand,
|
|
3190
3334
|
GetCostAndUsageCommand,
|
|
3335
|
+
GetCostAndUsageComparisonsCommand,
|
|
3191
3336
|
GetCostAndUsageWithResourcesCommand,
|
|
3192
3337
|
GetCostCategoriesCommand,
|
|
3338
|
+
GetCostComparisonDriversCommand,
|
|
3193
3339
|
GetCostForecastCommand,
|
|
3194
3340
|
GetDimensionValuesCommand,
|
|
3195
3341
|
GetReservationCoverageCommand,
|
|
@@ -3222,6 +3368,8 @@ var paginateListCostCategoryDefinitions = (0, import_core.createPaginator)(CostE
|
|
|
3222
3368
|
paginateGetAnomalies,
|
|
3223
3369
|
paginateGetAnomalyMonitors,
|
|
3224
3370
|
paginateGetAnomalySubscriptions,
|
|
3371
|
+
paginateGetCostAndUsageComparisons,
|
|
3372
|
+
paginateGetCostComparisonDrivers,
|
|
3225
3373
|
paginateGetSavingsPlansCoverage,
|
|
3226
3374
|
paginateGetSavingsPlansUtilizationDetails,
|
|
3227
3375
|
paginateListCostAllocationTagBackfillHistory,
|
|
@@ -23,7 +23,10 @@ const getRuntimeConfig = (config) => {
|
|
|
23
23
|
const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode);
|
|
24
24
|
const clientSharedValues = (0, runtimeConfig_shared_1.getRuntimeConfig)(config);
|
|
25
25
|
(0, core_1.emitWarningIfUnsupportedVersion)(process.version);
|
|
26
|
-
const loaderConfig = {
|
|
26
|
+
const loaderConfig = {
|
|
27
|
+
profile: config?.profile,
|
|
28
|
+
logger: clientSharedValues.logger,
|
|
29
|
+
};
|
|
27
30
|
return {
|
|
28
31
|
...clientSharedValues,
|
|
29
32
|
...config,
|
package/dist-es/CostExplorer.js
CHANGED
|
@@ -12,8 +12,10 @@ import { GetAnomalySubscriptionsCommand, } from "./commands/GetAnomalySubscripti
|
|
|
12
12
|
import { GetApproximateUsageRecordsCommand, } from "./commands/GetApproximateUsageRecordsCommand";
|
|
13
13
|
import { GetCommitmentPurchaseAnalysisCommand, } from "./commands/GetCommitmentPurchaseAnalysisCommand";
|
|
14
14
|
import { GetCostAndUsageCommand, } from "./commands/GetCostAndUsageCommand";
|
|
15
|
+
import { GetCostAndUsageComparisonsCommand, } from "./commands/GetCostAndUsageComparisonsCommand";
|
|
15
16
|
import { GetCostAndUsageWithResourcesCommand, } from "./commands/GetCostAndUsageWithResourcesCommand";
|
|
16
17
|
import { GetCostCategoriesCommand, } from "./commands/GetCostCategoriesCommand";
|
|
18
|
+
import { GetCostComparisonDriversCommand, } from "./commands/GetCostComparisonDriversCommand";
|
|
17
19
|
import { GetCostForecastCommand, } from "./commands/GetCostForecastCommand";
|
|
18
20
|
import { GetDimensionValuesCommand, } from "./commands/GetDimensionValuesCommand";
|
|
19
21
|
import { GetReservationCoverageCommand, } from "./commands/GetReservationCoverageCommand";
|
|
@@ -58,8 +60,10 @@ const commands = {
|
|
|
58
60
|
GetApproximateUsageRecordsCommand,
|
|
59
61
|
GetCommitmentPurchaseAnalysisCommand,
|
|
60
62
|
GetCostAndUsageCommand,
|
|
63
|
+
GetCostAndUsageComparisonsCommand,
|
|
61
64
|
GetCostAndUsageWithResourcesCommand,
|
|
62
65
|
GetCostCategoriesCommand,
|
|
66
|
+
GetCostComparisonDriversCommand,
|
|
63
67
|
GetCostForecastCommand,
|
|
64
68
|
GetDimensionValuesCommand,
|
|
65
69
|
GetReservationCoverageCommand,
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { de_GetCostAndUsageComparisonsCommand, se_GetCostAndUsageComparisonsCommand } from "../protocols/Aws_json1_1";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class GetCostAndUsageComparisonsCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep(commonParams)
|
|
10
|
+
.m(function (Command, cs, config, o) {
|
|
11
|
+
return [
|
|
12
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
+
];
|
|
15
|
+
})
|
|
16
|
+
.s("AWSInsightsIndexService", "GetCostAndUsageComparisons", {})
|
|
17
|
+
.n("CostExplorerClient", "GetCostAndUsageComparisonsCommand")
|
|
18
|
+
.f(void 0, void 0)
|
|
19
|
+
.ser(se_GetCostAndUsageComparisonsCommand)
|
|
20
|
+
.de(de_GetCostAndUsageComparisonsCommand)
|
|
21
|
+
.build() {
|
|
22
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { de_GetCostComparisonDriversCommand, se_GetCostComparisonDriversCommand } from "../protocols/Aws_json1_1";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class GetCostComparisonDriversCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep(commonParams)
|
|
10
|
+
.m(function (Command, cs, config, o) {
|
|
11
|
+
return [
|
|
12
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
+
];
|
|
15
|
+
})
|
|
16
|
+
.s("AWSInsightsIndexService", "GetCostComparisonDrivers", {})
|
|
17
|
+
.n("CostExplorerClient", "GetCostComparisonDriversCommand")
|
|
18
|
+
.f(void 0, void 0)
|
|
19
|
+
.ser(se_GetCostComparisonDriversCommand)
|
|
20
|
+
.de(de_GetCostComparisonDriversCommand)
|
|
21
|
+
.build() {
|
|
22
|
+
}
|
|
@@ -11,8 +11,10 @@ export * from "./GetAnomalySubscriptionsCommand";
|
|
|
11
11
|
export * from "./GetApproximateUsageRecordsCommand";
|
|
12
12
|
export * from "./GetCommitmentPurchaseAnalysisCommand";
|
|
13
13
|
export * from "./GetCostAndUsageCommand";
|
|
14
|
+
export * from "./GetCostAndUsageComparisonsCommand";
|
|
14
15
|
export * from "./GetCostAndUsageWithResourcesCommand";
|
|
15
16
|
export * from "./GetCostCategoriesCommand";
|
|
17
|
+
export * from "./GetCostComparisonDriversCommand";
|
|
16
18
|
export * from "./GetCostForecastCommand";
|
|
17
19
|
export * from "./GetDimensionValuesCommand";
|
|
18
20
|
export * from "./GetReservationCoverageCommand";
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
2
|
+
import { GetCostAndUsageComparisonsCommand, } from "../commands/GetCostAndUsageComparisonsCommand";
|
|
3
|
+
import { CostExplorerClient } from "../CostExplorerClient";
|
|
4
|
+
export const paginateGetCostAndUsageComparisons = createPaginator(CostExplorerClient, GetCostAndUsageComparisonsCommand, "NextPageToken", "NextPageToken", "MaxResults");
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
2
|
+
import { GetCostComparisonDriversCommand, } from "../commands/GetCostComparisonDriversCommand";
|
|
3
|
+
import { CostExplorerClient } from "../CostExplorerClient";
|
|
4
|
+
export const paginateGetCostComparisonDrivers = createPaginator(CostExplorerClient, GetCostComparisonDriversCommand, "NextPageToken", "NextPageToken", "MaxResults");
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
export * from "./GetAnomaliesPaginator";
|
|
2
2
|
export * from "./GetAnomalyMonitorsPaginator";
|
|
3
3
|
export * from "./GetAnomalySubscriptionsPaginator";
|
|
4
|
+
export * from "./GetCostAndUsageComparisonsPaginator";
|
|
5
|
+
export * from "./GetCostComparisonDriversPaginator";
|
|
4
6
|
export * from "./GetSavingsPlansCoveragePaginator";
|
|
5
7
|
export * from "./GetSavingsPlansUtilizationDetailsPaginator";
|
|
6
8
|
export * from "./Interfaces";
|
|
@@ -81,6 +81,12 @@ export const se_GetCostAndUsageCommand = async (input, context) => {
|
|
|
81
81
|
body = JSON.stringify(se_GetCostAndUsageRequest(input, context));
|
|
82
82
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
83
83
|
};
|
|
84
|
+
export const se_GetCostAndUsageComparisonsCommand = async (input, context) => {
|
|
85
|
+
const headers = sharedHeaders("GetCostAndUsageComparisons");
|
|
86
|
+
let body;
|
|
87
|
+
body = JSON.stringify(se_GetCostAndUsageComparisonsRequest(input, context));
|
|
88
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
89
|
+
};
|
|
84
90
|
export const se_GetCostAndUsageWithResourcesCommand = async (input, context) => {
|
|
85
91
|
const headers = sharedHeaders("GetCostAndUsageWithResources");
|
|
86
92
|
let body;
|
|
@@ -93,6 +99,12 @@ export const se_GetCostCategoriesCommand = async (input, context) => {
|
|
|
93
99
|
body = JSON.stringify(se_GetCostCategoriesRequest(input, context));
|
|
94
100
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
95
101
|
};
|
|
102
|
+
export const se_GetCostComparisonDriversCommand = async (input, context) => {
|
|
103
|
+
const headers = sharedHeaders("GetCostComparisonDrivers");
|
|
104
|
+
let body;
|
|
105
|
+
body = JSON.stringify(se_GetCostComparisonDriversRequest(input, context));
|
|
106
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
107
|
+
};
|
|
96
108
|
export const se_GetCostForecastCommand = async (input, context) => {
|
|
97
109
|
const headers = sharedHeaders("GetCostForecast");
|
|
98
110
|
let body;
|
|
@@ -436,6 +448,19 @@ export const de_GetCostAndUsageCommand = async (output, context) => {
|
|
|
436
448
|
};
|
|
437
449
|
return response;
|
|
438
450
|
};
|
|
451
|
+
export const de_GetCostAndUsageComparisonsCommand = async (output, context) => {
|
|
452
|
+
if (output.statusCode >= 300) {
|
|
453
|
+
return de_CommandError(output, context);
|
|
454
|
+
}
|
|
455
|
+
const data = await parseBody(output.body, context);
|
|
456
|
+
let contents = {};
|
|
457
|
+
contents = de_GetCostAndUsageComparisonsResponse(data, context);
|
|
458
|
+
const response = {
|
|
459
|
+
$metadata: deserializeMetadata(output),
|
|
460
|
+
...contents,
|
|
461
|
+
};
|
|
462
|
+
return response;
|
|
463
|
+
};
|
|
439
464
|
export const de_GetCostAndUsageWithResourcesCommand = async (output, context) => {
|
|
440
465
|
if (output.statusCode >= 300) {
|
|
441
466
|
return de_CommandError(output, context);
|
|
@@ -462,6 +487,19 @@ export const de_GetCostCategoriesCommand = async (output, context) => {
|
|
|
462
487
|
};
|
|
463
488
|
return response;
|
|
464
489
|
};
|
|
490
|
+
export const de_GetCostComparisonDriversCommand = async (output, context) => {
|
|
491
|
+
if (output.statusCode >= 300) {
|
|
492
|
+
return de_CommandError(output, context);
|
|
493
|
+
}
|
|
494
|
+
const data = await parseBody(output.body, context);
|
|
495
|
+
let contents = {};
|
|
496
|
+
contents = de_GetCostComparisonDriversResponse(data, context);
|
|
497
|
+
const response = {
|
|
498
|
+
$metadata: deserializeMetadata(output),
|
|
499
|
+
...contents,
|
|
500
|
+
};
|
|
501
|
+
return response;
|
|
502
|
+
};
|
|
465
503
|
export const de_GetCostForecastCommand = async (output, context) => {
|
|
466
504
|
if (output.statusCode >= 300) {
|
|
467
505
|
return de_CommandError(output, context);
|
|
@@ -1118,6 +1156,18 @@ const se_GetAnomaliesRequest = (input, context) => {
|
|
|
1118
1156
|
TotalImpact: (_) => se_TotalImpactFilter(_, context),
|
|
1119
1157
|
});
|
|
1120
1158
|
};
|
|
1159
|
+
const se_GetCostAndUsageComparisonsRequest = (input, context) => {
|
|
1160
|
+
return take(input, {
|
|
1161
|
+
BaselineTimePeriod: _json,
|
|
1162
|
+
BillingViewArn: [],
|
|
1163
|
+
ComparisonTimePeriod: _json,
|
|
1164
|
+
Filter: (_) => se_Expression(_, context),
|
|
1165
|
+
GroupBy: _json,
|
|
1166
|
+
MaxResults: [],
|
|
1167
|
+
MetricForComparison: [],
|
|
1168
|
+
NextPageToken: [],
|
|
1169
|
+
});
|
|
1170
|
+
};
|
|
1121
1171
|
const se_GetCostAndUsageRequest = (input, context) => {
|
|
1122
1172
|
return take(input, {
|
|
1123
1173
|
BillingViewArn: [],
|
|
@@ -1152,6 +1202,18 @@ const se_GetCostCategoriesRequest = (input, context) => {
|
|
|
1152
1202
|
TimePeriod: _json,
|
|
1153
1203
|
});
|
|
1154
1204
|
};
|
|
1205
|
+
const se_GetCostComparisonDriversRequest = (input, context) => {
|
|
1206
|
+
return take(input, {
|
|
1207
|
+
BaselineTimePeriod: _json,
|
|
1208
|
+
BillingViewArn: [],
|
|
1209
|
+
ComparisonTimePeriod: _json,
|
|
1210
|
+
Filter: (_) => se_Expression(_, context),
|
|
1211
|
+
GroupBy: _json,
|
|
1212
|
+
MaxResults: [],
|
|
1213
|
+
MetricForComparison: [],
|
|
1214
|
+
NextPageToken: [],
|
|
1215
|
+
});
|
|
1216
|
+
};
|
|
1155
1217
|
const se_GetCostForecastRequest = (input, context) => {
|
|
1156
1218
|
return take(input, {
|
|
1157
1219
|
BillingViewArn: [],
|
|
@@ -1438,6 +1500,20 @@ const de_CommitmentPurchaseAnalysisConfiguration = (output, context) => {
|
|
|
1438
1500
|
SavingsPlansPurchaseAnalysisConfiguration: (_) => de_SavingsPlansPurchaseAnalysisConfiguration(_, context),
|
|
1439
1501
|
});
|
|
1440
1502
|
};
|
|
1503
|
+
const de_CostAndUsageComparison = (output, context) => {
|
|
1504
|
+
return take(output, {
|
|
1505
|
+
CostAndUsageSelector: (_) => de_Expression(_, context),
|
|
1506
|
+
Metrics: _json,
|
|
1507
|
+
});
|
|
1508
|
+
};
|
|
1509
|
+
const de_CostAndUsageComparisons = (output, context) => {
|
|
1510
|
+
const retVal = (output || [])
|
|
1511
|
+
.filter((e) => e != null)
|
|
1512
|
+
.map((entry) => {
|
|
1513
|
+
return de_CostAndUsageComparison(entry, context);
|
|
1514
|
+
});
|
|
1515
|
+
return retVal;
|
|
1516
|
+
};
|
|
1441
1517
|
const de_CostCategory = (output, context) => {
|
|
1442
1518
|
return take(output, {
|
|
1443
1519
|
CostCategoryArn: __expectString,
|
|
@@ -1467,6 +1543,21 @@ const de_CostCategoryRulesList = (output, context) => {
|
|
|
1467
1543
|
});
|
|
1468
1544
|
return retVal;
|
|
1469
1545
|
};
|
|
1546
|
+
const de_CostComparisonDriver = (output, context) => {
|
|
1547
|
+
return take(output, {
|
|
1548
|
+
CostDrivers: _json,
|
|
1549
|
+
CostSelector: (_) => de_Expression(_, context),
|
|
1550
|
+
Metrics: _json,
|
|
1551
|
+
});
|
|
1552
|
+
};
|
|
1553
|
+
const de_CostComparisonDrivers = (output, context) => {
|
|
1554
|
+
const retVal = (output || [])
|
|
1555
|
+
.filter((e) => e != null)
|
|
1556
|
+
.map((entry) => {
|
|
1557
|
+
return de_CostComparisonDriver(entry, context);
|
|
1558
|
+
});
|
|
1559
|
+
return retVal;
|
|
1560
|
+
};
|
|
1470
1561
|
const de_DescribeCostCategoryDefinitionResponse = (output, context) => {
|
|
1471
1562
|
return take(output, {
|
|
1472
1563
|
CostCategory: (_) => de_CostCategory(_, context),
|
|
@@ -1520,6 +1611,19 @@ const de_GetCommitmentPurchaseAnalysisResponse = (output, context) => {
|
|
|
1520
1611
|
EstimatedCompletionTime: __expectString,
|
|
1521
1612
|
});
|
|
1522
1613
|
};
|
|
1614
|
+
const de_GetCostAndUsageComparisonsResponse = (output, context) => {
|
|
1615
|
+
return take(output, {
|
|
1616
|
+
CostAndUsageComparisons: (_) => de_CostAndUsageComparisons(_, context),
|
|
1617
|
+
NextPageToken: __expectString,
|
|
1618
|
+
TotalCostAndUsage: _json,
|
|
1619
|
+
});
|
|
1620
|
+
};
|
|
1621
|
+
const de_GetCostComparisonDriversResponse = (output, context) => {
|
|
1622
|
+
return take(output, {
|
|
1623
|
+
CostComparisonDrivers: (_) => de_CostComparisonDrivers(_, context),
|
|
1624
|
+
NextPageToken: __expectString,
|
|
1625
|
+
});
|
|
1626
|
+
};
|
|
1523
1627
|
const de_Impact = (output, context) => {
|
|
1524
1628
|
return take(output, {
|
|
1525
1629
|
MaxImpact: __limitedParseDouble,
|
package/dist-es/runtimeConfig.js
CHANGED
|
@@ -19,7 +19,10 @@ export const getRuntimeConfig = (config) => {
|
|
|
19
19
|
const defaultConfigProvider = () => defaultsMode().then(loadConfigsForDefaultMode);
|
|
20
20
|
const clientSharedValues = getSharedRuntimeConfig(config);
|
|
21
21
|
awsCheckVersion(process.version);
|
|
22
|
-
const loaderConfig = {
|
|
22
|
+
const loaderConfig = {
|
|
23
|
+
profile: config?.profile,
|
|
24
|
+
logger: clientSharedValues.logger,
|
|
25
|
+
};
|
|
23
26
|
return {
|
|
24
27
|
...clientSharedValues,
|
|
25
28
|
...config,
|
|
@@ -12,8 +12,10 @@ import { GetAnomalySubscriptionsCommandInput, GetAnomalySubscriptionsCommandOutp
|
|
|
12
12
|
import { GetApproximateUsageRecordsCommandInput, GetApproximateUsageRecordsCommandOutput } from "./commands/GetApproximateUsageRecordsCommand";
|
|
13
13
|
import { GetCommitmentPurchaseAnalysisCommandInput, GetCommitmentPurchaseAnalysisCommandOutput } from "./commands/GetCommitmentPurchaseAnalysisCommand";
|
|
14
14
|
import { GetCostAndUsageCommandInput, GetCostAndUsageCommandOutput } from "./commands/GetCostAndUsageCommand";
|
|
15
|
+
import { GetCostAndUsageComparisonsCommandInput, GetCostAndUsageComparisonsCommandOutput } from "./commands/GetCostAndUsageComparisonsCommand";
|
|
15
16
|
import { GetCostAndUsageWithResourcesCommandInput, GetCostAndUsageWithResourcesCommandOutput } from "./commands/GetCostAndUsageWithResourcesCommand";
|
|
16
17
|
import { GetCostCategoriesCommandInput, GetCostCategoriesCommandOutput } from "./commands/GetCostCategoriesCommand";
|
|
18
|
+
import { GetCostComparisonDriversCommandInput, GetCostComparisonDriversCommandOutput } from "./commands/GetCostComparisonDriversCommand";
|
|
17
19
|
import { GetCostForecastCommandInput, GetCostForecastCommandOutput } from "./commands/GetCostForecastCommand";
|
|
18
20
|
import { GetDimensionValuesCommandInput, GetDimensionValuesCommandOutput } from "./commands/GetDimensionValuesCommand";
|
|
19
21
|
import { GetReservationCoverageCommandInput, GetReservationCoverageCommandOutput } from "./commands/GetReservationCoverageCommand";
|
|
@@ -125,6 +127,12 @@ export interface CostExplorer {
|
|
|
125
127
|
getCostAndUsage(args: GetCostAndUsageCommandInput, options?: __HttpHandlerOptions): Promise<GetCostAndUsageCommandOutput>;
|
|
126
128
|
getCostAndUsage(args: GetCostAndUsageCommandInput, cb: (err: any, data?: GetCostAndUsageCommandOutput) => void): void;
|
|
127
129
|
getCostAndUsage(args: GetCostAndUsageCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetCostAndUsageCommandOutput) => void): void;
|
|
130
|
+
/**
|
|
131
|
+
* @see {@link GetCostAndUsageComparisonsCommand}
|
|
132
|
+
*/
|
|
133
|
+
getCostAndUsageComparisons(args: GetCostAndUsageComparisonsCommandInput, options?: __HttpHandlerOptions): Promise<GetCostAndUsageComparisonsCommandOutput>;
|
|
134
|
+
getCostAndUsageComparisons(args: GetCostAndUsageComparisonsCommandInput, cb: (err: any, data?: GetCostAndUsageComparisonsCommandOutput) => void): void;
|
|
135
|
+
getCostAndUsageComparisons(args: GetCostAndUsageComparisonsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetCostAndUsageComparisonsCommandOutput) => void): void;
|
|
128
136
|
/**
|
|
129
137
|
* @see {@link GetCostAndUsageWithResourcesCommand}
|
|
130
138
|
*/
|
|
@@ -137,6 +145,12 @@ export interface CostExplorer {
|
|
|
137
145
|
getCostCategories(args: GetCostCategoriesCommandInput, options?: __HttpHandlerOptions): Promise<GetCostCategoriesCommandOutput>;
|
|
138
146
|
getCostCategories(args: GetCostCategoriesCommandInput, cb: (err: any, data?: GetCostCategoriesCommandOutput) => void): void;
|
|
139
147
|
getCostCategories(args: GetCostCategoriesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetCostCategoriesCommandOutput) => void): void;
|
|
148
|
+
/**
|
|
149
|
+
* @see {@link GetCostComparisonDriversCommand}
|
|
150
|
+
*/
|
|
151
|
+
getCostComparisonDrivers(args: GetCostComparisonDriversCommandInput, options?: __HttpHandlerOptions): Promise<GetCostComparisonDriversCommandOutput>;
|
|
152
|
+
getCostComparisonDrivers(args: GetCostComparisonDriversCommandInput, cb: (err: any, data?: GetCostComparisonDriversCommandOutput) => void): void;
|
|
153
|
+
getCostComparisonDrivers(args: GetCostComparisonDriversCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetCostComparisonDriversCommandOutput) => void): void;
|
|
140
154
|
/**
|
|
141
155
|
* @see {@link GetCostForecastCommand}
|
|
142
156
|
*/
|