@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
package/CostExplorerClient.ts
DELETED
|
@@ -1,406 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
CreateAnomalyMonitorCommandInput,
|
|
3
|
-
CreateAnomalyMonitorCommandOutput,
|
|
4
|
-
} from "./commands/CreateAnomalyMonitorCommand";
|
|
5
|
-
import {
|
|
6
|
-
CreateAnomalySubscriptionCommandInput,
|
|
7
|
-
CreateAnomalySubscriptionCommandOutput,
|
|
8
|
-
} from "./commands/CreateAnomalySubscriptionCommand";
|
|
9
|
-
import {
|
|
10
|
-
CreateCostCategoryDefinitionCommandInput,
|
|
11
|
-
CreateCostCategoryDefinitionCommandOutput,
|
|
12
|
-
} from "./commands/CreateCostCategoryDefinitionCommand";
|
|
13
|
-
import {
|
|
14
|
-
DeleteAnomalyMonitorCommandInput,
|
|
15
|
-
DeleteAnomalyMonitorCommandOutput,
|
|
16
|
-
} from "./commands/DeleteAnomalyMonitorCommand";
|
|
17
|
-
import {
|
|
18
|
-
DeleteAnomalySubscriptionCommandInput,
|
|
19
|
-
DeleteAnomalySubscriptionCommandOutput,
|
|
20
|
-
} from "./commands/DeleteAnomalySubscriptionCommand";
|
|
21
|
-
import {
|
|
22
|
-
DeleteCostCategoryDefinitionCommandInput,
|
|
23
|
-
DeleteCostCategoryDefinitionCommandOutput,
|
|
24
|
-
} from "./commands/DeleteCostCategoryDefinitionCommand";
|
|
25
|
-
import {
|
|
26
|
-
DescribeCostCategoryDefinitionCommandInput,
|
|
27
|
-
DescribeCostCategoryDefinitionCommandOutput,
|
|
28
|
-
} from "./commands/DescribeCostCategoryDefinitionCommand";
|
|
29
|
-
import { GetAnomaliesCommandInput, GetAnomaliesCommandOutput } from "./commands/GetAnomaliesCommand";
|
|
30
|
-
import { GetAnomalyMonitorsCommandInput, GetAnomalyMonitorsCommandOutput } from "./commands/GetAnomalyMonitorsCommand";
|
|
31
|
-
import {
|
|
32
|
-
GetAnomalySubscriptionsCommandInput,
|
|
33
|
-
GetAnomalySubscriptionsCommandOutput,
|
|
34
|
-
} from "./commands/GetAnomalySubscriptionsCommand";
|
|
35
|
-
import { GetCostAndUsageCommandInput, GetCostAndUsageCommandOutput } from "./commands/GetCostAndUsageCommand";
|
|
36
|
-
import {
|
|
37
|
-
GetCostAndUsageWithResourcesCommandInput,
|
|
38
|
-
GetCostAndUsageWithResourcesCommandOutput,
|
|
39
|
-
} from "./commands/GetCostAndUsageWithResourcesCommand";
|
|
40
|
-
import { GetCostCategoriesCommandInput, GetCostCategoriesCommandOutput } from "./commands/GetCostCategoriesCommand";
|
|
41
|
-
import { GetCostForecastCommandInput, GetCostForecastCommandOutput } from "./commands/GetCostForecastCommand";
|
|
42
|
-
import { GetDimensionValuesCommandInput, GetDimensionValuesCommandOutput } from "./commands/GetDimensionValuesCommand";
|
|
43
|
-
import {
|
|
44
|
-
GetReservationCoverageCommandInput,
|
|
45
|
-
GetReservationCoverageCommandOutput,
|
|
46
|
-
} from "./commands/GetReservationCoverageCommand";
|
|
47
|
-
import {
|
|
48
|
-
GetReservationPurchaseRecommendationCommandInput,
|
|
49
|
-
GetReservationPurchaseRecommendationCommandOutput,
|
|
50
|
-
} from "./commands/GetReservationPurchaseRecommendationCommand";
|
|
51
|
-
import {
|
|
52
|
-
GetReservationUtilizationCommandInput,
|
|
53
|
-
GetReservationUtilizationCommandOutput,
|
|
54
|
-
} from "./commands/GetReservationUtilizationCommand";
|
|
55
|
-
import {
|
|
56
|
-
GetRightsizingRecommendationCommandInput,
|
|
57
|
-
GetRightsizingRecommendationCommandOutput,
|
|
58
|
-
} from "./commands/GetRightsizingRecommendationCommand";
|
|
59
|
-
import {
|
|
60
|
-
GetSavingsPlansCoverageCommandInput,
|
|
61
|
-
GetSavingsPlansCoverageCommandOutput,
|
|
62
|
-
} from "./commands/GetSavingsPlansCoverageCommand";
|
|
63
|
-
import {
|
|
64
|
-
GetSavingsPlansPurchaseRecommendationCommandInput,
|
|
65
|
-
GetSavingsPlansPurchaseRecommendationCommandOutput,
|
|
66
|
-
} from "./commands/GetSavingsPlansPurchaseRecommendationCommand";
|
|
67
|
-
import {
|
|
68
|
-
GetSavingsPlansUtilizationCommandInput,
|
|
69
|
-
GetSavingsPlansUtilizationCommandOutput,
|
|
70
|
-
} from "./commands/GetSavingsPlansUtilizationCommand";
|
|
71
|
-
import {
|
|
72
|
-
GetSavingsPlansUtilizationDetailsCommandInput,
|
|
73
|
-
GetSavingsPlansUtilizationDetailsCommandOutput,
|
|
74
|
-
} from "./commands/GetSavingsPlansUtilizationDetailsCommand";
|
|
75
|
-
import { GetTagsCommandInput, GetTagsCommandOutput } from "./commands/GetTagsCommand";
|
|
76
|
-
import { GetUsageForecastCommandInput, GetUsageForecastCommandOutput } from "./commands/GetUsageForecastCommand";
|
|
77
|
-
import {
|
|
78
|
-
ListCostCategoryDefinitionsCommandInput,
|
|
79
|
-
ListCostCategoryDefinitionsCommandOutput,
|
|
80
|
-
} from "./commands/ListCostCategoryDefinitionsCommand";
|
|
81
|
-
import {
|
|
82
|
-
ProvideAnomalyFeedbackCommandInput,
|
|
83
|
-
ProvideAnomalyFeedbackCommandOutput,
|
|
84
|
-
} from "./commands/ProvideAnomalyFeedbackCommand";
|
|
85
|
-
import {
|
|
86
|
-
UpdateAnomalyMonitorCommandInput,
|
|
87
|
-
UpdateAnomalyMonitorCommandOutput,
|
|
88
|
-
} from "./commands/UpdateAnomalyMonitorCommand";
|
|
89
|
-
import {
|
|
90
|
-
UpdateAnomalySubscriptionCommandInput,
|
|
91
|
-
UpdateAnomalySubscriptionCommandOutput,
|
|
92
|
-
} from "./commands/UpdateAnomalySubscriptionCommand";
|
|
93
|
-
import {
|
|
94
|
-
UpdateCostCategoryDefinitionCommandInput,
|
|
95
|
-
UpdateCostCategoryDefinitionCommandOutput,
|
|
96
|
-
} from "./commands/UpdateCostCategoryDefinitionCommand";
|
|
97
|
-
import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
|
|
98
|
-
import {
|
|
99
|
-
EndpointsInputConfig,
|
|
100
|
-
EndpointsResolvedConfig,
|
|
101
|
-
RegionInputConfig,
|
|
102
|
-
RegionResolvedConfig,
|
|
103
|
-
resolveEndpointsConfig,
|
|
104
|
-
resolveRegionConfig,
|
|
105
|
-
} from "@aws-sdk/config-resolver";
|
|
106
|
-
import { getContentLengthPlugin } from "@aws-sdk/middleware-content-length";
|
|
107
|
-
import {
|
|
108
|
-
HostHeaderInputConfig,
|
|
109
|
-
HostHeaderResolvedConfig,
|
|
110
|
-
getHostHeaderPlugin,
|
|
111
|
-
resolveHostHeaderConfig,
|
|
112
|
-
} from "@aws-sdk/middleware-host-header";
|
|
113
|
-
import { getLoggerPlugin } from "@aws-sdk/middleware-logger";
|
|
114
|
-
import { RetryInputConfig, RetryResolvedConfig, getRetryPlugin, resolveRetryConfig } from "@aws-sdk/middleware-retry";
|
|
115
|
-
import {
|
|
116
|
-
AwsAuthInputConfig,
|
|
117
|
-
AwsAuthResolvedConfig,
|
|
118
|
-
getAwsAuthPlugin,
|
|
119
|
-
resolveAwsAuthConfig,
|
|
120
|
-
} from "@aws-sdk/middleware-signing";
|
|
121
|
-
import {
|
|
122
|
-
UserAgentInputConfig,
|
|
123
|
-
UserAgentResolvedConfig,
|
|
124
|
-
getUserAgentPlugin,
|
|
125
|
-
resolveUserAgentConfig,
|
|
126
|
-
} from "@aws-sdk/middleware-user-agent";
|
|
127
|
-
import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
|
|
128
|
-
import {
|
|
129
|
-
Client as __Client,
|
|
130
|
-
SmithyConfiguration as __SmithyConfiguration,
|
|
131
|
-
SmithyResolvedConfiguration as __SmithyResolvedConfiguration,
|
|
132
|
-
} from "@aws-sdk/smithy-client";
|
|
133
|
-
import {
|
|
134
|
-
Provider,
|
|
135
|
-
RegionInfoProvider,
|
|
136
|
-
Credentials as __Credentials,
|
|
137
|
-
Decoder as __Decoder,
|
|
138
|
-
Encoder as __Encoder,
|
|
139
|
-
Hash as __Hash,
|
|
140
|
-
HashConstructor as __HashConstructor,
|
|
141
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
142
|
-
Logger as __Logger,
|
|
143
|
-
Provider as __Provider,
|
|
144
|
-
StreamCollector as __StreamCollector,
|
|
145
|
-
UrlParser as __UrlParser,
|
|
146
|
-
UserAgent as __UserAgent,
|
|
147
|
-
} from "@aws-sdk/types";
|
|
148
|
-
|
|
149
|
-
export type ServiceInputTypes =
|
|
150
|
-
| CreateAnomalyMonitorCommandInput
|
|
151
|
-
| CreateAnomalySubscriptionCommandInput
|
|
152
|
-
| CreateCostCategoryDefinitionCommandInput
|
|
153
|
-
| DeleteAnomalyMonitorCommandInput
|
|
154
|
-
| DeleteAnomalySubscriptionCommandInput
|
|
155
|
-
| DeleteCostCategoryDefinitionCommandInput
|
|
156
|
-
| DescribeCostCategoryDefinitionCommandInput
|
|
157
|
-
| GetAnomaliesCommandInput
|
|
158
|
-
| GetAnomalyMonitorsCommandInput
|
|
159
|
-
| GetAnomalySubscriptionsCommandInput
|
|
160
|
-
| GetCostAndUsageCommandInput
|
|
161
|
-
| GetCostAndUsageWithResourcesCommandInput
|
|
162
|
-
| GetCostCategoriesCommandInput
|
|
163
|
-
| GetCostForecastCommandInput
|
|
164
|
-
| GetDimensionValuesCommandInput
|
|
165
|
-
| GetReservationCoverageCommandInput
|
|
166
|
-
| GetReservationPurchaseRecommendationCommandInput
|
|
167
|
-
| GetReservationUtilizationCommandInput
|
|
168
|
-
| GetRightsizingRecommendationCommandInput
|
|
169
|
-
| GetSavingsPlansCoverageCommandInput
|
|
170
|
-
| GetSavingsPlansPurchaseRecommendationCommandInput
|
|
171
|
-
| GetSavingsPlansUtilizationCommandInput
|
|
172
|
-
| GetSavingsPlansUtilizationDetailsCommandInput
|
|
173
|
-
| GetTagsCommandInput
|
|
174
|
-
| GetUsageForecastCommandInput
|
|
175
|
-
| ListCostCategoryDefinitionsCommandInput
|
|
176
|
-
| ProvideAnomalyFeedbackCommandInput
|
|
177
|
-
| UpdateAnomalyMonitorCommandInput
|
|
178
|
-
| UpdateAnomalySubscriptionCommandInput
|
|
179
|
-
| UpdateCostCategoryDefinitionCommandInput;
|
|
180
|
-
|
|
181
|
-
export type ServiceOutputTypes =
|
|
182
|
-
| CreateAnomalyMonitorCommandOutput
|
|
183
|
-
| CreateAnomalySubscriptionCommandOutput
|
|
184
|
-
| CreateCostCategoryDefinitionCommandOutput
|
|
185
|
-
| DeleteAnomalyMonitorCommandOutput
|
|
186
|
-
| DeleteAnomalySubscriptionCommandOutput
|
|
187
|
-
| DeleteCostCategoryDefinitionCommandOutput
|
|
188
|
-
| DescribeCostCategoryDefinitionCommandOutput
|
|
189
|
-
| GetAnomaliesCommandOutput
|
|
190
|
-
| GetAnomalyMonitorsCommandOutput
|
|
191
|
-
| GetAnomalySubscriptionsCommandOutput
|
|
192
|
-
| GetCostAndUsageCommandOutput
|
|
193
|
-
| GetCostAndUsageWithResourcesCommandOutput
|
|
194
|
-
| GetCostCategoriesCommandOutput
|
|
195
|
-
| GetCostForecastCommandOutput
|
|
196
|
-
| GetDimensionValuesCommandOutput
|
|
197
|
-
| GetReservationCoverageCommandOutput
|
|
198
|
-
| GetReservationPurchaseRecommendationCommandOutput
|
|
199
|
-
| GetReservationUtilizationCommandOutput
|
|
200
|
-
| GetRightsizingRecommendationCommandOutput
|
|
201
|
-
| GetSavingsPlansCoverageCommandOutput
|
|
202
|
-
| GetSavingsPlansPurchaseRecommendationCommandOutput
|
|
203
|
-
| GetSavingsPlansUtilizationCommandOutput
|
|
204
|
-
| GetSavingsPlansUtilizationDetailsCommandOutput
|
|
205
|
-
| GetTagsCommandOutput
|
|
206
|
-
| GetUsageForecastCommandOutput
|
|
207
|
-
| ListCostCategoryDefinitionsCommandOutput
|
|
208
|
-
| ProvideAnomalyFeedbackCommandOutput
|
|
209
|
-
| UpdateAnomalyMonitorCommandOutput
|
|
210
|
-
| UpdateAnomalySubscriptionCommandOutput
|
|
211
|
-
| UpdateCostCategoryDefinitionCommandOutput;
|
|
212
|
-
|
|
213
|
-
export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
|
|
214
|
-
/**
|
|
215
|
-
* The HTTP handler to use. Fetch in browser and Https in Nodejs.
|
|
216
|
-
*/
|
|
217
|
-
requestHandler?: __HttpHandler;
|
|
218
|
-
|
|
219
|
-
/**
|
|
220
|
-
* A constructor for a class implementing the {@link __Hash} interface
|
|
221
|
-
* that computes the SHA-256 HMAC or checksum of a string or binary buffer.
|
|
222
|
-
* @internal
|
|
223
|
-
*/
|
|
224
|
-
sha256?: __HashConstructor;
|
|
225
|
-
|
|
226
|
-
/**
|
|
227
|
-
* The function that will be used to convert strings into HTTP endpoints.
|
|
228
|
-
* @internal
|
|
229
|
-
*/
|
|
230
|
-
urlParser?: __UrlParser;
|
|
231
|
-
|
|
232
|
-
/**
|
|
233
|
-
* A function that can calculate the length of a request body.
|
|
234
|
-
* @internal
|
|
235
|
-
*/
|
|
236
|
-
bodyLengthChecker?: (body: any) => number | undefined;
|
|
237
|
-
|
|
238
|
-
/**
|
|
239
|
-
* A function that converts a stream into an array of bytes.
|
|
240
|
-
* @internal
|
|
241
|
-
*/
|
|
242
|
-
streamCollector?: __StreamCollector;
|
|
243
|
-
|
|
244
|
-
/**
|
|
245
|
-
* The function that will be used to convert a base64-encoded string to a byte array.
|
|
246
|
-
* @internal
|
|
247
|
-
*/
|
|
248
|
-
base64Decoder?: __Decoder;
|
|
249
|
-
|
|
250
|
-
/**
|
|
251
|
-
* The function that will be used to convert binary data to a base64-encoded string.
|
|
252
|
-
* @internal
|
|
253
|
-
*/
|
|
254
|
-
base64Encoder?: __Encoder;
|
|
255
|
-
|
|
256
|
-
/**
|
|
257
|
-
* The function that will be used to convert a UTF8-encoded string to a byte array.
|
|
258
|
-
* @internal
|
|
259
|
-
*/
|
|
260
|
-
utf8Decoder?: __Decoder;
|
|
261
|
-
|
|
262
|
-
/**
|
|
263
|
-
* The function that will be used to convert binary data to a UTF-8 encoded string.
|
|
264
|
-
* @internal
|
|
265
|
-
*/
|
|
266
|
-
utf8Encoder?: __Encoder;
|
|
267
|
-
|
|
268
|
-
/**
|
|
269
|
-
* The runtime environment.
|
|
270
|
-
* @internal
|
|
271
|
-
*/
|
|
272
|
-
runtime?: string;
|
|
273
|
-
|
|
274
|
-
/**
|
|
275
|
-
* Disable dyanamically changing the endpoint of the client based on the hostPrefix
|
|
276
|
-
* trait of an operation.
|
|
277
|
-
*/
|
|
278
|
-
disableHostPrefix?: boolean;
|
|
279
|
-
|
|
280
|
-
/**
|
|
281
|
-
* Value for how many times a request will be made at most in case of retry.
|
|
282
|
-
*/
|
|
283
|
-
maxAttempts?: number | __Provider<number>;
|
|
284
|
-
|
|
285
|
-
/**
|
|
286
|
-
* Specifies which retry algorithm to use.
|
|
287
|
-
*/
|
|
288
|
-
retryMode?: string | __Provider<string>;
|
|
289
|
-
|
|
290
|
-
/**
|
|
291
|
-
* Optional logger for logging debug/info/warn/error.
|
|
292
|
-
*/
|
|
293
|
-
logger?: __Logger;
|
|
294
|
-
|
|
295
|
-
/**
|
|
296
|
-
* Unique service identifier.
|
|
297
|
-
* @internal
|
|
298
|
-
*/
|
|
299
|
-
serviceId?: string;
|
|
300
|
-
|
|
301
|
-
/**
|
|
302
|
-
* The AWS region to which this client will send requests
|
|
303
|
-
*/
|
|
304
|
-
region?: string | __Provider<string>;
|
|
305
|
-
|
|
306
|
-
/**
|
|
307
|
-
* Default credentials provider; Not available in browser runtime.
|
|
308
|
-
* @internal
|
|
309
|
-
*/
|
|
310
|
-
credentialDefaultProvider?: (input: any) => __Provider<__Credentials>;
|
|
311
|
-
|
|
312
|
-
/**
|
|
313
|
-
* Fetch related hostname, signing name or signing region with given region.
|
|
314
|
-
* @internal
|
|
315
|
-
*/
|
|
316
|
-
regionInfoProvider?: RegionInfoProvider;
|
|
317
|
-
|
|
318
|
-
/**
|
|
319
|
-
* The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header
|
|
320
|
-
* @internal
|
|
321
|
-
*/
|
|
322
|
-
defaultUserAgentProvider?: Provider<__UserAgent>;
|
|
323
|
-
}
|
|
324
|
-
|
|
325
|
-
type CostExplorerClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> &
|
|
326
|
-
ClientDefaults &
|
|
327
|
-
RegionInputConfig &
|
|
328
|
-
EndpointsInputConfig &
|
|
329
|
-
RetryInputConfig &
|
|
330
|
-
HostHeaderInputConfig &
|
|
331
|
-
AwsAuthInputConfig &
|
|
332
|
-
UserAgentInputConfig;
|
|
333
|
-
/**
|
|
334
|
-
* The configuration interface of CostExplorerClient class constructor that set the region, credentials and other options.
|
|
335
|
-
*/
|
|
336
|
-
export interface CostExplorerClientConfig extends CostExplorerClientConfigType {}
|
|
337
|
-
|
|
338
|
-
type CostExplorerClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> &
|
|
339
|
-
Required<ClientDefaults> &
|
|
340
|
-
RegionResolvedConfig &
|
|
341
|
-
EndpointsResolvedConfig &
|
|
342
|
-
RetryResolvedConfig &
|
|
343
|
-
HostHeaderResolvedConfig &
|
|
344
|
-
AwsAuthResolvedConfig &
|
|
345
|
-
UserAgentResolvedConfig;
|
|
346
|
-
/**
|
|
347
|
-
* The resolved configuration interface of CostExplorerClient class. This is resolved and normalized from the {@link CostExplorerClientConfig | constructor configuration interface}.
|
|
348
|
-
*/
|
|
349
|
-
export interface CostExplorerClientResolvedConfig extends CostExplorerClientResolvedConfigType {}
|
|
350
|
-
|
|
351
|
-
/**
|
|
352
|
-
* <p>You can use the Cost Explorer API to programmatically query your cost and usage data. You
|
|
353
|
-
* can query for aggregated data such as total monthly costs or total daily usage. You can also
|
|
354
|
-
* query for granular data. This might include the number of daily write operations for Amazon
|
|
355
|
-
* DynamoDB database tables in your production environment. </p>
|
|
356
|
-
* <p>Service Endpoint</p>
|
|
357
|
-
* <p>The Cost Explorer API provides the following endpoint:</p>
|
|
358
|
-
* <ul>
|
|
359
|
-
* <li>
|
|
360
|
-
* <p>
|
|
361
|
-
* <code>https://ce.us-east-1.amazonaws.com</code>
|
|
362
|
-
* </p>
|
|
363
|
-
* </li>
|
|
364
|
-
* </ul>
|
|
365
|
-
* <p>For information about the costs that are associated with the Cost Explorer API, see
|
|
366
|
-
* <a href="http://aws.amazon.com/aws-cost-management/pricing/">Amazon Web Services Cost
|
|
367
|
-
* Management Pricing</a>.</p>
|
|
368
|
-
*/
|
|
369
|
-
export class CostExplorerClient extends __Client<
|
|
370
|
-
__HttpHandlerOptions,
|
|
371
|
-
ServiceInputTypes,
|
|
372
|
-
ServiceOutputTypes,
|
|
373
|
-
CostExplorerClientResolvedConfig
|
|
374
|
-
> {
|
|
375
|
-
/**
|
|
376
|
-
* The resolved configuration of CostExplorerClient class. This is resolved and normalized from the {@link CostExplorerClientConfig | constructor configuration interface}.
|
|
377
|
-
*/
|
|
378
|
-
readonly config: CostExplorerClientResolvedConfig;
|
|
379
|
-
|
|
380
|
-
constructor(configuration: CostExplorerClientConfig) {
|
|
381
|
-
let _config_0 = __getRuntimeConfig(configuration);
|
|
382
|
-
let _config_1 = resolveRegionConfig(_config_0);
|
|
383
|
-
let _config_2 = resolveEndpointsConfig(_config_1);
|
|
384
|
-
let _config_3 = resolveRetryConfig(_config_2);
|
|
385
|
-
let _config_4 = resolveHostHeaderConfig(_config_3);
|
|
386
|
-
let _config_5 = resolveAwsAuthConfig(_config_4);
|
|
387
|
-
let _config_6 = resolveUserAgentConfig(_config_5);
|
|
388
|
-
super(_config_6);
|
|
389
|
-
this.config = _config_6;
|
|
390
|
-
this.middlewareStack.use(getRetryPlugin(this.config));
|
|
391
|
-
this.middlewareStack.use(getContentLengthPlugin(this.config));
|
|
392
|
-
this.middlewareStack.use(getHostHeaderPlugin(this.config));
|
|
393
|
-
this.middlewareStack.use(getLoggerPlugin(this.config));
|
|
394
|
-
this.middlewareStack.use(getAwsAuthPlugin(this.config));
|
|
395
|
-
this.middlewareStack.use(getUserAgentPlugin(this.config));
|
|
396
|
-
}
|
|
397
|
-
|
|
398
|
-
/**
|
|
399
|
-
* Destroy underlying resources, like sockets. It's usually not necessary to do this.
|
|
400
|
-
* However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.
|
|
401
|
-
* Otherwise, sockets might stay open for quite a long time before the server terminates them.
|
|
402
|
-
*/
|
|
403
|
-
destroy(): void {
|
|
404
|
-
super.destroy();
|
|
405
|
-
}
|
|
406
|
-
}
|
|
@@ -1,95 +0,0 @@
|
|
|
1
|
-
import { CostExplorerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CostExplorerClient";
|
|
2
|
-
import { CreateAnomalyMonitorRequest, CreateAnomalyMonitorResponse } from "../models/models_0";
|
|
3
|
-
import {
|
|
4
|
-
deserializeAws_json1_1CreateAnomalyMonitorCommand,
|
|
5
|
-
serializeAws_json1_1CreateAnomalyMonitorCommand,
|
|
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 CreateAnomalyMonitorCommandInput extends CreateAnomalyMonitorRequest {}
|
|
21
|
-
export interface CreateAnomalyMonitorCommandOutput extends CreateAnomalyMonitorResponse, __MetadataBearer {}
|
|
22
|
-
|
|
23
|
-
/**
|
|
24
|
-
* <p>Creates a new cost anomaly detection monitor with the requested type and monitor
|
|
25
|
-
* specification. </p>
|
|
26
|
-
* @example
|
|
27
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
28
|
-
* ```javascript
|
|
29
|
-
* import { CostExplorerClient, CreateAnomalyMonitorCommand } from "@aws-sdk/client-cost-explorer"; // ES Modules import
|
|
30
|
-
* // const { CostExplorerClient, CreateAnomalyMonitorCommand } = require("@aws-sdk/client-cost-explorer"); // CommonJS import
|
|
31
|
-
* const client = new CostExplorerClient(config);
|
|
32
|
-
* const command = new CreateAnomalyMonitorCommand(input);
|
|
33
|
-
* const response = await client.send(command);
|
|
34
|
-
* ```
|
|
35
|
-
*
|
|
36
|
-
* @see {@link CreateAnomalyMonitorCommandInput} for command's `input` shape.
|
|
37
|
-
* @see {@link CreateAnomalyMonitorCommandOutput} for command's `response` shape.
|
|
38
|
-
* @see {@link CostExplorerClientResolvedConfig | config} for command's `input` shape.
|
|
39
|
-
*
|
|
40
|
-
*/
|
|
41
|
-
export class CreateAnomalyMonitorCommand extends $Command<
|
|
42
|
-
CreateAnomalyMonitorCommandInput,
|
|
43
|
-
CreateAnomalyMonitorCommandOutput,
|
|
44
|
-
CostExplorerClientResolvedConfig
|
|
45
|
-
> {
|
|
46
|
-
// Start section: command_properties
|
|
47
|
-
// End section: command_properties
|
|
48
|
-
|
|
49
|
-
constructor(readonly input: CreateAnomalyMonitorCommandInput) {
|
|
50
|
-
// Start section: command_constructor
|
|
51
|
-
super();
|
|
52
|
-
// End section: command_constructor
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
/**
|
|
56
|
-
* @internal
|
|
57
|
-
*/
|
|
58
|
-
resolveMiddleware(
|
|
59
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
60
|
-
configuration: CostExplorerClientResolvedConfig,
|
|
61
|
-
options?: __HttpHandlerOptions
|
|
62
|
-
): Handler<CreateAnomalyMonitorCommandInput, CreateAnomalyMonitorCommandOutput> {
|
|
63
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
64
|
-
|
|
65
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
66
|
-
|
|
67
|
-
const { logger } = configuration;
|
|
68
|
-
const clientName = "CostExplorerClient";
|
|
69
|
-
const commandName = "CreateAnomalyMonitorCommand";
|
|
70
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
71
|
-
logger,
|
|
72
|
-
clientName,
|
|
73
|
-
commandName,
|
|
74
|
-
inputFilterSensitiveLog: CreateAnomalyMonitorRequest.filterSensitiveLog,
|
|
75
|
-
outputFilterSensitiveLog: CreateAnomalyMonitorResponse.filterSensitiveLog,
|
|
76
|
-
};
|
|
77
|
-
const { requestHandler } = configuration;
|
|
78
|
-
return stack.resolve(
|
|
79
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
80
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
81
|
-
handlerExecutionContext
|
|
82
|
-
);
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
private serialize(input: CreateAnomalyMonitorCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
86
|
-
return serializeAws_json1_1CreateAnomalyMonitorCommand(input, context);
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<CreateAnomalyMonitorCommandOutput> {
|
|
90
|
-
return deserializeAws_json1_1CreateAnomalyMonitorCommand(output, context);
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
// Start section: command_body_extra
|
|
94
|
-
// End section: command_body_extra
|
|
95
|
-
}
|
|
@@ -1,99 +0,0 @@
|
|
|
1
|
-
import { CostExplorerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CostExplorerClient";
|
|
2
|
-
import { CreateAnomalySubscriptionRequest, CreateAnomalySubscriptionResponse } from "../models/models_0";
|
|
3
|
-
import {
|
|
4
|
-
deserializeAws_json1_1CreateAnomalySubscriptionCommand,
|
|
5
|
-
serializeAws_json1_1CreateAnomalySubscriptionCommand,
|
|
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 CreateAnomalySubscriptionCommandInput extends CreateAnomalySubscriptionRequest {}
|
|
21
|
-
export interface CreateAnomalySubscriptionCommandOutput extends CreateAnomalySubscriptionResponse, __MetadataBearer {}
|
|
22
|
-
|
|
23
|
-
/**
|
|
24
|
-
* <p>Adds a subscription to a cost anomaly detection monitor. You can use each subscription to
|
|
25
|
-
* define subscribers with email or SNS notifications. Email subscribers can set a dollar
|
|
26
|
-
* threshold and a time frequency for receiving notifications. </p>
|
|
27
|
-
* @example
|
|
28
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
29
|
-
* ```javascript
|
|
30
|
-
* import { CostExplorerClient, CreateAnomalySubscriptionCommand } from "@aws-sdk/client-cost-explorer"; // ES Modules import
|
|
31
|
-
* // const { CostExplorerClient, CreateAnomalySubscriptionCommand } = require("@aws-sdk/client-cost-explorer"); // CommonJS import
|
|
32
|
-
* const client = new CostExplorerClient(config);
|
|
33
|
-
* const command = new CreateAnomalySubscriptionCommand(input);
|
|
34
|
-
* const response = await client.send(command);
|
|
35
|
-
* ```
|
|
36
|
-
*
|
|
37
|
-
* @see {@link CreateAnomalySubscriptionCommandInput} for command's `input` shape.
|
|
38
|
-
* @see {@link CreateAnomalySubscriptionCommandOutput} for command's `response` shape.
|
|
39
|
-
* @see {@link CostExplorerClientResolvedConfig | config} for command's `input` shape.
|
|
40
|
-
*
|
|
41
|
-
*/
|
|
42
|
-
export class CreateAnomalySubscriptionCommand extends $Command<
|
|
43
|
-
CreateAnomalySubscriptionCommandInput,
|
|
44
|
-
CreateAnomalySubscriptionCommandOutput,
|
|
45
|
-
CostExplorerClientResolvedConfig
|
|
46
|
-
> {
|
|
47
|
-
// Start section: command_properties
|
|
48
|
-
// End section: command_properties
|
|
49
|
-
|
|
50
|
-
constructor(readonly input: CreateAnomalySubscriptionCommandInput) {
|
|
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<CreateAnomalySubscriptionCommandInput, CreateAnomalySubscriptionCommandOutput> {
|
|
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 = "CreateAnomalySubscriptionCommand";
|
|
71
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
72
|
-
logger,
|
|
73
|
-
clientName,
|
|
74
|
-
commandName,
|
|
75
|
-
inputFilterSensitiveLog: CreateAnomalySubscriptionRequest.filterSensitiveLog,
|
|
76
|
-
outputFilterSensitiveLog: CreateAnomalySubscriptionResponse.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: CreateAnomalySubscriptionCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
87
|
-
return serializeAws_json1_1CreateAnomalySubscriptionCommand(input, context);
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
private deserialize(
|
|
91
|
-
output: __HttpResponse,
|
|
92
|
-
context: __SerdeContext
|
|
93
|
-
): Promise<CreateAnomalySubscriptionCommandOutput> {
|
|
94
|
-
return deserializeAws_json1_1CreateAnomalySubscriptionCommand(output, context);
|
|
95
|
-
}
|
|
96
|
-
|
|
97
|
-
// Start section: command_body_extra
|
|
98
|
-
// End section: command_body_extra
|
|
99
|
-
}
|