aws_sdk_storagegateway/client/list_local_disks.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 [`ListLocalDisks`](crate::operation::list_local_disks::builders::ListLocalDisksFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`gateway_arn(impl Into<String>)`](crate::operation::list_local_disks::builders::ListLocalDisksFluentBuilder::gateway_arn) / [`set_gateway_arn(Option<String>)`](crate::operation::list_local_disks::builders::ListLocalDisksFluentBuilder::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>
7 /// - On success, responds with [`ListLocalDisksOutput`](crate::operation::list_local_disks::ListLocalDisksOutput) with field(s):
8 /// - [`gateway_arn(Option<String>)`](crate::operation::list_local_disks::ListLocalDisksOutput::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>
9 /// - [`disks(Option<Vec::<Disk>>)`](crate::operation::list_local_disks::ListLocalDisksOutput::disks): <p>A JSON object containing the following fields:</p> <ul> <li> <p><code>ListLocalDisksOutput$Disks</code></p></li> </ul>
10 /// - On failure, responds with [`SdkError<ListLocalDisksError>`](crate::operation::list_local_disks::ListLocalDisksError)
11 pub fn list_local_disks(&self) -> crate::operation::list_local_disks::builders::ListLocalDisksFluentBuilder {
12 crate::operation::list_local_disks::builders::ListLocalDisksFluentBuilder::new(self.handle.clone())
13 }
14}