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.

HistoryRecord

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

type HistoryRecord struct { EventInformation *EventInformation `locationName:"eventInformation" type:"structure"` EventType *string `locationName:"eventType" type:"string" enum:"EventType"` Timestamp *time.Time `locationName:"timestamp" type:"timestamp"` }

Describes an event in the history of the Spot Fleet request.

EventInformation

Describes a Spot Fleet event.

EventType

Type: *string

The event type.

  • error - An error with the Spot Fleet request.

  • fleetRequestChange - A change in the status or configuration of the Spot Fleet request.

  • instanceChange - An instance was launched or terminated.

  • Information - An informational event.

Timestamp

Type: *time.Time

The date and time of the event, in UTC format (for example, YYYY-MM-DDTHH:MM:SSZ).

Method

GoString

func (s HistoryRecord) GoString() string

GoString returns the string representation

SetEventInformation

func (s *HistoryRecord) SetEventInformation(v *EventInformation) *HistoryRecord

SetEventInformation sets the EventInformation field's value.

SetEventType

func (s *HistoryRecord) SetEventType(v string) *HistoryRecord

SetEventType sets the EventType field's value.

SetTimestamp

func (s *HistoryRecord) SetTimestamp(v time.Time) *HistoryRecord

SetTimestamp sets the Timestamp field's value.

String

func (s HistoryRecord) String() string

String returns the string representation

On this page: