| 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.GetDisk
Description
Returns information about a specific block storage disk.
- getDisk :: Text -> GetDisk
- data GetDisk
- gdDiskName :: Lens' GetDisk Text
- getDiskResponse :: Int -> GetDiskResponse
- data GetDiskResponse
- getrsDisk :: Lens' GetDiskResponse (Maybe Disk)
- getrsResponseStatus :: Lens' GetDiskResponse Int
Creating a Request
Creates a value of GetDisk with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
gdDiskName- The name of the disk (e.g.,my-disk).
See: getDisk smart constructor.
Instances
Request Lenses
Destructuring the Response
Arguments
| :: Int | |
| -> GetDiskResponse |
Creates a value of GetDiskResponse with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
getrsDisk- An object containing information about the disk.getrsResponseStatus- -- | The response status code.
data GetDiskResponse Source #
See: getDiskResponse smart constructor.
Response Lenses
getrsDisk :: Lens' GetDiskResponse (Maybe Disk) Source #
An object containing information about the disk.
getrsResponseStatus :: Lens' GetDiskResponse Int Source #
- - | The response status code.