Copyright | (c) 2013-2015 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Describes a network interface attribute. You can specify only one attribute at a time.
See: AWS API Reference for DescribeNetworkInterfaceAttribute.
- describeNetworkInterfaceAttribute :: Text -> DescribeNetworkInterfaceAttribute
- data DescribeNetworkInterfaceAttribute
- dniaAttribute :: Lens' DescribeNetworkInterfaceAttribute (Maybe NetworkInterfaceAttribute)
- dniaDryRun :: Lens' DescribeNetworkInterfaceAttribute (Maybe Bool)
- dniaNetworkInterfaceId :: Lens' DescribeNetworkInterfaceAttribute Text
- describeNetworkInterfaceAttributeResponse :: Int -> DescribeNetworkInterfaceAttributeResponse
- data DescribeNetworkInterfaceAttributeResponse
- dniarsGroups :: Lens' DescribeNetworkInterfaceAttributeResponse [GroupIdentifier]
- dniarsSourceDestCheck :: Lens' DescribeNetworkInterfaceAttributeResponse (Maybe AttributeBooleanValue)
- dniarsNetworkInterfaceId :: Lens' DescribeNetworkInterfaceAttributeResponse (Maybe Text)
- dniarsAttachment :: Lens' DescribeNetworkInterfaceAttributeResponse (Maybe NetworkInterfaceAttachment)
- dniarsDescription :: Lens' DescribeNetworkInterfaceAttributeResponse (Maybe AttributeValue)
- dniarsResponseStatus :: Lens' DescribeNetworkInterfaceAttributeResponse Int
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:
data DescribeNetworkInterfaceAttribute Source
See: describeNetworkInterfaceAttribute
smart constructor.
Request Lenses
dniaAttribute :: Lens' DescribeNetworkInterfaceAttribute (Maybe NetworkInterfaceAttribute) Source
The attribute of the network interface.
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
.
dniaNetworkInterfaceId :: Lens' DescribeNetworkInterfaceAttribute Text Source
The ID of the network interface.
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
See: describeNetworkInterfaceAttributeResponse
smart constructor.
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.
dniarsNetworkInterfaceId :: Lens' DescribeNetworkInterfaceAttributeResponse (Maybe Text) Source
The ID of the network interface.
dniarsAttachment :: Lens' DescribeNetworkInterfaceAttributeResponse (Maybe NetworkInterfaceAttachment) Source
The attachment (if any) of the network interface.
dniarsDescription :: Lens' DescribeNetworkInterfaceAttributeResponse (Maybe AttributeValue) Source
The description of the network interface.
dniarsResponseStatus :: Lens' DescribeNetworkInterfaceAttributeResponse Int Source
The response status code.