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
Request constructor
createCachediSCSIVolume Source
CreateCachediSCSIVolume
constructor.
The fields accessible through corresponding lenses are:
Request lenses
Response
Response constructor
createCachediSCSIVolumeResponse :: CreateCachediSCSIVolumeResponse Source
CreateCachediSCSIVolumeResponse
constructor.
The fields accessible through corresponding lenses are: