aws_sdk_ssmsap/client/
list_databases.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 [`ListDatabases`](crate::operation::list_databases::builders::ListDatabasesFluentBuilder) operation.
4    /// This operation supports pagination; See [`into_paginator()`](crate::operation::list_databases::builders::ListDatabasesFluentBuilder::into_paginator).
5    ///
6    /// - The fluent builder is configurable:
7    ///   - [`application_id(impl Into<String>)`](crate::operation::list_databases::builders::ListDatabasesFluentBuilder::application_id) / [`set_application_id(Option<String>)`](crate::operation::list_databases::builders::ListDatabasesFluentBuilder::set_application_id):<br>required: **false**<br><p>The ID of the application.</p><br>
8    ///   - [`component_id(impl Into<String>)`](crate::operation::list_databases::builders::ListDatabasesFluentBuilder::component_id) / [`set_component_id(Option<String>)`](crate::operation::list_databases::builders::ListDatabasesFluentBuilder::set_component_id):<br>required: **false**<br><p>The ID of the component.</p><br>
9    ///   - [`next_token(impl Into<String>)`](crate::operation::list_databases::builders::ListDatabasesFluentBuilder::next_token) / [`set_next_token(Option<String>)`](crate::operation::list_databases::builders::ListDatabasesFluentBuilder::set_next_token):<br>required: **false**<br><p>The token for the next page of results.</p><br>
10    ///   - [`max_results(i32)`](crate::operation::list_databases::builders::ListDatabasesFluentBuilder::max_results) / [`set_max_results(Option<i32>)`](crate::operation::list_databases::builders::ListDatabasesFluentBuilder::set_max_results):<br>required: **false**<br><p>The maximum number of results to return with a single call. To retrieve the remaining results, make another call with the returned nextToken value. If you do not specify a value for MaxResults, the request returns 50 items per page by default.</p><br>
11    /// - On success, responds with [`ListDatabasesOutput`](crate::operation::list_databases::ListDatabasesOutput) with field(s):
12    ///   - [`databases(Option<Vec::<DatabaseSummary>>)`](crate::operation::list_databases::ListDatabasesOutput::databases): <p>The SAP HANA databases of an application.</p>
13    ///   - [`next_token(Option<String>)`](crate::operation::list_databases::ListDatabasesOutput::next_token): <p>The token to use to retrieve the next page of results. This value is null when there are no more results to return.</p>
14    /// - On failure, responds with [`SdkError<ListDatabasesError>`](crate::operation::list_databases::ListDatabasesError)
15    pub fn list_databases(&self) -> crate::operation::list_databases::builders::ListDatabasesFluentBuilder {
16        crate::operation::list_databases::builders::ListDatabasesFluentBuilder::new(self.handle.clone())
17    }
18}