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 |
Synopsis
- data AutoTuneOptions = AutoTuneOptions' {}
- newAutoTuneOptions :: AutoTuneOptions
- autoTuneOptions_desiredState :: Lens' AutoTuneOptions (Maybe AutoTuneDesiredState)
- autoTuneOptions_maintenanceSchedules :: Lens' AutoTuneOptions (Maybe [AutoTuneMaintenanceSchedule])
- autoTuneOptions_rollbackOnDisable :: Lens' AutoTuneOptions (Maybe RollbackOnDisable)
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.
AutoTuneOptions' | |
|
Instances
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_desiredState :: Lens' AutoTuneOptions (Maybe AutoTuneDesiredState) Source #
Whether Auto-Tune is enabled or disabled.
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.