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.ModifyFpgaImageAttribute

Contents

Description

Modifies the specified attribute of the specified Amazon FPGA Image (AFI).

Synopsis

Creating a Request

modifyFpgaImageAttribute Source #

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

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

  • mfiaAttribute - The name of the attribute.
  • mfiaUserIds - One or more AWS account IDs. This parameter is valid only when modifying the loadPermission attribute.
  • mfiaUserGroups - One or more user groups. This parameter is valid only when modifying the loadPermission attribute.
  • mfiaLoadPermission - The load permission for the AFI.
  • mfiaName - A name for the AFI.
  • mfiaOperationType - The operation type.
  • mfiaProductCodes - One or more product codes. After you add a product code to an AFI, it can't be removed. This parameter is valid only when modifying the productCodes attribute.
  • mfiaDescription - A description for the AFI.
  • mfiaDryRun - 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 .
  • mfiaFpgaImageId - The ID of the AFI.

data ModifyFpgaImageAttribute Source #

See: modifyFpgaImageAttribute smart constructor.

Instances
Eq ModifyFpgaImageAttribute Source # 
Instance details

Defined in Network.AWS.EC2.ModifyFpgaImageAttribute

Data ModifyFpgaImageAttribute Source # 
Instance details

Defined in Network.AWS.EC2.ModifyFpgaImageAttribute

Methods

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

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

toConstr :: ModifyFpgaImageAttribute -> Constr #

dataTypeOf :: ModifyFpgaImageAttribute -> DataType #

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

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

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

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

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

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

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

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

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

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

Read ModifyFpgaImageAttribute Source # 
Instance details

Defined in Network.AWS.EC2.ModifyFpgaImageAttribute

Show ModifyFpgaImageAttribute Source # 
Instance details

Defined in Network.AWS.EC2.ModifyFpgaImageAttribute

Generic ModifyFpgaImageAttribute Source # 
Instance details

Defined in Network.AWS.EC2.ModifyFpgaImageAttribute

Associated Types

type Rep ModifyFpgaImageAttribute :: Type -> Type #

Hashable ModifyFpgaImageAttribute Source # 
Instance details

Defined in Network.AWS.EC2.ModifyFpgaImageAttribute

AWSRequest ModifyFpgaImageAttribute Source # 
Instance details

Defined in Network.AWS.EC2.ModifyFpgaImageAttribute

Associated Types

type Rs ModifyFpgaImageAttribute :: Type #

ToHeaders ModifyFpgaImageAttribute Source # 
Instance details

Defined in Network.AWS.EC2.ModifyFpgaImageAttribute

ToPath ModifyFpgaImageAttribute Source # 
Instance details

Defined in Network.AWS.EC2.ModifyFpgaImageAttribute

ToQuery ModifyFpgaImageAttribute Source # 
Instance details

Defined in Network.AWS.EC2.ModifyFpgaImageAttribute

NFData ModifyFpgaImageAttribute Source # 
Instance details

Defined in Network.AWS.EC2.ModifyFpgaImageAttribute

type Rep ModifyFpgaImageAttribute Source # 
Instance details

Defined in Network.AWS.EC2.ModifyFpgaImageAttribute

type Rs ModifyFpgaImageAttribute Source # 
Instance details

Defined in Network.AWS.EC2.ModifyFpgaImageAttribute

Request Lenses

mfiaUserIds :: Lens' ModifyFpgaImageAttribute [Text] Source #

One or more AWS account IDs. This parameter is valid only when modifying the loadPermission attribute.

mfiaUserGroups :: Lens' ModifyFpgaImageAttribute [Text] Source #

One or more user groups. This parameter is valid only when modifying the loadPermission attribute.

mfiaProductCodes :: Lens' ModifyFpgaImageAttribute [Text] Source #

One or more product codes. After you add a product code to an AFI, it can't be removed. This parameter is valid only when modifying the productCodes attribute.

mfiaDryRun :: Lens' ModifyFpgaImageAttribute (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

modifyFpgaImageAttributeResponse Source #

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

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

data ModifyFpgaImageAttributeResponse Source #

See: modifyFpgaImageAttributeResponse smart constructor.

Instances
Eq ModifyFpgaImageAttributeResponse Source # 
Instance details

Defined in Network.AWS.EC2.ModifyFpgaImageAttribute

Data ModifyFpgaImageAttributeResponse Source # 
Instance details

Defined in Network.AWS.EC2.ModifyFpgaImageAttribute

Methods

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

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

toConstr :: ModifyFpgaImageAttributeResponse -> Constr #

dataTypeOf :: ModifyFpgaImageAttributeResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read ModifyFpgaImageAttributeResponse Source # 
Instance details

Defined in Network.AWS.EC2.ModifyFpgaImageAttribute

Show ModifyFpgaImageAttributeResponse Source # 
Instance details

Defined in Network.AWS.EC2.ModifyFpgaImageAttribute

Generic ModifyFpgaImageAttributeResponse Source # 
Instance details

Defined in Network.AWS.EC2.ModifyFpgaImageAttribute

Associated Types

type Rep ModifyFpgaImageAttributeResponse :: Type -> Type #

NFData ModifyFpgaImageAttributeResponse Source # 
Instance details

Defined in Network.AWS.EC2.ModifyFpgaImageAttribute

type Rep ModifyFpgaImageAttributeResponse Source # 
Instance details

Defined in Network.AWS.EC2.ModifyFpgaImageAttribute

type Rep ModifyFpgaImageAttributeResponse = D1 (MetaData "ModifyFpgaImageAttributeResponse" "Network.AWS.EC2.ModifyFpgaImageAttribute" "amazonka-ec2-1.6.1-GgG1M0FWcBrE5I5IM2QktE" False) (C1 (MetaCons "ModifyFpgaImageAttributeResponse'" PrefixI True) (S1 (MetaSel (Just "_mfiarsFpgaImageAttribute") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe FpgaImageAttribute)) :*: S1 (MetaSel (Just "_mfiarsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int)))

Response Lenses