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 |
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. This operation is only supported in the cached volume and tape types.
Important: 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.
Synopsis
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:
rcGatewayARN
- Undocumented member.
data ResetCache Source #
See: resetCache
smart constructor.
Instances
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:
rrsGatewayARN
- Undocumented member.rrsResponseStatus
- -- | The response status code.
data ResetCacheResponse Source #
See: resetCacheResponse
smart constructor.
Instances
Response Lenses
rrsGatewayARN :: Lens' ResetCacheResponse (Maybe Text) Source #
Undocumented member.
rrsResponseStatus :: Lens' ResetCacheResponse Int Source #
- - | The response status code.