aws_sdk_timestreaminfluxdb/client/
list_db_parameter_groups.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 [`ListDbParameterGroups`](crate::operation::list_db_parameter_groups::builders::ListDbParameterGroupsFluentBuilder) operation.
4    /// This operation supports pagination; See [`into_paginator()`](crate::operation::list_db_parameter_groups::builders::ListDbParameterGroupsFluentBuilder::into_paginator).
5    ///
6    /// - The fluent builder is configurable:
7    ///   - [`next_token(impl Into<String>)`](crate::operation::list_db_parameter_groups::builders::ListDbParameterGroupsFluentBuilder::next_token) / [`set_next_token(Option<String>)`](crate::operation::list_db_parameter_groups::builders::ListDbParameterGroupsFluentBuilder::set_next_token):<br>required: **false**<br><p>The pagination token. To resume pagination, provide the NextToken value as argument of a subsequent API invocation.</p><br>
8    ///   - [`max_results(i32)`](crate::operation::list_db_parameter_groups::builders::ListDbParameterGroupsFluentBuilder::max_results) / [`set_max_results(Option<i32>)`](crate::operation::list_db_parameter_groups::builders::ListDbParameterGroupsFluentBuilder::set_max_results):<br>required: **false**<br><p>The maximum number of items to return in the output. If the total number of items available is more than the value specified, a NextToken is provided in the output. To resume pagination, provide the NextToken value as argument of a subsequent API invocation.</p><br>
9    /// - On success, responds with [`ListDbParameterGroupsOutput`](crate::operation::list_db_parameter_groups::ListDbParameterGroupsOutput) with field(s):
10    ///   - [`items(Vec::<DbParameterGroupSummary>)`](crate::operation::list_db_parameter_groups::ListDbParameterGroupsOutput::items): <p>A list of Timestream for InfluxDB DB parameter group summaries.</p>
11    ///   - [`next_token(Option<String>)`](crate::operation::list_db_parameter_groups::ListDbParameterGroupsOutput::next_token): <p>Token from a previous call of the operation. When this value is provided, the service returns results from where the previous response left off.</p>
12    /// - On failure, responds with [`SdkError<ListDbParameterGroupsError>`](crate::operation::list_db_parameter_groups::ListDbParameterGroupsError)
13    pub fn list_db_parameter_groups(&self) -> crate::operation::list_db_parameter_groups::builders::ListDbParameterGroupsFluentBuilder {
14        crate::operation::list_db_parameter_groups::builders::ListDbParameterGroupsFluentBuilder::new(self.handle.clone())
15    }
16}