aws_sdk_redshift/client/
describe_storage.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 [`DescribeStorage`](crate::operation::describe_storage::builders::DescribeStorageFluentBuilder) operation.
4    ///
5    /// - The fluent builder takes no input, just [`send`](crate::operation::describe_storage::builders::DescribeStorageFluentBuilder::send) it.
6    /// - On success, responds with [`DescribeStorageOutput`](crate::operation::describe_storage::DescribeStorageOutput) with field(s):
7    ///   - [`total_backup_size_in_mega_bytes(Option<f64>)`](crate::operation::describe_storage::DescribeStorageOutput::total_backup_size_in_mega_bytes): <p>The total amount of storage currently used for snapshots.</p>
8    ///   - [`total_provisioned_storage_in_mega_bytes(Option<f64>)`](crate::operation::describe_storage::DescribeStorageOutput::total_provisioned_storage_in_mega_bytes): <p>The total amount of storage currently provisioned.</p>
9    /// - On failure, responds with [`SdkError<DescribeStorageError>`](crate::operation::describe_storage::DescribeStorageError)
10    pub fn describe_storage(&self) -> crate::operation::describe_storage::builders::DescribeStorageFluentBuilder {
11        crate::operation::describe_storage::builders::DescribeStorageFluentBuilder::new(self.handle.clone())
12    }
13}