aws-sdk-groundstation 1.74.0

AWS SDK for AWS Ground Station
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`GetMinuteUsage`](crate::operation::get_minute_usage::builders::GetMinuteUsageFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`month(i32)`](crate::operation::get_minute_usage::builders::GetMinuteUsageFluentBuilder::month) / [`set_month(Option<i32>)`](crate::operation::get_minute_usage::builders::GetMinuteUsageFluentBuilder::set_month):<br>required: **true**<br><p>The month being requested, with a value of 1-12.</p><br>
    ///   - [`year(i32)`](crate::operation::get_minute_usage::builders::GetMinuteUsageFluentBuilder::year) / [`set_year(Option<i32>)`](crate::operation::get_minute_usage::builders::GetMinuteUsageFluentBuilder::set_year):<br>required: **true**<br><p>The year being requested, in the format of YYYY.</p><br>
    /// - On success, responds with [`GetMinuteUsageOutput`](crate::operation::get_minute_usage::GetMinuteUsageOutput) with field(s):
    ///   - [`is_reserved_minutes_customer(Option<bool>)`](crate::operation::get_minute_usage::GetMinuteUsageOutput::is_reserved_minutes_customer): <p>Returns whether or not an account has signed up for the reserved minutes pricing plan, specific to the month being requested.</p>
    ///   - [`total_reserved_minute_allocation(Option<i32>)`](crate::operation::get_minute_usage::GetMinuteUsageOutput::total_reserved_minute_allocation): <p>Total number of reserved minutes allocated, specific to the month being requested.</p>
    ///   - [`upcoming_minutes_scheduled(Option<i32>)`](crate::operation::get_minute_usage::GetMinuteUsageOutput::upcoming_minutes_scheduled): <p>Upcoming minutes scheduled for an account, specific to the month being requested.</p>
    ///   - [`total_scheduled_minutes(Option<i32>)`](crate::operation::get_minute_usage::GetMinuteUsageOutput::total_scheduled_minutes): <p>Total scheduled minutes for an account, specific to the month being requested.</p>
    ///   - [`estimated_minutes_remaining(Option<i32>)`](crate::operation::get_minute_usage::GetMinuteUsageOutput::estimated_minutes_remaining): <p>Estimated number of minutes remaining for an account, specific to the month being requested.</p>
    /// - On failure, responds with [`SdkError<GetMinuteUsageError>`](crate::operation::get_minute_usage::GetMinuteUsageError)
    pub fn get_minute_usage(&self) -> crate::operation::get_minute_usage::builders::GetMinuteUsageFluentBuilder {
        crate::operation::get_minute_usage::builders::GetMinuteUsageFluentBuilder::new(self.handle.clone())
    }
}