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.

AllocateHostsOutput

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

type AllocateHostsOutput struct { HostIds []*string `locationName:"hostIdSet" locationNameList:"item" type:"list"` }

Contains the output of AllocateHosts.

HostIds

Type: []*string

The ID of the allocated Dedicated Host. This is used to launch an instance onto a specific host.

Method

GoString

func (s AllocateHostsOutput) GoString() string

GoString returns the string representation

SetHostIds

func (s *AllocateHostsOutput) SetHostIds(v []*string) *AllocateHostsOutput

SetHostIds sets the HostIds field's value.

String

func (s AllocateHostsOutput) String() string

String returns the string representation

On this page: