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

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 #

See: createFpgaImage smart constructor.

Instances

Eq CreateFpgaImage # 
Data CreateFpgaImage # 

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

Methods

rnf :: CreateFpgaImage -> () #

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

Request Lenses

creClientToken :: Lens' CreateFpgaImage (Maybe Text) #

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

The location in Amazon S3 for the output logs.

creName :: Lens' CreateFpgaImage (Maybe Text) #

A name for the AFI.

creDescription :: Lens' CreateFpgaImage (Maybe Text) #

A description for the AFI.

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

creInputStorageLocation :: Lens' CreateFpgaImage StorageLocation #

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

Destructuring the Response

createFpgaImageResponse #

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 #

See: createFpgaImageResponse smart constructor.

Instances

Eq CreateFpgaImageResponse # 
Data CreateFpgaImageResponse # 

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

Methods

rnf :: CreateFpgaImageResponse -> () #

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

The FPGA image identifier (AFI ID).

cfirsFpgaImageGlobalId :: Lens' CreateFpgaImageResponse (Maybe Text) #

The global FPGA image identifier (AGFI ID).

cfirsResponseStatus :: Lens' CreateFpgaImageResponse Int #

  • - | The response status code.