amazonka-opsworks-1.4.2: 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.UpdateVolume

Contents

Description

Updates an Amazon EBS volume's name or mount point. 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

updateVolume Source #

Arguments

:: Text

uVolumeId

-> UpdateVolume 

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

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

data UpdateVolume Source #

See: updateVolume smart constructor.

Instances

Eq UpdateVolume Source # 
Data UpdateVolume Source # 

Methods

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

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

toConstr :: UpdateVolume -> Constr #

dataTypeOf :: UpdateVolume -> DataType #

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

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

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

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

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

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

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

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

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

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

Read UpdateVolume Source # 
Show UpdateVolume Source # 
Generic UpdateVolume Source # 

Associated Types

type Rep UpdateVolume :: * -> * #

ToJSON UpdateVolume Source # 
Hashable UpdateVolume Source # 
NFData UpdateVolume Source # 

Methods

rnf :: UpdateVolume -> () #

AWSRequest UpdateVolume Source # 
ToPath UpdateVolume Source # 
ToHeaders UpdateVolume Source # 
ToQuery UpdateVolume Source # 
type Rep UpdateVolume Source # 
type Rep UpdateVolume = D1 (MetaData "UpdateVolume" "Network.AWS.OpsWorks.UpdateVolume" "amazonka-opsworks-1.4.2-H1NWw2Q6WTvKlcJsv19jGW" False) (C1 (MetaCons "UpdateVolume'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_uName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) ((:*:) (S1 (MetaSel (Just Symbol "_uMountPoint") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_uVolumeId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))))
type Rs UpdateVolume Source # 

Request Lenses

uMountPoint :: Lens' UpdateVolume (Maybe Text) Source #

The new mount point.

Destructuring the Response

updateVolumeResponse :: UpdateVolumeResponse Source #

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

data UpdateVolumeResponse Source #

See: updateVolumeResponse smart constructor.

Instances

Eq UpdateVolumeResponse Source # 
Data UpdateVolumeResponse Source # 

Methods

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

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

toConstr :: UpdateVolumeResponse -> Constr #

dataTypeOf :: UpdateVolumeResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read UpdateVolumeResponse Source # 
Show UpdateVolumeResponse Source # 
Generic UpdateVolumeResponse Source # 
NFData UpdateVolumeResponse Source # 

Methods

rnf :: UpdateVolumeResponse -> () #

type Rep UpdateVolumeResponse Source # 
type Rep UpdateVolumeResponse = D1 (MetaData "UpdateVolumeResponse" "Network.AWS.OpsWorks.UpdateVolume" "amazonka-opsworks-1.4.2-H1NWw2Q6WTvKlcJsv19jGW" False) (C1 (MetaCons "UpdateVolumeResponse'" PrefixI False) U1)