You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-ec2/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.

Returns:

  • (String)


3564
3565
3566
3567
3568
3569
3570
3571
3572
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 3564

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)


3564
3565
3566
3567
3568
3569
3570
3571
3572
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 3564

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)


3564
3565
3566
3567
3568
3569
3570
3571
3572
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 3564

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)


3564
3565
3566
3567
3568
3569
3570
3571
3572
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 3564

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)


3564
3565
3566
3567
3568
3569
3570
3571
3572
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 3564

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)


3564
3565
3566
3567
3568
3569
3570
3571
3572
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 3564

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