| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.ElastiCache.ModifyCacheParameterGroup
Description
Modifies the parameters of a cache parameter group. You can modify up to 20 parameters in a single request by submitting a list parameter name and value pairs.
Synopsis
- data ModifyCacheParameterGroup = ModifyCacheParameterGroup' {}
- newModifyCacheParameterGroup :: Text -> ModifyCacheParameterGroup
- modifyCacheParameterGroup_cacheParameterGroupName :: Lens' ModifyCacheParameterGroup Text
- modifyCacheParameterGroup_parameterNameValues :: Lens' ModifyCacheParameterGroup [ParameterNameValue]
- data CacheParameterGroupNameMessage = CacheParameterGroupNameMessage' {}
- newCacheParameterGroupNameMessage :: CacheParameterGroupNameMessage
- cacheParameterGroupNameMessage_cacheParameterGroupName :: Lens' CacheParameterGroupNameMessage (Maybe Text)
Creating a Request
data ModifyCacheParameterGroup Source #
Represents the input of a ModifyCacheParameterGroup operation.
See: newModifyCacheParameterGroup smart constructor.
Constructors
| ModifyCacheParameterGroup' | |
Fields
| |
Instances
newModifyCacheParameterGroup Source #
Arguments
| :: Text | |
| -> ModifyCacheParameterGroup |
Create a value of ModifyCacheParameterGroup with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
ModifyCacheParameterGroup, modifyCacheParameterGroup_cacheParameterGroupName - The name of the cache parameter group to modify.
$sel:parameterNameValues:ModifyCacheParameterGroup', modifyCacheParameterGroup_parameterNameValues - An array of parameter names and values for the parameter update. You
must supply at least one parameter name and value; subsequent arguments
are optional. A maximum of 20 parameters may be modified per request.
Request Lenses
modifyCacheParameterGroup_cacheParameterGroupName :: Lens' ModifyCacheParameterGroup Text Source #
The name of the cache parameter group to modify.
modifyCacheParameterGroup_parameterNameValues :: Lens' ModifyCacheParameterGroup [ParameterNameValue] Source #
An array of parameter names and values for the parameter update. You must supply at least one parameter name and value; subsequent arguments are optional. A maximum of 20 parameters may be modified per request.
Destructuring the Response
data CacheParameterGroupNameMessage Source #
Represents the output of one of the following operations:
ModifyCacheParameterGroup
ResetCacheParameterGroup
See: newCacheParameterGroupNameMessage smart constructor.
Constructors
| CacheParameterGroupNameMessage' | |
Fields
| |
Instances
newCacheParameterGroupNameMessage :: CacheParameterGroupNameMessage Source #
Create a value of CacheParameterGroupNameMessage with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:cacheParameterGroupName:CacheParameterGroupNameMessage', cacheParameterGroupNameMessage_cacheParameterGroupName - The name of the cache parameter group.
Response Lenses
cacheParameterGroupNameMessage_cacheParameterGroupName :: Lens' CacheParameterGroupNameMessage (Maybe Text) Source #
The name of the cache parameter group.