copy_fpga_image
async
¶
copy_fpga_image(
*,
config_overrides: Optional[AsyncEC2ClientConfig] = None,
dry_run: Optional[Boolean] = None,
source_fpga_image_id: Optional[String] = None,
description: Optional[String] = None,
name: Optional[String] = None,
source_region: Optional[String] = None,
client_token: Optional[String] = None,
) -> CopyFpgaImageResult
Copies the specified Amazon FPGA Image (AFI) to the current Region.
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. -
source_fpga_image_id(Optional[String], default:None) –The ID of the source AFI.
-
description(Optional[String], default:None) –The description for the new AFI.
-
name(Optional[String], default:None) –The name for the new AFI. The default is the name of the source AFI.
-
source_region(Optional[String], default:None) –The Region that contains the source 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.
Raises:
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_ec2/_services/async_ec2.py
6543 6544 6545 6546 6547 6548 6549 6550 6551 6552 6553 6554 6555 6556 6557 6558 6559 6560 6561 6562 6563 6564 6565 6566 6567 6568 6569 6570 6571 6572 6573 6574 6575 6576 6577 6578 6579 6580 6581 6582 6583 6584 6585 6586 6587 6588 6589 6590 6591 6592 6593 6594 6595 6596 6597 6598 6599 6600 6601 6602 6603 6604 6605 6606 | |