Copyright | (c) 2013-2018 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@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 only supported in the stored volumes gateway type. 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.
- 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:
dwsGatewayARN
- Undocumented member.
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:
dwsrsGatewayARN
- Undocumented member.dwsrsDiskIds
- 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
- The total working storage in bytes allocated for the gateway. If no working storage is configured for the gateway, this field returns 0.dwsrsWorkingStorageUsedInBytes
- 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
- -- | The response status code.
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.