amazonka-ec2-1.3.0: Amazon Elastic Compute Cloud SDK.

Copyright(c) 2013-2015 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <>
Portabilitynon-portable (GHC extensions)
Safe HaskellNone




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

See: AWS API Reference for DescribeNetworkInterfaceAttribute.


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:

Request Lenses

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

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.