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: "FpgaImageId", # 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)


4060
4061
4062
4063
4064
4065
4066
4067
4068
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 4060

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)


4060
4061
4062
4063
4064
4065
4066
4067
4068
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 4060

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)


4060
4061
4062
4063
4064
4065
4066
4067
4068
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 4060

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)


4060
4061
4062
4063
4064
4065
4066
4067
4068
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 4060

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)


4060
4061
4062
4063
4064
4065
4066
4067
4068
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 4060

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)


4060
4061
4062
4063
4064
4065
4066
4067
4068
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 4060

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