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 |
Returns information about a specific block storage disk snapshot.
Synopsis
- getDiskSnapshot :: Text -> GetDiskSnapshot
- data GetDiskSnapshot
- gdsDiskSnapshotName :: Lens' GetDiskSnapshot Text
- getDiskSnapshotResponse :: Int -> GetDiskSnapshotResponse
- data GetDiskSnapshotResponse
- gdsrsDiskSnapshot :: Lens' GetDiskSnapshotResponse (Maybe DiskSnapshot)
- gdsrsResponseStatus :: Lens' GetDiskSnapshotResponse Int
Creating a Request
Creates a value of GetDiskSnapshot
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
gdsDiskSnapshotName
- The name of the disk snapshot (e.g.,my-disk-snapshot
).
data GetDiskSnapshot Source #
See: getDiskSnapshot
smart constructor.
Instances
Request Lenses
gdsDiskSnapshotName :: Lens' GetDiskSnapshot Text Source #
The name of the disk snapshot (e.g., my-disk-snapshot
).
Destructuring the Response
getDiskSnapshotResponse Source #
Creates a value of GetDiskSnapshotResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
gdsrsDiskSnapshot
- An object containing information about the disk snapshot.gdsrsResponseStatus
- -- | The response status code.
data GetDiskSnapshotResponse Source #
See: getDiskSnapshotResponse
smart constructor.
Instances
Response Lenses
gdsrsDiskSnapshot :: Lens' GetDiskSnapshotResponse (Maybe DiskSnapshot) Source #
An object containing information about the disk snapshot.
gdsrsResponseStatus :: Lens' GetDiskSnapshotResponse Int Source #
- - | The response status code.