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 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 # 
Data ModifyFpgaImageAttribute Source # 

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 # 
Show ModifyFpgaImageAttribute Source # 
Generic ModifyFpgaImageAttribute Source # 
Hashable ModifyFpgaImageAttribute Source # 
NFData ModifyFpgaImageAttribute Source # 
AWSRequest ModifyFpgaImageAttribute Source # 
ToHeaders ModifyFpgaImageAttribute Source # 
ToPath ModifyFpgaImageAttribute Source # 
ToQuery ModifyFpgaImageAttribute Source # 
type Rep ModifyFpgaImageAttribute Source # 
type Rep ModifyFpgaImageAttribute = D1 * (MetaData "ModifyFpgaImageAttribute" "Network.AWS.EC2.ModifyFpgaImageAttribute" "amazonka-ec2-1.6.0-Kkew7Kpgof6EYi20Z0WOzs" False) (C1 * (MetaCons "ModifyFpgaImageAttribute'" PrefixI True) ((:*:) * ((:*:) * ((:*:) * (S1 * (MetaSel (Just Symbol "_mfiaAttribute") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe FpgaImageAttributeName))) (S1 * (MetaSel (Just Symbol "_mfiaUserIds") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe [Text])))) ((:*:) * (S1 * (MetaSel (Just Symbol "_mfiaUserGroups") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe [Text]))) ((:*:) * (S1 * (MetaSel (Just Symbol "_mfiaLoadPermission") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe LoadPermissionModifications))) (S1 * (MetaSel (Just Symbol "_mfiaName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text)))))) ((:*:) * ((:*:) * (S1 * (MetaSel (Just Symbol "_mfiaOperationType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe OperationType))) (S1 * (MetaSel (Just Symbol "_mfiaProductCodes") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe [Text])))) ((:*:) * (S1 * (MetaSel (Just Symbol "_mfiaDescription") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) ((:*:) * (S1 * (MetaSel (Just Symbol "_mfiaDryRun") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Bool))) (S1 * (MetaSel (Just Symbol "_mfiaFpgaImageId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Text)))))))
type Rs ModifyFpgaImageAttribute Source # 

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 # 
Data ModifyFpgaImageAttributeResponse Source # 

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 # 
Show ModifyFpgaImageAttributeResponse Source # 
Generic ModifyFpgaImageAttributeResponse Source # 
NFData ModifyFpgaImageAttributeResponse Source # 
type Rep ModifyFpgaImageAttributeResponse Source # 
type Rep ModifyFpgaImageAttributeResponse = D1 * (MetaData "ModifyFpgaImageAttributeResponse" "Network.AWS.EC2.ModifyFpgaImageAttribute" "amazonka-ec2-1.6.0-Kkew7Kpgof6EYi20Z0WOzs" False) (C1 * (MetaCons "ModifyFpgaImageAttributeResponse'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_mfiarsFpgaImageAttribute") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe FpgaImageAttribute))) (S1 * (MetaSel (Just Symbol "_mfiarsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Int))))

Response Lenses