Copyright | (c) 2013-2018 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Creates a new Amazon ElastiCache cache parameter group. An ElastiCache cache parameter group is a collection of parameters and their values that are applied to all of the nodes in any cluster or replication group using the CacheParameterGroup.
A newly created CacheParameterGroup is an exact duplicate of the default parameter group for the CacheParameterGroupFamily. To customize the newly created CacheParameterGroup you can change the values of specific parameters. For more information, see:
- ModifyCacheParameterGroup in the ElastiCache API Reference.
- Parameters and Parameter Groups in the ElastiCache User Guide.
- 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 #
:: 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:
ccpgCacheParameterGroupName
- A user-specified name for the cache parameter group.ccpgCacheParameterGroupFamily
- The name of the cache parameter group family that the cache parameter group can be used with. Valid values are:memcached1.4
|redis2.6
|redis2.8
|redis3.2
ccpgDescription
- A user-specified description for the cache parameter group.
data CreateCacheParameterGroup Source #
Represents the input of a CreateCacheParameterGroup
operation.
See: createCacheParameterGroup
smart constructor.
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 that the cache parameter group can be used with. Valid values are: memcached1.4
| redis2.6
| redis2.8
| redis3.2
ccpgDescription :: Lens' CreateCacheParameterGroup Text Source #
A user-specified description for the cache parameter group.
Destructuring the Response
createCacheParameterGroupResponse Source #
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:
ccpgrsCacheParameterGroup
- Undocumented member.ccpgrsResponseStatus
- -- | The response status code.
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.