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 |
Resets a network interface attribute. You can specify only one attribute at a time.
Synopsis
- data ResetNetworkInterfaceAttribute = ResetNetworkInterfaceAttribute' {}
- newResetNetworkInterfaceAttribute :: Text -> ResetNetworkInterfaceAttribute
- resetNetworkInterfaceAttribute_dryRun :: Lens' ResetNetworkInterfaceAttribute (Maybe Bool)
- resetNetworkInterfaceAttribute_sourceDestCheck :: Lens' ResetNetworkInterfaceAttribute (Maybe Text)
- resetNetworkInterfaceAttribute_networkInterfaceId :: Lens' ResetNetworkInterfaceAttribute Text
- data ResetNetworkInterfaceAttributeResponse = ResetNetworkInterfaceAttributeResponse' {
- newResetNetworkInterfaceAttributeResponse :: ResetNetworkInterfaceAttributeResponse
Creating a Request
data ResetNetworkInterfaceAttribute Source #
Contains the parameters for ResetNetworkInterfaceAttribute.
See: newResetNetworkInterfaceAttribute
smart constructor.
ResetNetworkInterfaceAttribute' | |
|
Instances
newResetNetworkInterfaceAttribute Source #
Create a value of ResetNetworkInterfaceAttribute
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:dryRun:ResetNetworkInterfaceAttribute'
, resetNetworkInterfaceAttribute_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
.
ResetNetworkInterfaceAttribute
, resetNetworkInterfaceAttribute_sourceDestCheck
- The source/destination checking attribute. Resets the value to true
.
ResetNetworkInterfaceAttribute
, resetNetworkInterfaceAttribute_networkInterfaceId
- The ID of the network interface.
Request Lenses
resetNetworkInterfaceAttribute_dryRun :: Lens' ResetNetworkInterfaceAttribute (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
.
resetNetworkInterfaceAttribute_sourceDestCheck :: Lens' ResetNetworkInterfaceAttribute (Maybe Text) Source #
The source/destination checking attribute. Resets the value to true
.
resetNetworkInterfaceAttribute_networkInterfaceId :: Lens' ResetNetworkInterfaceAttribute Text Source #
The ID of the network interface.
Destructuring the Response
data ResetNetworkInterfaceAttributeResponse Source #
See: newResetNetworkInterfaceAttributeResponse
smart constructor.
Instances
newResetNetworkInterfaceAttributeResponse :: ResetNetworkInterfaceAttributeResponse Source #
Create a value of ResetNetworkInterfaceAttributeResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.