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.ModifyVolumeAttribute

Contents

Description

Modifies a volume attribute.

By default, all IO operations for the volume are suspended when the data on the volume is determined to be potentially inconsistent, to prevent undetectable, latent data corruption. The IO access to the volume can be resumed by first enabling I/O access and then checking the data consistency on your volume.

You can change the default behavior to resume I/O operations. We recommend that you change this only for boot volumes or for volumes that are stateless or disposable.

Synopsis

Creating a Request

modifyVolumeAttribute Source #

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

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

  • mvaAutoEnableIO - Indicates whether the volume should be auto-enabled for I/O operations.
  • mvaDryRun - 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 .
  • mvaVolumeId - The ID of the volume.

data ModifyVolumeAttribute Source #

Contains the parameters for ModifyVolumeAttribute.

See: modifyVolumeAttribute smart constructor.

Instances
Eq ModifyVolumeAttribute Source # 
Instance details

Defined in Network.AWS.EC2.ModifyVolumeAttribute

Data ModifyVolumeAttribute Source # 
Instance details

Defined in Network.AWS.EC2.ModifyVolumeAttribute

Methods

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

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

toConstr :: ModifyVolumeAttribute -> Constr #

dataTypeOf :: ModifyVolumeAttribute -> DataType #

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

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

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

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

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

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

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

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

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

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

Read ModifyVolumeAttribute Source # 
Instance details

Defined in Network.AWS.EC2.ModifyVolumeAttribute

Show ModifyVolumeAttribute Source # 
Instance details

Defined in Network.AWS.EC2.ModifyVolumeAttribute

Generic ModifyVolumeAttribute Source # 
Instance details

Defined in Network.AWS.EC2.ModifyVolumeAttribute

Associated Types

type Rep ModifyVolumeAttribute :: Type -> Type #

Hashable ModifyVolumeAttribute Source # 
Instance details

Defined in Network.AWS.EC2.ModifyVolumeAttribute

AWSRequest ModifyVolumeAttribute Source # 
Instance details

Defined in Network.AWS.EC2.ModifyVolumeAttribute

Associated Types

type Rs ModifyVolumeAttribute :: Type #

ToHeaders ModifyVolumeAttribute Source # 
Instance details

Defined in Network.AWS.EC2.ModifyVolumeAttribute

ToPath ModifyVolumeAttribute Source # 
Instance details

Defined in Network.AWS.EC2.ModifyVolumeAttribute

ToQuery ModifyVolumeAttribute Source # 
Instance details

Defined in Network.AWS.EC2.ModifyVolumeAttribute

NFData ModifyVolumeAttribute Source # 
Instance details

Defined in Network.AWS.EC2.ModifyVolumeAttribute

Methods

rnf :: ModifyVolumeAttribute -> () #

type Rep ModifyVolumeAttribute Source # 
Instance details

Defined in Network.AWS.EC2.ModifyVolumeAttribute

type Rep ModifyVolumeAttribute = D1 (MetaData "ModifyVolumeAttribute" "Network.AWS.EC2.ModifyVolumeAttribute" "amazonka-ec2-1.6.1-GgG1M0FWcBrE5I5IM2QktE" False) (C1 (MetaCons "ModifyVolumeAttribute'" PrefixI True) (S1 (MetaSel (Just "_mvaAutoEnableIO") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe AttributeBooleanValue)) :*: (S1 (MetaSel (Just "_mvaDryRun") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 (MetaSel (Just "_mvaVolumeId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))
type Rs ModifyVolumeAttribute Source # 
Instance details

Defined in Network.AWS.EC2.ModifyVolumeAttribute

Request Lenses

mvaAutoEnableIO :: Lens' ModifyVolumeAttribute (Maybe AttributeBooleanValue) Source #

Indicates whether the volume should be auto-enabled for I/O operations.

mvaDryRun :: Lens' ModifyVolumeAttribute (Maybe Bool) Source #

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 .

Destructuring the Response

modifyVolumeAttributeResponse :: ModifyVolumeAttributeResponse Source #

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

data ModifyVolumeAttributeResponse Source #

See: modifyVolumeAttributeResponse smart constructor.

Instances
Eq ModifyVolumeAttributeResponse Source # 
Instance details

Defined in Network.AWS.EC2.ModifyVolumeAttribute

Data ModifyVolumeAttributeResponse Source # 
Instance details

Defined in Network.AWS.EC2.ModifyVolumeAttribute

Methods

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

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

toConstr :: ModifyVolumeAttributeResponse -> Constr #

dataTypeOf :: ModifyVolumeAttributeResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read ModifyVolumeAttributeResponse Source # 
Instance details

Defined in Network.AWS.EC2.ModifyVolumeAttribute

Show ModifyVolumeAttributeResponse Source # 
Instance details

Defined in Network.AWS.EC2.ModifyVolumeAttribute

Generic ModifyVolumeAttributeResponse Source # 
Instance details

Defined in Network.AWS.EC2.ModifyVolumeAttribute

Associated Types

type Rep ModifyVolumeAttributeResponse :: Type -> Type #

NFData ModifyVolumeAttributeResponse Source # 
Instance details

Defined in Network.AWS.EC2.ModifyVolumeAttribute

type Rep ModifyVolumeAttributeResponse Source # 
Instance details

Defined in Network.AWS.EC2.ModifyVolumeAttribute

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