Safe Haskell | None |
---|---|
Language | Haskell2010 |
This operation 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.
http://docs.aws.amazon.com/storagegateway/latest/APIReference/API_CreateCachediSCSIVolume.html
- data CreateCachediSCSIVolume
- createCachediSCSIVolume :: Text -> Integer -> Text -> Text -> Text -> CreateCachediSCSIVolume
- ccscsivClientToken :: Lens' CreateCachediSCSIVolume Text
- ccscsivGatewayARN :: Lens' CreateCachediSCSIVolume Text
- ccscsivNetworkInterfaceId :: Lens' CreateCachediSCSIVolume Text
- ccscsivSnapshotId :: Lens' CreateCachediSCSIVolume (Maybe Text)
- ccscsivTargetName :: Lens' CreateCachediSCSIVolume Text
- ccscsivVolumeSizeInBytes :: Lens' CreateCachediSCSIVolume Integer
- data CreateCachediSCSIVolumeResponse
- createCachediSCSIVolumeResponse :: CreateCachediSCSIVolumeResponse
- ccscsivrTargetARN :: Lens' CreateCachediSCSIVolumeResponse (Maybe Text)
- ccscsivrVolumeARN :: Lens' CreateCachediSCSIVolumeResponse (Maybe Text)
Request
data CreateCachediSCSIVolume Source
Eq CreateCachediSCSIVolume | |
Ord CreateCachediSCSIVolume | |
Read CreateCachediSCSIVolume | |
Show CreateCachediSCSIVolume | |
AWSRequest CreateCachediSCSIVolume | |
ToQuery CreateCachediSCSIVolume | |
ToPath CreateCachediSCSIVolume | |
ToHeaders CreateCachediSCSIVolume | |
ToJSON CreateCachediSCSIVolume | |
type Sv CreateCachediSCSIVolume = StorageGateway | |
type Rs CreateCachediSCSIVolume = CreateCachediSCSIVolumeResponse |
Request constructor
createCachediSCSIVolume Source
:: Text | |
-> Integer | |
-> Text | |
-> Text | |
-> Text | |
-> CreateCachediSCSIVolume |
CreateCachediSCSIVolume
constructor.
The fields accessible through corresponding lenses are:
ccscsivClientToken
::
Text
ccscsivGatewayARN
::
Text
ccscsivNetworkInterfaceId
::
Text
ccscsivSnapshotId
::
Maybe
Text
ccscsivTargetName
::
Text
ccscsivVolumeSizeInBytes
::
Integer
Request lenses
ccscsivClientToken :: Lens' CreateCachediSCSIVolume Text Source
ccscsivGatewayARN :: Lens' CreateCachediSCSIVolume Text Source
ccscsivNetworkInterfaceId :: Lens' CreateCachediSCSIVolume Text Source
ccscsivSnapshotId :: Lens' CreateCachediSCSIVolume (Maybe Text) Source
ccscsivTargetName :: Lens' CreateCachediSCSIVolume Text Source
Response
Response constructor
createCachediSCSIVolumeResponse :: CreateCachediSCSIVolumeResponse Source
CreateCachediSCSIVolumeResponse
constructor.
The fields accessible through corresponding lenses are:
ccscsivrTargetARN
::
Maybe
Text
ccscsivrVolumeARN
::
Maybe
Text
Response lenses
ccscsivrTargetARN :: Lens' CreateCachediSCSIVolumeResponse (Maybe Text) Source
ccscsivrVolumeARN :: Lens' CreateCachediSCSIVolumeResponse (Maybe Text) Source