| 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 |
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).
See: AWS API Reference for CreateCacheSubnetGroup.
- createCacheSubnetGroup :: Text -> Text -> CreateCacheSubnetGroup
- data CreateCacheSubnetGroup
- ccsgCacheSubnetGroupName :: Lens' CreateCacheSubnetGroup Text
- ccsgCacheSubnetGroupDescription :: Lens' CreateCacheSubnetGroup Text
- ccsgSubnetIds :: Lens' CreateCacheSubnetGroup [Text]
- createCacheSubnetGroupResponse :: Int -> CreateCacheSubnetGroupResponse
- data CreateCacheSubnetGroupResponse
- crsCacheSubnetGroup :: Lens' CreateCacheSubnetGroupResponse (Maybe CacheSubnetGroup)
- crsStatus :: Lens' CreateCacheSubnetGroupResponse Int
Creating a Request
Arguments
| :: Text | |
| -> Text | |
| -> CreateCacheSubnetGroup |
Creates a value of CreateCacheSubnetGroup with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data CreateCacheSubnetGroup Source
Represents the input of a CreateCacheSubnetGroup action.
See: createCacheSubnetGroup smart constructor.
Instances
Request Lenses
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
ccsgCacheSubnetGroupDescription :: Lens' CreateCacheSubnetGroup Text Source
A description for the cache subnet group.
ccsgSubnetIds :: Lens' CreateCacheSubnetGroup [Text] Source
A list of VPC subnet IDs for the cache subnet group.
Destructuring the Response
createCacheSubnetGroupResponse Source
Arguments
| :: Int | |
| -> CreateCacheSubnetGroupResponse |
Creates a value of CreateCacheSubnetGroupResponse with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data CreateCacheSubnetGroupResponse Source
See: createCacheSubnetGroupResponse smart constructor.
Response Lenses
crsCacheSubnetGroup :: Lens' CreateCacheSubnetGroupResponse (Maybe CacheSubnetGroup) Source
Undocumented member.
crsStatus :: Lens' CreateCacheSubnetGroupResponse Int Source
The response status code.