This operation deletes a snapshot of a volume.
You can take snapshots of your gateway volumes on a scheduled or ad-hoc basis. This API enables you to delete a snapshot schedule for a volume. For more information, see Working with Snapshots . In the DeleteSnapshotSchedule request, you identify the volume by providing its Amazon Resource Name (ARN).
NOTE: To list or delete a snapshot, you must use the Amazon EC2 API. in Amazon Elastic Compute Cloud API Reference.
Declaration Syntax
C# |
public DeleteSnapshotScheduleResponse DeleteSnapshotSchedule( DeleteSnapshotScheduleRequest deleteSnapshotScheduleRequest )
Parameters
- deleteSnapshotScheduleRequest (DeleteSnapshotScheduleRequest)
- Container for the necessary parameters to execute the DeleteSnapshotSchedule service method on AmazonStorageGateway.
Return Value
The response from the DeleteSnapshotSchedule service method, as returned by AmazonStorageGateway.
Exceptions
Exception | Condition |
---|---|
InternalServerErrorException | |
InvalidGatewayRequestException |