AWS SDK for Go (PILOT)
API Reference

PREVIEW DOCUMENTATION - This is a preview of a new format for the AWS SDK for Go API Reference documentation. For the current AWS SDK for Go API Reference, see https://docs.aws.amazon.com/sdk-for-go/api/.

We welcome your feedback on this new version of the documentation. Send your comments to aws-sdkdocs-feedback@amazon.com.

CopyFpgaImageInput

import "github.com/aws/aws-sdk-go/service/ec2"

type CopyFpgaImageInput struct { ClientToken *string `type:"string"` Description *string `type:"string"` DryRun *bool `type:"boolean"` Name *string `type:"string"` SourceFpgaImageId *string `type:"string" required:"true"` SourceRegion *string `type:"string" required:"true"` }

ClientToken

Type: *string

Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see Ensuring Idempotency (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Run_Instance_Idempotency.html).

Description

Type: *string

The description for the new AFI.

DryRun

Type: *bool

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.

Name

Type: *string

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

SourceFpgaImageId

Type: *string

The ID of the source AFI.

SourceFpgaImageId is a required field

SourceRegion

Type: *string

The region that contains the source AFI.

SourceRegion is a required field

Method

GoString

func (s CopyFpgaImageInput) GoString() string

GoString returns the string representation

SetClientToken

func (s *CopyFpgaImageInput) SetClientToken(v string) *CopyFpgaImageInput

SetClientToken sets the ClientToken field's value.

SetDescription

func (s *CopyFpgaImageInput) SetDescription(v string) *CopyFpgaImageInput

SetDescription sets the Description field's value.

SetDryRun

func (s *CopyFpgaImageInput) SetDryRun(v bool) *CopyFpgaImageInput

SetDryRun sets the DryRun field's value.

SetName

func (s *CopyFpgaImageInput) SetName(v string) *CopyFpgaImageInput

SetName sets the Name field's value.

SetSourceFpgaImageId

func (s *CopyFpgaImageInput) SetSourceFpgaImageId(v string) *CopyFpgaImageInput

SetSourceFpgaImageId sets the SourceFpgaImageId field's value.

SetSourceRegion

func (s *CopyFpgaImageInput) SetSourceRegion(v string) *CopyFpgaImageInput

SetSourceRegion sets the SourceRegion field's value.

String

func (s CopyFpgaImageInput) String() string

String returns the string representation

Validate

func (s *CopyFpgaImageInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

On this page: