Copyright | (c) 2013-2016 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.ResetNetworkInterfaceAttribute
Description
Resets a network interface attribute. You can specify only one attribute at a time.
- resetNetworkInterfaceAttribute :: Text -> ResetNetworkInterfaceAttribute
- data ResetNetworkInterfaceAttribute
- rniaSourceDestCheck :: Lens' ResetNetworkInterfaceAttribute (Maybe Text)
- rniaDryRun :: Lens' ResetNetworkInterfaceAttribute (Maybe Bool)
- rniaNetworkInterfaceId :: Lens' ResetNetworkInterfaceAttribute Text
- resetNetworkInterfaceAttributeResponse :: ResetNetworkInterfaceAttributeResponse
- data ResetNetworkInterfaceAttributeResponse
Creating a Request
resetNetworkInterfaceAttribute #
Arguments
:: Text | |
-> ResetNetworkInterfaceAttribute |
Creates a value of ResetNetworkInterfaceAttribute
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
rniaSourceDestCheck
- The source/destination checking attribute. Resets the value totrue
.rniaDryRun
- 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
.rniaNetworkInterfaceId
- The ID of the network interface.
data ResetNetworkInterfaceAttribute #
Contains the parameters for ResetNetworkInterfaceAttribute.
See: resetNetworkInterfaceAttribute
smart constructor.
Instances
Request Lenses
rniaSourceDestCheck :: Lens' ResetNetworkInterfaceAttribute (Maybe Text) #
The source/destination checking attribute. Resets the value to true
.
rniaDryRun :: Lens' ResetNetworkInterfaceAttribute (Maybe Bool) #
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
.
rniaNetworkInterfaceId :: Lens' ResetNetworkInterfaceAttribute Text #
The ID of the network interface.
Destructuring the Response
resetNetworkInterfaceAttributeResponse :: ResetNetworkInterfaceAttributeResponse #
Creates a value of ResetNetworkInterfaceAttributeResponse
with the minimum fields required to make a request.
data ResetNetworkInterfaceAttributeResponse #
See: resetNetworkInterfaceAttributeResponse
smart constructor.
Instances