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

Contents

Description

Copies the specified Amazon FPGA Image (AFI) to the current region.

Synopsis

Creating a Request

copyFpgaImage #

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

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

  • cfiClientToken - Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see Ensuring Idempotency .
  • cfiName - The name for the new AFI. The default is the name of the source AFI.
  • cfiDescription - The description for the new AFI.
  • cfiDryRun - 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 .
  • cfiSourceFpgaImageId - The ID of the source AFI.
  • cfiSourceRegion - The region that contains the source AFI.

data CopyFpgaImage #

See: copyFpgaImage smart constructor.

Instances
Eq CopyFpgaImage # 
Instance details

Defined in Network.AWS.EC2.CopyFpgaImage

Data CopyFpgaImage # 
Instance details

Defined in Network.AWS.EC2.CopyFpgaImage

Methods

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

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

toConstr :: CopyFpgaImage -> Constr #

dataTypeOf :: CopyFpgaImage -> DataType #

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

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

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

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

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

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

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

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

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

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

Read CopyFpgaImage # 
Instance details

Defined in Network.AWS.EC2.CopyFpgaImage

Show CopyFpgaImage # 
Instance details

Defined in Network.AWS.EC2.CopyFpgaImage

Generic CopyFpgaImage # 
Instance details

Defined in Network.AWS.EC2.CopyFpgaImage

Associated Types

type Rep CopyFpgaImage :: Type -> Type #

Hashable CopyFpgaImage # 
Instance details

Defined in Network.AWS.EC2.CopyFpgaImage

AWSRequest CopyFpgaImage # 
Instance details

Defined in Network.AWS.EC2.CopyFpgaImage

Associated Types

type Rs CopyFpgaImage :: Type #

ToHeaders CopyFpgaImage # 
Instance details

Defined in Network.AWS.EC2.CopyFpgaImage

ToPath CopyFpgaImage # 
Instance details

Defined in Network.AWS.EC2.CopyFpgaImage

ToQuery CopyFpgaImage # 
Instance details

Defined in Network.AWS.EC2.CopyFpgaImage

NFData CopyFpgaImage # 
Instance details

Defined in Network.AWS.EC2.CopyFpgaImage

Methods

rnf :: CopyFpgaImage -> () #

type Rep CopyFpgaImage # 
Instance details

Defined in Network.AWS.EC2.CopyFpgaImage

type Rep CopyFpgaImage = D1 (MetaData "CopyFpgaImage" "Network.AWS.EC2.CopyFpgaImage" "amazonka-ec2-1.6.1-H98Zd65xIYr2z4e5UhW9ck" False) (C1 (MetaCons "CopyFpgaImage'" PrefixI True) ((S1 (MetaSel (Just "_cfiClientToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_cfiName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_cfiDescription") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 (MetaSel (Just "_cfiDryRun") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool)) :*: (S1 (MetaSel (Just "_cfiSourceFpgaImageId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_cfiSourceRegion") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))))
type Rs CopyFpgaImage # 
Instance details

Defined in Network.AWS.EC2.CopyFpgaImage

Request Lenses

cfiClientToken :: Lens' CopyFpgaImage (Maybe Text) #

Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see Ensuring Idempotency .

cfiName :: Lens' CopyFpgaImage (Maybe Text) #

The name for the new AFI. The default is the name of the source AFI.

cfiDescription :: Lens' CopyFpgaImage (Maybe Text) #

The description for the new AFI.

cfiDryRun :: Lens' CopyFpgaImage (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 .

cfiSourceFpgaImageId :: Lens' CopyFpgaImage Text #

The ID of the source AFI.

cfiSourceRegion :: Lens' CopyFpgaImage Text #

The region that contains the source AFI.

Destructuring the Response

copyFpgaImageResponse #

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

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

data CopyFpgaImageResponse #

See: copyFpgaImageResponse smart constructor.

Instances
Eq CopyFpgaImageResponse # 
Instance details

Defined in Network.AWS.EC2.CopyFpgaImage

Data CopyFpgaImageResponse # 
Instance details

Defined in Network.AWS.EC2.CopyFpgaImage

Methods

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

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

toConstr :: CopyFpgaImageResponse -> Constr #

dataTypeOf :: CopyFpgaImageResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read CopyFpgaImageResponse # 
Instance details

Defined in Network.AWS.EC2.CopyFpgaImage

Show CopyFpgaImageResponse # 
Instance details

Defined in Network.AWS.EC2.CopyFpgaImage

Generic CopyFpgaImageResponse # 
Instance details

Defined in Network.AWS.EC2.CopyFpgaImage

Associated Types

type Rep CopyFpgaImageResponse :: Type -> Type #

NFData CopyFpgaImageResponse # 
Instance details

Defined in Network.AWS.EC2.CopyFpgaImage

Methods

rnf :: CopyFpgaImageResponse -> () #

type Rep CopyFpgaImageResponse # 
Instance details

Defined in Network.AWS.EC2.CopyFpgaImage

type Rep CopyFpgaImageResponse = D1 (MetaData "CopyFpgaImageResponse" "Network.AWS.EC2.CopyFpgaImage" "amazonka-ec2-1.6.1-H98Zd65xIYr2z4e5UhW9ck" False) (C1 (MetaCons "CopyFpgaImageResponse'" PrefixI True) (S1 (MetaSel (Just "_crsFpgaImageId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_crsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int)))

Response Lenses

crsResponseStatus :: Lens' CopyFpgaImageResponse Int #

  • - | The response status code.