// Returns a list of log events for a database in Amazon Lightsail.
Returns a list of log events for a database in Amazon Lightsail.
// Returns a list of log events for a database in Amazon Lightsail .
func (c *Client) GetRelationalDatabaseLogEvents(ctx context.Context, params *GetRelationalDatabaseLogEventsInput, optFns ...func(*Options)) (*GetRelationalDatabaseLogEventsOutput, error) {
	if params == nil {
		params = &GetRelationalDatabaseLogEventsInput{}
	}
	result, metadata, err := c.invokeOperation(ctx, "GetRelationalDatabaseLogEvents", params, optFns, addOperationGetRelationalDatabaseLogEventsMiddlewares)
	if err != nil {
		return nil, err
	}
	out := result.(*GetRelationalDatabaseLogEventsOutput)
	out.ResultMetadata = metadata
	return out, nil
}
func ( c * Client ) GetRelationalDatabaseLogEvents ( ctx context . Context , params * GetRelationalDatabaseLogEventsInput , optFns ... func ( * Options ) ) ( * GetRelationalDatabaseLogEventsOutput , error ) { if params == nil { params = & GetRelationalDatabaseLogEventsInput { } } result , metadata , err := c . invokeOperation ( ctx , " " , params , optFns , addOperationGetRelationalDatabaseLogEventsMiddlewares ) if err != nil { return nil , err } out := result . ( * GetRelationalDatabaseLogEventsOutput ) out . ResultMetadata = metadata return out , nil }
Returns a list of log events for a database in Amazon Lightsail.
Returns a list of log events for a database in Amazon Lightsail .