Skip to content

Commit

Permalink
Enable ui_connection parameter for Opensearch
Browse files Browse the repository at this point in the history
  • Loading branch information
Rahul Bhardwaj committed Apr 11, 2024
1 parent 374906f commit a8850dc
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions databases.go
Original file line number Diff line number Diff line change
Expand Up @@ -180,6 +180,7 @@ type Database struct {
EngineSlug string `json:"engine,omitempty"`
VersionSlug string `json:"version,omitempty"`
Connection *DatabaseConnection `json:"connection,omitempty"`
UIConnection *DatabaseConnection `json:"ui_connection,omitempty"`
PrivateConnection *DatabaseConnection `json:"private_connection,omitempty"`
StandbyConnection *DatabaseConnection `json:"standby_connection,omitempty"`
StandbyPrivateConnection *DatabaseConnection `json:"standby_private_connection,omitempty"`
Expand Down Expand Up @@ -1538,6 +1539,7 @@ func (svc *DatabasesServiceOp) UpdateMetricsCredentials(ctx context.Context, upd
return resp, nil
}

// ListDatabaseEvents returns all the events for a given cluster
func (svc *DatabasesServiceOp) ListDatabaseEvents(ctx context.Context, databaseID string, opts *ListOptions) ([]DatabaseEvent, *Response, error) {
path := fmt.Sprintf(databaseEvents, databaseID)
path, err := addOptions(path, opts)
Expand Down

0 comments on commit a8850dc

Please sign in to comment.