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

Contents

Description

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

Synopsis

Creating a Request

modifyFpgaImageAttribute #

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 #

See: modifyFpgaImageAttribute smart constructor.

Instances
Eq ModifyFpgaImageAttribute # 
Instance details

Defined in Network.AWS.EC2.ModifyFpgaImageAttribute

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

Defined in Network.AWS.EC2.ModifyFpgaImageAttribute

Show ModifyFpgaImageAttribute # 
Instance details

Defined in Network.AWS.EC2.ModifyFpgaImageAttribute

Generic ModifyFpgaImageAttribute # 
Instance details

Defined in Network.AWS.EC2.ModifyFpgaImageAttribute

Associated Types

type Rep ModifyFpgaImageAttribute :: * -> * #

Hashable ModifyFpgaImageAttribute # 
Instance details

Defined in Network.AWS.EC2.ModifyFpgaImageAttribute

AWSRequest ModifyFpgaImageAttribute # 
Instance details

Defined in Network.AWS.EC2.ModifyFpgaImageAttribute

Associated Types

type Rs ModifyFpgaImageAttribute :: * #

ToHeaders ModifyFpgaImageAttribute # 
Instance details

Defined in Network.AWS.EC2.ModifyFpgaImageAttribute

ToPath ModifyFpgaImageAttribute # 
Instance details

Defined in Network.AWS.EC2.ModifyFpgaImageAttribute

ToQuery ModifyFpgaImageAttribute # 
Instance details

Defined in Network.AWS.EC2.ModifyFpgaImageAttribute

NFData ModifyFpgaImageAttribute # 
Instance details

Defined in Network.AWS.EC2.ModifyFpgaImageAttribute

type Rep ModifyFpgaImageAttribute # 
Instance details

Defined in Network.AWS.EC2.ModifyFpgaImageAttribute

type Rs ModifyFpgaImageAttribute # 
Instance details

Defined in Network.AWS.EC2.ModifyFpgaImageAttribute

Request Lenses

mfiaUserIds :: Lens' ModifyFpgaImageAttribute [Text] #

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

mfiaUserGroups :: Lens' ModifyFpgaImageAttribute [Text] #

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

mfiaProductCodes :: Lens' ModifyFpgaImageAttribute [Text] #

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 :: Lens' ModifyFpgaImageAttribute (Maybe Text) #

A description for the AFI.

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

modifyFpgaImageAttributeResponse #

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 #

See: modifyFpgaImageAttributeResponse smart constructor.

Instances
Eq ModifyFpgaImageAttributeResponse # 
Instance details

Defined in Network.AWS.EC2.ModifyFpgaImageAttribute

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

Defined in Network.AWS.EC2.ModifyFpgaImageAttribute

Show ModifyFpgaImageAttributeResponse # 
Instance details

Defined in Network.AWS.EC2.ModifyFpgaImageAttribute

Generic ModifyFpgaImageAttributeResponse # 
Instance details

Defined in Network.AWS.EC2.ModifyFpgaImageAttribute

Associated Types

type Rep ModifyFpgaImageAttributeResponse :: * -> * #

NFData ModifyFpgaImageAttributeResponse # 
Instance details

Defined in Network.AWS.EC2.ModifyFpgaImageAttribute

type Rep ModifyFpgaImageAttributeResponse # 
Instance details

Defined in Network.AWS.EC2.ModifyFpgaImageAttribute

type Rep ModifyFpgaImageAttributeResponse = D1 (MetaData "ModifyFpgaImageAttributeResponse" "Network.AWS.EC2.ModifyFpgaImageAttribute" "amazonka-ec2-1.6.0-G6ppxISnQxeI7PhDx9p8Zy" 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