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 #

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 #

See: resetFpgaImageAttribute smart constructor.

Instances

Eq ResetFpgaImageAttribute # 
Data ResetFpgaImageAttribute # 

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 # 
Show ResetFpgaImageAttribute # 
Generic ResetFpgaImageAttribute # 
Hashable ResetFpgaImageAttribute # 
NFData ResetFpgaImageAttribute # 

Methods

rnf :: ResetFpgaImageAttribute -> () #

AWSRequest ResetFpgaImageAttribute # 
ToHeaders ResetFpgaImageAttribute # 
ToPath ResetFpgaImageAttribute # 
ToQuery ResetFpgaImageAttribute # 
type Rep ResetFpgaImageAttribute # 
type Rep ResetFpgaImageAttribute = D1 * (MetaData "ResetFpgaImageAttribute" "Network.AWS.EC2.ResetFpgaImageAttribute" "amazonka-ec2-1.6.0-Dm9BQRbqSOK72xbfLZMG4m" 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 # 

Request Lenses

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

resetFpgaImageAttributeResponse #

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 #

See: resetFpgaImageAttributeResponse smart constructor.

Instances

Eq ResetFpgaImageAttributeResponse # 
Data ResetFpgaImageAttributeResponse # 

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 # 
Show ResetFpgaImageAttributeResponse # 
Generic ResetFpgaImageAttributeResponse # 
NFData ResetFpgaImageAttributeResponse # 
type Rep ResetFpgaImageAttributeResponse # 
type Rep ResetFpgaImageAttributeResponse = D1 * (MetaData "ResetFpgaImageAttributeResponse" "Network.AWS.EC2.ResetFpgaImageAttribute" "amazonka-ec2-1.6.0-Dm9BQRbqSOK72xbfLZMG4m" 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) #

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