Safe Haskell | None |
---|---|
Language | Haskell2010 |
Network.AWS.ElastiCache.CreateCacheSubnetGroup
Description
The CreateCacheSubnetGroup action 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
Instances
Eq CreateCacheSubnetGroup | |
Ord CreateCacheSubnetGroup | |
Read CreateCacheSubnetGroup | |
Show CreateCacheSubnetGroup | |
AWSRequest CreateCacheSubnetGroup | |
ToQuery CreateCacheSubnetGroup | |
ToPath CreateCacheSubnetGroup | |
ToHeaders CreateCacheSubnetGroup | |
type Sv CreateCacheSubnetGroup = ElastiCache | |
type Rs CreateCacheSubnetGroup = CreateCacheSubnetGroupResponse |
Request constructor
Arguments
:: Text | |
-> Text | |
-> CreateCacheSubnetGroup |
CreateCacheSubnetGroup
constructor.
The fields accessible through corresponding lenses are:
ccsgCacheSubnetGroupDescription
::
Text
ccsgCacheSubnetGroupName
::
Text
ccsgSubnetIds
::
[Text
]
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: