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 disks in your AWS account and region.
If you are describing a long list of disks, 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
Creating a Request
Creates a value of GetDisks
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
gPageToken
- A token used for advancing to the next page of results from your GetDisks request.
See: getDisks
smart constructor.
Instances
Request Lenses
gPageToken :: Lens' GetDisks (Maybe Text) Source #
A token used for advancing to the next page of results from your GetDisks request.
Destructuring the Response
Creates a value of GetDisksResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
gddrsNextPageToken
- A token used for advancing to the next page of results from your GetDisks request.gddrsDisks
- An array of objects containing information about all block storage disks.gddrsResponseStatus
- -- | The response status code.
data GetDisksResponse Source #
See: getDisksResponse
smart constructor.
Instances
Response Lenses
gddrsNextPageToken :: Lens' GetDisksResponse (Maybe Text) Source #
A token used for advancing to the next page of results from your GetDisks request.
gddrsDisks :: Lens' GetDisksResponse [Disk] Source #
An array of objects containing information about all block storage disks.
gddrsResponseStatus :: Lens' GetDisksResponse Int Source #
- - | The response status code.