amazonka-storagegateway-1.6.1: Amazon Storage Gateway SDK.

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

Network.AWS.StorageGateway.AddWorkingStorage

Contents

Description

Configures one or more gateway local disks as working storage for a gateway. This operation is only supported in the stored volume gateway type. This operation is deprecated in cached volume API version 20120630. Use AddUploadBuffer instead.

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.

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:

  • awsGatewayARN - Undocumented member.
  • awsDiskIds - 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.

data AddWorkingStorage Source #

A JSON object containing one or more of the following fields:

  • 'AddWorkingStorageInput$DiskIds'

See: addWorkingStorage smart constructor.

Instances
Eq AddWorkingStorage Source # 
Instance details

Defined in Network.AWS.StorageGateway.AddWorkingStorage

Data AddWorkingStorage Source # 
Instance details

Defined in Network.AWS.StorageGateway.AddWorkingStorage

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> AddWorkingStorage -> c AddWorkingStorage #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c AddWorkingStorage #

toConstr :: AddWorkingStorage -> Constr #

dataTypeOf :: AddWorkingStorage -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c AddWorkingStorage) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c AddWorkingStorage) #

gmapT :: (forall b. Data b => b -> b) -> AddWorkingStorage -> AddWorkingStorage #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> AddWorkingStorage -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> AddWorkingStorage -> r #

gmapQ :: (forall d. Data d => d -> u) -> AddWorkingStorage -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> AddWorkingStorage -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> AddWorkingStorage -> m AddWorkingStorage #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> AddWorkingStorage -> m AddWorkingStorage #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> AddWorkingStorage -> m AddWorkingStorage #

Read AddWorkingStorage Source # 
Instance details

Defined in Network.AWS.StorageGateway.AddWorkingStorage

Show AddWorkingStorage Source # 
Instance details

Defined in Network.AWS.StorageGateway.AddWorkingStorage

Generic AddWorkingStorage Source # 
Instance details

Defined in Network.AWS.StorageGateway.AddWorkingStorage

Associated Types

type Rep AddWorkingStorage :: Type -> Type #

Hashable AddWorkingStorage Source # 
Instance details

Defined in Network.AWS.StorageGateway.AddWorkingStorage

ToJSON AddWorkingStorage Source # 
Instance details

Defined in Network.AWS.StorageGateway.AddWorkingStorage

AWSRequest AddWorkingStorage Source # 
Instance details

Defined in Network.AWS.StorageGateway.AddWorkingStorage

Associated Types

type Rs AddWorkingStorage :: Type #

ToHeaders AddWorkingStorage Source # 
Instance details

Defined in Network.AWS.StorageGateway.AddWorkingStorage

ToPath AddWorkingStorage Source # 
Instance details

Defined in Network.AWS.StorageGateway.AddWorkingStorage

ToQuery AddWorkingStorage Source # 
Instance details

Defined in Network.AWS.StorageGateway.AddWorkingStorage

NFData AddWorkingStorage Source # 
Instance details

Defined in Network.AWS.StorageGateway.AddWorkingStorage

Methods

rnf :: AddWorkingStorage -> () #

type Rep AddWorkingStorage Source # 
Instance details

Defined in Network.AWS.StorageGateway.AddWorkingStorage

type Rep AddWorkingStorage = D1 (MetaData "AddWorkingStorage" "Network.AWS.StorageGateway.AddWorkingStorage" "amazonka-storagegateway-1.6.1-8r5RVaLfJcl46lpEVK6Ktc" False) (C1 (MetaCons "AddWorkingStorage'" PrefixI True) (S1 (MetaSel (Just "_awsGatewayARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_awsDiskIds") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 [Text])))
type Rs AddWorkingStorage Source # 
Instance details

Defined in Network.AWS.StorageGateway.AddWorkingStorage

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:

data AddWorkingStorageResponse Source #

A JSON object containing the of the gateway for which working storage was configured.

See: addWorkingStorageResponse smart constructor.

Instances
Eq AddWorkingStorageResponse Source # 
Instance details

Defined in Network.AWS.StorageGateway.AddWorkingStorage

Data AddWorkingStorageResponse Source # 
Instance details

Defined in Network.AWS.StorageGateway.AddWorkingStorage

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> AddWorkingStorageResponse -> c AddWorkingStorageResponse #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c AddWorkingStorageResponse #

toConstr :: AddWorkingStorageResponse -> Constr #

dataTypeOf :: AddWorkingStorageResponse -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c AddWorkingStorageResponse) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c AddWorkingStorageResponse) #

gmapT :: (forall b. Data b => b -> b) -> AddWorkingStorageResponse -> AddWorkingStorageResponse #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> AddWorkingStorageResponse -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> AddWorkingStorageResponse -> r #

gmapQ :: (forall d. Data d => d -> u) -> AddWorkingStorageResponse -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> AddWorkingStorageResponse -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> AddWorkingStorageResponse -> m AddWorkingStorageResponse #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> AddWorkingStorageResponse -> m AddWorkingStorageResponse #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> AddWorkingStorageResponse -> m AddWorkingStorageResponse #

Read AddWorkingStorageResponse Source # 
Instance details

Defined in Network.AWS.StorageGateway.AddWorkingStorage

Show AddWorkingStorageResponse Source # 
Instance details

Defined in Network.AWS.StorageGateway.AddWorkingStorage

Generic AddWorkingStorageResponse Source # 
Instance details

Defined in Network.AWS.StorageGateway.AddWorkingStorage

Associated Types

type Rep AddWorkingStorageResponse :: Type -> Type #

NFData AddWorkingStorageResponse Source # 
Instance details

Defined in Network.AWS.StorageGateway.AddWorkingStorage

type Rep AddWorkingStorageResponse Source # 
Instance details

Defined in Network.AWS.StorageGateway.AddWorkingStorage

type Rep AddWorkingStorageResponse = D1 (MetaData "AddWorkingStorageResponse" "Network.AWS.StorageGateway.AddWorkingStorage" "amazonka-storagegateway-1.6.1-8r5RVaLfJcl46lpEVK6Ktc" False) (C1 (MetaCons "AddWorkingStorageResponse'" PrefixI True) (S1 (MetaSel (Just "_awsrsGatewayARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_awsrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int)))

Response Lenses