create_fpga_image
async
¶
create_fpga_image(
*,
config_overrides: Optional[AsyncEC2ClientConfig] = None,
dry_run: Optional[Boolean] = None,
input_storage_location: Optional[StorageLocation] = None,
logs_storage_location: Optional[StorageLocation] = None,
description: Optional[String] = None,
name: Optional[String] = None,
client_token: Optional[String] = None,
tag_specifications: Optional[TagSpecificationList] = None,
) -> CreateFpgaImageResult
Creates an Amazon FPGA Image (AFI) from the specified design checkpoint (DCP).
The create operation is asynchronous. To verify that the AFI was successfully created and 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.
Parameters:
-
dry_run(Optional[Boolean], default:None) –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 isUnauthorizedOperation. -
input_storage_location(Optional[StorageLocation], default:None) –The location of the encrypted design checkpoint in Amazon S3. The input must be a tarball.
-
logs_storage_location(Optional[StorageLocation], default:None) –The location in Amazon S3 for the output logs.
-
description(Optional[String], default:None) –A description for the AFI.
-
name(Optional[String], default:None) –A name for the AFI.
-
client_token(Optional[String], default:None) –Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see Ensuring Idempotency.
-
tag_specifications(Optional[TagSpecificationList], default:None) –The tags to apply to the FPGA image during creation.
Raises:
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_ec2/_services/async_ec2.py
8590 8591 8592 8593 8594 8595 8596 8597 8598 8599 8600 8601 8602 8603 8604 8605 8606 8607 8608 8609 8610 8611 8612 8613 8614 8615 8616 8617 8618 8619 8620 8621 8622 8623 8624 8625 8626 8627 8628 8629 8630 8631 8632 8633 8634 8635 8636 8637 8638 8639 8640 8641 8642 8643 8644 8645 8646 8647 8648 8649 8650 8651 8652 8653 8654 8655 8656 8657 8658 8659 8660 8661 8662 8663 | |