aws_sdk_devopsagent/client/get_account_usage.rs
1// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
2impl super::Client {
3 /// Constructs a fluent builder for the [`GetAccountUsage`](crate::operation::get_account_usage::builders::GetAccountUsageFluentBuilder) operation.
4 ///
5 /// - The fluent builder takes no input, just [`send`](crate::operation::get_account_usage::builders::GetAccountUsageFluentBuilder::send) it.
6 /// - On success, responds with [`GetAccountUsageOutput`](crate::operation::get_account_usage::GetAccountUsageOutput) with field(s):
7 /// - [`monthly_account_investigation_hours(Option<UsageMetric>)`](crate::operation::get_account_usage::GetAccountUsageOutput::monthly_account_investigation_hours): Monthly investigation hours usage and limit for an account
8 /// - [`monthly_account_evaluation_hours(Option<UsageMetric>)`](crate::operation::get_account_usage::GetAccountUsageOutput::monthly_account_evaluation_hours): Monthly evaluation hours usage and limit for an account
9 /// - [`monthly_account_system_learning_hours(Option<UsageMetric>)`](crate::operation::get_account_usage::GetAccountUsageOutput::monthly_account_system_learning_hours): Monthly system learning hours usage and limit for an account
10 /// - [`monthly_account_on_demand_hours(Option<UsageMetric>)`](crate::operation::get_account_usage::GetAccountUsageOutput::monthly_account_on_demand_hours): Monthly on-demand hours usage and limit for an account
11 /// - [`usage_period_start_time(DateTime)`](crate::operation::get_account_usage::GetAccountUsageOutput::usage_period_start_time): The start time of the usage tracking period
12 /// - [`usage_period_end_time(DateTime)`](crate::operation::get_account_usage::GetAccountUsageOutput::usage_period_end_time): The end time of the usage tracking period
13 /// - On failure, responds with [`SdkError<GetAccountUsageError>`](crate::operation::get_account_usage::GetAccountUsageError)
14 pub fn get_account_usage(&self) -> crate::operation::get_account_usage::builders::GetAccountUsageFluentBuilder {
15 crate::operation::get_account_usage::builders::GetAccountUsageFluentBuilder::new(self.handle.clone())
16 }
17}