| 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 |
Amazonka.Redshift.ModifyClusterSnapshotSchedule
Description
Modifies a snapshot schedule for a cluster.
Synopsis
- data ModifyClusterSnapshotSchedule = ModifyClusterSnapshotSchedule' {}
- newModifyClusterSnapshotSchedule :: Text -> ModifyClusterSnapshotSchedule
- modifyClusterSnapshotSchedule_disassociateSchedule :: Lens' ModifyClusterSnapshotSchedule (Maybe Bool)
- modifyClusterSnapshotSchedule_scheduleIdentifier :: Lens' ModifyClusterSnapshotSchedule (Maybe Text)
- modifyClusterSnapshotSchedule_clusterIdentifier :: Lens' ModifyClusterSnapshotSchedule Text
- data ModifyClusterSnapshotScheduleResponse = ModifyClusterSnapshotScheduleResponse' {
- newModifyClusterSnapshotScheduleResponse :: ModifyClusterSnapshotScheduleResponse
Creating a Request
data ModifyClusterSnapshotSchedule Source #
See: newModifyClusterSnapshotSchedule smart constructor.
Constructors
| ModifyClusterSnapshotSchedule' | |
Fields
| |
Instances
newModifyClusterSnapshotSchedule Source #
Create a value of ModifyClusterSnapshotSchedule 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:disassociateSchedule:ModifyClusterSnapshotSchedule', modifyClusterSnapshotSchedule_disassociateSchedule - A boolean to indicate whether to remove the assoiciation between the
cluster and the schedule.
ModifyClusterSnapshotSchedule, modifyClusterSnapshotSchedule_scheduleIdentifier - A unique alphanumeric identifier for the schedule that you want to
associate with the cluster.
ModifyClusterSnapshotSchedule, modifyClusterSnapshotSchedule_clusterIdentifier - A unique identifier for the cluster whose snapshot schedule you want to
modify.
Request Lenses
modifyClusterSnapshotSchedule_disassociateSchedule :: Lens' ModifyClusterSnapshotSchedule (Maybe Bool) Source #
A boolean to indicate whether to remove the assoiciation between the cluster and the schedule.
modifyClusterSnapshotSchedule_scheduleIdentifier :: Lens' ModifyClusterSnapshotSchedule (Maybe Text) Source #
A unique alphanumeric identifier for the schedule that you want to associate with the cluster.
modifyClusterSnapshotSchedule_clusterIdentifier :: Lens' ModifyClusterSnapshotSchedule Text Source #
A unique identifier for the cluster whose snapshot schedule you want to modify.
Destructuring the Response
data ModifyClusterSnapshotScheduleResponse Source #
See: newModifyClusterSnapshotScheduleResponse smart constructor.
Constructors
| ModifyClusterSnapshotScheduleResponse' | |
Instances
newModifyClusterSnapshotScheduleResponse :: ModifyClusterSnapshotScheduleResponse Source #
Create a value of ModifyClusterSnapshotScheduleResponse with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.