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 all block storage disk snapshots in your AWS account and region.
If you are describing a long list of disk snapshots, you can paginate the output to make the list more manageable. You can use the pageToken and nextPageToken values to retrieve the next items in the list.
Synopsis
- getDiskSnapshots :: GetDiskSnapshots
- data GetDiskSnapshots
- gdsPageToken :: Lens' GetDiskSnapshots (Maybe Text)
- getDiskSnapshotsResponse :: Int -> GetDiskSnapshotsResponse
- data GetDiskSnapshotsResponse
- gdssrsNextPageToken :: Lens' GetDiskSnapshotsResponse (Maybe Text)
- gdssrsDiskSnapshots :: Lens' GetDiskSnapshotsResponse [DiskSnapshot]
- gdssrsResponseStatus :: Lens' GetDiskSnapshotsResponse Int
Creating a Request
getDiskSnapshots :: GetDiskSnapshots Source #
Creates a value of GetDiskSnapshots
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
gdsPageToken
- A token used for advancing to the next page of results from your GetDiskSnapshots request.
data GetDiskSnapshots Source #
See: getDiskSnapshots
smart constructor.
Instances
Request Lenses
gdsPageToken :: Lens' GetDiskSnapshots (Maybe Text) Source #
A token used for advancing to the next page of results from your GetDiskSnapshots request.
Destructuring the Response
getDiskSnapshotsResponse Source #
Creates a value of GetDiskSnapshotsResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
gdssrsNextPageToken
- A token used for advancing to the next page of results from your GetDiskSnapshots request.gdssrsDiskSnapshots
- An array of objects containing information about all block storage disk snapshots.gdssrsResponseStatus
- -- | The response status code.
data GetDiskSnapshotsResponse Source #
See: getDiskSnapshotsResponse
smart constructor.
Instances
Response Lenses
gdssrsNextPageToken :: Lens' GetDiskSnapshotsResponse (Maybe Text) Source #
A token used for advancing to the next page of results from your GetDiskSnapshots request.
gdssrsDiskSnapshots :: Lens' GetDiskSnapshotsResponse [DiskSnapshot] Source #
An array of objects containing information about all block storage disk snapshots.
gdssrsResponseStatus :: Lens' GetDiskSnapshotsResponse Int Source #
- - | The response status code.