amazonka-ec2-1.6.1: Amazon Elastic Compute Cloud SDK.

Copyright(c) 2013-2018 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@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 # 
Instance details

Defined in Network.AWS.EC2.EnableVolumeIO

Data EnableVolumeIO # 
Instance details

Defined in Network.AWS.EC2.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 # 
Instance details

Defined in Network.AWS.EC2.EnableVolumeIO

Show EnableVolumeIO # 
Instance details

Defined in Network.AWS.EC2.EnableVolumeIO

Generic EnableVolumeIO # 
Instance details

Defined in Network.AWS.EC2.EnableVolumeIO

Associated Types

type Rep EnableVolumeIO :: Type -> Type #

Hashable EnableVolumeIO # 
Instance details

Defined in Network.AWS.EC2.EnableVolumeIO

AWSRequest EnableVolumeIO # 
Instance details

Defined in Network.AWS.EC2.EnableVolumeIO

Associated Types

type Rs EnableVolumeIO :: Type #

ToHeaders EnableVolumeIO # 
Instance details

Defined in Network.AWS.EC2.EnableVolumeIO

ToPath EnableVolumeIO # 
Instance details

Defined in Network.AWS.EC2.EnableVolumeIO

ToQuery EnableVolumeIO # 
Instance details

Defined in Network.AWS.EC2.EnableVolumeIO

NFData EnableVolumeIO # 
Instance details

Defined in Network.AWS.EC2.EnableVolumeIO

Methods

rnf :: EnableVolumeIO -> () #

type Rep EnableVolumeIO # 
Instance details

Defined in Network.AWS.EC2.EnableVolumeIO

type Rep EnableVolumeIO = D1 (MetaData "EnableVolumeIO" "Network.AWS.EC2.EnableVolumeIO" "amazonka-ec2-1.6.1-H98Zd65xIYr2z4e5UhW9ck" False) (C1 (MetaCons "EnableVolumeIO'" PrefixI True) (S1 (MetaSel (Just "_evioDryRun") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 (MetaSel (Just "_evioVolumeId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))
type Rs EnableVolumeIO # 
Instance details

Defined in Network.AWS.EC2.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 # 
Instance details

Defined in Network.AWS.EC2.EnableVolumeIO

Data EnableVolumeIOResponse # 
Instance details

Defined in Network.AWS.EC2.EnableVolumeIO

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 # 
Instance details

Defined in Network.AWS.EC2.EnableVolumeIO

Show EnableVolumeIOResponse # 
Instance details

Defined in Network.AWS.EC2.EnableVolumeIO

Generic EnableVolumeIOResponse # 
Instance details

Defined in Network.AWS.EC2.EnableVolumeIO

Associated Types

type Rep EnableVolumeIOResponse :: Type -> Type #

NFData EnableVolumeIOResponse # 
Instance details

Defined in Network.AWS.EC2.EnableVolumeIO

Methods

rnf :: EnableVolumeIOResponse -> () #

type Rep EnableVolumeIOResponse # 
Instance details

Defined in Network.AWS.EC2.EnableVolumeIO

type Rep EnableVolumeIOResponse = D1 (MetaData "EnableVolumeIOResponse" "Network.AWS.EC2.EnableVolumeIO" "amazonka-ec2-1.6.1-H98Zd65xIYr2z4e5UhW9ck" False) (C1 (MetaCons "EnableVolumeIOResponse'" PrefixI False) (U1 :: Type -> Type))