aws-sdk-devopsagent 1.4.0

AWS SDK for AWS DevOps Agent Service
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`GetAccountUsage`](crate::operation::get_account_usage::builders::GetAccountUsageFluentBuilder) operation.
    ///
    /// - The fluent builder takes no input, just [`send`](crate::operation::get_account_usage::builders::GetAccountUsageFluentBuilder::send) it.
    /// - On success, responds with [`GetAccountUsageOutput`](crate::operation::get_account_usage::GetAccountUsageOutput) with field(s):
    ///   - [`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
    ///   - [`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
    ///   - [`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
    ///   - [`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
    ///   - [`usage_period_start_time(DateTime)`](crate::operation::get_account_usage::GetAccountUsageOutput::usage_period_start_time): The start time of the usage tracking period
    ///   - [`usage_period_end_time(DateTime)`](crate::operation::get_account_usage::GetAccountUsageOutput::usage_period_end_time): The end time of the usage tracking period
    /// - On failure, responds with [`SdkError<GetAccountUsageError>`](crate::operation::get_account_usage::GetAccountUsageError)
    pub fn get_account_usage(&self) -> crate::operation::get_account_usage::builders::GetAccountUsageFluentBuilder {
        crate::operation::get_account_usage::builders::GetAccountUsageFluentBuilder::new(self.handle.clone())
    }
}