amazonka-storagegateway-1.2.0.2: 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.DescribeWorkingStorage

Contents

Description

This operation returns information about the working storage of a gateway. This operation is supported only for the gateway-stored volume architecture. This operation is deprecated in cached-volumes API version (20120630). Use DescribeUploadBuffer instead.

Working storage is also referred to as upload buffer. You can also use the DescribeUploadBuffer operation to add upload buffer to a stored-volume gateway.

The response includes disk IDs that are configured as working storage, and it includes the amount of working storage allocated and used.

See: AWS API Reference for DescribeWorkingStorage.

Synopsis

Creating a Request

describeWorkingStorage Source

Creates a value of DescribeWorkingStorage 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

describeWorkingStorageResponse Source

Creates a value of DescribeWorkingStorageResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

Response Lenses

dwsrsDiskIds :: Lens' DescribeWorkingStorageResponse [Text] Source

An array of the gateway's local disk IDs that are configured as working storage. Each local disk ID is specified as a string (minimum length of 1 and maximum length of 300). If no local disks are configured as working storage, then the DiskIds array is empty.

dwsrsWorkingStorageAllocatedInBytes :: Lens' DescribeWorkingStorageResponse (Maybe Integer) Source

The total working storage in bytes allocated for the gateway. If no working storage is configured for the gateway, this field returns 0.

dwsrsWorkingStorageUsedInBytes :: Lens' DescribeWorkingStorageResponse (Maybe Integer) Source

The total working storage in bytes in use by the gateway. If no working storage is configured for the gateway, this field returns 0.