amazonka-opsworks-1.4.1: 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 Source #

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 Source #

See: assignVolume smart constructor.

Instances

Eq AssignVolume Source # 
Data AssignVolume Source # 

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 Source # 
Show AssignVolume Source # 
Generic AssignVolume Source # 

Associated Types

type Rep AssignVolume :: * -> * #

Hashable AssignVolume Source # 
ToJSON AssignVolume Source # 
NFData AssignVolume Source # 

Methods

rnf :: AssignVolume -> () #

AWSRequest AssignVolume Source # 
ToQuery AssignVolume Source # 
ToPath AssignVolume Source # 
ToHeaders AssignVolume Source # 
type Rep AssignVolume Source # 
type Rep AssignVolume = D1 (MetaData "AssignVolume" "Network.AWS.OpsWorks.AssignVolume" "amazonka-opsworks-1.4.1-6ic3q3aiZgSC49XaBqQsUD" 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 Source # 

Request Lenses

Destructuring the Response

assignVolumeResponse :: AssignVolumeResponse Source #

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

data AssignVolumeResponse Source #

See: assignVolumeResponse smart constructor.

Instances

Eq AssignVolumeResponse Source # 
Data AssignVolumeResponse Source # 

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 Source # 
Show AssignVolumeResponse Source # 
Generic AssignVolumeResponse Source # 
NFData AssignVolumeResponse Source # 

Methods

rnf :: AssignVolumeResponse -> () #

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