describeCache

Returns information about the cache of a gateway. This operation is only supported in the cached volume, tape, and file gateway types.

The response includes disk IDs that are configured as cache, and it includes the amount of cache allocated and used.

Samples


fun main() { 
   //sampleStart 
   // Returns information about the cache of a gateway.
val resp = storageGatewayClient.describeCache {
    gatewayArn = "arn:aws:storagegateway:us-east-1:111122223333:gateway/sgw-12A3456B"
} 
   //sampleEnd
}