amazonka-storagegateway-1.3.1: Amazon Storage Gateway SDK.

Copyright(c) 2013-2015 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.AWS.StorageGateway.ListLocalDisks

Contents

Description

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.

Synopsis

Creating a Request

listLocalDisks Source

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:

Request Lenses

Destructuring the Response

listLocalDisksResponse Source

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:

Response Lenses