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.

Event

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

type Event struct { Date *time.Time `type:"timestamp"` Message *string `type:"string"` SourceIdentifier *string `type:"string"` SourceType *string `type:"string" enum:"SourceType"` }

Represents a single occurrence of something interesting within the system. Some examples of events are creating a cluster, adding or removing a cache node, or rebooting a node.

Date

Type: *time.Time

The date and time when the event occurred.

Message

Type: *string

The text of the event.

SourceIdentifier

Type: *string

The identifier for the source of the event. For example, if the event occurred at the cluster level, the identifier would be the name of the cluster.

SourceType

Type: *string

Specifies the origin of this event - a cluster, a parameter group, a security group, etc.

Method

GoString

func (s Event) GoString() string

GoString returns the string representation

SetDate

func (s *Event) SetDate(v time.Time) *Event

SetDate sets the Date field's value.

SetMessage

func (s *Event) SetMessage(v string) *Event

SetMessage sets the Message field's value.

SetSourceIdentifier

func (s *Event) SetSourceIdentifier(v string) *Event

SetSourceIdentifier sets the SourceIdentifier field's value.

SetSourceType

func (s *Event) SetSourceType(v string) *Event

SetSourceType sets the SourceType field's value.

String

func (s Event) String() string

String returns the string representation

On this page: