describe_snapshot_schedule
¶
describe_snapshot_schedule(
volume_arn: VolumeARN,
*,
config_overrides: Optional[StorageGatewayClientConfig] = None,
) -> DescribeSnapshotScheduleOutput
Describes the snapshot schedule for the specified gateway volume. The snapshot schedule information includes intervals at which snapshots are automatically initiated on the volume. This operation is only supported in the cached volume and stored volume types.
Parameters:
-
volume_arn(VolumeARN) –The Amazon Resource Name (ARN) of the volume. Use the ListVolumes operation to return a list of gateway volumes.
Raises:
-
InternalServerError–An internal server error has occurred during the request. For more information, see the error and message fields.
-
InvalidGatewayRequestException–An exception occurred because an invalid gateway request was issued to the service. For more information, see the error and message fields.
-
UnknownServiceError–The service returned an error code this client does not model.
Examples:
To describe snapshot schedule for gateway volume Describes the snapshot schedule for the specified gateway volume including intervals at which snapshots are automatically initiated.
>>> client.describe_snapshot_schedule(volume_arn='arn:aws:storagegateway:us-east-1:111122223333:gateway/sgw-12A3456B/volume/vol-1122AABB')