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 #

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

Associated Types

type Rep CopyFpgaImage :: * -> * #

Hashable CopyFpgaImage # 
NFData CopyFpgaImage # 

Methods

rnf :: CopyFpgaImage -> () #

AWSRequest CopyFpgaImage # 
ToHeaders CopyFpgaImage # 
ToPath CopyFpgaImage # 
ToQuery CopyFpgaImage # 
type Rep CopyFpgaImage # 
type Rep CopyFpgaImage = D1 * (MetaData "CopyFpgaImage" "Network.AWS.EC2.CopyFpgaImage" "amazonka-ec2-1.6.0-Dm9BQRbqSOK72xbfLZMG4m" 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 # 

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 # 
Data CopyFpgaImageResponse # 

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

Methods

rnf :: CopyFpgaImageResponse -> () #

type Rep CopyFpgaImageResponse # 
type Rep CopyFpgaImageResponse = D1 * (MetaData "CopyFpgaImageResponse" "Network.AWS.EC2.CopyFpgaImage" "amazonka-ec2-1.6.0-Dm9BQRbqSOK72xbfLZMG4m" 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 #

  • - | The response status code.