Copyright | (c) 2013-2016 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 |
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.
- describeWorkingStorage :: Text -> DescribeWorkingStorage
- data DescribeWorkingStorage
- dwsGatewayARN :: Lens' DescribeWorkingStorage Text
- describeWorkingStorageResponse :: Int -> DescribeWorkingStorageResponse
- data DescribeWorkingStorageResponse
- dwsrsGatewayARN :: Lens' DescribeWorkingStorageResponse (Maybe Text)
- dwsrsDiskIds :: Lens' DescribeWorkingStorageResponse [Text]
- dwsrsWorkingStorageAllocatedInBytes :: Lens' DescribeWorkingStorageResponse (Maybe Integer)
- dwsrsWorkingStorageUsedInBytes :: Lens' DescribeWorkingStorageResponse (Maybe Integer)
- dwsrsResponseStatus :: Lens' DescribeWorkingStorageResponse Int
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:
data DescribeWorkingStorage Source #
A JSON object containing the of the gateway.
See: describeWorkingStorage
smart constructor.
Request Lenses
dwsGatewayARN :: Lens' DescribeWorkingStorage Text Source #
Undocumented member.
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:
data DescribeWorkingStorageResponse Source #
A JSON object containing the following fields:
See: describeWorkingStorageResponse
smart constructor.
Response Lenses
dwsrsGatewayARN :: Lens' DescribeWorkingStorageResponse (Maybe Text) Source #
Undocumented member.
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.
dwsrsResponseStatus :: Lens' DescribeWorkingStorageResponse Int Source #
The response status code.