powered by
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.
storagegateway_describe_cache(GatewayARN)
A list with the following syntax:
list( GatewayARN = "string", DiskIds = list( "string" ), CacheAllocatedInBytes = 123, CacheUsedPercentage = 123.0, CacheDirtyPercentage = 123.0, CacheHitPercentage = 123.0, CacheMissPercentage = 123.0 )
[required]
svc$describe_cache( GatewayARN = "string" )
if (FALSE) { # Returns information about the cache of a gateway. svc$describe_cache( GatewayARN = "arn:aws:storagegateway:us-east-1:111122223333:gateway/sgw-12A3456B" ) }
Run the code above in your browser using DataLab