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

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:

  • diaiDryRun - 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 .
  • diaiImageId - The ID of the AMI.
  • diaiAttribute - The AMI attribute. Note : Depending on your account privileges, the blockDeviceMapping attribute may return a Client.AuthFailure error. If this happens, use DescribeImages to get information about the block device mapping for the AMI.

data DescribeImageAttribute #

Contains the parameters for DescribeImageAttribute.

See: describeImageAttribute smart constructor.

Instances

Eq DescribeImageAttribute # 
Data DescribeImageAttribute # 

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 # 
Show DescribeImageAttribute # 
Generic DescribeImageAttribute # 
Hashable DescribeImageAttribute # 
NFData DescribeImageAttribute # 

Methods

rnf :: DescribeImageAttribute -> () #

AWSRequest DescribeImageAttribute # 
ToQuery DescribeImageAttribute # 
ToPath DescribeImageAttribute # 
ToHeaders DescribeImageAttribute # 
type Rep DescribeImageAttribute # 
type Rep DescribeImageAttribute = D1 (MetaData "DescribeImageAttribute" "Network.AWS.EC2.DescribeImageAttribute" "amazonka-ec2-1.4.5-C4CR35JggG2GhWFrIiKGhu" 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 # 

Request Lenses

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

diaiAttribute :: Lens' DescribeImageAttribute ImageAttributeName #

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

Destructuring the Response

describeImageAttributeResponse #

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

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

data DescribeImageAttributeResponse #

Describes an image attribute.

See: describeImageAttributeResponse smart constructor.

Instances

Eq DescribeImageAttributeResponse # 
Data DescribeImageAttributeResponse # 

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 # 
Show DescribeImageAttributeResponse # 
Generic DescribeImageAttributeResponse # 
NFData DescribeImageAttributeResponse # 
type Rep DescribeImageAttributeResponse # 

Response Lenses

diarsSRIOVNetSupport :: Lens' DescribeImageAttributeResponse (Maybe AttributeValue) #

Indicates whether enhanced networking with the Intel 82599 Virtual Function interface is enabled.