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/databasemigrationservice"

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

Duration

Type: *int64

The duration of the events to be listed.

EndTime

Type: *time.Time

The end time for the events to be listed.

EventCategories

Type: []*string

A list of event categories for a source type that you want to subscribe to.

Filters
Marker

Type: *string

An optional pagination token provided by a previous request. 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 pagination token called 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. An identifier must begin with a letter and must contain only ASCII letters, digits, and hyphens. It cannot end with a hyphen or contain two consecutive hyphens.

SourceType

Type: *string

The type of AWS DMS resource that generates events.

Valid values: replication-instance | migration-task

StartTime

Type: *time.Time

The start time for the events to be listed.

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.

SetEventCategories

func (s *DescribeEventsInput) SetEventCategories(v []*string) *DescribeEventsInput

SetEventCategories sets the EventCategories field's value.

SetFilters

func (s *DescribeEventsInput) SetFilters(v []*Filter) *DescribeEventsInput

SetFilters sets the Filters 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

Validate

func (s *DescribeEventsInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

On this page: