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

Contents

Description

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

Synopsis

Creating a Request

copyFpgaImage Source #

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

See: copyFpgaImage smart constructor.

Instances

Eq CopyFpgaImage Source # 
Data CopyFpgaImage Source # 

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 Source # 
Show CopyFpgaImage Source # 
Generic CopyFpgaImage Source # 

Associated Types

type Rep CopyFpgaImage :: * -> * #

Hashable CopyFpgaImage Source # 
NFData CopyFpgaImage Source # 

Methods

rnf :: CopyFpgaImage -> () #

AWSRequest CopyFpgaImage Source # 
ToHeaders CopyFpgaImage Source # 
ToPath CopyFpgaImage Source # 
ToQuery CopyFpgaImage Source # 
type Rep CopyFpgaImage Source # 
type Rep CopyFpgaImage = D1 * (MetaData "CopyFpgaImage" "Network.AWS.EC2.CopyFpgaImage" "amazonka-ec2-1.6.0-Kkew7Kpgof6EYi20Z0WOzs" False) (C1 * (MetaCons "CopyFpgaImage'" PrefixI True) ((:*:) * ((:*:) * (S1 * (MetaSel (Just Symbol "_cfiClientToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) ((:*:) * (S1 * (MetaSel (Just Symbol "_cfiName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) (S1 * (MetaSel (Just Symbol "_cfiDescription") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))))) ((:*:) * (S1 * (MetaSel (Just Symbol "_cfiDryRun") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Bool))) ((:*:) * (S1 * (MetaSel (Just Symbol "_cfiSourceFpgaImageId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Text)) (S1 * (MetaSel (Just Symbol "_cfiSourceRegion") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Text))))))
type Rs CopyFpgaImage Source # 

Request Lenses

cfiClientToken :: Lens' CopyFpgaImage (Maybe Text) Source #

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) Source #

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

cfiDescription :: Lens' CopyFpgaImage (Maybe Text) Source #

The description for the new AFI.

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

cfiSourceFpgaImageId :: Lens' CopyFpgaImage Text Source #

The ID of the source AFI.

cfiSourceRegion :: Lens' CopyFpgaImage Text Source #

The region that contains the source AFI.

Destructuring the Response

copyFpgaImageResponse Source #

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

See: copyFpgaImageResponse smart constructor.

Instances

Eq CopyFpgaImageResponse Source # 
Data CopyFpgaImageResponse Source # 

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 Source # 
Show CopyFpgaImageResponse Source # 
Generic CopyFpgaImageResponse Source # 
NFData CopyFpgaImageResponse Source # 

Methods

rnf :: CopyFpgaImageResponse -> () #

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

Response Lenses

crsResponseStatus :: Lens' CopyFpgaImageResponse Int Source #

  • - | The response status code.