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.

DescribeEventsInput

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

type DescribeEventsInput struct { Duration *int64 `type:"integer"` EndTime *time.Time `type:"timestamp"` Marker *string `type:"string"` MaxRecords *int64 `type:"integer"` SourceIdentifier *string `type:"string"` SourceType *string `type:"string" enum:"SourceType"` StartTime *time.Time `type:"timestamp"` }

Represents the input of a DescribeEvents operation.

Duration

Type: *int64

The number of minutes worth of events to retrieve.

EndTime

Type: *time.Time

The end of the time interval for which to retrieve events, specified in ISO 8601 format.

Example: 2017-03-30T07:03:49.555Z

Marker

Type: *string

An optional marker returned from a prior request. Use this marker for pagination of results from this operation. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords.

MaxRecords

Type: *int64

The maximum number of records to include in the response. If more records exist than the specified MaxRecords value, a marker is included in the response so that the remaining results can be retrieved.

Default: 100

Constraints: minimum 20; maximum 100.

SourceIdentifier

Type: *string

The identifier of the event source for which events are returned. If not specified, all sources are included in the response.

SourceType

Type: *string

The event source to retrieve events for. If no value is specified, all events are returned.

StartTime

Type: *time.Time

The beginning of the time interval to retrieve events for, specified in ISO 8601 format.

Example: 2017-03-30T07:03:49.555Z

Method

GoString

func (s DescribeEventsInput) GoString() string

GoString returns the string representation

SetDuration

func (s *DescribeEventsInput) SetDuration(v int64) *DescribeEventsInput

SetDuration sets the Duration field's value.

SetEndTime

func (s *DescribeEventsInput) SetEndTime(v time.Time) *DescribeEventsInput

SetEndTime sets the EndTime field's value.

SetMarker

func (s *DescribeEventsInput) SetMarker(v string) *DescribeEventsInput

SetMarker sets the Marker field's value.

SetMaxRecords

func (s *DescribeEventsInput) SetMaxRecords(v int64) *DescribeEventsInput

SetMaxRecords sets the MaxRecords field's value.

SetSourceIdentifier

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

SetSourceIdentifier sets the SourceIdentifier field's value.

SetSourceType

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

SetSourceType sets the SourceType field's value.

SetStartTime

func (s *DescribeEventsInput) SetStartTime(v time.Time) *DescribeEventsInput

SetStartTime sets the StartTime field's value.

String

func (s DescribeEventsInput) String() string

String returns the string representation

On this page: