Copyright | (c) 2013-2021 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 |
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.
ModifyCacheParameterGroup' | |
|
Instances
newModifyCacheParameterGroup Source #
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:
$sel:cacheParameterGroupName: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.
CacheParameterGroupNameMessage' | |
|
Instances
Eq CacheParameterGroupNameMessage Source # | |
Read CacheParameterGroupNameMessage Source # | |
Show CacheParameterGroupNameMessage Source # | |
Generic CacheParameterGroupNameMessage Source # | |
NFData CacheParameterGroupNameMessage Source # | |
Defined in Amazonka.ElastiCache.Types.CacheParameterGroupNameMessage rnf :: CacheParameterGroupNameMessage -> () # | |
Hashable CacheParameterGroupNameMessage Source # | |
FromXML CacheParameterGroupNameMessage Source # | |
type Rep CacheParameterGroupNameMessage Source # | |
Defined in Amazonka.ElastiCache.Types.CacheParameterGroupNameMessage type Rep CacheParameterGroupNameMessage = D1 ('MetaData "CacheParameterGroupNameMessage" "Amazonka.ElastiCache.Types.CacheParameterGroupNameMessage" "libZSservicesZSamazonka-elasticacheZSamazonka-elasticache" 'False) (C1 ('MetaCons "CacheParameterGroupNameMessage'" 'PrefixI 'True) (S1 ('MetaSel ('Just "cacheParameterGroupName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) |
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.