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.

GetRelationalDatabaseEventsInput

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

type GetRelationalDatabaseEventsInput struct { DurationInMinutes *int64 `locationName:"durationInMinutes" type:"integer"` PageToken *string `locationName:"pageToken" type:"string"` RelationalDatabaseName *string `locationName:"relationalDatabaseName" type:"string" required:"true"` }

DurationInMinutes

Type: *int64

The number of minutes in the past from which to retrieve events. For example, to get all events from the past 2 hours, enter 120.

Default: 60

The minimum is 1 and the maximum is 14 days (20160 minutes).

PageToken

Type: *string

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

RelationalDatabaseName

Type: *string

The name of the database from which to get events.

RelationalDatabaseName is a required field

Method

GoString

func (s GetRelationalDatabaseEventsInput) GoString() string

GoString returns the string representation

SetDurationInMinutes

func (s *GetRelationalDatabaseEventsInput) SetDurationInMinutes(v int64) *GetRelationalDatabaseEventsInput

SetDurationInMinutes sets the DurationInMinutes field's value.

SetPageToken

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

SetPageToken sets the PageToken field's value.

SetRelationalDatabaseName

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

SetRelationalDatabaseName sets the RelationalDatabaseName field's value.

String

func (s GetRelationalDatabaseEventsInput) String() string

String returns the string representation

Validate

func (s *GetRelationalDatabaseEventsInput) Validate() error

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

On this page: