amazonka-ec2-1.6.1: 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 # 
Instance details

Defined in Network.AWS.EC2.ResetFpgaImageAttribute

Data ResetFpgaImageAttribute Source # 
Instance details

Defined in Network.AWS.EC2.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 Source # 
Instance details

Defined in Network.AWS.EC2.ResetFpgaImageAttribute

Show ResetFpgaImageAttribute Source # 
Instance details

Defined in Network.AWS.EC2.ResetFpgaImageAttribute

Generic ResetFpgaImageAttribute Source # 
Instance details

Defined in Network.AWS.EC2.ResetFpgaImageAttribute

Associated Types

type Rep ResetFpgaImageAttribute :: Type -> Type #

Hashable ResetFpgaImageAttribute Source # 
Instance details

Defined in Network.AWS.EC2.ResetFpgaImageAttribute

AWSRequest ResetFpgaImageAttribute Source # 
Instance details

Defined in Network.AWS.EC2.ResetFpgaImageAttribute

Associated Types

type Rs ResetFpgaImageAttribute :: Type #

ToHeaders ResetFpgaImageAttribute Source # 
Instance details

Defined in Network.AWS.EC2.ResetFpgaImageAttribute

ToPath ResetFpgaImageAttribute Source # 
Instance details

Defined in Network.AWS.EC2.ResetFpgaImageAttribute

ToQuery ResetFpgaImageAttribute Source # 
Instance details

Defined in Network.AWS.EC2.ResetFpgaImageAttribute

NFData ResetFpgaImageAttribute Source # 
Instance details

Defined in Network.AWS.EC2.ResetFpgaImageAttribute

Methods

rnf :: ResetFpgaImageAttribute -> () #

type Rep ResetFpgaImageAttribute Source # 
Instance details

Defined in Network.AWS.EC2.ResetFpgaImageAttribute

type Rep ResetFpgaImageAttribute = D1 (MetaData "ResetFpgaImageAttribute" "Network.AWS.EC2.ResetFpgaImageAttribute" "amazonka-ec2-1.6.1-GgG1M0FWcBrE5I5IM2QktE" False) (C1 (MetaCons "ResetFpgaImageAttribute'" PrefixI True) (S1 (MetaSel (Just "_rfiaAttribute") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe ResetFpgaImageAttributeName)) :*: (S1 (MetaSel (Just "_rfiaDryRun") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 (MetaSel (Just "_rfiaFpgaImageId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))
type Rs ResetFpgaImageAttribute Source # 
Instance details

Defined in Network.AWS.EC2.ResetFpgaImageAttribute

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 # 
Instance details

Defined in Network.AWS.EC2.ResetFpgaImageAttribute

Data ResetFpgaImageAttributeResponse Source # 
Instance details

Defined in Network.AWS.EC2.ResetFpgaImageAttribute

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 # 
Instance details

Defined in Network.AWS.EC2.ResetFpgaImageAttribute

Show ResetFpgaImageAttributeResponse Source # 
Instance details

Defined in Network.AWS.EC2.ResetFpgaImageAttribute

Generic ResetFpgaImageAttributeResponse Source # 
Instance details

Defined in Network.AWS.EC2.ResetFpgaImageAttribute

Associated Types

type Rep ResetFpgaImageAttributeResponse :: Type -> Type #

NFData ResetFpgaImageAttributeResponse Source # 
Instance details

Defined in Network.AWS.EC2.ResetFpgaImageAttribute

type Rep ResetFpgaImageAttributeResponse Source # 
Instance details

Defined in Network.AWS.EC2.ResetFpgaImageAttribute

type Rep ResetFpgaImageAttributeResponse = D1 (MetaData "ResetFpgaImageAttributeResponse" "Network.AWS.EC2.ResetFpgaImageAttribute" "amazonka-ec2-1.6.1-GgG1M0FWcBrE5I5IM2QktE" False) (C1 (MetaCons "ResetFpgaImageAttributeResponse'" PrefixI True) (S1 (MetaSel (Just "_rfiarsReturn") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 (MetaSel (Just "_rfiarsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int)))

Response Lenses

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

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