amazonka-opsworks-1.3.6: Amazon OpsWorks SDK.

Copyright(c) 2013-2015 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.AWS.OpsWorks.RegisterVolume

Contents

Description

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 User Permissions.

See: AWS API Reference for RegisterVolume.

Synopsis

Creating a Request

registerVolume Source

Creates a value of RegisterVolume with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

Request Lenses

rvEC2VolumeId :: Lens' RegisterVolume (Maybe Text) Source

The Amazon EBS volume ID.

Destructuring the Response

registerVolumeResponse Source

Creates a value of RegisterVolumeResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

Response Lenses