amazonka-memorydb-2.0: Amazon MemoryDB SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.MemoryDb.ResetParameterGroup

Description

Modifies the parameters of a 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 parameter group, specify the AllParameters and ParameterGroupName parameters.

Synopsis

Creating a Request

data ResetParameterGroup Source #

See: newResetParameterGroup smart constructor.

Constructors

ResetParameterGroup' 

Fields

  • allParameters :: Maybe Bool

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

  • parameterNames :: Maybe [Text]

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

  • parameterGroupName :: Text

    The name of the parameter group to reset.

Instances

Instances details
ToJSON ResetParameterGroup Source # 
Instance details

Defined in Amazonka.MemoryDb.ResetParameterGroup

ToHeaders ResetParameterGroup Source # 
Instance details

Defined in Amazonka.MemoryDb.ResetParameterGroup

ToPath ResetParameterGroup Source # 
Instance details

Defined in Amazonka.MemoryDb.ResetParameterGroup

ToQuery ResetParameterGroup Source # 
Instance details

Defined in Amazonka.MemoryDb.ResetParameterGroup

AWSRequest ResetParameterGroup Source # 
Instance details

Defined in Amazonka.MemoryDb.ResetParameterGroup

Associated Types

type AWSResponse ResetParameterGroup #

Generic ResetParameterGroup Source # 
Instance details

Defined in Amazonka.MemoryDb.ResetParameterGroup

Associated Types

type Rep ResetParameterGroup :: Type -> Type #

Read ResetParameterGroup Source # 
Instance details

Defined in Amazonka.MemoryDb.ResetParameterGroup

Show ResetParameterGroup Source # 
Instance details

Defined in Amazonka.MemoryDb.ResetParameterGroup

NFData ResetParameterGroup Source # 
Instance details

Defined in Amazonka.MemoryDb.ResetParameterGroup

Methods

rnf :: ResetParameterGroup -> () #

Eq ResetParameterGroup Source # 
Instance details

Defined in Amazonka.MemoryDb.ResetParameterGroup

Hashable ResetParameterGroup Source # 
Instance details

Defined in Amazonka.MemoryDb.ResetParameterGroup

type AWSResponse ResetParameterGroup Source # 
Instance details

Defined in Amazonka.MemoryDb.ResetParameterGroup

type Rep ResetParameterGroup Source # 
Instance details

Defined in Amazonka.MemoryDb.ResetParameterGroup

type Rep ResetParameterGroup = D1 ('MetaData "ResetParameterGroup" "Amazonka.MemoryDb.ResetParameterGroup" "amazonka-memorydb-2.0-7JvPQiLpSKi6naAXiKMLiu" 'False) (C1 ('MetaCons "ResetParameterGroup'" 'PrefixI 'True) (S1 ('MetaSel ('Just "allParameters") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: (S1 ('MetaSel ('Just "parameterNames") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: S1 ('MetaSel ('Just "parameterGroupName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))

newResetParameterGroup Source #

Create a value of ResetParameterGroup 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:allParameters:ResetParameterGroup', resetParameterGroup_allParameters - If true, all parameters in the parameter group are reset to their default values. If false, only the parameters listed by ParameterNames are reset to their default values.

$sel:parameterNames:ResetParameterGroup', resetParameterGroup_parameterNames - An array of parameter names to reset to their default values. If AllParameters is true, do not use ParameterNames. If AllParameters is false, you must specify the name of at least one parameter to reset.

ResetParameterGroup, resetParameterGroup_parameterGroupName - The name of the parameter group to reset.

Request Lenses

resetParameterGroup_allParameters :: Lens' ResetParameterGroup (Maybe Bool) Source #

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

resetParameterGroup_parameterNames :: Lens' ResetParameterGroup (Maybe [Text]) Source #

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

resetParameterGroup_parameterGroupName :: Lens' ResetParameterGroup Text Source #

The name of the parameter group to reset.

Destructuring the Response

data ResetParameterGroupResponse Source #

See: newResetParameterGroupResponse smart constructor.

Constructors

ResetParameterGroupResponse' 

Fields

Instances

Instances details
Generic ResetParameterGroupResponse Source # 
Instance details

Defined in Amazonka.MemoryDb.ResetParameterGroup

Associated Types

type Rep ResetParameterGroupResponse :: Type -> Type #

Read ResetParameterGroupResponse Source # 
Instance details

Defined in Amazonka.MemoryDb.ResetParameterGroup

Show ResetParameterGroupResponse Source # 
Instance details

Defined in Amazonka.MemoryDb.ResetParameterGroup

NFData ResetParameterGroupResponse Source # 
Instance details

Defined in Amazonka.MemoryDb.ResetParameterGroup

Eq ResetParameterGroupResponse Source # 
Instance details

Defined in Amazonka.MemoryDb.ResetParameterGroup

type Rep ResetParameterGroupResponse Source # 
Instance details

Defined in Amazonka.MemoryDb.ResetParameterGroup

type Rep ResetParameterGroupResponse = D1 ('MetaData "ResetParameterGroupResponse" "Amazonka.MemoryDb.ResetParameterGroup" "amazonka-memorydb-2.0-7JvPQiLpSKi6naAXiKMLiu" 'False) (C1 ('MetaCons "ResetParameterGroupResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "parameterGroup") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ParameterGroup)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newResetParameterGroupResponse Source #

Create a value of ResetParameterGroupResponse 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:parameterGroup:ResetParameterGroupResponse', resetParameterGroupResponse_parameterGroup - The parameter group being reset.

$sel:httpStatus:ResetParameterGroupResponse', resetParameterGroupResponse_httpStatus - The response's http status code.

Response Lenses