rds

package
Version: v0.0.0-...-112a489 Latest Latest
Warning

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

Go to latest
Published: Oct 13, 2016 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// ECSDefaultEndpoint is the default API endpoint of RDS services
	RDSDefaultEndpoint = "https://rds.aliyuncs.com"
	RDSAPIVersion      = "2014-08-15"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	common.Client
}

func NewClient

func NewClient(accessKeyId, accessKeySecret string) *Client

NewClient creates a new instance of RDS client

func NewClientWithEndpoint

func NewClientWithEndpoint(endpoint string, accessKeyId, accessKeySecret string) *Client

func (*Client) DescribeDBInstancePerformance

func (client *Client) DescribeDBInstancePerformance(args *DescribeDBInstancePerformanceArgs) (resp DescribeDBInstancePerformanceResponse, err error)

type DescribeDBInstancePerformanceArgs

type DescribeDBInstancePerformanceArgs struct {
	DBInstanceId string

	StartTime string
	EndTime   string
	// contains filtered or unexported fields
}

func (*DescribeDBInstancePerformanceArgs) Setkey

func (client *DescribeDBInstancePerformanceArgs) Setkey(key string)

type DescribeDBInstancePerformanceResponse

type DescribeDBInstancePerformanceResponse struct {
	common.Response
	DBInstanceId    string
	Engine          string
	StartTime       util.ISO6801Time
	EndTime         util.ISO6801Time
	PerformanceKeys struct {
		PerformanceKey []PerformanceKeyType
	}
}

type PerformanceKeyType

type PerformanceKeyType struct {
	Key         string
	Unit        string
	ValueFormat string
	Values      struct {
		PerformanceValue []PerformanceValueType
	}
}

type PerformanceValueType

type PerformanceValueType struct {
	Value string
	Date  util.ISO6801Time
}

Jump to

Keyboard shortcuts

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