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

Contents

Description

Describes the specified attribute of the specified volume. You can specify only one attribute at a time.

For more information about EBS volumes, see Amazon EBS Volumes in the Amazon Elastic Compute Cloud User Guide .

Synopsis

Creating a Request

describeVolumeAttribute Source #

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

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

  • dvaAttribute - The instance attribute.
  • dvaDryRun - 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 .
  • dvaVolumeId - The ID of the volume.

data DescribeVolumeAttribute Source #

Contains the parameters for DescribeVolumeAttribute.

See: describeVolumeAttribute smart constructor.

Instances

Eq DescribeVolumeAttribute Source # 
Data DescribeVolumeAttribute Source # 

Methods

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

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

toConstr :: DescribeVolumeAttribute -> Constr #

dataTypeOf :: DescribeVolumeAttribute -> DataType #

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

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

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

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

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

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

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

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

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

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

Read DescribeVolumeAttribute Source # 
Show DescribeVolumeAttribute Source # 
Generic DescribeVolumeAttribute Source # 
Hashable DescribeVolumeAttribute Source # 
NFData DescribeVolumeAttribute Source # 

Methods

rnf :: DescribeVolumeAttribute -> () #

AWSRequest DescribeVolumeAttribute Source # 
ToPath DescribeVolumeAttribute Source # 
ToHeaders DescribeVolumeAttribute Source # 
ToQuery DescribeVolumeAttribute Source # 
type Rep DescribeVolumeAttribute Source # 
type Rep DescribeVolumeAttribute = D1 (MetaData "DescribeVolumeAttribute" "Network.AWS.EC2.DescribeVolumeAttribute" "amazonka-ec2-1.4.5-4J1X1aohvSR7xjHvMmTrf6" False) (C1 (MetaCons "DescribeVolumeAttribute'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_dvaAttribute") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe VolumeAttributeName))) ((:*:) (S1 (MetaSel (Just Symbol "_dvaDryRun") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool))) (S1 (MetaSel (Just Symbol "_dvaVolumeId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))))
type Rs DescribeVolumeAttribute Source # 

Request Lenses

dvaDryRun :: Lens' DescribeVolumeAttribute (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

describeVolumeAttributeResponse Source #

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

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

data DescribeVolumeAttributeResponse Source #

Contains the output of DescribeVolumeAttribute.

See: describeVolumeAttributeResponse smart constructor.

Instances

Eq DescribeVolumeAttributeResponse Source # 
Data DescribeVolumeAttributeResponse Source # 

Methods

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

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

toConstr :: DescribeVolumeAttributeResponse -> Constr #

dataTypeOf :: DescribeVolumeAttributeResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read DescribeVolumeAttributeResponse Source # 
Show DescribeVolumeAttributeResponse Source # 
Generic DescribeVolumeAttributeResponse Source # 
NFData DescribeVolumeAttributeResponse Source # 
type Rep DescribeVolumeAttributeResponse Source # 
type Rep DescribeVolumeAttributeResponse = D1 (MetaData "DescribeVolumeAttributeResponse" "Network.AWS.EC2.DescribeVolumeAttribute" "amazonka-ec2-1.4.5-4J1X1aohvSR7xjHvMmTrf6" False) (C1 (MetaCons "DescribeVolumeAttributeResponse'" PrefixI True) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_dvarsVolumeId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_dvarsProductCodes") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [ProductCode])))) ((:*:) (S1 (MetaSel (Just Symbol "_dvarsAutoEnableIO") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe AttributeBooleanValue))) (S1 (MetaSel (Just Symbol "_dvarsResponseStatus") NoSourceUnpackedness SourceStrict DecidedUnpack) (Rec0 Int)))))

Response Lenses