Copyright | (c) 2013-2015 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 |
This operation resets all cache disks that have encountered a error and makes the disks available for reconfiguration as cache storage. If your cache disk encounters a error, the gateway prevents read and write operations on virtual tapes in the gateway. For example, an error can occur when a disk is corrupted or removed from the gateway. When a cache is reset, the gateway loses its cache storage. At this point you can reconfigure the disks as cache disks.
If the cache disk you are resetting contains data that has not been uploaded to Amazon S3 yet, that data can be lost. After you reset cache disks, there will be no configured cache disks left in the gateway, so you must configure at least one new cache disk for your gateway to function properly.
See: AWS API Reference for ResetCache.
Creating a Request
Creates a value of ResetCache
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ResetCache Source
See: resetCache
smart constructor.
Request Lenses
rcGatewayARN :: Lens' ResetCache Text Source
Undocumented member.
Destructuring the Response
Creates a value of ResetCacheResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ResetCacheResponse Source
See: resetCacheResponse
smart constructor.
Response Lenses
rcrsGatewayARN :: Lens' ResetCacheResponse (Maybe Text) Source
Undocumented member.
rcrsResponseStatus :: Lens' ResetCacheResponse Int Source
The response status code.