Safe Haskell | None |
---|---|
Language | Haskell2010 |
Creates a new Amazon Redshift subnet group. You must provide a list of one or more subnets in your existing Amazon Virtual Private Cloud (Amazon VPC) when creating Amazon Redshift subnet group.
For information about subnet groups, go to Amazon Redshift Cluster SubnetGroups in the Amazon Redshift Cluster Management Guide.
http://docs.aws.amazon.com/redshift/latest/APIReference/API_CreateClusterSubnetGroup.html
- data CreateClusterSubnetGroup
- createClusterSubnetGroup :: Text -> Text -> CreateClusterSubnetGroup
- ccsgClusterSubnetGroupName :: Lens' CreateClusterSubnetGroup Text
- ccsgDescription :: Lens' CreateClusterSubnetGroup Text
- ccsgSubnetIds :: Lens' CreateClusterSubnetGroup [Text]
- ccsgTags :: Lens' CreateClusterSubnetGroup [Tag]
- data CreateClusterSubnetGroupResponse
- createClusterSubnetGroupResponse :: CreateClusterSubnetGroupResponse
- ccsgrClusterSubnetGroup :: Lens' CreateClusterSubnetGroupResponse (Maybe ClusterSubnetGroup)
Request
data CreateClusterSubnetGroup Source
Request constructor
createClusterSubnetGroup Source
CreateClusterSubnetGroup
constructor.
The fields accessible through corresponding lenses are:
ccsgClusterSubnetGroupName
::
Text
ccsgDescription
::
Text
ccsgSubnetIds
::
[Text
]ccsgTags
::
[Tag
]
Request lenses
ccsgClusterSubnetGroupName :: Lens' CreateClusterSubnetGroup Text Source
The name for the subnet 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 subnet groups that are created by your
AWS account. Example: examplesubnetgroup
ccsgDescription :: Lens' CreateClusterSubnetGroup Text Source
A description for the subnet group.
ccsgSubnetIds :: Lens' CreateClusterSubnetGroup [Text] Source
An array of VPC subnet IDs. A maximum of 20 subnets can be modified in a single request.
ccsgTags :: Lens' CreateClusterSubnetGroup [Tag] Source
A list of tag instances.
Response
Response constructor
createClusterSubnetGroupResponse :: CreateClusterSubnetGroupResponse Source
CreateClusterSubnetGroupResponse
constructor.
The fields accessible through corresponding lenses are: