@aws-sdk/client-cost-explorer 3.974.0 → 3.978.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/dist-cjs/index.js +48 -31
- package/dist-es/CostExplorer.js +33 -1
- package/dist-types/CostExplorer.d.ts +106 -1
- package/dist-types/ts3.4/CostExplorer.d.ts +110 -1
- package/package.json +17 -17
package/dist-cjs/index.js
CHANGED
|
@@ -2863,6 +2863,36 @@ class UpdateCostCategoryDefinitionCommand extends smithyClient.Command
|
|
|
2863
2863
|
.build() {
|
|
2864
2864
|
}
|
|
2865
2865
|
|
|
2866
|
+
const paginateGetAnomalies = core.createPaginator(CostExplorerClient, GetAnomaliesCommand, "NextPageToken", "NextPageToken", "MaxResults");
|
|
2867
|
+
|
|
2868
|
+
const paginateGetAnomalyMonitors = core.createPaginator(CostExplorerClient, GetAnomalyMonitorsCommand, "NextPageToken", "NextPageToken", "MaxResults");
|
|
2869
|
+
|
|
2870
|
+
const paginateGetAnomalySubscriptions = core.createPaginator(CostExplorerClient, GetAnomalySubscriptionsCommand, "NextPageToken", "NextPageToken", "MaxResults");
|
|
2871
|
+
|
|
2872
|
+
const paginateGetCostAndUsageComparisons = core.createPaginator(CostExplorerClient, GetCostAndUsageComparisonsCommand, "NextPageToken", "NextPageToken", "MaxResults");
|
|
2873
|
+
|
|
2874
|
+
const paginateGetCostComparisonDrivers = core.createPaginator(CostExplorerClient, GetCostComparisonDriversCommand, "NextPageToken", "NextPageToken", "MaxResults");
|
|
2875
|
+
|
|
2876
|
+
const paginateGetReservationPurchaseRecommendation = core.createPaginator(CostExplorerClient, GetReservationPurchaseRecommendationCommand, "NextPageToken", "NextPageToken", "PageSize");
|
|
2877
|
+
|
|
2878
|
+
const paginateGetRightsizingRecommendation = core.createPaginator(CostExplorerClient, GetRightsizingRecommendationCommand, "NextPageToken", "NextPageToken", "PageSize");
|
|
2879
|
+
|
|
2880
|
+
const paginateGetSavingsPlansCoverage = core.createPaginator(CostExplorerClient, GetSavingsPlansCoverageCommand, "NextToken", "NextToken", "MaxResults");
|
|
2881
|
+
|
|
2882
|
+
const paginateGetSavingsPlansUtilizationDetails = core.createPaginator(CostExplorerClient, GetSavingsPlansUtilizationDetailsCommand, "NextToken", "NextToken", "MaxResults");
|
|
2883
|
+
|
|
2884
|
+
const paginateListCommitmentPurchaseAnalyses = core.createPaginator(CostExplorerClient, ListCommitmentPurchaseAnalysesCommand, "NextPageToken", "NextPageToken", "PageSize");
|
|
2885
|
+
|
|
2886
|
+
const paginateListCostAllocationTagBackfillHistory = core.createPaginator(CostExplorerClient, ListCostAllocationTagBackfillHistoryCommand, "NextToken", "NextToken", "MaxResults");
|
|
2887
|
+
|
|
2888
|
+
const paginateListCostAllocationTags = core.createPaginator(CostExplorerClient, ListCostAllocationTagsCommand, "NextToken", "NextToken", "MaxResults");
|
|
2889
|
+
|
|
2890
|
+
const paginateListCostCategoryDefinitions = core.createPaginator(CostExplorerClient, ListCostCategoryDefinitionsCommand, "NextToken", "NextToken", "MaxResults");
|
|
2891
|
+
|
|
2892
|
+
const paginateListCostCategoryResourceAssociations = core.createPaginator(CostExplorerClient, ListCostCategoryResourceAssociationsCommand, "NextToken", "NextToken", "MaxResults");
|
|
2893
|
+
|
|
2894
|
+
const paginateListSavingsPlansPurchaseRecommendationGeneration = core.createPaginator(CostExplorerClient, ListSavingsPlansPurchaseRecommendationGenerationCommand, "NextPageToken", "NextPageToken", "PageSize");
|
|
2895
|
+
|
|
2866
2896
|
const commands = {
|
|
2867
2897
|
CreateAnomalyMonitorCommand,
|
|
2868
2898
|
CreateAnomalySubscriptionCommand,
|
|
@@ -2912,39 +2942,26 @@ const commands = {
|
|
|
2912
2942
|
UpdateCostAllocationTagsStatusCommand,
|
|
2913
2943
|
UpdateCostCategoryDefinitionCommand,
|
|
2914
2944
|
};
|
|
2945
|
+
const paginators = {
|
|
2946
|
+
paginateGetAnomalies,
|
|
2947
|
+
paginateGetAnomalyMonitors,
|
|
2948
|
+
paginateGetAnomalySubscriptions,
|
|
2949
|
+
paginateGetCostAndUsageComparisons,
|
|
2950
|
+
paginateGetCostComparisonDrivers,
|
|
2951
|
+
paginateGetReservationPurchaseRecommendation,
|
|
2952
|
+
paginateGetRightsizingRecommendation,
|
|
2953
|
+
paginateGetSavingsPlansCoverage,
|
|
2954
|
+
paginateGetSavingsPlansUtilizationDetails,
|
|
2955
|
+
paginateListCommitmentPurchaseAnalyses,
|
|
2956
|
+
paginateListCostAllocationTagBackfillHistory,
|
|
2957
|
+
paginateListCostAllocationTags,
|
|
2958
|
+
paginateListCostCategoryDefinitions,
|
|
2959
|
+
paginateListCostCategoryResourceAssociations,
|
|
2960
|
+
paginateListSavingsPlansPurchaseRecommendationGeneration,
|
|
2961
|
+
};
|
|
2915
2962
|
class CostExplorer extends CostExplorerClient {
|
|
2916
2963
|
}
|
|
2917
|
-
smithyClient.createAggregatedClient(commands, CostExplorer);
|
|
2918
|
-
|
|
2919
|
-
const paginateGetAnomalies = core.createPaginator(CostExplorerClient, GetAnomaliesCommand, "NextPageToken", "NextPageToken", "MaxResults");
|
|
2920
|
-
|
|
2921
|
-
const paginateGetAnomalyMonitors = core.createPaginator(CostExplorerClient, GetAnomalyMonitorsCommand, "NextPageToken", "NextPageToken", "MaxResults");
|
|
2922
|
-
|
|
2923
|
-
const paginateGetAnomalySubscriptions = core.createPaginator(CostExplorerClient, GetAnomalySubscriptionsCommand, "NextPageToken", "NextPageToken", "MaxResults");
|
|
2924
|
-
|
|
2925
|
-
const paginateGetCostAndUsageComparisons = core.createPaginator(CostExplorerClient, GetCostAndUsageComparisonsCommand, "NextPageToken", "NextPageToken", "MaxResults");
|
|
2926
|
-
|
|
2927
|
-
const paginateGetCostComparisonDrivers = core.createPaginator(CostExplorerClient, GetCostComparisonDriversCommand, "NextPageToken", "NextPageToken", "MaxResults");
|
|
2928
|
-
|
|
2929
|
-
const paginateGetReservationPurchaseRecommendation = core.createPaginator(CostExplorerClient, GetReservationPurchaseRecommendationCommand, "NextPageToken", "NextPageToken", "PageSize");
|
|
2930
|
-
|
|
2931
|
-
const paginateGetRightsizingRecommendation = core.createPaginator(CostExplorerClient, GetRightsizingRecommendationCommand, "NextPageToken", "NextPageToken", "PageSize");
|
|
2932
|
-
|
|
2933
|
-
const paginateGetSavingsPlansCoverage = core.createPaginator(CostExplorerClient, GetSavingsPlansCoverageCommand, "NextToken", "NextToken", "MaxResults");
|
|
2934
|
-
|
|
2935
|
-
const paginateGetSavingsPlansUtilizationDetails = core.createPaginator(CostExplorerClient, GetSavingsPlansUtilizationDetailsCommand, "NextToken", "NextToken", "MaxResults");
|
|
2936
|
-
|
|
2937
|
-
const paginateListCommitmentPurchaseAnalyses = core.createPaginator(CostExplorerClient, ListCommitmentPurchaseAnalysesCommand, "NextPageToken", "NextPageToken", "PageSize");
|
|
2938
|
-
|
|
2939
|
-
const paginateListCostAllocationTagBackfillHistory = core.createPaginator(CostExplorerClient, ListCostAllocationTagBackfillHistoryCommand, "NextToken", "NextToken", "MaxResults");
|
|
2940
|
-
|
|
2941
|
-
const paginateListCostAllocationTags = core.createPaginator(CostExplorerClient, ListCostAllocationTagsCommand, "NextToken", "NextToken", "MaxResults");
|
|
2942
|
-
|
|
2943
|
-
const paginateListCostCategoryDefinitions = core.createPaginator(CostExplorerClient, ListCostCategoryDefinitionsCommand, "NextToken", "NextToken", "MaxResults");
|
|
2944
|
-
|
|
2945
|
-
const paginateListCostCategoryResourceAssociations = core.createPaginator(CostExplorerClient, ListCostCategoryResourceAssociationsCommand, "NextToken", "NextToken", "MaxResults");
|
|
2946
|
-
|
|
2947
|
-
const paginateListSavingsPlansPurchaseRecommendationGeneration = core.createPaginator(CostExplorerClient, ListSavingsPlansPurchaseRecommendationGenerationCommand, "NextPageToken", "NextPageToken", "PageSize");
|
|
2964
|
+
smithyClient.createAggregatedClient(commands, CostExplorer, { paginators });
|
|
2948
2965
|
|
|
2949
2966
|
const AccountScope = {
|
|
2950
2967
|
LINKED: "LINKED",
|
package/dist-es/CostExplorer.js
CHANGED
|
@@ -47,6 +47,21 @@ import { UpdateAnomalySubscriptionCommand, } from "./commands/UpdateAnomalySubsc
|
|
|
47
47
|
import { UpdateCostAllocationTagsStatusCommand, } from "./commands/UpdateCostAllocationTagsStatusCommand";
|
|
48
48
|
import { UpdateCostCategoryDefinitionCommand, } from "./commands/UpdateCostCategoryDefinitionCommand";
|
|
49
49
|
import { CostExplorerClient } from "./CostExplorerClient";
|
|
50
|
+
import { paginateGetAnomalies } from "./pagination/GetAnomaliesPaginator";
|
|
51
|
+
import { paginateGetAnomalyMonitors } from "./pagination/GetAnomalyMonitorsPaginator";
|
|
52
|
+
import { paginateGetAnomalySubscriptions } from "./pagination/GetAnomalySubscriptionsPaginator";
|
|
53
|
+
import { paginateGetCostAndUsageComparisons } from "./pagination/GetCostAndUsageComparisonsPaginator";
|
|
54
|
+
import { paginateGetCostComparisonDrivers } from "./pagination/GetCostComparisonDriversPaginator";
|
|
55
|
+
import { paginateGetReservationPurchaseRecommendation, } from "./pagination/GetReservationPurchaseRecommendationPaginator";
|
|
56
|
+
import { paginateGetRightsizingRecommendation } from "./pagination/GetRightsizingRecommendationPaginator";
|
|
57
|
+
import { paginateGetSavingsPlansCoverage } from "./pagination/GetSavingsPlansCoveragePaginator";
|
|
58
|
+
import { paginateGetSavingsPlansUtilizationDetails } from "./pagination/GetSavingsPlansUtilizationDetailsPaginator";
|
|
59
|
+
import { paginateListCommitmentPurchaseAnalyses } from "./pagination/ListCommitmentPurchaseAnalysesPaginator";
|
|
60
|
+
import { paginateListCostAllocationTagBackfillHistory, } from "./pagination/ListCostAllocationTagBackfillHistoryPaginator";
|
|
61
|
+
import { paginateListCostAllocationTags } from "./pagination/ListCostAllocationTagsPaginator";
|
|
62
|
+
import { paginateListCostCategoryDefinitions } from "./pagination/ListCostCategoryDefinitionsPaginator";
|
|
63
|
+
import { paginateListCostCategoryResourceAssociations, } from "./pagination/ListCostCategoryResourceAssociationsPaginator";
|
|
64
|
+
import { paginateListSavingsPlansPurchaseRecommendationGeneration, } from "./pagination/ListSavingsPlansPurchaseRecommendationGenerationPaginator";
|
|
50
65
|
const commands = {
|
|
51
66
|
CreateAnomalyMonitorCommand,
|
|
52
67
|
CreateAnomalySubscriptionCommand,
|
|
@@ -96,6 +111,23 @@ const commands = {
|
|
|
96
111
|
UpdateCostAllocationTagsStatusCommand,
|
|
97
112
|
UpdateCostCategoryDefinitionCommand,
|
|
98
113
|
};
|
|
114
|
+
const paginators = {
|
|
115
|
+
paginateGetAnomalies,
|
|
116
|
+
paginateGetAnomalyMonitors,
|
|
117
|
+
paginateGetAnomalySubscriptions,
|
|
118
|
+
paginateGetCostAndUsageComparisons,
|
|
119
|
+
paginateGetCostComparisonDrivers,
|
|
120
|
+
paginateGetReservationPurchaseRecommendation,
|
|
121
|
+
paginateGetRightsizingRecommendation,
|
|
122
|
+
paginateGetSavingsPlansCoverage,
|
|
123
|
+
paginateGetSavingsPlansUtilizationDetails,
|
|
124
|
+
paginateListCommitmentPurchaseAnalyses,
|
|
125
|
+
paginateListCostAllocationTagBackfillHistory,
|
|
126
|
+
paginateListCostAllocationTags,
|
|
127
|
+
paginateListCostCategoryDefinitions,
|
|
128
|
+
paginateListCostCategoryResourceAssociations,
|
|
129
|
+
paginateListSavingsPlansPurchaseRecommendationGeneration,
|
|
130
|
+
};
|
|
99
131
|
export class CostExplorer extends CostExplorerClient {
|
|
100
132
|
}
|
|
101
|
-
createAggregatedClient(commands, CostExplorer);
|
|
133
|
+
createAggregatedClient(commands, CostExplorer, { paginators });
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
|
|
1
|
+
import type { HttpHandlerOptions as __HttpHandlerOptions, PaginationConfiguration, Paginator } from "@smithy/types";
|
|
2
2
|
import { CreateAnomalyMonitorCommandInput, CreateAnomalyMonitorCommandOutput } from "./commands/CreateAnomalyMonitorCommand";
|
|
3
3
|
import { CreateAnomalySubscriptionCommandInput, CreateAnomalySubscriptionCommandOutput } from "./commands/CreateAnomalySubscriptionCommand";
|
|
4
4
|
import { CreateCostCategoryDefinitionCommandInput, CreateCostCategoryDefinitionCommandOutput } from "./commands/CreateCostCategoryDefinitionCommand";
|
|
@@ -339,6 +339,111 @@ export interface CostExplorer {
|
|
|
339
339
|
updateCostCategoryDefinition(args: UpdateCostCategoryDefinitionCommandInput, options?: __HttpHandlerOptions): Promise<UpdateCostCategoryDefinitionCommandOutput>;
|
|
340
340
|
updateCostCategoryDefinition(args: UpdateCostCategoryDefinitionCommandInput, cb: (err: any, data?: UpdateCostCategoryDefinitionCommandOutput) => void): void;
|
|
341
341
|
updateCostCategoryDefinition(args: UpdateCostCategoryDefinitionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateCostCategoryDefinitionCommandOutput) => void): void;
|
|
342
|
+
/**
|
|
343
|
+
* @see {@link GetAnomaliesCommand}
|
|
344
|
+
* @param args - command input.
|
|
345
|
+
* @param paginationConfig - optional pagination config.
|
|
346
|
+
* @returns AsyncIterable of {@link GetAnomaliesCommandOutput}.
|
|
347
|
+
*/
|
|
348
|
+
paginateGetAnomalies(args: GetAnomaliesCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<GetAnomaliesCommandOutput>;
|
|
349
|
+
/**
|
|
350
|
+
* @see {@link GetAnomalyMonitorsCommand}
|
|
351
|
+
* @param args - command input.
|
|
352
|
+
* @param paginationConfig - optional pagination config.
|
|
353
|
+
* @returns AsyncIterable of {@link GetAnomalyMonitorsCommandOutput}.
|
|
354
|
+
*/
|
|
355
|
+
paginateGetAnomalyMonitors(args?: GetAnomalyMonitorsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<GetAnomalyMonitorsCommandOutput>;
|
|
356
|
+
/**
|
|
357
|
+
* @see {@link GetAnomalySubscriptionsCommand}
|
|
358
|
+
* @param args - command input.
|
|
359
|
+
* @param paginationConfig - optional pagination config.
|
|
360
|
+
* @returns AsyncIterable of {@link GetAnomalySubscriptionsCommandOutput}.
|
|
361
|
+
*/
|
|
362
|
+
paginateGetAnomalySubscriptions(args?: GetAnomalySubscriptionsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<GetAnomalySubscriptionsCommandOutput>;
|
|
363
|
+
/**
|
|
364
|
+
* @see {@link GetCostAndUsageComparisonsCommand}
|
|
365
|
+
* @param args - command input.
|
|
366
|
+
* @param paginationConfig - optional pagination config.
|
|
367
|
+
* @returns AsyncIterable of {@link GetCostAndUsageComparisonsCommandOutput}.
|
|
368
|
+
*/
|
|
369
|
+
paginateGetCostAndUsageComparisons(args: GetCostAndUsageComparisonsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<GetCostAndUsageComparisonsCommandOutput>;
|
|
370
|
+
/**
|
|
371
|
+
* @see {@link GetCostComparisonDriversCommand}
|
|
372
|
+
* @param args - command input.
|
|
373
|
+
* @param paginationConfig - optional pagination config.
|
|
374
|
+
* @returns AsyncIterable of {@link GetCostComparisonDriversCommandOutput}.
|
|
375
|
+
*/
|
|
376
|
+
paginateGetCostComparisonDrivers(args: GetCostComparisonDriversCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<GetCostComparisonDriversCommandOutput>;
|
|
377
|
+
/**
|
|
378
|
+
* @see {@link GetReservationPurchaseRecommendationCommand}
|
|
379
|
+
* @param args - command input.
|
|
380
|
+
* @param paginationConfig - optional pagination config.
|
|
381
|
+
* @returns AsyncIterable of {@link GetReservationPurchaseRecommendationCommandOutput}.
|
|
382
|
+
*/
|
|
383
|
+
paginateGetReservationPurchaseRecommendation(args: GetReservationPurchaseRecommendationCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<GetReservationPurchaseRecommendationCommandOutput>;
|
|
384
|
+
/**
|
|
385
|
+
* @see {@link GetRightsizingRecommendationCommand}
|
|
386
|
+
* @param args - command input.
|
|
387
|
+
* @param paginationConfig - optional pagination config.
|
|
388
|
+
* @returns AsyncIterable of {@link GetRightsizingRecommendationCommandOutput}.
|
|
389
|
+
*/
|
|
390
|
+
paginateGetRightsizingRecommendation(args: GetRightsizingRecommendationCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<GetRightsizingRecommendationCommandOutput>;
|
|
391
|
+
/**
|
|
392
|
+
* @see {@link GetSavingsPlansCoverageCommand}
|
|
393
|
+
* @param args - command input.
|
|
394
|
+
* @param paginationConfig - optional pagination config.
|
|
395
|
+
* @returns AsyncIterable of {@link GetSavingsPlansCoverageCommandOutput}.
|
|
396
|
+
*/
|
|
397
|
+
paginateGetSavingsPlansCoverage(args: GetSavingsPlansCoverageCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<GetSavingsPlansCoverageCommandOutput>;
|
|
398
|
+
/**
|
|
399
|
+
* @see {@link GetSavingsPlansUtilizationDetailsCommand}
|
|
400
|
+
* @param args - command input.
|
|
401
|
+
* @param paginationConfig - optional pagination config.
|
|
402
|
+
* @returns AsyncIterable of {@link GetSavingsPlansUtilizationDetailsCommandOutput}.
|
|
403
|
+
*/
|
|
404
|
+
paginateGetSavingsPlansUtilizationDetails(args: GetSavingsPlansUtilizationDetailsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<GetSavingsPlansUtilizationDetailsCommandOutput>;
|
|
405
|
+
/**
|
|
406
|
+
* @see {@link ListCommitmentPurchaseAnalysesCommand}
|
|
407
|
+
* @param args - command input.
|
|
408
|
+
* @param paginationConfig - optional pagination config.
|
|
409
|
+
* @returns AsyncIterable of {@link ListCommitmentPurchaseAnalysesCommandOutput}.
|
|
410
|
+
*/
|
|
411
|
+
paginateListCommitmentPurchaseAnalyses(args?: ListCommitmentPurchaseAnalysesCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListCommitmentPurchaseAnalysesCommandOutput>;
|
|
412
|
+
/**
|
|
413
|
+
* @see {@link ListCostAllocationTagBackfillHistoryCommand}
|
|
414
|
+
* @param args - command input.
|
|
415
|
+
* @param paginationConfig - optional pagination config.
|
|
416
|
+
* @returns AsyncIterable of {@link ListCostAllocationTagBackfillHistoryCommandOutput}.
|
|
417
|
+
*/
|
|
418
|
+
paginateListCostAllocationTagBackfillHistory(args?: ListCostAllocationTagBackfillHistoryCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListCostAllocationTagBackfillHistoryCommandOutput>;
|
|
419
|
+
/**
|
|
420
|
+
* @see {@link ListCostAllocationTagsCommand}
|
|
421
|
+
* @param args - command input.
|
|
422
|
+
* @param paginationConfig - optional pagination config.
|
|
423
|
+
* @returns AsyncIterable of {@link ListCostAllocationTagsCommandOutput}.
|
|
424
|
+
*/
|
|
425
|
+
paginateListCostAllocationTags(args?: ListCostAllocationTagsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListCostAllocationTagsCommandOutput>;
|
|
426
|
+
/**
|
|
427
|
+
* @see {@link ListCostCategoryDefinitionsCommand}
|
|
428
|
+
* @param args - command input.
|
|
429
|
+
* @param paginationConfig - optional pagination config.
|
|
430
|
+
* @returns AsyncIterable of {@link ListCostCategoryDefinitionsCommandOutput}.
|
|
431
|
+
*/
|
|
432
|
+
paginateListCostCategoryDefinitions(args?: ListCostCategoryDefinitionsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListCostCategoryDefinitionsCommandOutput>;
|
|
433
|
+
/**
|
|
434
|
+
* @see {@link ListCostCategoryResourceAssociationsCommand}
|
|
435
|
+
* @param args - command input.
|
|
436
|
+
* @param paginationConfig - optional pagination config.
|
|
437
|
+
* @returns AsyncIterable of {@link ListCostCategoryResourceAssociationsCommandOutput}.
|
|
438
|
+
*/
|
|
439
|
+
paginateListCostCategoryResourceAssociations(args?: ListCostCategoryResourceAssociationsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListCostCategoryResourceAssociationsCommandOutput>;
|
|
440
|
+
/**
|
|
441
|
+
* @see {@link ListSavingsPlansPurchaseRecommendationGenerationCommand}
|
|
442
|
+
* @param args - command input.
|
|
443
|
+
* @param paginationConfig - optional pagination config.
|
|
444
|
+
* @returns AsyncIterable of {@link ListSavingsPlansPurchaseRecommendationGenerationCommandOutput}.
|
|
445
|
+
*/
|
|
446
|
+
paginateListSavingsPlansPurchaseRecommendationGeneration(args?: ListSavingsPlansPurchaseRecommendationGenerationCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListSavingsPlansPurchaseRecommendationGenerationCommandOutput>;
|
|
342
447
|
}
|
|
343
448
|
/**
|
|
344
449
|
* <p>You can use the Cost Explorer API to programmatically query your cost and usage data.
|
|
@@ -1,4 +1,8 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import {
|
|
2
|
+
HttpHandlerOptions as __HttpHandlerOptions,
|
|
3
|
+
PaginationConfiguration,
|
|
4
|
+
Paginator,
|
|
5
|
+
} from "@smithy/types";
|
|
2
6
|
import {
|
|
3
7
|
CreateAnomalyMonitorCommandInput,
|
|
4
8
|
CreateAnomalyMonitorCommandOutput,
|
|
@@ -857,6 +861,111 @@ export interface CostExplorer {
|
|
|
857
861
|
options: __HttpHandlerOptions,
|
|
858
862
|
cb: (err: any, data?: UpdateCostCategoryDefinitionCommandOutput) => void
|
|
859
863
|
): void;
|
|
864
|
+
paginateGetAnomalies(
|
|
865
|
+
args: GetAnomaliesCommandInput,
|
|
866
|
+
paginationConfig?: Pick<
|
|
867
|
+
PaginationConfiguration,
|
|
868
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
869
|
+
>
|
|
870
|
+
): Paginator<GetAnomaliesCommandOutput>;
|
|
871
|
+
paginateGetAnomalyMonitors(
|
|
872
|
+
args?: GetAnomalyMonitorsCommandInput,
|
|
873
|
+
paginationConfig?: Pick<
|
|
874
|
+
PaginationConfiguration,
|
|
875
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
876
|
+
>
|
|
877
|
+
): Paginator<GetAnomalyMonitorsCommandOutput>;
|
|
878
|
+
paginateGetAnomalySubscriptions(
|
|
879
|
+
args?: GetAnomalySubscriptionsCommandInput,
|
|
880
|
+
paginationConfig?: Pick<
|
|
881
|
+
PaginationConfiguration,
|
|
882
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
883
|
+
>
|
|
884
|
+
): Paginator<GetAnomalySubscriptionsCommandOutput>;
|
|
885
|
+
paginateGetCostAndUsageComparisons(
|
|
886
|
+
args: GetCostAndUsageComparisonsCommandInput,
|
|
887
|
+
paginationConfig?: Pick<
|
|
888
|
+
PaginationConfiguration,
|
|
889
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
890
|
+
>
|
|
891
|
+
): Paginator<GetCostAndUsageComparisonsCommandOutput>;
|
|
892
|
+
paginateGetCostComparisonDrivers(
|
|
893
|
+
args: GetCostComparisonDriversCommandInput,
|
|
894
|
+
paginationConfig?: Pick<
|
|
895
|
+
PaginationConfiguration,
|
|
896
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
897
|
+
>
|
|
898
|
+
): Paginator<GetCostComparisonDriversCommandOutput>;
|
|
899
|
+
paginateGetReservationPurchaseRecommendation(
|
|
900
|
+
args: GetReservationPurchaseRecommendationCommandInput,
|
|
901
|
+
paginationConfig?: Pick<
|
|
902
|
+
PaginationConfiguration,
|
|
903
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
904
|
+
>
|
|
905
|
+
): Paginator<GetReservationPurchaseRecommendationCommandOutput>;
|
|
906
|
+
paginateGetRightsizingRecommendation(
|
|
907
|
+
args: GetRightsizingRecommendationCommandInput,
|
|
908
|
+
paginationConfig?: Pick<
|
|
909
|
+
PaginationConfiguration,
|
|
910
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
911
|
+
>
|
|
912
|
+
): Paginator<GetRightsizingRecommendationCommandOutput>;
|
|
913
|
+
paginateGetSavingsPlansCoverage(
|
|
914
|
+
args: GetSavingsPlansCoverageCommandInput,
|
|
915
|
+
paginationConfig?: Pick<
|
|
916
|
+
PaginationConfiguration,
|
|
917
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
918
|
+
>
|
|
919
|
+
): Paginator<GetSavingsPlansCoverageCommandOutput>;
|
|
920
|
+
paginateGetSavingsPlansUtilizationDetails(
|
|
921
|
+
args: GetSavingsPlansUtilizationDetailsCommandInput,
|
|
922
|
+
paginationConfig?: Pick<
|
|
923
|
+
PaginationConfiguration,
|
|
924
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
925
|
+
>
|
|
926
|
+
): Paginator<GetSavingsPlansUtilizationDetailsCommandOutput>;
|
|
927
|
+
paginateListCommitmentPurchaseAnalyses(
|
|
928
|
+
args?: ListCommitmentPurchaseAnalysesCommandInput,
|
|
929
|
+
paginationConfig?: Pick<
|
|
930
|
+
PaginationConfiguration,
|
|
931
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
932
|
+
>
|
|
933
|
+
): Paginator<ListCommitmentPurchaseAnalysesCommandOutput>;
|
|
934
|
+
paginateListCostAllocationTagBackfillHistory(
|
|
935
|
+
args?: ListCostAllocationTagBackfillHistoryCommandInput,
|
|
936
|
+
paginationConfig?: Pick<
|
|
937
|
+
PaginationConfiguration,
|
|
938
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
939
|
+
>
|
|
940
|
+
): Paginator<ListCostAllocationTagBackfillHistoryCommandOutput>;
|
|
941
|
+
paginateListCostAllocationTags(
|
|
942
|
+
args?: ListCostAllocationTagsCommandInput,
|
|
943
|
+
paginationConfig?: Pick<
|
|
944
|
+
PaginationConfiguration,
|
|
945
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
946
|
+
>
|
|
947
|
+
): Paginator<ListCostAllocationTagsCommandOutput>;
|
|
948
|
+
paginateListCostCategoryDefinitions(
|
|
949
|
+
args?: ListCostCategoryDefinitionsCommandInput,
|
|
950
|
+
paginationConfig?: Pick<
|
|
951
|
+
PaginationConfiguration,
|
|
952
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
953
|
+
>
|
|
954
|
+
): Paginator<ListCostCategoryDefinitionsCommandOutput>;
|
|
955
|
+
paginateListCostCategoryResourceAssociations(
|
|
956
|
+
args?: ListCostCategoryResourceAssociationsCommandInput,
|
|
957
|
+
paginationConfig?: Pick<
|
|
958
|
+
PaginationConfiguration,
|
|
959
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
960
|
+
>
|
|
961
|
+
): Paginator<ListCostCategoryResourceAssociationsCommandOutput>;
|
|
962
|
+
paginateListSavingsPlansPurchaseRecommendationGeneration(
|
|
963
|
+
args?: ListSavingsPlansPurchaseRecommendationGenerationCommandInput,
|
|
964
|
+
paginationConfig?: Pick<
|
|
965
|
+
PaginationConfiguration,
|
|
966
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
967
|
+
>
|
|
968
|
+
): Paginator<ListSavingsPlansPurchaseRecommendationGenerationCommandOutput>;
|
|
860
969
|
}
|
|
861
970
|
export declare class CostExplorer
|
|
862
971
|
extends CostExplorerClient
|
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.978.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-cost-explorer",
|
|
@@ -21,38 +21,38 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
24
|
-
"@aws-sdk/core": "^3.973.
|
|
25
|
-
"@aws-sdk/credential-provider-node": "^3.972.
|
|
26
|
-
"@aws-sdk/middleware-host-header": "^3.972.
|
|
27
|
-
"@aws-sdk/middleware-logger": "^3.972.
|
|
28
|
-
"@aws-sdk/middleware-recursion-detection": "^3.972.
|
|
29
|
-
"@aws-sdk/middleware-user-agent": "^3.972.
|
|
30
|
-
"@aws-sdk/region-config-resolver": "^3.972.
|
|
31
|
-
"@aws-sdk/types": "^3.973.
|
|
24
|
+
"@aws-sdk/core": "^3.973.4",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "^3.972.2",
|
|
26
|
+
"@aws-sdk/middleware-host-header": "^3.972.2",
|
|
27
|
+
"@aws-sdk/middleware-logger": "^3.972.2",
|
|
28
|
+
"@aws-sdk/middleware-recursion-detection": "^3.972.2",
|
|
29
|
+
"@aws-sdk/middleware-user-agent": "^3.972.4",
|
|
30
|
+
"@aws-sdk/region-config-resolver": "^3.972.2",
|
|
31
|
+
"@aws-sdk/types": "^3.973.1",
|
|
32
32
|
"@aws-sdk/util-endpoints": "3.972.0",
|
|
33
|
-
"@aws-sdk/util-user-agent-browser": "^3.972.
|
|
34
|
-
"@aws-sdk/util-user-agent-node": "^3.972.
|
|
33
|
+
"@aws-sdk/util-user-agent-browser": "^3.972.2",
|
|
34
|
+
"@aws-sdk/util-user-agent-node": "^3.972.2",
|
|
35
35
|
"@smithy/config-resolver": "^4.4.6",
|
|
36
|
-
"@smithy/core": "^3.
|
|
36
|
+
"@smithy/core": "^3.22.0",
|
|
37
37
|
"@smithy/fetch-http-handler": "^5.3.9",
|
|
38
38
|
"@smithy/hash-node": "^4.2.8",
|
|
39
39
|
"@smithy/invalid-dependency": "^4.2.8",
|
|
40
40
|
"@smithy/middleware-content-length": "^4.2.8",
|
|
41
|
-
"@smithy/middleware-endpoint": "^4.4.
|
|
42
|
-
"@smithy/middleware-retry": "^4.4.
|
|
41
|
+
"@smithy/middleware-endpoint": "^4.4.12",
|
|
42
|
+
"@smithy/middleware-retry": "^4.4.29",
|
|
43
43
|
"@smithy/middleware-serde": "^4.2.9",
|
|
44
44
|
"@smithy/middleware-stack": "^4.2.8",
|
|
45
45
|
"@smithy/node-config-provider": "^4.3.8",
|
|
46
46
|
"@smithy/node-http-handler": "^4.4.8",
|
|
47
47
|
"@smithy/protocol-http": "^5.3.8",
|
|
48
|
-
"@smithy/smithy-client": "^4.
|
|
48
|
+
"@smithy/smithy-client": "^4.11.1",
|
|
49
49
|
"@smithy/types": "^4.12.0",
|
|
50
50
|
"@smithy/url-parser": "^4.2.8",
|
|
51
51
|
"@smithy/util-base64": "^4.3.0",
|
|
52
52
|
"@smithy/util-body-length-browser": "^4.2.0",
|
|
53
53
|
"@smithy/util-body-length-node": "^4.2.1",
|
|
54
|
-
"@smithy/util-defaults-mode-browser": "^4.3.
|
|
55
|
-
"@smithy/util-defaults-mode-node": "^4.2.
|
|
54
|
+
"@smithy/util-defaults-mode-browser": "^4.3.28",
|
|
55
|
+
"@smithy/util-defaults-mode-node": "^4.2.31",
|
|
56
56
|
"@smithy/util-endpoints": "^3.2.8",
|
|
57
57
|
"@smithy/util-middleware": "^4.2.8",
|
|
58
58
|
"@smithy/util-retry": "^4.2.8",
|