amazonka-ec2-1.4.5: Amazon Elastic Compute Cloud SDK.

Copyright(c) 2013-2016 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.AWS.EC2.ResetNetworkInterfaceAttribute

Contents

Description

Resets a network interface attribute. You can specify only one attribute at a time.

Synopsis

Creating a Request

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 to true .
  • 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 is DryRunOperation . Otherwise, it is UnauthorizedOperation .
  • rniaNetworkInterfaceId - The ID of the network interface.

data ResetNetworkInterfaceAttribute #

Contains the parameters for ResetNetworkInterfaceAttribute.

See: resetNetworkInterfaceAttribute smart constructor.

Instances

Eq ResetNetworkInterfaceAttribute # 
Data ResetNetworkInterfaceAttribute # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> ResetNetworkInterfaceAttribute -> c ResetNetworkInterfaceAttribute #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ResetNetworkInterfaceAttribute #

toConstr :: ResetNetworkInterfaceAttribute -> Constr #

dataTypeOf :: ResetNetworkInterfaceAttribute -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c ResetNetworkInterfaceAttribute) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ResetNetworkInterfaceAttribute) #

gmapT :: (forall b. Data b => b -> b) -> ResetNetworkInterfaceAttribute -> ResetNetworkInterfaceAttribute #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ResetNetworkInterfaceAttribute -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ResetNetworkInterfaceAttribute -> r #

gmapQ :: (forall d. Data d => d -> u) -> ResetNetworkInterfaceAttribute -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> ResetNetworkInterfaceAttribute -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> ResetNetworkInterfaceAttribute -> m ResetNetworkInterfaceAttribute #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ResetNetworkInterfaceAttribute -> m ResetNetworkInterfaceAttribute #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ResetNetworkInterfaceAttribute -> m ResetNetworkInterfaceAttribute #

Read ResetNetworkInterfaceAttribute # 
Show ResetNetworkInterfaceAttribute # 
Generic ResetNetworkInterfaceAttribute # 
Hashable ResetNetworkInterfaceAttribute # 
NFData ResetNetworkInterfaceAttribute # 
AWSRequest ResetNetworkInterfaceAttribute # 
ToQuery ResetNetworkInterfaceAttribute # 
ToPath ResetNetworkInterfaceAttribute # 
ToHeaders ResetNetworkInterfaceAttribute # 
type Rep ResetNetworkInterfaceAttribute # 
type Rep ResetNetworkInterfaceAttribute = D1 (MetaData "ResetNetworkInterfaceAttribute" "Network.AWS.EC2.ResetNetworkInterfaceAttribute" "amazonka-ec2-1.4.5-C4CR35JggG2GhWFrIiKGhu" False) (C1 (MetaCons "ResetNetworkInterfaceAttribute'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_rniaSourceDestCheck") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) ((:*:) (S1 (MetaSel (Just Symbol "_rniaDryRun") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool))) (S1 (MetaSel (Just Symbol "_rniaNetworkInterfaceId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))))
type Rs ResetNetworkInterfaceAttribute # 

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 .

Destructuring the Response

data ResetNetworkInterfaceAttributeResponse #

Instances

Eq ResetNetworkInterfaceAttributeResponse # 
Data ResetNetworkInterfaceAttributeResponse # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> ResetNetworkInterfaceAttributeResponse -> c ResetNetworkInterfaceAttributeResponse #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ResetNetworkInterfaceAttributeResponse #

toConstr :: ResetNetworkInterfaceAttributeResponse -> Constr #

dataTypeOf :: ResetNetworkInterfaceAttributeResponse -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c ResetNetworkInterfaceAttributeResponse) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ResetNetworkInterfaceAttributeResponse) #

gmapT :: (forall b. Data b => b -> b) -> ResetNetworkInterfaceAttributeResponse -> ResetNetworkInterfaceAttributeResponse #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ResetNetworkInterfaceAttributeResponse -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ResetNetworkInterfaceAttributeResponse -> r #

gmapQ :: (forall d. Data d => d -> u) -> ResetNetworkInterfaceAttributeResponse -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> ResetNetworkInterfaceAttributeResponse -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> ResetNetworkInterfaceAttributeResponse -> m ResetNetworkInterfaceAttributeResponse #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ResetNetworkInterfaceAttributeResponse -> m ResetNetworkInterfaceAttributeResponse #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ResetNetworkInterfaceAttributeResponse -> m ResetNetworkInterfaceAttributeResponse #

Read ResetNetworkInterfaceAttributeResponse # 
Show ResetNetworkInterfaceAttributeResponse # 
Generic ResetNetworkInterfaceAttributeResponse # 
NFData ResetNetworkInterfaceAttributeResponse # 
type Rep ResetNetworkInterfaceAttributeResponse # 
type Rep ResetNetworkInterfaceAttributeResponse = D1 (MetaData "ResetNetworkInterfaceAttributeResponse" "Network.AWS.EC2.ResetNetworkInterfaceAttribute" "amazonka-ec2-1.4.5-C4CR35JggG2GhWFrIiKGhu" False) (C1 (MetaCons "ResetNetworkInterfaceAttributeResponse'" PrefixI False) U1)