Skip to content

EC2  >  Operations  >  copy_fpga_image

copy_fpga_image

Operation

copy_fpga_image async

copy_fpga_image(input: CopyFpgaImageInput, plugins: list[Plugin] | None = None) -> CopyFpgaImageOutput

Copies the specified Amazon FPGA Image (AFI) to the current Region.

Parameters:

Name Type Description Default
input CopyFpgaImageInput

An instance of CopyFpgaImageInput.

required
plugins list[Plugin] | None

A list of callables that modify the configuration dynamically. Changes made by these plugins only apply for the duration of the operation execution and will not affect any other operation invocations.

None

Returns:

Type Description
CopyFpgaImageOutput

An instance of CopyFpgaImageOutput.

Input

CopyFpgaImageInput dataclass

Bases: _SerdeShape

Dataclass for CopyFpgaImageInput structure.

Attributes

client_token class-attribute instance-attribute
client_token: str | None = ...

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

description class-attribute instance-attribute
description: str | None = ...

The description for the new AFI.

dry_run class-attribute instance-attribute
dry_run: bool | 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 is UnauthorizedOperation.

name class-attribute instance-attribute
name: str | None = ...

The name for the new AFI. The default is the name of the source AFI.

source_fpga_image_id class-attribute instance-attribute
source_fpga_image_id: str | None = ...

The ID of the source AFI.

source_region class-attribute instance-attribute
source_region: str | None = ...

The Region that contains the source AFI.

Output

CopyFpgaImageOutput dataclass

Bases: _SerdeShape

Dataclass for CopyFpgaImageOutput structure.

Attributes

fpga_image_id class-attribute instance-attribute
fpga_image_id: str | None = ...

The ID of the new AFI.

response_metadata class-attribute instance-attribute
response_metadata: ResponseMetadata = ...

Metadata about the response that produced this output. Use this to recover the request identifiers a service's support team needs in order to investigate a call. Members of the metadata are individually optional.