amazonka-storagegateway-1.3.3.1: Amazon Storage Gateway SDK.

Copyright(c) 2013-2015 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.AWS.StorageGateway.ResetCache

Contents

Description

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.

Synopsis

Creating a Request

resetCache Source

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:

Request Lenses

rcGatewayARN :: Lens' ResetCache Text Source

Undocumented member.

Destructuring the Response

resetCacheResponse Source

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:

Response Lenses