Copyright | (c) 2013-2015 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 a new Amazon Redshift security group. You use security groups to control access to non-VPC clusters.
For information about managing security groups, go to Amazon Redshift Cluster Security Groups in the Amazon Redshift Cluster Management Guide.
See: AWS API Reference for CreateClusterSecurityGroup.
- createClusterSecurityGroup :: Text -> Text -> CreateClusterSecurityGroup
- data CreateClusterSecurityGroup
- creTags :: Lens' CreateClusterSecurityGroup [Tag]
- creClusterSecurityGroupName :: Lens' CreateClusterSecurityGroup Text
- creDescription :: Lens' CreateClusterSecurityGroup Text
- createClusterSecurityGroupResponse :: Int -> CreateClusterSecurityGroupResponse
- data CreateClusterSecurityGroupResponse
- crsClusterSecurityGroup :: Lens' CreateClusterSecurityGroupResponse (Maybe ClusterSecurityGroup)
- crsStatus :: Lens' CreateClusterSecurityGroupResponse Int
Creating a Request
createClusterSecurityGroup Source
Creates a value of CreateClusterSecurityGroup
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data CreateClusterSecurityGroup Source
???
See: createClusterSecurityGroup
smart constructor.
Request Lenses
creTags :: Lens' CreateClusterSecurityGroup [Tag] Source
A list of tag instances.
creClusterSecurityGroupName :: Lens' CreateClusterSecurityGroup Text Source
The name for the security group. Amazon Redshift stores the value as a lowercase string.
Constraints:
- Must contain no more than 255 alphanumeric characters or hyphens.
- Must not be "Default".
- Must be unique for all security groups that are created by your AWS account.
Example: examplesecuritygroup
creDescription :: Lens' CreateClusterSecurityGroup Text Source
A description for the security group.
Destructuring the Response
createClusterSecurityGroupResponse Source
Creates a value of CreateClusterSecurityGroupResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data CreateClusterSecurityGroupResponse Source
See: createClusterSecurityGroupResponse
smart constructor.
Response Lenses
crsClusterSecurityGroup :: Lens' CreateClusterSecurityGroupResponse (Maybe ClusterSecurityGroup) Source
Undocumented member.
crsStatus :: Lens' CreateClusterSecurityGroupResponse Int Source
The response status code.