1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`DescribeUploadBuffer`](crate::operation::describe_upload_buffer::builders::DescribeUploadBufferFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`gateway_arn(impl Into<String>)`](crate::operation::describe_upload_buffer::builders::DescribeUploadBufferFluentBuilder::gateway_arn) / [`set_gateway_arn(Option<String>)`](crate::operation::describe_upload_buffer::builders::DescribeUploadBufferFluentBuilder::set_gateway_arn):<br>required: **true**<br><p>The Amazon Resource Name (ARN) of the gateway. Use the <code>ListGateways</code> operation to return a list of gateways for your account and Amazon Web Services Region.</p><br>
    /// - On success, responds with [`DescribeUploadBufferOutput`](crate::operation::describe_upload_buffer::DescribeUploadBufferOutput) with field(s):
    ///   - [`gateway_arn(Option<String>)`](crate::operation::describe_upload_buffer::DescribeUploadBufferOutput::gateway_arn): <p>The Amazon Resource Name (ARN) of the gateway. Use the <code>ListGateways</code> operation to return a list of gateways for your account and Amazon Web Services Region.</p>
    ///   - [`disk_ids(Option<Vec::<String>>)`](crate::operation::describe_upload_buffer::DescribeUploadBufferOutput::disk_ids): <p>An array of the gateway's local disk IDs that are configured as working storage. Each local disk ID is specified as a string (minimum length of 1 and maximum length of 300). If no local disks are configured as working storage, then the DiskIds array is empty.</p>
    ///   - [`upload_buffer_used_in_bytes(i64)`](crate::operation::describe_upload_buffer::DescribeUploadBufferOutput::upload_buffer_used_in_bytes): <p>The total number of bytes being used in the gateway's upload buffer.</p>
    ///   - [`upload_buffer_allocated_in_bytes(i64)`](crate::operation::describe_upload_buffer::DescribeUploadBufferOutput::upload_buffer_allocated_in_bytes): <p>The total number of bytes allocated in the gateway's as upload buffer.</p>
    /// - On failure, responds with [`SdkError<DescribeUploadBufferError>`](crate::operation::describe_upload_buffer::DescribeUploadBufferError)
    pub fn describe_upload_buffer(&self) -> crate::operation::describe_upload_buffer::builders::DescribeUploadBufferFluentBuilder {
        crate::operation::describe_upload_buffer::builders::DescribeUploadBufferFluentBuilder::new(self.handle.clone())
    }
}