Copyright | (c) 2013-2015 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
This operation returns a list of the gateway's local disks. To specify which gateway to describe, you use the Amazon Resource Name (ARN) of the gateway in the body of the request.
The request returns a list of all disks, specifying which are configured
as working storage, cache storage, or stored volume or not configured at
all. The response includes a DiskStatus
field. This field can have a
value of present (the disk is available to use), missing (the disk is no
longer connected to the gateway), or mismatch (the disk node is occupied
by a disk that has incorrect metadata or the disk content is corrupted).
See: AWS API Reference for ListLocalDisks.
- listLocalDisks :: Text -> ListLocalDisks
- data ListLocalDisks
- lldGatewayARN :: Lens' ListLocalDisks Text
- listLocalDisksResponse :: Int -> ListLocalDisksResponse
- data ListLocalDisksResponse
- lldrsGatewayARN :: Lens' ListLocalDisksResponse (Maybe Text)
- lldrsDisks :: Lens' ListLocalDisksResponse [Disk]
- lldrsResponseStatus :: Lens' ListLocalDisksResponse Int
Creating a Request
Creates a value of ListLocalDisks
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ListLocalDisks Source
A JSON object containing the of the gateway.
See: listLocalDisks
smart constructor.
Request Lenses
lldGatewayARN :: Lens' ListLocalDisks Text Source
Undocumented member.
Destructuring the Response
Creates a value of ListLocalDisksResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ListLocalDisksResponse Source
See: listLocalDisksResponse
smart constructor.
Response Lenses
lldrsGatewayARN :: Lens' ListLocalDisksResponse (Maybe Text) Source
Undocumented member.
lldrsDisks :: Lens' ListLocalDisksResponse [Disk] Source
Undocumented member.
lldrsResponseStatus :: Lens' ListLocalDisksResponse Int Source
The response status code.