Copyright | (c) 2013-2018 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@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.
- 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:
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 isDryRunOperation
. Otherwise, it isUnauthorizedOperation
.dniaNetworkInterfaceId
- The ID of the network interface.
data DescribeNetworkInterfaceAttribute Source #
Contains the parameters for DescribeNetworkInterfaceAttribute.
See: describeNetworkInterfaceAttribute
smart constructor.
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
.
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:
dniarsGroups
- The security groups associated with the network interface.dniarsSourceDestCheck
- Indicates whether source/destination checking is enabled.dniarsNetworkInterfaceId
- The ID of the network interface.dniarsAttachment
- The attachment (if any) of the network interface.dniarsDescription
- The description of the network interface.dniarsResponseStatus
- -- | The response status code.
data DescribeNetworkInterfaceAttributeResponse Source #
Contains the output of DescribeNetworkInterfaceAttribute.
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.