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.

CreateFpgaImageInput

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

type CreateFpgaImageInput struct { ClientToken *string `type:"string"` Description *string `type:"string"` DryRun *bool `type:"boolean"` InputStorageLocation *StorageLocation `type:"structure" required:"true"` LogsStorageLocation *StorageLocation `type:"structure"` Name *string `type:"string"` }

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

A description for the 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.

InputStorageLocation

Describes a storage location in Amazon S3.

LogsStorageLocation

Describes a storage location in Amazon S3.

Name

Type: *string

A name for the AFI.

Method

GoString

func (s CreateFpgaImageInput) GoString() string

GoString returns the string representation

SetClientToken

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

SetClientToken sets the ClientToken field's value.

SetDescription

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

SetDescription sets the Description field's value.

SetDryRun

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

SetDryRun sets the DryRun field's value.

SetInputStorageLocation

func (s *CreateFpgaImageInput) SetInputStorageLocation(v *StorageLocation) *CreateFpgaImageInput

SetInputStorageLocation sets the InputStorageLocation field's value.

SetLogsStorageLocation

func (s *CreateFpgaImageInput) SetLogsStorageLocation(v *StorageLocation) *CreateFpgaImageInput

SetLogsStorageLocation sets the LogsStorageLocation field's value.

SetName

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

SetName sets the Name field's value.

String

func (s CreateFpgaImageInput) String() string

String returns the string representation

Validate

func (s *CreateFpgaImageInput) Validate() error

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

On this page: