dbw

package
v1.2.9 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 23, 2026 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Overview

Package dbwiface provides an interface to enable mocking the DBW service client for testing your code.

It is important to note that this interface will have breaking changes when the service model is updated and adds new API operations, paginators, and waiters.

Index

Constants

View Source
const (
	// EnumOfInstanceTypeForDescribeAuditLogConfigInputMySql is a EnumOfInstanceTypeForDescribeAuditLogConfigInput enum value
	EnumOfInstanceTypeForDescribeAuditLogConfigInputMySql = "MySQL"

	// EnumOfInstanceTypeForDescribeAuditLogConfigInputPostgres is a EnumOfInstanceTypeForDescribeAuditLogConfigInput enum value
	EnumOfInstanceTypeForDescribeAuditLogConfigInputPostgres = "Postgres"

	// EnumOfInstanceTypeForDescribeAuditLogConfigInputMongo is a EnumOfInstanceTypeForDescribeAuditLogConfigInput enum value
	EnumOfInstanceTypeForDescribeAuditLogConfigInputMongo = "Mongo"

	// EnumOfInstanceTypeForDescribeAuditLogConfigInputRedis is a EnumOfInstanceTypeForDescribeAuditLogConfigInput enum value
	EnumOfInstanceTypeForDescribeAuditLogConfigInputRedis = "Redis"

	// EnumOfInstanceTypeForDescribeAuditLogConfigInputVeDbmySql is a EnumOfInstanceTypeForDescribeAuditLogConfigInput enum value
	EnumOfInstanceTypeForDescribeAuditLogConfigInputVeDbmySql = "VeDBMySQL"

	// EnumOfInstanceTypeForDescribeAuditLogConfigInputMetaRds is a EnumOfInstanceTypeForDescribeAuditLogConfigInput enum value
	EnumOfInstanceTypeForDescribeAuditLogConfigInputMetaRds = "MetaRDS"

	// EnumOfInstanceTypeForDescribeAuditLogConfigInputMssql is a EnumOfInstanceTypeForDescribeAuditLogConfigInput enum value
	EnumOfInstanceTypeForDescribeAuditLogConfigInputMssql = "MSSQL"

	// EnumOfInstanceTypeForDescribeAuditLogConfigInputByteRds is a EnumOfInstanceTypeForDescribeAuditLogConfigInput enum value
	EnumOfInstanceTypeForDescribeAuditLogConfigInputByteRds = "ByteRDS"

	// EnumOfInstanceTypeForDescribeAuditLogConfigInputMySqlsharding is a EnumOfInstanceTypeForDescribeAuditLogConfigInput enum value
	EnumOfInstanceTypeForDescribeAuditLogConfigInputMySqlsharding = "MySQLSharding"

	// EnumOfInstanceTypeForDescribeAuditLogConfigInputMetaMySql is a EnumOfInstanceTypeForDescribeAuditLogConfigInput enum value
	EnumOfInstanceTypeForDescribeAuditLogConfigInputMetaMySql = "MetaMySQL"
)
View Source
const (
	// EnumOfInstanceTypeForDescribeAuditLogDetailInputMySql is a EnumOfInstanceTypeForDescribeAuditLogDetailInput enum value
	EnumOfInstanceTypeForDescribeAuditLogDetailInputMySql = "MySQL"

	// EnumOfInstanceTypeForDescribeAuditLogDetailInputPostgres is a EnumOfInstanceTypeForDescribeAuditLogDetailInput enum value
	EnumOfInstanceTypeForDescribeAuditLogDetailInputPostgres = "Postgres"

	// EnumOfInstanceTypeForDescribeAuditLogDetailInputMongo is a EnumOfInstanceTypeForDescribeAuditLogDetailInput enum value
	EnumOfInstanceTypeForDescribeAuditLogDetailInputMongo = "Mongo"

	// EnumOfInstanceTypeForDescribeAuditLogDetailInputRedis is a EnumOfInstanceTypeForDescribeAuditLogDetailInput enum value
	EnumOfInstanceTypeForDescribeAuditLogDetailInputRedis = "Redis"

	// EnumOfInstanceTypeForDescribeAuditLogDetailInputVeDbmySql is a EnumOfInstanceTypeForDescribeAuditLogDetailInput enum value
	EnumOfInstanceTypeForDescribeAuditLogDetailInputVeDbmySql = "VeDBMySQL"

	// EnumOfInstanceTypeForDescribeAuditLogDetailInputMetaRds is a EnumOfInstanceTypeForDescribeAuditLogDetailInput enum value
	EnumOfInstanceTypeForDescribeAuditLogDetailInputMetaRds = "MetaRDS"

	// EnumOfInstanceTypeForDescribeAuditLogDetailInputMssql is a EnumOfInstanceTypeForDescribeAuditLogDetailInput enum value
	EnumOfInstanceTypeForDescribeAuditLogDetailInputMssql = "MSSQL"

	// EnumOfInstanceTypeForDescribeAuditLogDetailInputByteRds is a EnumOfInstanceTypeForDescribeAuditLogDetailInput enum value
	EnumOfInstanceTypeForDescribeAuditLogDetailInputByteRds = "ByteRDS"

	// EnumOfInstanceTypeForDescribeAuditLogDetailInputMySqlsharding is a EnumOfInstanceTypeForDescribeAuditLogDetailInput enum value
	EnumOfInstanceTypeForDescribeAuditLogDetailInputMySqlsharding = "MySQLSharding"

	// EnumOfInstanceTypeForDescribeAuditLogDetailInputMetaMySql is a EnumOfInstanceTypeForDescribeAuditLogDetailInput enum value
	EnumOfInstanceTypeForDescribeAuditLogDetailInputMetaMySql = "MetaMySQL"
)
View Source
const (
	// EnumOfLogLevelListForDescribeAuditLogDetailInputNormal is a EnumOfLogLevelListForDescribeAuditLogDetailInput enum value
	EnumOfLogLevelListForDescribeAuditLogDetailInputNormal = "Normal"

	// EnumOfLogLevelListForDescribeAuditLogDetailInputIncident is a EnumOfLogLevelListForDescribeAuditLogDetailInput enum value
	EnumOfLogLevelListForDescribeAuditLogDetailInputIncident = "Incident"

	// EnumOfLogLevelListForDescribeAuditLogDetailInputWarning is a EnumOfLogLevelListForDescribeAuditLogDetailInput enum value
	EnumOfLogLevelListForDescribeAuditLogDetailInputWarning = "Warning"
)
View Source
const (
	// EnumOfSqlMethodListForDescribeAuditLogDetailInputSelect is a EnumOfSqlMethodListForDescribeAuditLogDetailInput enum value
	EnumOfSqlMethodListForDescribeAuditLogDetailInputSelect = "SELECT"

	// EnumOfSqlMethodListForDescribeAuditLogDetailInputInsert is a EnumOfSqlMethodListForDescribeAuditLogDetailInput enum value
	EnumOfSqlMethodListForDescribeAuditLogDetailInputInsert = "INSERT"

	// EnumOfSqlMethodListForDescribeAuditLogDetailInputUpdate is a EnumOfSqlMethodListForDescribeAuditLogDetailInput enum value
	EnumOfSqlMethodListForDescribeAuditLogDetailInputUpdate = "UPDATE"

	// EnumOfSqlMethodListForDescribeAuditLogDetailInputDelete is a EnumOfSqlMethodListForDescribeAuditLogDetailInput enum value
	EnumOfSqlMethodListForDescribeAuditLogDetailInputDelete = "DELETE"

	// EnumOfSqlMethodListForDescribeAuditLogDetailInputAlter is a EnumOfSqlMethodListForDescribeAuditLogDetailInput enum value
	EnumOfSqlMethodListForDescribeAuditLogDetailInputAlter = "ALTER"

	// EnumOfSqlMethodListForDescribeAuditLogDetailInputCreate is a EnumOfSqlMethodListForDescribeAuditLogDetailInput enum value
	EnumOfSqlMethodListForDescribeAuditLogDetailInputCreate = "CREATE"

	// EnumOfSqlMethodListForDescribeAuditLogDetailInputDrop is a EnumOfSqlMethodListForDescribeAuditLogDetailInput enum value
	EnumOfSqlMethodListForDescribeAuditLogDetailInputDrop = "DROP"

	// EnumOfSqlMethodListForDescribeAuditLogDetailInputRename is a EnumOfSqlMethodListForDescribeAuditLogDetailInput enum value
	EnumOfSqlMethodListForDescribeAuditLogDetailInputRename = "RENAME"

	// EnumOfSqlMethodListForDescribeAuditLogDetailInputTruncate is a EnumOfSqlMethodListForDescribeAuditLogDetailInput enum value
	EnumOfSqlMethodListForDescribeAuditLogDetailInputTruncate = "TRUNCATE"

	// EnumOfSqlMethodListForDescribeAuditLogDetailInputLogin is a EnumOfSqlMethodListForDescribeAuditLogDetailInput enum value
	EnumOfSqlMethodListForDescribeAuditLogDetailInputLogin = "LOGIN"

	// EnumOfSqlMethodListForDescribeAuditLogDetailInputLogout is a EnumOfSqlMethodListForDescribeAuditLogDetailInput enum value
	EnumOfSqlMethodListForDescribeAuditLogDetailInputLogout = "LOGOUT"
)
View Source
const (
	// EnumOfInstanceTypeForDescribeSlowLogsInputMySql is a EnumOfInstanceTypeForDescribeSlowLogsInput enum value
	EnumOfInstanceTypeForDescribeSlowLogsInputMySql = "MySQL"

	// EnumOfInstanceTypeForDescribeSlowLogsInputPostgres is a EnumOfInstanceTypeForDescribeSlowLogsInput enum value
	EnumOfInstanceTypeForDescribeSlowLogsInputPostgres = "Postgres"

	// EnumOfInstanceTypeForDescribeSlowLogsInputMongo is a EnumOfInstanceTypeForDescribeSlowLogsInput enum value
	EnumOfInstanceTypeForDescribeSlowLogsInputMongo = "Mongo"

	// EnumOfInstanceTypeForDescribeSlowLogsInputRedis is a EnumOfInstanceTypeForDescribeSlowLogsInput enum value
	EnumOfInstanceTypeForDescribeSlowLogsInputRedis = "Redis"

	// EnumOfInstanceTypeForDescribeSlowLogsInputVeDbmySql is a EnumOfInstanceTypeForDescribeSlowLogsInput enum value
	EnumOfInstanceTypeForDescribeSlowLogsInputVeDbmySql = "VeDBMySQL"

	// EnumOfInstanceTypeForDescribeSlowLogsInputMetaRds is a EnumOfInstanceTypeForDescribeSlowLogsInput enum value
	EnumOfInstanceTypeForDescribeSlowLogsInputMetaRds = "MetaRDS"

	// EnumOfInstanceTypeForDescribeSlowLogsInputMssql is a EnumOfInstanceTypeForDescribeSlowLogsInput enum value
	EnumOfInstanceTypeForDescribeSlowLogsInputMssql = "MSSQL"

	// EnumOfInstanceTypeForDescribeSlowLogsInputByteRds is a EnumOfInstanceTypeForDescribeSlowLogsInput enum value
	EnumOfInstanceTypeForDescribeSlowLogsInputByteRds = "ByteRDS"

	// EnumOfInstanceTypeForDescribeSlowLogsInputMySqlsharding is a EnumOfInstanceTypeForDescribeSlowLogsInput enum value
	EnumOfInstanceTypeForDescribeSlowLogsInputMySqlsharding = "MySQLSharding"

	// EnumOfInstanceTypeForDescribeSlowLogsInputMetaMySql is a EnumOfInstanceTypeForDescribeSlowLogsInput enum value
	EnumOfInstanceTypeForDescribeSlowLogsInputMetaMySql = "MetaMySQL"
)
View Source
const (
	// EnumOfOrderByForDescribeSlowLogsInputTimestamp is a EnumOfOrderByForDescribeSlowLogsInput enum value
	EnumOfOrderByForDescribeSlowLogsInputTimestamp = "Timestamp"

	// EnumOfOrderByForDescribeSlowLogsInputQueryTime is a EnumOfOrderByForDescribeSlowLogsInput enum value
	EnumOfOrderByForDescribeSlowLogsInputQueryTime = "QueryTime"

	// EnumOfOrderByForDescribeSlowLogsInputLockTime is a EnumOfOrderByForDescribeSlowLogsInput enum value
	EnumOfOrderByForDescribeSlowLogsInputLockTime = "LockTime"

	// EnumOfOrderByForDescribeSlowLogsInputRowsExamined is a EnumOfOrderByForDescribeSlowLogsInput enum value
	EnumOfOrderByForDescribeSlowLogsInputRowsExamined = "RowsExamined"

	// EnumOfOrderByForDescribeSlowLogsInputRowsSent is a EnumOfOrderByForDescribeSlowLogsInput enum value
	EnumOfOrderByForDescribeSlowLogsInputRowsSent = "RowsSent"
)
View Source
const (
	// EnumOfSortByForDescribeSlowLogsInputAsc is a EnumOfSortByForDescribeSlowLogsInput enum value
	EnumOfSortByForDescribeSlowLogsInputAsc = "ASC"

	// EnumOfSortByForDescribeSlowLogsInputDesc is a EnumOfSortByForDescribeSlowLogsInput enum value
	EnumOfSortByForDescribeSlowLogsInputDesc = "DESC"
)
View Source
const (
	// EnumOfInstanceTypeForModifyAuditLogConfigInputMySql is a EnumOfInstanceTypeForModifyAuditLogConfigInput enum value
	EnumOfInstanceTypeForModifyAuditLogConfigInputMySql = "MySQL"

	// EnumOfInstanceTypeForModifyAuditLogConfigInputPostgres is a EnumOfInstanceTypeForModifyAuditLogConfigInput enum value
	EnumOfInstanceTypeForModifyAuditLogConfigInputPostgres = "Postgres"

	// EnumOfInstanceTypeForModifyAuditLogConfigInputMongo is a EnumOfInstanceTypeForModifyAuditLogConfigInput enum value
	EnumOfInstanceTypeForModifyAuditLogConfigInputMongo = "Mongo"

	// EnumOfInstanceTypeForModifyAuditLogConfigInputRedis is a EnumOfInstanceTypeForModifyAuditLogConfigInput enum value
	EnumOfInstanceTypeForModifyAuditLogConfigInputRedis = "Redis"

	// EnumOfInstanceTypeForModifyAuditLogConfigInputVeDbmySql is a EnumOfInstanceTypeForModifyAuditLogConfigInput enum value
	EnumOfInstanceTypeForModifyAuditLogConfigInputVeDbmySql = "VeDBMySQL"

	// EnumOfInstanceTypeForModifyAuditLogConfigInputMetaRds is a EnumOfInstanceTypeForModifyAuditLogConfigInput enum value
	EnumOfInstanceTypeForModifyAuditLogConfigInputMetaRds = "MetaRDS"

	// EnumOfInstanceTypeForModifyAuditLogConfigInputMssql is a EnumOfInstanceTypeForModifyAuditLogConfigInput enum value
	EnumOfInstanceTypeForModifyAuditLogConfigInputMssql = "MSSQL"

	// EnumOfInstanceTypeForModifyAuditLogConfigInputByteRds is a EnumOfInstanceTypeForModifyAuditLogConfigInput enum value
	EnumOfInstanceTypeForModifyAuditLogConfigInputByteRds = "ByteRDS"

	// EnumOfInstanceTypeForModifyAuditLogConfigInputMySqlsharding is a EnumOfInstanceTypeForModifyAuditLogConfigInput enum value
	EnumOfInstanceTypeForModifyAuditLogConfigInputMySqlsharding = "MySQLSharding"

	// EnumOfInstanceTypeForModifyAuditLogConfigInputMetaMySql is a EnumOfInstanceTypeForModifyAuditLogConfigInput enum value
	EnumOfInstanceTypeForModifyAuditLogConfigInputMetaMySql = "MetaMySQL"
)
View Source
const (
	ServiceName = "dbw"       // Name of service.
	EndpointsID = ServiceName // ID to lookup a service endpoint with.
	ServiceID   = "dbw"       // ServiceID is a unique identifer of a specific service.
)

