@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,100 +0,0 @@
|
|
|
1
|
-
import { CostExplorerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CostExplorerClient";
|
|
2
|
-
import { GetSavingsPlansUtilizationRequest, GetSavingsPlansUtilizationResponse } from "../models/models_0";
|
|
3
|
-
import {
|
|
4
|
-
deserializeAws_json1_1GetSavingsPlansUtilizationCommand,
|
|
5
|
-
serializeAws_json1_1GetSavingsPlansUtilizationCommand,
|
|
6
|
-
} from "../protocols/Aws_json1_1";
|
|
7
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
8
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
9
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
10
|
-
import {
|
|
11
|
-
FinalizeHandlerArguments,
|
|
12
|
-
Handler,
|
|
13
|
-
HandlerExecutionContext,
|
|
14
|
-
MiddlewareStack,
|
|
15
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
16
|
-
MetadataBearer as __MetadataBearer,
|
|
17
|
-
SerdeContext as __SerdeContext,
|
|
18
|
-
} from "@aws-sdk/types";
|
|
19
|
-
|
|
20
|
-
export interface GetSavingsPlansUtilizationCommandInput extends GetSavingsPlansUtilizationRequest {}
|
|
21
|
-
export interface GetSavingsPlansUtilizationCommandOutput extends GetSavingsPlansUtilizationResponse, __MetadataBearer {}
|
|
22
|
-
|
|
23
|
-
/**
|
|
24
|
-
* <p>Retrieves the Savings Plans utilization for your account across date ranges with daily or monthly granularity. Management account in an organization have access to member accounts. You can use <code>GetDimensionValues</code> in <code>SAVINGS_PLANS</code> to determine the possible dimension values.</p>
|
|
25
|
-
* <note>
|
|
26
|
-
* <p>You cannot group by any dimension values for <code>GetSavingsPlansUtilization</code>.</p>
|
|
27
|
-
* </note>
|
|
28
|
-
* @example
|
|
29
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
30
|
-
* ```javascript
|
|
31
|
-
* import { CostExplorerClient, GetSavingsPlansUtilizationCommand } from "@aws-sdk/client-cost-explorer"; // ES Modules import
|
|
32
|
-
* // const { CostExplorerClient, GetSavingsPlansUtilizationCommand } = require("@aws-sdk/client-cost-explorer"); // CommonJS import
|
|
33
|
-
* const client = new CostExplorerClient(config);
|
|
34
|
-
* const command = new GetSavingsPlansUtilizationCommand(input);
|
|
35
|
-
* const response = await client.send(command);
|
|
36
|
-
* ```
|
|
37
|
-
*
|
|
38
|
-
* @see {@link GetSavingsPlansUtilizationCommandInput} for command's `input` shape.
|
|
39
|
-
* @see {@link GetSavingsPlansUtilizationCommandOutput} for command's `response` shape.
|
|
40
|
-
* @see {@link CostExplorerClientResolvedConfig | config} for command's `input` shape.
|
|
41
|
-
*
|
|
42
|
-
*/
|
|
43
|
-
export class GetSavingsPlansUtilizationCommand extends $Command<
|
|
44
|
-
GetSavingsPlansUtilizationCommandInput,
|
|
45
|
-
GetSavingsPlansUtilizationCommandOutput,
|
|
46
|
-
CostExplorerClientResolvedConfig
|
|
47
|
-
> {
|
|
48
|
-
// Start section: command_properties
|
|
49
|
-
// End section: command_properties
|
|
50
|
-
|
|
51
|
-
constructor(readonly input: GetSavingsPlansUtilizationCommandInput) {
|
|
52
|
-
// Start section: command_constructor
|
|
53
|
-
super();
|
|
54
|
-
// End section: command_constructor
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
/**
|
|
58
|
-
* @internal
|
|
59
|
-
*/
|
|
60
|
-
resolveMiddleware(
|
|
61
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
62
|
-
configuration: CostExplorerClientResolvedConfig,
|
|
63
|
-
options?: __HttpHandlerOptions
|
|
64
|
-
): Handler<GetSavingsPlansUtilizationCommandInput, GetSavingsPlansUtilizationCommandOutput> {
|
|
65
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
66
|
-
|
|
67
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
68
|
-
|
|
69
|
-
const { logger } = configuration;
|
|
70
|
-
const clientName = "CostExplorerClient";
|
|
71
|
-
const commandName = "GetSavingsPlansUtilizationCommand";
|
|
72
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
73
|
-
logger,
|
|
74
|
-
clientName,
|
|
75
|
-
commandName,
|
|
76
|
-
inputFilterSensitiveLog: GetSavingsPlansUtilizationRequest.filterSensitiveLog,
|
|
77
|
-
outputFilterSensitiveLog: GetSavingsPlansUtilizationResponse.filterSensitiveLog,
|
|
78
|
-
};
|
|
79
|
-
const { requestHandler } = configuration;
|
|
80
|
-
return stack.resolve(
|
|
81
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
82
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
83
|
-
handlerExecutionContext
|
|
84
|
-
);
|
|
85
|
-
}
|
|
86
|
-
|
|
87
|
-
private serialize(input: GetSavingsPlansUtilizationCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
88
|
-
return serializeAws_json1_1GetSavingsPlansUtilizationCommand(input, context);
|
|
89
|
-
}
|
|
90
|
-
|
|
91
|
-
private deserialize(
|
|
92
|
-
output: __HttpResponse,
|
|
93
|
-
context: __SerdeContext
|
|
94
|
-
): Promise<GetSavingsPlansUtilizationCommandOutput> {
|
|
95
|
-
return deserializeAws_json1_1GetSavingsPlansUtilizationCommand(output, context);
|
|
96
|
-
}
|
|
97
|
-
|
|
98
|
-
// Start section: command_body_extra
|
|
99
|
-
// End section: command_body_extra
|
|
100
|
-
}
|
|
@@ -1,109 +0,0 @@
|
|
|
1
|
-
import { CostExplorerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CostExplorerClient";
|
|
2
|
-
import {
|
|
3
|
-
GetSavingsPlansUtilizationDetailsRequest,
|
|
4
|
-
GetSavingsPlansUtilizationDetailsResponse,
|
|
5
|
-
} from "../models/models_0";
|
|
6
|
-
import {
|
|
7
|
-
deserializeAws_json1_1GetSavingsPlansUtilizationDetailsCommand,
|
|
8
|
-
serializeAws_json1_1GetSavingsPlansUtilizationDetailsCommand,
|
|
9
|
-
} from "../protocols/Aws_json1_1";
|
|
10
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
11
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
12
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
13
|
-
import {
|
|
14
|
-
FinalizeHandlerArguments,
|
|
15
|
-
Handler,
|
|
16
|
-
HandlerExecutionContext,
|
|
17
|
-
MiddlewareStack,
|
|
18
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
19
|
-
MetadataBearer as __MetadataBearer,
|
|
20
|
-
SerdeContext as __SerdeContext,
|
|
21
|
-
} from "@aws-sdk/types";
|
|
22
|
-
|
|
23
|
-
export interface GetSavingsPlansUtilizationDetailsCommandInput extends GetSavingsPlansUtilizationDetailsRequest {}
|
|
24
|
-
export interface GetSavingsPlansUtilizationDetailsCommandOutput
|
|
25
|
-
extends GetSavingsPlansUtilizationDetailsResponse,
|
|
26
|
-
__MetadataBearer {}
|
|
27
|
-
|
|
28
|
-
/**
|
|
29
|
-
* <p>Retrieves attribute data along with aggregate utilization and savings data for a given time period. This doesn't support granular or grouped data (daily/monthly) in response. You can't retrieve data by dates in a single response similar to <code>GetSavingsPlanUtilization</code>, but you have the option to make multiple calls to <code>GetSavingsPlanUtilizationDetails</code> by providing individual dates. You can use <code>GetDimensionValues</code> in <code>SAVINGS_PLANS</code> to determine the possible dimension values.</p>
|
|
30
|
-
* <note>
|
|
31
|
-
* <p>
|
|
32
|
-
* <code>GetSavingsPlanUtilizationDetails</code> internally groups data by <code>SavingsPlansArn</code>.</p>
|
|
33
|
-
* </note>
|
|
34
|
-
* @example
|
|
35
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
36
|
-
* ```javascript
|
|
37
|
-
* import { CostExplorerClient, GetSavingsPlansUtilizationDetailsCommand } from "@aws-sdk/client-cost-explorer"; // ES Modules import
|
|
38
|
-
* // const { CostExplorerClient, GetSavingsPlansUtilizationDetailsCommand } = require("@aws-sdk/client-cost-explorer"); // CommonJS import
|
|
39
|
-
* const client = new CostExplorerClient(config);
|
|
40
|
-
* const command = new GetSavingsPlansUtilizationDetailsCommand(input);
|
|
41
|
-
* const response = await client.send(command);
|
|
42
|
-
* ```
|
|
43
|
-
*
|
|
44
|
-
* @see {@link GetSavingsPlansUtilizationDetailsCommandInput} for command's `input` shape.
|
|
45
|
-
* @see {@link GetSavingsPlansUtilizationDetailsCommandOutput} for command's `response` shape.
|
|
46
|
-
* @see {@link CostExplorerClientResolvedConfig | config} for command's `input` shape.
|
|
47
|
-
*
|
|
48
|
-
*/
|
|
49
|
-
export class GetSavingsPlansUtilizationDetailsCommand extends $Command<
|
|
50
|
-
GetSavingsPlansUtilizationDetailsCommandInput,
|
|
51
|
-
GetSavingsPlansUtilizationDetailsCommandOutput,
|
|
52
|
-
CostExplorerClientResolvedConfig
|
|
53
|
-
> {
|
|
54
|
-
// Start section: command_properties
|
|
55
|
-
// End section: command_properties
|
|
56
|
-
|
|
57
|
-
constructor(readonly input: GetSavingsPlansUtilizationDetailsCommandInput) {
|
|
58
|
-
// Start section: command_constructor
|
|
59
|
-
super();
|
|
60
|
-
// End section: command_constructor
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
/**
|
|
64
|
-
* @internal
|
|
65
|
-
*/
|
|
66
|
-
resolveMiddleware(
|
|
67
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
68
|
-
configuration: CostExplorerClientResolvedConfig,
|
|
69
|
-
options?: __HttpHandlerOptions
|
|
70
|
-
): Handler<GetSavingsPlansUtilizationDetailsCommandInput, GetSavingsPlansUtilizationDetailsCommandOutput> {
|
|
71
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
72
|
-
|
|
73
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
74
|
-
|
|
75
|
-
const { logger } = configuration;
|
|
76
|
-
const clientName = "CostExplorerClient";
|
|
77
|
-
const commandName = "GetSavingsPlansUtilizationDetailsCommand";
|
|
78
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
79
|
-
logger,
|
|
80
|
-
clientName,
|
|
81
|
-
commandName,
|
|
82
|
-
inputFilterSensitiveLog: GetSavingsPlansUtilizationDetailsRequest.filterSensitiveLog,
|
|
83
|
-
outputFilterSensitiveLog: GetSavingsPlansUtilizationDetailsResponse.filterSensitiveLog,
|
|
84
|
-
};
|
|
85
|
-
const { requestHandler } = configuration;
|
|
86
|
-
return stack.resolve(
|
|
87
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
88
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
89
|
-
handlerExecutionContext
|
|
90
|
-
);
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
private serialize(
|
|
94
|
-
input: GetSavingsPlansUtilizationDetailsCommandInput,
|
|
95
|
-
context: __SerdeContext
|
|
96
|
-
): Promise<__HttpRequest> {
|
|
97
|
-
return serializeAws_json1_1GetSavingsPlansUtilizationDetailsCommand(input, context);
|
|
98
|
-
}
|
|
99
|
-
|
|
100
|
-
private deserialize(
|
|
101
|
-
output: __HttpResponse,
|
|
102
|
-
context: __SerdeContext
|
|
103
|
-
): Promise<GetSavingsPlansUtilizationDetailsCommandOutput> {
|
|
104
|
-
return deserializeAws_json1_1GetSavingsPlansUtilizationDetailsCommand(output, context);
|
|
105
|
-
}
|
|
106
|
-
|
|
107
|
-
// Start section: command_body_extra
|
|
108
|
-
// End section: command_body_extra
|
|
109
|
-
}
|
|
@@ -1,91 +0,0 @@
|
|
|
1
|
-
import { CostExplorerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CostExplorerClient";
|
|
2
|
-
import { GetTagsRequest, GetTagsResponse } from "../models/models_0";
|
|
3
|
-
import { deserializeAws_json1_1GetTagsCommand, serializeAws_json1_1GetTagsCommand } from "../protocols/Aws_json1_1";
|
|
4
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
5
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
6
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
7
|
-
import {
|
|
8
|
-
FinalizeHandlerArguments,
|
|
9
|
-
Handler,
|
|
10
|
-
HandlerExecutionContext,
|
|
11
|
-
MiddlewareStack,
|
|
12
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
13
|
-
MetadataBearer as __MetadataBearer,
|
|
14
|
-
SerdeContext as __SerdeContext,
|
|
15
|
-
} from "@aws-sdk/types";
|
|
16
|
-
|
|
17
|
-
export interface GetTagsCommandInput extends GetTagsRequest {}
|
|
18
|
-
export interface GetTagsCommandOutput extends GetTagsResponse, __MetadataBearer {}
|
|
19
|
-
|
|
20
|
-
/**
|
|
21
|
-
* <p>Queries for available tag keys and tag values for a specified period. You can search the tag values for an arbitrary string. </p>
|
|
22
|
-
* @example
|
|
23
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
24
|
-
* ```javascript
|
|
25
|
-
* import { CostExplorerClient, GetTagsCommand } from "@aws-sdk/client-cost-explorer"; // ES Modules import
|
|
26
|
-
* // const { CostExplorerClient, GetTagsCommand } = require("@aws-sdk/client-cost-explorer"); // CommonJS import
|
|
27
|
-
* const client = new CostExplorerClient(config);
|
|
28
|
-
* const command = new GetTagsCommand(input);
|
|
29
|
-
* const response = await client.send(command);
|
|
30
|
-
* ```
|
|
31
|
-
*
|
|
32
|
-
* @see {@link GetTagsCommandInput} for command's `input` shape.
|
|
33
|
-
* @see {@link GetTagsCommandOutput} for command's `response` shape.
|
|
34
|
-
* @see {@link CostExplorerClientResolvedConfig | config} for command's `input` shape.
|
|
35
|
-
*
|
|
36
|
-
*/
|
|
37
|
-
export class GetTagsCommand extends $Command<
|
|
38
|
-
GetTagsCommandInput,
|
|
39
|
-
GetTagsCommandOutput,
|
|
40
|
-
CostExplorerClientResolvedConfig
|
|
41
|
-
> {
|
|
42
|
-
// Start section: command_properties
|
|
43
|
-
// End section: command_properties
|
|
44
|
-
|
|
45
|
-
constructor(readonly input: GetTagsCommandInput) {
|
|
46
|
-
// Start section: command_constructor
|
|
47
|
-
super();
|
|
48
|
-
// End section: command_constructor
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
/**
|
|
52
|
-
* @internal
|
|
53
|
-
*/
|
|
54
|
-
resolveMiddleware(
|
|
55
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
56
|
-
configuration: CostExplorerClientResolvedConfig,
|
|
57
|
-
options?: __HttpHandlerOptions
|
|
58
|
-
): Handler<GetTagsCommandInput, GetTagsCommandOutput> {
|
|
59
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
60
|
-
|
|
61
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
62
|
-
|
|
63
|
-
const { logger } = configuration;
|
|
64
|
-
const clientName = "CostExplorerClient";
|
|
65
|
-
const commandName = "GetTagsCommand";
|
|
66
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
67
|
-
logger,
|
|
68
|
-
clientName,
|
|
69
|
-
commandName,
|
|
70
|
-
inputFilterSensitiveLog: GetTagsRequest.filterSensitiveLog,
|
|
71
|
-
outputFilterSensitiveLog: GetTagsResponse.filterSensitiveLog,
|
|
72
|
-
};
|
|
73
|
-
const { requestHandler } = configuration;
|
|
74
|
-
return stack.resolve(
|
|
75
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
76
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
77
|
-
handlerExecutionContext
|
|
78
|
-
);
|
|
79
|
-
}
|
|
80
|
-
|
|
81
|
-
private serialize(input: GetTagsCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
82
|
-
return serializeAws_json1_1GetTagsCommand(input, context);
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<GetTagsCommandOutput> {
|
|
86
|
-
return deserializeAws_json1_1GetTagsCommand(output, context);
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
// Start section: command_body_extra
|
|
90
|
-
// End section: command_body_extra
|
|
91
|
-
}
|
|
@@ -1,94 +0,0 @@
|
|
|
1
|
-
import { CostExplorerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CostExplorerClient";
|
|
2
|
-
import { GetUsageForecastRequest, GetUsageForecastResponse } from "../models/models_0";
|
|
3
|
-
import {
|
|
4
|
-
deserializeAws_json1_1GetUsageForecastCommand,
|
|
5
|
-
serializeAws_json1_1GetUsageForecastCommand,
|
|
6
|
-
} from "../protocols/Aws_json1_1";
|
|
7
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
8
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
9
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
10
|
-
import {
|
|
11
|
-
FinalizeHandlerArguments,
|
|
12
|
-
Handler,
|
|
13
|
-
HandlerExecutionContext,
|
|
14
|
-
MiddlewareStack,
|
|
15
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
16
|
-
MetadataBearer as __MetadataBearer,
|
|
17
|
-
SerdeContext as __SerdeContext,
|
|
18
|
-
} from "@aws-sdk/types";
|
|
19
|
-
|
|
20
|
-
export interface GetUsageForecastCommandInput extends GetUsageForecastRequest {}
|
|
21
|
-
export interface GetUsageForecastCommandOutput extends GetUsageForecastResponse, __MetadataBearer {}
|
|
22
|
-
|
|
23
|
-
/**
|
|
24
|
-
* <p>Retrieves a forecast for how much Amazon Web Services predicts that you will use over the forecast time period that you select, based on your past usage. </p>
|
|
25
|
-
* @example
|
|
26
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
27
|
-
* ```javascript
|
|
28
|
-
* import { CostExplorerClient, GetUsageForecastCommand } from "@aws-sdk/client-cost-explorer"; // ES Modules import
|
|
29
|
-
* // const { CostExplorerClient, GetUsageForecastCommand } = require("@aws-sdk/client-cost-explorer"); // CommonJS import
|
|
30
|
-
* const client = new CostExplorerClient(config);
|
|
31
|
-
* const command = new GetUsageForecastCommand(input);
|
|
32
|
-
* const response = await client.send(command);
|
|
33
|
-
* ```
|
|
34
|
-
*
|
|
35
|
-
* @see {@link GetUsageForecastCommandInput} for command's `input` shape.
|
|
36
|
-
* @see {@link GetUsageForecastCommandOutput} for command's `response` shape.
|
|
37
|
-
* @see {@link CostExplorerClientResolvedConfig | config} for command's `input` shape.
|
|
38
|
-
*
|
|
39
|
-
*/
|
|
40
|
-
export class GetUsageForecastCommand extends $Command<
|
|
41
|
-
GetUsageForecastCommandInput,
|
|
42
|
-
GetUsageForecastCommandOutput,
|
|
43
|
-
CostExplorerClientResolvedConfig
|
|
44
|
-
> {
|
|
45
|
-
// Start section: command_properties
|
|
46
|
-
// End section: command_properties
|
|
47
|
-
|
|
48
|
-
constructor(readonly input: GetUsageForecastCommandInput) {
|
|
49
|
-
// Start section: command_constructor
|
|
50
|
-
super();
|
|
51
|
-
// End section: command_constructor
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
/**
|
|
55
|
-
* @internal
|
|
56
|
-
*/
|
|
57
|
-
resolveMiddleware(
|
|
58
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
59
|
-
configuration: CostExplorerClientResolvedConfig,
|
|
60
|
-
options?: __HttpHandlerOptions
|
|
61
|
-
): Handler<GetUsageForecastCommandInput, GetUsageForecastCommandOutput> {
|
|
62
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
63
|
-
|
|
64
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
65
|
-
|
|
66
|
-
const { logger } = configuration;
|
|
67
|
-
const clientName = "CostExplorerClient";
|
|
68
|
-
const commandName = "GetUsageForecastCommand";
|
|
69
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
70
|
-
logger,
|
|
71
|
-
clientName,
|
|
72
|
-
commandName,
|
|
73
|
-
inputFilterSensitiveLog: GetUsageForecastRequest.filterSensitiveLog,
|
|
74
|
-
outputFilterSensitiveLog: GetUsageForecastResponse.filterSensitiveLog,
|
|
75
|
-
};
|
|
76
|
-
const { requestHandler } = configuration;
|
|
77
|
-
return stack.resolve(
|
|
78
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
79
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
80
|
-
handlerExecutionContext
|
|
81
|
-
);
|
|
82
|
-
}
|
|
83
|
-
|
|
84
|
-
private serialize(input: GetUsageForecastCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
85
|
-
return serializeAws_json1_1GetUsageForecastCommand(input, context);
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<GetUsageForecastCommandOutput> {
|
|
89
|
-
return deserializeAws_json1_1GetUsageForecastCommand(output, context);
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
// Start section: command_body_extra
|
|
93
|
-
// End section: command_body_extra
|
|
94
|
-
}
|
|
@@ -1,99 +0,0 @@
|
|
|
1
|
-
import { CostExplorerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CostExplorerClient";
|
|
2
|
-
import { ListCostCategoryDefinitionsRequest, ListCostCategoryDefinitionsResponse } from "../models/models_0";
|
|
3
|
-
import {
|
|
4
|
-
deserializeAws_json1_1ListCostCategoryDefinitionsCommand,
|
|
5
|
-
serializeAws_json1_1ListCostCategoryDefinitionsCommand,
|
|
6
|
-
} from "../protocols/Aws_json1_1";
|
|
7
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
8
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
9
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
10
|
-
import {
|
|
11
|
-
FinalizeHandlerArguments,
|
|
12
|
-
Handler,
|
|
13
|
-
HandlerExecutionContext,
|
|
14
|
-
MiddlewareStack,
|
|
15
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
16
|
-
MetadataBearer as __MetadataBearer,
|
|
17
|
-
SerdeContext as __SerdeContext,
|
|
18
|
-
} from "@aws-sdk/types";
|
|
19
|
-
|
|
20
|
-
export interface ListCostCategoryDefinitionsCommandInput extends ListCostCategoryDefinitionsRequest {}
|
|
21
|
-
export interface ListCostCategoryDefinitionsCommandOutput
|
|
22
|
-
extends ListCostCategoryDefinitionsResponse,
|
|
23
|
-
__MetadataBearer {}
|
|
24
|
-
|
|
25
|
-
/**
|
|
26
|
-
* <p>Returns the name, ARN, <code>NumberOfRules</code> and effective dates of all Cost Categories defined in the account. You have the option to use <code>EffectiveOn</code> to return a list of Cost Categories that were active on a specific date. If there is no <code>EffectiveOn</code> specified, you’ll see Cost Categories that are effective on the current date. If Cost Category is still effective, <code>EffectiveEnd</code> is omitted in the response. <code>ListCostCategoryDefinitions</code> supports pagination. The request can have a <code>MaxResults</code> range up to 100.</p>
|
|
27
|
-
* @example
|
|
28
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
29
|
-
* ```javascript
|
|
30
|
-
* import { CostExplorerClient, ListCostCategoryDefinitionsCommand } from "@aws-sdk/client-cost-explorer"; // ES Modules import
|
|
31
|
-
* // const { CostExplorerClient, ListCostCategoryDefinitionsCommand } = require("@aws-sdk/client-cost-explorer"); // CommonJS import
|
|
32
|
-
* const client = new CostExplorerClient(config);
|
|
33
|
-
* const command = new ListCostCategoryDefinitionsCommand(input);
|
|
34
|
-
* const response = await client.send(command);
|
|
35
|
-
* ```
|
|
36
|
-
*
|
|
37
|
-
* @see {@link ListCostCategoryDefinitionsCommandInput} for command's `input` shape.
|
|
38
|
-
* @see {@link ListCostCategoryDefinitionsCommandOutput} for command's `response` shape.
|
|
39
|
-
* @see {@link CostExplorerClientResolvedConfig | config} for command's `input` shape.
|
|
40
|
-
*
|
|
41
|
-
*/
|
|
42
|
-
export class ListCostCategoryDefinitionsCommand extends $Command<
|
|
43
|
-
ListCostCategoryDefinitionsCommandInput,
|
|
44
|
-
ListCostCategoryDefinitionsCommandOutput,
|
|
45
|
-
CostExplorerClientResolvedConfig
|
|
46
|
-
> {
|
|
47
|
-
// Start section: command_properties
|
|
48
|
-
// End section: command_properties
|
|
49
|
-
|
|
50
|
-
constructor(readonly input: ListCostCategoryDefinitionsCommandInput) {
|
|
51
|
-
// Start section: command_constructor
|
|
52
|
-
super();
|
|
53
|
-
// End section: command_constructor
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
/**
|
|
57
|
-
* @internal
|
|
58
|
-
*/
|
|
59
|
-
resolveMiddleware(
|
|
60
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
61
|
-
configuration: CostExplorerClientResolvedConfig,
|
|
62
|
-
options?: __HttpHandlerOptions
|
|
63
|
-
): Handler<ListCostCategoryDefinitionsCommandInput, ListCostCategoryDefinitionsCommandOutput> {
|
|
64
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
65
|
-
|
|
66
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
67
|
-
|
|
68
|
-
const { logger } = configuration;
|
|
69
|
-
const clientName = "CostExplorerClient";
|
|
70
|
-
const commandName = "ListCostCategoryDefinitionsCommand";
|
|
71
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
72
|
-
logger,
|
|
73
|
-
clientName,
|
|
74
|
-
commandName,
|
|
75
|
-
inputFilterSensitiveLog: ListCostCategoryDefinitionsRequest.filterSensitiveLog,
|
|
76
|
-
outputFilterSensitiveLog: ListCostCategoryDefinitionsResponse.filterSensitiveLog,
|
|
77
|
-
};
|
|
78
|
-
const { requestHandler } = configuration;
|
|
79
|
-
return stack.resolve(
|
|
80
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
81
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
82
|
-
handlerExecutionContext
|
|
83
|
-
);
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
private serialize(input: ListCostCategoryDefinitionsCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
87
|
-
return serializeAws_json1_1ListCostCategoryDefinitionsCommand(input, context);
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
private deserialize(
|
|
91
|
-
output: __HttpResponse,
|
|
92
|
-
context: __SerdeContext
|
|
93
|
-
): Promise<ListCostCategoryDefinitionsCommandOutput> {
|
|
94
|
-
return deserializeAws_json1_1ListCostCategoryDefinitionsCommand(output, context);
|
|
95
|
-
}
|
|
96
|
-
|
|
97
|
-
// Start section: command_body_extra
|
|
98
|
-
// End section: command_body_extra
|
|
99
|
-
}
|
|
@@ -1,94 +0,0 @@
|
|
|
1
|
-
import { CostExplorerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CostExplorerClient";
|
|
2
|
-
import { ProvideAnomalyFeedbackRequest, ProvideAnomalyFeedbackResponse } from "../models/models_0";
|
|
3
|
-
import {
|
|
4
|
-
deserializeAws_json1_1ProvideAnomalyFeedbackCommand,
|
|
5
|
-
serializeAws_json1_1ProvideAnomalyFeedbackCommand,
|
|
6
|
-
} from "../protocols/Aws_json1_1";
|
|
7
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
8
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
9
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
10
|
-
import {
|
|
11
|
-
FinalizeHandlerArguments,
|
|
12
|
-
Handler,
|
|
13
|
-
HandlerExecutionContext,
|
|
14
|
-
MiddlewareStack,
|
|
15
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
16
|
-
MetadataBearer as __MetadataBearer,
|
|
17
|
-
SerdeContext as __SerdeContext,
|
|
18
|
-
} from "@aws-sdk/types";
|
|
19
|
-
|
|
20
|
-
export interface ProvideAnomalyFeedbackCommandInput extends ProvideAnomalyFeedbackRequest {}
|
|
21
|
-
export interface ProvideAnomalyFeedbackCommandOutput extends ProvideAnomalyFeedbackResponse, __MetadataBearer {}
|
|
22
|
-
|
|
23
|
-
/**
|
|
24
|
-
* <p>Modifies the feedback property of a given cost anomaly. </p>
|
|
25
|
-
* @example
|
|
26
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
27
|
-
* ```javascript
|
|
28
|
-
* import { CostExplorerClient, ProvideAnomalyFeedbackCommand } from "@aws-sdk/client-cost-explorer"; // ES Modules import
|
|
29
|
-
* // const { CostExplorerClient, ProvideAnomalyFeedbackCommand } = require("@aws-sdk/client-cost-explorer"); // CommonJS import
|
|
30
|
-
* const client = new CostExplorerClient(config);
|
|
31
|
-
* const command = new ProvideAnomalyFeedbackCommand(input);
|
|
32
|
-
* const response = await client.send(command);
|
|
33
|
-
* ```
|
|
34
|
-
*
|
|
35
|
-
* @see {@link ProvideAnomalyFeedbackCommandInput} for command's `input` shape.
|
|
36
|
-
* @see {@link ProvideAnomalyFeedbackCommandOutput} for command's `response` shape.
|
|
37
|
-
* @see {@link CostExplorerClientResolvedConfig | config} for command's `input` shape.
|
|
38
|
-
*
|
|
39
|
-
*/
|
|
40
|
-
export class ProvideAnomalyFeedbackCommand extends $Command<
|
|
41
|
-
ProvideAnomalyFeedbackCommandInput,
|
|
42
|
-
ProvideAnomalyFeedbackCommandOutput,
|
|
43
|
-
CostExplorerClientResolvedConfig
|
|
44
|
-
> {
|
|
45
|
-
// Start section: command_properties
|
|
46
|
-
// End section: command_properties
|
|
47
|
-
|
|
48
|
-
constructor(readonly input: ProvideAnomalyFeedbackCommandInput) {
|
|
49
|
-
// Start section: command_constructor
|
|
50
|
-
super();
|
|
51
|
-
// End section: command_constructor
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
/**
|
|
55
|
-
* @internal
|
|
56
|
-
*/
|
|
57
|
-
resolveMiddleware(
|
|
58
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
59
|
-
configuration: CostExplorerClientResolvedConfig,
|
|
60
|
-
options?: __HttpHandlerOptions
|
|
61
|
-
): Handler<ProvideAnomalyFeedbackCommandInput, ProvideAnomalyFeedbackCommandOutput> {
|
|
62
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
63
|
-
|
|
64
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
65
|
-
|
|
66
|
-
const { logger } = configuration;
|
|
67
|
-
const clientName = "CostExplorerClient";
|
|
68
|
-
const commandName = "ProvideAnomalyFeedbackCommand";
|
|
69
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
70
|
-
logger,
|
|
71
|
-
clientName,
|
|
72
|
-
commandName,
|
|
73
|
-
inputFilterSensitiveLog: ProvideAnomalyFeedbackRequest.filterSensitiveLog,
|
|
74
|
-
outputFilterSensitiveLog: ProvideAnomalyFeedbackResponse.filterSensitiveLog,
|
|
75
|
-
};
|
|
76
|
-
const { requestHandler } = configuration;
|
|
77
|
-
return stack.resolve(
|
|
78
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
79
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
80
|
-
handlerExecutionContext
|
|
81
|
-
);
|
|
82
|
-
}
|
|
83
|
-
|
|
84
|
-
private serialize(input: ProvideAnomalyFeedbackCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
85
|
-
return serializeAws_json1_1ProvideAnomalyFeedbackCommand(input, context);
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<ProvideAnomalyFeedbackCommandOutput> {
|
|
89
|
-
return deserializeAws_json1_1ProvideAnomalyFeedbackCommand(output, context);
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
// Start section: command_body_extra
|
|
93
|
-
// End section: command_body_extra
|
|
94
|
-
}
|