Copyright | (c) 2013-2021 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 |
Returns information about a specific block storage disk snapshot.
Synopsis
- data GetDiskSnapshot = GetDiskSnapshot' {}
- newGetDiskSnapshot :: Text -> GetDiskSnapshot
- getDiskSnapshot_diskSnapshotName :: Lens' GetDiskSnapshot Text
- data GetDiskSnapshotResponse = GetDiskSnapshotResponse' {}
- newGetDiskSnapshotResponse :: Int -> GetDiskSnapshotResponse
- getDiskSnapshotResponse_diskSnapshot :: Lens' GetDiskSnapshotResponse (Maybe DiskSnapshot)
- getDiskSnapshotResponse_httpStatus :: Lens' GetDiskSnapshotResponse Int
Creating a Request
data GetDiskSnapshot Source #
See: newGetDiskSnapshot
smart constructor.
GetDiskSnapshot' | |
|
Instances
Create a value of GetDiskSnapshot
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:diskSnapshotName:GetDiskSnapshot'
, getDiskSnapshot_diskSnapshotName
- The name of the disk snapshot (e.g., my-disk-snapshot
).
Request Lenses
getDiskSnapshot_diskSnapshotName :: Lens' GetDiskSnapshot Text Source #
The name of the disk snapshot (e.g., my-disk-snapshot
).
Destructuring the Response
data GetDiskSnapshotResponse Source #
See: newGetDiskSnapshotResponse
smart constructor.
GetDiskSnapshotResponse' | |
|
Instances
newGetDiskSnapshotResponse Source #
Create a value of GetDiskSnapshotResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:diskSnapshot:GetDiskSnapshotResponse'
, getDiskSnapshotResponse_diskSnapshot
- An object containing information about the disk snapshot.
$sel:httpStatus:GetDiskSnapshotResponse'
, getDiskSnapshotResponse_httpStatus
- The response's http status code.
Response Lenses
getDiskSnapshotResponse_diskSnapshot :: Lens' GetDiskSnapshotResponse (Maybe DiskSnapshot) Source #
An object containing information about the disk snapshot.
getDiskSnapshotResponse_httpStatus :: Lens' GetDiskSnapshotResponse Int Source #
The response's http status code.