Service information constants

Variables

This section is empty.

Functions

This section is empty.

Types

type DBW

type DBW struct {
	*client.Client
}

DBW provides the API operation methods for making requests to DBW. See this package's package overview docs for details on the service.

DBW methods are safe to use concurrently. It is not safe to modify mutate any of the struct's properties though.

func New

func New(p client.ConfigProvider, cfgs ...*volcengine.Config) *DBW

New create int can support ssl or region locate set

func (*DBW) DescribeAuditLogConfig added in v1.1.18

func (c *DBW) DescribeAuditLogConfig(input *DescribeAuditLogConfigInput) (*DescribeAuditLogConfigOutput, error)

DescribeAuditLogConfig API operation for DBW.

Returns volcengineerr.Error for service API and SDK errors. Use runtime type assertions with volcengineerr.Error's Code and Message methods to get detailed information about the error.

See the VOLCENGINE API reference guide for DBW's API operation DescribeAuditLogConfig for usage and error information.

func (*DBW) DescribeAuditLogConfigCommon added in v1.1.18

func (c *DBW) DescribeAuditLogConfigCommon(input *map[string]interface{}) (*map[string]interface{}, error)

DescribeAuditLogConfigCommon API operation for DBW.

Returns volcengineerr.Error for service API and SDK errors. Use runtime type assertions with volcengineerr.Error's Code and Message methods to get detailed information about the error.

See the VOLCENGINE API reference guide for DBW's API operation DescribeAuditLogConfigCommon for usage and error information.

func (*DBW) DescribeAuditLogConfigCommonRequest added in v1.1.18

func (c *DBW) DescribeAuditLogConfigCommonRequest(input *map[string]interface{}) (req *request.Request, output *map[string]interface{})

DescribeAuditLogConfigCommonRequest generates a "volcengine/request.Request" representing the client's request for the DescribeAuditLogConfigCommon operation. The "output" return value will be populated with the DescribeAuditLogConfigCommon request's response once the request completes successfully.

Use "Send" method on the returned DescribeAuditLogConfigCommon Request to send the API call to the service. the "output" return value is not valid until after DescribeAuditLogConfigCommon Send returns without error.

See DescribeAuditLogConfigCommon for more information on using the DescribeAuditLogConfigCommon API call, and error handling.

// Example sending a request using the DescribeAuditLogConfigCommonRequest method.
req, resp := client.DescribeAuditLogConfigCommonRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

func (*DBW) DescribeAuditLogConfigCommonWithContext added in v1.1.18

func (c *DBW) DescribeAuditLogConfigCommonWithContext(ctx volcengine.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)

DescribeAuditLogConfigCommonWithContext is the same as DescribeAuditLogConfigCommon with the addition of the ability to pass a context and additional request options.

See DescribeAuditLogConfigCommon for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*DBW) DescribeAuditLogConfigRequest added in v1.1.18

func (c *DBW) DescribeAuditLogConfigRequest(input *DescribeAuditLogConfigInput) (req *request.Request, output *DescribeAuditLogConfigOutput)

DescribeAuditLogConfigRequest generates a "volcengine/request.Request" representing the client's request for the DescribeAuditLogConfig operation. The "output" return value will be populated with the DescribeAuditLogConfigCommon request's response once the request completes successfully.

Use "Send" method on the returned DescribeAuditLogConfigCommon Request to send the API call to the service. the "output" return value is not valid until after DescribeAuditLogConfigCommon Send returns without error.

See DescribeAuditLogConfig for more information on using the DescribeAuditLogConfig API call, and error handling.

// Example sending a request using the DescribeAuditLogConfigRequest method.
req, resp := client.DescribeAuditLogConfigRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

func (*DBW) DescribeAuditLogConfigWithContext added in v1.1.18

func (c *DBW) DescribeAuditLogConfigWithContext(ctx volcengine.Context, input *DescribeAuditLogConfigInput, opts ...request.Option) (*DescribeAuditLogConfigOutput, error)

DescribeAuditLogConfigWithContext is the same as DescribeAuditLogConfig with the addition of the ability to pass a context and additional request options.

See DescribeAuditLogConfig for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. Ifthe context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*DBW) DescribeAuditLogDetail added in v1.1.18

func (c *DBW) DescribeAuditLogDetail(input *DescribeAuditLogDetailInput) (*DescribeAuditLogDetailOutput, error)

DescribeAuditLogDetail API operation for DBW.

Returns volcengineerr.Error for service API and SDK errors. Use runtime type assertions with volcengineerr.Error's Code and Message methods to get detailed information about the error.

See the VOLCENGINE API reference guide for DBW's API operation DescribeAuditLogDetail for usage and error information.

func (*DBW) DescribeAuditLogDetailCommon added in v1.1.18

func (c *DBW) DescribeAuditLogDetailCommon(input *map[string]interface{}) (*map[string]interface{}, error)

DescribeAuditLogDetailCommon API operation for DBW.

Returns volcengineerr.Error for service API and SDK errors. Use runtime type assertions with volcengineerr.Error's Code and Message methods to get detailed information about the error.

See the VOLCENGINE API reference guide for DBW's API operation DescribeAuditLogDetailCommon for usage and error information.

func (*DBW) DescribeAuditLogDetailCommonRequest added in v1.1.18

func (c *DBW) DescribeAuditLogDetailCommonRequest(input *map[string]interface{}) (req *request.Request, output *map[string]interface{})

