Copyright | (c) 2013-2016 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
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.
- createClusterParameterGroup :: Text -> Text -> Text -> CreateClusterParameterGroup
- data CreateClusterParameterGroup
- ccpgTags :: Lens' CreateClusterParameterGroup [Tag]
- ccpgParameterGroupName :: Lens' CreateClusterParameterGroup Text
- ccpgParameterGroupFamily :: Lens' CreateClusterParameterGroup Text
- ccpgDescription :: Lens' CreateClusterParameterGroup Text
- createClusterParameterGroupResponse :: Int -> CreateClusterParameterGroupResponse
- data CreateClusterParameterGroupResponse
- ccpgrsClusterParameterGroup :: Lens' CreateClusterParameterGroupResponse (Maybe ClusterParameterGroup)
- ccpgrsResponseStatus :: Lens' CreateClusterParameterGroupResponse Int
Creating a Request
createClusterParameterGroup Source #
:: Text | |
-> Text | |
-> Text | |
-> CreateClusterParameterGroup |
Creates a value of CreateClusterParameterGroup
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data CreateClusterParameterGroup Source #
See: createClusterParameterGroup
smart constructor.
Request Lenses
ccpgParameterGroupName :: Lens' CreateClusterParameterGroup Text Source #
The name of the cluster parameter group.
Constraints:
- Must be 1 to 255 alphanumeric characters or hyphens
- First character must be a letter.
- Cannot end with a hyphen or contain two consecutive hyphens.
- Must be unique withing your AWS account.
This value is stored as a lower-case string.
ccpgParameterGroupFamily :: Lens' CreateClusterParameterGroup Text Source #
The Amazon Redshift engine version to which the cluster parameter group applies. The cluster engine version determines the set of parameters.
To get a list of valid parameter group family names, you can call DescribeClusterParameterGroups. By default, Amazon Redshift returns a list of all the parameter groups that are owned by your AWS account, including the default parameter groups for each Amazon Redshift engine version. The parameter group family names associated with the default parameter groups provide you the valid values. For example, a valid family name is "redshift-1.0".
ccpgDescription :: Lens' CreateClusterParameterGroup Text Source #
A description of the parameter group.
Destructuring the Response
createClusterParameterGroupResponse Source #
Creates a value of CreateClusterParameterGroupResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data CreateClusterParameterGroupResponse Source #
See: createClusterParameterGroupResponse
smart constructor.
Response Lenses
ccpgrsClusterParameterGroup :: Lens' CreateClusterParameterGroupResponse (Maybe ClusterParameterGroup) Source #
Undocumented member.
ccpgrsResponseStatus :: Lens' CreateClusterParameterGroupResponse Int Source #
The response status code.