Skip to content

/AWS1/CL_STG=>UPDATESNAPSHOTSCHEDULE()

About UpdateSnapshotSchedule

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

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.

Method Signature

IMPORTING

Required arguments:

IV_VOLUMEARN TYPE /AWS1/STGVOLUMEARN /AWS1/STGVOLUMEARN

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

IV_STARTAT TYPE /AWS1/STGHOUROFDAY /AWS1/STGHOUROFDAY

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.

IV_RECURRENCEINHOURS TYPE /AWS1/STGRECURRENCEINHOURS /AWS1/STGRECURRENCEINHOURS

Frequency of snapshots. Specify the number of hours between snapshots.

Optional arguments:

IV_DESCRIPTION TYPE /AWS1/STGDESCRIPTION /AWS1/STGDESCRIPTION

Optional description of the snapshot that overwrites the existing description.

IT_TAGS TYPE /AWS1/CL_STGTAG=>TT_TAGS TT_TAGS

A list of up to 50 tags that can be assigned to a snapshot. Each tag is a key-value pair.

Valid characters for key and value are letters, spaces, and numbers representable in UTF-8 format, and the following special characters: + - = . _ : / @. The maximum length of a tag's key is 128 characters, and the maximum length for a tag's value is 256.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_STGUPDSNAPSCHDOUTPUT /AWS1/CL_STGUPDSNAPSCHDOUTPUT