DescribeAuditLogDetailCommonRequest generates a "volcengine/request.Request" representing the client's request for the DescribeAuditLogDetailCommon operation. The "output" return value will be populated with the DescribeAuditLogDetailCommon request's response once the request completes successfully.

Use "Send" method on the returned DescribeAuditLogDetailCommon Request to send the API call to the service. the "output" return value is not valid until after DescribeAuditLogDetailCommon Send returns without error.

See DescribeAuditLogDetailCommon for more information on using the DescribeAuditLogDetailCommon API call, and error handling.

// Example sending a request using the DescribeAuditLogDetailCommonRequest method.
req, resp := client.DescribeAuditLogDetailCommonRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

func (*DBW) DescribeAuditLogDetailCommonWithContext added in v1.1.18

func (c *DBW) DescribeAuditLogDetailCommonWithContext(ctx volcengine.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)

DescribeAuditLogDetailCommonWithContext is the same as DescribeAuditLogDetailCommon with the addition of the ability to pass a context and additional request options.

See DescribeAuditLogDetailCommon for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*DBW) DescribeAuditLogDetailRequest added in v1.1.18

func (c *DBW) DescribeAuditLogDetailRequest(input *DescribeAuditLogDetailInput) (req *request.Request, output *DescribeAuditLogDetailOutput)

DescribeAuditLogDetailRequest generates a "volcengine/request.Request" representing the client's request for the DescribeAuditLogDetail operation. The "output" return value will be populated with the DescribeAuditLogDetailCommon request's response once the request completes successfully.

Use "Send" method on the returned DescribeAuditLogDetailCommon Request to send the API call to the service. the "output" return value is not valid until after DescribeAuditLogDetailCommon Send returns without error.

See DescribeAuditLogDetail for more information on using the DescribeAuditLogDetail API call, and error handling.

// Example sending a request using the DescribeAuditLogDetailRequest method.
req, resp := client.DescribeAuditLogDetailRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

func (*DBW) DescribeAuditLogDetailWithContext added in v1.1.18

func (c *DBW) DescribeAuditLogDetailWithContext(ctx volcengine.Context, input *DescribeAuditLogDetailInput, opts ...request.Option) (*DescribeAuditLogDetailOutput, error)

DescribeAuditLogDetailWithContext is the same as DescribeAuditLogDetail with the addition of the ability to pass a context and additional request options.

See DescribeAuditLogDetail for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. Ifthe context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*DBW) DescribeSlowLogs

func (c *DBW) DescribeSlowLogs(input *DescribeSlowLogsInput) (*DescribeSlowLogsOutput, error)

DescribeSlowLogs API operation for DBW.

Returns volcengineerr.Error for service API and SDK errors. Use runtime type assertions with volcengineerr.Error's Code and Message methods to get detailed information about the error.

See the VOLCENGINE API reference guide for DBW's API operation DescribeSlowLogs for usage and error information.

func (*DBW) DescribeSlowLogsCommon

func (c *DBW) DescribeSlowLogsCommon(input *map[string]interface{}) (*map[string]interface{}, error)

DescribeSlowLogsCommon API operation for DBW.

Returns volcengineerr.Error for service API and SDK errors. Use runtime type assertions with volcengineerr.Error's Code and Message methods to get detailed information about the error.

See the VOLCENGINE API reference guide for DBW's API operation DescribeSlowLogsCommon for usage and error information.

func (*DBW) DescribeSlowLogsCommonRequest

func (c *DBW) DescribeSlowLogsCommonRequest(input *map[string]interface{}) (req *request.Request, output *map[string]interface{})

DescribeSlowLogsCommonRequest generates a "volcengine/request.Request" representing the client's request for the DescribeSlowLogsCommon operation. The "output" return value will be populated with the DescribeSlowLogsCommon request's response once the request completes successfully.

Use "Send" method on the returned DescribeSlowLogsCommon Request to send the API call to the service. the "output" return value is not valid until after DescribeSlowLogsCommon Send returns without error.

See DescribeSlowLogsCommon for more information on using the DescribeSlowLogsCommon API call, and error handling.

// Example sending a request using the DescribeSlowLogsCommonRequest method.
req, resp := client.DescribeSlowLogsCommonRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

func (*DBW) DescribeSlowLogsCommonWithContext

func (c *DBW) DescribeSlowLogsCommonWithContext(ctx volcengine.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)

DescribeSlowLogsCommonWithContext is the same as DescribeSlowLogsCommon with the addition of the ability to pass a context and additional request options.

See DescribeSlowLogsCommon for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*DBW) DescribeSlowLogsRequest

func (c *DBW) DescribeSlowLogsRequest(input *DescribeSlowLogsInput) (req *request.Request, output *DescribeSlowLogsOutput)

DescribeSlowLogsRequest generates a "volcengine/request.Request" representing the client's request for the DescribeSlowLogs operation. The "output" return value will be populated with the DescribeSlowLogsCommon request's response once the request completes successfully.

Use "Send" method on the returned DescribeSlowLogsCommon Request to send the API call to the service. the "output" return value is not valid until after DescribeSlowLogsCommon Send returns without error.

See DescribeSlowLogs for more information on using the DescribeSlowLogs API call, and error handling.

// Example sending a request using the DescribeSlowLogsRequest method.
req, resp := client.DescribeSlowLogsRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

func (*DBW) DescribeSlowLogsWithContext

func (c *DBW) DescribeSlowLogsWithContext(ctx volcengine.Context, input *DescribeSlowLogsInput, opts ...request.Option) (*DescribeSlowLogsOutput, error)

DescribeSlowLogsWithContext is the same as DescribeSlowLogs with the addition of the ability to pass a context and additional request options.

See DescribeSlowLogs for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. Ifthe context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*DBW) ModifyAuditLogConfig added in v1.1.18

func (c *DBW) ModifyAuditLogConfig(input *ModifyAuditLogConfigInput) (*ModifyAuditLogConfigOutput, error)

ModifyAuditLogConfig API operation for DBW.

Returns volcengineerr.Error for service API and SDK errors. Use runtime type assertions with volcengineerr.Error's Code and Message methods to get detailed information about the error.

See the VOLCENGINE API reference guide for DBW's API operation ModifyAuditLogConfig for usage and error information.

func (*DBW) ModifyAuditLogConfigCommon added in v1.1.18

func (c *DBW) ModifyAuditLogConfigCommon(input *map[string]interface{}) (*map[string]interface{}, error)

ModifyAuditLogConfigCommon API operation for DBW.

Returns volcengineerr.Error for service API and SDK errors. Use runtime type assertions with volcengineerr.Error's Code and Message methods to get detailed information about the error.

See the VOLCENGINE API reference guide for DBW's API operation ModifyAuditLogConfigCommon for usage and error information.

func (*DBW) ModifyAuditLogConfigCommonRequest added in v1.1.18

func (c *DBW) ModifyAuditLogConfigCommonRequest(input *map[string]interface{}) (req *request.Request, output *map[string]interface{})

ModifyAuditLogConfigCommonRequest generates a "volcengine/request.Request" representing the client's request for the ModifyAuditLogConfigCommon operation. The "output" return value will be populated with the ModifyAuditLogConfigCommon request's response once the request completes successfully.

