EC2 / Client / copy_fpga_image

copy_fpga_image#

EC2.Client.copy_fpga_image(**kwargs)#

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

See also: AWS API Documentation

Request Syntax

response = client.copy_fpga_image(
    DryRun=True|False,
    SourceFpgaImageId='string',
    Description='string',
    Name='string',
    SourceRegion='string',
    ClientToken='string'
)
Parameters:
  • DryRun (boolean) – 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.

  • SourceFpgaImageId (string) –

    [REQUIRED]

    The ID of the source AFI.

  • Description (string) – The description for the new AFI.

  • Name (string) – The name for the new AFI. The default is the name of the source AFI.

  • SourceRegion (string) –

    [REQUIRED]

    The Region that contains the source AFI.

  • ClientToken (string) – Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see Ensuring idempotency.

Return type:

dict

Returns:

Response Syntax

{
    'FpgaImageId': 'string'
}

Response Structure

  • (dict) –

    • FpgaImageId (string) –

      The ID of the new AFI.