AWS SDK Version 3 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

Returns a list of Amazon Redshift parameter groups, including parameter groups you created and the default parameter group. For each parameter group, the response includes the parameter group name, description, and parameter group family name. You can optionally specify a name to retrieve the description of a specific parameter group.

For more information about parameters and parameter groups, go to Amazon Redshift Parameter Groups in the Amazon Redshift Cluster Management Guide.

If you specify both tag keys and tag values in the same request, Amazon Redshift returns all parameter groups that match any combination of the specified keys and values. For example, if you have owner and environment for tag keys, and admin and test for tag values, all parameter groups that have any combination of those values are returned.

If both tag keys and values are omitted from the request, parameter groups are returned regardless of whether they have tag keys or values associated with them.

Note:

For PCL this operation is only available in asynchronous form. Please refer to DescribeClusterParameterGroupsAsync.

Namespace: Amazon.Redshift
Assembly: AWSSDK.Redshift.dll
Version: 3.x.y.z

Syntax

C#
public virtual DescribeClusterParameterGroupsResponse DescribeClusterParameterGroups(
         DescribeClusterParameterGroupsRequest request
)
Parameters
request
Type: Amazon.Redshift.Model.DescribeClusterParameterGroupsRequest

Container for the necessary parameters to execute the DescribeClusterParameterGroups service method.

Return Value
The response from the DescribeClusterParameterGroups service method, as returned by Redshift.

Exceptions

ExceptionCondition
ClusterParameterGroupNotFoundException The parameter group name does not refer to an existing parameter group.
InvalidTagException The tag is invalid.

Examples

This example returns a description of all cluster parameter groups for the account, with column headers.

To get a description of cluster parameter groups


var response = client.DescribeClusterParameterGroups(new DescribeClusterParameterGroupsRequest 
{
    Marker = "",
    MaxRecords = 123,
    ParameterGroupName = "",
    TagKeys = new List {
                    
    },
    TagValues = new List {
                    
    }
});

List parameterGroups = response.ParameterGroups;

            

Version Information

.NET Framework:
Supported in: 4.5, 4.0, 3.5

Portable Class Library:
Supported in: Windows Store Apps
Supported in: Windows Phone 8.1
Supported in: Xamarin Android
Supported in: Xamarin iOS (Unified)
Supported in: Xamarin.Forms

See Also