Use "Send" method on the returned ModifyAuditLogConfigCommon Request to send the API call to the service. the "output" return value is not valid until after ModifyAuditLogConfigCommon Send returns without error.

See ModifyAuditLogConfigCommon for more information on using the ModifyAuditLogConfigCommon API call, and error handling.

// Example sending a request using the ModifyAuditLogConfigCommonRequest method.
req, resp := client.ModifyAuditLogConfigCommonRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

func (*DBW) ModifyAuditLogConfigCommonWithContext added in v1.1.18

func (c *DBW) ModifyAuditLogConfigCommonWithContext(ctx volcengine.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)

ModifyAuditLogConfigCommonWithContext is the same as ModifyAuditLogConfigCommon with the addition of the ability to pass a context and additional request options.

See ModifyAuditLogConfigCommon for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*DBW) ModifyAuditLogConfigRequest added in v1.1.18

func (c *DBW) ModifyAuditLogConfigRequest(input *ModifyAuditLogConfigInput) (req *request.Request, output *ModifyAuditLogConfigOutput)

ModifyAuditLogConfigRequest generates a "volcengine/request.Request" representing the client's request for the ModifyAuditLogConfig operation. The "output" return value will be populated with the ModifyAuditLogConfigCommon request's response once the request completes successfully.

Use "Send" method on the returned ModifyAuditLogConfigCommon Request to send the API call to the service. the "output" return value is not valid until after ModifyAuditLogConfigCommon Send returns without error.

See ModifyAuditLogConfig for more information on using the ModifyAuditLogConfig API call, and error handling.

// Example sending a request using the ModifyAuditLogConfigRequest method.
req, resp := client.ModifyAuditLogConfigRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

func (*DBW) ModifyAuditLogConfigWithContext added in v1.1.18

func (c *DBW) ModifyAuditLogConfigWithContext(ctx volcengine.Context, input *ModifyAuditLogConfigInput, opts ...request.Option) (*ModifyAuditLogConfigOutput, error)

ModifyAuditLogConfigWithContext is the same as ModifyAuditLogConfig with the addition of the ability to pass a context and additional request options.

See ModifyAuditLogConfig for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. Ifthe context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

type DBWAPI

type DBWAPI interface {
	DescribeAuditLogConfigCommon(*map[string]interface{}) (*map[string]interface{}, error)
	DescribeAuditLogConfigCommonWithContext(volcengine.Context, *map[string]interface{}, ...request.Option) (*map[string]interface{}, error)
	DescribeAuditLogConfigCommonRequest(*map[string]interface{}) (*request.Request, *map[string]interface{})

	DescribeAuditLogConfig(*DescribeAuditLogConfigInput) (*DescribeAuditLogConfigOutput, error)
	DescribeAuditLogConfigWithContext(volcengine.Context, *DescribeAuditLogConfigInput, ...request.Option) (*DescribeAuditLogConfigOutput, error)
	DescribeAuditLogConfigRequest(*DescribeAuditLogConfigInput) (*request.Request, *DescribeAuditLogConfigOutput)

	DescribeAuditLogDetailCommon(*map[string]interface{}) (*map[string]interface{}, error)
	DescribeAuditLogDetailCommonWithContext(volcengine.Context, *map[string]interface{}, ...request.Option) (*map[string]interface{}, error)
	DescribeAuditLogDetailCommonRequest(*map[string]interface{}) (*request.Request, *map[string]interface{})

	DescribeAuditLogDetail(*DescribeAuditLogDetailInput) (*DescribeAuditLogDetailOutput, error)
	DescribeAuditLogDetailWithContext(volcengine.Context, *DescribeAuditLogDetailInput, ...request.Option) (*DescribeAuditLogDetailOutput, error)
	DescribeAuditLogDetailRequest(*DescribeAuditLogDetailInput) (*request.Request, *DescribeAuditLogDetailOutput)

	DescribeSlowLogsCommon(*map[string]interface{}) (*map[string]interface{}, error)
	DescribeSlowLogsCommonWithContext(volcengine.Context, *map[string]interface{}, ...request.Option) (*map[string]interface{}, error)
	DescribeSlowLogsCommonRequest(*map[string]interface{}) (*request.Request, *map[string]interface{})

	DescribeSlowLogs(*DescribeSlowLogsInput) (*DescribeSlowLogsOutput, error)
	DescribeSlowLogsWithContext(volcengine.Context, *DescribeSlowLogsInput, ...request.Option) (*DescribeSlowLogsOutput, error)
	DescribeSlowLogsRequest(*DescribeSlowLogsInput) (*request.Request, *DescribeSlowLogsOutput)

	ModifyAuditLogConfigCommon(*map[string]interface{}) (*map[string]interface{}, error)
	ModifyAuditLogConfigCommonWithContext(volcengine.Context, *map[string]interface{}, ...request.Option) (*map[string]interface{}, error)
	ModifyAuditLogConfigCommonRequest(*map[string]interface{}) (*request.Request, *map[string]interface{})

	ModifyAuditLogConfig(*ModifyAuditLogConfigInput) (*ModifyAuditLogConfigOutput, error)
	ModifyAuditLogConfigWithContext(volcengine.Context, *ModifyAuditLogConfigInput, ...request.Option) (*ModifyAuditLogConfigOutput, error)
	ModifyAuditLogConfigRequest(*ModifyAuditLogConfigInput) (*request.Request, *ModifyAuditLogConfigOutput)
}

DBWAPI provides an interface to enable mocking the dbw.DBW service client's API operation,

// volcengine sdk func uses an SDK service client to make a request to
// DBW.
func myFunc(svc DBWAPI) bool {
    // Make svc.DescribeAuditLogConfig request
}

func main() {
    sess := session.New()
    svc := dbw.New(sess)

    myFunc(svc)
}

type DescribeAuditLogConfigInput added in v1.1.18

type DescribeAuditLogConfigInput struct {

	// InstanceId is a required field
	InstanceId *string `type:"string" json:",omitempty" required:"true"`

	// InstanceType is a required field
	InstanceType *string `type:"string" json:",omitempty" required:"true" enum:"EnumOfInstanceTypeForDescribeAuditLogConfigInput"`
	// contains filtered or unexported fields
}

func (DescribeAuditLogConfigInput) GoString added in v1.1.18

func (s DescribeAuditLogConfigInput) GoString() string

GoString returns the string representation

func (*DescribeAuditLogConfigInput) SetInstanceId added in v1.1.18

SetInstanceId sets the InstanceId field's value.

func (*DescribeAuditLogConfigInput) SetInstanceType added in v1.1.18

SetInstanceType sets the InstanceType field's value.

func (DescribeAuditLogConfigInput) String added in v1.1.18

String returns the string representation

func (*DescribeAuditLogConfigInput) Validate added in v1.1.18

func (s *DescribeAuditLogConfigInput) Validate() error

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

type DescribeAuditLogConfigOutput added in v1.1.18

type DescribeAuditLogConfigOutput struct {
	Metadata *response.ResponseMetadata

	SqlRetentionDay *int32 `type:"int32" json:",omitempty"`
	// contains filtered or unexported fields
}

func (DescribeAuditLogConfigOutput) GoString added in v1.1.18

func (s DescribeAuditLogConfigOutput) GoString() string

GoString returns the string representation

func (*DescribeAuditLogConfigOutput) SetSqlRetentionDay added in v1.1.18

SetSqlRetentionDay sets the SqlRetentionDay field's value.

func (DescribeAuditLogConfigOutput) String added in v1.1.18

String returns the string representation

type DescribeAuditLogDetailInput added in v1.1.18

type DescribeAuditLogDetailInput struct {
	EndTime *int32 `type:"int32" json:",omitempty"`

	// InstanceId is a required field
	InstanceId *string `type:"string" json:",omitempty" required:"true"`

	// InstanceType is a required field
	InstanceType *string `type:"string" json:",omitempty" required:"true" enum:"EnumOfInstanceTypeForDescribeAuditLogDetailInput"`

	LogVersion *string `type:"string" json:",omitempty"`

	MaxResults *int32 `type:"int32" json:",omitempty"`

	NextToken *string `type:"string" json:",omitempty"`

	// RegionId is a required field
	RegionId *string `type:"string" json:",omitempty" required:"true"`

	SearchParam *SearchParamForDescribeAuditLogDetailInput `type:"structure" json:",omitempty"`

	StartTime *int32 `type:"int32" json:",omitempty"`
	// contains filtered or unexported fields
}

func (DescribeAuditLogDetailInput) GoString added in v1.1.18

func (s DescribeAuditLogDetailInput) GoString() string

GoString returns the string representation

func (*DescribeAuditLogDetailInput) SetEndTime added in v1.1.18

SetEndTime sets the EndTime field's value.

func (*DescribeAuditLogDetailInput) SetInstanceId added in v1.1.18

SetInstanceId sets the InstanceId field's value.

func (*DescribeAuditLogDetailInput) SetInstanceType added in v1.1.18

SetInstanceType sets the InstanceType field's value.

func (*DescribeAuditLogDetailInput) SetLogVersion added in v1.1.18

SetLogVersion sets the LogVersion field's value.

func (*DescribeAuditLogDetailInput) SetMaxResults added in v1.1.18

SetMaxResults sets the MaxResults field's value.

func (*DescribeAuditLogDetailInput) SetNextToken added in v1.1.18

SetNextToken sets the NextToken field's value.

func (*DescribeAuditLogDetailInput) SetRegionId added in v1.1.18

SetRegionId sets the RegionId field's value.

func (*DescribeAuditLogDetailInput) SetSearchParam added in v1.1.18

SetSearchParam sets the SearchParam field's value.

func (*DescribeAuditLogDetailInput) SetStartTime added in v1.1.18

SetStartTime sets the StartTime field's value.

func (DescribeAuditLogDetailInput) String added in v1.1.18

String returns the string representation

func (*DescribeAuditLogDetailInput) Validate added in v1.1.18

func (s *DescribeAuditLogDetailInput) Validate() error

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

type DescribeAuditLogDetailOutput added in v1.1.18

type DescribeAuditLogDetailOutput struct {
	Metadata *response.ResponseMetadata

	DescribeAuditLogDetailRows []*DescribeAuditLogDetailRowForDescribeAuditLogDetailOutput `type:"list" json:",omitempty"`

	NextToken *string `type:"string" json:",omitempty"`

	TotalCount *int32 `type:"int32" json:",omitempty"`
	// contains filtered or unexported fields
}

func (DescribeAuditLogDetailOutput) GoString added in v1.1.18

func (s DescribeAuditLogDetailOutput) GoString() string

GoString returns the string representation

func (*DescribeAuditLogDetailOutput) SetDescribeAuditLogDetailRows added in v1.1.18

SetDescribeAuditLogDetailRows sets the DescribeAuditLogDetailRows field's value.

func (*DescribeAuditLogDetailOutput) SetNextToken added in v1.1.18

SetNextToken sets the NextToken field's value.

func (*DescribeAuditLogDetailOutput) SetTotalCount added in v1.1.18

SetTotalCount sets the TotalCount field's value.

func (DescribeAuditLogDetailOutput) String added in v1.1.18

String returns the string representation

type DescribeAuditLogDetailRowForDescribeAuditLogDetailOutput added in v1.1.18

type DescribeAuditLogDetailRowForDescribeAuditLogDetailOutput struct {
	AffectRow *int32 `type:"int32" json:",omitempty"`

	DB *string `type:"string" json:",omitempty"`

	Duration *int32 `type:"int32" json:",omitempty"`

	ExecTime *int32 `type:"int32" json:",omitempty"`

	LogLevel *string `type:"string" json:",omitempty"`

	LogType *string `type:"string" json:",omitempty"`

	NodeId *string `type:"string" json:",omitempty"`

	OriSql *string `type:"string" json:",omitempty"`

	ReturnRows *int32 `type:"int32" json:",omitempty"`

	ScanRows *int32 `type:"int32" json:",omitempty"`

	SourceIP *string `type:"string" json:",omitempty"`

	SqlFingerprint *string `type:"string" json:",omitempty"`

	SqlMethod *string `type:"string" json:",omitempty"`

	Table *string `type:"string" json:",omitempty"`

	User *string `type:"string" json:",omitempty"`

	WaitLockConsumingTime *int32 `type:"int32" json:",omitempty"`
	// contains filtered or unexported fields
}

func (DescribeAuditLogDetailRowForDescribeAuditLogDetailOutput) GoString added in v1.1.18

GoString returns the string representation

func (*DescribeAuditLogDetailRowForDescribeAuditLogDetailOutput) SetAffectRow added in v1.1.18

SetAffectRow sets the AffectRow field's value.

func (*DescribeAuditLogDetailRowForDescribeAuditLogDetailOutput) SetDB added in v1.1.18

SetDB sets the DB field's value.

func (*DescribeAuditLogDetailRowForDescribeAuditLogDetailOutput) SetDuration added in v1.1.18

SetDuration sets the Duration field's value.

func (*DescribeAuditLogDetailRowForDescribeAuditLogDetailOutput) SetExecTime added in v1.1.18

SetExecTime sets the ExecTime field's value.

func (*DescribeAuditLogDetailRowForDescribeAuditLogDetailOutput) SetLogLevel added in v1.1.18

SetLogLevel sets the LogLevel field's value.

func (*DescribeAuditLogDetailRowForDescribeAuditLogDetailOutput) SetLogType added in v1.1.18

SetLogType sets the LogType field's value.

func (*DescribeAuditLogDetailRowForDescribeAuditLogDetailOutput) SetNodeId added in v1.1.18

SetNodeId sets the NodeId field's value.

func (*DescribeAuditLogDetailRowForDescribeAuditLogDetailOutput) SetOriSql added in v1.1.18

SetOriSql sets the OriSql field's value.

func (*DescribeAuditLogDetailRowForDescribeAuditLogDetailOutput) SetReturnRows added in v1.1.18

SetReturnRows sets the ReturnRows field's value.

func (*DescribeAuditLogDetailRowForDescribeAuditLogDetailOutput) SetScanRows added in v1.1.18

SetScanRows sets the ScanRows field's value.

func (*DescribeAuditLogDetailRowForDescribeAuditLogDetailOutput) SetSourceIP added in v1.1.18

SetSourceIP sets the SourceIP field's value.

func (*DescribeAuditLogDetailRowForDescribeAuditLogDetailOutput) SetSqlFingerprint added in v1.1.18

SetSqlFingerprint sets the SqlFingerprint field's value.

