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

Contents

Description

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

Synopsis

Creating a Request

describeNetworkInterfaceAttribute Source #

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. This parameter is required.
  • 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 Source #

Contains the parameters for DescribeNetworkInterfaceAttribute.

See: describeNetworkInterfaceAttribute smart constructor.

Instances
Eq DescribeNetworkInterfaceAttribute Source # 
Instance details

Defined in Network.AWS.EC2.DescribeNetworkInterfaceAttribute

Data DescribeNetworkInterfaceAttribute Source # 
Instance details

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

Defined in Network.AWS.EC2.DescribeNetworkInterfaceAttribute

Show DescribeNetworkInterfaceAttribute Source # 
Instance details

Defined in Network.AWS.EC2.DescribeNetworkInterfaceAttribute

Generic DescribeNetworkInterfaceAttribute Source # 
Instance details

Defined in Network.AWS.EC2.DescribeNetworkInterfaceAttribute

Associated Types

type Rep DescribeNetworkInterfaceAttribute :: Type -> Type #

Hashable DescribeNetworkInterfaceAttribute Source # 
Instance details

Defined in Network.AWS.EC2.DescribeNetworkInterfaceAttribute

AWSRequest DescribeNetworkInterfaceAttribute Source # 
Instance details

Defined in Network.AWS.EC2.DescribeNetworkInterfaceAttribute

Associated Types

type Rs DescribeNetworkInterfaceAttribute :: Type #

ToHeaders DescribeNetworkInterfaceAttribute Source # 
Instance details

Defined in Network.AWS.EC2.DescribeNetworkInterfaceAttribute

ToPath DescribeNetworkInterfaceAttribute Source # 
Instance details

Defined in Network.AWS.EC2.DescribeNetworkInterfaceAttribute

ToQuery DescribeNetworkInterfaceAttribute Source # 
Instance details

Defined in Network.AWS.EC2.DescribeNetworkInterfaceAttribute

NFData DescribeNetworkInterfaceAttribute Source # 
Instance details

Defined in Network.AWS.EC2.DescribeNetworkInterfaceAttribute

type Rep DescribeNetworkInterfaceAttribute Source # 
Instance details

Defined in Network.AWS.EC2.DescribeNetworkInterfaceAttribute

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

Defined in Network.AWS.EC2.DescribeNetworkInterfaceAttribute

Request Lenses

dniaAttribute :: Lens' DescribeNetworkInterfaceAttribute (Maybe NetworkInterfaceAttribute) Source #

The attribute of the network interface. This parameter is required.

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

Destructuring the Response

describeNetworkInterfaceAttributeResponse Source #

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

Contains the output of DescribeNetworkInterfaceAttribute.

See: describeNetworkInterfaceAttributeResponse smart constructor.

Instances
Eq DescribeNetworkInterfaceAttributeResponse Source # 
Instance details

Defined in Network.AWS.EC2.DescribeNetworkInterfaceAttribute

Data DescribeNetworkInterfaceAttributeResponse Source # 
Instance details

Defined in Network.AWS.EC2.DescribeNetworkInterfaceAttribute

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

Defined in Network.AWS.EC2.DescribeNetworkInterfaceAttribute

Show DescribeNetworkInterfaceAttributeResponse Source # 
Instance details

Defined in Network.AWS.EC2.DescribeNetworkInterfaceAttribute

Generic DescribeNetworkInterfaceAttributeResponse Source # 
Instance details

Defined in Network.AWS.EC2.DescribeNetworkInterfaceAttribute

NFData DescribeNetworkInterfaceAttributeResponse Source # 
Instance details

Defined in Network.AWS.EC2.DescribeNetworkInterfaceAttribute

type Rep DescribeNetworkInterfaceAttributeResponse Source # 
Instance details

Defined in Network.AWS.EC2.DescribeNetworkInterfaceAttribute

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

Response Lenses

dniarsGroups :: Lens' DescribeNetworkInterfaceAttributeResponse [GroupIdentifier] Source #

The security groups associated with the network interface.

dniarsSourceDestCheck :: Lens' DescribeNetworkInterfaceAttributeResponse (Maybe AttributeBooleanValue) Source #

Indicates whether source/destination checking is enabled.