| 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.ModifySnapshotSchedule
Description
Modifies a snapshot schedule. Any schedule associated with a cluster is modified asynchronously.
Synopsis
- data ModifySnapshotSchedule = ModifySnapshotSchedule' {}
- newModifySnapshotSchedule :: Text -> ModifySnapshotSchedule
- modifySnapshotSchedule_scheduleIdentifier :: Lens' ModifySnapshotSchedule Text
- modifySnapshotSchedule_scheduleDefinitions :: Lens' ModifySnapshotSchedule [Text]
- data SnapshotSchedule = SnapshotSchedule' {}
- newSnapshotSchedule :: SnapshotSchedule
- snapshotSchedule_associatedClusterCount :: Lens' SnapshotSchedule (Maybe Int)
- snapshotSchedule_associatedClusters :: Lens' SnapshotSchedule (Maybe [ClusterAssociatedToSchedule])
- snapshotSchedule_nextInvocations :: Lens' SnapshotSchedule (Maybe [UTCTime])
- snapshotSchedule_scheduleDefinitions :: Lens' SnapshotSchedule (Maybe [Text])
- snapshotSchedule_scheduleDescription :: Lens' SnapshotSchedule (Maybe Text)
- snapshotSchedule_scheduleIdentifier :: Lens' SnapshotSchedule (Maybe Text)
- snapshotSchedule_tags :: Lens' SnapshotSchedule (Maybe [Tag])
Creating a Request
data ModifySnapshotSchedule Source #
See: newModifySnapshotSchedule smart constructor.
Constructors
| ModifySnapshotSchedule' | |
Fields
| |
Instances
newModifySnapshotSchedule Source #
Arguments
| :: Text | |
| -> ModifySnapshotSchedule |
Create a value of ModifySnapshotSchedule 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:
ModifySnapshotSchedule, modifySnapshotSchedule_scheduleIdentifier - A unique alphanumeric identifier of the schedule to modify.
ModifySnapshotSchedule, modifySnapshotSchedule_scheduleDefinitions - An updated list of schedule definitions. A schedule definition is made
up of schedule expressions, for example, "cron(30 12 *)" or "rate(12
hours)".
Request Lenses
modifySnapshotSchedule_scheduleIdentifier :: Lens' ModifySnapshotSchedule Text Source #
A unique alphanumeric identifier of the schedule to modify.
modifySnapshotSchedule_scheduleDefinitions :: Lens' ModifySnapshotSchedule [Text] Source #
An updated list of schedule definitions. A schedule definition is made up of schedule expressions, for example, "cron(30 12 *)" or "rate(12 hours)".
Destructuring the Response
data SnapshotSchedule Source #
Describes a snapshot schedule. You can set a regular interval for creating snapshots of a cluster. You can also schedule snapshots for specific dates.
See: newSnapshotSchedule smart constructor.
Constructors
| SnapshotSchedule' | |
Fields
| |
Instances
newSnapshotSchedule :: SnapshotSchedule Source #
Create a value of SnapshotSchedule 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:associatedClusterCount:SnapshotSchedule', snapshotSchedule_associatedClusterCount - The number of clusters associated with the schedule.
$sel:associatedClusters:SnapshotSchedule', snapshotSchedule_associatedClusters - A list of clusters associated with the schedule. A maximum of 100
clusters is returned.
$sel:nextInvocations:SnapshotSchedule', snapshotSchedule_nextInvocations -
$sel:scheduleDefinitions:SnapshotSchedule', snapshotSchedule_scheduleDefinitions - A list of ScheduleDefinitions.
$sel:scheduleDescription:SnapshotSchedule', snapshotSchedule_scheduleDescription - The description of the schedule.
$sel:scheduleIdentifier:SnapshotSchedule', snapshotSchedule_scheduleIdentifier - A unique identifier for the schedule.
$sel:tags:SnapshotSchedule', snapshotSchedule_tags - An optional set of tags describing the schedule.
Response Lenses
snapshotSchedule_associatedClusterCount :: Lens' SnapshotSchedule (Maybe Int) Source #
The number of clusters associated with the schedule.
snapshotSchedule_associatedClusters :: Lens' SnapshotSchedule (Maybe [ClusterAssociatedToSchedule]) Source #
A list of clusters associated with the schedule. A maximum of 100 clusters is returned.
snapshotSchedule_scheduleDefinitions :: Lens' SnapshotSchedule (Maybe [Text]) Source #
A list of ScheduleDefinitions.
snapshotSchedule_scheduleDescription :: Lens' SnapshotSchedule (Maybe Text) Source #
The description of the schedule.
snapshotSchedule_scheduleIdentifier :: Lens' SnapshotSchedule (Maybe Text) Source #
A unique identifier for the schedule.
snapshotSchedule_tags :: Lens' SnapshotSchedule (Maybe [Tag]) Source #
An optional set of tags describing the schedule.