dms_dg

package
v1.62.804 Latest Latest
Warning

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

Go to latest
Published: Aug 2, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AddDatabaseListRequest

type AddDatabaseListRequest struct {
	*requests.RpcRequest
	DatabaseString string `position:"Body" name:"DatabaseString"`
	ClientToken    string `position:"Body" name:"ClientToken"`
}

AddDatabaseListRequest is the request struct for api AddDatabaseList

func CreateAddDatabaseListRequest

func CreateAddDatabaseListRequest() (request *AddDatabaseListRequest)

CreateAddDatabaseListRequest creates a request to invoke AddDatabaseList API

type AddDatabaseListResponse

type AddDatabaseListResponse struct {
	*responses.BaseResponse
	Code      string `json:"Code" xml:"Code"`
	Data      string `json:"Data" xml:"Data"`
	ErrorMsg  string `json:"ErrorMsg" xml:"ErrorMsg"`
	RequestId string `json:"RequestId" xml:"RequestId"`
	Success   bool   `json:"Success" xml:"Success"`
}

AddDatabaseListResponse is the response struct for api AddDatabaseList

func CreateAddDatabaseListResponse

func CreateAddDatabaseListResponse() (response *AddDatabaseListResponse)

CreateAddDatabaseListResponse creates a response to parse from AddDatabaseList response

type AddDatabaseRequest

type AddDatabaseRequest struct {
	*requests.RpcRequest
	ClientToken   string           `position:"Body" name:"ClientToken"`
	Host          string           `position:"Body" name:"Host"`
	DbUserName    string           `position:"Body" name:"DbUserName"`
	DbDescription string           `position:"Body" name:"DbDescription"`
	GatewayId     string           `position:"Body" name:"GatewayId"`
	DbName        string           `position:"Body" name:"DbName"`
	Port          requests.Integer `position:"Body" name:"Port"`
	DbPassword    string           `position:"Body" name:"DbPassword"`
	DbType        string           `position:"Body" name:"DbType"`
}

AddDatabaseRequest is the request struct for api AddDatabase

func CreateAddDatabaseRequest

func CreateAddDatabaseRequest() (request *AddDatabaseRequest)

CreateAddDatabaseRequest creates a request to invoke AddDatabase API

type AddDatabaseResponse

type AddDatabaseResponse struct {
	*responses.BaseResponse
	Code       string     `json:"Code" xml:"Code"`
	ErrorMsg   string     `json:"ErrorMsg" xml:"ErrorMsg"`
	RequestId  string     `json:"RequestId" xml:"RequestId"`
	Success    bool       `json:"Success" xml:"Success"`
	DbInstance DbInstance `json:"DbInstance" xml:"DbInstance"`
}

AddDatabaseResponse is the response struct for api AddDatabase

func CreateAddDatabaseResponse

func CreateAddDatabaseResponse() (response *AddDatabaseResponse)

CreateAddDatabaseResponse creates a response to parse from AddDatabase response

type CheckDGEnabledRequest

type CheckDGEnabledRequest struct {
	*requests.RpcRequest
}

CheckDGEnabledRequest is the request struct for api CheckDGEnabled

func CreateCheckDGEnabledRequest

func CreateCheckDGEnabledRequest() (request *CheckDGEnabledRequest)

CreateCheckDGEnabledRequest creates a request to invoke CheckDGEnabled API

type CheckDGEnabledResponse

type CheckDGEnabledResponse struct {
	*responses.BaseResponse
	Code      string `json:"Code" xml:"Code"`
	Data      string `json:"Data" xml:"Data"`
	ErrorMsg  string `json:"ErrorMsg" xml:"ErrorMsg"`
	RequestId string `json:"RequestId" xml:"RequestId"`
	Success   bool   `json:"Success" xml:"Success"`
}

CheckDGEnabledResponse is the response struct for api CheckDGEnabled

func CreateCheckDGEnabledResponse

func CreateCheckDGEnabledResponse() (response *CheckDGEnabledResponse)

CreateCheckDGEnabledResponse creates a response to parse from CheckDGEnabled response

type Client

type Client struct {
	sdk.Client
}

Client is the sdk client struct, each func corresponds to an OpenAPI

func NewClient

func NewClient() (client *Client, err error)

NewClient creates a sdk client with environment variables

func NewClientWithAccessKey

func NewClientWithAccessKey(regionId, accessKeyId, accessKeySecret string) (client *Client, err error)

NewClientWithAccessKey is a shortcut to create sdk client with accesskey usage: https://github.com/aliyun/alibaba-cloud-sdk-go/blob/master/docs/2-Client-EN.md

func NewClientWithEcsRamRole

func NewClientWithEcsRamRole(regionId string, roleName string) (client *Client, err error)

NewClientWithEcsRamRole is a shortcut to create sdk client with ecs ram role usage: https://github.com/aliyun/alibaba-cloud-sdk-go/blob/master/docs/2-Client-EN.md

func NewClientWithOptions

func NewClientWithOptions(regionId string, config *sdk.Config, credential auth.Credential) (client *Client, err error)

NewClientWithOptions creates a sdk client with regionId/sdkConfig/credential this is the common api to create a sdk client

func NewClientWithProvider

func NewClientWithProvider(regionId string, providers ...provider.Provider) (client *Client, err error)

NewClientWithProvider creates a sdk client with providers usage: https://github.com/aliyun/alibaba-cloud-sdk-go/blob/master/docs/2-Client-EN.md

func NewClientWithRamRoleArn

func NewClientWithRamRoleArn(regionId string, accessKeyId, accessKeySecret, roleArn, roleSessionName string) (client *Client, err error)

NewClientWithRamRoleArn is a shortcut to create sdk client with ram roleArn usage: https://github.com/aliyun/alibaba-cloud-sdk-go/blob/master/docs/2-Client-EN.md

func NewClientWithRamRoleArnAndPolicy

func NewClientWithRamRoleArnAndPolicy(regionId string, accessKeyId, accessKeySecret, roleArn, roleSessionName, policy string) (client *Client, err error)

NewClientWithRamRoleArn is a shortcut to create sdk client with ram roleArn and policy usage: https://github.com/aliyun/alibaba-cloud-sdk-go/blob/master/docs/2-Client-EN.md

func NewClientWithRsaKeyPair

func NewClientWithRsaKeyPair(regionId string, publicKeyId, privateKey string, sessionExpiration int) (client *Client, err error)

NewClientWithRsaKeyPair is a shortcut to create sdk client with rsa key pair usage: https://github.com/aliyun/alibaba-cloud-sdk-go/blob/master/docs/2-Client-EN.md

func NewClientWithStsToken

func NewClientWithStsToken(regionId, stsAccessKeyId, stsAccessKeySecret, stsToken string) (client *Client, err error)

NewClientWithStsToken is a shortcut to create sdk client with sts token usage: https://github.com/aliyun/alibaba-cloud-sdk-go/blob/master/docs/2-Client-EN.md

func (*Client) AddDatabase

func (client *Client) AddDatabase(request *AddDatabaseRequest) (response *AddDatabaseResponse, err error)

AddDatabase invokes the dms_dg.AddDatabase API synchronously

func (*Client) AddDatabaseList

func (client *Client) AddDatabaseList(request *AddDatabaseListRequest) (response *AddDatabaseListResponse, err error)

AddDatabaseList invokes the dms_dg.AddDatabaseList API synchronously

func (*Client) AddDatabaseListWithCallback

func (client *Client) AddDatabaseListWithCallback(request *AddDatabaseListRequest, callback func(response *AddDatabaseListResponse, err error)) <-chan int

AddDatabaseListWithCallback invokes the dms_dg.AddDatabaseList API asynchronously

func (*Client) AddDatabaseListWithChan

func (client *Client) AddDatabaseListWithChan(request *AddDatabaseListRequest) (<-chan *AddDatabaseListResponse, <-chan error)

AddDatabaseListWithChan invokes the dms_dg.AddDatabaseList API asynchronously

func (*Client) AddDatabaseWithCallback

func (client *Client) AddDatabaseWithCallback(request *AddDatabaseRequest, callback func(response *AddDatabaseResponse, err error)) <-chan int

AddDatabaseWithCallback invokes the dms_dg.AddDatabase API asynchronously

func (*Client) AddDatabaseWithChan

func (client *Client) AddDatabaseWithChan(request *AddDatabaseRequest) (<-chan *AddDatabaseResponse, <-chan error)

AddDatabaseWithChan invokes the dms_dg.AddDatabase API asynchronously

func (*Client) CheckDGEnabled

func (client *Client) CheckDGEnabled(request *CheckDGEnabledRequest) (response *CheckDGEnabledResponse, err error)

CheckDGEnabled invokes the dms_dg.CheckDGEnabled API synchronously

func (*Client) CheckDGEnabledWithCallback

func (client *Client) CheckDGEnabledWithCallback(request *CheckDGEnabledRequest, callback func(response *CheckDGEnabledResponse, err error)) <-chan int

CheckDGEnabledWithCallback invokes the dms_dg.CheckDGEnabled API asynchronously

func (*Client) CheckDGEnabledWithChan

func (client *Client) CheckDGEnabledWithChan(request *CheckDGEnabledRequest) (<-chan *CheckDGEnabledResponse, <-chan error)

CheckDGEnabledWithChan invokes the dms_dg.CheckDGEnabled API asynchronously

func (*Client) ConnectDatabase

func (client *Client) ConnectDatabase(request *ConnectDatabaseRequest) (response *ConnectDatabaseResponse, err error)

ConnectDatabase invokes the dms_dg.ConnectDatabase API synchronously

func (*Client) ConnectDatabaseWithCallback

func (client *Client) ConnectDatabaseWithCallback(request *ConnectDatabaseRequest, callback func(response *ConnectDatabaseResponse, err error)) <-chan int

ConnectDatabaseWithCallback invokes the dms_dg.ConnectDatabase API asynchronously

func (*Client) ConnectDatabaseWithChan

func (client *Client) ConnectDatabaseWithChan(request *ConnectDatabaseRequest) (<-chan *ConnectDatabaseResponse, <-chan error)

ConnectDatabaseWithChan invokes the dms_dg.ConnectDatabase API asynchronously

func (*Client) CreateGateway

func (client *Client) CreateGateway(request *CreateGatewayRequest) (response *CreateGatewayResponse, err error)

CreateGateway invokes the dms_dg.CreateGateway API synchronously

func (*Client) CreateGatewayVerifyCode

func (client *Client) CreateGatewayVerifyCode(request *CreateGatewayVerifyCodeRequest) (response *CreateGatewayVerifyCodeResponse, err error)

CreateGatewayVerifyCode invokes the dms_dg.CreateGatewayVerifyCode API synchronously

func (*Client) CreateGatewayVerifyCodeWithCallback

func (client *Client) CreateGatewayVerifyCodeWithCallback(request *CreateGatewayVerifyCodeRequest, callback func(response *CreateGatewayVerifyCodeResponse, err error)) <-chan int

CreateGatewayVerifyCodeWithCallback invokes the dms_dg.CreateGatewayVerifyCode API asynchronously

func (*Client) CreateGatewayVerifyCodeWithChan

func (client *Client) CreateGatewayVerifyCodeWithChan(request *CreateGatewayVerifyCodeRequest) (<-chan *CreateGatewayVerifyCodeResponse, <-chan error)

CreateGatewayVerifyCodeWithChan invokes the dms_dg.CreateGatewayVerifyCode API asynchronously

func (*Client) CreateGatewayWithCallback

func (client *Client) CreateGatewayWithCallback(request *CreateGatewayRequest, callback func(response *CreateGatewayResponse, err error)) <-chan int

CreateGatewayWithCallback invokes the dms_dg.CreateGateway API asynchronously

func (*Client) CreateGatewayWithChan

func (client *Client) CreateGatewayWithChan(request *CreateGatewayRequest) (<-chan *CreateGatewayResponse, <-chan error)

CreateGatewayWithChan invokes the dms_dg.CreateGateway API asynchronously

func (*Client) DeleteDatabase

func (client *Client) DeleteDatabase(request *DeleteDatabaseRequest) (response *DeleteDatabaseResponse, err error)

DeleteDatabase invokes the dms_dg.DeleteDatabase API synchronously

func (*Client) DeleteDatabaseWithCallback

func (client *Client) DeleteDatabaseWithCallback(request *DeleteDatabaseRequest, callback func(response *DeleteDatabaseResponse, err error)) <-chan int

DeleteDatabaseWithCallback invokes the dms_dg.DeleteDatabase API asynchronously

func (*Client) DeleteDatabaseWithChan

func (client *Client) DeleteDatabaseWithChan(request *DeleteDatabaseRequest) (<-chan *DeleteDatabaseResponse, <-chan error)

DeleteDatabaseWithChan invokes the dms_dg.DeleteDatabase API asynchronously

func (*Client) DeleteGateway

func (client *Client) DeleteGateway(request *DeleteGatewayRequest) (response *DeleteGatewayResponse, err error)

DeleteGateway invokes the dms_dg.DeleteGateway API synchronously

func (*Client) DeleteGatewayInstance

func (client *Client) DeleteGatewayInstance(request *DeleteGatewayInstanceRequest) (response *DeleteGatewayInstanceResponse, err error)

