Copyright | (c) 2013-2018 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
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 .
- createFpgaImage :: StorageLocation -> CreateFpgaImage
- data CreateFpgaImage
- creClientToken :: Lens' CreateFpgaImage (Maybe Text)
- creLogsStorageLocation :: Lens' CreateFpgaImage (Maybe StorageLocation)
- creName :: Lens' CreateFpgaImage (Maybe Text)
- creDescription :: Lens' CreateFpgaImage (Maybe Text)
- creDryRun :: Lens' CreateFpgaImage (Maybe Bool)
- creInputStorageLocation :: Lens' CreateFpgaImage StorageLocation
- createFpgaImageResponse :: Int -> CreateFpgaImageResponse
- data CreateFpgaImageResponse
- cfirsFpgaImageId :: Lens' CreateFpgaImageResponse (Maybe Text)
- cfirsFpgaImageGlobalId :: Lens' CreateFpgaImageResponse (Maybe Text)
- cfirsResponseStatus :: Lens' CreateFpgaImageResponse Int
Creating a Request
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 isDryRunOperation
. Otherwise, it isUnauthorizedOperation
.creInputStorageLocation
- The location of the encrypted design checkpoint in Amazon S3. The input must be a tarball.
data CreateFpgaImage Source #
See: createFpgaImage
smart constructor.
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.
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:
cfirsFpgaImageId
- The FPGA image identifier (AFI ID).cfirsFpgaImageGlobalId
- The global FPGA image identifier (AGFI ID).cfirsResponseStatus
- -- | The response status code.
data CreateFpgaImageResponse Source #
See: createFpgaImageResponse
smart constructor.
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).
cfirsResponseStatus :: Lens' CreateFpgaImageResponse Int Source #
- - | The response status code.