v20200715

package
v1.0.935 Latest Latest
Warning

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

Go to latest
Published: Jun 3, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (

	// 鉴权失败。
	FAILEDOPERATION_AUTHENTICATIONFAILED = "FailedOperation.AuthenticationFailed"

	// 依赖服务错误。
	FAILEDOPERATION_METACOMPILERERROR = "FailedOperation.MetaCompilerError"

	// 数据库内部错误。
	INTERNALERROR_DATABASEERROR = "InternalError.DatabaseError"

	// rpc调用异常。
	INTERNALERROR_RPCPILOTSERVERERROR = "InternalError.RpcPilotServerError"

	// 连接器不存在。
	INVALIDPARAMETERVALUE_CONNECTORNOTEXIST = "InvalidParameterValue.ConnectorNotExist"

	// 资源不存在。
	RESOURCENOTFOUND = "ResourceNotFound"
)
View Source
const APIVersion = "2020-07-15"

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	common.Client
}

func NewClient

func NewClient(credential common.CredentialIface, region string, clientProfile *profile.ClientProfile) (client *Client, err error)

func NewClientWithSecretId

func NewClientWithSecretId(secretId, secretKey, region string) (client *Client, err error)

Deprecated

func (*Client) DescribeEisConnectorConfig

func (c *Client) DescribeEisConnectorConfig(request *DescribeEisConnectorConfigRequest) (response *DescribeEisConnectorConfigResponse, err error)

DescribeEisConnectorConfig 获取连接器配置参数

可能返回的错误码:

FAILEDOPERATION_AUTHENTICATIONFAILED = "FailedOperation.AuthenticationFailed"
FAILEDOPERATION_METACOMPILERERROR = "FailedOperation.MetaCompilerError"
INTERNALERROR_DATABASEERROR = "InternalError.DatabaseError"
INTERNALERROR_RPCPILOTSERVERERROR = "InternalError.RpcPilotServerError"
INVALIDPARAMETERVALUE_CONNECTORNOTEXIST = "InvalidParameterValue.ConnectorNotExist"

func (*Client) DescribeEisConnectorConfigWithContext added in v1.0.324

func (c *Client) DescribeEisConnectorConfigWithContext(ctx context.Context, request *DescribeEisConnectorConfigRequest) (response *DescribeEisConnectorConfigResponse, err error)

DescribeEisConnectorConfig 获取连接器配置参数

可能返回的错误码:

FAILEDOPERATION_AUTHENTICATIONFAILED = "FailedOperation.AuthenticationFailed"
FAILEDOPERATION_METACOMPILERERROR = "FailedOperation.MetaCompilerError"
INTERNALERROR_DATABASEERROR = "InternalError.DatabaseError"
INTERNALERROR_RPCPILOTSERVERERROR = "InternalError.RpcPilotServerError"
INVALIDPARAMETERVALUE_CONNECTORNOTEXIST = "InvalidParameterValue.ConnectorNotExist"

func (*Client) ListEisConnectorOperations

func (c *Client) ListEisConnectorOperations(request *ListEisConnectorOperationsRequest) (response *ListEisConnectorOperationsResponse, err error)

ListEisConnectorOperations 获取连接器操作列表

可能返回的错误码:

FAILEDOPERATION_AUTHENTICATIONFAILED = "FailedOperation.AuthenticationFailed"
FAILEDOPERATION_METACOMPILERERROR = "FailedOperation.MetaCompilerError"
INTERNALERROR_DATABASEERROR = "InternalError.DatabaseError"
INTERNALERROR_RPCPILOTSERVERERROR = "InternalError.RpcPilotServerError"
INVALIDPARAMETERVALUE_CONNECTORNOTEXIST = "InvalidParameterValue.ConnectorNotExist"

func (*Client) ListEisConnectorOperationsWithContext added in v1.0.324

func (c *Client) ListEisConnectorOperationsWithContext(ctx context.Context, request *ListEisConnectorOperationsRequest) (response *ListEisConnectorOperationsResponse, err error)

ListEisConnectorOperations 获取连接器操作列表

可能返回的错误码:

FAILEDOPERATION_AUTHENTICATIONFAILED = "FailedOperation.AuthenticationFailed"
FAILEDOPERATION_METACOMPILERERROR = "FailedOperation.MetaCompilerError"
INTERNALERROR_DATABASEERROR = "InternalError.DatabaseError"
INTERNALERROR_RPCPILOTSERVERERROR = "InternalError.RpcPilotServerError"
INVALIDPARAMETERVALUE_CONNECTORNOTEXIST = "InvalidParameterValue.ConnectorNotExist"