DeleteGatewayInstance invokes the dms_dg.DeleteGatewayInstance API synchronously

func (*Client) DeleteGatewayInstanceWithCallback

func (client *Client) DeleteGatewayInstanceWithCallback(request *DeleteGatewayInstanceRequest, callback func(response *DeleteGatewayInstanceResponse, err error)) <-chan int

DeleteGatewayInstanceWithCallback invokes the dms_dg.DeleteGatewayInstance API asynchronously

func (*Client) DeleteGatewayInstanceWithChan

func (client *Client) DeleteGatewayInstanceWithChan(request *DeleteGatewayInstanceRequest) (<-chan *DeleteGatewayInstanceResponse, <-chan error)

DeleteGatewayInstanceWithChan invokes the dms_dg.DeleteGatewayInstance API asynchronously

func (*Client) DeleteGatewayWithCallback

func (client *Client) DeleteGatewayWithCallback(request *DeleteGatewayRequest, callback func(response *DeleteGatewayResponse, err error)) <-chan int

DeleteGatewayWithCallback invokes the dms_dg.DeleteGateway API asynchronously

func (*Client) DeleteGatewayWithChan

func (client *Client) DeleteGatewayWithChan(request *DeleteGatewayRequest) (<-chan *DeleteGatewayResponse, <-chan error)

DeleteGatewayWithChan invokes the dms_dg.DeleteGateway API asynchronously

func (*Client) DescribeRegions

func (client *Client) DescribeRegions(request *DescribeRegionsRequest) (response *DescribeRegionsResponse, err error)

DescribeRegions invokes the dms_dg.DescribeRegions API synchronously

func (*Client) DescribeRegionsWithCallback

func (client *Client) DescribeRegionsWithCallback(request *DescribeRegionsRequest, callback func(response *DescribeRegionsResponse, err error)) <-chan int

DescribeRegionsWithCallback invokes the dms_dg.DescribeRegions API asynchronously

func (*Client) DescribeRegionsWithChan

func (client *Client) DescribeRegionsWithChan(request *DescribeRegionsRequest) (<-chan *DescribeRegionsResponse, <-chan error)

DescribeRegionsWithChan invokes the dms_dg.DescribeRegions API asynchronously

func (*Client) DownloadGatewayProgram

func (client *Client) DownloadGatewayProgram(request *DownloadGatewayProgramRequest) (response *DownloadGatewayProgramResponse, err error)

DownloadGatewayProgram invokes the dms_dg.DownloadGatewayProgram API synchronously

func (*Client) DownloadGatewayProgramWithCallback

func (client *Client) DownloadGatewayProgramWithCallback(request *DownloadGatewayProgramRequest, callback func(response *DownloadGatewayProgramResponse, err error)) <-chan int

DownloadGatewayProgramWithCallback invokes the dms_dg.DownloadGatewayProgram API asynchronously

func (*Client) DownloadGatewayProgramWithChan

func (client *Client) DownloadGatewayProgramWithChan(request *DownloadGatewayProgramRequest) (<-chan *DownloadGatewayProgramResponse, <-chan error)

DownloadGatewayProgramWithChan invokes the dms_dg.DownloadGatewayProgram API asynchronously

func (*Client) FindUserGatewayById

func (client *Client) FindUserGatewayById(request *FindUserGatewayByIdRequest) (response *FindUserGatewayByIdResponse, err error)

FindUserGatewayById invokes the dms_dg.FindUserGatewayById API synchronously

func (*Client) FindUserGatewayByIdWithCallback

func (client *Client) FindUserGatewayByIdWithCallback(request *FindUserGatewayByIdRequest, callback func(response *FindUserGatewayByIdResponse, err error)) <-chan int

FindUserGatewayByIdWithCallback invokes the dms_dg.FindUserGatewayById API asynchronously

func (*Client) FindUserGatewayByIdWithChan

func (client *Client) FindUserGatewayByIdWithChan(request *FindUserGatewayByIdRequest) (<-chan *FindUserGatewayByIdResponse, <-chan error)

FindUserGatewayByIdWithChan invokes the dms_dg.FindUserGatewayById API asynchronously

func (*Client) GetUserDatabases

func (client *Client) GetUserDatabases(request *GetUserDatabasesRequest) (response *GetUserDatabasesResponse, err error)

GetUserDatabases invokes the dms_dg.GetUserDatabases API synchronously

func (*Client) GetUserDatabasesWithCallback

func (client *Client) GetUserDatabasesWithCallback(request *GetUserDatabasesRequest, callback func(response *GetUserDatabasesResponse, err error)) <-chan int

GetUserDatabasesWithCallback invokes the dms_dg.GetUserDatabases API asynchronously

func (*Client) GetUserDatabasesWithChan

func (client *Client) GetUserDatabasesWithChan(request *GetUserDatabasesRequest) (<-chan *GetUserDatabasesResponse, <-chan error)

GetUserDatabasesWithChan invokes the dms_dg.GetUserDatabases API asynchronously

func (*Client) GetUserGatewayInstances

func (client *Client) GetUserGatewayInstances(request *GetUserGatewayInstancesRequest) (response *GetUserGatewayInstancesResponse, err error)

GetUserGatewayInstances invokes the dms_dg.GetUserGatewayInstances API synchronously

func (*Client) GetUserGatewayInstancesWithCallback

func (client *Client) GetUserGatewayInstancesWithCallback(request *GetUserGatewayInstancesRequest, callback func(response *GetUserGatewayInstancesResponse, err error)) <-chan int

GetUserGatewayInstancesWithCallback invokes the dms_dg.GetUserGatewayInstances API asynchronously

func (*Client) GetUserGatewayInstancesWithChan

func (client *Client) GetUserGatewayInstancesWithChan(request *GetUserGatewayInstancesRequest) (<-chan *GetUserGatewayInstancesResponse, <-chan error)

GetUserGatewayInstancesWithChan invokes the dms_dg.GetUserGatewayInstances API asynchronously

func (*Client) GetUserGateways

func (client *Client) GetUserGateways(request *GetUserGatewaysRequest) (response *GetUserGatewaysResponse, err error)

GetUserGateways invokes the dms_dg.GetUserGateways API synchronously

func (*Client) GetUserGatewaysWithCallback

func (client *Client) GetUserGatewaysWithCallback(request *GetUserGatewaysRequest, callback func(response *GetUserGatewaysResponse, err error)) <-chan int

GetUserGatewaysWithCallback invokes the dms_dg.GetUserGateways API asynchronously

func (*Client) GetUserGatewaysWithChan

func (client *Client) GetUserGatewaysWithChan(request *GetUserGatewaysRequest) (<-chan *GetUserGatewaysResponse, <-chan error)

