aws_sdk_redshift/client/
describe_cluster_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 [`DescribeClusterParameterGroups`](crate::operation::describe_cluster_parameter_groups::builders::DescribeClusterParameterGroupsFluentBuilder) operation.
4    /// This operation supports pagination; See [`into_paginator()`](crate::operation::describe_cluster_parameter_groups::builders::DescribeClusterParameterGroupsFluentBuilder::into_paginator).
5    ///
6    /// - The fluent builder is configurable:
7    ///   - [`parameter_group_name(impl Into<String>)`](crate::operation::describe_cluster_parameter_groups::builders::DescribeClusterParameterGroupsFluentBuilder::parameter_group_name) / [`set_parameter_group_name(Option<String>)`](crate::operation::describe_cluster_parameter_groups::builders::DescribeClusterParameterGroupsFluentBuilder::set_parameter_group_name):<br>required: **false**<br><p>The name of a specific parameter group for which to return details. By default, details about all parameter groups and the default parameter group are returned.</p><br>
8    ///   - [`max_records(i32)`](crate::operation::describe_cluster_parameter_groups::builders::DescribeClusterParameterGroupsFluentBuilder::max_records) / [`set_max_records(Option<i32>)`](crate::operation::describe_cluster_parameter_groups::builders::DescribeClusterParameterGroupsFluentBuilder::set_max_records):<br>required: **false**<br><p>The maximum number of response records to return in each call. If the number of remaining response records exceeds the specified <code>MaxRecords</code> value, a value is returned in a <code>marker</code> field of the response. You can retrieve the next set of records by retrying the command with the returned marker value.</p> <p>Default: <code>100</code></p> <p>Constraints: minimum 20, maximum 100.</p><br>
9    ///   - [`marker(impl Into<String>)`](crate::operation::describe_cluster_parameter_groups::builders::DescribeClusterParameterGroupsFluentBuilder::marker) / [`set_marker(Option<String>)`](crate::operation::describe_cluster_parameter_groups::builders::DescribeClusterParameterGroupsFluentBuilder::set_marker):<br>required: **false**<br><p>An optional parameter that specifies the starting point to return a set of response records. When the results of a <code>DescribeClusterParameterGroups</code> request exceed the value specified in <code>MaxRecords</code>, Amazon Web Services returns a value in the <code>Marker</code> field of the response. You can retrieve the next set of response records by providing the returned marker value in the <code>Marker</code> parameter and retrying the request.</p><br>
10    ///   - [`tag_keys(impl Into<String>)`](crate::operation::describe_cluster_parameter_groups::builders::DescribeClusterParameterGroupsFluentBuilder::tag_keys) / [`set_tag_keys(Option<Vec::<String>>)`](crate::operation::describe_cluster_parameter_groups::builders::DescribeClusterParameterGroupsFluentBuilder::set_tag_keys):<br>required: **false**<br><p>A tag key or keys for which you want to return all matching cluster parameter groups that are associated with the specified key or keys. For example, suppose that you have parameter groups that are tagged with keys called <code>owner</code> and <code>environment</code>. If you specify both of these tag keys in the request, Amazon Redshift returns a response with the parameter groups that have either or both of these tag keys associated with them.</p><br>
11    ///   - [`tag_values(impl Into<String>)`](crate::operation::describe_cluster_parameter_groups::builders::DescribeClusterParameterGroupsFluentBuilder::tag_values) / [`set_tag_values(Option<Vec::<String>>)`](crate::operation::describe_cluster_parameter_groups::builders::DescribeClusterParameterGroupsFluentBuilder::set_tag_values):<br>required: **false**<br><p>A tag value or values for which you want to return all matching cluster parameter groups that are associated with the specified tag value or values. For example, suppose that you have parameter groups that are tagged with values called <code>admin</code> and <code>test</code>. If you specify both of these tag values in the request, Amazon Redshift returns a response with the parameter groups that have either or both of these tag values associated with them.</p><br>
12    /// - On success, responds with [`DescribeClusterParameterGroupsOutput`](crate::operation::describe_cluster_parameter_groups::DescribeClusterParameterGroupsOutput) with field(s):
13    ///   - [`marker(Option<String>)`](crate::operation::describe_cluster_parameter_groups::DescribeClusterParameterGroupsOutput::marker): <p>A value that indicates the starting point for the next set of response records in a subsequent request. If a value is returned in a response, you can retrieve the next set of records by providing this returned marker value in the <code>Marker</code> parameter and retrying the command. If the <code>Marker</code> field is empty, all response records have been retrieved for the request.</p>
14    ///   - [`parameter_groups(Option<Vec::<ClusterParameterGroup>>)`](crate::operation::describe_cluster_parameter_groups::DescribeClusterParameterGroupsOutput::parameter_groups): <p>A list of <code>ClusterParameterGroup</code> instances. Each instance describes one cluster parameter group.</p>
15    /// - On failure, responds with [`SdkError<DescribeClusterParameterGroupsError>`](crate::operation::describe_cluster_parameter_groups::DescribeClusterParameterGroupsError)
16    pub fn describe_cluster_parameter_groups(
17        &self,
18    ) -> crate::operation::describe_cluster_parameter_groups::builders::DescribeClusterParameterGroupsFluentBuilder {
19        crate::operation::describe_cluster_parameter_groups::builders::DescribeClusterParameterGroupsFluentBuilder::new(self.handle.clone())
20    }
21}