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

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

createCachediSCSIVolume #

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

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

data CreateCachediSCSIVolume #

See: createCachediSCSIVolume smart constructor.

Instances

Eq CreateCachediSCSIVolume # 
Data CreateCachediSCSIVolume # 

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 # 
Show CreateCachediSCSIVolume # 
Generic CreateCachediSCSIVolume # 
Hashable CreateCachediSCSIVolume # 
ToJSON CreateCachediSCSIVolume # 
NFData CreateCachediSCSIVolume # 

Methods

rnf :: CreateCachediSCSIVolume -> () #

AWSRequest CreateCachediSCSIVolume # 
ToQuery CreateCachediSCSIVolume # 
ToPath CreateCachediSCSIVolume # 
ToHeaders CreateCachediSCSIVolume # 
type Rep CreateCachediSCSIVolume # 
type Rep CreateCachediSCSIVolume = D1 (MetaData "CreateCachediSCSIVolume" "Network.AWS.StorageGateway.CreateCachediSCSIVolume" "amazonka-storagegateway-1.4.5-ChAHao40T5hDKKv8LXBPA4" 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 # 

Request Lenses

Destructuring the Response

createCachediSCSIVolumeResponse #

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 #

See: createCachediSCSIVolumeResponse smart constructor.

Instances

Eq CreateCachediSCSIVolumeResponse # 
Data CreateCachediSCSIVolumeResponse # 

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 # 
Show CreateCachediSCSIVolumeResponse # 
Generic CreateCachediSCSIVolumeResponse # 
NFData CreateCachediSCSIVolumeResponse # 
type Rep CreateCachediSCSIVolumeResponse # 
type Rep CreateCachediSCSIVolumeResponse = D1 (MetaData "CreateCachediSCSIVolumeResponse" "Network.AWS.StorageGateway.CreateCachediSCSIVolume" "amazonka-storagegateway-1.4.5-ChAHao40T5hDKKv8LXBPA4" 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 DecidedUnpack) (Rec0 Int)))))

Response Lenses