aws_sdk_datasync/client/
list_storage_systems.rs

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 [`ListStorageSystems`](crate::operation::list_storage_systems::builders::ListStorageSystemsFluentBuilder) operation.
    /// This operation supports pagination; See [`into_paginator()`](crate::operation::list_storage_systems::builders::ListStorageSystemsFluentBuilder::into_paginator).
    ///
    /// - The fluent builder is configurable:
    ///   - [`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>
    ///   - [`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>
    /// - On success, responds with [`ListStorageSystemsOutput`](crate::operation::list_storage_systems::ListStorageSystemsOutput) with field(s):
    ///   - [`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>
    ///   - [`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>
    /// - On failure, responds with [`SdkError<ListStorageSystemsError>`](crate::operation::list_storage_systems::ListStorageSystemsError)
    pub fn list_storage_systems(&self) -> crate::operation::list_storage_systems::builders::ListStorageSystemsFluentBuilder {
        crate::operation::list_storage_systems::builders::ListStorageSystemsFluentBuilder::new(self.handle.clone())
    }
}