func (*Client) ListEisConnectors

func (c *Client) ListEisConnectors(request *ListEisConnectorsRequest) (response *ListEisConnectorsResponse, err error)

ListEisConnectors 连接器列表

可能返回的错误码:

FAILEDOPERATION_AUTHENTICATIONFAILED = "FailedOperation.AuthenticationFailed"
INTERNALERROR_DATABASEERROR = "InternalError.DatabaseError"
RESOURCENOTFOUND = "ResourceNotFound"

func (*Client) ListEisConnectorsWithContext added in v1.0.324

func (c *Client) ListEisConnectorsWithContext(ctx context.Context, request *ListEisConnectorsRequest) (response *ListEisConnectorsResponse, err error)

ListEisConnectors 连接器列表

可能返回的错误码:

FAILEDOPERATION_AUTHENTICATIONFAILED = "FailedOperation.AuthenticationFailed"
INTERNALERROR_DATABASEERROR = "InternalError.DatabaseError"
RESOURCENOTFOUND = "ResourceNotFound"

type DescribeEisConnectorConfigRequest

type DescribeEisConnectorConfigRequest struct {
	*tchttp.BaseRequest

	// 连接器名称
	ConnectorName *string `json:"ConnectorName,omitnil,omitempty" name:"ConnectorName"`

	// 连接器版本
	ConnectorVersion *string `json:"ConnectorVersion,omitnil,omitempty" name:"ConnectorVersion"`
}

func NewDescribeEisConnectorConfigRequest

func NewDescribeEisConnectorConfigRequest() (request *DescribeEisConnectorConfigRequest)

func (*DescribeEisConnectorConfigRequest) FromJsonString

func (r *DescribeEisConnectorConfigRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeEisConnectorConfigRequest) ToJsonString

func (r *DescribeEisConnectorConfigRequest) ToJsonString() string

type DescribeEisConnectorConfigRequestParams added in v1.0.426

type DescribeEisConnectorConfigRequestParams struct {
	// 连接器名称
	ConnectorName *string `json:"ConnectorName,omitnil,omitempty" name:"ConnectorName"`

	// 连接器版本
	ConnectorVersion *string `json:"ConnectorVersion,omitnil,omitempty" name:"ConnectorVersion"`
}

Predefined struct for user

type DescribeEisConnectorConfigResponse

type DescribeEisConnectorConfigResponse struct {
	*tchttp.BaseResponse
	Response *DescribeEisConnectorConfigResponseParams `json:"Response"`
}

func NewDescribeEisConnectorConfigResponse

func NewDescribeEisConnectorConfigResponse() (response *DescribeEisConnectorConfigResponse)

func (*DescribeEisConnectorConfigResponse) FromJsonString

func (r *DescribeEisConnectorConfigResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeEisConnectorConfigResponse) ToJsonString

func (r *DescribeEisConnectorConfigResponse) ToJsonString() string

type DescribeEisConnectorConfigResponseParams added in v1.0.426

