amazonka-ec2-1.4.5: Amazon Elastic Compute Cloud 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.EC2.EnableVolumeIO

Contents

Description

Enables IO operations for a volume that had IO operations disabled because the data on the volume was potentially inconsistent.

Synopsis

Creating a Request

enableVolumeIO #

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

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

  • evioDryRun - Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation . Otherwise, it is UnauthorizedOperation .
  • evioVolumeId - The ID of the volume.

data EnableVolumeIO #

Contains the parameters for EnableVolumeIO.

See: enableVolumeIO smart constructor.

Instances

Eq EnableVolumeIO # 
Data EnableVolumeIO # 

Methods

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

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

toConstr :: EnableVolumeIO -> Constr #

dataTypeOf :: EnableVolumeIO -> DataType #

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

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

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

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

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

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

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

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

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

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

Read EnableVolumeIO # 
Show EnableVolumeIO # 
Generic EnableVolumeIO # 

Associated Types

type Rep EnableVolumeIO :: * -> * #

Hashable EnableVolumeIO # 
NFData EnableVolumeIO # 

Methods

rnf :: EnableVolumeIO -> () #

AWSRequest EnableVolumeIO # 
ToQuery EnableVolumeIO # 
ToPath EnableVolumeIO # 
ToHeaders EnableVolumeIO # 
type Rep EnableVolumeIO # 
type Rep EnableVolumeIO = D1 (MetaData "EnableVolumeIO" "Network.AWS.EC2.EnableVolumeIO" "amazonka-ec2-1.4.5-C4CR35JggG2GhWFrIiKGhu" False) (C1 (MetaCons "EnableVolumeIO'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_evioDryRun") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool))) (S1 (MetaSel (Just Symbol "_evioVolumeId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))
type Rs EnableVolumeIO # 

Request Lenses

evioDryRun :: Lens' EnableVolumeIO (Maybe Bool) #

Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation . Otherwise, it is UnauthorizedOperation .

evioVolumeId :: Lens' EnableVolumeIO Text #

The ID of the volume.

Destructuring the Response

enableVolumeIOResponse :: EnableVolumeIOResponse #

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

data EnableVolumeIOResponse #

See: enableVolumeIOResponse smart constructor.

Instances

Eq EnableVolumeIOResponse # 
Data EnableVolumeIOResponse # 

Methods

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

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

toConstr :: EnableVolumeIOResponse -> Constr #

dataTypeOf :: EnableVolumeIOResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read EnableVolumeIOResponse # 
Show EnableVolumeIOResponse # 
Generic EnableVolumeIOResponse # 
NFData EnableVolumeIOResponse # 

Methods

rnf :: EnableVolumeIOResponse -> () #

type Rep EnableVolumeIOResponse # 
type Rep EnableVolumeIOResponse = D1 (MetaData "EnableVolumeIOResponse" "Network.AWS.EC2.EnableVolumeIO" "amazonka-ec2-1.4.5-C4CR35JggG2GhWFrIiKGhu" False) (C1 (MetaCons "EnableVolumeIOResponse'" PrefixI False) U1)