GetUserGatewaysWithChan invokes the dms_dg.GetUserGateways API asynchronously

func (*Client) ListDatabaseAccessPoint

func (client *Client) ListDatabaseAccessPoint(request *ListDatabaseAccessPointRequest) (response *ListDatabaseAccessPointResponse, err error)

ListDatabaseAccessPoint invokes the dms_dg.ListDatabaseAccessPoint API synchronously

func (*Client) ListDatabaseAccessPointWithCallback

func (client *Client) ListDatabaseAccessPointWithCallback(request *ListDatabaseAccessPointRequest, callback func(response *ListDatabaseAccessPointResponse, err error)) <-chan int

ListDatabaseAccessPointWithCallback invokes the dms_dg.ListDatabaseAccessPoint API asynchronously

func (*Client) ListDatabaseAccessPointWithChan

func (client *Client) ListDatabaseAccessPointWithChan(request *ListDatabaseAccessPointRequest) (<-chan *ListDatabaseAccessPointResponse, <-chan error)

ListDatabaseAccessPointWithChan invokes the dms_dg.ListDatabaseAccessPoint API asynchronously

func (*Client) ModifyDatabase

func (client *Client) ModifyDatabase(request *ModifyDatabaseRequest) (response *ModifyDatabaseResponse, err error)

ModifyDatabase invokes the dms_dg.ModifyDatabase API synchronously

func (*Client) ModifyDatabaseWithCallback

func (client *Client) ModifyDatabaseWithCallback(request *ModifyDatabaseRequest, callback func(response *ModifyDatabaseResponse, err error)) <-chan int

ModifyDatabaseWithCallback invokes the dms_dg.ModifyDatabase API asynchronously

func (*Client) ModifyDatabaseWithChan

func (client *Client) ModifyDatabaseWithChan(request *ModifyDatabaseRequest) (<-chan *ModifyDatabaseResponse, <-chan error)

ModifyDatabaseWithChan invokes the dms_dg.ModifyDatabase API asynchronously

func (*Client) ModifyGateway

func (client *Client) ModifyGateway(request *ModifyGatewayRequest) (response *ModifyGatewayResponse, err error)

ModifyGateway invokes the dms_dg.ModifyGateway API synchronously

func (*Client) ModifyGatewayWithCallback

func (client *Client) ModifyGatewayWithCallback(request *ModifyGatewayRequest, callback func(response *ModifyGatewayResponse, err error)) <-chan int

ModifyGatewayWithCallback invokes the dms_dg.ModifyGateway API asynchronously

func (*Client) ModifyGatewayWithChan

func (client *Client) ModifyGatewayWithChan(request *ModifyGatewayRequest) (<-chan *ModifyGatewayResponse, <-chan error)

ModifyGatewayWithChan invokes the dms_dg.ModifyGateway API asynchronously

func (*Client) RetryDatabase

func (client *Client) RetryDatabase(request *RetryDatabaseRequest) (response *RetryDatabaseResponse, err error)

RetryDatabase invokes the dms_dg.RetryDatabase API synchronously

func (*Client) RetryDatabaseWithCallback

func (client *Client) RetryDatabaseWithCallback(request *RetryDatabaseRequest, callback func(response *RetryDatabaseResponse, err error)) <-chan int

RetryDatabaseWithCallback invokes the dms_dg.RetryDatabase API asynchronously

func (*Client) RetryDatabaseWithChan

func (client *Client) RetryDatabaseWithChan(request *RetryDatabaseRequest) (<-chan *RetryDatabaseResponse, <-chan error)

RetryDatabaseWithChan invokes the dms_dg.RetryDatabase API asynchronously

func (*Client) StopGateway

func (client *Client) StopGateway(request *StopGatewayRequest) (response *StopGatewayResponse, err error)

StopGateway invokes the dms_dg.StopGateway API synchronously

func (*Client) StopGatewayWithCallback

func (client *Client) StopGatewayWithCallback(request *StopGatewayRequest, callback func(response *StopGatewayResponse, err error)) <-chan int

StopGatewayWithCallback invokes the dms_dg.StopGateway API asynchronously

func (*Client) StopGatewayWithChan

func (client *Client) StopGatewayWithChan(request *StopGatewayRequest) (<-chan *StopGatewayResponse, <-chan error)

StopGatewayWithChan invokes the dms_dg.StopGateway API asynchronously

type ConnectDatabaseRequest

type ConnectDatabaseRequest struct {
	*requests.RpcRequest
	DbName     string           `position:"Body" name:"DbName"`
	Port       requests.Integer `position:"Body" name:"Port"`
	DbPassword string           `position:"Body" name:"DbPassword"`
	Host       string           `position:"Body" name:"Host"`
	DbType     string           `position:"Body" name:"DbType"`
	DbUserName string           `position:"Body" name:"DbUserName"`
	GatewayId  string           `position:"Body" name:"GatewayId"`
}

ConnectDatabaseRequest is the request struct for api ConnectDatabase

func CreateConnectDatabaseRequest

func CreateConnectDatabaseRequest() (request *ConnectDatabaseRequest)

CreateConnectDatabaseRequest creates a request to invoke ConnectDatabase API

type ConnectDatabaseResponse

type ConnectDatabaseResponse struct {
	*responses.BaseResponse
	Code      string `json:"Code" xml:"Code"`
	Data      string `json:"Data" xml:"Data"`
	ErrorMsg  string `json:"ErrorMsg" xml:"ErrorMsg"`
	RequestId string `json:"RequestId" xml:"RequestId"`
	Success   bool   `json:"Success" xml:"Success"`
}

ConnectDatabaseResponse is the response struct for api ConnectDatabase

func CreateConnectDatabaseResponse

func CreateConnectDatabaseResponse() (response *ConnectDatabaseResponse)

CreateConnectDatabaseResponse creates a response to parse from ConnectDatabase response

type CreateGatewayRequest

type CreateGatewayRequest struct {
	*requests.RpcRequest
	GatewayDesc string `position:"Body" name:"GatewayDesc"`
	GatewayName string `position:"Body" name:"GatewayName"`
}

CreateGatewayRequest is the request struct for api CreateGateway

func CreateCreateGatewayRequest

func CreateCreateGatewayRequest() (request *CreateGatewayRequest)

CreateCreateGatewayRequest creates a request to invoke CreateGateway API

type CreateGatewayResponse

type CreateGatewayResponse struct {
	*responses.BaseResponse
	Code      string `json:"Code" xml:"Code"`
	Data      string `json:"Data" xml:"Data"`
	ErrorMsg  string `json:"ErrorMsg" xml:"ErrorMsg"`
	RequestId string `json:"RequestId" xml:"RequestId"`
	Success   bool   `json:"Success" xml:"Success"`
}

