aws_sdk_odb/client/
list_db_servers.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 [`ListDbServers`](crate::operation::list_db_servers::builders::ListDbServersFluentBuilder) operation.
4    /// This operation supports pagination; See [`into_paginator()`](crate::operation::list_db_servers::builders::ListDbServersFluentBuilder::into_paginator).
5    ///
6    /// - The fluent builder is configurable:
7    ///   - [`cloud_exadata_infrastructure_id(impl Into<String>)`](crate::operation::list_db_servers::builders::ListDbServersFluentBuilder::cloud_exadata_infrastructure_id) / [`set_cloud_exadata_infrastructure_id(Option<String>)`](crate::operation::list_db_servers::builders::ListDbServersFluentBuilder::set_cloud_exadata_infrastructure_id):<br>required: **true**<br><p>The unique identifier of the Oracle Exadata infrastructure.</p><br>
8    ///   - [`max_results(i32)`](crate::operation::list_db_servers::builders::ListDbServersFluentBuilder::max_results) / [`set_max_results(Option<i32>)`](crate::operation::list_db_servers::builders::ListDbServersFluentBuilder::set_max_results):<br>required: **false**<br><p>The maximum number of items to return for this request. To get the next page of items, make another request with the token returned in the output.</p> <p>Default: <code>10</code></p><br>
9    ///   - [`next_token(impl Into<String>)`](crate::operation::list_db_servers::builders::ListDbServersFluentBuilder::next_token) / [`set_next_token(Option<String>)`](crate::operation::list_db_servers::builders::ListDbServersFluentBuilder::set_next_token):<br>required: **false**<br><p>The token returned from a previous paginated request. Pagination continues from the end of the items returned by the previous request.</p><br>
10    /// - On success, responds with [`ListDbServersOutput`](crate::operation::list_db_servers::ListDbServersOutput) with field(s):
11    ///   - [`next_token(Option<String>)`](crate::operation::list_db_servers::ListDbServersOutput::next_token): <p>The token to include in another request to get the next page of items. This value is <code>null</code> when there are no more items to return.</p>
12    ///   - [`db_servers(Vec::<DbServerSummary>)`](crate::operation::list_db_servers::ListDbServersOutput::db_servers): <p>The list of database servers along with their properties.</p>
13    /// - On failure, responds with [`SdkError<ListDbServersError>`](crate::operation::list_db_servers::ListDbServersError)
14    pub fn list_db_servers(&self) -> crate::operation::list_db_servers::builders::ListDbServersFluentBuilder {
15        crate::operation::list_db_servers::builders::ListDbServersFluentBuilder::new(self.handle.clone())
16    }
17}