amazonka-ec2-1.5.0: Amazon Elastic Compute Cloud SDK.

Copyright(c) 2013-2017 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.CreateFpgaImage

Contents

Description

Creates an Amazon FPGA Image (AFI) from the specified design checkpoint (DCP).

The create operation is asynchronous. To verify that the AFI is ready for use, check the output logs.

An AFI contains the FPGA bitstream that is ready to download to an FPGA. You can securely deploy an AFI on one or more FPGA-accelerated instances. For more information, see the AWS FPGA Hardware Development Kit .

Synopsis

Creating a Request

createFpgaImage Source #

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

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

  • creClientToken - Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see Ensuring Idempotency .
  • creLogsStorageLocation - The location in Amazon S3 for the output logs.
  • creName - A name for the AFI.
  • creDescription - A description for the AFI.
  • creDryRun - 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 .
  • creInputStorageLocation - The location of the encrypted design checkpoint in Amazon S3. The input must be a tarball.

data CreateFpgaImage Source #

See: createFpgaImage smart constructor.

Instances

Eq CreateFpgaImage Source # 
Data CreateFpgaImage Source # 

Methods

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

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

toConstr :: CreateFpgaImage -> Constr #

dataTypeOf :: CreateFpgaImage -> DataType #

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

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

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

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

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

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

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

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

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

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

Read CreateFpgaImage Source # 
Show CreateFpgaImage Source # 
Generic CreateFpgaImage Source # 
Hashable CreateFpgaImage Source # 
NFData CreateFpgaImage Source # 

Methods

rnf :: CreateFpgaImage -> () #

AWSRequest CreateFpgaImage Source # 
ToQuery CreateFpgaImage Source # 
ToPath CreateFpgaImage Source # 
ToHeaders CreateFpgaImage Source # 
type Rep CreateFpgaImage Source # 
type Rep CreateFpgaImage = D1 (MetaData "CreateFpgaImage" "Network.AWS.EC2.CreateFpgaImage" "amazonka-ec2-1.5.0-8IdXK3SzsETDMW2aFpANS9" False) (C1 (MetaCons "CreateFpgaImage'" PrefixI True) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_creClientToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) ((:*:) (S1 (MetaSel (Just Symbol "_creLogsStorageLocation") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe StorageLocation))) (S1 (MetaSel (Just Symbol "_creName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))) ((:*:) (S1 (MetaSel (Just Symbol "_creDescription") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) ((:*:) (S1 (MetaSel (Just Symbol "_creDryRun") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool))) (S1 (MetaSel (Just Symbol "_creInputStorageLocation") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 StorageLocation))))))
type Rs CreateFpgaImage Source # 

Request Lenses

creClientToken :: Lens' CreateFpgaImage (Maybe Text) Source #

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

creLogsStorageLocation :: Lens' CreateFpgaImage (Maybe StorageLocation) Source #

The location in Amazon S3 for the output logs.

creName :: Lens' CreateFpgaImage (Maybe Text) Source #

A name for the AFI.

creDescription :: Lens' CreateFpgaImage (Maybe Text) Source #

A description for the AFI.

creDryRun :: Lens' CreateFpgaImage (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 .

creInputStorageLocation :: Lens' CreateFpgaImage StorageLocation Source #

The location of the encrypted design checkpoint in Amazon S3. The input must be a tarball.

Destructuring the Response

createFpgaImageResponse Source #

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

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

data CreateFpgaImageResponse Source #

See: createFpgaImageResponse smart constructor.

Instances

Eq CreateFpgaImageResponse Source # 
Data CreateFpgaImageResponse Source # 

Methods

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

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

toConstr :: CreateFpgaImageResponse -> Constr #

dataTypeOf :: CreateFpgaImageResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read CreateFpgaImageResponse Source # 
Show CreateFpgaImageResponse Source # 
Generic CreateFpgaImageResponse Source # 
NFData CreateFpgaImageResponse Source # 

Methods

rnf :: CreateFpgaImageResponse -> () #

type Rep CreateFpgaImageResponse Source # 
type Rep CreateFpgaImageResponse = D1 (MetaData "CreateFpgaImageResponse" "Network.AWS.EC2.CreateFpgaImage" "amazonka-ec2-1.5.0-8IdXK3SzsETDMW2aFpANS9" False) (C1 (MetaCons "CreateFpgaImageResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_cfirsFpgaImageId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) ((:*:) (S1 (MetaSel (Just Symbol "_cfirsFpgaImageGlobalId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_cfirsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int)))))

Response Lenses

cfirsFpgaImageId :: Lens' CreateFpgaImageResponse (Maybe Text) Source #

The FPGA image identifier (AFI ID).

cfirsFpgaImageGlobalId :: Lens' CreateFpgaImageResponse (Maybe Text) Source #

The global FPGA image identifier (AGFI ID).