amazonka-ec2-2.0: Amazon Elastic Compute Cloud SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.EC2.CreateFpgaImage

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 multiple FPGA-accelerated instances. For more information, see the Amazon Web Services FPGA Hardware Development Kit.

Synopsis

Creating a Request

data CreateFpgaImage Source #

See: newCreateFpgaImage smart constructor.

Constructors

CreateFpgaImage' 

Fields

Instances

Instances details
ToHeaders CreateFpgaImage Source # 
Instance details

Defined in Amazonka.EC2.CreateFpgaImage

ToPath CreateFpgaImage Source # 
Instance details

Defined in Amazonka.EC2.CreateFpgaImage

ToQuery CreateFpgaImage Source # 
Instance details

Defined in Amazonka.EC2.CreateFpgaImage

AWSRequest CreateFpgaImage Source # 
Instance details

Defined in Amazonka.EC2.CreateFpgaImage

Associated Types

type AWSResponse CreateFpgaImage #

Generic CreateFpgaImage Source # 
Instance details

Defined in Amazonka.EC2.CreateFpgaImage

Associated Types

type Rep CreateFpgaImage :: Type -> Type #

Read CreateFpgaImage Source # 
Instance details

Defined in Amazonka.EC2.CreateFpgaImage

Show CreateFpgaImage Source # 
Instance details

Defined in Amazonka.EC2.CreateFpgaImage

NFData CreateFpgaImage Source # 
Instance details

Defined in Amazonka.EC2.CreateFpgaImage

Methods

rnf :: CreateFpgaImage -> () #

Eq CreateFpgaImage Source # 
Instance details

Defined in Amazonka.EC2.CreateFpgaImage

Hashable CreateFpgaImage Source # 
Instance details

Defined in Amazonka.EC2.CreateFpgaImage

type AWSResponse CreateFpgaImage Source # 
Instance details

Defined in Amazonka.EC2.CreateFpgaImage

type Rep CreateFpgaImage Source # 
Instance details

Defined in Amazonka.EC2.CreateFpgaImage

newCreateFpgaImage Source #

Create a value of CreateFpgaImage with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

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

CreateFpgaImage, createFpgaImage_description - A description for the AFI.

$sel:dryRun:CreateFpgaImage', createFpgaImage_dryRun - 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.

$sel:logsStorageLocation:CreateFpgaImage', createFpgaImage_logsStorageLocation - The location in Amazon S3 for the output logs.

CreateFpgaImage, createFpgaImage_name - A name for the AFI.

CreateFpgaImage, createFpgaImage_tagSpecifications - The tags to apply to the FPGA image during creation.

$sel:inputStorageLocation:CreateFpgaImage', createFpgaImage_inputStorageLocation - The location of the encrypted design checkpoint in Amazon S3. The input must be a tarball.

Request Lenses

createFpgaImage_clientToken :: 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.

createFpgaImage_dryRun :: 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.

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

The location in Amazon S3 for the output logs.

createFpgaImage_tagSpecifications :: Lens' CreateFpgaImage (Maybe [TagSpecification]) Source #

The tags to apply to the FPGA image during creation.

createFpgaImage_inputStorageLocation :: Lens' CreateFpgaImage StorageLocation Source #

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

Destructuring the Response

data CreateFpgaImageResponse Source #

See: newCreateFpgaImageResponse smart constructor.

Constructors

CreateFpgaImageResponse' 

Fields

Instances

Instances details
Generic CreateFpgaImageResponse Source # 
Instance details

Defined in Amazonka.EC2.CreateFpgaImage

Associated Types

type Rep CreateFpgaImageResponse :: Type -> Type #

Read CreateFpgaImageResponse Source # 
Instance details

Defined in Amazonka.EC2.CreateFpgaImage

Show CreateFpgaImageResponse Source # 
Instance details

Defined in Amazonka.EC2.CreateFpgaImage

NFData CreateFpgaImageResponse Source # 
Instance details

Defined in Amazonka.EC2.CreateFpgaImage

Methods

rnf :: CreateFpgaImageResponse -> () #

Eq CreateFpgaImageResponse Source # 
Instance details

Defined in Amazonka.EC2.CreateFpgaImage

type Rep CreateFpgaImageResponse Source # 
Instance details

Defined in Amazonka.EC2.CreateFpgaImage

type Rep CreateFpgaImageResponse = D1 ('MetaData "CreateFpgaImageResponse" "Amazonka.EC2.CreateFpgaImage" "amazonka-ec2-2.0-48L9RAJvmvzAdBkRegqWCL" 'False) (C1 ('MetaCons "CreateFpgaImageResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fpgaImageGlobalId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "fpgaImageId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newCreateFpgaImageResponse Source #

Create a value of CreateFpgaImageResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

CreateFpgaImageResponse, createFpgaImageResponse_fpgaImageGlobalId - The global FPGA image identifier (AGFI ID).

CreateFpgaImageResponse, createFpgaImageResponse_fpgaImageId - The FPGA image identifier (AFI ID).

$sel:httpStatus:CreateFpgaImageResponse', createFpgaImageResponse_httpStatus - The response's http status code.

Response Lenses