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 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 Subnet Groups in the Amazon Redshift Cluster Management Guide .
- createClusterSubnetGroup :: Text -> Text -> CreateClusterSubnetGroup
- data CreateClusterSubnetGroup
- ccsgTags :: Lens' CreateClusterSubnetGroup [Tag]
- ccsgClusterSubnetGroupName :: Lens' CreateClusterSubnetGroup Text
- ccsgDescription :: Lens' CreateClusterSubnetGroup Text
- ccsgSubnetIds :: Lens' CreateClusterSubnetGroup [Text]
- createClusterSubnetGroupResponse :: Int -> CreateClusterSubnetGroupResponse
- data CreateClusterSubnetGroupResponse
- ccsgrsClusterSubnetGroup :: Lens' CreateClusterSubnetGroupResponse (Maybe ClusterSubnetGroup)
- ccsgrsResponseStatus :: Lens' CreateClusterSubnetGroupResponse Int
Creating a Request
createClusterSubnetGroup Source #
Creates a value of CreateClusterSubnetGroup
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
ccsgTags
- A list of tag instances.ccsgClusterSubnetGroupName
- 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
- A description for the subnet group.ccsgSubnetIds
- An array of VPC subnet IDs. A maximum of 20 subnets can be modified in a single request.
data CreateClusterSubnetGroup Source #
See: createClusterSubnetGroup
smart constructor.
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.
Destructuring the Response
createClusterSubnetGroupResponse Source #
Creates a value of CreateClusterSubnetGroupResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
ccsgrsClusterSubnetGroup
- Undocumented member.ccsgrsResponseStatus
- -- | The response status code.
data CreateClusterSubnetGroupResponse Source #
See: createClusterSubnetGroupResponse
smart constructor.
Response Lenses
ccsgrsClusterSubnetGroup :: Lens' CreateClusterSubnetGroupResponse (Maybe ClusterSubnetGroup) Source #
Undocumented member.
ccsgrsResponseStatus :: Lens' CreateClusterSubnetGroupResponse Int Source #
- - | The response status code.