Copyright | (c) 2013-2016 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Network.AWS.StorageGateway.CreateCachediSCSIVolume
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.
- createCachediSCSIVolume :: Text -> Integer -> Text -> Text -> Text -> CreateCachediSCSIVolume
- data CreateCachediSCSIVolume
- ccscsivSnapshotId :: Lens' CreateCachediSCSIVolume (Maybe Text)
- ccscsivGatewayARN :: Lens' CreateCachediSCSIVolume Text
- ccscsivVolumeSizeInBytes :: Lens' CreateCachediSCSIVolume Integer
- ccscsivTargetName :: Lens' CreateCachediSCSIVolume Text
- ccscsivNetworkInterfaceId :: Lens' CreateCachediSCSIVolume Text
- ccscsivClientToken :: Lens' CreateCachediSCSIVolume Text
- createCachediSCSIVolumeResponse :: Int -> CreateCachediSCSIVolumeResponse
- data CreateCachediSCSIVolumeResponse
- ccscsivrsTargetARN :: Lens' CreateCachediSCSIVolumeResponse (Maybe Text)
- ccscsivrsVolumeARN :: Lens' CreateCachediSCSIVolumeResponse (Maybe Text)
- ccscsivrsResponseStatus :: Lens' CreateCachediSCSIVolumeResponse Int
Creating a Request
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:
ccscsivSnapshotId
- Undocumented member.ccscsivGatewayARN
- Undocumented member.ccscsivVolumeSizeInBytes
- Undocumented member.ccscsivTargetName
- Undocumented member.ccscsivNetworkInterfaceId
- Undocumented member.ccscsivClientToken
- Undocumented member.
data CreateCachediSCSIVolume #
See: createCachediSCSIVolume
smart constructor.
Instances
Request Lenses
ccscsivSnapshotId :: Lens' CreateCachediSCSIVolume (Maybe Text) #
Undocumented member.
ccscsivGatewayARN :: Lens' CreateCachediSCSIVolume Text #
Undocumented member.
ccscsivVolumeSizeInBytes :: Lens' CreateCachediSCSIVolume Integer #
Undocumented member.
ccscsivTargetName :: Lens' CreateCachediSCSIVolume Text #
Undocumented member.
ccscsivNetworkInterfaceId :: Lens' CreateCachediSCSIVolume Text #
Undocumented member.
ccscsivClientToken :: Lens' CreateCachediSCSIVolume Text #
Undocumented member.
Destructuring the Response
createCachediSCSIVolumeResponse #
Arguments
:: Int | |
-> 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:
ccscsivrsTargetARN
- Undocumented member.ccscsivrsVolumeARN
- Undocumented member.ccscsivrsResponseStatus
- -- | The response status code.
data CreateCachediSCSIVolumeResponse #
See: createCachediSCSIVolumeResponse
smart constructor.
Response Lenses
ccscsivrsTargetARN :: Lens' CreateCachediSCSIVolumeResponse (Maybe Text) #
Undocumented member.
ccscsivrsVolumeARN :: Lens' CreateCachediSCSIVolumeResponse (Maybe Text) #
Undocumented member.
ccscsivrsResponseStatus :: Lens' CreateCachediSCSIVolumeResponse Int #
- - | The response status code.