amazonka-storagegateway-1.4.3: 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.CreateCachediSCSIVolume

Contents

Description

Creates a cached volume on a specified cached gateway. This operation is supported only for the gateway-cached volume architecture.

Cache storage must be allocated to the gateway before you can create a cached volume. Use the AddCache operation to add cache storage to a gateway.

In the request, you must specify the gateway, size of the volume in bytes, the iSCSI target name, an IP address on which to expose the target, and a unique client token. In response, AWS Storage Gateway creates the volume and returns information about it such as the volume Amazon Resource Name (ARN), its size, and the iSCSI target ARN that initiators can use to connect to the volume target.

Synopsis

Creating a Request

data CreateCachediSCSIVolume Source #

See: createCachediSCSIVolume smart constructor.

Instances

Eq CreateCachediSCSIVolume Source # 
Data CreateCachediSCSIVolume Source # 

Methods

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

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

toConstr :: CreateCachediSCSIVolume -> Constr #

dataTypeOf :: CreateCachediSCSIVolume -> DataType #

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

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

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

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

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

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

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

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

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

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

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

Methods

rnf :: CreateCachediSCSIVolume -> () #

AWSRequest CreateCachediSCSIVolume Source # 
ToPath CreateCachediSCSIVolume Source # 
ToHeaders CreateCachediSCSIVolume Source # 
ToQuery CreateCachediSCSIVolume Source # 
type Rep CreateCachediSCSIVolume Source # 
type Rep CreateCachediSCSIVolume = D1 (MetaData "CreateCachediSCSIVolume" "Network.AWS.StorageGateway.CreateCachediSCSIVolume" "amazonka-storagegateway-1.4.3-1vbLkcG6haz5xfGUV2OLbS" False) (C1 (MetaCons "CreateCachediSCSIVolume'" PrefixI True) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_ccscsivSnapshotId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) ((:*:) (S1 (MetaSel (Just Symbol "_ccscsivGatewayARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_ccscsivVolumeSizeInBytes") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Integer)))) ((:*:) (S1 (MetaSel (Just Symbol "_ccscsivTargetName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) ((:*:) (S1 (MetaSel (Just Symbol "_ccscsivNetworkInterfaceId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_ccscsivClientToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))))
type Rs CreateCachediSCSIVolume Source # 

Request Lenses

Destructuring the Response

createCachediSCSIVolumeResponse Source #

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

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

data CreateCachediSCSIVolumeResponse Source #

See: createCachediSCSIVolumeResponse smart constructor.

Instances

Eq CreateCachediSCSIVolumeResponse Source # 
Data CreateCachediSCSIVolumeResponse Source # 

Methods

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

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

toConstr :: CreateCachediSCSIVolumeResponse -> Constr #

dataTypeOf :: CreateCachediSCSIVolumeResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read CreateCachediSCSIVolumeResponse Source # 
Show CreateCachediSCSIVolumeResponse Source # 
Generic CreateCachediSCSIVolumeResponse Source # 
NFData CreateCachediSCSIVolumeResponse Source # 
type Rep CreateCachediSCSIVolumeResponse Source # 
type Rep CreateCachediSCSIVolumeResponse = D1 (MetaData "CreateCachediSCSIVolumeResponse" "Network.AWS.StorageGateway.CreateCachediSCSIVolume" "amazonka-storagegateway-1.4.3-1vbLkcG6haz5xfGUV2OLbS" False) (C1 (MetaCons "CreateCachediSCSIVolumeResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_ccscsivrsTargetARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) ((:*:) (S1 (MetaSel (Just Symbol "_ccscsivrsVolumeARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_ccscsivrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int)))))

Response Lenses