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

Amazonka.StorageGateway.ResetCache

Description

Resets all cache disks that have encountered an error and makes the disks available for reconfiguration as cache storage. If your cache disk encounters an 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.

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

data ResetCache Source #

See: newResetCache smart constructor.

Constructors

ResetCache' 

Fields

Instances

Instances details
Eq ResetCache Source # 
Instance details

Defined in Amazonka.StorageGateway.ResetCache

Read ResetCache Source # 
Instance details

Defined in Amazonka.StorageGateway.ResetCache

Show ResetCache Source # 
Instance details

Defined in Amazonka.StorageGateway.ResetCache

Generic ResetCache Source # 
Instance details

Defined in Amazonka.StorageGateway.ResetCache

Associated Types

type Rep ResetCache :: Type -> Type #

NFData ResetCache Source # 
Instance details

Defined in Amazonka.StorageGateway.ResetCache

Methods

rnf :: ResetCache -> () #

Hashable ResetCache Source # 
Instance details

Defined in Amazonka.StorageGateway.ResetCache

ToJSON ResetCache Source # 
Instance details

Defined in Amazonka.StorageGateway.ResetCache

AWSRequest ResetCache Source # 
Instance details

Defined in Amazonka.StorageGateway.ResetCache

Associated Types

type AWSResponse ResetCache #

ToHeaders ResetCache Source # 
Instance details

Defined in Amazonka.StorageGateway.ResetCache

Methods

toHeaders :: ResetCache -> [Header] #

ToPath ResetCache Source # 
Instance details

Defined in Amazonka.StorageGateway.ResetCache

ToQuery ResetCache Source # 
Instance details

Defined in Amazonka.StorageGateway.ResetCache

type Rep ResetCache Source # 
Instance details

Defined in Amazonka.StorageGateway.ResetCache

type Rep ResetCache = D1 ('MetaData "ResetCache" "Amazonka.StorageGateway.ResetCache" "libZSservicesZSamazonka-storagegatewayZSamazonka-storagegateway" 'False) (C1 ('MetaCons "ResetCache'" 'PrefixI 'True) (S1 ('MetaSel ('Just "gatewayARN") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse ResetCache Source # 
Instance details

Defined in Amazonka.StorageGateway.ResetCache

newResetCache Source #

Create a value of ResetCache with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:gatewayARN:ResetCache', resetCache_gatewayARN - Undocumented member.

Request Lenses

Destructuring the Response

data ResetCacheResponse Source #

See: newResetCacheResponse smart constructor.

Constructors

ResetCacheResponse' 

Fields

Instances

Instances details
Eq ResetCacheResponse Source # 
Instance details

Defined in Amazonka.StorageGateway.ResetCache

Read ResetCacheResponse Source # 
Instance details

Defined in Amazonka.StorageGateway.ResetCache

Show ResetCacheResponse Source # 
Instance details

Defined in Amazonka.StorageGateway.ResetCache

Generic ResetCacheResponse Source # 
Instance details

Defined in Amazonka.StorageGateway.ResetCache

Associated Types

type Rep ResetCacheResponse :: Type -> Type #

NFData ResetCacheResponse Source # 
Instance details

Defined in Amazonka.StorageGateway.ResetCache

Methods

rnf :: ResetCacheResponse -> () #

type Rep ResetCacheResponse Source # 
Instance details

Defined in Amazonka.StorageGateway.ResetCache

type Rep ResetCacheResponse = D1 ('MetaData "ResetCacheResponse" "Amazonka.StorageGateway.ResetCache" "libZSservicesZSamazonka-storagegatewayZSamazonka-storagegateway" 'False) (C1 ('MetaCons "ResetCacheResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "gatewayARN") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newResetCacheResponse Source #

Create a value of ResetCacheResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:gatewayARN:ResetCache', resetCacheResponse_gatewayARN - Undocumented member.

$sel:httpStatus:ResetCacheResponse', resetCacheResponse_httpStatus - The response's http status code.

Response Lenses