| 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 |
Network.AWS.Lightsail.DeleteDisk
Description
Deletes the specified block storage disk. The disk must be in the available state (not attached to a Lightsail instance).
Creating a Request
Arguments
| :: Text | |
| -> DeleteDisk |
Creates a value of DeleteDisk with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
dDiskName- The unique name of the disk you want to delete (e.g.,my-disk).
data DeleteDisk Source #
See: deleteDisk smart constructor.
Instances
Request Lenses
dDiskName :: Lens' DeleteDisk Text Source #
The unique name of the disk you want to delete (e.g., my-disk ).
Destructuring the Response
Arguments
| :: Int | |
| -> DeleteDiskResponse |
Creates a value of DeleteDiskResponse with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
drsOperations- An object describing the API operations.drsResponseStatus- -- | The response status code.
data DeleteDiskResponse Source #
See: deleteDiskResponse smart constructor.
Response Lenses
drsOperations :: Lens' DeleteDiskResponse [Operation] Source #
An object describing the API operations.
drsResponseStatus :: Lens' DeleteDiskResponse Int Source #
- - | The response status code.