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.

InstanceStatus

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

type InstanceStatus struct { AvailabilityZone *string `locationName:"availabilityZone" type:"string"` Events []*InstanceStatusEvent `locationName:"eventsSet" locationNameList:"item" type:"list"` InstanceId *string `locationName:"instanceId" type:"string"` InstanceState *InstanceState `locationName:"instanceState" type:"structure"` InstanceStatus *InstanceStatusSummary `locationName:"instanceStatus" type:"structure"` SystemStatus *InstanceStatusSummary `locationName:"systemStatus" type:"structure"` }

Describes the status of an instance.

AvailabilityZone

Type: *string

The Availability Zone of the instance.

Events

Describes a scheduled event for an instance.

InstanceId

Type: *string

The ID of the instance.

InstanceState

Describes the current state of an instance.

InstanceStatus

Describes the status of an instance.

SystemStatus

Describes the status of an instance.

Method

GoString

func (s InstanceStatus) GoString() string

GoString returns the string representation

SetAvailabilityZone

func (s *InstanceStatus) SetAvailabilityZone(v string) *InstanceStatus

SetAvailabilityZone sets the AvailabilityZone field's value.

SetEvents

func (s *InstanceStatus) SetEvents(v []*InstanceStatusEvent) *InstanceStatus

SetEvents sets the Events field's value.

SetInstanceId

func (s *InstanceStatus) SetInstanceId(v string) *InstanceStatus

SetInstanceId sets the InstanceId field's value.

SetInstanceState

func (s *InstanceStatus) SetInstanceState(v *InstanceState) *InstanceStatus

SetInstanceState sets the InstanceState field's value.

SetInstanceStatus

func (s *InstanceStatus) SetInstanceStatus(v *InstanceStatusSummary) *InstanceStatus

SetInstanceStatus sets the InstanceStatus field's value.

SetSystemStatus

func (s *InstanceStatus) SetSystemStatus(v *InstanceStatusSummary) *InstanceStatus

SetSystemStatus sets the SystemStatus field's value.

String

func (s InstanceStatus) String() string

String returns the string representation

On this page: