amazonka-opensearch-2.0: Amazon OpenSearch Service 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.OpenSearch.Types.AutoTuneOptions

Description

 
Synopsis

Documentation

data AutoTuneOptions Source #

Auto-Tune settings when updating a domain. For more information, see Auto-Tune for Amazon OpenSearch Service.

See: newAutoTuneOptions smart constructor.

Constructors

AutoTuneOptions' 

Fields

Instances

Instances details
FromJSON AutoTuneOptions Source # 
Instance details

Defined in Amazonka.OpenSearch.Types.AutoTuneOptions

ToJSON AutoTuneOptions Source # 
Instance details

Defined in Amazonka.OpenSearch.Types.AutoTuneOptions

Generic AutoTuneOptions Source # 
Instance details

Defined in Amazonka.OpenSearch.Types.AutoTuneOptions

Associated Types

type Rep AutoTuneOptions :: Type -> Type #

Read AutoTuneOptions Source # 
Instance details

Defined in Amazonka.OpenSearch.Types.AutoTuneOptions

Show AutoTuneOptions Source # 
Instance details

Defined in Amazonka.OpenSearch.Types.AutoTuneOptions

NFData AutoTuneOptions Source # 
Instance details

Defined in Amazonka.OpenSearch.Types.AutoTuneOptions

Methods

rnf :: AutoTuneOptions -> () #

Eq AutoTuneOptions Source # 
Instance details

Defined in Amazonka.OpenSearch.Types.AutoTuneOptions

Hashable AutoTuneOptions Source # 
Instance details

Defined in Amazonka.OpenSearch.Types.AutoTuneOptions

type Rep AutoTuneOptions Source # 
Instance details

Defined in Amazonka.OpenSearch.Types.AutoTuneOptions

type Rep AutoTuneOptions = D1 ('MetaData "AutoTuneOptions" "Amazonka.OpenSearch.Types.AutoTuneOptions" "amazonka-opensearch-2.0-GNoaWlqGXH04P8GBIHM78L" 'False) (C1 ('MetaCons "AutoTuneOptions'" 'PrefixI 'True) (S1 ('MetaSel ('Just "desiredState") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe AutoTuneDesiredState)) :*: (S1 ('MetaSel ('Just "maintenanceSchedules") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [AutoTuneMaintenanceSchedule])) :*: S1 ('MetaSel ('Just "rollbackOnDisable") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe RollbackOnDisable)))))

newAutoTuneOptions :: AutoTuneOptions Source #

Create a value of AutoTuneOptions 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:desiredState:AutoTuneOptions', autoTuneOptions_desiredState - Whether Auto-Tune is enabled or disabled.

$sel:maintenanceSchedules:AutoTuneOptions', autoTuneOptions_maintenanceSchedules - A list of maintenance schedules during which Auto-Tune can deploy changes.

$sel:rollbackOnDisable:AutoTuneOptions', autoTuneOptions_rollbackOnDisable - When disabling Auto-Tune, specify NO_ROLLBACK to retain all prior Auto-Tune settings or DEFAULT_ROLLBACK to revert to the OpenSearch Service defaults. If you specify DEFAULT_ROLLBACK, you must include a MaintenanceSchedule in the request. Otherwise, OpenSearch Service is unable to perform the rollback.

autoTuneOptions_maintenanceSchedules :: Lens' AutoTuneOptions (Maybe [AutoTuneMaintenanceSchedule]) Source #

A list of maintenance schedules during which Auto-Tune can deploy changes.

autoTuneOptions_rollbackOnDisable :: Lens' AutoTuneOptions (Maybe RollbackOnDisable) Source #

When disabling Auto-Tune, specify NO_ROLLBACK to retain all prior Auto-Tune settings or DEFAULT_ROLLBACK to revert to the OpenSearch Service defaults. If you specify DEFAULT_ROLLBACK, you must include a MaintenanceSchedule in the request. Otherwise, OpenSearch Service is unable to perform the rollback.