Safe Haskell | None |
---|---|
Language | Haskell2010 |
This operation updates a snapshot schedule configured for a gateway volume.
The default snapshot schedule for volume is once every 24 hours, starting at the creation time of the volume. You can use this API to change the snapshot schedule configured for the volume.
In the request you must identify the gateway volume whose snapshot schedule you want to update, and the schedule information, including when you want the snapshot to begin on a day and the frequency (in hours) of snapshots.
http://docs.aws.amazon.com/storagegateway/latest/APIReference/API_UpdateSnapshotSchedule.html
- data UpdateSnapshotSchedule
- updateSnapshotSchedule :: Text -> Natural -> Natural -> UpdateSnapshotSchedule
- ussDescription :: Lens' UpdateSnapshotSchedule (Maybe Text)
- ussRecurrenceInHours :: Lens' UpdateSnapshotSchedule Natural
- ussStartAt :: Lens' UpdateSnapshotSchedule Natural
- ussVolumeARN :: Lens' UpdateSnapshotSchedule Text
- data UpdateSnapshotScheduleResponse
- updateSnapshotScheduleResponse :: UpdateSnapshotScheduleResponse
- ussrVolumeARN :: Lens' UpdateSnapshotScheduleResponse (Maybe Text)
Request
data UpdateSnapshotSchedule Source
Request constructor
UpdateSnapshotSchedule
constructor.
The fields accessible through corresponding lenses are:
Request lenses
ussDescription :: Lens' UpdateSnapshotSchedule (Maybe Text) Source
Optional description of the snapshot that overwrites the existing description.
ussRecurrenceInHours :: Lens' UpdateSnapshotSchedule Natural Source
Frequency of snapshots. Specify the number of hours between snapshots.
ussStartAt :: Lens' UpdateSnapshotSchedule Natural Source
The hour of the day at which the snapshot schedule begins represented as hh, where hh is the hour (0 to 23). The hour of the day is in the time zone of the gateway.
ussVolumeARN :: Lens' UpdateSnapshotSchedule Text Source
The Amazon Resource Name (ARN) of the volume. Use the ListVolumes
operation
to return a list of gateway volumes.
Response
Response constructor
updateSnapshotScheduleResponse :: UpdateSnapshotScheduleResponse Source
UpdateSnapshotScheduleResponse
constructor.
The fields accessible through corresponding lenses are: