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

  • 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 .
  • 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.
  • diaiImageId - The ID of the AMI.

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 # 
ToHeaders DescribeImageAttribute Source # 
ToPath DescribeImageAttribute Source # 
ToQuery DescribeImageAttribute Source # 
type Rep DescribeImageAttribute Source # 
type Rep DescribeImageAttribute = D1 * (MetaData "DescribeImageAttribute" "Network.AWS.EC2.DescribeImageAttribute" "amazonka-ec2-1.6.0-Kkew7Kpgof6EYi20Z0WOzs" False) (C1 * (MetaCons "DescribeImageAttribute'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_diaiDryRun") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Bool))) ((:*:) * (S1 * (MetaSel (Just Symbol "_diaiAttribute") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * ImageAttributeName)) (S1 * (MetaSel (Just Symbol "_diaiImageId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Text)))))
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 Client.AuthFailure error. If this happens, use DescribeImages to get information about the block device mapping for the AMI.

Destructuring the Response

describeImageAttributeResponse Source #

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 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 # 
type Rep DescribeImageAttributeResponse = D1 * (MetaData "DescribeImageAttributeResponse" "Network.AWS.EC2.DescribeImageAttribute" "amazonka-ec2-1.6.0-Kkew7Kpgof6EYi20Z0WOzs" False) (C1 * (MetaCons "DescribeImageAttributeResponse'" PrefixI True) ((:*:) * ((:*:) * ((:*:) * (S1 * (MetaSel (Just Symbol "_diarsLaunchPermissions") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe [LaunchPermission]))) (S1 * (MetaSel (Just Symbol "_diarsRAMDiskId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe AttributeValue)))) ((:*:) * (S1 * (MetaSel (Just Symbol "_diarsKernelId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe AttributeValue))) (S1 * (MetaSel (Just Symbol "_diarsSRIOVNetSupport") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe AttributeValue))))) ((:*:) * ((:*:) * (S1 * (MetaSel (Just Symbol "_diarsImageId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) (S1 * (MetaSel (Just Symbol "_diarsProductCodes") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe [ProductCode])))) ((:*:) * (S1 * (MetaSel (Just Symbol "_diarsDescription") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe AttributeValue))) ((:*:) * (S1 * (MetaSel (Just Symbol "_diarsBlockDeviceMappings") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe [BlockDeviceMapping]))) (S1 * (MetaSel (Just Symbol "_diarsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Int)))))))

Response Lenses

diarsSRIOVNetSupport :: Lens' DescribeImageAttributeResponse (Maybe AttributeValue) Source #

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