Safe Haskell | None |
---|---|
Language | Haskell2010 |
The CreateCacheSubnetGroup operation creates a new cache subnet group.
Use this parameter only when you are creating a cluster in an Amazon Virtual Private Cloud (VPC).
http://docs.aws.amazon.com/AmazonElastiCache/latest/APIReference/API_CreateCacheSubnetGroup.html
- data CreateCacheSubnetGroup
- createCacheSubnetGroup :: Text -> Text -> CreateCacheSubnetGroup
- ccsgCacheSubnetGroupDescription :: Lens' CreateCacheSubnetGroup Text
- ccsgCacheSubnetGroupName :: Lens' CreateCacheSubnetGroup Text
- ccsgSubnetIds :: Lens' CreateCacheSubnetGroup [Text]
- data CreateCacheSubnetGroupResponse
- createCacheSubnetGroupResponse :: CreateCacheSubnetGroupResponse
- ccsgrCacheSubnetGroup :: Lens' CreateCacheSubnetGroupResponse (Maybe CacheSubnetGroup)
Request
data CreateCacheSubnetGroup Source
Request constructor
CreateCacheSubnetGroup
constructor.
The fields accessible through corresponding lenses are:
Request lenses
ccsgCacheSubnetGroupDescription :: Lens' CreateCacheSubnetGroup Text Source
A description for the cache subnet group.
ccsgCacheSubnetGroupName :: Lens' CreateCacheSubnetGroup Text Source
A name for the cache subnet group. This value is stored as a lowercase string.
Constraints: Must contain no more than 255 alphanumeric characters or hyphens.
Example: mysubnetgroup
ccsgSubnetIds :: Lens' CreateCacheSubnetGroup [Text] Source
A list of VPC subnet IDs for the cache subnet group.
Response
Response constructor
createCacheSubnetGroupResponse :: CreateCacheSubnetGroupResponse Source
CreateCacheSubnetGroupResponse
constructor.
The fields accessible through corresponding lenses are: