aws_sdk_datasync/client/
list_storage_systems.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 [`ListStorageSystems`](crate::operation::list_storage_systems::builders::ListStorageSystemsFluentBuilder) operation.
4    /// This operation supports pagination; See [`into_paginator()`](crate::operation::list_storage_systems::builders::ListStorageSystemsFluentBuilder::into_paginator).
5    ///
6    /// - The fluent builder is configurable:
7    ///   - [`max_results(i32)`](crate::operation::list_storage_systems::builders::ListStorageSystemsFluentBuilder::max_results) / [`set_max_results(Option<i32>)`](crate::operation::list_storage_systems::builders::ListStorageSystemsFluentBuilder::set_max_results):<br>required: **false**<br><p>Specifies how many results you want in the response.</p><br>
8    ///   - [`next_token(impl Into<String>)`](crate::operation::list_storage_systems::builders::ListStorageSystemsFluentBuilder::next_token) / [`set_next_token(Option<String>)`](crate::operation::list_storage_systems::builders::ListStorageSystemsFluentBuilder::set_next_token):<br>required: **false**<br><p>Specifies an opaque string that indicates the position to begin the next list of results in the response.</p><br>
9    /// - On success, responds with [`ListStorageSystemsOutput`](crate::operation::list_storage_systems::ListStorageSystemsOutput) with field(s):
10    ///   - [`storage_systems(Option<Vec::<StorageSystemListEntry>>)`](crate::operation::list_storage_systems::ListStorageSystemsOutput::storage_systems): <p>The Amazon Resource Names ARNs) of the on-premises storage systems that you're using with DataSync Discovery.</p>
11    ///   - [`next_token(Option<String>)`](crate::operation::list_storage_systems::ListStorageSystemsOutput::next_token): <p>The opaque string that indicates the position to begin the next list of results in the response.</p>
12    /// - On failure, responds with [`SdkError<ListStorageSystemsError>`](crate::operation::list_storage_systems::ListStorageSystemsError)
13    pub fn list_storage_systems(&self) -> crate::operation::list_storage_systems::builders::ListStorageSystemsFluentBuilder {
14        crate::operation::list_storage_systems::builders::ListStorageSystemsFluentBuilder::new(self.handle.clone())
15    }
16}