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

Copyright(c) 2013-2018 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.ResetFpgaImageAttribute

Contents

Description

Resets the specified attribute of the specified Amazon FPGA Image (AFI) to its default value. You can only reset the load permission attribute.

Synopsis

Creating a Request

resetFpgaImageAttribute Source #

Creates a value of ResetFpgaImageAttribute with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • rfiaAttribute - The attribute.
  • rfiaDryRun - 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 .
  • rfiaFpgaImageId - The ID of the AFI.

data ResetFpgaImageAttribute Source #

See: resetFpgaImageAttribute smart constructor.

Instances

Eq ResetFpgaImageAttribute Source # 
Data ResetFpgaImageAttribute Source # 

Methods

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

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

toConstr :: ResetFpgaImageAttribute -> Constr #

dataTypeOf :: ResetFpgaImageAttribute -> DataType #

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

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

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

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

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

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

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

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

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

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

Read ResetFpgaImageAttribute Source # 
Show ResetFpgaImageAttribute Source # 
Generic ResetFpgaImageAttribute Source # 
Hashable ResetFpgaImageAttribute Source # 
NFData ResetFpgaImageAttribute Source # 

Methods

rnf :: ResetFpgaImageAttribute -> () #

AWSRequest ResetFpgaImageAttribute Source # 
ToHeaders ResetFpgaImageAttribute Source # 
ToPath ResetFpgaImageAttribute Source # 
ToQuery ResetFpgaImageAttribute Source # 
type Rep ResetFpgaImageAttribute Source # 
type Rep ResetFpgaImageAttribute = D1 * (MetaData "ResetFpgaImageAttribute" "Network.AWS.EC2.ResetFpgaImageAttribute" "amazonka-ec2-1.6.0-Kkew7Kpgof6EYi20Z0WOzs" False) (C1 * (MetaCons "ResetFpgaImageAttribute'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_rfiaAttribute") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe ResetFpgaImageAttributeName))) ((:*:) * (S1 * (MetaSel (Just Symbol "_rfiaDryRun") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Bool))) (S1 * (MetaSel (Just Symbol "_rfiaFpgaImageId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Text)))))
type Rs ResetFpgaImageAttribute Source # 

Request Lenses

rfiaDryRun :: Lens' ResetFpgaImageAttribute (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

resetFpgaImageAttributeResponse Source #

Creates a value of ResetFpgaImageAttributeResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

data ResetFpgaImageAttributeResponse Source #

See: resetFpgaImageAttributeResponse smart constructor.

Instances

Eq ResetFpgaImageAttributeResponse Source # 
Data ResetFpgaImageAttributeResponse Source # 

Methods

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

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

toConstr :: ResetFpgaImageAttributeResponse -> Constr #

dataTypeOf :: ResetFpgaImageAttributeResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read ResetFpgaImageAttributeResponse Source # 
Show ResetFpgaImageAttributeResponse Source # 
Generic ResetFpgaImageAttributeResponse Source # 
NFData ResetFpgaImageAttributeResponse Source # 
type Rep ResetFpgaImageAttributeResponse Source # 
type Rep ResetFpgaImageAttributeResponse = D1 * (MetaData "ResetFpgaImageAttributeResponse" "Network.AWS.EC2.ResetFpgaImageAttribute" "amazonka-ec2-1.6.0-Kkew7Kpgof6EYi20Z0WOzs" False) (C1 * (MetaCons "ResetFpgaImageAttributeResponse'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_rfiarsReturn") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Bool))) (S1 * (MetaSel (Just Symbol "_rfiarsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Int))))

Response Lenses

rfiarsReturn :: Lens' ResetFpgaImageAttributeResponse (Maybe Bool) Source #

Is true if the request succeeds, and an error otherwise.