| 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 |
Network.AWS.EC2.ModifyNetworkInterfaceAttribute
Description
Modifies the specified network interface attribute. You can specify only one attribute at a time.
See: AWS API Reference for ModifyNetworkInterfaceAttribute.
- modifyNetworkInterfaceAttribute :: Text -> ModifyNetworkInterfaceAttribute
- data ModifyNetworkInterfaceAttribute
- mniaGroups :: Lens' ModifyNetworkInterfaceAttribute [Text]
- mniaSourceDestCheck :: Lens' ModifyNetworkInterfaceAttribute (Maybe AttributeBooleanValue)
- mniaAttachment :: Lens' ModifyNetworkInterfaceAttribute (Maybe NetworkInterfaceAttachmentChanges)
- mniaDescription :: Lens' ModifyNetworkInterfaceAttribute (Maybe AttributeValue)
- mniaDryRun :: Lens' ModifyNetworkInterfaceAttribute (Maybe Bool)
- mniaNetworkInterfaceId :: Lens' ModifyNetworkInterfaceAttribute Text
- modifyNetworkInterfaceAttributeResponse :: ModifyNetworkInterfaceAttributeResponse
- data ModifyNetworkInterfaceAttributeResponse
Creating a Request
modifyNetworkInterfaceAttribute Source
Arguments
| :: Text | |
| -> ModifyNetworkInterfaceAttribute |
Creates a value of ModifyNetworkInterfaceAttribute with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ModifyNetworkInterfaceAttribute Source
See: modifyNetworkInterfaceAttribute smart constructor.
Instances
Request Lenses
mniaGroups :: Lens' ModifyNetworkInterfaceAttribute [Text] Source
Changes the security groups for the network interface. The new set of groups you specify replaces the current set. You must specify at least one group, even if it's just the default security group in the VPC. You must specify the ID of the security group, not the name.
mniaSourceDestCheck :: Lens' ModifyNetworkInterfaceAttribute (Maybe AttributeBooleanValue) Source
Indicates whether source/destination checking is enabled. A value of
true means checking is enabled, and false means checking is
disabled. This value must be false for a NAT instance to perform NAT.
For more information, see
NAT Instances
in the Amazon Virtual Private Cloud User Guide.
mniaAttachment :: Lens' ModifyNetworkInterfaceAttribute (Maybe NetworkInterfaceAttachmentChanges) Source
Information about the interface attachment. If modifying the 'delete on termination' attribute, you must specify the ID of the interface attachment.
mniaDescription :: Lens' ModifyNetworkInterfaceAttribute (Maybe AttributeValue) Source
A description for the network interface.
mniaDryRun :: Lens' ModifyNetworkInterfaceAttribute (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.
mniaNetworkInterfaceId :: Lens' ModifyNetworkInterfaceAttribute Text Source
The ID of the network interface.
Destructuring the Response
modifyNetworkInterfaceAttributeResponse :: ModifyNetworkInterfaceAttributeResponse Source
Creates a value of ModifyNetworkInterfaceAttributeResponse with the minimum fields required to make a request.
data ModifyNetworkInterfaceAttributeResponse Source
See: modifyNetworkInterfaceAttributeResponse smart constructor.
Instances