Copyright | (c) 2013-2018 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Deletes a snapshot of a volume.
You can take snapshots of your gateway volumes on a scheduled or ad hoc basis. This API action 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). This operation is only supported in stored and cached volume gateway types.
Synopsis
- deleteSnapshotSchedule :: Text -> DeleteSnapshotSchedule
- data DeleteSnapshotSchedule
- dVolumeARN :: Lens' DeleteSnapshotSchedule Text
- deleteSnapshotScheduleResponse :: Int -> DeleteSnapshotScheduleResponse
- data DeleteSnapshotScheduleResponse
- dsssrsVolumeARN :: Lens' DeleteSnapshotScheduleResponse (Maybe Text)
- dsssrsResponseStatus :: Lens' DeleteSnapshotScheduleResponse Int
Creating a Request
deleteSnapshotSchedule Source #
Creates a value of DeleteSnapshotSchedule
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
dVolumeARN
- Undocumented member.
data DeleteSnapshotSchedule Source #
See: deleteSnapshotSchedule
smart constructor.
Instances
Request Lenses
dVolumeARN :: Lens' DeleteSnapshotSchedule Text Source #
Undocumented member.
Destructuring the Response
deleteSnapshotScheduleResponse Source #
Creates a value of DeleteSnapshotScheduleResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
dsssrsVolumeARN
- Undocumented member.dsssrsResponseStatus
- -- | The response status code.
data DeleteSnapshotScheduleResponse Source #
See: deleteSnapshotScheduleResponse
smart constructor.
Instances
Response Lenses
dsssrsVolumeARN :: Lens' DeleteSnapshotScheduleResponse (Maybe Text) Source #
Undocumented member.
dsssrsResponseStatus :: Lens' DeleteSnapshotScheduleResponse Int Source #
- - | The response status code.