CreateGatewayResponse is the response struct for api CreateGateway

func CreateCreateGatewayResponse

func CreateCreateGatewayResponse() (response *CreateGatewayResponse)

CreateCreateGatewayResponse creates a response to parse from CreateGateway response

type CreateGatewayVerifyCodeRequest

type CreateGatewayVerifyCodeRequest struct {
	*requests.RpcRequest
	GatewayId string `position:"Body" name:"GatewayId"`
}

CreateGatewayVerifyCodeRequest is the request struct for api CreateGatewayVerifyCode

func CreateCreateGatewayVerifyCodeRequest

func CreateCreateGatewayVerifyCodeRequest() (request *CreateGatewayVerifyCodeRequest)

CreateCreateGatewayVerifyCodeRequest creates a request to invoke CreateGatewayVerifyCode API

type CreateGatewayVerifyCodeResponse

type CreateGatewayVerifyCodeResponse struct {
	*responses.BaseResponse
	Code      string `json:"Code" xml:"Code"`
	Data      string `json:"Data" xml:"Data"`
	ErrorMsg  string `json:"ErrorMsg" xml:"ErrorMsg"`
	RequestId string `json:"RequestId" xml:"RequestId"`
	Success   bool   `json:"Success" xml:"Success"`
}

CreateGatewayVerifyCodeResponse is the response struct for api CreateGatewayVerifyCode

func CreateCreateGatewayVerifyCodeResponse

func CreateCreateGatewayVerifyCodeResponse() (response *CreateGatewayVerifyCodeResponse)

CreateCreateGatewayVerifyCodeResponse creates a response to parse from CreateGatewayVerifyCode response

type DbInstance

type DbInstance struct {
	Port           int    `json:"Port" xml:"Port"`
	VpcInstanceId  string `json:"VpcInstanceId" xml:"VpcInstanceId"`
	ParentId       string `json:"ParentId" xml:"ParentId"`
	GatewayName    string `json:"GatewayName" xml:"GatewayName"`
	GatewayId      string `json:"GatewayId" xml:"GatewayId"`
	ConnectHost    string `json:"ConnectHost" xml:"ConnectHost"`
	ConnectPort    int    `json:"ConnectPort" xml:"ConnectPort"`
	DbType         string `json:"DbType" xml:"DbType"`
	GmtCreate      int64  `json:"GmtCreate" xml:"GmtCreate"`
	Host           string `json:"Host" xml:"Host"`
	NodeId         string `json:"NodeId" xml:"NodeId"`
	RegionId       string `json:"RegionId" xml:"RegionId"`
	InstanceId     string `json:"InstanceId" xml:"InstanceId"`
	UserId         string `json:"UserId" xml:"UserId"`
	InstanceStatus string `json:"InstanceStatus" xml:"InstanceStatus"`
	DbDescription  string `json:"DbDescription" xml:"DbDescription"`
	NetworkType    string `json:"NetworkType" xml:"NetworkType"`
	VpcId          string `json:"VpcId" xml:"VpcId"`
	ServiceType    string `json:"ServiceType" xml:"ServiceType"`
}

DbInstance is a nested struct in dms_dg response

type DbInstanceAccessPoint

type DbInstanceAccessPoint struct {
	AccessAddr   string `json:"AccessAddr" xml:"AccessAddr"`
	AccessPort   int    `json:"AccessPort" xml:"AccessPort"`
	DbInstanceId string `json:"DbInstanceId" xml:"DbInstanceId"`
	GmtCreate    int64  `json:"GmtCreate" xml:"GmtCreate"`
	GmtModified  int64  `json:"GmtModified" xml:"GmtModified"`
	RouterId     string `json:"RouterId" xml:"RouterId"`
	VpcAzoneId   string `json:"VpcAzoneId" xml:"VpcAzoneId"`
	VpcId        string `json:"VpcId" xml:"VpcId"`
	VswitchId    string `json:"VswitchId" xml:"VswitchId"`
}

DbInstanceAccessPoint is a nested struct in dms_dg response

type DbInstanceAccessPointList

type DbInstanceAccessPointList struct {
	DbInstanceAccessPoint []DbInstanceAccessPoint `json:"DbInstanceAccessPoint" xml:"DbInstanceAccessPoint"`
}

DbInstanceAccessPointList is a nested struct in dms_dg response

type DbInstanceList

type DbInstanceList struct {
	DbInstance []DbInstance `json:"DbInstance" xml:"DbInstance"`
}

DbInstanceList is a nested struct in dms_dg response

type DeleteDatabaseRequest

type DeleteDatabaseRequest struct {
	*requests.RpcRequest
	InstanceId string `position:"Body" name:"InstanceId"`
}

DeleteDatabaseRequest is the request struct for api DeleteDatabase

func CreateDeleteDatabaseRequest

func CreateDeleteDatabaseRequest() (request *DeleteDatabaseRequest)

CreateDeleteDatabaseRequest creates a request to invoke DeleteDatabase API

type DeleteDatabaseResponse

type DeleteDatabaseResponse struct {
	*responses.BaseResponse
	Code      string `json:"Code" xml:"Code"`
	Data      string `json:"Data" xml:"Data"`
	ErrorMsg  string `json:"ErrorMsg" xml:"ErrorMsg"`
	RequestId string `json:"RequestId" xml:"RequestId"`
	Success   bool   `json:"Success" xml:"Success"`
}

DeleteDatabaseResponse is the response struct for api DeleteDatabase

func CreateDeleteDatabaseResponse

func CreateDeleteDatabaseResponse() (response *DeleteDatabaseResponse)

CreateDeleteDatabaseResponse creates a response to parse from DeleteDatabase response

type DeleteGatewayInstanceRequest

type DeleteGatewayInstanceRequest struct {
	*requests.RpcRequest
	GatewayInstanceId string `position:"Body" name:"GatewayInstanceId"`
	GatewayId         string `position:"Body" name:"GatewayId"`
}

DeleteGatewayInstanceRequest is the request struct for api DeleteGatewayInstance

func CreateDeleteGatewayInstanceRequest

func CreateDeleteGatewayInstanceRequest() (request *DeleteGatewayInstanceRequest)

CreateDeleteGatewayInstanceRequest creates a request to invoke DeleteGatewayInstance API

type DeleteGatewayInstanceResponse

type DeleteGatewayInstanceResponse struct {
	*responses.BaseResponse
	Code      string `json:"Code" xml:"Code"`
	Data      string `json:"Data" xml:"Data"`
	ErrorMsg  string `json:"ErrorMsg" xml:"ErrorMsg"`
	RequestId string `json:"RequestId" xml:"RequestId"`
	Success   bool   `json:"Success" xml:"Success"`
}

DeleteGatewayInstanceResponse is the response struct for api DeleteGatewayInstance

func CreateDeleteGatewayInstanceResponse

func CreateDeleteGatewayInstanceResponse() (response *DeleteGatewayInstanceResponse)

CreateDeleteGatewayInstanceResponse creates a response to parse from DeleteGatewayInstance response

type DeleteGatewayRequest

type DeleteGatewayRequest struct {
	*requests.RpcRequest
	GatewayId string `position:"Body" name:"GatewayId"`
}

DeleteGatewayRequest is the request struct for api DeleteGateway

func CreateDeleteGatewayRequest

func CreateDeleteGatewayRequest() (request *DeleteGatewayRequest)

CreateDeleteGatewayRequest creates a request to invoke DeleteGateway API

type DeleteGatewayResponse

type DeleteGatewayResponse struct {
	*responses.BaseResponse
	Code      string `json:"Code" xml:"Code"`
	Data      string `json:"Data" xml:"Data"`
	ErrorMsg  string `json:"ErrorMsg" xml:"ErrorMsg"`
	RequestId string `json:"RequestId" xml:"RequestId"`
	Success   bool   `json:"Success" xml:"Success"`
}

DeleteGatewayResponse is the response struct for api DeleteGateway

func CreateDeleteGatewayResponse

func CreateDeleteGatewayResponse() (response *DeleteGatewayResponse)

CreateDeleteGatewayResponse creates a response to parse from DeleteGateway response

type DescribeRegionsRequest

type DescribeRegionsRequest struct {
	*requests.RpcRequest
}

DescribeRegionsRequest is the request struct for api DescribeRegions

func CreateDescribeRegionsRequest

func CreateDescribeRegionsRequest() (request *DescribeRegionsRequest)

CreateDescribeRegionsRequest creates a request to invoke DescribeRegions API

type DescribeRegionsResponse

type DescribeRegionsResponse struct {
	*responses.BaseResponse
	Code      string  `json:"Code" xml:"Code"`
	ErrorMsg  string  `json:"ErrorMsg" xml:"ErrorMsg"`
	RequestId string  `json:"RequestId" xml:"RequestId"`
	Success   bool    `json:"Success" xml:"Success"`
	Regions   Regions `json:"Regions" xml:"Regions"`
}

DescribeRegionsResponse is the response struct for api DescribeRegions

func CreateDescribeRegionsResponse

func CreateDescribeRegionsResponse() (response *DescribeRegionsResponse)

CreateDescribeRegionsResponse creates a response to parse from DescribeRegions response

type DownloadGatewayProgramRequest

type DownloadGatewayProgramRequest struct {
	*requests.RpcRequest
	UserOS    string `position:"Body" name:"UserOS"`
	DgVersion string `position:"Body" name:"DgVersion"`
}

DownloadGatewayProgramRequest is the request struct for api DownloadGatewayProgram

func CreateDownloadGatewayProgramRequest

func CreateDownloadGatewayProgramRequest() (request *DownloadGatewayProgramRequest)

CreateDownloadGatewayProgramRequest creates a request to invoke DownloadGatewayProgram API

type DownloadGatewayProgramResponse

type DownloadGatewayProgramResponse struct {
	*responses.BaseResponse
	Code      string `json:"Code" xml:"Code"`
	Data      string `json:"Data" xml:"Data"`
	ErrorMsg  string `json:"ErrorMsg" xml:"ErrorMsg"`
	RequestId string `json:"RequestId" xml:"RequestId"`
	Success   bool   `json:"Success" xml:"Success"`
}

DownloadGatewayProgramResponse is the response struct for api DownloadGatewayProgram

func CreateDownloadGatewayProgramResponse

func CreateDownloadGatewayProgramResponse() (response *DownloadGatewayProgramResponse)

CreateDownloadGatewayProgramResponse creates a response to parse from DownloadGatewayProgram response

type FindUserGatewayByIdRequest

type FindUserGatewayByIdRequest struct {
	*requests.RpcRequest
	GatewayId string `position:"Body" name:"GatewayId"`
}

FindUserGatewayByIdRequest is the request struct for api FindUserGatewayById

func CreateFindUserGatewayByIdRequest

func CreateFindUserGatewayByIdRequest() (request *FindUserGatewayByIdRequest)

CreateFindUserGatewayByIdRequest creates a request to invoke FindUserGatewayById API

type FindUserGatewayByIdResponse

type FindUserGatewayByIdResponse struct {
	*responses.BaseResponse
	Code      string  `json:"Code" xml:"Code"`
	ErrorMsg  string  `json:"ErrorMsg" xml:"ErrorMsg"`
	RequestId string  `json:"RequestId" xml:"RequestId"`
	Success   bool    `json:"Success" xml:"Success"`
	Gateway   Gateway `json:"Gateway" xml:"Gateway"`
}

FindUserGatewayByIdResponse is the response struct for api FindUserGatewayById

func CreateFindUserGatewayByIdResponse

func CreateFindUserGatewayByIdResponse() (response *FindUserGatewayByIdResponse)

CreateFindUserGatewayByIdResponse creates a response to parse from FindUserGatewayById response

type Gateway

type Gateway struct {
	RegionId               string `json:"RegionId" xml:"RegionId"`
	ExceptionMsg           string `json:"ExceptionMsg" xml:"ExceptionMsg"`
	DgVersion              string `json:"DgVersion" xml:"DgVersion"`
	UserId                 string `json:"UserId" xml:"UserId"`
	GatewayName            string `json:"GatewayName" xml:"GatewayName"`
	CreatorId              string `json:"CreatorId" xml:"CreatorId"`
	NumOfExceptionInstance int    `json:"NumOfExceptionInstance" xml:"NumOfExceptionInstance"`
	GatewayId              string `json:"GatewayId" xml:"GatewayId"`
	NumOfRunningInstance   int    `json:"NumOfRunningInstance" xml:"NumOfRunningInstance"`
	Status                 string `json:"Status" xml:"Status"`
	GatewayDesc            string `json:"GatewayDesc" xml:"GatewayDesc"`
}

Gateway is a nested struct in dms_dg response

type GatewayInstance

type GatewayInstance struct {
	GatewayInstanceId     string `json:"GatewayInstanceId" xml:"GatewayInstanceId"`
	GatewayId             string `json:"GatewayId" xml:"GatewayId"`
	LastUpdateTime        int64  `json:"LastUpdateTime" xml:"LastUpdateTime"`
	LocalIP               string `json:"LocalIP" xml:"LocalIP"`
	OutputIP              string `json:"OutputIP" xml:"OutputIP"`
	Message               string `json:"Message" xml:"Message"`
	EndPoint              string `json:"EndPoint" xml:"EndPoint"`
	CurrentDaemonVersion  string `json:"CurrentDaemonVersion" xml:"CurrentDaemonVersion"`
	CurrentVersion        string `json:"CurrentVersion" xml:"CurrentVersion"`
	RegionId              string `json:"RegionId" xml:"RegionId"`
	ConnectEndpointType   string `json:"ConnectEndpointType" xml:"ConnectEndpointType"`
	GatewayInstanceStatus string `json:"GatewayInstanceStatus" xml:"GatewayInstanceStatus"`
}

GatewayInstance is a nested struct in dms_dg response

type GatewayInstanceList

type GatewayInstanceList struct {
	GatewayInstance []GatewayInstance `json:"GatewayInstance" xml:"GatewayInstance"`
}

GatewayInstanceList is a nested struct in dms_dg response

type GatewayList

type GatewayList struct {
	Gateway []Gateway `json:"Gateway" xml:"Gateway"`
}

GatewayList is a nested struct in dms_dg response

type GetUserDatabasesRequest

type GetUserDatabasesRequest struct {
	*requests.RpcRequest
	SearchKey  string           `position:"Body" name:"SearchKey"`
	PageNumber string           `position:"Body" name:"PageNumber"`
	PageSize   string           `position:"Body" name:"PageSize"`
	Host       string           `position:"Body" name:"Host"`
	GatewayId  string           `position:"Body" name:"GatewayId"`
	InstanceId string           `position:"Body" name:"InstanceId"`
	Port       requests.Integer `position:"Body" name:"Port"`
	DbType     string           `position:"Body" name:"DbType"`
}

GetUserDatabasesRequest is the request struct for api GetUserDatabases

func CreateGetUserDatabasesRequest

func CreateGetUserDatabasesRequest() (request *GetUserDatabasesRequest)

CreateGetUserDatabasesRequest creates a request to invoke GetUserDatabases API

type GetUserDatabasesResponse

type GetUserDatabasesResponse struct {
	*responses.BaseResponse
	RequestId      string         `json:"RequestId" xml:"RequestId"`
	Success        string         `json:"Success" xml:"Success"`
	Code           string         `json:"Code" xml:"Code"`
	ErrorMsg       string         `json:"ErrorMsg" xml:"ErrorMsg"`
	Count          int            `json:"Count" xml:"Count"`
	DbInstanceList DbInstanceList `json:"DbInstanceList" xml:"DbInstanceList"`
}

GetUserDatabasesResponse is the response struct for api GetUserDatabases

func CreateGetUserDatabasesResponse

func CreateGetUserDatabasesResponse() (response *GetUserDatabasesResponse)

CreateGetUserDatabasesResponse creates a response to parse from GetUserDatabases response

type GetUserGatewayInstancesRequest

type GetUserGatewayInstancesRequest struct {
	*requests.RpcRequest
	GatewayId string `position:"Body" name:"GatewayId"`
}

GetUserGatewayInstancesRequest is the request struct for api GetUserGatewayInstances

func CreateGetUserGatewayInstancesRequest

func CreateGetUserGatewayInstancesRequest() (request *GetUserGatewayInstancesRequest)

CreateGetUserGatewayInstancesRequest creates a request to invoke GetUserGatewayInstances API

type GetUserGatewayInstancesResponse

type GetUserGatewayInstancesResponse struct {
	*responses.BaseResponse
	Code                string            `json:"Code" xml:"Code"`
	ErrorMsg            string            `json:"ErrorMsg" xml:"ErrorMsg"`
	RequestId           string            `json:"RequestId" xml:"RequestId"`
	Success             bool              `json:"Success" xml:"Success"`
	GatewayInstanceList []GatewayInstance `json:"GatewayInstanceList" xml:"GatewayInstanceList"`
}

GetUserGatewayInstancesResponse is the response struct for api GetUserGatewayInstances

func CreateGetUserGatewayInstancesResponse

func CreateGetUserGatewayInstancesResponse() (response *GetUserGatewayInstancesResponse)

CreateGetUserGatewayInstancesResponse creates a response to parse from GetUserGatewayInstances response

type GetUserGatewaysRequest

type GetUserGatewaysRequest struct {
	*requests.RpcRequest
	SearchKey  string           `position:"Body" name:"SearchKey"`
	PageNumber requests.Integer `position:"Body" name:"PageNumber"`
	PageSize   requests.Integer `position:"Body" name:"PageSize"`
}

GetUserGatewaysRequest is the request struct for api GetUserGateways

func CreateGetUserGatewaysRequest

func CreateGetUserGatewaysRequest() (request *GetUserGatewaysRequest)

CreateGetUserGatewaysRequest creates a request to invoke GetUserGateways API

type GetUserGatewaysResponse

type GetUserGatewaysResponse struct {
	*responses.BaseResponse
	RequestId   string      `json:"RequestId" xml:"RequestId"`
	Success     bool        `json:"Success" xml:"Success"`
	Code        string      `json:"Code" xml:"Code"`
	ErrorMsg    string      `json:"ErrorMsg" xml:"ErrorMsg"`
	Count       int         `json:"Count" xml:"Count"`
	GatewayList GatewayList `json:"GatewayList" xml:"GatewayList"`
}

GetUserGatewaysResponse is the response struct for api GetUserGateways

func CreateGetUserGatewaysResponse

func CreateGetUserGatewaysResponse() (response *GetUserGatewaysResponse)

CreateGetUserGatewaysResponse creates a response to parse from GetUserGateways response

type ListDatabaseAccessPointRequest

type ListDatabaseAccessPointRequest struct {
	*requests.RpcRequest
	SearchKey    string           `position:"Body" name:"SearchKey"`
	PageNumber   string           `position:"Body" name:"PageNumber"`
	PageSize     string           `position:"Body" name:"PageSize"`
	Host         string           `position:"Body" name:"Host"`
	DbInstanceId string           `position:"Body" name:"DbInstanceId"`
	GatewayId    string           `position:"Body" name:"GatewayId"`
	Port         requests.Integer `position:"Body" name:"Port"`
	VpcId        string           `position:"Body" name:"VpcId"`
}

ListDatabaseAccessPointRequest is the request struct for api ListDatabaseAccessPoint

func CreateListDatabaseAccessPointRequest

func CreateListDatabaseAccessPointRequest() (request *ListDatabaseAccessPointRequest)

CreateListDatabaseAccessPointRequest creates a request to invoke ListDatabaseAccessPoint API

type ListDatabaseAccessPointResponse

