aws_sdk_redshift/client/
describe_cluster_parameters.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 [`DescribeClusterParameters`](crate::operation::describe_cluster_parameters::builders::DescribeClusterParametersFluentBuilder) operation.
4    /// This operation supports pagination; See [`into_paginator()`](crate::operation::describe_cluster_parameters::builders::DescribeClusterParametersFluentBuilder::into_paginator).
5    ///
6    /// - The fluent builder is configurable:
7    ///   - [`parameter_group_name(impl Into<String>)`](crate::operation::describe_cluster_parameters::builders::DescribeClusterParametersFluentBuilder::parameter_group_name) / [`set_parameter_group_name(Option<String>)`](crate::operation::describe_cluster_parameters::builders::DescribeClusterParametersFluentBuilder::set_parameter_group_name):<br>required: **true**<br><p>The name of a cluster parameter group for which to return details.</p><br>
8    ///   - [`source(impl Into<String>)`](crate::operation::describe_cluster_parameters::builders::DescribeClusterParametersFluentBuilder::source) / [`set_source(Option<String>)`](crate::operation::describe_cluster_parameters::builders::DescribeClusterParametersFluentBuilder::set_source):<br>required: **false**<br><p>The parameter types to return. Specify <code>user</code> to show parameters that are different form the default. Similarly, specify <code>engine-default</code> to show parameters that are the same as the default parameter group.</p> <p>Default: All parameter types returned.</p> <p>Valid Values: <code>user</code> | <code>engine-default</code></p><br>
9    ///   - [`max_records(i32)`](crate::operation::describe_cluster_parameters::builders::DescribeClusterParametersFluentBuilder::max_records) / [`set_max_records(Option<i32>)`](crate::operation::describe_cluster_parameters::builders::DescribeClusterParametersFluentBuilder::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>
10    ///   - [`marker(impl Into<String>)`](crate::operation::describe_cluster_parameters::builders::DescribeClusterParametersFluentBuilder::marker) / [`set_marker(Option<String>)`](crate::operation::describe_cluster_parameters::builders::DescribeClusterParametersFluentBuilder::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>DescribeClusterParameters</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>
11    /// - On success, responds with [`DescribeClusterParametersOutput`](crate::operation::describe_cluster_parameters::DescribeClusterParametersOutput) with field(s):
12    ///   - [`parameters(Option<Vec::<Parameter>>)`](crate::operation::describe_cluster_parameters::DescribeClusterParametersOutput::parameters): <p>A list of <code>Parameter</code> instances. Each instance lists the parameters of one cluster parameter group.</p>
13    ///   - [`marker(Option<String>)`](crate::operation::describe_cluster_parameters::DescribeClusterParametersOutput::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    /// - On failure, responds with [`SdkError<DescribeClusterParametersError>`](crate::operation::describe_cluster_parameters::DescribeClusterParametersError)
15    pub fn describe_cluster_parameters(&self) -> crate::operation::describe_cluster_parameters::builders::DescribeClusterParametersFluentBuilder {
16        crate::operation::describe_cluster_parameters::builders::DescribeClusterParametersFluentBuilder::new(self.handle.clone())
17    }
18}