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.

Creates an Amazon Redshift parameter group.

Creating parameter groups is independent of creating clusters. You can associate a cluster with a parameter group when you create the cluster. You can also associate an existing cluster with a parameter group after the cluster is created by using ModifyCluster.

Parameters in the parameter group define specific behavior that applies to the databases you create on the cluster. For more information about parameters and parameter groups, go to Amazon Redshift Parameter Groups in the Amazon Redshift Cluster Management Guide.

Note:

For .NET Core this operation is only available in asynchronous form. Please refer to CreateClusterParameterGroupAsync.

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

Syntax

C#
public abstract CreateClusterParameterGroupResponse CreateClusterParameterGroup(
         CreateClusterParameterGroupRequest request
)

Parameters

request
Type: Amazon.Redshift.Model.CreateClusterParameterGroupRequest

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

Return Value


The response from the CreateClusterParameterGroup service method, as returned by Redshift.

Exceptions

ExceptionCondition
ClusterParameterGroupAlreadyExistsException A cluster parameter group with the same name already exists.
ClusterParameterGroupQuotaExceededException The request would result in the user exceeding the allowed number of cluster parameter groups. For information about increasing your quota, go to Limits in Amazon Redshift in the Amazon Redshift Cluster Management Guide.
InvalidTagException The tag is invalid.
TagLimitExceededException You have exceeded the number of tags allowed.

Examples

This example creates a new cluster snapshot.

To create a cluster snapshot


var client = new AmazonRedshiftClient();
var response = client.CreateClusterParameterGroup(new CreateClusterParameterGroupRequest 
{
    Description = "My first cluster parameter group",
    ParameterGroupFamily = "redshift-1.0",
    ParameterGroupName = "myclusterparametergroup"
});


            

Version Information

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

See Also