type ListDatabaseAccessPointResponse struct {
	*responses.BaseResponse
	RequestId                 string                  `json:"RequestId" xml:"RequestId"`
	Success                   string                  `json:"Success" xml:"Success"`
	Code                      string                  `json:"Code" xml:"Code"`
	ErrorMsg                  string                  `json:"ErrorMsg" xml:"ErrorMsg"`
	Count                     int                     `json:"Count" xml:"Count"`
	DbInstanceAccessPointList []DbInstanceAccessPoint `json:"DbInstanceAccessPointList" xml:"DbInstanceAccessPointList"`
}

ListDatabaseAccessPointResponse is the response struct for api ListDatabaseAccessPoint

func CreateListDatabaseAccessPointResponse

func CreateListDatabaseAccessPointResponse() (response *ListDatabaseAccessPointResponse)

CreateListDatabaseAccessPointResponse creates a response to parse from ListDatabaseAccessPoint response

type ModifyDatabaseRequest

type ModifyDatabaseRequest struct {
	*requests.RpcRequest
	Host          string           `position:"Body" name:"Host"`
	DbUserName    string           `position:"Body" name:"DbUserName"`
	DbDescription string           `position:"Body" name:"DbDescription"`
	InstanceId    string           `position:"Body" name:"InstanceId"`
	DbName        string           `position:"Body" name:"DbName"`
	Port          requests.Integer `position:"Body" name:"Port"`
	DbPassword    string           `position:"Body" name:"DbPassword"`
	DbType        string           `position:"Body" name:"DbType"`
}

ModifyDatabaseRequest is the request struct for api ModifyDatabase

func CreateModifyDatabaseRequest

func CreateModifyDatabaseRequest() (request *ModifyDatabaseRequest)

CreateModifyDatabaseRequest creates a request to invoke ModifyDatabase API

type ModifyDatabaseResponse

type ModifyDatabaseResponse struct {
	*responses.BaseResponse
	Code      string `json:"Code" xml:"Code"`
	Data      string `json:"Data" xml:"Data"`
	ErrorMsg  string `json:"ErrorMsg" xml:"ErrorMsg"`
	RequestId string `json:"RequestId" xml:"RequestId"`
	Success   bool   `json:"Success" xml:"Success"`
}

ModifyDatabaseResponse is the response struct for api ModifyDatabase

func CreateModifyDatabaseResponse

func CreateModifyDatabaseResponse() (response *ModifyDatabaseResponse)

CreateModifyDatabaseResponse creates a response to parse from ModifyDatabase response

type ModifyGatewayRequest

type ModifyGatewayRequest struct {
	*requests.RpcRequest
	GatewayDesc string `position:"Body" name:"GatewayDesc"`
	GatewayName string `position:"Body" name:"GatewayName"`
	GatewayId   string `position:"Body" name:"GatewayId"`
}

ModifyGatewayRequest is the request struct for api ModifyGateway

func CreateModifyGatewayRequest

func CreateModifyGatewayRequest() (request *ModifyGatewayRequest)

CreateModifyGatewayRequest creates a request to invoke ModifyGateway API

type ModifyGatewayResponse

type ModifyGatewayResponse struct {
	*responses.BaseResponse
	Code      string `json:"Code" xml:"Code"`
	Data      string `json:"Data" xml:"Data"`
	ErrorMsg  string `json:"ErrorMsg" xml:"ErrorMsg"`
	RequestId string `json:"RequestId" xml:"RequestId"`
	Success   bool   `json:"Success" xml:"Success"`
}

ModifyGatewayResponse is the response struct for api ModifyGateway

func CreateModifyGatewayResponse

func CreateModifyGatewayResponse() (response *ModifyGatewayResponse)

CreateModifyGatewayResponse creates a response to parse from ModifyGateway response

type Region

type Region struct {
	RegionEndpoint string `json:"RegionEndpoint" xml:"RegionEndpoint"`
	LocalName      string `json:"LocalName" xml:"LocalName"`
	RegionId       string `json:"RegionId" xml:"RegionId"`
}

Region is a nested struct in dms_dg response

type Regions

type Regions struct {
	Region []Region `json:"Region" xml:"Region"`
}

Regions is a nested struct in dms_dg response

type RetryDatabaseRequest

type RetryDatabaseRequest struct {
	*requests.RpcRequest
	ClientToken   string           `position:"Body" name:"ClientToken"`
	Host          string           `position:"Body" name:"Host"`
	DbUserName    string           `position:"Body" name:"DbUserName"`
	DbDescription string           `position:"Body" name:"DbDescription"`
	GatewayId     string           `position:"Body" name:"GatewayId"`
	DbName        string           `position:"Body" name:"DbName"`
	Port          requests.Integer `position:"Body" name:"Port"`
	DbPassword    string           `position:"Body" name:"DbPassword"`
	DbType        string           `position:"Body" name:"DbType"`
}

RetryDatabaseRequest is the request struct for api RetryDatabase

func CreateRetryDatabaseRequest

func CreateRetryDatabaseRequest() (request *RetryDatabaseRequest)

CreateRetryDatabaseRequest creates a request to invoke RetryDatabase API

type RetryDatabaseResponse

type RetryDatabaseResponse struct {
	*responses.BaseResponse
	Code      string `json:"Code" xml:"Code"`
	Data      string `json:"Data" xml:"Data"`
	ErrorMsg  string `json:"ErrorMsg" xml:"ErrorMsg"`
	RequestId string `json:"RequestId" xml:"RequestId"`
	Success   bool   `json:"Success" xml:"Success"`
}

RetryDatabaseResponse is the response struct for api RetryDatabase

func CreateRetryDatabaseResponse

func CreateRetryDatabaseResponse() (response *RetryDatabaseResponse)

CreateRetryDatabaseResponse creates a response to parse from RetryDatabase response

type StopGatewayRequest

type StopGatewayRequest struct {
	*requests.RpcRequest
	GatewayInstanceId string `position:"Body" name:"GatewayInstanceId"`
	GatewayId         string `position:"Body" name:"GatewayId"`
}

StopGatewayRequest is the request struct for api StopGateway

func CreateStopGatewayRequest

func CreateStopGatewayRequest() (request *StopGatewayRequest)

CreateStopGatewayRequest creates a request to invoke StopGateway API

type StopGatewayResponse

type StopGatewayResponse struct {
	*responses.BaseResponse
	Code      string `json:"Code" xml:"Code"`
	Data      string `json:"Data" xml:"Data"`
	ErrorMsg  string `json:"ErrorMsg" xml:"ErrorMsg"`
	RequestId string `json:"RequestId" xml:"RequestId"`
	Success   bool   `json:"Success" xml:"Success"`
}

StopGatewayResponse is the response struct for api StopGateway

func CreateStopGatewayResponse

func CreateStopGatewayResponse() (response *StopGatewayResponse)

CreateStopGatewayResponse creates a response to parse from StopGateway response

Jump to

Keyboard shortcuts

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