func (*DescribeAuditLogDetailRowForDescribeAuditLogDetailOutput) SetSqlMethod added in v1.1.18

SetSqlMethod sets the SqlMethod field's value.

func (*DescribeAuditLogDetailRowForDescribeAuditLogDetailOutput) SetTable added in v1.1.18

SetTable sets the Table field's value.

func (*DescribeAuditLogDetailRowForDescribeAuditLogDetailOutput) SetUser added in v1.1.18

SetUser sets the User field's value.

func (*DescribeAuditLogDetailRowForDescribeAuditLogDetailOutput) SetWaitLockConsumingTime added in v1.1.18

SetWaitLockConsumingTime sets the WaitLockConsumingTime field's value.

func (DescribeAuditLogDetailRowForDescribeAuditLogDetailOutput) String added in v1.1.18

String returns the string representation

type DescribeSlowLogsInput

type DescribeSlowLogsInput struct {

	// EndTime is a required field
	EndTime *int32 `type:"int32" json:",omitempty" required:"true"`

	// InstanceId is a required field
	InstanceId *string `type:"string" json:",omitempty" required:"true"`

	InstanceType *string `type:"string" json:",omitempty" enum:"EnumOfInstanceTypeForDescribeSlowLogsInput"`

	NodeId *string `type:"string" json:",omitempty"`

	OrderBy *string `type:"string" json:",omitempty" enum:"EnumOfOrderByForDescribeSlowLogsInput"`

	PageNumber *int32 `type:"int32" json:",omitempty"`

	PageSize *int32 `type:"int32" json:",omitempty"`

	// RegionId is a required field
	RegionId *string `type:"string" json:",omitempty" required:"true"`

	SearchParam *SearchParamForDescribeSlowLogsInput `type:"structure" json:",omitempty"`

	SortBy *string `type:"string" json:",omitempty" enum:"EnumOfSortByForDescribeSlowLogsInput"`

	// StartTime is a required field
	StartTime *int32 `type:"int32" json:",omitempty" required:"true"`
	// contains filtered or unexported fields
}

func (DescribeSlowLogsInput) GoString

func (s DescribeSlowLogsInput) GoString() string

GoString returns the string representation

func (*DescribeSlowLogsInput) SetEndTime

SetEndTime sets the EndTime field's value.

func (*DescribeSlowLogsInput) SetInstanceId

func (s *DescribeSlowLogsInput) SetInstanceId(v string) *DescribeSlowLogsInput

SetInstanceId sets the InstanceId field's value.

func (*DescribeSlowLogsInput) SetInstanceType added in v1.1.18

func (s *DescribeSlowLogsInput) SetInstanceType(v string) *DescribeSlowLogsInput

SetInstanceType sets the InstanceType field's value.

func (*DescribeSlowLogsInput) SetNodeId added in v1.1.18

SetNodeId sets the NodeId field's value.

func (*DescribeSlowLogsInput) SetOrderBy added in v1.1.18

SetOrderBy sets the OrderBy field's value.

func (*DescribeSlowLogsInput) SetPageNumber

func (s *DescribeSlowLogsInput) SetPageNumber(v int32) *DescribeSlowLogsInput

SetPageNumber sets the PageNumber field's value.

func (*DescribeSlowLogsInput) SetPageSize

SetPageSize sets the PageSize field's value.

func (*DescribeSlowLogsInput) SetRegionId

SetRegionId sets the RegionId field's value.

func (*DescribeSlowLogsInput) SetSearchParam

SetSearchParam sets the SearchParam field's value.

func (*DescribeSlowLogsInput) SetSortBy added in v1.1.18

SetSortBy sets the SortBy field's value.

func (*DescribeSlowLogsInput) SetStartTime

SetStartTime sets the StartTime field's value.

func (DescribeSlowLogsInput) String

func (s DescribeSlowLogsInput) String() string

String returns the string representation

func (*DescribeSlowLogsInput) Validate added in v1.1.18

func (s *DescribeSlowLogsInput) Validate() error

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

type DescribeSlowLogsOutput

type DescribeSlowLogsOutput struct {
	Metadata *response.ResponseMetadata

	SlowLogs []*SlowLogForDescribeSlowLogsOutput `type:"list" json:",omitempty"`

	Total *int32 `type:"int32" json:",omitempty"`
	// contains filtered or unexported fields
}

func (DescribeSlowLogsOutput) GoString

func (s DescribeSlowLogsOutput) GoString() string

GoString returns the string representation

func (*DescribeSlowLogsOutput) SetSlowLogs

SetSlowLogs sets the SlowLogs field's value.

func (*DescribeSlowLogsOutput) SetTotal

SetTotal sets the Total field's value.

func (DescribeSlowLogsOutput) String

func (s DescribeSlowLogsOutput) String() string

String returns the string representation

type ModifyAuditLogConfigInput added in v1.1.18

type ModifyAuditLogConfigInput struct {

	// InstanceId is a required field
	InstanceId *string `type:"string" json:",omitempty" required:"true"`

	// InstanceType is a required field
	InstanceType *string `type:"string" json:",omitempty" required:"true" enum:"EnumOfInstanceTypeForModifyAuditLogConfigInput"`

	SqlRetentionDay *int32 `type:"int32" json:",omitempty"`
	// contains filtered or unexported fields
}

func (ModifyAuditLogConfigInput) GoString added in v1.1.18

func (s ModifyAuditLogConfigInput) GoString() string

GoString returns the string representation

func (*ModifyAuditLogConfigInput) SetInstanceId added in v1.1.18

SetInstanceId sets the InstanceId field's value.

func (*ModifyAuditLogConfigInput) SetInstanceType added in v1.1.18

SetInstanceType sets the InstanceType field's value.

func (*ModifyAuditLogConfigInput) SetSqlRetentionDay added in v1.1.18

func (s *ModifyAuditLogConfigInput) SetSqlRetentionDay(v int32) *ModifyAuditLogConfigInput

SetSqlRetentionDay sets the SqlRetentionDay field's value.

func (ModifyAuditLogConfigInput) String added in v1.1.18

func (s ModifyAuditLogConfigInput) String() string

String returns the string representation

func (*ModifyAuditLogConfigInput) Validate added in v1.1.18

func (s *ModifyAuditLogConfigInput) Validate() error

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

type ModifyAuditLogConfigOutput added in v1.1.18

type ModifyAuditLogConfigOutput struct {
	Metadata *response.ResponseMetadata
	// contains filtered or unexported fields
}

func (ModifyAuditLogConfigOutput) GoString added in v1.1.18

func (s ModifyAuditLogConfigOutput) GoString() string

GoString returns the string representation

func (ModifyAuditLogConfigOutput) String added in v1.1.18

String returns the string representation

type SearchParamForDescribeAuditLogDetailInput added in v1.1.18

type SearchParamForDescribeAuditLogDetailInput struct {
	AffectRowDown *int32 `type:"int32" json:",omitempty"`

	AffectRowUp *int32 `type:"int32" json:",omitempty"`

	DBs []*string `type:"list" json:",omitempty"`

	DuringDown *int64 `type:"int64" json:",omitempty"`

	DuringUp *int64 `type:"int64" json:",omitempty"`

	LogLevels []*string `type:"list" json:",omitempty"`

	LogType []*string `type:"list" json:",omitempty"`

	NodeId *string `type:"string" json:",omitempty"`

	SourceIPs []*string `type:"list" json:",omitempty"`

	SqlFingerprint *string `type:"string" json:",omitempty"`

	SqlMethods []*string `type:"list" json:",omitempty"`

	Tables []*string `type:"list" json:",omitempty"`

	Users []*string `type:"list" json:",omitempty"`
	// contains filtered or unexported fields
}

