aws_sdk_snowball/client/
get_snowball_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 [`GetSnowballUsage`](crate::operation::get_snowball_usage::builders::GetSnowballUsageFluentBuilder) operation.
4    ///
5    /// - The fluent builder takes no input, just [`send`](crate::operation::get_snowball_usage::builders::GetSnowballUsageFluentBuilder::send) it.
6    /// - On success, responds with [`GetSnowballUsageOutput`](crate::operation::get_snowball_usage::GetSnowballUsageOutput) with field(s):
7    ///   - [`snowball_limit(Option<i32>)`](crate::operation::get_snowball_usage::GetSnowballUsageOutput::snowball_limit): <p>The service limit for number of Snow devices this account can have at once. The default service limit is 1 (one).</p>
8    ///   - [`snowballs_in_use(Option<i32>)`](crate::operation::get_snowball_usage::GetSnowballUsageOutput::snowballs_in_use): <p>The number of Snow devices that this account is currently using.</p>
9    /// - On failure, responds with [`SdkError<GetSnowballUsageError>`](crate::operation::get_snowball_usage::GetSnowballUsageError)
10    pub fn get_snowball_usage(&self) -> crate::operation::get_snowball_usage::builders::GetSnowballUsageFluentBuilder {
11        crate::operation::get_snowball_usage::builders::GetSnowballUsageFluentBuilder::new(self.handle.clone())
12    }
13}