aws_sdk_elasticache/client/
describe_cache_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 [`DescribeCacheParameterGroups`](crate::operation::describe_cache_parameter_groups::builders::DescribeCacheParameterGroupsFluentBuilder) operation.
4    /// This operation supports pagination; See [`into_paginator()`](crate::operation::describe_cache_parameter_groups::builders::DescribeCacheParameterGroupsFluentBuilder::into_paginator).
5    ///
6    /// - The fluent builder is configurable:
7    ///   - [`cache_parameter_group_name(impl Into<String>)`](crate::operation::describe_cache_parameter_groups::builders::DescribeCacheParameterGroupsFluentBuilder::cache_parameter_group_name) / [`set_cache_parameter_group_name(Option<String>)`](crate::operation::describe_cache_parameter_groups::builders::DescribeCacheParameterGroupsFluentBuilder::set_cache_parameter_group_name):<br>required: **false**<br><p>The name of a specific cache parameter group to return details for.</p><br>
8    ///   - [`max_records(i32)`](crate::operation::describe_cache_parameter_groups::builders::DescribeCacheParameterGroupsFluentBuilder::max_records) / [`set_max_records(Option<i32>)`](crate::operation::describe_cache_parameter_groups::builders::DescribeCacheParameterGroupsFluentBuilder::set_max_records):<br>required: **false**<br><p>The maximum number of records to include in the response. If more records exist than the specified <code>MaxRecords</code> value, a marker is included in the response so that the remaining results can be retrieved.</p> <p>Default: 100</p> <p>Constraints: minimum 20; maximum 100.</p><br>
9    ///   - [`marker(impl Into<String>)`](crate::operation::describe_cache_parameter_groups::builders::DescribeCacheParameterGroupsFluentBuilder::marker) / [`set_marker(Option<String>)`](crate::operation::describe_cache_parameter_groups::builders::DescribeCacheParameterGroupsFluentBuilder::set_marker):<br>required: **false**<br><p>An optional marker returned from a prior request. Use this marker for pagination of results from this operation. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by <code>MaxRecords</code>.</p><br>
10    /// - On success, responds with [`DescribeCacheParameterGroupsOutput`](crate::operation::describe_cache_parameter_groups::DescribeCacheParameterGroupsOutput) with field(s):
11    ///   - [`marker(Option<String>)`](crate::operation::describe_cache_parameter_groups::DescribeCacheParameterGroupsOutput::marker): <p>Provides an identifier to allow retrieval of paginated results.</p>
12    ///   - [`cache_parameter_groups(Option<Vec::<CacheParameterGroup>>)`](crate::operation::describe_cache_parameter_groups::DescribeCacheParameterGroupsOutput::cache_parameter_groups): <p>A list of cache parameter groups. Each element in the list contains detailed information about one cache parameter group.</p>
13    /// - On failure, responds with [`SdkError<DescribeCacheParameterGroupsError>`](crate::operation::describe_cache_parameter_groups::DescribeCacheParameterGroupsError)
14    pub fn describe_cache_parameter_groups(
15        &self,
16    ) -> crate::operation::describe_cache_parameter_groups::builders::DescribeCacheParameterGroupsFluentBuilder {
17        crate::operation::describe_cache_parameter_groups::builders::DescribeCacheParameterGroupsFluentBuilder::new(self.handle.clone())
18    }
19}