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)


2328
2329
2330
2331
2332
2333
2334
2335
2336
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 2328

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)


2328
2329
2330
2331
2332
2333
2334
2335
2336
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 2328

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)


2328
2329
2330
2331
2332
2333
2334
2335
2336
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 2328

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)


2328
2329
2330
2331
2332
2333
2334
2335
2336
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 2328

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)


2328
2329
2330
2331
2332
2333
2334
2335
2336
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 2328

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)


2328
2329
2330
2331
2332
2333
2334
2335
2336
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 2328

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