Safe Haskell | None |
---|---|
Language | Haskell2010 |
Registers an Amazon EBS volume with a specified stack. A volume can be
registered with only one stack at a time. If the volume is already
registered, you must first deregister it by calling DeregisterVolume
. For
more information, see Resource Management.
Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing UserPermissions.
http://docs.aws.amazon.com/opsworks/latest/APIReference/API_RegisterVolume.html
Request
data RegisterVolume Source
Request constructor
RegisterVolume
constructor.
The fields accessible through corresponding lenses are:
rvEc2VolumeId
::
Maybe
Text
rvStackId
::
Text
Request lenses
rvEc2VolumeId :: Lens' RegisterVolume (Maybe Text) Source
The Amazon EBS volume ID.
rvStackId :: Lens' RegisterVolume Text Source
The stack ID.
Response
Response constructor
registerVolumeResponse :: RegisterVolumeResponse Source
RegisterVolumeResponse
constructor.
The fields accessible through corresponding lenses are:
rvrVolumeId
::
Maybe
Text
Response lenses
rvrVolumeId :: Lens' RegisterVolumeResponse (Maybe Text) Source
The volume ID.