@aws-sdk/client-cost-explorer 3.34.0 → 3.37.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/CHANGELOG.md +47 -0
- package/{dist/cjs → dist-cjs}/CostExplorer.js +1 -20
- package/dist-cjs/CostExplorerClient.js +35 -0
- package/{dist/cjs → dist-cjs}/commands/CreateAnomalyMonitorCommand.js +2 -28
- package/{dist/cjs → dist-cjs}/commands/CreateAnomalySubscriptionCommand.js +2 -29
- package/{dist/cjs → dist-cjs}/commands/CreateCostCategoryDefinitionCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/DeleteAnomalyMonitorCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/DeleteAnomalySubscriptionCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/DeleteCostCategoryDefinitionCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/DescribeCostCategoryDefinitionCommand.js +2 -28
- package/{dist/cjs → dist-cjs}/commands/GetAnomaliesCommand.js +2 -28
- package/{dist/cjs → dist-cjs}/commands/GetAnomalyMonitorsCommand.js +2 -28
- package/{dist/cjs → dist-cjs}/commands/GetAnomalySubscriptionsCommand.js +2 -28
- package/dist-cjs/commands/GetCostAndUsageCommand.js +36 -0
- package/dist-cjs/commands/GetCostAndUsageWithResourcesCommand.js +36 -0
- package/{dist/cjs → dist-cjs}/commands/GetCostCategoriesCommand.js +2 -30
- package/{dist/cjs → dist-cjs}/commands/GetCostForecastCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/GetDimensionValuesCommand.js +2 -27
- package/dist-cjs/commands/GetReservationCoverageCommand.js +36 -0
- package/dist-cjs/commands/GetReservationPurchaseRecommendationCommand.js +36 -0
- package/{dist/cjs → dist-cjs}/commands/GetReservationUtilizationCommand.js +2 -29
- package/{dist/cjs → dist-cjs}/commands/GetRightsizingRecommendationCommand.js +2 -36
- package/dist-cjs/commands/GetSavingsPlansCoverageCommand.js +36 -0
- package/{dist/cjs → dist-cjs}/commands/GetSavingsPlansPurchaseRecommendationCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/GetSavingsPlansUtilizationCommand.js +2 -30
- package/{dist/cjs → dist-cjs}/commands/GetSavingsPlansUtilizationDetailsCommand.js +2 -31
- package/{dist/cjs → dist-cjs}/commands/GetTagsCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/GetUsageForecastCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/ListCostCategoryDefinitionsCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/ProvideAnomalyFeedbackCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/UpdateAnomalyMonitorCommand.js +2 -28
- package/{dist/cjs → dist-cjs}/commands/UpdateAnomalySubscriptionCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/UpdateCostCategoryDefinitionCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/endpoints.js +1 -2
- package/{dist/cjs → dist-cjs}/index.js +0 -1
- package/{dist/cjs → dist-cjs}/models/index.js +0 -1
- package/{dist/cjs → dist-cjs}/models/models_0.js +0 -442
- package/{dist/cjs → dist-cjs}/pagination/GetSavingsPlansCoveragePaginator.js +1 -12
- package/{dist/cjs → dist-cjs}/pagination/GetSavingsPlansUtilizationDetailsPaginator.js +1 -12
- package/{dist/cjs → dist-cjs}/pagination/Interfaces.js +0 -1
- package/{dist/cjs → dist-cjs}/pagination/ListCostCategoryDefinitionsPaginator.js +1 -12
- package/{dist/cjs → dist-cjs}/protocols/Aws_json1_1.js +0 -6
- package/{dist/cjs → dist-cjs}/runtimeConfig.browser.js +1 -5
- package/{dist/cjs → dist-cjs}/runtimeConfig.js +1 -5
- package/{dist/cjs → dist-cjs}/runtimeConfig.native.js +0 -4
- package/{dist/cjs → dist-cjs}/runtimeConfig.shared.js +1 -5
- package/{dist/es → dist-es}/CostExplorer.js +1 -2
- package/{dist/es → dist-es}/CostExplorerClient.js +1 -2
- package/{dist/es → dist-es}/commands/CreateAnomalyMonitorCommand.js +2 -3
- package/{dist/es → dist-es}/commands/CreateAnomalySubscriptionCommand.js +2 -3
- package/{dist/es → dist-es}/commands/CreateCostCategoryDefinitionCommand.js +2 -3
- package/{dist/es → dist-es}/commands/DeleteAnomalyMonitorCommand.js +2 -3
- package/{dist/es → dist-es}/commands/DeleteAnomalySubscriptionCommand.js +2 -3
- package/{dist/es → dist-es}/commands/DeleteCostCategoryDefinitionCommand.js +2 -3
- package/{dist/es → dist-es}/commands/DescribeCostCategoryDefinitionCommand.js +2 -3
- package/{dist/es → dist-es}/commands/GetAnomaliesCommand.js +2 -3
- package/{dist/es → dist-es}/commands/GetAnomalyMonitorsCommand.js +2 -3
- package/{dist/es → dist-es}/commands/GetAnomalySubscriptionsCommand.js +2 -3
- package/{dist/es → dist-es}/commands/GetCostAndUsageCommand.js +2 -3
- package/{dist/es → dist-es}/commands/GetCostAndUsageWithResourcesCommand.js +2 -3
- package/{dist/es → dist-es}/commands/GetCostCategoriesCommand.js +2 -3
- package/{dist/es → dist-es}/commands/GetCostForecastCommand.js +2 -3
- package/{dist/es → dist-es}/commands/GetDimensionValuesCommand.js +2 -3
- package/{dist/es → dist-es}/commands/GetReservationCoverageCommand.js +2 -3
- package/{dist/es → dist-es}/commands/GetReservationPurchaseRecommendationCommand.js +2 -3
- package/{dist/es → dist-es}/commands/GetReservationUtilizationCommand.js +2 -3
- package/{dist/es → dist-es}/commands/GetRightsizingRecommendationCommand.js +2 -3
- package/{dist/es → dist-es}/commands/GetSavingsPlansCoverageCommand.js +2 -3
- package/{dist/es → dist-es}/commands/GetSavingsPlansPurchaseRecommendationCommand.js +2 -3
- package/{dist/es → dist-es}/commands/GetSavingsPlansUtilizationCommand.js +2 -3
- package/{dist/es → dist-es}/commands/GetSavingsPlansUtilizationDetailsCommand.js +2 -3
- package/{dist/es → dist-es}/commands/GetTagsCommand.js +2 -3
- package/{dist/es → dist-es}/commands/GetUsageForecastCommand.js +2 -3
- package/{dist/es → dist-es}/commands/ListCostCategoryDefinitionsCommand.js +2 -3
- package/{dist/es → dist-es}/commands/ProvideAnomalyFeedbackCommand.js +2 -3
- package/{dist/es → dist-es}/commands/UpdateAnomalyMonitorCommand.js +2 -3
- package/{dist/es → dist-es}/commands/UpdateAnomalySubscriptionCommand.js +2 -3
- package/{dist/es → dist-es}/commands/UpdateCostCategoryDefinitionCommand.js +2 -3
- package/{dist/es → dist-es}/endpoints.js +1 -2
- package/{dist/types/index.d.ts → dist-es/index.js} +0 -0
- package/{dist/types/models/index.d.ts → dist-es/models/index.js} +0 -0
- package/{dist/es → dist-es}/models/models_0.js +0 -1
- package/{dist/es → dist-es}/pagination/GetSavingsPlansCoveragePaginator.js +1 -2
- package/{dist/es → dist-es}/pagination/GetSavingsPlansUtilizationDetailsPaginator.js +1 -2
- package/dist-es/pagination/Interfaces.js +1 -0
- package/{dist/es → dist-es}/pagination/ListCostCategoryDefinitionsPaginator.js +1 -2
- package/{dist/es → dist-es}/protocols/Aws_json1_1.js +0 -1
- package/{dist/es → dist-es}/runtimeConfig.browser.js +1 -2
- package/{dist/es → dist-es}/runtimeConfig.js +1 -2
- package/{dist/es → dist-es}/runtimeConfig.native.js +0 -1
- package/{dist/es → dist-es}/runtimeConfig.shared.js +1 -2
- package/{dist/types → dist-types}/CostExplorer.d.ts +2 -2
- package/{dist/types → dist-types}/CostExplorerClient.d.ts +8 -8
- package/{dist/types → dist-types}/commands/CreateAnomalyMonitorCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/CreateAnomalySubscriptionCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/CreateCostCategoryDefinitionCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/DeleteAnomalyMonitorCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/DeleteAnomalySubscriptionCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/DeleteCostCategoryDefinitionCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/DescribeCostCategoryDefinitionCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/GetAnomaliesCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/GetAnomalyMonitorsCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/GetAnomalySubscriptionsCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/GetCostAndUsageCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/GetCostAndUsageWithResourcesCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/GetCostCategoriesCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/GetCostForecastCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/GetDimensionValuesCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/GetReservationCoverageCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/GetReservationPurchaseRecommendationCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/GetReservationUtilizationCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/GetRightsizingRecommendationCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/GetSavingsPlansCoverageCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/GetSavingsPlansPurchaseRecommendationCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/GetSavingsPlansUtilizationCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/GetSavingsPlansUtilizationDetailsCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/GetTagsCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/GetUsageForecastCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/ListCostCategoryDefinitionsCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/ProvideAnomalyFeedbackCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/UpdateAnomalyMonitorCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/UpdateAnomalySubscriptionCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/UpdateCostCategoryDefinitionCommand.d.ts +2 -2
- package/{dist/types → dist-types}/endpoints.d.ts +0 -0
- package/{index.ts → dist-types/index.d.ts} +0 -0
- package/{models/index.ts → dist-types/models/index.d.ts} +0 -0
- package/{dist/types → dist-types}/models/models_0.d.ts +0 -0
- package/{dist/types → dist-types}/pagination/GetSavingsPlansCoveragePaginator.d.ts +1 -1
- package/{dist/types → dist-types}/pagination/GetSavingsPlansUtilizationDetailsPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/pagination/Interfaces.d.ts +1 -1
- package/{dist/types → dist-types}/pagination/ListCostCategoryDefinitionsPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/protocols/Aws_json1_1.d.ts +2 -2
- package/{dist/types → dist-types}/runtimeConfig.browser.d.ts +0 -0
- package/{dist/types → dist-types}/runtimeConfig.d.ts +1 -1
- package/{dist/types → dist-types}/runtimeConfig.native.d.ts +0 -0
- package/{dist/types → dist-types}/runtimeConfig.shared.d.ts +0 -0
- package/{dist/types → dist-types}/ts3.4/CostExplorer.d.ts +33 -224
- package/{dist/types → dist-types}/ts3.4/CostExplorerClient.d.ts +32 -112
- package/dist-types/ts3.4/commands/CreateAnomalyMonitorCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/CreateAnomalySubscriptionCommand.d.ts +17 -0
- package/{dist/types → dist-types}/ts3.4/commands/CreateCostCategoryDefinitionCommand.d.ts +4 -22
- package/{dist/types → dist-types}/ts3.4/commands/DeleteAnomalyMonitorCommand.d.ts +4 -22
- package/{dist/types → dist-types}/ts3.4/commands/DeleteAnomalySubscriptionCommand.d.ts +4 -22
- package/{dist/types → dist-types}/ts3.4/commands/DeleteCostCategoryDefinitionCommand.d.ts +4 -22
- package/dist-types/ts3.4/commands/DescribeCostCategoryDefinitionCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetAnomaliesCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetAnomalyMonitorsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetAnomalySubscriptionsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetCostAndUsageCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetCostAndUsageWithResourcesCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetCostCategoriesCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetCostForecastCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetDimensionValuesCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetReservationCoverageCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetReservationPurchaseRecommendationCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetReservationUtilizationCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetRightsizingRecommendationCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetSavingsPlansCoverageCommand.d.ts +17 -0
- package/{dist/types → dist-types}/ts3.4/commands/GetSavingsPlansPurchaseRecommendationCommand.d.ts +4 -22
- package/dist-types/ts3.4/commands/GetSavingsPlansUtilizationCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetSavingsPlansUtilizationDetailsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetTagsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetUsageForecastCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListCostCategoryDefinitionsCommand.d.ts +17 -0
- package/{dist/types → dist-types}/ts3.4/commands/ProvideAnomalyFeedbackCommand.d.ts +4 -22
- package/dist-types/ts3.4/commands/UpdateAnomalyMonitorCommand.d.ts +17 -0
- package/{dist/types → dist-types}/ts3.4/commands/UpdateAnomalySubscriptionCommand.d.ts +4 -22
- package/dist-types/ts3.4/commands/UpdateCostCategoryDefinitionCommand.d.ts +17 -0
- package/{dist/types → dist-types}/ts3.4/endpoints.d.ts +0 -0
- package/{dist/types → dist-types}/ts3.4/index.d.ts +0 -0
- package/{dist/types → dist-types}/ts3.4/models/index.d.ts +0 -0
- package/dist-types/ts3.4/models/models_0.d.ts +2345 -0
- package/{dist/types → dist-types}/ts3.4/pagination/GetSavingsPlansCoveragePaginator.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/pagination/GetSavingsPlansUtilizationDetailsPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/pagination/Interfaces.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/pagination/ListCostCategoryDefinitionsPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/protocols/Aws_json1_1.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/runtimeConfig.browser.d.ts +1 -3
- package/{dist/types → dist-types}/ts3.4/runtimeConfig.d.ts +2 -4
- package/{dist/types → dist-types}/ts3.4/runtimeConfig.native.d.ts +1 -3
- package/{dist/types → dist-types}/ts3.4/runtimeConfig.shared.d.ts +1 -3
- package/package.json +45 -42
- package/CostExplorer.ts +0 -1235
- package/CostExplorerClient.ts +0 -406
- package/commands/CreateAnomalyMonitorCommand.ts +0 -95
- package/commands/CreateAnomalySubscriptionCommand.ts +0 -99
- package/commands/CreateCostCategoryDefinitionCommand.ts +0 -99
- package/commands/DeleteAnomalyMonitorCommand.ts +0 -94
- package/commands/DeleteAnomalySubscriptionCommand.ts +0 -97
- package/commands/DeleteCostCategoryDefinitionCommand.ts +0 -99
- package/commands/DescribeCostCategoryDefinitionCommand.ts +0 -103
- package/commands/GetAnomaliesCommand.ts +0 -95
- package/commands/GetAnomalyMonitorsCommand.ts +0 -95
- package/commands/GetAnomalySubscriptionsCommand.ts +0 -95
- package/commands/GetCostAndUsageCommand.ts +0 -99
- package/commands/GetCostAndUsageWithResourcesCommand.ts +0 -106
- package/commands/GetCostCategoriesCommand.ts +0 -97
- package/commands/GetCostForecastCommand.ts +0 -94
- package/commands/GetDimensionValuesCommand.ts +0 -94
- package/commands/GetReservationCoverageCommand.ts +0 -135
- package/commands/GetReservationPurchaseRecommendationCommand.ts +0 -114
- package/commands/GetReservationUtilizationCommand.ts +0 -99
- package/commands/GetRightsizingRecommendationCommand.ts +0 -108
- package/commands/GetSavingsPlansCoverageCommand.ts +0 -117
- package/commands/GetSavingsPlansPurchaseRecommendationCommand.ts +0 -106
- package/commands/GetSavingsPlansUtilizationCommand.ts +0 -100
- package/commands/GetSavingsPlansUtilizationDetailsCommand.ts +0 -109
- package/commands/GetTagsCommand.ts +0 -91
- package/commands/GetUsageForecastCommand.ts +0 -94
- package/commands/ListCostCategoryDefinitionsCommand.ts +0 -99
- package/commands/ProvideAnomalyFeedbackCommand.ts +0 -94
- package/commands/UpdateAnomalyMonitorCommand.ts +0 -95
- package/commands/UpdateAnomalySubscriptionCommand.ts +0 -97
- package/commands/UpdateCostCategoryDefinitionCommand.ts +0 -99
- package/dist/cjs/CostExplorer.js.map +0 -1
- package/dist/cjs/CostExplorerClient.js +0 -59
- package/dist/cjs/CostExplorerClient.js.map +0 -1
- package/dist/cjs/commands/CreateAnomalyMonitorCommand.js.map +0 -1
- package/dist/cjs/commands/CreateAnomalySubscriptionCommand.js.map +0 -1
- package/dist/cjs/commands/CreateCostCategoryDefinitionCommand.js.map +0 -1
- package/dist/cjs/commands/DeleteAnomalyMonitorCommand.js.map +0 -1
- package/dist/cjs/commands/DeleteAnomalySubscriptionCommand.js.map +0 -1
- package/dist/cjs/commands/DeleteCostCategoryDefinitionCommand.js.map +0 -1
- package/dist/cjs/commands/DescribeCostCategoryDefinitionCommand.js.map +0 -1
- package/dist/cjs/commands/GetAnomaliesCommand.js.map +0 -1
- package/dist/cjs/commands/GetAnomalyMonitorsCommand.js.map +0 -1
- package/dist/cjs/commands/GetAnomalySubscriptionsCommand.js.map +0 -1
- package/dist/cjs/commands/GetCostAndUsageCommand.js +0 -66
- package/dist/cjs/commands/GetCostAndUsageCommand.js.map +0 -1
- package/dist/cjs/commands/GetCostAndUsageWithResourcesCommand.js +0 -68
- package/dist/cjs/commands/GetCostAndUsageWithResourcesCommand.js.map +0 -1
- package/dist/cjs/commands/GetCostCategoriesCommand.js.map +0 -1
- package/dist/cjs/commands/GetCostForecastCommand.js.map +0 -1
- package/dist/cjs/commands/GetDimensionValuesCommand.js.map +0 -1
- package/dist/cjs/commands/GetReservationCoverageCommand.js +0 -102
- package/dist/cjs/commands/GetReservationCoverageCommand.js.map +0 -1
- package/dist/cjs/commands/GetReservationPurchaseRecommendationCommand.js +0 -70
- package/dist/cjs/commands/GetReservationPurchaseRecommendationCommand.js.map +0 -1
- package/dist/cjs/commands/GetReservationUtilizationCommand.js.map +0 -1
- package/dist/cjs/commands/GetRightsizingRecommendationCommand.js.map +0 -1
- package/dist/cjs/commands/GetSavingsPlansCoverageCommand.js +0 -84
- package/dist/cjs/commands/GetSavingsPlansCoverageCommand.js.map +0 -1
- package/dist/cjs/commands/GetSavingsPlansPurchaseRecommendationCommand.js.map +0 -1
- package/dist/cjs/commands/GetSavingsPlansUtilizationCommand.js.map +0 -1
- package/dist/cjs/commands/GetSavingsPlansUtilizationDetailsCommand.js.map +0 -1
- package/dist/cjs/commands/GetTagsCommand.js.map +0 -1
- package/dist/cjs/commands/GetUsageForecastCommand.js.map +0 -1
- package/dist/cjs/commands/ListCostCategoryDefinitionsCommand.js.map +0 -1
- package/dist/cjs/commands/ProvideAnomalyFeedbackCommand.js.map +0 -1
- package/dist/cjs/commands/UpdateAnomalyMonitorCommand.js.map +0 -1
- package/dist/cjs/commands/UpdateAnomalySubscriptionCommand.js.map +0 -1
- package/dist/cjs/commands/UpdateCostCategoryDefinitionCommand.js.map +0 -1
- package/dist/cjs/endpoints.js.map +0 -1
- package/dist/cjs/index.js.map +0 -1
- package/dist/cjs/models/index.js.map +0 -1
- package/dist/cjs/models/models_0.js.map +0 -1
- package/dist/cjs/package.json +0 -91
- package/dist/cjs/pagination/GetSavingsPlansCoveragePaginator.js.map +0 -1
- package/dist/cjs/pagination/GetSavingsPlansUtilizationDetailsPaginator.js.map +0 -1
- package/dist/cjs/pagination/Interfaces.js.map +0 -1
- package/dist/cjs/pagination/ListCostCategoryDefinitionsPaginator.js.map +0 -1
- package/dist/cjs/protocols/Aws_json1_1.js.map +0 -1
- package/dist/cjs/runtimeConfig.browser.js.map +0 -1
- package/dist/cjs/runtimeConfig.js.map +0 -1
- package/dist/cjs/runtimeConfig.native.js.map +0 -1
- package/dist/cjs/runtimeConfig.shared.js.map +0 -1
- package/dist/es/CostExplorer.js.map +0 -1
- package/dist/es/CostExplorerClient.js.map +0 -1
- package/dist/es/commands/CreateAnomalyMonitorCommand.js.map +0 -1
- package/dist/es/commands/CreateAnomalySubscriptionCommand.js.map +0 -1
- package/dist/es/commands/CreateCostCategoryDefinitionCommand.js.map +0 -1
- package/dist/es/commands/DeleteAnomalyMonitorCommand.js.map +0 -1
- package/dist/es/commands/DeleteAnomalySubscriptionCommand.js.map +0 -1
- package/dist/es/commands/DeleteCostCategoryDefinitionCommand.js.map +0 -1
- package/dist/es/commands/DescribeCostCategoryDefinitionCommand.js.map +0 -1
- package/dist/es/commands/GetAnomaliesCommand.js.map +0 -1
- package/dist/es/commands/GetAnomalyMonitorsCommand.js.map +0 -1
- package/dist/es/commands/GetAnomalySubscriptionsCommand.js.map +0 -1
- package/dist/es/commands/GetCostAndUsageCommand.js.map +0 -1
- package/dist/es/commands/GetCostAndUsageWithResourcesCommand.js.map +0 -1
- package/dist/es/commands/GetCostCategoriesCommand.js.map +0 -1
- package/dist/es/commands/GetCostForecastCommand.js.map +0 -1
- package/dist/es/commands/GetDimensionValuesCommand.js.map +0 -1
- package/dist/es/commands/GetReservationCoverageCommand.js.map +0 -1
- package/dist/es/commands/GetReservationPurchaseRecommendationCommand.js.map +0 -1
- package/dist/es/commands/GetReservationUtilizationCommand.js.map +0 -1
- package/dist/es/commands/GetRightsizingRecommendationCommand.js.map +0 -1
- package/dist/es/commands/GetSavingsPlansCoverageCommand.js.map +0 -1
- package/dist/es/commands/GetSavingsPlansPurchaseRecommendationCommand.js.map +0 -1
- package/dist/es/commands/GetSavingsPlansUtilizationCommand.js.map +0 -1
- package/dist/es/commands/GetSavingsPlansUtilizationDetailsCommand.js.map +0 -1
- package/dist/es/commands/GetTagsCommand.js.map +0 -1
- package/dist/es/commands/GetUsageForecastCommand.js.map +0 -1
- package/dist/es/commands/ListCostCategoryDefinitionsCommand.js.map +0 -1
- package/dist/es/commands/ProvideAnomalyFeedbackCommand.js.map +0 -1
- package/dist/es/commands/UpdateAnomalyMonitorCommand.js.map +0 -1
- package/dist/es/commands/UpdateAnomalySubscriptionCommand.js.map +0 -1
- package/dist/es/commands/UpdateCostCategoryDefinitionCommand.js.map +0 -1
- package/dist/es/endpoints.js.map +0 -1
- package/dist/es/index.js +0 -38
- package/dist/es/index.js.map +0 -1
- package/dist/es/models/index.js +0 -2
- package/dist/es/models/index.js.map +0 -1
- package/dist/es/models/models_0.js.map +0 -1
- package/dist/es/package.json +0 -91
- package/dist/es/pagination/GetSavingsPlansCoveragePaginator.js.map +0 -1
- package/dist/es/pagination/GetSavingsPlansUtilizationDetailsPaginator.js.map +0 -1
- package/dist/es/pagination/Interfaces.js +0 -2
- package/dist/es/pagination/Interfaces.js.map +0 -1
- package/dist/es/pagination/ListCostCategoryDefinitionsPaginator.js.map +0 -1
- package/dist/es/protocols/Aws_json1_1.js.map +0 -1
- package/dist/es/runtimeConfig.browser.js.map +0 -1
- package/dist/es/runtimeConfig.js.map +0 -1
- package/dist/es/runtimeConfig.native.js.map +0 -1
- package/dist/es/runtimeConfig.shared.js.map +0 -1
- package/dist/types/ts3.4/commands/CreateAnomalyMonitorCommand.d.ts +0 -36
- package/dist/types/ts3.4/commands/CreateAnomalySubscriptionCommand.d.ts +0 -37
- package/dist/types/ts3.4/commands/DescribeCostCategoryDefinitionCommand.d.ts +0 -36
- package/dist/types/ts3.4/commands/GetAnomaliesCommand.d.ts +0 -36
- package/dist/types/ts3.4/commands/GetAnomalyMonitorsCommand.d.ts +0 -36
- package/dist/types/ts3.4/commands/GetAnomalySubscriptionsCommand.d.ts +0 -36
- package/dist/types/ts3.4/commands/GetCostAndUsageCommand.d.ts +0 -40
- package/dist/types/ts3.4/commands/GetCostAndUsageWithResourcesCommand.d.ts +0 -42
- package/dist/types/ts3.4/commands/GetCostCategoriesCommand.d.ts +0 -38
- package/dist/types/ts3.4/commands/GetCostForecastCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/GetDimensionValuesCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/GetReservationCoverageCommand.d.ts +0 -76
- package/dist/types/ts3.4/commands/GetReservationPurchaseRecommendationCommand.d.ts +0 -44
- package/dist/types/ts3.4/commands/GetReservationUtilizationCommand.d.ts +0 -37
- package/dist/types/ts3.4/commands/GetRightsizingRecommendationCommand.d.ts +0 -44
- package/dist/types/ts3.4/commands/GetSavingsPlansCoverageCommand.d.ts +0 -58
- package/dist/types/ts3.4/commands/GetSavingsPlansUtilizationCommand.d.ts +0 -38
- package/dist/types/ts3.4/commands/GetSavingsPlansUtilizationDetailsCommand.d.ts +0 -39
- package/dist/types/ts3.4/commands/GetTagsCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/GetUsageForecastCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/ListCostCategoryDefinitionsCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/UpdateAnomalyMonitorCommand.d.ts +0 -36
- package/dist/types/ts3.4/commands/UpdateCostCategoryDefinitionCommand.d.ts +0 -35
- package/dist/types/ts3.4/models/models_0.d.ts +0 -5807
- package/endpoints.ts +0 -67
- package/jest.config.js +0 -4
- package/models/models_0.ts +0 -6842
- package/pagination/GetSavingsPlansCoveragePaginator.ts +0 -58
- package/pagination/GetSavingsPlansUtilizationDetailsPaginator.ts +0 -58
- package/pagination/Interfaces.ts +0 -7
- package/pagination/ListCostCategoryDefinitionsPaginator.ts +0 -58
- package/protocols/Aws_json1_1.ts +0 -5865
- package/runtimeConfig.browser.ts +0 -40
- package/runtimeConfig.native.ts +0 -16
- package/runtimeConfig.shared.ts +0 -16
- package/runtimeConfig.ts +0 -45
- package/tsconfig.es.json +0 -10
- package/tsconfig.json +0 -31
- package/tsconfig.types.json +0 -8
|
@@ -1,58 +0,0 @@
|
|
|
1
|
-
import { CostExplorer } from "../CostExplorer";
|
|
2
|
-
import { CostExplorerClient } from "../CostExplorerClient";
|
|
3
|
-
import {
|
|
4
|
-
GetSavingsPlansCoverageCommand,
|
|
5
|
-
GetSavingsPlansCoverageCommandInput,
|
|
6
|
-
GetSavingsPlansCoverageCommandOutput,
|
|
7
|
-
} from "../commands/GetSavingsPlansCoverageCommand";
|
|
8
|
-
import { CostExplorerPaginationConfiguration } from "./Interfaces";
|
|
9
|
-
import { Paginator } from "@aws-sdk/types";
|
|
10
|
-
|
|
11
|
-
/**
|
|
12
|
-
* @private
|
|
13
|
-
*/
|
|
14
|
-
const makePagedClientRequest = async (
|
|
15
|
-
client: CostExplorerClient,
|
|
16
|
-
input: GetSavingsPlansCoverageCommandInput,
|
|
17
|
-
...args: any
|
|
18
|
-
): Promise<GetSavingsPlansCoverageCommandOutput> => {
|
|
19
|
-
// @ts-ignore
|
|
20
|
-
return await client.send(new GetSavingsPlansCoverageCommand(input), ...args);
|
|
21
|
-
};
|
|
22
|
-
/**
|
|
23
|
-
* @private
|
|
24
|
-
*/
|
|
25
|
-
const makePagedRequest = async (
|
|
26
|
-
client: CostExplorer,
|
|
27
|
-
input: GetSavingsPlansCoverageCommandInput,
|
|
28
|
-
...args: any
|
|
29
|
-
): Promise<GetSavingsPlansCoverageCommandOutput> => {
|
|
30
|
-
// @ts-ignore
|
|
31
|
-
return await client.getSavingsPlansCoverage(input, ...args);
|
|
32
|
-
};
|
|
33
|
-
export async function* paginateGetSavingsPlansCoverage(
|
|
34
|
-
config: CostExplorerPaginationConfiguration,
|
|
35
|
-
input: GetSavingsPlansCoverageCommandInput,
|
|
36
|
-
...additionalArguments: any
|
|
37
|
-
): Paginator<GetSavingsPlansCoverageCommandOutput> {
|
|
38
|
-
// ToDo: replace with actual type instead of typeof input.NextToken
|
|
39
|
-
let token: typeof input.NextToken | undefined = config.startingToken || undefined;
|
|
40
|
-
let hasNext = true;
|
|
41
|
-
let page: GetSavingsPlansCoverageCommandOutput;
|
|
42
|
-
while (hasNext) {
|
|
43
|
-
input.NextToken = token;
|
|
44
|
-
input["MaxResults"] = config.pageSize;
|
|
45
|
-
if (config.client instanceof CostExplorer) {
|
|
46
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
47
|
-
} else if (config.client instanceof CostExplorerClient) {
|
|
48
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
49
|
-
} else {
|
|
50
|
-
throw new Error("Invalid client, expected CostExplorer | CostExplorerClient");
|
|
51
|
-
}
|
|
52
|
-
yield page;
|
|
53
|
-
token = page.NextToken;
|
|
54
|
-
hasNext = !!token;
|
|
55
|
-
}
|
|
56
|
-
// @ts-ignore
|
|
57
|
-
return undefined;
|
|
58
|
-
}
|
|
@@ -1,58 +0,0 @@
|
|
|
1
|
-
import { CostExplorer } from "../CostExplorer";
|
|
2
|
-
import { CostExplorerClient } from "../CostExplorerClient";
|
|
3
|
-
import {
|
|
4
|
-
GetSavingsPlansUtilizationDetailsCommand,
|
|
5
|
-
GetSavingsPlansUtilizationDetailsCommandInput,
|
|
6
|
-
GetSavingsPlansUtilizationDetailsCommandOutput,
|
|
7
|
-
} from "../commands/GetSavingsPlansUtilizationDetailsCommand";
|
|
8
|
-
import { CostExplorerPaginationConfiguration } from "./Interfaces";
|
|
9
|
-
import { Paginator } from "@aws-sdk/types";
|
|
10
|
-
|
|
11
|
-
/**
|
|
12
|
-
* @private
|
|
13
|
-
*/
|
|
14
|
-
const makePagedClientRequest = async (
|
|
15
|
-
client: CostExplorerClient,
|
|
16
|
-
input: GetSavingsPlansUtilizationDetailsCommandInput,
|
|
17
|
-
...args: any
|
|
18
|
-
): Promise<GetSavingsPlansUtilizationDetailsCommandOutput> => {
|
|
19
|
-
// @ts-ignore
|
|
20
|
-
return await client.send(new GetSavingsPlansUtilizationDetailsCommand(input), ...args);
|
|
21
|
-
};
|
|
22
|
-
/**
|
|
23
|
-
* @private
|
|
24
|
-
*/
|
|
25
|
-
const makePagedRequest = async (
|
|
26
|
-
client: CostExplorer,
|
|
27
|
-
input: GetSavingsPlansUtilizationDetailsCommandInput,
|
|
28
|
-
...args: any
|
|
29
|
-
): Promise<GetSavingsPlansUtilizationDetailsCommandOutput> => {
|
|
30
|
-
// @ts-ignore
|
|
31
|
-
return await client.getSavingsPlansUtilizationDetails(input, ...args);
|
|
32
|
-
};
|
|
33
|
-
export async function* paginateGetSavingsPlansUtilizationDetails(
|
|
34
|
-
config: CostExplorerPaginationConfiguration,
|
|
35
|
-
input: GetSavingsPlansUtilizationDetailsCommandInput,
|
|
36
|
-
...additionalArguments: any
|
|
37
|
-
): Paginator<GetSavingsPlansUtilizationDetailsCommandOutput> {
|
|
38
|
-
// ToDo: replace with actual type instead of typeof input.NextToken
|
|
39
|
-
let token: typeof input.NextToken | undefined = config.startingToken || undefined;
|
|
40
|
-
let hasNext = true;
|
|
41
|
-
let page: GetSavingsPlansUtilizationDetailsCommandOutput;
|
|
42
|
-
while (hasNext) {
|
|
43
|
-
input.NextToken = token;
|
|
44
|
-
input["MaxResults"] = config.pageSize;
|
|
45
|
-
if (config.client instanceof CostExplorer) {
|
|
46
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
47
|
-
} else if (config.client instanceof CostExplorerClient) {
|
|
48
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
49
|
-
} else {
|
|
50
|
-
throw new Error("Invalid client, expected CostExplorer | CostExplorerClient");
|
|
51
|
-
}
|
|
52
|
-
yield page;
|
|
53
|
-
token = page.NextToken;
|
|
54
|
-
hasNext = !!token;
|
|
55
|
-
}
|
|
56
|
-
// @ts-ignore
|
|
57
|
-
return undefined;
|
|
58
|
-
}
|
package/pagination/Interfaces.ts
DELETED
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { CostExplorer } from "../CostExplorer";
|
|
2
|
-
import { CostExplorerClient } from "../CostExplorerClient";
|
|
3
|
-
import { PaginationConfiguration } from "@aws-sdk/types";
|
|
4
|
-
|
|
5
|
-
export interface CostExplorerPaginationConfiguration extends PaginationConfiguration {
|
|
6
|
-
client: CostExplorer | CostExplorerClient;
|
|
7
|
-
}
|
|
@@ -1,58 +0,0 @@
|
|
|
1
|
-
import { CostExplorer } from "../CostExplorer";
|
|
2
|
-
import { CostExplorerClient } from "../CostExplorerClient";
|
|
3
|
-
import {
|
|
4
|
-
ListCostCategoryDefinitionsCommand,
|
|
5
|
-
ListCostCategoryDefinitionsCommandInput,
|
|
6
|
-
ListCostCategoryDefinitionsCommandOutput,
|
|
7
|
-
} from "../commands/ListCostCategoryDefinitionsCommand";
|
|
8
|
-
import { CostExplorerPaginationConfiguration } from "./Interfaces";
|
|
9
|
-
import { Paginator } from "@aws-sdk/types";
|
|
10
|
-
|
|
11
|
-
/**
|
|
12
|
-
* @private
|
|
13
|
-
*/
|
|
14
|
-
const makePagedClientRequest = async (
|
|
15
|
-
client: CostExplorerClient,
|
|
16
|
-
input: ListCostCategoryDefinitionsCommandInput,
|
|
17
|
-
...args: any
|
|
18
|
-
): Promise<ListCostCategoryDefinitionsCommandOutput> => {
|
|
19
|
-
// @ts-ignore
|
|
20
|
-
return await client.send(new ListCostCategoryDefinitionsCommand(input), ...args);
|
|
21
|
-
};
|
|
22
|
-
/**
|
|
23
|
-
* @private
|
|
24
|
-
*/
|
|
25
|
-
const makePagedRequest = async (
|
|
26
|
-
client: CostExplorer,
|
|
27
|
-
input: ListCostCategoryDefinitionsCommandInput,
|
|
28
|
-
...args: any
|
|
29
|
-
): Promise<ListCostCategoryDefinitionsCommandOutput> => {
|
|
30
|
-
// @ts-ignore
|
|
31
|
-
return await client.listCostCategoryDefinitions(input, ...args);
|
|
32
|
-
};
|
|
33
|
-
export async function* paginateListCostCategoryDefinitions(
|
|
34
|
-
config: CostExplorerPaginationConfiguration,
|
|
35
|
-
input: ListCostCategoryDefinitionsCommandInput,
|
|
36
|
-
...additionalArguments: any
|
|
37
|
-
): Paginator<ListCostCategoryDefinitionsCommandOutput> {
|
|
38
|
-
// ToDo: replace with actual type instead of typeof input.NextToken
|
|
39
|
-
let token: typeof input.NextToken | undefined = config.startingToken || undefined;
|
|
40
|
-
let hasNext = true;
|
|
41
|
-
let page: ListCostCategoryDefinitionsCommandOutput;
|
|
42
|
-
while (hasNext) {
|
|
43
|
-
input.NextToken = token;
|
|
44
|
-
input["MaxResults"] = config.pageSize;
|
|
45
|
-
if (config.client instanceof CostExplorer) {
|
|
46
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
47
|
-
} else if (config.client instanceof CostExplorerClient) {
|
|
48
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
49
|
-
} else {
|
|
50
|
-
throw new Error("Invalid client, expected CostExplorer | CostExplorerClient");
|
|
51
|
-
}
|
|
52
|
-
yield page;
|
|
53
|
-
token = page.NextToken;
|
|
54
|
-
hasNext = !!token;
|
|
55
|
-
}
|
|
56
|
-
// @ts-ignore
|
|
57
|
-
return undefined;
|
|
58
|
-
}
|