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.

GetRelationalDatabaseLogEventsInput

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

type GetRelationalDatabaseLogEventsInput struct { EndTime *time.Time `locationName:"endTime" type:"timestamp"` LogStreamName *string `locationName:"logStreamName" type:"string" required:"true"` PageToken *string `locationName:"pageToken" type:"string"` RelationalDatabaseName *string `locationName:"relationalDatabaseName" type:"string" required:"true"` StartFromHead *bool `locationName:"startFromHead" type:"boolean"` StartTime *time.Time `locationName:"startTime" type:"timestamp"` }

EndTime

Type: *time.Time

The end of the time interval from which to get log events.

Constraints:

  • Specified in Universal Coordinated Time (UTC).

  • Specified in the Unix time format.

For example, if you wish to use an end time of October 1, 2018, at 8 PM UTC,

then you input 1538424000 as the end time.
LogStreamName

Type: *string

The name of the log stream.

Use the get relational database log streams operation to get a list of available log streams.

LogStreamName is a required field

PageToken

Type: *string

A token used for advancing to a specific page of results for your get relational database log events request.

RelationalDatabaseName

Type: *string

The name of your database for which to get log events.

RelationalDatabaseName is a required field

StartFromHead

Type: *bool

Parameter to specify if the log should start from head or tail. If true is specified, the log event starts from the head of the log. If false is specified, the log event starts from the tail of the log.

Default: false

StartTime

Type: *time.Time

The start of the time interval from which to get log events.

Constraints:

  • Specified in Universal Coordinated Time (UTC).

  • Specified in the Unix time format.

For example, if you wish to use a start time of October 1, 2018, at 8 PM

UTC, then you input 1538424000 as the start time.

Method

GoString

func (s GetRelationalDatabaseLogEventsInput) GoString() string

GoString returns the string representation

SetEndTime

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

SetEndTime sets the EndTime field's value.

SetLogStreamName

func (s *GetRelationalDatabaseLogEventsInput) SetLogStreamName(v string) *GetRelationalDatabaseLogEventsInput

SetLogStreamName sets the LogStreamName field's value.

SetPageToken

func (s *GetRelationalDatabaseLogEventsInput) SetPageToken(v string) *GetRelationalDatabaseLogEventsInput

SetPageToken sets the PageToken field's value.

SetRelationalDatabaseName

func (s *GetRelationalDatabaseLogEventsInput) SetRelationalDatabaseName(v string) *GetRelationalDatabaseLogEventsInput

SetRelationalDatabaseName sets the RelationalDatabaseName field's value.

SetStartFromHead

func (s *GetRelationalDatabaseLogEventsInput) SetStartFromHead(v bool) *GetRelationalDatabaseLogEventsInput

SetStartFromHead sets the StartFromHead field's value.

SetStartTime

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

SetStartTime sets the StartTime field's value.

String

func (s GetRelationalDatabaseLogEventsInput) String() string

String returns the string representation

Validate

func (s *GetRelationalDatabaseLogEventsInput) Validate() error

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

On this page: