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

Defined in Network.AWS.EC2.DescribeImageAttribute

Data DescribeImageAttribute Source # 
Instance details

Defined in Network.AWS.EC2.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 Source # 
Instance details

Defined in Network.AWS.EC2.DescribeImageAttribute

Show DescribeImageAttribute Source # 
Instance details

Defined in Network.AWS.EC2.DescribeImageAttribute

Generic DescribeImageAttribute Source # 
Instance details

Defined in Network.AWS.EC2.DescribeImageAttribute

Associated Types

type Rep DescribeImageAttribute :: Type -> Type #

Hashable DescribeImageAttribute Source # 
Instance details

Defined in Network.AWS.EC2.DescribeImageAttribute

AWSRequest DescribeImageAttribute Source # 
Instance details

Defined in Network.AWS.EC2.DescribeImageAttribute

Associated Types

type Rs DescribeImageAttribute :: Type #

ToHeaders DescribeImageAttribute Source # 
Instance details

Defined in Network.AWS.EC2.DescribeImageAttribute

ToPath DescribeImageAttribute Source # 
Instance details

Defined in Network.AWS.EC2.DescribeImageAttribute

ToQuery DescribeImageAttribute Source # 
Instance details

Defined in Network.AWS.EC2.DescribeImageAttribute

NFData DescribeImageAttribute Source # 
Instance details

Defined in Network.AWS.EC2.DescribeImageAttribute

Methods

rnf :: DescribeImageAttribute -> () #

type Rep DescribeImageAttribute Source # 
Instance details

Defined in Network.AWS.EC2.DescribeImageAttribute

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

Defined in Network.AWS.EC2.DescribeImageAttribute

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 # 
Instance details

Defined in Network.AWS.EC2.DescribeImageAttribute

Data DescribeImageAttributeResponse Source # 
Instance details

Defined in Network.AWS.EC2.DescribeImageAttribute

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 # 
Instance details

Defined in Network.AWS.EC2.DescribeImageAttribute

Show DescribeImageAttributeResponse Source # 
Instance details

Defined in Network.AWS.EC2.DescribeImageAttribute

Generic DescribeImageAttributeResponse Source # 
Instance details

Defined in Network.AWS.EC2.DescribeImageAttribute

Associated Types

type Rep DescribeImageAttributeResponse :: Type -> Type #

NFData DescribeImageAttributeResponse Source # 
Instance details

Defined in Network.AWS.EC2.DescribeImageAttribute

type Rep DescribeImageAttributeResponse Source # 
Instance details

Defined in Network.AWS.EC2.DescribeImageAttribute

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