type DescribeEisConnectorConfigResponseParams struct {
	// 连接器配置参数描述(json结构),示例如下:
	// {
	//     "attributes":{
	//         "description":"测试", // 连接器的描述
	//         "displayName":"测试", // 连接器的展示名
	//         "name":"test", // 连接器的名称
	//         "version":"1.0.0" // 连接器的版本号
	//     },
	//     "properties":[
	//         {
	//             "attributes":{
	//                 "displayName":"企业ID", // 参数的展示名
	//                 "name":"para1", // 参数名
	//                 "required":"true", // 是否必填
	//                 "type":"int" // 参数的类型
	//             }
	//         },
	//         {
	//             "attributes":{
	//                 "displayName":"成员管理密钥",
	//                 "name":"para2",
	//                 "required":"true",
	//                 "type":"float"
	//             }
	//         },
	//         {
	//             "attributes":{
	//                 "displayName":"应用管理密钥",
	//                 "name":"para3",
	//                 "required":"true",
	//                 "type":"string"
	//             }
	//         },
	//         {
	//             "attributes":{
	//                 "displayName":"企业ID",
	//                 "name":"para4",
	//                 "required":"true",
	//                 "type":"decimal"
	//             }
	//         },
	//         {
	//             "attributes":{
	//                 "displayName":"成员管理密钥",
	//                 "name":"para5",
	//                 "required":"true",
	//                 "type":"bool"
	//             }
	//         },
	//         {
	//             "attributes":{
	//                 "displayName":"应用管理密钥",
	//                 "name":"para6",
	//                 "required":"true",
	//                 "type":"date"
	//             }
	//         },
	//         {
	//             "attributes":{
	//                 "displayName":"企业ID",
	//                 "name":"para7",
	//                 "required":"true",
	//                 "type":"time"
	//             }
	//         },
	//         {
	//             "attributes":{
	//                 "displayName":"成员管理密钥",
	//                 "name":"para8",
	//                 "required":"true",
	//                 "type":"datetime"
	//             }
	//         },
	//         {
	//             "attributes":{
	//                 "displayName":"应用管理密钥",
	//                 "name":"para9",
	//                 "required":"true",
	//                 "type":"map"
	//             },
	//             "children":[
	//                 {
	//                     "attributes":{
	//                         "displayName":"key",
	//                         "name":"key",
	//                         "required":"true",
	//                         "type":"string"
	//                     }
	//                 },
	//                 {
	//                     "attributes":{
	//                         "displayName":"value",
	//                         "name":"value",
	//                         "required":"true",
	//                         "type":"any"
	//                     }
	//                 }
	//             ]
	//         },
	//         {
	//             "attributes":{
	//                 "displayName":"企业ID",
	//                 "name":"para10",
	//                 "required":"true",
	//                 "type":"list" // list,list里元素的类型是结构体,children里是结构体的描述
	//             },
	//             "children":[
	//                 {
	//                     "attributes":{
	//                         "displayName":"field1",
	//                         "name":"field1",
	//                         "required":"true",
	//                         "type":"string"
	//                     }
	//                 },
	//                 {
	//                     "attributes":{
	//                         "displayName":"field2",
	//                         "name":"field2",
	//                         "required":"true",
	//                         "type":"any"
	//                     }
	//                 }
	//             ]
	//         },
	//         {
	//             "attributes":{
	//                 "displayName":"成员管理密钥",
	//                 "name":"para11",
	//                 "required":"true",
	//                 "type":"struct"
	//             },
	//             "children":[
	//                 {
	//                     "attributes":{
	//                         "displayName":"field1", // 结构体属性的展示名
	//                         "name":"field1", // 结构体属性的名称
	//                         "required":"true", // 是否必填
	//                         "type":"string" // 属性的类型
	//                     }
	//                 },
	//                 {
	//                     "attributes":{
	//                         "displayName":"field2",
	//                         "name":"field2",
	//                         "required":"true",
	//                         "type":"any"
	//                     }
	//                 }
	//             ]
	//         },
	//         {
	//             "attributes":{
	//                 "displayName":"应用管理密钥",
	//                 "name":"para12",
	//                 "required":"true",
	//                 "type":"enum"
	//             },
	//             "children":[
	//                 {
	//                     "attributes":{
	//                         "displayName":"PC", // 枚举值的展示名
	//                         "name":"PC" // 枚举值的名称
	//                     }
	//                 },
	//                 {
	//                     "attributes":{
	//                         "displayName":"MAC",
	//                         "name":"MAC"
	//                     }
	//                 }
	//             ]
	//         }
	//     ]
	// }
	ConnectorParameter *string `json:"ConnectorParameter,omitnil,omitempty" name:"ConnectorParameter"`

	// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type EisConnectionOperation

type EisConnectionOperation struct {
	// 连接器操作名称
	OperationName *string `json:"OperationName,omitnil,omitempty" name:"OperationName"`

	// 连接器展示名称
	DisplayName *string `json:"DisplayName,omitnil,omitempty" name:"DisplayName"`

	// 操作是否为触发器
	IsTrigger *bool `json:"IsTrigger,omitnil,omitempty" name:"IsTrigger"`
}

type EisConnectorSummary

type EisConnectorSummary struct {
	// 连接器名称
	ConnectorName *string `json:"ConnectorName,omitnil,omitempty" name:"ConnectorName"`

	// 连接器展示名称
	DisplayName *string `json:"DisplayName,omitnil,omitempty" name:"DisplayName"`

	// 连接器对应企业
	Company *string `json:"Company,omitnil,omitempty" name:"Company"`

	// 连接器对应产品
	Product *string `json:"Product,omitnil,omitempty" name:"Product"`

	// 连接器版本
	ConnectorVersion *string `json:"ConnectorVersion,omitnil,omitempty" name:"ConnectorVersion"`

	// 连接器创建时间
	CreateTime *int64 `json:"CreateTime,omitnil,omitempty" name:"CreateTime"`
}

type ListEisConnectorOperationsRequest

type ListEisConnectorOperationsRequest struct {
	*tchttp.BaseRequest

	// 连接器名称
	ConnectorName *string `json:"ConnectorName,omitnil,omitempty" name:"ConnectorName"`

	// 连接器版本
	ConnectorVersion *string `json:"ConnectorVersion,omitnil,omitempty" name:"ConnectorVersion"`
}

func NewListEisConnectorOperationsRequest

func NewListEisConnectorOperationsRequest() (request *ListEisConnectorOperationsRequest)

func (*ListEisConnectorOperationsRequest) FromJsonString

func (r *ListEisConnectorOperationsRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ListEisConnectorOperationsRequest) ToJsonString

func (r *ListEisConnectorOperationsRequest) ToJsonString() string

type ListEisConnectorOperationsRequestParams added in v1.0.426

type ListEisConnectorOperationsRequestParams struct {
	// 连接器名称
	ConnectorName *string `json:"ConnectorName,omitnil,omitempty" name:"ConnectorName"`

	// 连接器版本
	ConnectorVersion *string `json:"ConnectorVersion,omitnil,omitempty" name:"ConnectorVersion"`
}

Predefined struct for user

type ListEisConnectorOperationsResponse

type ListEisConnectorOperationsResponse struct {
	*tchttp.BaseResponse
	Response *ListEisConnectorOperationsResponseParams `json:"Response"`
}

func NewListEisConnectorOperationsResponse

func NewListEisConnectorOperationsResponse() (response *ListEisConnectorOperationsResponse)

func (*ListEisConnectorOperationsResponse) FromJsonString

func (r *ListEisConnectorOperationsResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ListEisConnectorOperationsResponse) ToJsonString

func (r *ListEisConnectorOperationsResponse) ToJsonString() string

type ListEisConnectorOperationsResponseParams added in v1.0.426

type ListEisConnectorOperationsResponseParams struct {
	// 连接器列表
	Operations []*EisConnectionOperation `json:"Operations,omitnil,omitempty" name:"Operations"`

	// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type ListEisConnectorsRequest

type ListEisConnectorsRequest struct {
	*tchttp.BaseRequest

	// 连接器名称,非必输,如输入则按照输入值模糊匹配
	ConnectorName *string `json:"ConnectorName,omitnil,omitempty" name:"ConnectorName"`

	// 分页参数,数据偏移量
	Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// 分页参数,每页显示的条数
	Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"`
}

func NewListEisConnectorsRequest

func NewListEisConnectorsRequest() (request *ListEisConnectorsRequest)

func (*ListEisConnectorsRequest) FromJsonString

func (r *ListEisConnectorsRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ListEisConnectorsRequest) ToJsonString

func (r *ListEisConnectorsRequest) ToJsonString() string

type ListEisConnectorsRequestParams added in v1.0.426

type ListEisConnectorsRequestParams struct {
	// 连接器名称,非必输,如输入则按照输入值模糊匹配
	ConnectorName *string `json:"ConnectorName,omitnil,omitempty" name:"ConnectorName"`

	// 分页参数,数据偏移量
	Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// 分页参数,每页显示的条数
	Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"`
}

Predefined struct for user

type ListEisConnectorsResponse

type ListEisConnectorsResponse struct {
	*tchttp.BaseResponse
	Response *ListEisConnectorsResponseParams `json:"Response"`
}

func NewListEisConnectorsResponse

func NewListEisConnectorsResponse() (response *ListEisConnectorsResponse)

func (*ListEisConnectorsResponse) FromJsonString

func (r *ListEisConnectorsResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ListEisConnectorsResponse) ToJsonString

func (r *ListEisConnectorsResponse) ToJsonString() string

type ListEisConnectorsResponseParams added in v1.0.426

type ListEisConnectorsResponseParams struct {
	// 连接器总数
	TotalCount *int64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"`

	// 连接器列表
	Connectors []*EisConnectorSummary `json:"Connectors,omitnil,omitempty" name:"Connectors"`

	// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

Jump to

Keyboard shortcuts

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