amazonka-storagegateway-1.0.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.AddCache

Contents

Description

This operation configures one or more gateway local disks as cache for a cached-volume gateway. This operation is supported only for the gateway-cached volume architecture (see Storage Gateway Concepts).

In the request, you specify the gateway Amazon Resource Name (ARN) to which you want to add cache, and one or more disk IDs that you want to configure as cache.

See: AWS API Reference for AddCache.

Synopsis

Creating a Request

addCache Source

Arguments

:: Text

acGatewayARN

-> AddCache 

Creates a value of AddCache with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

Request Lenses

acGatewayARN :: Lens' AddCache Text Source

Undocumented member.

acDiskIds :: Lens' AddCache [Text] Source

Undocumented member.

Destructuring the Response

addCacheResponse Source

Creates a value of AddCacheResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

Response Lenses

acrsStatus :: Lens' AddCacheResponse Int Source

The response status code.