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

Contents

Description

Describes a network interface attribute. You can specify only one attribute at a time.

Synopsis

Creating a Request

describeNetworkInterfaceAttribute #

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

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

  • dniaAttribute - The attribute of the network interface.
  • dniaDryRun - 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 .
  • dniaNetworkInterfaceId - The ID of the network interface.

data DescribeNetworkInterfaceAttribute #

Contains the parameters for DescribeNetworkInterfaceAttribute.

See: describeNetworkInterfaceAttribute smart constructor.

Instances

Eq DescribeNetworkInterfaceAttribute # 
Data DescribeNetworkInterfaceAttribute # 

Methods

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

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

toConstr :: DescribeNetworkInterfaceAttribute -> Constr #

dataTypeOf :: DescribeNetworkInterfaceAttribute -> DataType #

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

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

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

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

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

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

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

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

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

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

Read DescribeNetworkInterfaceAttribute # 
Show DescribeNetworkInterfaceAttribute # 
Generic DescribeNetworkInterfaceAttribute # 
Hashable DescribeNetworkInterfaceAttribute # 
NFData DescribeNetworkInterfaceAttribute # 
AWSRequest DescribeNetworkInterfaceAttribute # 
ToQuery DescribeNetworkInterfaceAttribute # 
ToPath DescribeNetworkInterfaceAttribute # 
ToHeaders DescribeNetworkInterfaceAttribute # 
type Rep DescribeNetworkInterfaceAttribute # 
type Rep DescribeNetworkInterfaceAttribute = D1 (MetaData "DescribeNetworkInterfaceAttribute" "Network.AWS.EC2.DescribeNetworkInterfaceAttribute" "amazonka-ec2-1.4.5-C4CR35JggG2GhWFrIiKGhu" False) (C1 (MetaCons "DescribeNetworkInterfaceAttribute'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_dniaAttribute") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe NetworkInterfaceAttribute))) ((:*:) (S1 (MetaSel (Just Symbol "_dniaDryRun") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool))) (S1 (MetaSel (Just Symbol "_dniaNetworkInterfaceId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))))
type Rs DescribeNetworkInterfaceAttribute # 

Request Lenses

dniaDryRun :: Lens' DescribeNetworkInterfaceAttribute (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 .

Destructuring the Response

describeNetworkInterfaceAttributeResponse #

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

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

data DescribeNetworkInterfaceAttributeResponse #

Contains the output of DescribeNetworkInterfaceAttribute.

See: describeNetworkInterfaceAttributeResponse smart constructor.

Instances

Eq DescribeNetworkInterfaceAttributeResponse # 
Data DescribeNetworkInterfaceAttributeResponse # 

Methods

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

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

toConstr :: DescribeNetworkInterfaceAttributeResponse -> Constr #

dataTypeOf :: DescribeNetworkInterfaceAttributeResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read DescribeNetworkInterfaceAttributeResponse # 
Show DescribeNetworkInterfaceAttributeResponse # 
Generic DescribeNetworkInterfaceAttributeResponse # 
NFData DescribeNetworkInterfaceAttributeResponse # 
type Rep DescribeNetworkInterfaceAttributeResponse # 
type Rep DescribeNetworkInterfaceAttributeResponse = D1 (MetaData "DescribeNetworkInterfaceAttributeResponse" "Network.AWS.EC2.DescribeNetworkInterfaceAttribute" "amazonka-ec2-1.4.5-C4CR35JggG2GhWFrIiKGhu" False) (C1 (MetaCons "DescribeNetworkInterfaceAttributeResponse'" PrefixI True) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_dniarsGroups") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [GroupIdentifier]))) ((:*:) (S1 (MetaSel (Just Symbol "_dniarsSourceDestCheck") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe AttributeBooleanValue))) (S1 (MetaSel (Just Symbol "_dniarsNetworkInterfaceId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))) ((:*:) (S1 (MetaSel (Just Symbol "_dniarsAttachment") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe NetworkInterfaceAttachment))) ((:*:) (S1 (MetaSel (Just Symbol "_dniarsDescription") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe AttributeValue))) (S1 (MetaSel (Just Symbol "_dniarsResponseStatus") NoSourceUnpackedness SourceStrict DecidedUnpack) (Rec0 Int))))))

Response Lenses

dniarsGroups :: Lens' DescribeNetworkInterfaceAttributeResponse [GroupIdentifier] #

The security groups associated with the network interface.

dniarsSourceDestCheck :: Lens' DescribeNetworkInterfaceAttributeResponse (Maybe AttributeBooleanValue) #

Indicates whether source/destination checking is enabled.