amazonka-ec2-1.4.1: 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.DescribeImageAttribute

Contents

Description

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

Synopsis

Creating a Request

describeImageAttribute Source #

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

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

data DescribeImageAttribute Source #

Contains the parameters for DescribeImageAttribute.

See: describeImageAttribute smart constructor.

Instances

Eq DescribeImageAttribute Source # 
Data DescribeImageAttribute Source # 

Methods

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

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

toConstr :: DescribeImageAttribute -> Constr #

dataTypeOf :: DescribeImageAttribute -> DataType #

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

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

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

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

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

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

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

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

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

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

Read DescribeImageAttribute Source # 
Show DescribeImageAttribute Source # 
Generic DescribeImageAttribute Source # 
Hashable DescribeImageAttribute Source # 
NFData DescribeImageAttribute Source # 

Methods

rnf :: DescribeImageAttribute -> () #

AWSRequest DescribeImageAttribute Source # 
ToQuery DescribeImageAttribute Source # 
ToPath DescribeImageAttribute Source # 
ToHeaders DescribeImageAttribute Source # 
type Rep DescribeImageAttribute Source # 
type Rep DescribeImageAttribute = D1 (MetaData "DescribeImageAttribute" "Network.AWS.EC2.DescribeImageAttribute" "amazonka-ec2-1.4.1-5DlWz6no0BoLQhxZVyzMyd" False) (C1 (MetaCons "DescribeImageAttribute'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_diaiDryRun") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool))) ((:*:) (S1 (MetaSel (Just Symbol "_diaiImageId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_diaiAttribute") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 ImageAttributeName)))))
type Rs DescribeImageAttribute Source # 

Request Lenses

diaiDryRun :: Lens' DescribeImageAttribute (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.

diaiAttribute :: Lens' DescribeImageAttribute ImageAttributeName Source #

The AMI attribute.

Note: Depending on your account privileges, the blockDeviceMapping attribute may return a AuthFailure error. If this happens, use DescribeImages to get information about the block device mapping for the AMI.

Destructuring the Response

data DescribeImageAttributeResponse Source #

Describes an image attribute.

See: describeImageAttributeResponse smart constructor.

Instances

Eq DescribeImageAttributeResponse Source # 
Data DescribeImageAttributeResponse Source # 

Methods

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

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

toConstr :: DescribeImageAttributeResponse -> Constr #

dataTypeOf :: DescribeImageAttributeResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read DescribeImageAttributeResponse Source # 
Show DescribeImageAttributeResponse Source # 
Generic DescribeImageAttributeResponse Source # 
NFData DescribeImageAttributeResponse Source # 
type Rep DescribeImageAttributeResponse Source # 

Response Lenses