Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Describes a network interface attribute. You can specify only one attribute at a time.
Synopsis
- data DescribeNetworkInterfaceAttribute = DescribeNetworkInterfaceAttribute' {}
- newDescribeNetworkInterfaceAttribute :: Text -> DescribeNetworkInterfaceAttribute
- describeNetworkInterfaceAttribute_attribute :: Lens' DescribeNetworkInterfaceAttribute (Maybe NetworkInterfaceAttribute)
- describeNetworkInterfaceAttribute_dryRun :: Lens' DescribeNetworkInterfaceAttribute (Maybe Bool)
- describeNetworkInterfaceAttribute_networkInterfaceId :: Lens' DescribeNetworkInterfaceAttribute Text
- data DescribeNetworkInterfaceAttributeResponse = DescribeNetworkInterfaceAttributeResponse' {}
- newDescribeNetworkInterfaceAttributeResponse :: Int -> DescribeNetworkInterfaceAttributeResponse
- describeNetworkInterfaceAttributeResponse_attachment :: Lens' DescribeNetworkInterfaceAttributeResponse (Maybe NetworkInterfaceAttachment)
- describeNetworkInterfaceAttributeResponse_description :: Lens' DescribeNetworkInterfaceAttributeResponse (Maybe AttributeValue)
- describeNetworkInterfaceAttributeResponse_groups :: Lens' DescribeNetworkInterfaceAttributeResponse (Maybe [GroupIdentifier])
- describeNetworkInterfaceAttributeResponse_networkInterfaceId :: Lens' DescribeNetworkInterfaceAttributeResponse (Maybe Text)
- describeNetworkInterfaceAttributeResponse_sourceDestCheck :: Lens' DescribeNetworkInterfaceAttributeResponse (Maybe AttributeBooleanValue)
- describeNetworkInterfaceAttributeResponse_httpStatus :: Lens' DescribeNetworkInterfaceAttributeResponse Int
Creating a Request
data DescribeNetworkInterfaceAttribute Source #
Contains the parameters for DescribeNetworkInterfaceAttribute.
See: newDescribeNetworkInterfaceAttribute
smart constructor.
DescribeNetworkInterfaceAttribute' | |
|
Instances
newDescribeNetworkInterfaceAttribute Source #
Create a value of DescribeNetworkInterfaceAttribute
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:attribute:DescribeNetworkInterfaceAttribute'
, describeNetworkInterfaceAttribute_attribute
- The attribute of the network interface. This parameter is required.
$sel:dryRun:DescribeNetworkInterfaceAttribute'
, describeNetworkInterfaceAttribute_dryRun
- 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
.
DescribeNetworkInterfaceAttribute
, describeNetworkInterfaceAttribute_networkInterfaceId
- The ID of the network interface.
Request Lenses
describeNetworkInterfaceAttribute_attribute :: Lens' DescribeNetworkInterfaceAttribute (Maybe NetworkInterfaceAttribute) Source #
The attribute of the network interface. This parameter is required.
describeNetworkInterfaceAttribute_dryRun :: 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
.
describeNetworkInterfaceAttribute_networkInterfaceId :: Lens' DescribeNetworkInterfaceAttribute Text Source #
The ID of the network interface.
Destructuring the Response
data DescribeNetworkInterfaceAttributeResponse Source #
Contains the output of DescribeNetworkInterfaceAttribute.
See: newDescribeNetworkInterfaceAttributeResponse
smart constructor.
DescribeNetworkInterfaceAttributeResponse' | |
|
Instances
newDescribeNetworkInterfaceAttributeResponse Source #
Create a value of DescribeNetworkInterfaceAttributeResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
DescribeNetworkInterfaceAttributeResponse
, describeNetworkInterfaceAttributeResponse_attachment
- The attachment (if any) of the network interface.
DescribeNetworkInterfaceAttributeResponse
, describeNetworkInterfaceAttributeResponse_description
- The description of the network interface.
DescribeNetworkInterfaceAttributeResponse
, describeNetworkInterfaceAttributeResponse_groups
- The security groups associated with the network interface.
DescribeNetworkInterfaceAttribute
, describeNetworkInterfaceAttributeResponse_networkInterfaceId
- The ID of the network interface.
DescribeNetworkInterfaceAttributeResponse
, describeNetworkInterfaceAttributeResponse_sourceDestCheck
- Indicates whether source/destination checking is enabled.
$sel:httpStatus:DescribeNetworkInterfaceAttributeResponse'
, describeNetworkInterfaceAttributeResponse_httpStatus
- The response's http status code.
Response Lenses
describeNetworkInterfaceAttributeResponse_attachment :: Lens' DescribeNetworkInterfaceAttributeResponse (Maybe NetworkInterfaceAttachment) Source #
The attachment (if any) of the network interface.
describeNetworkInterfaceAttributeResponse_description :: Lens' DescribeNetworkInterfaceAttributeResponse (Maybe AttributeValue) Source #
The description of the network interface.
describeNetworkInterfaceAttributeResponse_groups :: Lens' DescribeNetworkInterfaceAttributeResponse (Maybe [GroupIdentifier]) Source #
The security groups associated with the network interface.
describeNetworkInterfaceAttributeResponse_networkInterfaceId :: Lens' DescribeNetworkInterfaceAttributeResponse (Maybe Text) Source #
The ID of the network interface.
describeNetworkInterfaceAttributeResponse_sourceDestCheck :: Lens' DescribeNetworkInterfaceAttributeResponse (Maybe AttributeBooleanValue) Source #
Indicates whether source/destination checking is enabled.
describeNetworkInterfaceAttributeResponse_httpStatus :: Lens' DescribeNetworkInterfaceAttributeResponse Int Source #
The response's http status code.