@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/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,53 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [3.37.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.36.1...v3.37.0) (2021-10-15)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* **clients:** update clients as of 10/15/2021 ([#2902](https://github.com/aws/aws-sdk-js-v3/issues/2902)) ([2730b54](https://github.com/aws/aws-sdk-js-v3/commit/2730b5424377944a5a2ad5e1ad7d3ca4135dae1c))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
## [3.36.1](https://github.com/aws/aws-sdk-js-v3/compare/v3.36.0...v3.36.1) (2021-10-12)
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
### Bug Fixes
|
|
21
|
+
|
|
22
|
+
* **clients:** emitDeclarationOnly in tsconfig.types.json ([#2893](https://github.com/aws/aws-sdk-js-v3/issues/2893)) ([6dc3d56](https://github.com/aws/aws-sdk-js-v3/commit/6dc3d56c20809c90cbdc4dd48627eeebc64af99d))
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
# [3.36.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.35.0...v3.36.0) (2021-10-08)
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
### Features
|
|
32
|
+
|
|
33
|
+
* publish files in dist-* only ([#2873](https://github.com/aws/aws-sdk-js-v3/issues/2873)) ([53b4243](https://github.com/aws/aws-sdk-js-v3/commit/53b4243b066f25ff2412d5f0dea1036054b2df32))
|
|
34
|
+
* **codegen:** ts-ignore packageInfo imports in codegen ([#2875](https://github.com/aws/aws-sdk-js-v3/issues/2875)) ([99d9267](https://github.com/aws/aws-sdk-js-v3/commit/99d926762193e83a354edec6e9de2b0543449704))
|
|
35
|
+
* **tsconfig:** remove sourceMap ([#2867](https://github.com/aws/aws-sdk-js-v3/issues/2867)) ([d25f526](https://github.com/aws/aws-sdk-js-v3/commit/d25f526627a02a2ca28675fecce66c76b6c97966))
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
|
|
39
|
+
|
|
40
|
+
|
|
41
|
+
# [3.35.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.34.0...v3.35.0) (2021-10-04)
|
|
42
|
+
|
|
43
|
+
|
|
44
|
+
### Features
|
|
45
|
+
|
|
46
|
+
* **clients:** eslint --fix using esprint ([#2849](https://github.com/aws/aws-sdk-js-v3/issues/2849)) ([94d0a2d](https://github.com/aws/aws-sdk-js-v3/commit/94d0a2d8a0579ee0a742337937ad05735cfbc1ba))
|
|
47
|
+
* **clients:** move source files to 'src' folder ([#2845](https://github.com/aws/aws-sdk-js-v3/issues/2845)) ([e0025cd](https://github.com/aws/aws-sdk-js-v3/commit/e0025cddbba244a41ddf1fd1adb761142e15c22d))
|
|
48
|
+
|
|
49
|
+
|
|
50
|
+
|
|
51
|
+
|
|
52
|
+
|
|
6
53
|
# [3.34.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.33.0...v3.34.0) (2021-09-24)
|
|
7
54
|
|
|
8
55
|
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.CostExplorer = void 0;
|
|
4
|
-
const CostExplorerClient_1 = require("./CostExplorerClient");
|
|
5
4
|
const CreateAnomalyMonitorCommand_1 = require("./commands/CreateAnomalyMonitorCommand");
|
|
6
5
|
const CreateAnomalySubscriptionCommand_1 = require("./commands/CreateAnomalySubscriptionCommand");
|
|
7
6
|
const CreateCostCategoryDefinitionCommand_1 = require("./commands/CreateCostCategoryDefinitionCommand");
|
|
@@ -32,24 +31,7 @@ const ProvideAnomalyFeedbackCommand_1 = require("./commands/ProvideAnomalyFeedba
|
|
|
32
31
|
const UpdateAnomalyMonitorCommand_1 = require("./commands/UpdateAnomalyMonitorCommand");
|
|
33
32
|
const UpdateAnomalySubscriptionCommand_1 = require("./commands/UpdateAnomalySubscriptionCommand");
|
|
34
33
|
const UpdateCostCategoryDefinitionCommand_1 = require("./commands/UpdateCostCategoryDefinitionCommand");
|
|
35
|
-
|
|
36
|
-
* <p>You can use the Cost Explorer API to programmatically query your cost and usage data. You
|
|
37
|
-
* can query for aggregated data such as total monthly costs or total daily usage. You can also
|
|
38
|
-
* query for granular data. This might include the number of daily write operations for Amazon
|
|
39
|
-
* DynamoDB database tables in your production environment. </p>
|
|
40
|
-
* <p>Service Endpoint</p>
|
|
41
|
-
* <p>The Cost Explorer API provides the following endpoint:</p>
|
|
42
|
-
* <ul>
|
|
43
|
-
* <li>
|
|
44
|
-
* <p>
|
|
45
|
-
* <code>https://ce.us-east-1.amazonaws.com</code>
|
|
46
|
-
* </p>
|
|
47
|
-
* </li>
|
|
48
|
-
* </ul>
|
|
49
|
-
* <p>For information about the costs that are associated with the Cost Explorer API, see
|
|
50
|
-
* <a href="http://aws.amazon.com/aws-cost-management/pricing/">Amazon Web Services Cost
|
|
51
|
-
* Management Pricing</a>.</p>
|
|
52
|
-
*/
|
|
34
|
+
const CostExplorerClient_1 = require("./CostExplorerClient");
|
|
53
35
|
class CostExplorer extends CostExplorerClient_1.CostExplorerClient {
|
|
54
36
|
createAnomalyMonitor(args, optionsOrCb, cb) {
|
|
55
37
|
const command = new CreateAnomalyMonitorCommand_1.CreateAnomalyMonitorCommand(args);
|
|
@@ -473,4 +455,3 @@ class CostExplorer extends CostExplorerClient_1.CostExplorerClient {
|
|
|
473
455
|
}
|
|
474
456
|
}
|
|
475
457
|
exports.CostExplorer = CostExplorer;
|
|
476
|
-
//# sourceMappingURL=CostExplorer.js.map
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.CostExplorerClient = void 0;
|
|
4
|
+
const config_resolver_1 = require("@aws-sdk/config-resolver");
|
|
5
|
+
const middleware_content_length_1 = require("@aws-sdk/middleware-content-length");
|
|
6
|
+
const middleware_host_header_1 = require("@aws-sdk/middleware-host-header");
|
|
7
|
+
const middleware_logger_1 = require("@aws-sdk/middleware-logger");
|
|
8
|
+
const middleware_retry_1 = require("@aws-sdk/middleware-retry");
|
|
9
|
+
const middleware_signing_1 = require("@aws-sdk/middleware-signing");
|
|
10
|
+
const middleware_user_agent_1 = require("@aws-sdk/middleware-user-agent");
|
|
11
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
12
|
+
const runtimeConfig_1 = require("./runtimeConfig");
|
|
13
|
+
class CostExplorerClient extends smithy_client_1.Client {
|
|
14
|
+
constructor(configuration) {
|
|
15
|
+
const _config_0 = runtimeConfig_1.getRuntimeConfig(configuration);
|
|
16
|
+
const _config_1 = config_resolver_1.resolveRegionConfig(_config_0);
|
|
17
|
+
const _config_2 = config_resolver_1.resolveEndpointsConfig(_config_1);
|
|
18
|
+
const _config_3 = middleware_retry_1.resolveRetryConfig(_config_2);
|
|
19
|
+
const _config_4 = middleware_host_header_1.resolveHostHeaderConfig(_config_3);
|
|
20
|
+
const _config_5 = middleware_signing_1.resolveAwsAuthConfig(_config_4);
|
|
21
|
+
const _config_6 = middleware_user_agent_1.resolveUserAgentConfig(_config_5);
|
|
22
|
+
super(_config_6);
|
|
23
|
+
this.config = _config_6;
|
|
24
|
+
this.middlewareStack.use(middleware_retry_1.getRetryPlugin(this.config));
|
|
25
|
+
this.middlewareStack.use(middleware_content_length_1.getContentLengthPlugin(this.config));
|
|
26
|
+
this.middlewareStack.use(middleware_host_header_1.getHostHeaderPlugin(this.config));
|
|
27
|
+
this.middlewareStack.use(middleware_logger_1.getLoggerPlugin(this.config));
|
|
28
|
+
this.middlewareStack.use(middleware_signing_1.getAwsAuthPlugin(this.config));
|
|
29
|
+
this.middlewareStack.use(middleware_user_agent_1.getUserAgentPlugin(this.config));
|
|
30
|
+
}
|
|
31
|
+
destroy() {
|
|
32
|
+
super.destroy();
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
exports.CostExplorerClient = CostExplorerClient;
|
|
@@ -1,40 +1,15 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.CreateAnomalyMonitorCommand = void 0;
|
|
4
|
-
const models_0_1 = require("../models/models_0");
|
|
5
|
-
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
6
4
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
7
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
* specification. </p>
|
|
11
|
-
* @example
|
|
12
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
13
|
-
* ```javascript
|
|
14
|
-
* import { CostExplorerClient, CreateAnomalyMonitorCommand } from "@aws-sdk/client-cost-explorer"; // ES Modules import
|
|
15
|
-
* // const { CostExplorerClient, CreateAnomalyMonitorCommand } = require("@aws-sdk/client-cost-explorer"); // CommonJS import
|
|
16
|
-
* const client = new CostExplorerClient(config);
|
|
17
|
-
* const command = new CreateAnomalyMonitorCommand(input);
|
|
18
|
-
* const response = await client.send(command);
|
|
19
|
-
* ```
|
|
20
|
-
*
|
|
21
|
-
* @see {@link CreateAnomalyMonitorCommandInput} for command's `input` shape.
|
|
22
|
-
* @see {@link CreateAnomalyMonitorCommandOutput} for command's `response` shape.
|
|
23
|
-
* @see {@link CostExplorerClientResolvedConfig | config} for command's `input` shape.
|
|
24
|
-
*
|
|
25
|
-
*/
|
|
6
|
+
const models_0_1 = require("../models/models_0");
|
|
7
|
+
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
26
8
|
class CreateAnomalyMonitorCommand extends smithy_client_1.Command {
|
|
27
|
-
// Start section: command_properties
|
|
28
|
-
// End section: command_properties
|
|
29
9
|
constructor(input) {
|
|
30
|
-
// Start section: command_constructor
|
|
31
10
|
super();
|
|
32
11
|
this.input = input;
|
|
33
|
-
// End section: command_constructor
|
|
34
12
|
}
|
|
35
|
-
/**
|
|
36
|
-
* @internal
|
|
37
|
-
*/
|
|
38
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
39
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
40
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -59,4 +34,3 @@ class CreateAnomalyMonitorCommand extends smithy_client_1.Command {
|
|
|
59
34
|
}
|
|
60
35
|
}
|
|
61
36
|
exports.CreateAnomalyMonitorCommand = CreateAnomalyMonitorCommand;
|
|
62
|
-
//# sourceMappingURL=CreateAnomalyMonitorCommand.js.map
|
|
@@ -1,41 +1,15 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.CreateAnomalySubscriptionCommand = void 0;
|
|
4
|
-
const models_0_1 = require("../models/models_0");
|
|
5
|
-
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
6
4
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
7
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
* define subscribers with email or SNS notifications. Email subscribers can set a dollar
|
|
11
|
-
* threshold and a time frequency for receiving notifications. </p>
|
|
12
|
-
* @example
|
|
13
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
14
|
-
* ```javascript
|
|
15
|
-
* import { CostExplorerClient, CreateAnomalySubscriptionCommand } from "@aws-sdk/client-cost-explorer"; // ES Modules import
|
|
16
|
-
* // const { CostExplorerClient, CreateAnomalySubscriptionCommand } = require("@aws-sdk/client-cost-explorer"); // CommonJS import
|
|
17
|
-
* const client = new CostExplorerClient(config);
|
|
18
|
-
* const command = new CreateAnomalySubscriptionCommand(input);
|
|
19
|
-
* const response = await client.send(command);
|
|
20
|
-
* ```
|
|
21
|
-
*
|
|
22
|
-
* @see {@link CreateAnomalySubscriptionCommandInput} for command's `input` shape.
|
|
23
|
-
* @see {@link CreateAnomalySubscriptionCommandOutput} for command's `response` shape.
|
|
24
|
-
* @see {@link CostExplorerClientResolvedConfig | config} for command's `input` shape.
|
|
25
|
-
*
|
|
26
|
-
*/
|
|
6
|
+
const models_0_1 = require("../models/models_0");
|
|
7
|
+
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
27
8
|
class CreateAnomalySubscriptionCommand extends smithy_client_1.Command {
|
|
28
|
-
// Start section: command_properties
|
|
29
|
-
// End section: command_properties
|
|
30
9
|
constructor(input) {
|
|
31
|
-
// Start section: command_constructor
|
|
32
10
|
super();
|
|
33
11
|
this.input = input;
|
|
34
|
-
// End section: command_constructor
|
|
35
12
|
}
|
|
36
|
-
/**
|
|
37
|
-
* @internal
|
|
38
|
-
*/
|
|
39
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
40
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
41
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -60,4 +34,3 @@ class CreateAnomalySubscriptionCommand extends smithy_client_1.Command {
|
|
|
60
34
|
}
|
|
61
35
|
}
|
|
62
36
|
exports.CreateAnomalySubscriptionCommand = CreateAnomalySubscriptionCommand;
|
|
63
|
-
//# sourceMappingURL=CreateAnomalySubscriptionCommand.js.map
|
|
@@ -1,39 +1,15 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.CreateCostCategoryDefinitionCommand = void 0;
|
|
4
|
-
const models_0_1 = require("../models/models_0");
|
|
5
|
-
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
6
4
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
7
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
* @example
|
|
11
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
12
|
-
* ```javascript
|
|
13
|
-
* import { CostExplorerClient, CreateCostCategoryDefinitionCommand } from "@aws-sdk/client-cost-explorer"; // ES Modules import
|
|
14
|
-
* // const { CostExplorerClient, CreateCostCategoryDefinitionCommand } = require("@aws-sdk/client-cost-explorer"); // CommonJS import
|
|
15
|
-
* const client = new CostExplorerClient(config);
|
|
16
|
-
* const command = new CreateCostCategoryDefinitionCommand(input);
|
|
17
|
-
* const response = await client.send(command);
|
|
18
|
-
* ```
|
|
19
|
-
*
|
|
20
|
-
* @see {@link CreateCostCategoryDefinitionCommandInput} for command's `input` shape.
|
|
21
|
-
* @see {@link CreateCostCategoryDefinitionCommandOutput} for command's `response` shape.
|
|
22
|
-
* @see {@link CostExplorerClientResolvedConfig | config} for command's `input` shape.
|
|
23
|
-
*
|
|
24
|
-
*/
|
|
6
|
+
const models_0_1 = require("../models/models_0");
|
|
7
|
+
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
25
8
|
class CreateCostCategoryDefinitionCommand extends smithy_client_1.Command {
|
|
26
|
-
// Start section: command_properties
|
|
27
|
-
// End section: command_properties
|
|
28
9
|
constructor(input) {
|
|
29
|
-
// Start section: command_constructor
|
|
30
10
|
super();
|
|
31
11
|
this.input = input;
|
|
32
|
-
// End section: command_constructor
|
|
33
12
|
}
|
|
34
|
-
/**
|
|
35
|
-
* @internal
|
|
36
|
-
*/
|
|
37
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
38
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
39
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -58,4 +34,3 @@ class CreateCostCategoryDefinitionCommand extends smithy_client_1.Command {
|
|
|
58
34
|
}
|
|
59
35
|
}
|
|
60
36
|
exports.CreateCostCategoryDefinitionCommand = CreateCostCategoryDefinitionCommand;
|
|
61
|
-
//# sourceMappingURL=CreateCostCategoryDefinitionCommand.js.map
|
|
@@ -1,39 +1,15 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.DeleteAnomalyMonitorCommand = void 0;
|
|
4
|
-
const models_0_1 = require("../models/models_0");
|
|
5
|
-
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
6
4
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
7
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
* @example
|
|
11
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
12
|
-
* ```javascript
|
|
13
|
-
* import { CostExplorerClient, DeleteAnomalyMonitorCommand } from "@aws-sdk/client-cost-explorer"; // ES Modules import
|
|
14
|
-
* // const { CostExplorerClient, DeleteAnomalyMonitorCommand } = require("@aws-sdk/client-cost-explorer"); // CommonJS import
|
|
15
|
-
* const client = new CostExplorerClient(config);
|
|
16
|
-
* const command = new DeleteAnomalyMonitorCommand(input);
|
|
17
|
-
* const response = await client.send(command);
|
|
18
|
-
* ```
|
|
19
|
-
*
|
|
20
|
-
* @see {@link DeleteAnomalyMonitorCommandInput} for command's `input` shape.
|
|
21
|
-
* @see {@link DeleteAnomalyMonitorCommandOutput} for command's `response` shape.
|
|
22
|
-
* @see {@link CostExplorerClientResolvedConfig | config} for command's `input` shape.
|
|
23
|
-
*
|
|
24
|
-
*/
|
|
6
|
+
const models_0_1 = require("../models/models_0");
|
|
7
|
+
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
25
8
|
class DeleteAnomalyMonitorCommand extends smithy_client_1.Command {
|
|
26
|
-
// Start section: command_properties
|
|
27
|
-
// End section: command_properties
|
|
28
9
|
constructor(input) {
|
|
29
|
-
// Start section: command_constructor
|
|
30
10
|
super();
|
|
31
11
|
this.input = input;
|
|
32
|
-
// End section: command_constructor
|
|
33
12
|
}
|
|
34
|
-
/**
|
|
35
|
-
* @internal
|
|
36
|
-
*/
|
|
37
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
38
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
39
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -58,4 +34,3 @@ class DeleteAnomalyMonitorCommand extends smithy_client_1.Command {
|
|
|
58
34
|
}
|
|
59
35
|
}
|
|
60
36
|
exports.DeleteAnomalyMonitorCommand = DeleteAnomalyMonitorCommand;
|
|
61
|
-
//# sourceMappingURL=DeleteAnomalyMonitorCommand.js.map
|
|
@@ -1,39 +1,15 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.DeleteAnomalySubscriptionCommand = void 0;
|
|
4
|
-
const models_0_1 = require("../models/models_0");
|
|
5
|
-
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
6
4
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
7
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
* @example
|
|
11
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
12
|
-
* ```javascript
|
|
13
|
-
* import { CostExplorerClient, DeleteAnomalySubscriptionCommand } from "@aws-sdk/client-cost-explorer"; // ES Modules import
|
|
14
|
-
* // const { CostExplorerClient, DeleteAnomalySubscriptionCommand } = require("@aws-sdk/client-cost-explorer"); // CommonJS import
|
|
15
|
-
* const client = new CostExplorerClient(config);
|
|
16
|
-
* const command = new DeleteAnomalySubscriptionCommand(input);
|
|
17
|
-
* const response = await client.send(command);
|
|
18
|
-
* ```
|
|
19
|
-
*
|
|
20
|
-
* @see {@link DeleteAnomalySubscriptionCommandInput} for command's `input` shape.
|
|
21
|
-
* @see {@link DeleteAnomalySubscriptionCommandOutput} for command's `response` shape.
|
|
22
|
-
* @see {@link CostExplorerClientResolvedConfig | config} for command's `input` shape.
|
|
23
|
-
*
|
|
24
|
-
*/
|
|
6
|
+
const models_0_1 = require("../models/models_0");
|
|
7
|
+
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
25
8
|
class DeleteAnomalySubscriptionCommand extends smithy_client_1.Command {
|
|
26
|
-
// Start section: command_properties
|
|
27
|
-
// End section: command_properties
|
|
28
9
|
constructor(input) {
|
|
29
|
-
// Start section: command_constructor
|
|
30
10
|
super();
|
|
31
11
|
this.input = input;
|
|
32
|
-
// End section: command_constructor
|
|
33
12
|
}
|
|
34
|
-
/**
|
|
35
|
-
* @internal
|
|
36
|
-
*/
|
|
37
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
38
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
39
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -58,4 +34,3 @@ class DeleteAnomalySubscriptionCommand extends smithy_client_1.Command {
|
|
|
58
34
|
}
|
|
59
35
|
}
|
|
60
36
|
exports.DeleteAnomalySubscriptionCommand = DeleteAnomalySubscriptionCommand;
|
|
61
|
-
//# sourceMappingURL=DeleteAnomalySubscriptionCommand.js.map
|
|
@@ -1,39 +1,15 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.DeleteCostCategoryDefinitionCommand = void 0;
|
|
4
|
-
const models_0_1 = require("../models/models_0");
|
|
5
|
-
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
6
4
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
7
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
* @example
|
|
11
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
12
|
-
* ```javascript
|
|
13
|
-
* import { CostExplorerClient, DeleteCostCategoryDefinitionCommand } from "@aws-sdk/client-cost-explorer"; // ES Modules import
|
|
14
|
-
* // const { CostExplorerClient, DeleteCostCategoryDefinitionCommand } = require("@aws-sdk/client-cost-explorer"); // CommonJS import
|
|
15
|
-
* const client = new CostExplorerClient(config);
|
|
16
|
-
* const command = new DeleteCostCategoryDefinitionCommand(input);
|
|
17
|
-
* const response = await client.send(command);
|
|
18
|
-
* ```
|
|
19
|
-
*
|
|
20
|
-
* @see {@link DeleteCostCategoryDefinitionCommandInput} for command's `input` shape.
|
|
21
|
-
* @see {@link DeleteCostCategoryDefinitionCommandOutput} for command's `response` shape.
|
|
22
|
-
* @see {@link CostExplorerClientResolvedConfig | config} for command's `input` shape.
|
|
23
|
-
*
|
|
24
|
-
*/
|
|
6
|
+
const models_0_1 = require("../models/models_0");
|
|
7
|
+
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
25
8
|
class DeleteCostCategoryDefinitionCommand extends smithy_client_1.Command {
|
|
26
|
-
// Start section: command_properties
|
|
27
|
-
// End section: command_properties
|
|
28
9
|
constructor(input) {
|
|
29
|
-
// Start section: command_constructor
|
|
30
10
|
super();
|
|
31
11
|
this.input = input;
|
|
32
|
-
// End section: command_constructor
|
|
33
12
|
}
|
|
34
|
-
/**
|
|
35
|
-
* @internal
|
|
36
|
-
*/
|
|
37
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
38
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
39
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -58,4 +34,3 @@ class DeleteCostCategoryDefinitionCommand extends smithy_client_1.Command {
|
|
|
58
34
|
}
|
|
59
35
|
}
|
|
60
36
|
exports.DeleteCostCategoryDefinitionCommand = DeleteCostCategoryDefinitionCommand;
|
|
61
|
-
//# sourceMappingURL=DeleteCostCategoryDefinitionCommand.js.map
|
|
@@ -1,40 +1,15 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.DescribeCostCategoryDefinitionCommand = void 0;
|
|
4
|
-
const models_0_1 = require("../models/models_0");
|
|
5
|
-
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
6
4
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
7
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
* <p>You have the option to use <code>EffectiveOn</code> to return a Cost Category that is active on a specific date. If there is no <code>EffectiveOn</code> specified, you’ll see a Cost Category that is effective on the current date. If Cost Category is still effective, <code>EffectiveEnd</code> is omitted in the response. </p>
|
|
11
|
-
* @example
|
|
12
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
13
|
-
* ```javascript
|
|
14
|
-
* import { CostExplorerClient, DescribeCostCategoryDefinitionCommand } from "@aws-sdk/client-cost-explorer"; // ES Modules import
|
|
15
|
-
* // const { CostExplorerClient, DescribeCostCategoryDefinitionCommand } = require("@aws-sdk/client-cost-explorer"); // CommonJS import
|
|
16
|
-
* const client = new CostExplorerClient(config);
|
|
17
|
-
* const command = new DescribeCostCategoryDefinitionCommand(input);
|
|
18
|
-
* const response = await client.send(command);
|
|
19
|
-
* ```
|
|
20
|
-
*
|
|
21
|
-
* @see {@link DescribeCostCategoryDefinitionCommandInput} for command's `input` shape.
|
|
22
|
-
* @see {@link DescribeCostCategoryDefinitionCommandOutput} for command's `response` shape.
|
|
23
|
-
* @see {@link CostExplorerClientResolvedConfig | config} for command's `input` shape.
|
|
24
|
-
*
|
|
25
|
-
*/
|
|
6
|
+
const models_0_1 = require("../models/models_0");
|
|
7
|
+
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
26
8
|
class DescribeCostCategoryDefinitionCommand extends smithy_client_1.Command {
|
|
27
|
-
// Start section: command_properties
|
|
28
|
-
// End section: command_properties
|
|
29
9
|
constructor(input) {
|
|
30
|
-
// Start section: command_constructor
|
|
31
10
|
super();
|
|
32
11
|
this.input = input;
|
|
33
|
-
// End section: command_constructor
|
|
34
12
|
}
|
|
35
|
-
/**
|
|
36
|
-
* @internal
|
|
37
|
-
*/
|
|
38
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
39
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
40
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -59,4 +34,3 @@ class DescribeCostCategoryDefinitionCommand extends smithy_client_1.Command {
|
|
|
59
34
|
}
|
|
60
35
|
}
|
|
61
36
|
exports.DescribeCostCategoryDefinitionCommand = DescribeCostCategoryDefinitionCommand;
|
|
62
|
-
//# sourceMappingURL=DescribeCostCategoryDefinitionCommand.js.map
|
|
@@ -1,40 +1,15 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.GetAnomaliesCommand = void 0;
|
|
4
|
-
const models_0_1 = require("../models/models_0");
|
|
5
|
-
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
6
4
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
7
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
* specified by the <code>DateInterval</code> object. </p>
|
|
11
|
-
* @example
|
|
12
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
13
|
-
* ```javascript
|
|
14
|
-
* import { CostExplorerClient, GetAnomaliesCommand } from "@aws-sdk/client-cost-explorer"; // ES Modules import
|
|
15
|
-
* // const { CostExplorerClient, GetAnomaliesCommand } = require("@aws-sdk/client-cost-explorer"); // CommonJS import
|
|
16
|
-
* const client = new CostExplorerClient(config);
|
|
17
|
-
* const command = new GetAnomaliesCommand(input);
|
|
18
|
-
* const response = await client.send(command);
|
|
19
|
-
* ```
|
|
20
|
-
*
|
|
21
|
-
* @see {@link GetAnomaliesCommandInput} for command's `input` shape.
|
|
22
|
-
* @see {@link GetAnomaliesCommandOutput} for command's `response` shape.
|
|
23
|
-
* @see {@link CostExplorerClientResolvedConfig | config} for command's `input` shape.
|
|
24
|
-
*
|
|
25
|
-
*/
|
|
6
|
+
const models_0_1 = require("../models/models_0");
|
|
7
|
+
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
26
8
|
class GetAnomaliesCommand extends smithy_client_1.Command {
|
|
27
|
-
// Start section: command_properties
|
|
28
|
-
// End section: command_properties
|
|
29
9
|
constructor(input) {
|
|
30
|
-
// Start section: command_constructor
|
|
31
10
|
super();
|
|
32
11
|
this.input = input;
|
|
33
|
-
// End section: command_constructor
|
|
34
12
|
}
|
|
35
|
-
/**
|
|
36
|
-
* @internal
|
|
37
|
-
*/
|
|
38
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
39
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
40
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -59,4 +34,3 @@ class GetAnomaliesCommand extends smithy_client_1.Command {
|
|
|
59
34
|
}
|
|
60
35
|
}
|
|
61
36
|
exports.GetAnomaliesCommand = GetAnomaliesCommand;
|
|
62
|
-
//# sourceMappingURL=GetAnomaliesCommand.js.map
|
|
@@ -1,40 +1,15 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.GetAnomalyMonitorsCommand = void 0;
|
|
4
|
-
const models_0_1 = require("../models/models_0");
|
|
5
|
-
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
6
4
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
7
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
* list of cost anomaly monitor Amazon Resource Names (ARNs). </p>
|
|
11
|
-
* @example
|
|
12
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
13
|
-
* ```javascript
|
|
14
|
-
* import { CostExplorerClient, GetAnomalyMonitorsCommand } from "@aws-sdk/client-cost-explorer"; // ES Modules import
|
|
15
|
-
* // const { CostExplorerClient, GetAnomalyMonitorsCommand } = require("@aws-sdk/client-cost-explorer"); // CommonJS import
|
|
16
|
-
* const client = new CostExplorerClient(config);
|
|
17
|
-
* const command = new GetAnomalyMonitorsCommand(input);
|
|
18
|
-
* const response = await client.send(command);
|
|
19
|
-
* ```
|
|
20
|
-
*
|
|
21
|
-
* @see {@link GetAnomalyMonitorsCommandInput} for command's `input` shape.
|
|
22
|
-
* @see {@link GetAnomalyMonitorsCommandOutput} for command's `response` shape.
|
|
23
|
-
* @see {@link CostExplorerClientResolvedConfig | config} for command's `input` shape.
|
|
24
|
-
*
|
|
25
|
-
*/
|
|
6
|
+
const models_0_1 = require("../models/models_0");
|
|
7
|
+
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
26
8
|
class GetAnomalyMonitorsCommand extends smithy_client_1.Command {
|
|
27
|
-
// Start section: command_properties
|
|
28
|
-
// End section: command_properties
|
|
29
9
|
constructor(input) {
|
|
30
|
-
// Start section: command_constructor
|
|
31
10
|
super();
|
|
32
11
|
this.input = input;
|
|
33
|
-
// End section: command_constructor
|
|
34
12
|
}
|
|
35
|
-
/**
|
|
36
|
-
* @internal
|
|
37
|
-
*/
|
|
38
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
39
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
40
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -59,4 +34,3 @@ class GetAnomalyMonitorsCommand extends smithy_client_1.Command {
|
|
|
59
34
|
}
|
|
60
35
|
}
|
|
61
36
|
exports.GetAnomalyMonitorsCommand = GetAnomalyMonitorsCommand;
|
|
62
|
-
//# sourceMappingURL=GetAnomalyMonitorsCommand.js.map
|
|
@@ -1,40 +1,15 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.GetAnomalySubscriptionsCommand = void 0;
|
|
4
|
-
const models_0_1 = require("../models/models_0");
|
|
5
|
-
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
6
4
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
7
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
* list of cost anomaly monitor Amazon Resource Names (ARNs). </p>
|
|
11
|
-
* @example
|
|
12
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
13
|
-
* ```javascript
|
|
14
|
-
* import { CostExplorerClient, GetAnomalySubscriptionsCommand } from "@aws-sdk/client-cost-explorer"; // ES Modules import
|
|
15
|
-
* // const { CostExplorerClient, GetAnomalySubscriptionsCommand } = require("@aws-sdk/client-cost-explorer"); // CommonJS import
|
|
16
|
-
* const client = new CostExplorerClient(config);
|
|
17
|
-
* const command = new GetAnomalySubscriptionsCommand(input);
|
|
18
|
-
* const response = await client.send(command);
|
|
19
|
-
* ```
|
|
20
|
-
*
|
|
21
|
-
* @see {@link GetAnomalySubscriptionsCommandInput} for command's `input` shape.
|
|
22
|
-
* @see {@link GetAnomalySubscriptionsCommandOutput} for command's `response` shape.
|
|
23
|
-
* @see {@link CostExplorerClientResolvedConfig | config} for command's `input` shape.
|
|
24
|
-
*
|
|
25
|
-
*/
|
|
6
|
+
const models_0_1 = require("../models/models_0");
|
|
7
|
+
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
26
8
|
class GetAnomalySubscriptionsCommand extends smithy_client_1.Command {
|
|
27
|
-
// Start section: command_properties
|
|
28
|
-
// End section: command_properties
|
|
29
9
|
constructor(input) {
|
|
30
|
-
// Start section: command_constructor
|
|
31
10
|
super();
|
|
32
11
|
this.input = input;
|
|
33
|
-
// End section: command_constructor
|
|
34
12
|
}
|
|
35
|
-
/**
|
|
36
|
-
* @internal
|
|
37
|
-
*/
|
|
38
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
39
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
40
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -59,4 +34,3 @@ class GetAnomalySubscriptionsCommand extends smithy_client_1.Command {
|
|
|
59
34
|
}
|
|
60
35
|
}
|
|
61
36
|
exports.GetAnomalySubscriptionsCommand = GetAnomalySubscriptionsCommand;
|
|
62
|
-
//# sourceMappingURL=GetAnomalySubscriptionsCommand.js.map
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.GetCostAndUsageCommand = void 0;
|
|
4
|
+
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
5
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
|
+
const models_0_1 = require("../models/models_0");
|
|
7
|
+
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
8
|
+
class GetCostAndUsageCommand extends smithy_client_1.Command {
|
|
9
|
+
constructor(input) {
|
|
10
|
+
super();
|
|
11
|
+
this.input = input;
|
|
12
|
+
}
|
|
13
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
const { logger } = configuration;
|
|
17
|
+
const clientName = "CostExplorerClient";
|
|
18
|
+
const commandName = "GetCostAndUsageCommand";
|
|
19
|
+
const handlerExecutionContext = {
|
|
20
|
+
logger,
|
|
21
|
+
clientName,
|
|
22
|
+
commandName,
|
|
23
|
+
inputFilterSensitiveLog: models_0_1.GetCostAndUsageRequest.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: models_0_1.GetCostAndUsageResponse.filterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
const { requestHandler } = configuration;
|
|
27
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
|
+
}
|
|
29
|
+
serialize(input, context) {
|
|
30
|
+
return Aws_json1_1_1.serializeAws_json1_1GetCostAndUsageCommand(input, context);
|
|
31
|
+
}
|
|
32
|
+
deserialize(output, context) {
|
|
33
|
+
return Aws_json1_1_1.deserializeAws_json1_1GetCostAndUsageCommand(output, context);
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
exports.GetCostAndUsageCommand = GetCostAndUsageCommand;
|