libZSservicesZSamazonka-elasticacheZSamazonka-elasticache
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.ElastiCache.ResetCacheParameterGroup

Description

Modifies the parameters of a cache parameter group to the engine or system default value. You can reset specific parameters by submitting a list of parameter names. To reset the entire cache parameter group, specify the ResetAllParameters and CacheParameterGroupName parameters.

Synopsis

Creating a Request

data ResetCacheParameterGroup Source #

Represents the input of a ResetCacheParameterGroup operation.

See: newResetCacheParameterGroup smart constructor.

Constructors

ResetCacheParameterGroup' 

Fields

  • resetAllParameters :: Maybe Bool

    If true, all parameters in the cache parameter group are reset to their default values. If false, only the parameters listed by ParameterNameValues are reset to their default values.

    Valid values: true | false

  • parameterNameValues :: Maybe [ParameterNameValue]

    An array of parameter names to reset to their default values. If ResetAllParameters is true, do not use ParameterNameValues. If ResetAllParameters is false, you must specify the name of at least one parameter to reset.

  • cacheParameterGroupName :: Text

    The name of the cache parameter group to reset.

Instances

Instances details
Eq ResetCacheParameterGroup Source # 
Instance details

Defined in Amazonka.ElastiCache.ResetCacheParameterGroup

Read ResetCacheParameterGroup Source # 
Instance details

Defined in Amazonka.ElastiCache.ResetCacheParameterGroup

Show ResetCacheParameterGroup Source # 
Instance details

Defined in Amazonka.ElastiCache.ResetCacheParameterGroup

Generic ResetCacheParameterGroup Source # 
Instance details

Defined in Amazonka.ElastiCache.ResetCacheParameterGroup

Associated Types

type Rep ResetCacheParameterGroup :: Type -> Type #

NFData ResetCacheParameterGroup Source # 
Instance details

Defined in Amazonka.ElastiCache.ResetCacheParameterGroup

Hashable ResetCacheParameterGroup Source # 
Instance details

Defined in Amazonka.ElastiCache.ResetCacheParameterGroup

AWSRequest ResetCacheParameterGroup Source # 
Instance details

Defined in Amazonka.ElastiCache.ResetCacheParameterGroup

ToHeaders ResetCacheParameterGroup Source # 
Instance details

Defined in Amazonka.ElastiCache.ResetCacheParameterGroup

ToPath ResetCacheParameterGroup Source # 
Instance details

Defined in Amazonka.ElastiCache.ResetCacheParameterGroup

ToQuery ResetCacheParameterGroup Source # 
Instance details

Defined in Amazonka.ElastiCache.ResetCacheParameterGroup

type Rep ResetCacheParameterGroup Source # 
Instance details

Defined in Amazonka.ElastiCache.ResetCacheParameterGroup

type Rep ResetCacheParameterGroup = D1 ('MetaData "ResetCacheParameterGroup" "Amazonka.ElastiCache.ResetCacheParameterGroup" "libZSservicesZSamazonka-elasticacheZSamazonka-elasticache" 'False) (C1 ('MetaCons "ResetCacheParameterGroup'" 'PrefixI 'True) (S1 ('MetaSel ('Just "resetAllParameters") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: (S1 ('MetaSel ('Just "parameterNameValues") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [ParameterNameValue])) :*: S1 ('MetaSel ('Just "cacheParameterGroupName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))
type AWSResponse ResetCacheParameterGroup Source # 
Instance details

Defined in Amazonka.ElastiCache.ResetCacheParameterGroup

newResetCacheParameterGroup Source #

Create a value of ResetCacheParameterGroup 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:resetAllParameters:ResetCacheParameterGroup', resetCacheParameterGroup_resetAllParameters - If true, all parameters in the cache parameter group are reset to their default values. If false, only the parameters listed by ParameterNameValues are reset to their default values.

Valid values: true | false

$sel:parameterNameValues:ResetCacheParameterGroup', resetCacheParameterGroup_parameterNameValues - An array of parameter names to reset to their default values. If ResetAllParameters is true, do not use ParameterNameValues. If ResetAllParameters is false, you must specify the name of at least one parameter to reset.

$sel:cacheParameterGroupName:ResetCacheParameterGroup', resetCacheParameterGroup_cacheParameterGroupName - The name of the cache parameter group to reset.

Request Lenses

resetCacheParameterGroup_resetAllParameters :: Lens' ResetCacheParameterGroup (Maybe Bool) Source #

If true, all parameters in the cache parameter group are reset to their default values. If false, only the parameters listed by ParameterNameValues are reset to their default values.

Valid values: true | false

resetCacheParameterGroup_parameterNameValues :: Lens' ResetCacheParameterGroup (Maybe [ParameterNameValue]) Source #

An array of parameter names to reset to their default values. If ResetAllParameters is true, do not use ParameterNameValues. If ResetAllParameters is false, you must specify the name of at least one parameter to reset.

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

Instances details
Eq CacheParameterGroupNameMessage Source # 
Instance details

Defined in Amazonka.ElastiCache.Types.CacheParameterGroupNameMessage

Read CacheParameterGroupNameMessage Source # 
Instance details

Defined in Amazonka.ElastiCache.Types.CacheParameterGroupNameMessage

Show CacheParameterGroupNameMessage Source # 
Instance details

Defined in Amazonka.ElastiCache.Types.CacheParameterGroupNameMessage

Generic CacheParameterGroupNameMessage Source # 
Instance details

Defined in Amazonka.ElastiCache.Types.CacheParameterGroupNameMessage

Associated Types

type Rep CacheParameterGroupNameMessage :: Type -> Type #

NFData CacheParameterGroupNameMessage Source # 
Instance details

Defined in Amazonka.ElastiCache.Types.CacheParameterGroupNameMessage

Hashable CacheParameterGroupNameMessage Source # 
Instance details

Defined in Amazonka.ElastiCache.Types.CacheParameterGroupNameMessage

FromXML CacheParameterGroupNameMessage Source # 
Instance details

Defined in Amazonka.ElastiCache.Types.CacheParameterGroupNameMessage

type Rep CacheParameterGroupNameMessage Source # 
Instance details

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