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

Copyright(c) 2013-2017 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@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 Source #

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 Source #

Contains the parameters for ResetNetworkInterfaceAttribute.

See: resetNetworkInterfaceAttribute smart constructor.

Instances

Eq ResetNetworkInterfaceAttribute Source # 
Data ResetNetworkInterfaceAttribute Source # 

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 Source # 
Show ResetNetworkInterfaceAttribute Source # 
Generic ResetNetworkInterfaceAttribute Source # 
Hashable ResetNetworkInterfaceAttribute Source # 
NFData ResetNetworkInterfaceAttribute Source # 
AWSRequest ResetNetworkInterfaceAttribute Source # 
ToQuery ResetNetworkInterfaceAttribute Source # 
ToPath ResetNetworkInterfaceAttribute Source # 
ToHeaders ResetNetworkInterfaceAttribute Source # 
type Rep ResetNetworkInterfaceAttribute Source # 
type Rep ResetNetworkInterfaceAttribute = D1 (MetaData "ResetNetworkInterfaceAttribute" "Network.AWS.EC2.ResetNetworkInterfaceAttribute" "amazonka-ec2-1.5.0-8IdXK3SzsETDMW2aFpANS9" 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 Source # 

Request Lenses

rniaSourceDestCheck :: Lens' ResetNetworkInterfaceAttribute (Maybe Text) Source #

The source/destination checking attribute. Resets the value to true .

rniaDryRun :: 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 .

Destructuring the Response

data ResetNetworkInterfaceAttributeResponse Source #

Instances

Eq ResetNetworkInterfaceAttributeResponse Source # 
Data ResetNetworkInterfaceAttributeResponse Source # 

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 Source # 
Show ResetNetworkInterfaceAttributeResponse Source # 
Generic ResetNetworkInterfaceAttributeResponse Source # 
NFData ResetNetworkInterfaceAttributeResponse Source # 
type Rep ResetNetworkInterfaceAttributeResponse Source # 
type Rep ResetNetworkInterfaceAttributeResponse = D1 (MetaData "ResetNetworkInterfaceAttributeResponse" "Network.AWS.EC2.ResetNetworkInterfaceAttribute" "amazonka-ec2-1.5.0-8IdXK3SzsETDMW2aFpANS9" False) (C1 (MetaCons "ResetNetworkInterfaceAttributeResponse'" PrefixI False) U1)