amazonka-storagegateway-1.3.7: 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.AddWorkingStorage

Contents

Description

This operation configures one or more gateway local disks as working storage for a gateway. This operation is supported only for the gateway-stored volume architecture. This operation is deprecated method in cached-volumes API version (20120630). Use AddUploadBuffer instead.

Working storage is also referred to as upload buffer. You can also use the AddUploadBuffer operation to add upload buffer to a stored-volume gateway.

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

See: AWS API Reference for AddWorkingStorage.

Synopsis

Creating a Request

addWorkingStorage Source

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

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

Request Lenses

awsDiskIds :: Lens' AddWorkingStorage [Text] Source

An array of strings that identify disks that are to be configured as working storage. Each string have a minimum length of 1 and maximum length of 300. You can get the disk IDs from the ListLocalDisks API.

Destructuring the Response

addWorkingStorageResponse Source

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

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

Response Lenses