amazonka-storagegateway-1.4.1: Amazon Storage Gateway SDK.

Copyright(c) 2013-2016 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.AddUploadBuffer

Contents

Description

Configures one or more gateway local disks as upload buffer for a specified gateway. This operation is supported for both the gateway-stored and gateway-cached volume architectures.

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

Synopsis

Creating a Request

addUploadBuffer Source #

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

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

data AddUploadBuffer Source #

See: addUploadBuffer smart constructor.

Instances

Eq AddUploadBuffer Source # 
Data AddUploadBuffer Source # 

Methods

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

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

toConstr :: AddUploadBuffer -> Constr #

dataTypeOf :: AddUploadBuffer -> DataType #

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

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

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

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

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

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

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

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

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

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

Read AddUploadBuffer Source # 
Show AddUploadBuffer Source # 
Generic AddUploadBuffer Source # 
Hashable AddUploadBuffer Source # 
ToJSON AddUploadBuffer Source # 
NFData AddUploadBuffer Source # 

Methods

rnf :: AddUploadBuffer -> () #

AWSRequest AddUploadBuffer Source # 
ToQuery AddUploadBuffer Source # 
ToPath AddUploadBuffer Source # 
ToHeaders AddUploadBuffer Source # 
type Rep AddUploadBuffer Source # 
type Rep AddUploadBuffer = D1 (MetaData "AddUploadBuffer" "Network.AWS.StorageGateway.AddUploadBuffer" "amazonka-storagegateway-1.4.1-L8VGb4RzUam2oDN29DqQAk" False) (C1 (MetaCons "AddUploadBuffer'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_aubGatewayARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_aubDiskIds") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 [Text]))))
type Rs AddUploadBuffer Source # 

Request Lenses

aubDiskIds :: Lens' AddUploadBuffer [Text] Source #

Undocumented member.

Destructuring the Response

addUploadBufferResponse Source #

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

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

data AddUploadBufferResponse Source #

See: addUploadBufferResponse smart constructor.

Instances

Eq AddUploadBufferResponse Source # 
Data AddUploadBufferResponse Source # 

Methods

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

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

toConstr :: AddUploadBufferResponse -> Constr #

dataTypeOf :: AddUploadBufferResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read AddUploadBufferResponse Source # 
Show AddUploadBufferResponse Source # 
Generic AddUploadBufferResponse Source # 
NFData AddUploadBufferResponse Source # 

Methods

rnf :: AddUploadBufferResponse -> () #

type Rep AddUploadBufferResponse Source # 
type Rep AddUploadBufferResponse = D1 (MetaData "AddUploadBufferResponse" "Network.AWS.StorageGateway.AddUploadBuffer" "amazonka-storagegateway-1.4.1-L8VGb4RzUam2oDN29DqQAk" False) (C1 (MetaCons "AddUploadBufferResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_aubrsGatewayARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_aubrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int))))

Response Lenses