Safe Haskell | None |
---|---|
Language | Haskell2010 |
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.
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
- data DescribeWorkingStorage
- describeWorkingStorage :: Text -> DescribeWorkingStorage
- dwsGatewayARN :: Lens' DescribeWorkingStorage Text
- data DescribeWorkingStorageResponse
- describeWorkingStorageResponse :: DescribeWorkingStorageResponse
- dwsrDiskIds :: Lens' DescribeWorkingStorageResponse [Text]
- dwsrGatewayARN :: Lens' DescribeWorkingStorageResponse (Maybe Text)
- dwsrWorkingStorageAllocatedInBytes :: Lens' DescribeWorkingStorageResponse (Maybe Integer)
- dwsrWorkingStorageUsedInBytes :: Lens' DescribeWorkingStorageResponse (Maybe Integer)
Request
data DescribeWorkingStorage Source
Request constructor
DescribeWorkingStorage
constructor.
The fields accessible through corresponding lenses are:
Request lenses
Response
Response constructor
describeWorkingStorageResponse :: DescribeWorkingStorageResponse Source
DescribeWorkingStorageResponse
constructor.
The fields accessible through corresponding lenses are:
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.