v2_cloud_cost_management_GetCostAWSCURConfig/
v2_cloud-cost-management_GetCostAWSCURConfig.rs

1// Get cost AWS CUR config returns "OK" response
2use datadog_api_client::datadog;
3use datadog_api_client::datadogV2::api_cloud_cost_management::CloudCostManagementAPI;
4
5#[tokio::main]
6async fn main() {
7    let configuration = datadog::Configuration::new();
8    let api = CloudCostManagementAPI::with_config(configuration);
9    let resp = api.get_cost_awscur_config(123456).await;
10    if let Ok(value) = resp {
11        println!("{:#?}", value);
12    } else {
13        println!("{:#?}", resp.unwrap_err());
14    }
15}