Class: Aws::EC2::Types::CopyFpgaImageRequest

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-ec2/types.rb

Overview

Note:

When making an API call, you may pass CopyFpgaImageRequest data as a hash:

{
  dry_run: false,
  source_fpga_image_id: "String", # required
  description: "String",
  name: "String",
  source_region: "String", # required
  client_token: "String",
}

Instance Attribute Summary collapse

Instance Attribute Details

#client_tokenString

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

[1]: docs.aws.amazon.com/AWSEC2/latest/UserGuide/Run_Instance_Idempotency.html

Returns:

  • (String)


2806
2807
2808
2809
2810
2811
2812
2813
2814
# File 'lib/aws-sdk-ec2/types.rb', line 2806

class CopyFpgaImageRequest < Struct.new(
  :dry_run,
  :source_fpga_image_id,
  :description,
  :name,
  :source_region,
  :client_token)
  include Aws::Structure
end

#descriptionString

The description for the new AFI.

Returns:

  • (String)


2806
2807
2808
2809
2810
2811
2812
2813
2814
# File 'lib/aws-sdk-ec2/types.rb', line 2806

class CopyFpgaImageRequest < Struct.new(
  :dry_run,
  :source_fpga_image_id,
  :description,
  :name,
  :source_region,
  :client_token)
  include Aws::Structure
end

#dry_runBoolean

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`.

Returns:

  • (Boolean)


2806
2807
2808
2809
2810
2811
2812
2813
2814
# File 'lib/aws-sdk-ec2/types.rb', line 2806

class CopyFpgaImageRequest < Struct.new(
  :dry_run,
  :source_fpga_image_id,
  :description,
  :name,
  :source_region,
  :client_token)
  include Aws::Structure
end

#nameString

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

Returns:

  • (String)


2806
2807
2808
2809
2810
2811
2812
2813
2814
# File 'lib/aws-sdk-ec2/types.rb', line 2806

class CopyFpgaImageRequest < Struct.new(
  :dry_run,
  :source_fpga_image_id,
  :description,
  :name,
  :source_region,
  :client_token)
  include Aws::Structure
end

#source_fpga_image_idString

The ID of the source AFI.

Returns:

  • (String)


2806
2807
2808
2809
2810
2811
2812
2813
2814
# File 'lib/aws-sdk-ec2/types.rb', line 2806

class CopyFpgaImageRequest < Struct.new(
  :dry_run,
  :source_fpga_image_id,
  :description,
  :name,
  :source_region,
  :client_token)
  include Aws::Structure
end

#source_regionString

The region that contains the source AFI.

Returns:

  • (String)


2806
2807
2808
2809
2810
2811
2812
2813
2814
# File 'lib/aws-sdk-ec2/types.rb', line 2806

class CopyFpgaImageRequest < Struct.new(
  :dry_run,
  :source_fpga_image_id,
  :description,
  :name,
  :source_region,
  :client_token)
  include Aws::Structure
end