omni_orchestrator/schemas/v1/api/cost/
mod.rs

1//! Cost management module for handling cost tracking and analysis operations.
2//!
3//! This module provides a REST API for managing cost-related entities, including:
4//! - Resource types management
5//! - Cost metrics tracking and analysis
6//! - Cost projections and forecasting
7//! - Budget management
8//! - Resource pricing management
9//! - Cost allocation tagging
10
11// Import and re-export all route modules
12pub mod types;
13pub mod resource_types;
14pub mod metrics;
15pub mod analysis;
16pub mod budgets;
17pub mod projections;
18pub mod pricing;
19pub mod allocation_tags;
20
21// Re-export types for easier access
22pub use types::*;
23
24// Re-export all route functions
25pub use resource_types::{
26    list_resource_types, 
27    count_resource_types, 
28    get_resource_type, 
29    create_resource_type, 
30    update_resource_type, 
31    delete_resource_type
32};
33pub use metrics::{
34    list_cost_metrics, 
35    get_cost_metric, 
36    create_cost_metric, 
37    delete_cost_metric
38};
39pub use analysis::{
40    analyze_costs_by_dimension, 
41    analyze_cost_over_time
42};
43pub use budgets::{
44    list_cost_budgets, 
45    get_cost_budget, 
46    create_cost_budget, 
47    update_cost_budget, 
48    delete_cost_budget
49};
50pub use projections::{
51    list_cost_projections, 
52    get_cost_projection, 
53    create_cost_projection, 
54    delete_cost_projection
55};
56pub use pricing::{
57    list_resource_pricing, 
58    get_resource_pricing, 
59    create_resource_pricing, 
60    update_resource_pricing, 
61    delete_resource_pricing
62};
63pub use allocation_tags::{
64    get_cost_allocation_tags, 
65    create_cost_allocation_tag, 
66    delete_cost_allocation_tag
67};