| Copyright | (c) 2013-2015 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay <[email protected]> |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | None |
| Language | Haskell2010 |
Network.AWS.ElastiCache.CreateCacheParameterGroup
Description
The CreateCacheParameterGroup action creates a new cache parameter group. A cache parameter group is a collection of parameters that you apply to all of the nodes in a cache cluster.
See: AWS API Reference for CreateCacheParameterGroup.
- createCacheParameterGroup :: Text -> Text -> Text -> CreateCacheParameterGroup
- data CreateCacheParameterGroup
- ccpgCacheParameterGroupName :: Lens' CreateCacheParameterGroup Text
- ccpgCacheParameterGroupFamily :: Lens' CreateCacheParameterGroup Text
- ccpgDescription :: Lens' CreateCacheParameterGroup Text
- createCacheParameterGroupResponse :: Int -> CreateCacheParameterGroupResponse
- data CreateCacheParameterGroupResponse
- ccpgrsCacheParameterGroup :: Lens' CreateCacheParameterGroupResponse (Maybe CacheParameterGroup)
- ccpgrsResponseStatus :: Lens' CreateCacheParameterGroupResponse Int
Creating a Request
createCacheParameterGroup Source
Arguments
| :: Text | |
| -> Text | |
| -> Text | |
| -> CreateCacheParameterGroup |
Creates a value of CreateCacheParameterGroup with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data CreateCacheParameterGroup Source
Represents the input of a CreateCacheParameterGroup action.
See: createCacheParameterGroup smart constructor.
Instances
Request Lenses
ccpgCacheParameterGroupName :: Lens' CreateCacheParameterGroup Text Source
A user-specified name for the cache parameter group.
ccpgCacheParameterGroupFamily :: Lens' CreateCacheParameterGroup Text Source
The name of the cache parameter group family the cache parameter group can be used with.
Valid values are: 'memcached1.4' | 'redis2.6' | 'redis2.8'
ccpgDescription :: Lens' CreateCacheParameterGroup Text Source
A user-specified description for the cache parameter group.
Destructuring the Response
createCacheParameterGroupResponse Source
Arguments
| :: Int | |
| -> CreateCacheParameterGroupResponse |
Creates a value of CreateCacheParameterGroupResponse with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data CreateCacheParameterGroupResponse Source
See: createCacheParameterGroupResponse smart constructor.
Response Lenses
ccpgrsCacheParameterGroup :: Lens' CreateCacheParameterGroupResponse (Maybe CacheParameterGroup) Source
Undocumented member.
ccpgrsResponseStatus :: Lens' CreateCacheParameterGroupResponse Int Source
The response status code.