func (SearchParamForDescribeAuditLogDetailInput) GoString added in v1.1.18

GoString returns the string representation

func (*SearchParamForDescribeAuditLogDetailInput) SetAffectRowDown added in v1.1.18

SetAffectRowDown sets the AffectRowDown field's value.

func (*SearchParamForDescribeAuditLogDetailInput) SetAffectRowUp added in v1.1.18

SetAffectRowUp sets the AffectRowUp field's value.

func (*SearchParamForDescribeAuditLogDetailInput) SetDBs added in v1.1.18

SetDBs sets the DBs field's value.

func (*SearchParamForDescribeAuditLogDetailInput) SetDuringDown added in v1.1.18

SetDuringDown sets the DuringDown field's value.

func (*SearchParamForDescribeAuditLogDetailInput) SetDuringUp added in v1.1.18

SetDuringUp sets the DuringUp field's value.

func (*SearchParamForDescribeAuditLogDetailInput) SetLogLevels added in v1.1.18

SetLogLevels sets the LogLevels field's value.

func (*SearchParamForDescribeAuditLogDetailInput) SetLogType added in v1.1.18

SetLogType sets the LogType field's value.

func (*SearchParamForDescribeAuditLogDetailInput) SetNodeId added in v1.1.18

SetNodeId sets the NodeId field's value.

func (*SearchParamForDescribeAuditLogDetailInput) SetSourceIPs added in v1.1.18

SetSourceIPs sets the SourceIPs field's value.

func (*SearchParamForDescribeAuditLogDetailInput) SetSqlFingerprint added in v1.1.18

SetSqlFingerprint sets the SqlFingerprint field's value.

func (*SearchParamForDescribeAuditLogDetailInput) SetSqlMethods added in v1.1.18

SetSqlMethods sets the SqlMethods field's value.

func (*SearchParamForDescribeAuditLogDetailInput) SetTables added in v1.1.18

SetTables sets the Tables field's value.

func (*SearchParamForDescribeAuditLogDetailInput) SetUsers added in v1.1.18

SetUsers sets the Users field's value.

func (SearchParamForDescribeAuditLogDetailInput) String added in v1.1.18

String returns the string representation

type SearchParamForDescribeSlowLogsInput

type SearchParamForDescribeSlowLogsInput struct {
	DBs []*string `type:"list" json:",omitempty"`

	MaxQueryTime *float64 `type:"double" json:",omitempty"`

	MinQueryTime *float64 `type:"double" json:",omitempty"`

	SQLTemplate *string `type:"string" json:",omitempty"`

	SQLTemplateID *string `type:"string" json:",omitempty"`

	SourceIPs []*string `type:"list" json:",omitempty"`

	Users []*string `type:"list" json:",omitempty"`
	// contains filtered or unexported fields
}

func (SearchParamForDescribeSlowLogsInput) GoString

GoString returns the string representation

func (*SearchParamForDescribeSlowLogsInput) SetDBs

SetDBs sets the DBs field's value.

func (*SearchParamForDescribeSlowLogsInput) SetMaxQueryTime

SetMaxQueryTime sets the MaxQueryTime field's value.

func (*SearchParamForDescribeSlowLogsInput) SetMinQueryTime

SetMinQueryTime sets the MinQueryTime field's value.

func (*SearchParamForDescribeSlowLogsInput) SetSQLTemplate

SetSQLTemplate sets the SQLTemplate field's value.

func (*SearchParamForDescribeSlowLogsInput) SetSQLTemplateID added in v1.1.18

SetSQLTemplateID sets the SQLTemplateID field's value.

func (*SearchParamForDescribeSlowLogsInput) SetSourceIPs

SetSourceIPs sets the SourceIPs field's value.

func (*SearchParamForDescribeSlowLogsInput) SetUsers

SetUsers sets the Users field's value.

func (SearchParamForDescribeSlowLogsInput) String

String returns the string representation

type SlowLogForDescribeSlowLogsOutput

type SlowLogForDescribeSlowLogsOutput struct {
	ConnectionId *int32 `type:"int32" json:",omitempty"`

	DB *string `type:"string" json:",omitempty"`

	LockTime *float64 `type:"double" json:",omitempty"`

	QueryTime *float64 `type:"double" json:",omitempty"`

	RowsExamined *int32 `type:"int32" json:",omitempty"`

	RowsSent *int32 `type:"int32" json:",omitempty"`

	SQLTemplate *string `type:"string" json:",omitempty"`

	SQLText *string `type:"string" json:",omitempty"`

	SourceIP *string `type:"string" json:",omitempty"`

	SqlFingerprint *string `type:"string" json:",omitempty"`

	SqlMethod *string `type:"string" json:",omitempty"`

	Table *string `type:"string" json:",omitempty"`

	Timestamp *int32 `type:"int32" json:",omitempty"`

	User *string `type:"string" json:",omitempty"`
	// contains filtered or unexported fields
}

func (SlowLogForDescribeSlowLogsOutput) GoString

GoString returns the string representation

func (*SlowLogForDescribeSlowLogsOutput) SetConnectionId

SetConnectionId sets the ConnectionId field's value.

func (*SlowLogForDescribeSlowLogsOutput) SetDB

SetDB sets the DB field's value.

func (*SlowLogForDescribeSlowLogsOutput) SetLockTime

SetLockTime sets the LockTime field's value.

func (*SlowLogForDescribeSlowLogsOutput) SetQueryTime

SetQueryTime sets the QueryTime field's value.

func (*SlowLogForDescribeSlowLogsOutput) SetRowsExamined

SetRowsExamined sets the RowsExamined field's value.

func (*SlowLogForDescribeSlowLogsOutput) SetRowsSent

SetRowsSent sets the RowsSent field's value.

func (*SlowLogForDescribeSlowLogsOutput) SetSQLTemplate added in v1.1.18

SetSQLTemplate sets the SQLTemplate field's value.

func (*SlowLogForDescribeSlowLogsOutput) SetSQLText

SetSQLText sets the SQLText field's value.

func (*SlowLogForDescribeSlowLogsOutput) SetSourceIP

SetSourceIP sets the SourceIP field's value.

func (*SlowLogForDescribeSlowLogsOutput) SetSqlFingerprint added in v1.1.18

SetSqlFingerprint sets the SqlFingerprint field's value.

func (*SlowLogForDescribeSlowLogsOutput) SetSqlMethod added in v1.1.18

SetSqlMethod sets the SqlMethod field's value.

func (*SlowLogForDescribeSlowLogsOutput) SetTable added in v1.1.18

SetTable sets the Table field's value.

func (*SlowLogForDescribeSlowLogsOutput) SetTimestamp

SetTimestamp sets the Timestamp field's value.

func (*SlowLogForDescribeSlowLogsOutput) SetUser

SetUser sets the User field's value.

func (SlowLogForDescribeSlowLogsOutput) String

String returns the string representation

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL