Safe Haskell | None |
---|---|
Language | Haskell2010 |
Assigns one of the stack's registered Amazon EBS volumes to a specified
instance. The volume must first be registered with the stack by calling RegisterVolume
. 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_AssignVolume.html
Request
data AssignVolume Source
Request constructor
AssignVolume
constructor.
The fields accessible through corresponding lenses are:
avInstanceId
::
Maybe
Text
avVolumeId
::
Text
Request lenses
avInstanceId :: Lens' AssignVolume (Maybe Text) Source
The instance ID.
avVolumeId :: Lens' AssignVolume Text Source
The volume ID.
Response
Response constructor
assignVolumeResponse :: AssignVolumeResponse Source
AssignVolumeResponse
constructor.