Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
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.
Synopsis
- data CreateClusterParameterGroup = CreateClusterParameterGroup' {
- tags :: Maybe [Tag]
- parameterGroupName :: Text
- parameterGroupFamily :: Text
- description :: Text
- newCreateClusterParameterGroup :: Text -> Text -> Text -> CreateClusterParameterGroup
- createClusterParameterGroup_tags :: Lens' CreateClusterParameterGroup (Maybe [Tag])
- createClusterParameterGroup_parameterGroupName :: Lens' CreateClusterParameterGroup Text
- createClusterParameterGroup_parameterGroupFamily :: Lens' CreateClusterParameterGroup Text
- createClusterParameterGroup_description :: Lens' CreateClusterParameterGroup Text
- data CreateClusterParameterGroupResponse = CreateClusterParameterGroupResponse' {}
- newCreateClusterParameterGroupResponse :: Int -> CreateClusterParameterGroupResponse
- createClusterParameterGroupResponse_clusterParameterGroup :: Lens' CreateClusterParameterGroupResponse (Maybe ClusterParameterGroup)
- createClusterParameterGroupResponse_httpStatus :: Lens' CreateClusterParameterGroupResponse Int
Creating a Request
data CreateClusterParameterGroup Source #
See: newCreateClusterParameterGroup
smart constructor.
CreateClusterParameterGroup' | |
|
Instances
newCreateClusterParameterGroup Source #
:: Text | |
-> Text | |
-> Text | |
-> CreateClusterParameterGroup |
Create a value of CreateClusterParameterGroup
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:tags:CreateClusterParameterGroup'
, createClusterParameterGroup_tags
- A list of tag instances.
$sel:parameterGroupName:CreateClusterParameterGroup'
, createClusterParameterGroup_parameterGroupName
- 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 Amazon Web Services account.
This value is stored as a lower-case string.
$sel:parameterGroupFamily:CreateClusterParameterGroup'
, createClusterParameterGroup_parameterGroupFamily
- 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 Amazon Web Services 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".
$sel:description:CreateClusterParameterGroup'
, createClusterParameterGroup_description
- A description of the parameter group.
Request Lenses
createClusterParameterGroup_tags :: Lens' CreateClusterParameterGroup (Maybe [Tag]) Source #
A list of tag instances.
createClusterParameterGroup_parameterGroupName :: 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 Amazon Web Services account.
This value is stored as a lower-case string.
createClusterParameterGroup_parameterGroupFamily :: 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 Amazon Web Services 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".
createClusterParameterGroup_description :: Lens' CreateClusterParameterGroup Text Source #
A description of the parameter group.
Destructuring the Response
data CreateClusterParameterGroupResponse Source #
See: newCreateClusterParameterGroupResponse
smart constructor.
CreateClusterParameterGroupResponse' | |
|
Instances
newCreateClusterParameterGroupResponse Source #
Create a value of CreateClusterParameterGroupResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:clusterParameterGroup:CreateClusterParameterGroupResponse'
, createClusterParameterGroupResponse_clusterParameterGroup
- Undocumented member.
$sel:httpStatus:CreateClusterParameterGroupResponse'
, createClusterParameterGroupResponse_httpStatus
- The response's http status code.
Response Lenses
createClusterParameterGroupResponse_clusterParameterGroup :: Lens' CreateClusterParameterGroupResponse (Maybe ClusterParameterGroup) Source #
Undocumented member.
createClusterParameterGroupResponse_httpStatus :: Lens' CreateClusterParameterGroupResponse Int Source #
The response's http status code.