amazonka-opsworks-1.4.5: Amazon OpsWorks SDK.

Copyright(c) 2013-2016 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.AssignVolume

Contents

Description

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 . After you register the volume, you must call UpdateVolume to specify a mount point before calling AssignVolume . 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 .

Synopsis

Creating a Request

assignVolume #

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

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

data AssignVolume #

See: assignVolume smart constructor.

Instances

Eq AssignVolume # 
Data AssignVolume # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> AssignVolume -> c AssignVolume #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c AssignVolume #

toConstr :: AssignVolume -> Constr #

dataTypeOf :: AssignVolume -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c AssignVolume) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c AssignVolume) #

gmapT :: (forall b. Data b => b -> b) -> AssignVolume -> AssignVolume #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> AssignVolume -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> AssignVolume -> r #

gmapQ :: (forall d. Data d => d -> u) -> AssignVolume -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> AssignVolume -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> AssignVolume -> m AssignVolume #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> AssignVolume -> m AssignVolume #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> AssignVolume -> m AssignVolume #

Read AssignVolume # 
Show AssignVolume # 
Generic AssignVolume # 

Associated Types

type Rep AssignVolume :: * -> * #

Hashable AssignVolume # 
ToJSON AssignVolume # 
NFData AssignVolume # 

Methods

rnf :: AssignVolume -> () #

AWSRequest AssignVolume # 
ToQuery AssignVolume # 
ToPath AssignVolume # 
ToHeaders AssignVolume # 
type Rep AssignVolume # 
type Rep AssignVolume = D1 (MetaData "AssignVolume" "Network.AWS.OpsWorks.AssignVolume" "amazonka-opsworks-1.4.5-JiFrWEFhyqOE1ZKfkjkheh" False) (C1 (MetaCons "AssignVolume'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_avInstanceId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_avVolumeId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))
type Rs AssignVolume # 

Request Lenses

avInstanceId :: Lens' AssignVolume (Maybe Text) #

The instance ID.

Destructuring the Response

assignVolumeResponse :: AssignVolumeResponse #

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

data AssignVolumeResponse #

See: assignVolumeResponse smart constructor.

Instances

Eq AssignVolumeResponse # 
Data AssignVolumeResponse # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> AssignVolumeResponse -> c AssignVolumeResponse #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c AssignVolumeResponse #

toConstr :: AssignVolumeResponse -> Constr #

dataTypeOf :: AssignVolumeResponse -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c AssignVolumeResponse) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c AssignVolumeResponse) #

gmapT :: (forall b. Data b => b -> b) -> AssignVolumeResponse -> AssignVolumeResponse #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> AssignVolumeResponse -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> AssignVolumeResponse -> r #

gmapQ :: (forall d. Data d => d -> u) -> AssignVolumeResponse -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> AssignVolumeResponse -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> AssignVolumeResponse -> m AssignVolumeResponse #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> AssignVolumeResponse -> m AssignVolumeResponse #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> AssignVolumeResponse -> m AssignVolumeResponse #

Read AssignVolumeResponse # 
Show AssignVolumeResponse # 
Generic AssignVolumeResponse # 
NFData AssignVolumeResponse # 

Methods

rnf :: AssignVolumeResponse -> () #

type Rep AssignVolumeResponse # 
type Rep AssignVolumeResponse = D1 (MetaData "AssignVolumeResponse" "Network.AWS.OpsWorks.AssignVolume" "amazonka-opsworks-1.4.5-JiFrWEFhyqOE1ZKfkjkheh" False) (C1 (MetaCons "AssignVolumeResponse'" PrefixI False) U1)