paws.storage (version 0.1.0)

storagegateway_update_snapshot_schedule: Updates a snapshot schedule configured for a gateway volume

Description

Updates a snapshot schedule configured for a gateway volume. This operation is only supported in the cached volume and stored volume gateway types.

Usage

storagegateway_update_snapshot_schedule(VolumeARN, StartAt,
  RecurrenceInHours, Description)

Arguments

VolumeARN

[required] The Amazon Resource Name (ARN) of the volume. Use the ListVolumes operation to return a list of gateway volumes.

StartAt

[required] 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.

RecurrenceInHours

[required] Frequency of snapshots. Specify the number of hours between snapshots.

Description

Optional description of the snapshot that overwrites the existing description.

Request syntax

svc$update_snapshot_schedule(
  VolumeARN = "string",
  StartAt = 123,
  RecurrenceInHours = 123,
  Description = "string"
)

Details

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.

Examples

Run this code
# NOT RUN {
# Updates a snapshot schedule configured for a gateway volume.
# }
# NOT RUN {
svc$update_snapshot_schedule(
  Description = "Hourly snapshot",
  RecurrenceInHours = 1L,
  StartAt = 0L,
  VolumeARN = "arn:aws:storagegateway:us-east-1:111122223333:gateway/sgw-12A3456B/volume/vol..."
)
# }
# NOT RUN {
# }

Run the code above in your browser using DataCamp Workspace