amazonka-storagegateway-0.3.5: Amazon Storage Gateway SDK.

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.

http://docs.aws.amazon.com/storagegateway/latest/APIReference/API_DescribeWorkingStorage.html

Synopsis

Request

Request constructor

describeWorkingStorage Source

DescribeWorkingStorage constructor.

The fields accessible through corresponding lenses are:

Request lenses

Response

Response constructor

Response lenses

dwsrDiskIds :: 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.

dwsrWorkingStorageAllocatedInBytes :: 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.

dwsrWorkingStorageUsedInBytes :: 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.