This operation returns information about the cache of a gateway. This operation is supported only for the gateway-cached volume architecture.
The response includes disk IDs that are configured as cache, and it includes the amount of cache allocated and used.
 Declaration Syntax
 Declaration Syntax| C# | 
public DescribeCacheResponse DescribeCache( DescribeCacheRequest describeCacheRequest )
 Parameters
 Parameters- describeCacheRequest (DescribeCacheRequest)
- Container for the necessary parameters to execute the DescribeCache service method on AmazonStorageGateway.
 Return Value
 Return ValueThe response from the DescribeCache service method, as returned by AmazonStorageGateway.
 Exceptions
 Exceptions| Exception | Condition | 
|---|---|
| InternalServerErrorException | |
| InvalidGatewayRequestException |