Documentation ¶
Index ¶
- Constants
- type AddDMSPartitionsRequest
- type AddDMSPartitionsRequestParams
- type AddDMSPartitionsResponse
- type AddDMSPartitionsResponseParams
- type AddUsersToWorkGroupRequest
- type AddUsersToWorkGroupRequestParams
- type AddUsersToWorkGroupResponse
- type AddUsersToWorkGroupResponseParams
- type AlterDMSDatabaseRequest
- type AlterDMSDatabaseRequestParams
- type AlterDMSDatabaseResponse
- type AlterDMSDatabaseResponseParams
- type AlterDMSPartitionRequest
- type AlterDMSPartitionRequestParams
- type AlterDMSPartitionResponse
- type AlterDMSPartitionResponseParams
- type AlterDMSTableRequest
- type AlterDMSTableRequestParams
- type AlterDMSTableResponse
- type AlterDMSTableResponseParams
- type Asset
- type AttachUserPolicyRequest
- type AttachUserPolicyRequestParams
- type AttachUserPolicyResponse
- type AttachUserPolicyResponseParams
- type AttachWorkGroupPolicyRequest
- type AttachWorkGroupPolicyRequestParams
- type AttachWorkGroupPolicyResponse
- type AttachWorkGroupPolicyResponseParams
- type BindWorkGroupsToUserRequest
- type BindWorkGroupsToUserRequestParams
- type BindWorkGroupsToUserResponse
- type BindWorkGroupsToUserResponseParams
- type CSV
- type CSVSerde
- type CancelTaskRequest
- type CancelTaskRequestParams
- type CancelTaskResponse
- type CancelTaskResponseParams
- type CheckLockMetaDataRequest
- type CheckLockMetaDataRequestParams
- type CheckLockMetaDataResponse
- type CheckLockMetaDataResponseParams
- type Client
- func (c *Client) AddDMSPartitions(request *AddDMSPartitionsRequest) (response *AddDMSPartitionsResponse, err error)
- func (c *Client) AddDMSPartitionsWithContext(ctx context.Context, request *AddDMSPartitionsRequest) (response *AddDMSPartitionsResponse, err error)
- func (c *Client) AddUsersToWorkGroup(request *AddUsersToWorkGroupRequest) (response *AddUsersToWorkGroupResponse, err error)
- func (c *Client) AddUsersToWorkGroupWithContext(ctx context.Context, request *AddUsersToWorkGroupRequest) (response *AddUsersToWorkGroupResponse, err error)
- func (c *Client) AlterDMSDatabase(request *AlterDMSDatabaseRequest) (response *AlterDMSDatabaseResponse, err error)
- func (c *Client) AlterDMSDatabaseWithContext(ctx context.Context, request *AlterDMSDatabaseRequest) (response *AlterDMSDatabaseResponse, err error)
- func (c *Client) AlterDMSPartition(request *AlterDMSPartitionRequest) (response *AlterDMSPartitionResponse, err error)
- func (c *Client) AlterDMSPartitionWithContext(ctx context.Context, request *AlterDMSPartitionRequest) (response *AlterDMSPartitionResponse, err error)
- func (c *Client) AlterDMSTable(request *AlterDMSTableRequest) (response *AlterDMSTableResponse, err error)
- func (c *Client) AlterDMSTableWithContext(ctx context.Context, request *AlterDMSTableRequest) (response *AlterDMSTableResponse, err error)
- func (c *Client) AttachUserPolicy(request *AttachUserPolicyRequest) (response *AttachUserPolicyResponse, err error)
- func (c *Client) AttachUserPolicyWithContext(ctx context.Context, request *AttachUserPolicyRequest) (response *AttachUserPolicyResponse, err error)
- func (c *Client) AttachWorkGroupPolicy(request *AttachWorkGroupPolicyRequest) (response *AttachWorkGroupPolicyResponse, err error)
- func (c *Client) AttachWorkGroupPolicyWithContext(ctx context.Context, request *AttachWorkGroupPolicyRequest) (response *AttachWorkGroupPolicyResponse, err error)
- func (c *Client) BindWorkGroupsToUser(request *BindWorkGroupsToUserRequest) (response *BindWorkGroupsToUserResponse, err error)
- func (c *Client) BindWorkGroupsToUserWithContext(ctx context.Context, request *BindWorkGroupsToUserRequest) (response *BindWorkGroupsToUserResponse, err error)
- func (c *Client) CancelTask(request *CancelTaskRequest) (response *CancelTaskResponse, err error)
- func (c *Client) CancelTaskWithContext(ctx context.Context, request *CancelTaskRequest) (response *CancelTaskResponse, err error)
- func (c *Client) CheckLockMetaData(request *CheckLockMetaDataRequest) (response *CheckLockMetaDataResponse, err error)
- func (c *Client) CheckLockMetaDataWithContext(ctx context.Context, request *CheckLockMetaDataRequest) (response *CheckLockMetaDataResponse, err error)
- func (c *Client) CreateDMSDatabase(request *CreateDMSDatabaseRequest) (response *CreateDMSDatabaseResponse, err error)
- func (c *Client) CreateDMSDatabaseWithContext(ctx context.Context, request *CreateDMSDatabaseRequest) (response *CreateDMSDatabaseResponse, err error)
- func (c *Client) CreateDMSTable(request *CreateDMSTableRequest) (response *CreateDMSTableResponse, err error)
- func (c *Client) CreateDMSTableWithContext(ctx context.Context, request *CreateDMSTableRequest) (response *CreateDMSTableResponse, err error)
- func (c *Client) CreateDatabase(request *CreateDatabaseRequest) (response *CreateDatabaseResponse, err error)
- func (c *Client) CreateDatabaseWithContext(ctx context.Context, request *CreateDatabaseRequest) (response *CreateDatabaseResponse, err error)
- func (c *Client) CreateExportTask(request *CreateExportTaskRequest) (response *CreateExportTaskResponse, err error)
- func (c *Client) CreateExportTaskWithContext(ctx context.Context, request *CreateExportTaskRequest) (response *CreateExportTaskResponse, err error)
- func (c *Client) CreateImportTask(request *CreateImportTaskRequest) (response *CreateImportTaskResponse, err error)
- func (c *Client) CreateImportTaskWithContext(ctx context.Context, request *CreateImportTaskRequest) (response *CreateImportTaskResponse, err error)
- func (c *Client) CreateScript(request *CreateScriptRequest) (response *CreateScriptResponse, err error)
- func (c *Client) CreateScriptWithContext(ctx context.Context, request *CreateScriptRequest) (response *CreateScriptResponse, err error)
- func (c *Client) CreateSparkApp(request *CreateSparkAppRequest) (response *CreateSparkAppResponse, err error)
- func (c *Client) CreateSparkAppTask(request *CreateSparkAppTaskRequest) (response *CreateSparkAppTaskResponse, err error)
- func (c *Client) CreateSparkAppTaskWithContext(ctx context.Context, request *CreateSparkAppTaskRequest) (response *CreateSparkAppTaskResponse, err error)
- func (c *Client) CreateSparkAppWithContext(ctx context.Context, request *CreateSparkAppRequest) (response *CreateSparkAppResponse, err error)
- func (c *Client) CreateStoreLocation(request *CreateStoreLocationRequest) (response *CreateStoreLocationResponse, err error)
- func (c *Client) CreateStoreLocationWithContext(ctx context.Context, request *CreateStoreLocationRequest) (response *CreateStoreLocationResponse, err error)
- func (c *Client) CreateTable(request *CreateTableRequest) (response *CreateTableResponse, err error)
- func (c *Client) CreateTableWithContext(ctx context.Context, request *CreateTableRequest) (response *CreateTableResponse, err error)
- func (c *Client) CreateTask(request *CreateTaskRequest) (response *CreateTaskResponse, err error)
- func (c *Client) CreateTaskWithContext(ctx context.Context, request *CreateTaskRequest) (response *CreateTaskResponse, err error)
- func (c *Client) CreateTasks(request *CreateTasksRequest) (response *CreateTasksResponse, err error)
- func (c *Client) CreateTasksInOrder(request *CreateTasksInOrderRequest) (response *CreateTasksInOrderResponse, err error)
- func (c *Client) CreateTasksInOrderWithContext(ctx context.Context, request *CreateTasksInOrderRequest) (response *CreateTasksInOrderResponse, err error)
- func (c *Client) CreateTasksWithContext(ctx context.Context, request *CreateTasksRequest) (response *CreateTasksResponse, err error)
- func (c *Client) CreateUser(request *CreateUserRequest) (response *CreateUserResponse, err error)
- func (c *Client) CreateUserWithContext(ctx context.Context, request *CreateUserRequest) (response *CreateUserResponse, err error)
- func (c *Client) CreateWorkGroup(request *CreateWorkGroupRequest) (response *CreateWorkGroupResponse, err error)
- func (c *Client) CreateWorkGroupWithContext(ctx context.Context, request *CreateWorkGroupRequest) (response *CreateWorkGroupResponse, err error)
- func (c *Client) DeleteScript(request *DeleteScriptRequest) (response *DeleteScriptResponse, err error)
- func (c *Client) DeleteScriptWithContext(ctx context.Context, request *DeleteScriptRequest) (response *DeleteScriptResponse, err error)
- func (c *Client) DeleteSparkApp(request *DeleteSparkAppRequest) (response *DeleteSparkAppResponse, err error)
- func (c *Client) DeleteSparkAppWithContext(ctx context.Context, request *DeleteSparkAppRequest) (response *DeleteSparkAppResponse, err error)
- func (c *Client) DeleteUser(request *DeleteUserRequest) (response *DeleteUserResponse, err error)
- func (c *Client) DeleteUserWithContext(ctx context.Context, request *DeleteUserRequest) (response *DeleteUserResponse, err error)
- func (c *Client) DeleteUsersFromWorkGroup(request *DeleteUsersFromWorkGroupRequest) (response *DeleteUsersFromWorkGroupResponse, err error)
- func (c *Client) DeleteUsersFromWorkGroupWithContext(ctx context.Context, request *DeleteUsersFromWorkGroupRequest) (response *DeleteUsersFromWorkGroupResponse, err error)
- func (c *Client) DeleteWorkGroup(request *DeleteWorkGroupRequest) (response *DeleteWorkGroupResponse, err error)
- func (c *Client) DeleteWorkGroupWithContext(ctx context.Context, request *DeleteWorkGroupRequest) (response *DeleteWorkGroupResponse, err error)
- func (c *Client) DescribeDMSDatabase(request *DescribeDMSDatabaseRequest) (response *DescribeDMSDatabaseResponse, err error)
- func (c *Client) DescribeDMSDatabaseWithContext(ctx context.Context, request *DescribeDMSDatabaseRequest) (response *DescribeDMSDatabaseResponse, err error)
- func (c *Client) DescribeDMSPartitions(request *DescribeDMSPartitionsRequest) (response *DescribeDMSPartitionsResponse, err error)
- func (c *Client) DescribeDMSPartitionsWithContext(ctx context.Context, request *DescribeDMSPartitionsRequest) (response *DescribeDMSPartitionsResponse, err error)
- func (c *Client) DescribeDMSTable(request *DescribeDMSTableRequest) (response *DescribeDMSTableResponse, err error)
- func (c *Client) DescribeDMSTableWithContext(ctx context.Context, request *DescribeDMSTableRequest) (response *DescribeDMSTableResponse, err error)
- func (c *Client) DescribeDMSTables(request *DescribeDMSTablesRequest) (response *DescribeDMSTablesResponse, err error)
- func (c *Client) DescribeDMSTablesWithContext(ctx context.Context, request *DescribeDMSTablesRequest) (response *DescribeDMSTablesResponse, err error)
- func (c *Client) DescribeDatabases(request *DescribeDatabasesRequest) (response *DescribeDatabasesResponse, err error)
- func (c *Client) DescribeDatabasesWithContext(ctx context.Context, request *DescribeDatabasesRequest) (response *DescribeDatabasesResponse, err error)
- func (c *Client) DescribeScripts(request *DescribeScriptsRequest) (response *DescribeScriptsResponse, err error)
- func (c *Client) DescribeScriptsWithContext(ctx context.Context, request *DescribeScriptsRequest) (response *DescribeScriptsResponse, err error)
- func (c *Client) DescribeSparkAppJob(request *DescribeSparkAppJobRequest) (response *DescribeSparkAppJobResponse, err error)
- func (c *Client) DescribeSparkAppJobWithContext(ctx context.Context, request *DescribeSparkAppJobRequest) (response *DescribeSparkAppJobResponse, err error)
- func (c *Client) DescribeSparkAppJobs(request *DescribeSparkAppJobsRequest) (response *DescribeSparkAppJobsResponse, err error)
- func (c *Client) DescribeSparkAppJobsWithContext(ctx context.Context, request *DescribeSparkAppJobsRequest) (response *DescribeSparkAppJobsResponse, err error)
- func (c *Client) DescribeSparkAppTasks(request *DescribeSparkAppTasksRequest) (response *DescribeSparkAppTasksResponse, err error)
- func (c *Client) DescribeSparkAppTasksWithContext(ctx context.Context, request *DescribeSparkAppTasksRequest) (response *DescribeSparkAppTasksResponse, err error)
- func (c *Client) DescribeStoreLocation(request *DescribeStoreLocationRequest) (response *DescribeStoreLocationResponse, err error)
- func (c *Client) DescribeStoreLocationWithContext(ctx context.Context, request *DescribeStoreLocationRequest) (response *DescribeStoreLocationResponse, err error)
- func (c *Client) DescribeTable(request *DescribeTableRequest) (response *DescribeTableResponse, err error)
- func (c *Client) DescribeTableWithContext(ctx context.Context, request *DescribeTableRequest) (response *DescribeTableResponse, err error)
- func (c *Client) DescribeTables(request *DescribeTablesRequest) (response *DescribeTablesResponse, err error)
- func (c *Client) DescribeTablesWithContext(ctx context.Context, request *DescribeTablesRequest) (response *DescribeTablesResponse, err error)
- func (c *Client) DescribeTaskResult(request *DescribeTaskResultRequest) (response *DescribeTaskResultResponse, err error)
- func (c *Client) DescribeTaskResultWithContext(ctx context.Context, request *DescribeTaskResultRequest) (response *DescribeTaskResultResponse, err error)
- func (c *Client) DescribeTasks(request *DescribeTasksRequest) (response *DescribeTasksResponse, err error)
- func (c *Client) DescribeTasksWithContext(ctx context.Context, request *DescribeTasksRequest) (response *DescribeTasksResponse, err error)
- func (c *Client) DescribeUsers(request *DescribeUsersRequest) (response *DescribeUsersResponse, err error)
- func (c *Client) DescribeUsersWithContext(ctx context.Context, request *DescribeUsersRequest) (response *DescribeUsersResponse, err error)
- func (c *Client) DescribeViews(request *DescribeViewsRequest) (response *DescribeViewsResponse, err error)
- func (c *Client) DescribeViewsWithContext(ctx context.Context, request *DescribeViewsRequest) (response *DescribeViewsResponse, err error)
- func (c *Client) DescribeWorkGroups(request *DescribeWorkGroupsRequest) (response *DescribeWorkGroupsResponse, err error)
- func (c *Client) DescribeWorkGroupsWithContext(ctx context.Context, request *DescribeWorkGroupsRequest) (response *DescribeWorkGroupsResponse, err error)
- func (c *Client) DetachUserPolicy(request *DetachUserPolicyRequest) (response *DetachUserPolicyResponse, err error)
- func (c *Client) DetachUserPolicyWithContext(ctx context.Context, request *DetachUserPolicyRequest) (response *DetachUserPolicyResponse, err error)
- func (c *Client) DetachWorkGroupPolicy(request *DetachWorkGroupPolicyRequest) (response *DetachWorkGroupPolicyResponse, err error)
- func (c *Client) DetachWorkGroupPolicyWithContext(ctx context.Context, request *DetachWorkGroupPolicyRequest) (response *DetachWorkGroupPolicyResponse, err error)
- func (c *Client) DropDMSDatabase(request *DropDMSDatabaseRequest) (response *DropDMSDatabaseResponse, err error)
- func (c *Client) DropDMSDatabaseWithContext(ctx context.Context, request *DropDMSDatabaseRequest) (response *DropDMSDatabaseResponse, err error)
- func (c *Client) DropDMSPartitions(request *DropDMSPartitionsRequest) (response *DropDMSPartitionsResponse, err error)
- func (c *Client) DropDMSPartitionsWithContext(ctx context.Context, request *DropDMSPartitionsRequest) (response *DropDMSPartitionsResponse, err error)
- func (c *Client) DropDMSTable(request *DropDMSTableRequest) (response *DropDMSTableResponse, err error)
- func (c *Client) DropDMSTableWithContext(ctx context.Context, request *DropDMSTableRequest) (response *DropDMSTableResponse, err error)
- func (c *Client) ListTaskJobLogDetail(request *ListTaskJobLogDetailRequest) (response *ListTaskJobLogDetailResponse, err error)
- func (c *Client) ListTaskJobLogDetailWithContext(ctx context.Context, request *ListTaskJobLogDetailRequest) (response *ListTaskJobLogDetailResponse, err error)
- func (c *Client) LockMetaData(request *LockMetaDataRequest) (response *LockMetaDataResponse, err error)
- func (c *Client) LockMetaDataWithContext(ctx context.Context, request *LockMetaDataRequest) (response *LockMetaDataResponse, err error)
- func (c *Client) ModifySparkApp(request *ModifySparkAppRequest) (response *ModifySparkAppResponse, err error)
- func (c *Client) ModifySparkAppWithContext(ctx context.Context, request *ModifySparkAppRequest) (response *ModifySparkAppResponse, err error)
- func (c *Client) ModifyUser(request *ModifyUserRequest) (response *ModifyUserResponse, err error)
- func (c *Client) ModifyUserWithContext(ctx context.Context, request *ModifyUserRequest) (response *ModifyUserResponse, err error)
- func (c *Client) ModifyWorkGroup(request *ModifyWorkGroupRequest) (response *ModifyWorkGroupResponse, err error)
- func (c *Client) ModifyWorkGroupWithContext(ctx context.Context, request *ModifyWorkGroupRequest) (response *ModifyWorkGroupResponse, err error)
- func (c *Client) ReportHeartbeatMetaData(request *ReportHeartbeatMetaDataRequest) (response *ReportHeartbeatMetaDataResponse, err error)
- func (c *Client) ReportHeartbeatMetaDataWithContext(ctx context.Context, request *ReportHeartbeatMetaDataRequest) (response *ReportHeartbeatMetaDataResponse, err error)
- func (c *Client) UnbindWorkGroupsFromUser(request *UnbindWorkGroupsFromUserRequest) (response *UnbindWorkGroupsFromUserResponse, err error)
- func (c *Client) UnbindWorkGroupsFromUserWithContext(ctx context.Context, request *UnbindWorkGroupsFromUserRequest) (response *UnbindWorkGroupsFromUserResponse, err error)
- func (c *Client) UnlockMetaData(request *UnlockMetaDataRequest) (response *UnlockMetaDataResponse, err error)
- func (c *Client) UnlockMetaDataWithContext(ctx context.Context, request *UnlockMetaDataRequest) (response *UnlockMetaDataResponse, err error)
- type Column
- type CreateDMSDatabaseRequest
- type CreateDMSDatabaseRequestParams
- type CreateDMSDatabaseResponse
- type CreateDMSDatabaseResponseParams
- type CreateDMSTableRequest
- type CreateDMSTableRequestParams
- type CreateDMSTableResponse
- type CreateDMSTableResponseParams
- type CreateDatabaseRequest
- type CreateDatabaseRequestParams
- type CreateDatabaseResponse
- type CreateDatabaseResponseParams
- type CreateExportTaskRequest
- type CreateExportTaskRequestParams
- type CreateExportTaskResponse
- type CreateExportTaskResponseParams
- type CreateImportTaskRequest
- type CreateImportTaskRequestParams
- type CreateImportTaskResponse
- type CreateImportTaskResponseParams
- type CreateScriptRequest
- type CreateScriptRequestParams
- type CreateScriptResponse
- type CreateScriptResponseParams
- type CreateSparkAppRequest
- type CreateSparkAppRequestParams
- type CreateSparkAppResponse
- type CreateSparkAppResponseParams
- type CreateSparkAppTaskRequest
- type CreateSparkAppTaskRequestParams
- type CreateSparkAppTaskResponse
- type CreateSparkAppTaskResponseParams
- type CreateStoreLocationRequest
- type CreateStoreLocationRequestParams
- type CreateStoreLocationResponse
- type CreateStoreLocationResponseParams
- type CreateTableRequest
- type CreateTableRequestParams
- type CreateTableResponse
- type CreateTableResponseParams
- type CreateTaskRequest
- type CreateTaskRequestParams
- type CreateTaskResponse
- type CreateTaskResponseParams
- type CreateTasksInOrderRequest
- type CreateTasksInOrderRequestParams
- type CreateTasksInOrderResponse
- type CreateTasksInOrderResponseParams
- type CreateTasksRequest
- type CreateTasksRequestParams
- type CreateTasksResponse
- type CreateTasksResponseParams
- type CreateUserRequest
- type CreateUserRequestParams
- type CreateUserResponse
- type CreateUserResponseParams
- type CreateWorkGroupRequest
- type CreateWorkGroupRequestParams
- type CreateWorkGroupResponse
- type CreateWorkGroupResponseParams
- type DMSColumn
- type DMSColumnOrder
- type DMSPartition
- type DMSSds
- type DMSTable
- type DMSTableInfo
- type DataFormat
- type DatabaseInfo
- type DatabaseResponseInfo
- type DeleteScriptRequest
- type DeleteScriptRequestParams
- type DeleteScriptResponse
- type DeleteScriptResponseParams
- type DeleteSparkAppRequest
- type DeleteSparkAppRequestParams
- type DeleteSparkAppResponse
- type DeleteSparkAppResponseParams
- type DeleteUserRequest
- type DeleteUserRequestParams
- type DeleteUserResponse
- type DeleteUserResponseParams
- type DeleteUsersFromWorkGroupRequest
- type DeleteUsersFromWorkGroupRequestParams
- type DeleteUsersFromWorkGroupResponse
- type DeleteUsersFromWorkGroupResponseParams
- type DeleteWorkGroupRequest
- type DeleteWorkGroupRequestParams
- type DeleteWorkGroupResponse
- type DeleteWorkGroupResponseParams
- type DescribeDMSDatabaseRequest
- type DescribeDMSDatabaseRequestParams
- type DescribeDMSDatabaseResponse
- type DescribeDMSDatabaseResponseParams
- type DescribeDMSPartitionsRequest
- type DescribeDMSPartitionsRequestParams
- type DescribeDMSPartitionsResponse
- type DescribeDMSPartitionsResponseParams
- type DescribeDMSTableRequest
- type DescribeDMSTableRequestParams
- type DescribeDMSTableResponse
- type DescribeDMSTableResponseParams
- type DescribeDMSTablesRequest
- type DescribeDMSTablesRequestParams
- type DescribeDMSTablesResponse
- type DescribeDMSTablesResponseParams
- type DescribeDatabasesRequest
- type DescribeDatabasesRequestParams
- type DescribeDatabasesResponse
- type DescribeDatabasesResponseParams
- type DescribeScriptsRequest
- type DescribeScriptsRequestParams
- type DescribeScriptsResponse
- type DescribeScriptsResponseParams
- type DescribeSparkAppJobRequest
- type DescribeSparkAppJobRequestParams
- type DescribeSparkAppJobResponse
- type DescribeSparkAppJobResponseParams
- type DescribeSparkAppJobsRequest
- type DescribeSparkAppJobsRequestParams
- type DescribeSparkAppJobsResponse
- type DescribeSparkAppJobsResponseParams
- type DescribeSparkAppTasksRequest
- type DescribeSparkAppTasksRequestParams
- type DescribeSparkAppTasksResponse
- type DescribeSparkAppTasksResponseParams
- type DescribeStoreLocationRequest
- type DescribeStoreLocationRequestParams
- type DescribeStoreLocationResponse
- type DescribeStoreLocationResponseParams
- type DescribeTableRequest
- type DescribeTableRequestParams
- type DescribeTableResponse
- type DescribeTableResponseParams
- type DescribeTablesRequest
- type DescribeTablesRequestParams
- type DescribeTablesResponse
- type DescribeTablesResponseParams
- type DescribeTaskResultRequest
- type DescribeTaskResultRequestParams
- type DescribeTaskResultResponse
- type DescribeTaskResultResponseParams
- type DescribeTasksRequest
- type DescribeTasksRequestParams
- type DescribeTasksResponse
- type DescribeTasksResponseParams
- type DescribeUsersRequest
- type DescribeUsersRequestParams
- type DescribeUsersResponse
- type DescribeUsersResponseParams
- type DescribeViewsRequest
- type DescribeViewsRequestParams
- type DescribeViewsResponse
- type DescribeViewsResponseParams
- type DescribeWorkGroupsRequest
- type DescribeWorkGroupsRequestParams
- type DescribeWorkGroupsResponse
- type DescribeWorkGroupsResponseParams
- type DetachUserPolicyRequest
- type DetachUserPolicyRequestParams
- type DetachUserPolicyResponse
- type DetachUserPolicyResponseParams
- type DetachWorkGroupPolicyRequest
- type DetachWorkGroupPolicyRequestParams
- type DetachWorkGroupPolicyResponse
- type DetachWorkGroupPolicyResponseParams
- type DropDMSDatabaseRequest
- type DropDMSDatabaseRequestParams
- type DropDMSDatabaseResponse
- type DropDMSDatabaseResponseParams
- type DropDMSPartitionsRequest
- type DropDMSPartitionsRequestParams
- type DropDMSPartitionsResponse
- type DropDMSPartitionsResponseParams
- type DropDMSTableRequest
- type DropDMSTableRequestParams
- type DropDMSTableResponse
- type DropDMSTableResponseParams
- type Execution
- type Filter
- type JobLogResult
- type KVPair
- type ListTaskJobLogDetailRequest
- type ListTaskJobLogDetailRequestParams
- type ListTaskJobLogDetailResponse
- type ListTaskJobLogDetailResponseParams
- type LockComponentInfo
- type LockMetaDataRequest
- type LockMetaDataRequestParams
- type LockMetaDataResponse
- type LockMetaDataResponseParams
- type ModifySparkAppRequest
- type ModifySparkAppRequestParams
- type ModifySparkAppResponse
- type ModifySparkAppResponseParams
- type ModifyUserRequest
- type ModifyUserRequestParams
- type ModifyUserResponse
- type ModifyUserResponseParams
- type ModifyWorkGroupRequest
- type ModifyWorkGroupRequestParams
- type ModifyWorkGroupResponse
- type ModifyWorkGroupResponseParams
- type Other
- type Partition
- type Policy
- type Property
- type ReportHeartbeatMetaDataRequest
- type ReportHeartbeatMetaDataRequestParams
- type ReportHeartbeatMetaDataResponse
- type ReportHeartbeatMetaDataResponseParams
- type SQLTask
- type Script
- type SparkJobInfo
- type StreamingStatistics
- type TableBaseInfo
- type TableInfo
- type TableResponseInfo
- type Task
- type TaskResponseInfo
- type TaskResultInfo
- type TasksInfo
- type TasksOverview
- type TextFile
- type UnbindWorkGroupsFromUserRequest
- type UnbindWorkGroupsFromUserRequestParams
- type UnbindWorkGroupsFromUserResponse
- type UnbindWorkGroupsFromUserResponseParams
- type UnlockMetaDataRequest
- type UnlockMetaDataRequestParams
- type UnlockMetaDataResponse
- type UnlockMetaDataResponseParams
- type UserIdSetOfWorkGroupId
- type UserInfo
- type UserMessage
- type ViewBaseInfo
- type ViewResponseInfo
- type WorkGroupIdSetOfUserId
- type WorkGroupInfo
- type WorkGroupMessage
Constants ¶
const ( // CAM签名/鉴权错误。 AUTHFAILURE = "AuthFailure" // 操作失败。 FAILEDOPERATION = "FailedOperation" // 另一个请求正在处理中,请稍后再试。 FAILEDOPERATION_ANOTHERREQUESTPROCESSING = "FailedOperation.AnotherRequestProcessing" // 获取鉴权策略失败。 FAILEDOPERATION_GETPOLICYFAILED = "FailedOperation.GetPolicyFailed" // 获取用户信息失败。 FAILEDOPERATION_GETUSERINFOFAILED = "FailedOperation.GetUserInfoFailed" // 获取工作组信息失败。 FAILEDOPERATION_GETWORKGROUPINFOFAILED = "FailedOperation.GetWorkGroupInfoFailed" // 授权失败。 FAILEDOPERATION_GRANTPOLICYFAILED = "FailedOperation.GrantPolicyFailed" // HTTP客户端请求失败。 FAILEDOPERATION_HTTPCLIENTDOREQUESTFAILED = "FailedOperation.HttpClientDoRequestFailed" // 取消授权失败。 FAILEDOPERATION_REVOKEPOLICYFAILED = "FailedOperation.RevokePolicyFailed" // 内部错误。 INTERNALERROR = "InternalError" // 数据库错误。 INTERNALERROR_DBERROR = "InternalError.DBError" // 参数错误。 INVALIDPARAMETER = "InvalidParameter" // 重复的工作组名称。 INVALIDPARAMETER_DUPLICATEGROUPNAME = "InvalidParameter.DuplicateGroupName" // 重复的用户名。 INVALIDPARAMETER_DUPLICATEUSERNAME = "InvalidParameter.DuplicateUserName" // 无效的访问策略。 INVALIDPARAMETER_INVALIDACCESSPOLICY = "InvalidParameter.InvalidAccessPolicy" // 无效的数据引擎名。 INVALIDPARAMETER_INVALIDDATAENGINENAME = "InvalidParameter.InvalidDataEngineName" // 无效的描述信息。 INVALIDPARAMETER_INVALIDDESCRIPTION = "InvalidParameter.InvalidDescription" // 无效的容错策略。 INVALIDPARAMETER_INVALIDFAILURETOLERANCE = "InvalidParameter.InvalidFailureTolerance" // 无效的工作组Id。 INVALIDPARAMETER_INVALIDGROUPID = "InvalidParameter.InvalidGroupId" // 无效的Offset值。 INVALIDPARAMETER_INVALIDOFFSET = "InvalidParameter.InvalidOffset" // 无效的CAM role arn。 INVALIDPARAMETER_INVALIDROLEARN = "InvalidParameter.InvalidRoleArn" // SQL解析失败。 INVALIDPARAMETER_INVALIDSQL = "InvalidParameter.InvalidSQL" // SQL数量不符合规范。 INVALIDPARAMETER_INVALIDSQLNUM = "InvalidParameter.InvalidSQLNum" // 不支持的排序类型。 INVALIDPARAMETER_INVALIDSORTBYTYPE = "InvalidParameter.InvalidSortByType" // SparkAppParam无效。 INVALIDPARAMETER_INVALIDSPARKAPPPARAM = "InvalidParameter.InvalidSparkAppParam" // 存储位置错误。 INVALIDPARAMETER_INVALIDSTORELOCATION = "InvalidParameter.InvalidStoreLocation" // 无效的taskid。 INVALIDPARAMETER_INVALIDTASKID = "InvalidParameter.InvalidTaskId" // 无效的任务类型。 INVALIDPARAMETER_INVALIDTASKTYPE = "InvalidParameter.InvalidTaskType" // 无效用户名称。 INVALIDPARAMETER_INVALIDUSERALIAS = "InvalidParameter.InvalidUserAlias" // 无效的用户名。 INVALIDPARAMETER_INVALIDUSERNAME = "InvalidParameter.InvalidUserName" // 无效的用户类型。 INVALIDPARAMETER_INVALIDUSERTYPE = "InvalidParameter.InvalidUserType" // 无效的工作组名。 INVALIDPARAMETER_INVALIDWORKGROUPNAME = "InvalidParameter.InvalidWorkGroupName" // 任务已经结束,不能取消。 INVALIDPARAMETER_TASKALREADYFINISHED = "InvalidParameter.TaskAlreadyFinished" // 参数取值错误。 INVALIDPARAMETERVALUE = "InvalidParameterValue" // 缺少参数错误。 MISSINGPARAMETER = "MissingParameter" // 资源不存在。 RESOURCENOTFOUND = "ResourceNotFound" // 指定数据源连接没有找到。 RESOURCENOTFOUND_DATASOURCENOTFOUND = "ResourceNotFound.DatasourceNotFound" // 未找到结果路径。 RESOURCENOTFOUND_RESULTOUTPUTPATHNOTFOUND = "ResourceNotFound.ResultOutputPathNotFound" // 资源不可用。 RESOURCEUNAVAILABLE = "ResourceUnavailable" // 账号余额不足,无法执行SQL任务。 RESOURCEUNAVAILABLE_BALANCEINSUFFICIENT = "ResourceUnavailable.BalanceInsufficient" // 资源售罄。 RESOURCESSOLDOUT = "ResourcesSoldOut" // 无权限授权策略。 RESOURCESSOLDOUT_UNAUTHORIZEDGRANTPOLICY = "ResourcesSoldOut.UnauthorizedGrantPolicy" // 无权限操作。 RESOURCESSOLDOUT_UNAUTHORIZEDOPERATION = "ResourcesSoldOut.UnauthorizedOperation" // 无权限回收权限。 RESOURCESSOLDOUT_UNAUTHORIZEDREVOKEPOLICY = "ResourcesSoldOut.UnauthorizedRevokePolicy" // 未授权操作。 UNAUTHORIZEDOPERATION = "UnauthorizedOperation" // 子用户不是管理员,无权将用户添加到工作组。 UNAUTHORIZEDOPERATION_ADDUSERSTOWORKGROUP = "UnauthorizedOperation.AddUsersToWorkgroup" // 子用户不是管理员,无权绑定工作组到用户。 UNAUTHORIZEDOPERATION_BINDWORKGROUPSTOUSER = "UnauthorizedOperation.BindWorkgroupsToUser" // 子用户不是管理员,无权创建工作组。 UNAUTHORIZEDOPERATION_CREATEWORKGROUP = "UnauthorizedOperation.CreateWorkgroup" // 子用户不是管理员,无权删除用户。 UNAUTHORIZEDOPERATION_DELETEUSER = "UnauthorizedOperation.DeleteUser" // 子用户不是管理员,无权将用户从工作组解绑。 UNAUTHORIZEDOPERATION_DELETEUSERSFROMWORKGROUP = "UnauthorizedOperation.DeleteUsersFromWorkgroup" // 子用户不是管理员,无权删除工作组。 UNAUTHORIZEDOPERATION_DELETEWORKGROUP = "UnauthorizedOperation.DeleteWorkgroup" // 子用户无权授予特定权限。 UNAUTHORIZEDOPERATION_GRANTPOLICY = "UnauthorizedOperation.GrantPolicy" // 子用户不是管理员,无权修改用户信息。 UNAUTHORIZEDOPERATION_MODIFYUSERINFO = "UnauthorizedOperation.ModifyUserInfo" // 子用户不是管理员,无权修改工作组信息。 UNAUTHORIZEDOPERATION_MODIFYWORKGROUPINFO = "UnauthorizedOperation.ModifyWorkgroupInfo" // 子用户无权取消特定权限。 UNAUTHORIZEDOPERATION_REVOKEPOLICY = "UnauthorizedOperation.RevokePolicy" // 子用户不是管理员,无权将工作组和用户解绑。 UNAUTHORIZEDOPERATION_UNBINDWORKGROUPSFROMUSER = "UnauthorizedOperation.UnbindWorkgroupsFromUser" // 子用户无权使用计算引擎。 UNAUTHORIZEDOPERATION_USECOMPUTINGENGINE = "UnauthorizedOperation.UseComputingEngine" // 子用户不存在。 UNAUTHORIZEDOPERATION_USERNOTEXIST = "UnauthorizedOperation.UserNotExist" // 操作不支持。 UNSUPPORTEDOPERATION = "UnsupportedOperation" // 无法修改主账号。 UNSUPPORTEDOPERATION_MODIFYOWNERUNSUPPORTED = "UnsupportedOperation.ModifyOwnerUnsupported" )
const APIVersion = "2021-01-25"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AddDMSPartitionsRequest ¶ added in v1.0.432
type AddDMSPartitionsRequest struct { *tchttp.BaseRequest // 分区 Partitions []*DMSPartition `json:"Partitions,omitempty" name:"Partitions"` }
func NewAddDMSPartitionsRequest ¶ added in v1.0.432
func NewAddDMSPartitionsRequest() (request *AddDMSPartitionsRequest)
func (*AddDMSPartitionsRequest) FromJsonString ¶ added in v1.0.432
func (r *AddDMSPartitionsRequest) 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 (*AddDMSPartitionsRequest) ToJsonString ¶ added in v1.0.432
func (r *AddDMSPartitionsRequest) ToJsonString() string
type AddDMSPartitionsRequestParams ¶ added in v1.0.432
type AddDMSPartitionsRequestParams struct { // 分区 Partitions []*DMSPartition `json:"Partitions,omitempty" name:"Partitions"` }
Predefined struct for user
type AddDMSPartitionsResponse ¶ added in v1.0.432
type AddDMSPartitionsResponse struct { *tchttp.BaseResponse Response *AddDMSPartitionsResponseParams `json:"Response"` }
func NewAddDMSPartitionsResponse ¶ added in v1.0.432
func NewAddDMSPartitionsResponse() (response *AddDMSPartitionsResponse)
func (*AddDMSPartitionsResponse) FromJsonString ¶ added in v1.0.432
func (r *AddDMSPartitionsResponse) 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 (*AddDMSPartitionsResponse) ToJsonString ¶ added in v1.0.432
func (r *AddDMSPartitionsResponse) ToJsonString() string
type AddDMSPartitionsResponseParams ¶ added in v1.0.432
type AddDMSPartitionsResponseParams struct { // 成功数量 Total *int64 `json:"Total,omitempty" name:"Total"` // 分区值 Partitions []*DMSPartition `json:"Partitions,omitempty" name:"Partitions"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type AddUsersToWorkGroupRequest ¶ added in v1.0.206
type AddUsersToWorkGroupRequest struct { *tchttp.BaseRequest // 要操作的工作组和用户信息 AddInfo *UserIdSetOfWorkGroupId `json:"AddInfo,omitempty" name:"AddInfo"` }
func NewAddUsersToWorkGroupRequest ¶ added in v1.0.206
func NewAddUsersToWorkGroupRequest() (request *AddUsersToWorkGroupRequest)
func (*AddUsersToWorkGroupRequest) FromJsonString ¶ added in v1.0.206
func (r *AddUsersToWorkGroupRequest) 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 (*AddUsersToWorkGroupRequest) ToJsonString ¶ added in v1.0.206
func (r *AddUsersToWorkGroupRequest) ToJsonString() string
type AddUsersToWorkGroupRequestParams ¶ added in v1.0.426
type AddUsersToWorkGroupRequestParams struct { // 要操作的工作组和用户信息 AddInfo *UserIdSetOfWorkGroupId `json:"AddInfo,omitempty" name:"AddInfo"` }
Predefined struct for user
type AddUsersToWorkGroupResponse ¶ added in v1.0.206
type AddUsersToWorkGroupResponse struct { *tchttp.BaseResponse Response *AddUsersToWorkGroupResponseParams `json:"Response"` }
func NewAddUsersToWorkGroupResponse ¶ added in v1.0.206
func NewAddUsersToWorkGroupResponse() (response *AddUsersToWorkGroupResponse)
func (*AddUsersToWorkGroupResponse) FromJsonString ¶ added in v1.0.206
func (r *AddUsersToWorkGroupResponse) 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 (*AddUsersToWorkGroupResponse) ToJsonString ¶ added in v1.0.206
func (r *AddUsersToWorkGroupResponse) ToJsonString() string
type AddUsersToWorkGroupResponseParams ¶ added in v1.0.426
type AddUsersToWorkGroupResponseParams struct { // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type AlterDMSDatabaseRequest ¶ added in v1.0.432
type AlterDMSDatabaseRequest struct { *tchttp.BaseRequest // 当前名称 CurrentName *string `json:"CurrentName,omitempty" name:"CurrentName"` // schema名称 SchemaName *string `json:"SchemaName,omitempty" name:"SchemaName"` // 路径 Location *string `json:"Location,omitempty" name:"Location"` // 基础对象 Asset *Asset `json:"Asset,omitempty" name:"Asset"` }
func NewAlterDMSDatabaseRequest ¶ added in v1.0.432
func NewAlterDMSDatabaseRequest() (request *AlterDMSDatabaseRequest)
func (*AlterDMSDatabaseRequest) FromJsonString ¶ added in v1.0.432
func (r *AlterDMSDatabaseRequest) 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 (*AlterDMSDatabaseRequest) ToJsonString ¶ added in v1.0.432
func (r *AlterDMSDatabaseRequest) ToJsonString() string
type AlterDMSDatabaseRequestParams ¶ added in v1.0.432
type AlterDMSDatabaseRequestParams struct { // 当前名称 CurrentName *string `json:"CurrentName,omitempty" name:"CurrentName"` // schema名称 SchemaName *string `json:"SchemaName,omitempty" name:"SchemaName"` // 路径 Location *string `json:"Location,omitempty" name:"Location"` // 基础对象 Asset *Asset `json:"Asset,omitempty" name:"Asset"` }
Predefined struct for user
type AlterDMSDatabaseResponse ¶ added in v1.0.432
type AlterDMSDatabaseResponse struct { *tchttp.BaseResponse Response *AlterDMSDatabaseResponseParams `json:"Response"` }
func NewAlterDMSDatabaseResponse ¶ added in v1.0.432
func NewAlterDMSDatabaseResponse() (response *AlterDMSDatabaseResponse)
func (*AlterDMSDatabaseResponse) FromJsonString ¶ added in v1.0.432
func (r *AlterDMSDatabaseResponse) 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 (*AlterDMSDatabaseResponse) ToJsonString ¶ added in v1.0.432
func (r *AlterDMSDatabaseResponse) ToJsonString() string
type AlterDMSDatabaseResponseParams ¶ added in v1.0.432
type AlterDMSDatabaseResponseParams struct { // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type AlterDMSPartitionRequest ¶ added in v1.0.432
type AlterDMSPartitionRequest struct { *tchttp.BaseRequest // 当前名称,变更前db名称 CurrentDbName *string `json:"CurrentDbName,omitempty" name:"CurrentDbName"` // 当前名称,变更前table名称 CurrentTableName *string `json:"CurrentTableName,omitempty" name:"CurrentTableName"` // 当前名称,变更前Part名称 CurrentValues *string `json:"CurrentValues,omitempty" name:"CurrentValues"` // 分区 Partition *DMSPartition `json:"Partition,omitempty" name:"Partition"` }
func NewAlterDMSPartitionRequest ¶ added in v1.0.432
func NewAlterDMSPartitionRequest() (request *AlterDMSPartitionRequest)
func (*AlterDMSPartitionRequest) FromJsonString ¶ added in v1.0.432
func (r *AlterDMSPartitionRequest) 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 (*AlterDMSPartitionRequest) ToJsonString ¶ added in v1.0.432
func (r *AlterDMSPartitionRequest) ToJsonString() string
type AlterDMSPartitionRequestParams ¶ added in v1.0.432
type AlterDMSPartitionRequestParams struct { // 当前名称,变更前db名称 CurrentDbName *string `json:"CurrentDbName,omitempty" name:"CurrentDbName"` // 当前名称,变更前table名称 CurrentTableName *string `json:"CurrentTableName,omitempty" name:"CurrentTableName"` // 当前名称,变更前Part名称 CurrentValues *string `json:"CurrentValues,omitempty" name:"CurrentValues"` // 分区 Partition *DMSPartition `json:"Partition,omitempty" name:"Partition"` }
Predefined struct for user
type AlterDMSPartitionResponse ¶ added in v1.0.432
type AlterDMSPartitionResponse struct { *tchttp.BaseResponse Response *AlterDMSPartitionResponseParams `json:"Response"` }
func NewAlterDMSPartitionResponse ¶ added in v1.0.432
func NewAlterDMSPartitionResponse() (response *AlterDMSPartitionResponse)
func (*AlterDMSPartitionResponse) FromJsonString ¶ added in v1.0.432
func (r *AlterDMSPartitionResponse) 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 (*AlterDMSPartitionResponse) ToJsonString ¶ added in v1.0.432
func (r *AlterDMSPartitionResponse) ToJsonString() string
type AlterDMSPartitionResponseParams ¶ added in v1.0.432
type AlterDMSPartitionResponseParams struct { // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type AlterDMSTableRequest ¶ added in v1.0.432
type AlterDMSTableRequest struct { *tchttp.BaseRequest // 当前名称 CurrentName *string `json:"CurrentName,omitempty" name:"CurrentName"` // 当前数据库名称 CurrentDbName *string `json:"CurrentDbName,omitempty" name:"CurrentDbName"` // 基础对象 Asset *Asset `json:"Asset,omitempty" name:"Asset"` // 表类型 Type *string `json:"Type,omitempty" name:"Type"` // 数据库名称 DbName *string `json:"DbName,omitempty" name:"DbName"` // 存储大小 StorageSize *int64 `json:"StorageSize,omitempty" name:"StorageSize"` // 记录数量 RecordCount *int64 `json:"RecordCount,omitempty" name:"RecordCount"` // 生命周期 LifeTime *int64 `json:"LifeTime,omitempty" name:"LifeTime"` // 数据更新时间 DataUpdateTime *string `json:"DataUpdateTime,omitempty" name:"DataUpdateTime"` // 结构更新时间 StructUpdateTime *string `json:"StructUpdateTime,omitempty" name:"StructUpdateTime"` // 最后访问时间 LastAccessTime *string `json:"LastAccessTime,omitempty" name:"LastAccessTime"` // 存储对象 Sds *DMSSds `json:"Sds,omitempty" name:"Sds"` // 列 Columns []*DMSColumn `json:"Columns,omitempty" name:"Columns"` // 分区键值 PartitionKeys []*DMSColumn `json:"PartitionKeys,omitempty" name:"PartitionKeys"` // 视图文本 ViewOriginalText *string `json:"ViewOriginalText,omitempty" name:"ViewOriginalText"` // 视图文本 ViewExpandedText *string `json:"ViewExpandedText,omitempty" name:"ViewExpandedText"` // 分区 Partitions []*DMSPartition `json:"Partitions,omitempty" name:"Partitions"` // 当前表名 Name *string `json:"Name,omitempty" name:"Name"` }
func NewAlterDMSTableRequest ¶ added in v1.0.432
func NewAlterDMSTableRequest() (request *AlterDMSTableRequest)
func (*AlterDMSTableRequest) FromJsonString ¶ added in v1.0.432
func (r *AlterDMSTableRequest) 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 (*AlterDMSTableRequest) ToJsonString ¶ added in v1.0.432
func (r *AlterDMSTableRequest) ToJsonString() string
type AlterDMSTableRequestParams ¶ added in v1.0.432
type AlterDMSTableRequestParams struct { // 当前名称 CurrentName *string `json:"CurrentName,omitempty" name:"CurrentName"` // 当前数据库名称 CurrentDbName *string `json:"CurrentDbName,omitempty" name:"CurrentDbName"` // 基础对象 Asset *Asset `json:"Asset,omitempty" name:"Asset"` // 表类型 Type *string `json:"Type,omitempty" name:"Type"` // 数据库名称 DbName *string `json:"DbName,omitempty" name:"DbName"` // 存储大小 StorageSize *int64 `json:"StorageSize,omitempty" name:"StorageSize"` // 记录数量 RecordCount *int64 `json:"RecordCount,omitempty" name:"RecordCount"` // 生命周期 LifeTime *int64 `json:"LifeTime,omitempty" name:"LifeTime"` // 数据更新时间 DataUpdateTime *string `json:"DataUpdateTime,omitempty" name:"DataUpdateTime"` // 结构更新时间 StructUpdateTime *string `json:"StructUpdateTime,omitempty" name:"StructUpdateTime"` // 最后访问时间 LastAccessTime *string `json:"LastAccessTime,omitempty" name:"LastAccessTime"` // 存储对象 Sds *DMSSds `json:"Sds,omitempty" name:"Sds"` // 列 Columns []*DMSColumn `json:"Columns,omitempty" name:"Columns"` // 分区键值 PartitionKeys []*DMSColumn `json:"PartitionKeys,omitempty" name:"PartitionKeys"` // 视图文本 ViewOriginalText *string `json:"ViewOriginalText,omitempty" name:"ViewOriginalText"` // 视图文本 ViewExpandedText *string `json:"ViewExpandedText,omitempty" name:"ViewExpandedText"` // 分区 Partitions []*DMSPartition `json:"Partitions,omitempty" name:"Partitions"` // 当前表名 Name *string `json:"Name,omitempty" name:"Name"` }
Predefined struct for user
type AlterDMSTableResponse ¶ added in v1.0.432
type AlterDMSTableResponse struct { *tchttp.BaseResponse Response *AlterDMSTableResponseParams `json:"Response"` }
func NewAlterDMSTableResponse ¶ added in v1.0.432
func NewAlterDMSTableResponse() (response *AlterDMSTableResponse)
func (*AlterDMSTableResponse) FromJsonString ¶ added in v1.0.432
func (r *AlterDMSTableResponse) 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 (*AlterDMSTableResponse) ToJsonString ¶ added in v1.0.432
func (r *AlterDMSTableResponse) ToJsonString() string
type AlterDMSTableResponseParams ¶ added in v1.0.432
type AlterDMSTableResponseParams struct { // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type Asset ¶ added in v1.0.432
type Asset struct { // 主键 // 注意:此字段可能返回 null,表示取不到有效值。 Id *int64 `json:"Id,omitempty" name:"Id"` // 名称 // 注意:此字段可能返回 null,表示取不到有效值。 Name *string `json:"Name,omitempty" name:"Name"` // 对象GUID值 // 注意:此字段可能返回 null,表示取不到有效值。 Guid *string `json:"Guid,omitempty" name:"Guid"` // 数据目录 // 注意:此字段可能返回 null,表示取不到有效值。 Catalog *string `json:"Catalog,omitempty" name:"Catalog"` // 描述信息 Description *string `json:"Description,omitempty" name:"Description"` // 对象owner Owner *string `json:"Owner,omitempty" name:"Owner"` // 对象owner账户 OwnerAccount *string `json:"OwnerAccount,omitempty" name:"OwnerAccount"` // 权限 PermValues []*KVPair `json:"PermValues,omitempty" name:"PermValues"` // 附加属性 Params []*KVPair `json:"Params,omitempty" name:"Params"` // 附加业务属性 BizParams []*KVPair `json:"BizParams,omitempty" name:"BizParams"` // 数据版本 DataVersion *int64 `json:"DataVersion,omitempty" name:"DataVersion"` // 创建时间 CreateTime *string `json:"CreateTime,omitempty" name:"CreateTime"` // 修改时间 ModifiedTime *string `json:"ModifiedTime,omitempty" name:"ModifiedTime"` // 数据源主键 DatasourceId *int64 `json:"DatasourceId,omitempty" name:"DatasourceId"` }
type AttachUserPolicyRequest ¶ added in v1.0.206
type AttachUserPolicyRequest struct { *tchttp.BaseRequest // 用户Id,和子用户uin相同,需要先使用CreateUser接口创建用户。可以使用DescribeUsers接口查看。 UserId *string `json:"UserId,omitempty" name:"UserId"` // 鉴权策略集合 PolicySet []*Policy `json:"PolicySet,omitempty" name:"PolicySet"` }
func NewAttachUserPolicyRequest ¶ added in v1.0.206
func NewAttachUserPolicyRequest() (request *AttachUserPolicyRequest)
func (*AttachUserPolicyRequest) FromJsonString ¶ added in v1.0.206
func (r *AttachUserPolicyRequest) 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 (*AttachUserPolicyRequest) ToJsonString ¶ added in v1.0.206
func (r *AttachUserPolicyRequest) ToJsonString() string
type AttachUserPolicyRequestParams ¶ added in v1.0.426
type AttachUserPolicyRequestParams struct { // 用户Id,和子用户uin相同,需要先使用CreateUser接口创建用户。可以使用DescribeUsers接口查看。 UserId *string `json:"UserId,omitempty" name:"UserId"` // 鉴权策略集合 PolicySet []*Policy `json:"PolicySet,omitempty" name:"PolicySet"` }
Predefined struct for user
type AttachUserPolicyResponse ¶ added in v1.0.206
type AttachUserPolicyResponse struct { *tchttp.BaseResponse Response *AttachUserPolicyResponseParams `json:"Response"` }
func NewAttachUserPolicyResponse ¶ added in v1.0.206
func NewAttachUserPolicyResponse() (response *AttachUserPolicyResponse)
func (*AttachUserPolicyResponse) FromJsonString ¶ added in v1.0.206
func (r *AttachUserPolicyResponse) 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 (*AttachUserPolicyResponse) ToJsonString ¶ added in v1.0.206
func (r *AttachUserPolicyResponse) ToJsonString() string
type AttachUserPolicyResponseParams ¶ added in v1.0.426
type AttachUserPolicyResponseParams struct { // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type AttachWorkGroupPolicyRequest ¶ added in v1.0.206
type AttachWorkGroupPolicyRequest struct { *tchttp.BaseRequest // 工作组Id WorkGroupId *int64 `json:"WorkGroupId,omitempty" name:"WorkGroupId"` // 要绑定的策略集合 PolicySet []*Policy `json:"PolicySet,omitempty" name:"PolicySet"` }
func NewAttachWorkGroupPolicyRequest ¶ added in v1.0.206
func NewAttachWorkGroupPolicyRequest() (request *AttachWorkGroupPolicyRequest)
func (*AttachWorkGroupPolicyRequest) FromJsonString ¶ added in v1.0.206
func (r *AttachWorkGroupPolicyRequest) 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 (*AttachWorkGroupPolicyRequest) ToJsonString ¶ added in v1.0.206
func (r *AttachWorkGroupPolicyRequest) ToJsonString() string
type AttachWorkGroupPolicyRequestParams ¶ added in v1.0.426
type AttachWorkGroupPolicyRequestParams struct { // 工作组Id WorkGroupId *int64 `json:"WorkGroupId,omitempty" name:"WorkGroupId"` // 要绑定的策略集合 PolicySet []*Policy `json:"PolicySet,omitempty" name:"PolicySet"` }
Predefined struct for user
type AttachWorkGroupPolicyResponse ¶ added in v1.0.206
type AttachWorkGroupPolicyResponse struct { *tchttp.BaseResponse Response *AttachWorkGroupPolicyResponseParams `json:"Response"` }
func NewAttachWorkGroupPolicyResponse ¶ added in v1.0.206
func NewAttachWorkGroupPolicyResponse() (response *AttachWorkGroupPolicyResponse)
func (*AttachWorkGroupPolicyResponse) FromJsonString ¶ added in v1.0.206
func (r *AttachWorkGroupPolicyResponse) 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 (*AttachWorkGroupPolicyResponse) ToJsonString ¶ added in v1.0.206
func (r *AttachWorkGroupPolicyResponse) ToJsonString() string
type AttachWorkGroupPolicyResponseParams ¶ added in v1.0.426
type AttachWorkGroupPolicyResponseParams struct { // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type BindWorkGroupsToUserRequest ¶ added in v1.0.206
type BindWorkGroupsToUserRequest struct { *tchttp.BaseRequest // 绑定的用户和工作组信息 AddInfo *WorkGroupIdSetOfUserId `json:"AddInfo,omitempty" name:"AddInfo"` }
func NewBindWorkGroupsToUserRequest ¶ added in v1.0.206
func NewBindWorkGroupsToUserRequest() (request *BindWorkGroupsToUserRequest)
func (*BindWorkGroupsToUserRequest) FromJsonString ¶ added in v1.0.206
func (r *BindWorkGroupsToUserRequest) 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 (*BindWorkGroupsToUserRequest) ToJsonString ¶ added in v1.0.206
func (r *BindWorkGroupsToUserRequest) ToJsonString() string
type BindWorkGroupsToUserRequestParams ¶ added in v1.0.426
type BindWorkGroupsToUserRequestParams struct { // 绑定的用户和工作组信息 AddInfo *WorkGroupIdSetOfUserId `json:"AddInfo,omitempty" name:"AddInfo"` }
Predefined struct for user
type BindWorkGroupsToUserResponse ¶ added in v1.0.206
type BindWorkGroupsToUserResponse struct { *tchttp.BaseResponse Response *BindWorkGroupsToUserResponseParams `json:"Response"` }
func NewBindWorkGroupsToUserResponse ¶ added in v1.0.206
func NewBindWorkGroupsToUserResponse() (response *BindWorkGroupsToUserResponse)
func (*BindWorkGroupsToUserResponse) FromJsonString ¶ added in v1.0.206
func (r *BindWorkGroupsToUserResponse) 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 (*BindWorkGroupsToUserResponse) ToJsonString ¶ added in v1.0.206
func (r *BindWorkGroupsToUserResponse) ToJsonString() string
type BindWorkGroupsToUserResponseParams ¶ added in v1.0.426
type BindWorkGroupsToUserResponseParams struct { // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type CSV ¶
type CSV struct { // 压缩格式,["Snappy", "Gzip", "None"选一]。 CodeCompress *string `json:"CodeCompress,omitempty" name:"CodeCompress"` // CSV序列化及反序列化数据结构。 CSVSerde *CSVSerde `json:"CSVSerde,omitempty" name:"CSVSerde"` // 标题行,默认为0。 // 注意:此字段可能返回 null,表示取不到有效值。 HeadLines *int64 `json:"HeadLines,omitempty" name:"HeadLines"` // 格式,默认值为CSV // 注意:此字段可能返回 null,表示取不到有效值。 Format *string `json:"Format,omitempty" name:"Format"` }
type CSVSerde ¶
type CSVSerde struct { // CSV序列化转义符,默认为"\\",最长8个字符,如 Escape: "/\" Escape *string `json:"Escape,omitempty" name:"Escape"` // CSV序列化字段域符,默认为"'",最长8个字符, 如 Quote: "\"" Quote *string `json:"Quote,omitempty" name:"Quote"` // CSV序列化分隔符,默认为"\t",最长8个字符, 如 Separator: "\t" Separator *string `json:"Separator,omitempty" name:"Separator"` }
type CancelTaskRequest ¶ added in v1.0.206
type CancelTaskRequest struct { *tchttp.BaseRequest // 任务Id,全局唯一 TaskId *string `json:"TaskId,omitempty" name:"TaskId"` }
func NewCancelTaskRequest ¶ added in v1.0.206
func NewCancelTaskRequest() (request *CancelTaskRequest)
func (*CancelTaskRequest) FromJsonString ¶ added in v1.0.206
func (r *CancelTaskRequest) 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 (*CancelTaskRequest) ToJsonString ¶ added in v1.0.206
func (r *CancelTaskRequest) ToJsonString() string
type CancelTaskRequestParams ¶ added in v1.0.426
type CancelTaskRequestParams struct { // 任务Id,全局唯一 TaskId *string `json:"TaskId,omitempty" name:"TaskId"` }
Predefined struct for user
type CancelTaskResponse ¶ added in v1.0.206
type CancelTaskResponse struct { *tchttp.BaseResponse Response *CancelTaskResponseParams `json:"Response"` }
func NewCancelTaskResponse ¶ added in v1.0.206
func NewCancelTaskResponse() (response *CancelTaskResponse)
func (*CancelTaskResponse) FromJsonString ¶ added in v1.0.206
func (r *CancelTaskResponse) 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 (*CancelTaskResponse) ToJsonString ¶ added in v1.0.206
func (r *CancelTaskResponse) ToJsonString() string
type CancelTaskResponseParams ¶ added in v1.0.426
type CancelTaskResponseParams struct { // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type CheckLockMetaDataRequest ¶ added in v1.0.432
type CheckLockMetaDataRequest struct { *tchttp.BaseRequest // 锁ID LockId *int64 `json:"LockId,omitempty" name:"LockId"` // 数据源名称 DatasourceConnectionName *string `json:"DatasourceConnectionName,omitempty" name:"DatasourceConnectionName"` // 事务ID TxnId *int64 `json:"TxnId,omitempty" name:"TxnId"` // 过期时间ms ElapsedMs *int64 `json:"ElapsedMs,omitempty" name:"ElapsedMs"` }
func NewCheckLockMetaDataRequest ¶ added in v1.0.432
func NewCheckLockMetaDataRequest() (request *CheckLockMetaDataRequest)
func (*CheckLockMetaDataRequest) FromJsonString ¶ added in v1.0.432
func (r *CheckLockMetaDataRequest) 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 (*CheckLockMetaDataRequest) ToJsonString ¶ added in v1.0.432
func (r *CheckLockMetaDataRequest) ToJsonString() string
type CheckLockMetaDataRequestParams ¶ added in v1.0.432
type CheckLockMetaDataRequestParams struct { // 锁ID LockId *int64 `json:"LockId,omitempty" name:"LockId"` // 数据源名称 DatasourceConnectionName *string `json:"DatasourceConnectionName,omitempty" name:"DatasourceConnectionName"` // 事务ID TxnId *int64 `json:"TxnId,omitempty" name:"TxnId"` // 过期时间ms ElapsedMs *int64 `json:"ElapsedMs,omitempty" name:"ElapsedMs"` }
Predefined struct for user
type CheckLockMetaDataResponse ¶ added in v1.0.432
type CheckLockMetaDataResponse struct { *tchttp.BaseResponse Response *CheckLockMetaDataResponseParams `json:"Response"` }
func NewCheckLockMetaDataResponse ¶ added in v1.0.432
func NewCheckLockMetaDataResponse() (response *CheckLockMetaDataResponse)
func (*CheckLockMetaDataResponse) FromJsonString ¶ added in v1.0.432
func (r *CheckLockMetaDataResponse) 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 (*CheckLockMetaDataResponse) ToJsonString ¶ added in v1.0.432
func (r *CheckLockMetaDataResponse) ToJsonString() string
type CheckLockMetaDataResponseParams ¶ added in v1.0.432
type CheckLockMetaDataResponseParams struct { // 锁ID LockId *int64 `json:"LockId,omitempty" name:"LockId"` // 锁状态:ACQUIRED、WAITING、ABORT、NOT_ACQUIRED LockState *string `json:"LockState,omitempty" name:"LockState"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type Client ¶
func NewClient ¶
func NewClient(credential common.CredentialIface, region string, clientProfile *profile.ClientProfile) (client *Client, err error)
func NewClientWithSecretId ¶
Deprecated
func (*Client) AddDMSPartitions ¶ added in v1.0.432
func (c *Client) AddDMSPartitions(request *AddDMSPartitionsRequest) (response *AddDMSPartitionsResponse, err error)
AddDMSPartitions DMS元数据新增分区
可能返回的错误码:
INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" RESOURCENOTFOUND = "ResourceNotFound" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) AddDMSPartitionsWithContext ¶ added in v1.0.432
func (c *Client) AddDMSPartitionsWithContext(ctx context.Context, request *AddDMSPartitionsRequest) (response *AddDMSPartitionsResponse, err error)
AddDMSPartitions DMS元数据新增分区
可能返回的错误码:
INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" RESOURCENOTFOUND = "ResourceNotFound" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) AddUsersToWorkGroup ¶ added in v1.0.206
func (c *Client) AddUsersToWorkGroup(request *AddUsersToWorkGroupRequest) (response *AddUsersToWorkGroupResponse, err error)
AddUsersToWorkGroup 添加用户到工作组
可能返回的错误码:
INTERNALERROR = "InternalError" INVALIDPARAMETER_INVALIDGROUPID = "InvalidParameter.InvalidGroupId" INVALIDPARAMETER_INVALIDUSERNAME = "InvalidParameter.InvalidUserName" UNAUTHORIZEDOPERATION_ADDUSERSTOWORKGROUP = "UnauthorizedOperation.AddUsersToWorkgroup"
func (*Client) AddUsersToWorkGroupWithContext ¶ added in v1.0.324
func (c *Client) AddUsersToWorkGroupWithContext(ctx context.Context, request *AddUsersToWorkGroupRequest) (response *AddUsersToWorkGroupResponse, err error)
AddUsersToWorkGroup 添加用户到工作组
可能返回的错误码:
INTERNALERROR = "InternalError" INVALIDPARAMETER_INVALIDGROUPID = "InvalidParameter.InvalidGroupId" INVALIDPARAMETER_INVALIDUSERNAME = "InvalidParameter.InvalidUserName" UNAUTHORIZEDOPERATION_ADDUSERSTOWORKGROUP = "UnauthorizedOperation.AddUsersToWorkgroup"
func (*Client) AlterDMSDatabase ¶ added in v1.0.432
func (c *Client) AlterDMSDatabase(request *AlterDMSDatabaseRequest) (response *AlterDMSDatabaseResponse, err error)
AlterDMSDatabase DMS元数据更新库
可能返回的错误码:
INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" RESOURCENOTFOUND = "ResourceNotFound" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) AlterDMSDatabaseWithContext ¶ added in v1.0.432
func (c *Client) AlterDMSDatabaseWithContext(ctx context.Context, request *AlterDMSDatabaseRequest) (response *AlterDMSDatabaseResponse, err error)
AlterDMSDatabase DMS元数据更新库
可能返回的错误码:
INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" RESOURCENOTFOUND = "ResourceNotFound" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) AlterDMSPartition ¶ added in v1.0.432
func (c *Client) AlterDMSPartition(request *AlterDMSPartitionRequest) (response *AlterDMSPartitionResponse, err error)
AlterDMSPartition DMS元数据更新分区
可能返回的错误码:
INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" RESOURCENOTFOUND = "ResourceNotFound" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) AlterDMSPartitionWithContext ¶ added in v1.0.432
func (c *Client) AlterDMSPartitionWithContext(ctx context.Context, request *AlterDMSPartitionRequest) (response *AlterDMSPartitionResponse, err error)
AlterDMSPartition DMS元数据更新分区
可能返回的错误码:
INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" RESOURCENOTFOUND = "ResourceNotFound" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) AlterDMSTable ¶ added in v1.0.432
func (c *Client) AlterDMSTable(request *AlterDMSTableRequest) (response *AlterDMSTableResponse, err error)
AlterDMSTable DMS元数据更新表
可能返回的错误码:
INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" RESOURCENOTFOUND = "ResourceNotFound" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) AlterDMSTableWithContext ¶ added in v1.0.432
func (c *Client) AlterDMSTableWithContext(ctx context.Context, request *AlterDMSTableRequest) (response *AlterDMSTableResponse, err error)
AlterDMSTable DMS元数据更新表
可能返回的错误码:
INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" RESOURCENOTFOUND = "ResourceNotFound" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) AttachUserPolicy ¶ added in v1.0.206
func (c *Client) AttachUserPolicy(request *AttachUserPolicyRequest) (response *AttachUserPolicyResponse, err error)
AttachUserPolicy 绑定鉴权策略到用户
可能返回的错误码:
FAILEDOPERATION_GETPOLICYFAILED = "FailedOperation.GetPolicyFailed" FAILEDOPERATION_GETUSERINFOFAILED = "FailedOperation.GetUserInfoFailed" FAILEDOPERATION_GETWORKGROUPINFOFAILED = "FailedOperation.GetWorkGroupInfoFailed" FAILEDOPERATION_GRANTPOLICYFAILED = "FailedOperation.GrantPolicyFailed" INTERNALERROR = "InternalError" INVALIDPARAMETER_INVALIDACCESSPOLICY = "InvalidParameter.InvalidAccessPolicy" INVALIDPARAMETER_INVALIDUSERNAME = "InvalidParameter.InvalidUserName" INVALIDPARAMETER_INVALIDUSERTYPE = "InvalidParameter.InvalidUserType" RESOURCESSOLDOUT_UNAUTHORIZEDGRANTPOLICY = "ResourcesSoldOut.UnauthorizedGrantPolicy" UNAUTHORIZEDOPERATION_GRANTPOLICY = "UnauthorizedOperation.GrantPolicy" UNAUTHORIZEDOPERATION_USERNOTEXIST = "UnauthorizedOperation.UserNotExist" UNSUPPORTEDOPERATION_MODIFYOWNERUNSUPPORTED = "UnsupportedOperation.ModifyOwnerUnsupported"
func (*Client) AttachUserPolicyWithContext ¶ added in v1.0.324
func (c *Client) AttachUserPolicyWithContext(ctx context.Context, request *AttachUserPolicyRequest) (response *AttachUserPolicyResponse, err error)
AttachUserPolicy 绑定鉴权策略到用户
可能返回的错误码:
FAILEDOPERATION_GETPOLICYFAILED = "FailedOperation.GetPolicyFailed" FAILEDOPERATION_GETUSERINFOFAILED = "FailedOperation.GetUserInfoFailed" FAILEDOPERATION_GETWORKGROUPINFOFAILED = "FailedOperation.GetWorkGroupInfoFailed" FAILEDOPERATION_GRANTPOLICYFAILED = "FailedOperation.GrantPolicyFailed" INTERNALERROR = "InternalError" INVALIDPARAMETER_INVALIDACCESSPOLICY = "InvalidParameter.InvalidAccessPolicy" INVALIDPARAMETER_INVALIDUSERNAME = "InvalidParameter.InvalidUserName" INVALIDPARAMETER_INVALIDUSERTYPE = "InvalidParameter.InvalidUserType" RESOURCESSOLDOUT_UNAUTHORIZEDGRANTPOLICY = "ResourcesSoldOut.UnauthorizedGrantPolicy" UNAUTHORIZEDOPERATION_GRANTPOLICY = "UnauthorizedOperation.GrantPolicy" UNAUTHORIZEDOPERATION_USERNOTEXIST = "UnauthorizedOperation.UserNotExist" UNSUPPORTEDOPERATION_MODIFYOWNERUNSUPPORTED = "UnsupportedOperation.ModifyOwnerUnsupported"
func (*Client) AttachWorkGroupPolicy ¶ added in v1.0.206
func (c *Client) AttachWorkGroupPolicy(request *AttachWorkGroupPolicyRequest) (response *AttachWorkGroupPolicyResponse, err error)
AttachWorkGroupPolicy 绑定鉴权策略到工作组
可能返回的错误码:
FAILEDOPERATION_GETPOLICYFAILED = "FailedOperation.GetPolicyFailed" FAILEDOPERATION_GETUSERINFOFAILED = "FailedOperation.GetUserInfoFailed" FAILEDOPERATION_GETWORKGROUPINFOFAILED = "FailedOperation.GetWorkGroupInfoFailed" FAILEDOPERATION_GRANTPOLICYFAILED = "FailedOperation.GrantPolicyFailed" FAILEDOPERATION_REVOKEPOLICYFAILED = "FailedOperation.RevokePolicyFailed" INTERNALERROR = "InternalError" INVALIDPARAMETER_INVALIDACCESSPOLICY = "InvalidParameter.InvalidAccessPolicy" UNAUTHORIZEDOPERATION_GRANTPOLICY = "UnauthorizedOperation.GrantPolicy" UNAUTHORIZEDOPERATION_USERNOTEXIST = "UnauthorizedOperation.UserNotExist"
func (*Client) AttachWorkGroupPolicyWithContext ¶ added in v1.0.324
func (c *Client) AttachWorkGroupPolicyWithContext(ctx context.Context, request *AttachWorkGroupPolicyRequest) (response *AttachWorkGroupPolicyResponse, err error)
AttachWorkGroupPolicy 绑定鉴权策略到工作组
可能返回的错误码:
FAILEDOPERATION_GETPOLICYFAILED = "FailedOperation.GetPolicyFailed" FAILEDOPERATION_GETUSERINFOFAILED = "FailedOperation.GetUserInfoFailed" FAILEDOPERATION_GETWORKGROUPINFOFAILED = "FailedOperation.GetWorkGroupInfoFailed" FAILEDOPERATION_GRANTPOLICYFAILED = "FailedOperation.GrantPolicyFailed" FAILEDOPERATION_REVOKEPOLICYFAILED = "FailedOperation.RevokePolicyFailed" INTERNALERROR = "InternalError" INVALIDPARAMETER_INVALIDACCESSPOLICY = "InvalidParameter.InvalidAccessPolicy" UNAUTHORIZEDOPERATION_GRANTPOLICY = "UnauthorizedOperation.GrantPolicy" UNAUTHORIZEDOPERATION_USERNOTEXIST = "UnauthorizedOperation.UserNotExist"
func (*Client) BindWorkGroupsToUser ¶ added in v1.0.206
func (c *Client) BindWorkGroupsToUser(request *BindWorkGroupsToUserRequest) (response *BindWorkGroupsToUserResponse, err error)
BindWorkGroupsToUser 绑定工作组到用户
可能返回的错误码:
INTERNALERROR = "InternalError" INVALIDPARAMETER_INVALIDUSERNAME = "InvalidParameter.InvalidUserName" UNAUTHORIZEDOPERATION_BINDWORKGROUPSTOUSER = "UnauthorizedOperation.BindWorkgroupsToUser" UNSUPPORTEDOPERATION_MODIFYOWNERUNSUPPORTED = "UnsupportedOperation.ModifyOwnerUnsupported"
func (*Client) BindWorkGroupsToUserWithContext ¶ added in v1.0.324
func (c *Client) BindWorkGroupsToUserWithContext(ctx context.Context, request *BindWorkGroupsToUserRequest) (response *BindWorkGroupsToUserResponse, err error)
BindWorkGroupsToUser 绑定工作组到用户
可能返回的错误码:
INTERNALERROR = "InternalError" INVALIDPARAMETER_INVALIDUSERNAME = "InvalidParameter.InvalidUserName" UNAUTHORIZEDOPERATION_BINDWORKGROUPSTOUSER = "UnauthorizedOperation.BindWorkgroupsToUser" UNSUPPORTEDOPERATION_MODIFYOWNERUNSUPPORTED = "UnsupportedOperation.ModifyOwnerUnsupported"
func (*Client) CancelTask ¶ added in v1.0.206
func (c *Client) CancelTask(request *CancelTaskRequest) (response *CancelTaskResponse, err error)
CancelTask 本接口(CancelTask),用于取消任务执行
可能返回的错误码:
FAILEDOPERATION_ANOTHERREQUESTPROCESSING = "FailedOperation.AnotherRequestProcessing" FAILEDOPERATION_HTTPCLIENTDOREQUESTFAILED = "FailedOperation.HttpClientDoRequestFailed" INTERNALERROR = "InternalError" INVALIDPARAMETER_INVALIDTASKID = "InvalidParameter.InvalidTaskId" INVALIDPARAMETER_TASKALREADYFINISHED = "InvalidParameter.TaskAlreadyFinished"
func (*Client) CancelTaskWithContext ¶ added in v1.0.324
func (c *Client) CancelTaskWithContext(ctx context.Context, request *CancelTaskRequest) (response *CancelTaskResponse, err error)
CancelTask 本接口(CancelTask),用于取消任务执行
可能返回的错误码:
FAILEDOPERATION_ANOTHERREQUESTPROCESSING = "FailedOperation.AnotherRequestProcessing" FAILEDOPERATION_HTTPCLIENTDOREQUESTFAILED = "FailedOperation.HttpClientDoRequestFailed" INTERNALERROR = "InternalError" INVALIDPARAMETER_INVALIDTASKID = "InvalidParameter.InvalidTaskId" INVALIDPARAMETER_TASKALREADYFINISHED = "InvalidParameter.TaskAlreadyFinished"
func (*Client) CheckLockMetaData ¶ added in v1.0.432
func (c *Client) CheckLockMetaData(request *CheckLockMetaDataRequest) (response *CheckLockMetaDataResponse, err error)
CheckLockMetaData 元数据锁检查
可能返回的错误码:
FAILEDOPERATION = "FailedOperation"
func (*Client) CheckLockMetaDataWithContext ¶ added in v1.0.432
func (c *Client) CheckLockMetaDataWithContext(ctx context.Context, request *CheckLockMetaDataRequest) (response *CheckLockMetaDataResponse, err error)
CheckLockMetaData 元数据锁检查
可能返回的错误码:
FAILEDOPERATION = "FailedOperation"
func (*Client) CreateDMSDatabase ¶ added in v1.0.432
func (c *Client) CreateDMSDatabase(request *CreateDMSDatabaseRequest) (response *CreateDMSDatabaseResponse, err error)
CreateDMSDatabase DMS元数据创建库
可能返回的错误码:
INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" RESOURCENOTFOUND = "ResourceNotFound" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) CreateDMSDatabaseWithContext ¶ added in v1.0.432
func (c *Client) CreateDMSDatabaseWithContext(ctx context.Context, request *CreateDMSDatabaseRequest) (response *CreateDMSDatabaseResponse, err error)
CreateDMSDatabase DMS元数据创建库
可能返回的错误码:
INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" RESOURCENOTFOUND = "ResourceNotFound" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) CreateDMSTable ¶ added in v1.0.432
func (c *Client) CreateDMSTable(request *CreateDMSTableRequest) (response *CreateDMSTableResponse, err error)
CreateDMSTable DMS元数据创建表
可能返回的错误码:
INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" RESOURCENOTFOUND = "ResourceNotFound" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) CreateDMSTableWithContext ¶ added in v1.0.432
func (c *Client) CreateDMSTableWithContext(ctx context.Context, request *CreateDMSTableRequest) (response *CreateDMSTableResponse, err error)
CreateDMSTable DMS元数据创建表
可能返回的错误码:
INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" RESOURCENOTFOUND = "ResourceNotFound" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) CreateDatabase ¶
func (c *Client) CreateDatabase(request *CreateDatabaseRequest) (response *CreateDatabaseResponse, err error)
CreateDatabase 本接口(CreateDatabase)用于生成建库SQL语句。
可能返回的错误码:
INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter"
func (*Client) CreateDatabaseWithContext ¶ added in v1.0.324
func (c *Client) CreateDatabaseWithContext(ctx context.Context, request *CreateDatabaseRequest) (response *CreateDatabaseResponse, err error)
CreateDatabase 本接口(CreateDatabase)用于生成建库SQL语句。
可能返回的错误码:
INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter"
func (*Client) CreateExportTask ¶ added in v1.0.370
func (c *Client) CreateExportTask(request *CreateExportTaskRequest) (response *CreateExportTaskResponse, err error)
CreateExportTask 该接口(CreateExportTask)用于创建导出任务
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) CreateExportTaskWithContext ¶ added in v1.0.370
func (c *Client) CreateExportTaskWithContext(ctx context.Context, request *CreateExportTaskRequest) (response *CreateExportTaskResponse, err error)
CreateExportTask 该接口(CreateExportTask)用于创建导出任务
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) CreateImportTask ¶ added in v1.0.370
func (c *Client) CreateImportTask(request *CreateImportTaskRequest) (response *CreateImportTaskResponse, err error)
CreateImportTask 该接口(CreateImportTask)用于创建导入任务
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue"
func (*Client) CreateImportTaskWithContext ¶ added in v1.0.370
func (c *Client) CreateImportTaskWithContext(ctx context.Context, request *CreateImportTaskRequest) (response *CreateImportTaskResponse, err error)
CreateImportTask 该接口(CreateImportTask)用于创建导入任务
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue"
func (*Client) CreateScript ¶
func (c *Client) CreateScript(request *CreateScriptRequest) (response *CreateScriptResponse, err error)
CreateScript 该接口(CreateScript)用于创建sql脚本。
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter"
func (*Client) CreateScriptWithContext ¶ added in v1.0.324
func (c *Client) CreateScriptWithContext(ctx context.Context, request *CreateScriptRequest) (response *CreateScriptResponse, err error)
CreateScript 该接口(CreateScript)用于创建sql脚本。
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter"
func (*Client) CreateSparkApp ¶ added in v1.0.408
func (c *Client) CreateSparkApp(request *CreateSparkAppRequest) (response *CreateSparkAppResponse, err error)
CreateSparkApp 创建spark应用
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" INVALIDPARAMETER_INVALIDROLEARN = "InvalidParameter.InvalidRoleArn"
func (*Client) CreateSparkAppTask ¶ added in v1.0.408
func (c *Client) CreateSparkAppTask(request *CreateSparkAppTaskRequest) (response *CreateSparkAppTaskResponse, err error)
CreateSparkAppTask 创建spark任务
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" INVALIDPARAMETER_INVALIDSPARKAPPPARAM = "InvalidParameter.InvalidSparkAppParam" RESOURCEUNAVAILABLE = "ResourceUnavailable" UNAUTHORIZEDOPERATION_USECOMPUTINGENGINE = "UnauthorizedOperation.UseComputingEngine"
func (*Client) CreateSparkAppTaskWithContext ¶ added in v1.0.408
func (c *Client) CreateSparkAppTaskWithContext(ctx context.Context, request *CreateSparkAppTaskRequest) (response *CreateSparkAppTaskResponse, err error)
CreateSparkAppTask 创建spark任务
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" INVALIDPARAMETER_INVALIDSPARKAPPPARAM = "InvalidParameter.InvalidSparkAppParam" RESOURCEUNAVAILABLE = "ResourceUnavailable" UNAUTHORIZEDOPERATION_USECOMPUTINGENGINE = "UnauthorizedOperation.UseComputingEngine"
func (*Client) CreateSparkAppWithContext ¶ added in v1.0.408
func (c *Client) CreateSparkAppWithContext(ctx context.Context, request *CreateSparkAppRequest) (response *CreateSparkAppResponse, err error)
CreateSparkApp 创建spark应用
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" INVALIDPARAMETER_INVALIDROLEARN = "InvalidParameter.InvalidRoleArn"
func (*Client) CreateStoreLocation ¶
func (c *Client) CreateStoreLocation(request *CreateStoreLocationRequest) (response *CreateStoreLocationResponse, err error)
CreateStoreLocation 该接口(CreateStoreLocation)新增或覆盖计算结果存储位置。
可能返回的错误码:
INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_INVALIDSTORELOCATION = "InvalidParameter.InvalidStoreLocation"
func (*Client) CreateStoreLocationWithContext ¶ added in v1.0.324
func (c *Client) CreateStoreLocationWithContext(ctx context.Context, request *CreateStoreLocationRequest) (response *CreateStoreLocationResponse, err error)
CreateStoreLocation 该接口(CreateStoreLocation)新增或覆盖计算结果存储位置。
可能返回的错误码:
INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_INVALIDSTORELOCATION = "InvalidParameter.InvalidStoreLocation"
func (*Client) CreateTable ¶
func (c *Client) CreateTable(request *CreateTableRequest) (response *CreateTableResponse, err error)
CreateTable 本接口(CreateTable)用于生成建表SQL。
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter"
func (*Client) CreateTableWithContext ¶ added in v1.0.324
func (c *Client) CreateTableWithContext(ctx context.Context, request *CreateTableRequest) (response *CreateTableResponse, err error)
CreateTable 本接口(CreateTable)用于生成建表SQL。
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter"
func (*Client) CreateTask ¶
func (c *Client) CreateTask(request *CreateTaskRequest) (response *CreateTaskResponse, err error)
CreateTask 本接口(CreateTask)用于创建sql查询任务。(推荐使用CreateTasks接口)
可能返回的错误码:
INTERNALERROR = "InternalError" INTERNALERROR_DBERROR = "InternalError.DBError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_INVALIDDATAENGINENAME = "InvalidParameter.InvalidDataEngineName" INVALIDPARAMETER_INVALIDSQL = "InvalidParameter.InvalidSQL" INVALIDPARAMETER_INVALIDSQLNUM = "InvalidParameter.InvalidSQLNum" INVALIDPARAMETER_INVALIDSTORELOCATION = "InvalidParameter.InvalidStoreLocation" RESOURCENOTFOUND = "ResourceNotFound" RESOURCENOTFOUND_RESULTOUTPUTPATHNOTFOUND = "ResourceNotFound.ResultOutputPathNotFound" RESOURCEUNAVAILABLE_BALANCEINSUFFICIENT = "ResourceUnavailable.BalanceInsufficient" UNAUTHORIZEDOPERATION_USECOMPUTINGENGINE = "UnauthorizedOperation.UseComputingEngine"
func (*Client) CreateTaskWithContext ¶ added in v1.0.324
func (c *Client) CreateTaskWithContext(ctx context.Context, request *CreateTaskRequest) (response *CreateTaskResponse, err error)
CreateTask 本接口(CreateTask)用于创建sql查询任务。(推荐使用CreateTasks接口)
可能返回的错误码:
INTERNALERROR = "InternalError" INTERNALERROR_DBERROR = "InternalError.DBError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_INVALIDDATAENGINENAME = "InvalidParameter.InvalidDataEngineName" INVALIDPARAMETER_INVALIDSQL = "InvalidParameter.InvalidSQL" INVALIDPARAMETER_INVALIDSQLNUM = "InvalidParameter.InvalidSQLNum" INVALIDPARAMETER_INVALIDSTORELOCATION = "InvalidParameter.InvalidStoreLocation" RESOURCENOTFOUND = "ResourceNotFound" RESOURCENOTFOUND_RESULTOUTPUTPATHNOTFOUND = "ResourceNotFound.ResultOutputPathNotFound" RESOURCEUNAVAILABLE_BALANCEINSUFFICIENT = "ResourceUnavailable.BalanceInsufficient" UNAUTHORIZEDOPERATION_USECOMPUTINGENGINE = "UnauthorizedOperation.UseComputingEngine"
func (*Client) CreateTasks ¶ added in v1.0.217
func (c *Client) CreateTasks(request *CreateTasksRequest) (response *CreateTasksResponse, err error)
CreateTasks 本接口(CreateTasks),用于批量创建任务
可能返回的错误码:
INTERNALERROR = "InternalError" INTERNALERROR_DBERROR = "InternalError.DBError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_INVALIDDATAENGINENAME = "InvalidParameter.InvalidDataEngineName" INVALIDPARAMETER_INVALIDFAILURETOLERANCE = "InvalidParameter.InvalidFailureTolerance" INVALIDPARAMETER_INVALIDSQL = "InvalidParameter.InvalidSQL" INVALIDPARAMETER_INVALIDSQLNUM = "InvalidParameter.InvalidSQLNum" INVALIDPARAMETER_INVALIDSTORELOCATION = "InvalidParameter.InvalidStoreLocation" INVALIDPARAMETER_INVALIDTASKTYPE = "InvalidParameter.InvalidTaskType" RESOURCENOTFOUND = "ResourceNotFound" RESOURCENOTFOUND_RESULTOUTPUTPATHNOTFOUND = "ResourceNotFound.ResultOutputPathNotFound" RESOURCEUNAVAILABLE_BALANCEINSUFFICIENT = "ResourceUnavailable.BalanceInsufficient" UNAUTHORIZEDOPERATION_USECOMPUTINGENGINE = "UnauthorizedOperation.UseComputingEngine"
func (*Client) CreateTasksInOrder ¶ added in v1.0.216
func (c *Client) CreateTasksInOrder(request *CreateTasksInOrderRequest) (response *CreateTasksInOrderResponse, err error)
CreateTasksInOrder 按顺序创建任务(已经废弃,后期不再维护,请使用接口CreateTasks)
可能返回的错误码:
INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_INVALIDSQL = "InvalidParameter.InvalidSQL" INVALIDPARAMETER_INVALIDSTORELOCATION = "InvalidParameter.InvalidStoreLocation"
func (*Client) CreateTasksInOrderWithContext ¶ added in v1.0.324
func (c *Client) CreateTasksInOrderWithContext(ctx context.Context, request *CreateTasksInOrderRequest) (response *CreateTasksInOrderResponse, err error)
CreateTasksInOrder 按顺序创建任务(已经废弃,后期不再维护,请使用接口CreateTasks)
可能返回的错误码:
INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_INVALIDSQL = "InvalidParameter.InvalidSQL" INVALIDPARAMETER_INVALIDSTORELOCATION = "InvalidParameter.InvalidStoreLocation"
func (*Client) CreateTasksWithContext ¶ added in v1.0.324
func (c *Client) CreateTasksWithContext(ctx context.Context, request *CreateTasksRequest) (response *CreateTasksResponse, err error)
CreateTasks 本接口(CreateTasks),用于批量创建任务
可能返回的错误码:
INTERNALERROR = "InternalError" INTERNALERROR_DBERROR = "InternalError.DBError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_INVALIDDATAENGINENAME = "InvalidParameter.InvalidDataEngineName" INVALIDPARAMETER_INVALIDFAILURETOLERANCE = "InvalidParameter.InvalidFailureTolerance" INVALIDPARAMETER_INVALIDSQL = "InvalidParameter.InvalidSQL" INVALIDPARAMETER_INVALIDSQLNUM = "InvalidParameter.InvalidSQLNum" INVALIDPARAMETER_INVALIDSTORELOCATION = "InvalidParameter.InvalidStoreLocation" INVALIDPARAMETER_INVALIDTASKTYPE = "InvalidParameter.InvalidTaskType" RESOURCENOTFOUND = "ResourceNotFound" RESOURCENOTFOUND_RESULTOUTPUTPATHNOTFOUND = "ResourceNotFound.ResultOutputPathNotFound" RESOURCEUNAVAILABLE_BALANCEINSUFFICIENT = "ResourceUnavailable.BalanceInsufficient" UNAUTHORIZEDOPERATION_USECOMPUTINGENGINE = "UnauthorizedOperation.UseComputingEngine"
func (*Client) CreateUser ¶ added in v1.0.206
func (c *Client) CreateUser(request *CreateUserRequest) (response *CreateUserResponse, err error)
CreateUser 创建用户
可能返回的错误码:
FAILEDOPERATION_GRANTPOLICYFAILED = "FailedOperation.GrantPolicyFailed" INTERNALERROR = "InternalError" INVALIDPARAMETER_DUPLICATEUSERNAME = "InvalidParameter.DuplicateUserName" INVALIDPARAMETER_INVALIDACCESSPOLICY = "InvalidParameter.InvalidAccessPolicy" INVALIDPARAMETER_INVALIDDESCRIPTION = "InvalidParameter.InvalidDescription" INVALIDPARAMETER_INVALIDUSERALIAS = "InvalidParameter.InvalidUserAlias" INVALIDPARAMETER_INVALIDUSERNAME = "InvalidParameter.InvalidUserName" INVALIDPARAMETER_INVALIDUSERTYPE = "InvalidParameter.InvalidUserType" RESOURCESSOLDOUT = "ResourcesSoldOut" RESOURCESSOLDOUT_UNAUTHORIZEDGRANTPOLICY = "ResourcesSoldOut.UnauthorizedGrantPolicy" RESOURCESSOLDOUT_UNAUTHORIZEDOPERATION = "ResourcesSoldOut.UnauthorizedOperation" UNAUTHORIZEDOPERATION_GRANTPOLICY = "UnauthorizedOperation.GrantPolicy" UNAUTHORIZEDOPERATION_USERNOTEXIST = "UnauthorizedOperation.UserNotExist"
func (*Client) CreateUserWithContext ¶ added in v1.0.324
func (c *Client) CreateUserWithContext(ctx context.Context, request *CreateUserRequest) (response *CreateUserResponse, err error)
CreateUser 创建用户
可能返回的错误码:
FAILEDOPERATION_GRANTPOLICYFAILED = "FailedOperation.GrantPolicyFailed" INTERNALERROR = "InternalError" INVALIDPARAMETER_DUPLICATEUSERNAME = "InvalidParameter.DuplicateUserName" INVALIDPARAMETER_INVALIDACCESSPOLICY = "InvalidParameter.InvalidAccessPolicy" INVALIDPARAMETER_INVALIDDESCRIPTION = "InvalidParameter.InvalidDescription" INVALIDPARAMETER_INVALIDUSERALIAS = "InvalidParameter.InvalidUserAlias" INVALIDPARAMETER_INVALIDUSERNAME = "InvalidParameter.InvalidUserName" INVALIDPARAMETER_INVALIDUSERTYPE = "InvalidParameter.InvalidUserType" RESOURCESSOLDOUT = "ResourcesSoldOut" RESOURCESSOLDOUT_UNAUTHORIZEDGRANTPOLICY = "ResourcesSoldOut.UnauthorizedGrantPolicy" RESOURCESSOLDOUT_UNAUTHORIZEDOPERATION = "ResourcesSoldOut.UnauthorizedOperation" UNAUTHORIZEDOPERATION_GRANTPOLICY = "UnauthorizedOperation.GrantPolicy" UNAUTHORIZEDOPERATION_USERNOTEXIST = "UnauthorizedOperation.UserNotExist"
func (*Client) CreateWorkGroup ¶ added in v1.0.206
func (c *Client) CreateWorkGroup(request *CreateWorkGroupRequest) (response *CreateWorkGroupResponse, err error)
CreateWorkGroup 创建工作组
可能返回的错误码:
FAILEDOPERATION_GRANTPOLICYFAILED = "FailedOperation.GrantPolicyFailed" INTERNALERROR = "InternalError" INVALIDPARAMETER_DUPLICATEGROUPNAME = "InvalidParameter.DuplicateGroupName" INVALIDPARAMETER_INVALIDDESCRIPTION = "InvalidParameter.InvalidDescription" INVALIDPARAMETER_INVALIDWORKGROUPNAME = "InvalidParameter.InvalidWorkGroupName" RESOURCESSOLDOUT = "ResourcesSoldOut" RESOURCESSOLDOUT_UNAUTHORIZEDGRANTPOLICY = "ResourcesSoldOut.UnauthorizedGrantPolicy" RESOURCESSOLDOUT_UNAUTHORIZEDOPERATION = "ResourcesSoldOut.UnauthorizedOperation" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNAUTHORIZEDOPERATION_CREATEWORKGROUP = "UnauthorizedOperation.CreateWorkgroup" UNAUTHORIZEDOPERATION_GRANTPOLICY = "UnauthorizedOperation.GrantPolicy" UNAUTHORIZEDOPERATION_USERNOTEXIST = "UnauthorizedOperation.UserNotExist"
func (*Client) CreateWorkGroupWithContext ¶ added in v1.0.324
func (c *Client) CreateWorkGroupWithContext(ctx context.Context, request *CreateWorkGroupRequest) (response *CreateWorkGroupResponse, err error)
CreateWorkGroup 创建工作组
可能返回的错误码:
FAILEDOPERATION_GRANTPOLICYFAILED = "FailedOperation.GrantPolicyFailed" INTERNALERROR = "InternalError" INVALIDPARAMETER_DUPLICATEGROUPNAME = "InvalidParameter.DuplicateGroupName" INVALIDPARAMETER_INVALIDDESCRIPTION = "InvalidParameter.InvalidDescription" INVALIDPARAMETER_INVALIDWORKGROUPNAME = "InvalidParameter.InvalidWorkGroupName" RESOURCESSOLDOUT = "ResourcesSoldOut" RESOURCESSOLDOUT_UNAUTHORIZEDGRANTPOLICY = "ResourcesSoldOut.UnauthorizedGrantPolicy" RESOURCESSOLDOUT_UNAUTHORIZEDOPERATION = "ResourcesSoldOut.UnauthorizedOperation" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNAUTHORIZEDOPERATION_CREATEWORKGROUP = "UnauthorizedOperation.CreateWorkgroup" UNAUTHORIZEDOPERATION_GRANTPOLICY = "UnauthorizedOperation.GrantPolicy" UNAUTHORIZEDOPERATION_USERNOTEXIST = "UnauthorizedOperation.UserNotExist"
func (*Client) DeleteScript ¶
func (c *Client) DeleteScript(request *DeleteScriptRequest) (response *DeleteScriptResponse, err error)
DeleteScript 该接口(DeleteScript)用于删除sql脚本。
可能返回的错误码:
INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter"
func (*Client) DeleteScriptWithContext ¶ added in v1.0.324
func (c *Client) DeleteScriptWithContext(ctx context.Context, request *DeleteScriptRequest) (response *DeleteScriptResponse, err error)
DeleteScript 该接口(DeleteScript)用于删除sql脚本。
可能返回的错误码:
INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter"
func (*Client) DeleteSparkApp ¶ added in v1.0.408
func (c *Client) DeleteSparkApp(request *DeleteSparkAppRequest) (response *DeleteSparkAppResponse, err error)
DeleteSparkApp 删除spark应用
可能返回的错误码:
INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter"
func (*Client) DeleteSparkAppWithContext ¶ added in v1.0.408
func (c *Client) DeleteSparkAppWithContext(ctx context.Context, request *DeleteSparkAppRequest) (response *DeleteSparkAppResponse, err error)
DeleteSparkApp 删除spark应用
可能返回的错误码:
INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter"
func (*Client) DeleteUser ¶ added in v1.0.206
func (c *Client) DeleteUser(request *DeleteUserRequest) (response *DeleteUserResponse, err error)
DeleteUser 删除用户
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_REVOKEPOLICYFAILED = "FailedOperation.RevokePolicyFailed" INTERNALERROR = "InternalError" INVALIDPARAMETER_INVALIDUSERNAME = "InvalidParameter.InvalidUserName" RESOURCESSOLDOUT_UNAUTHORIZEDREVOKEPOLICY = "ResourcesSoldOut.UnauthorizedRevokePolicy" UNAUTHORIZEDOPERATION_DELETEUSER = "UnauthorizedOperation.DeleteUser" UNAUTHORIZEDOPERATION_REVOKEPOLICY = "UnauthorizedOperation.RevokePolicy" UNSUPPORTEDOPERATION_MODIFYOWNERUNSUPPORTED = "UnsupportedOperation.ModifyOwnerUnsupported"
func (*Client) DeleteUserWithContext ¶ added in v1.0.324
func (c *Client) DeleteUserWithContext(ctx context.Context, request *DeleteUserRequest) (response *DeleteUserResponse, err error)
DeleteUser 删除用户
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_REVOKEPOLICYFAILED = "FailedOperation.RevokePolicyFailed" INTERNALERROR = "InternalError" INVALIDPARAMETER_INVALIDUSERNAME = "InvalidParameter.InvalidUserName" RESOURCESSOLDOUT_UNAUTHORIZEDREVOKEPOLICY = "ResourcesSoldOut.UnauthorizedRevokePolicy" UNAUTHORIZEDOPERATION_DELETEUSER = "UnauthorizedOperation.DeleteUser" UNAUTHORIZEDOPERATION_REVOKEPOLICY = "UnauthorizedOperation.RevokePolicy" UNSUPPORTEDOPERATION_MODIFYOWNERUNSUPPORTED = "UnsupportedOperation.ModifyOwnerUnsupported"
func (*Client) DeleteUsersFromWorkGroup ¶ added in v1.0.206
func (c *Client) DeleteUsersFromWorkGroup(request *DeleteUsersFromWorkGroupRequest) (response *DeleteUsersFromWorkGroupResponse, err error)
DeleteUsersFromWorkGroup 从工作组中删除用户
可能返回的错误码:
INTERNALERROR = "InternalError" INVALIDPARAMETER_INVALIDGROUPID = "InvalidParameter.InvalidGroupId" UNAUTHORIZEDOPERATION_DELETEUSERSFROMWORKGROUP = "UnauthorizedOperation.DeleteUsersFromWorkgroup"
func (*Client) DeleteUsersFromWorkGroupWithContext ¶ added in v1.0.324
func (c *Client) DeleteUsersFromWorkGroupWithContext(ctx context.Context, request *DeleteUsersFromWorkGroupRequest) (response *DeleteUsersFromWorkGroupResponse, err error)
DeleteUsersFromWorkGroup 从工作组中删除用户
可能返回的错误码:
INTERNALERROR = "InternalError" INVALIDPARAMETER_INVALIDGROUPID = "InvalidParameter.InvalidGroupId" UNAUTHORIZEDOPERATION_DELETEUSERSFROMWORKGROUP = "UnauthorizedOperation.DeleteUsersFromWorkgroup"
func (*Client) DeleteWorkGroup ¶ added in v1.0.206
func (c *Client) DeleteWorkGroup(request *DeleteWorkGroupRequest) (response *DeleteWorkGroupResponse, err error)
DeleteWorkGroup 删除工作组
可能返回的错误码:
FAILEDOPERATION_REVOKEPOLICYFAILED = "FailedOperation.RevokePolicyFailed" INTERNALERROR = "InternalError" UNAUTHORIZEDOPERATION_DELETEWORKGROUP = "UnauthorizedOperation.DeleteWorkgroup" UNAUTHORIZEDOPERATION_REVOKEPOLICY = "UnauthorizedOperation.RevokePolicy"
func (*Client) DeleteWorkGroupWithContext ¶ added in v1.0.324
func (c *Client) DeleteWorkGroupWithContext(ctx context.Context, request *DeleteWorkGroupRequest) (response *DeleteWorkGroupResponse, err error)
DeleteWorkGroup 删除工作组
可能返回的错误码:
FAILEDOPERATION_REVOKEPOLICYFAILED = "FailedOperation.RevokePolicyFailed" INTERNALERROR = "InternalError" UNAUTHORIZEDOPERATION_DELETEWORKGROUP = "UnauthorizedOperation.DeleteWorkgroup" UNAUTHORIZEDOPERATION_REVOKEPOLICY = "UnauthorizedOperation.RevokePolicy"
func (*Client) DescribeDMSDatabase ¶ added in v1.0.432
func (c *Client) DescribeDMSDatabase(request *DescribeDMSDatabaseRequest) (response *DescribeDMSDatabaseResponse, err error)
DescribeDMSDatabase DMS元数据获取库
可能返回的错误码:
INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" RESOURCENOTFOUND = "ResourceNotFound" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) DescribeDMSDatabaseWithContext ¶ added in v1.0.432
func (c *Client) DescribeDMSDatabaseWithContext(ctx context.Context, request *DescribeDMSDatabaseRequest) (response *DescribeDMSDatabaseResponse, err error)
DescribeDMSDatabase DMS元数据获取库
可能返回的错误码:
INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" RESOURCENOTFOUND = "ResourceNotFound" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) DescribeDMSPartitions ¶ added in v1.0.432
func (c *Client) DescribeDMSPartitions(request *DescribeDMSPartitionsRequest) (response *DescribeDMSPartitionsResponse, err error)
DescribeDMSPartitions DMS元数据获取分区
可能返回的错误码:
INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" RESOURCENOTFOUND = "ResourceNotFound" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) DescribeDMSPartitionsWithContext ¶ added in v1.0.432
func (c *Client) DescribeDMSPartitionsWithContext(ctx context.Context, request *DescribeDMSPartitionsRequest) (response *DescribeDMSPartitionsResponse, err error)
DescribeDMSPartitions DMS元数据获取分区
可能返回的错误码:
INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" RESOURCENOTFOUND = "ResourceNotFound" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) DescribeDMSTable ¶ added in v1.0.432
func (c *Client) DescribeDMSTable(request *DescribeDMSTableRequest) (response *DescribeDMSTableResponse, err error)
DescribeDMSTable DMS元数据获取表
可能返回的错误码:
INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" RESOURCENOTFOUND = "ResourceNotFound" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) DescribeDMSTableWithContext ¶ added in v1.0.432
func (c *Client) DescribeDMSTableWithContext(ctx context.Context, request *DescribeDMSTableRequest) (response *DescribeDMSTableResponse, err error)
DescribeDMSTable DMS元数据获取表
可能返回的错误码:
INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" RESOURCENOTFOUND = "ResourceNotFound" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) DescribeDMSTables ¶ added in v1.0.432
func (c *Client) DescribeDMSTables(request *DescribeDMSTablesRequest) (response *DescribeDMSTablesResponse, err error)
DescribeDMSTables DMS元数据获取表列表
可能返回的错误码:
INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" RESOURCENOTFOUND = "ResourceNotFound" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) DescribeDMSTablesWithContext ¶ added in v1.0.432
func (c *Client) DescribeDMSTablesWithContext(ctx context.Context, request *DescribeDMSTablesRequest) (response *DescribeDMSTablesResponse, err error)
DescribeDMSTables DMS元数据获取表列表
可能返回的错误码:
INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" RESOURCENOTFOUND = "ResourceNotFound" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) DescribeDatabases ¶
func (c *Client) DescribeDatabases(request *DescribeDatabasesRequest) (response *DescribeDatabasesResponse, err error)
DescribeDatabases 本接口(DescribeDatabases)用于查询数据库列表。
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" RESOURCENOTFOUND = "ResourceNotFound" RESOURCENOTFOUND_DATASOURCENOTFOUND = "ResourceNotFound.DatasourceNotFound"
func (*Client) DescribeDatabasesWithContext ¶ added in v1.0.324
func (c *Client) DescribeDatabasesWithContext(ctx context.Context, request *DescribeDatabasesRequest) (response *DescribeDatabasesResponse, err error)
DescribeDatabases 本接口(DescribeDatabases)用于查询数据库列表。
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" RESOURCENOTFOUND = "ResourceNotFound" RESOURCENOTFOUND_DATASOURCENOTFOUND = "ResourceNotFound.DatasourceNotFound"
func (*Client) DescribeScripts ¶
func (c *Client) DescribeScripts(request *DescribeScriptsRequest) (response *DescribeScriptsResponse, err error)
DescribeScripts 该接口(DescribeScripts)用于获取所有SQL查询。
可能返回的错误码:
INTERNALERROR = "InternalError" INTERNALERROR_DBERROR = "InternalError.DBError" INVALIDPARAMETER = "InvalidParameter"
func (*Client) DescribeScriptsWithContext ¶ added in v1.0.324
func (c *Client) DescribeScriptsWithContext(ctx context.Context, request *DescribeScriptsRequest) (response *DescribeScriptsResponse, err error)
DescribeScripts 该接口(DescribeScripts)用于获取所有SQL查询。
可能返回的错误码:
INTERNALERROR = "InternalError" INTERNALERROR_DBERROR = "InternalError.DBError" INVALIDPARAMETER = "InvalidParameter"
func (*Client) DescribeSparkAppJob ¶ added in v1.0.408
func (c *Client) DescribeSparkAppJob(request *DescribeSparkAppJobRequest) (response *DescribeSparkAppJobResponse, err error)
DescribeSparkAppJob 查询具体的spark应用
可能返回的错误码:
INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_INVALIDSPARKAPPPARAM = "InvalidParameter.InvalidSparkAppParam"
func (*Client) DescribeSparkAppJobWithContext ¶ added in v1.0.408
func (c *Client) DescribeSparkAppJobWithContext(ctx context.Context, request *DescribeSparkAppJobRequest) (response *DescribeSparkAppJobResponse, err error)
DescribeSparkAppJob 查询具体的spark应用
可能返回的错误码:
INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_INVALIDSPARKAPPPARAM = "InvalidParameter.InvalidSparkAppParam"
func (*Client) DescribeSparkAppJobs ¶ added in v1.0.408
func (c *Client) DescribeSparkAppJobs(request *DescribeSparkAppJobsRequest) (response *DescribeSparkAppJobsResponse, err error)
DescribeSparkAppJobs 获取spark应用列表
可能返回的错误码:
RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) DescribeSparkAppJobsWithContext ¶ added in v1.0.408
func (c *Client) DescribeSparkAppJobsWithContext(ctx context.Context, request *DescribeSparkAppJobsRequest) (response *DescribeSparkAppJobsResponse, err error)
DescribeSparkAppJobs 获取spark应用列表
可能返回的错误码:
RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) DescribeSparkAppTasks ¶ added in v1.0.408
func (c *Client) DescribeSparkAppTasks(request *DescribeSparkAppTasksRequest) (response *DescribeSparkAppTasksResponse, err error)
DescribeSparkAppTasks 查询spark应用的运行任务实例列表
可能返回的错误码:
FAILEDOPERATION = "FailedOperation"
func (*Client) DescribeSparkAppTasksWithContext ¶ added in v1.0.408
func (c *Client) DescribeSparkAppTasksWithContext(ctx context.Context, request *DescribeSparkAppTasksRequest) (response *DescribeSparkAppTasksResponse, err error)
DescribeSparkAppTasks 查询spark应用的运行任务实例列表
可能返回的错误码:
FAILEDOPERATION = "FailedOperation"
func (*Client) DescribeStoreLocation ¶ added in v1.0.206
func (c *Client) DescribeStoreLocation(request *DescribeStoreLocationRequest) (response *DescribeStoreLocationResponse, err error)
DescribeStoreLocation 查询计算结果存储位置。
可能返回的错误码:
INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter"
func (*Client) DescribeStoreLocationWithContext ¶ added in v1.0.324
func (c *Client) DescribeStoreLocationWithContext(ctx context.Context, request *DescribeStoreLocationRequest) (response *DescribeStoreLocationResponse, err error)
DescribeStoreLocation 查询计算结果存储位置。
可能返回的错误码:
INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter"
func (*Client) DescribeTable ¶
func (c *Client) DescribeTable(request *DescribeTableRequest) (response *DescribeTableResponse, err error)
DescribeTable 本接口(DescribeTable),用于查询单个表的详细信息。
可能返回的错误码:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND = "ResourceNotFound" RESOURCENOTFOUND_DATASOURCENOTFOUND = "ResourceNotFound.DatasourceNotFound"
func (*Client) DescribeTableWithContext ¶ added in v1.0.324
func (c *Client) DescribeTableWithContext(ctx context.Context, request *DescribeTableRequest) (response *DescribeTableResponse, err error)
DescribeTable 本接口(DescribeTable),用于查询单个表的详细信息。
可能返回的错误码:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND = "ResourceNotFound" RESOURCENOTFOUND_DATASOURCENOTFOUND = "ResourceNotFound.DatasourceNotFound"
func (*Client) DescribeTables ¶
func (c *Client) DescribeTables(request *DescribeTablesRequest) (response *DescribeTablesResponse, err error)
DescribeTables 本接口(DescribeTables)用于查询数据表列表。
可能返回的错误码:
INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" RESOURCENOTFOUND_DATASOURCENOTFOUND = "ResourceNotFound.DatasourceNotFound"
func (*Client) DescribeTablesWithContext ¶ added in v1.0.324
func (c *Client) DescribeTablesWithContext(ctx context.Context, request *DescribeTablesRequest) (response *DescribeTablesResponse, err error)
DescribeTables 本接口(DescribeTables)用于查询数据表列表。
可能返回的错误码:
INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" RESOURCENOTFOUND_DATASOURCENOTFOUND = "ResourceNotFound.DatasourceNotFound"
func (*Client) DescribeTaskResult ¶ added in v1.0.318
func (c *Client) DescribeTaskResult(request *DescribeTaskResultRequest) (response *DescribeTaskResultResponse, err error)
DescribeTaskResult 查询任务结果
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_HTTPCLIENTDOREQUESTFAILED = "FailedOperation.HttpClientDoRequestFailed" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_INVALIDTASKID = "InvalidParameter.InvalidTaskId"
func (*Client) DescribeTaskResultWithContext ¶ added in v1.0.324
func (c *Client) DescribeTaskResultWithContext(ctx context.Context, request *DescribeTaskResultRequest) (response *DescribeTaskResultResponse, err error)
DescribeTaskResult 查询任务结果
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_HTTPCLIENTDOREQUESTFAILED = "FailedOperation.HttpClientDoRequestFailed" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_INVALIDTASKID = "InvalidParameter.InvalidTaskId"
func (*Client) DescribeTasks ¶
func (c *Client) DescribeTasks(request *DescribeTasksRequest) (response *DescribeTasksResponse, err error)
DescribeTasks 该接口(DescribleTasks)用于查询任务列表
可能返回的错误码:
INTERNALERROR = "InternalError" INTERNALERROR_DBERROR = "InternalError.DBError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue"
func (*Client) DescribeTasksWithContext ¶ added in v1.0.324
func (c *Client) DescribeTasksWithContext(ctx context.Context, request *DescribeTasksRequest) (response *DescribeTasksResponse, err error)
DescribeTasks 该接口(DescribleTasks)用于查询任务列表
可能返回的错误码:
INTERNALERROR = "InternalError" INTERNALERROR_DBERROR = "InternalError.DBError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue"
func (*Client) DescribeUsers ¶ added in v1.0.206
func (c *Client) DescribeUsers(request *DescribeUsersRequest) (response *DescribeUsersResponse, err error)
DescribeUsers 获取用户列表信息
可能返回的错误码:
FAILEDOPERATION_GETPOLICYFAILED = "FailedOperation.GetPolicyFailed" FAILEDOPERATION_GETUSERINFOFAILED = "FailedOperation.GetUserInfoFailed" FAILEDOPERATION_GETWORKGROUPINFOFAILED = "FailedOperation.GetWorkGroupInfoFailed" INTERNALERROR = "InternalError" INVALIDPARAMETER_INVALIDACCESSPOLICY = "InvalidParameter.InvalidAccessPolicy" INVALIDPARAMETER_INVALIDOFFSET = "InvalidParameter.InvalidOffset" INVALIDPARAMETER_INVALIDSORTBYTYPE = "InvalidParameter.InvalidSortByType"
func (*Client) DescribeUsersWithContext ¶ added in v1.0.324
func (c *Client) DescribeUsersWithContext(ctx context.Context, request *DescribeUsersRequest) (response *DescribeUsersResponse, err error)
DescribeUsers 获取用户列表信息
可能返回的错误码:
FAILEDOPERATION_GETPOLICYFAILED = "FailedOperation.GetPolicyFailed" FAILEDOPERATION_GETUSERINFOFAILED = "FailedOperation.GetUserInfoFailed" FAILEDOPERATION_GETWORKGROUPINFOFAILED = "FailedOperation.GetWorkGroupInfoFailed" INTERNALERROR = "InternalError" INVALIDPARAMETER_INVALIDACCESSPOLICY = "InvalidParameter.InvalidAccessPolicy" INVALIDPARAMETER_INVALIDOFFSET = "InvalidParameter.InvalidOffset" INVALIDPARAMETER_INVALIDSORTBYTYPE = "InvalidParameter.InvalidSortByType"
func (*Client) DescribeViews ¶
func (c *Client) DescribeViews(request *DescribeViewsRequest) (response *DescribeViewsResponse, err error)
DescribeViews 本接口(DescribeViews)用于查询数据视图列表。
可能返回的错误码:
INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" RESOURCENOTFOUND_DATASOURCENOTFOUND = "ResourceNotFound.DatasourceNotFound"
func (*Client) DescribeViewsWithContext ¶ added in v1.0.324
func (c *Client) DescribeViewsWithContext(ctx context.Context, request *DescribeViewsRequest) (response *DescribeViewsResponse, err error)
DescribeViews 本接口(DescribeViews)用于查询数据视图列表。
可能返回的错误码:
INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" RESOURCENOTFOUND_DATASOURCENOTFOUND = "ResourceNotFound.DatasourceNotFound"
func (*Client) DescribeWorkGroups ¶ added in v1.0.206
func (c *Client) DescribeWorkGroups(request *DescribeWorkGroupsRequest) (response *DescribeWorkGroupsResponse, err error)
DescribeWorkGroups 获取工作组列表
可能返回的错误码:
FAILEDOPERATION_GETPOLICYFAILED = "FailedOperation.GetPolicyFailed" FAILEDOPERATION_GETUSERINFOFAILED = "FailedOperation.GetUserInfoFailed" FAILEDOPERATION_GETWORKGROUPINFOFAILED = "FailedOperation.GetWorkGroupInfoFailed" INTERNALERROR = "InternalError" INVALIDPARAMETER_INVALIDACCESSPOLICY = "InvalidParameter.InvalidAccessPolicy" INVALIDPARAMETER_INVALIDOFFSET = "InvalidParameter.InvalidOffset" INVALIDPARAMETER_INVALIDSORTBYTYPE = "InvalidParameter.InvalidSortByType"
func (*Client) DescribeWorkGroupsWithContext ¶ added in v1.0.324
func (c *Client) DescribeWorkGroupsWithContext(ctx context.Context, request *DescribeWorkGroupsRequest) (response *DescribeWorkGroupsResponse, err error)
DescribeWorkGroups 获取工作组列表
可能返回的错误码:
FAILEDOPERATION_GETPOLICYFAILED = "FailedOperation.GetPolicyFailed" FAILEDOPERATION_GETUSERINFOFAILED = "FailedOperation.GetUserInfoFailed" FAILEDOPERATION_GETWORKGROUPINFOFAILED = "FailedOperation.GetWorkGroupInfoFailed" INTERNALERROR = "InternalError" INVALIDPARAMETER_INVALIDACCESSPOLICY = "InvalidParameter.InvalidAccessPolicy" INVALIDPARAMETER_INVALIDOFFSET = "InvalidParameter.InvalidOffset" INVALIDPARAMETER_INVALIDSORTBYTYPE = "InvalidParameter.InvalidSortByType"
func (*Client) DetachUserPolicy ¶ added in v1.0.206
func (c *Client) DetachUserPolicy(request *DetachUserPolicyRequest) (response *DetachUserPolicyResponse, err error)
DetachUserPolicy 解绑用户鉴权策略
可能返回的错误码:
FAILEDOPERATION_GETPOLICYFAILED = "FailedOperation.GetPolicyFailed" FAILEDOPERATION_GETUSERINFOFAILED = "FailedOperation.GetUserInfoFailed" FAILEDOPERATION_GETWORKGROUPINFOFAILED = "FailedOperation.GetWorkGroupInfoFailed" FAILEDOPERATION_GRANTPOLICYFAILED = "FailedOperation.GrantPolicyFailed" FAILEDOPERATION_REVOKEPOLICYFAILED = "FailedOperation.RevokePolicyFailed" INTERNALERROR = "InternalError" INVALIDPARAMETER_INVALIDACCESSPOLICY = "InvalidParameter.InvalidAccessPolicy" INVALIDPARAMETER_INVALIDUSERNAME = "InvalidParameter.InvalidUserName" UNAUTHORIZEDOPERATION_REVOKEPOLICY = "UnauthorizedOperation.RevokePolicy" UNAUTHORIZEDOPERATION_USERNOTEXIST = "UnauthorizedOperation.UserNotExist" UNSUPPORTEDOPERATION_MODIFYOWNERUNSUPPORTED = "UnsupportedOperation.ModifyOwnerUnsupported"
func (*Client) DetachUserPolicyWithContext ¶ added in v1.0.324
func (c *Client) DetachUserPolicyWithContext(ctx context.Context, request *DetachUserPolicyRequest) (response *DetachUserPolicyResponse, err error)
DetachUserPolicy 解绑用户鉴权策略
可能返回的错误码:
FAILEDOPERATION_GETPOLICYFAILED = "FailedOperation.GetPolicyFailed" FAILEDOPERATION_GETUSERINFOFAILED = "FailedOperation.GetUserInfoFailed" FAILEDOPERATION_GETWORKGROUPINFOFAILED = "FailedOperation.GetWorkGroupInfoFailed" FAILEDOPERATION_GRANTPOLICYFAILED = "FailedOperation.GrantPolicyFailed" FAILEDOPERATION_REVOKEPOLICYFAILED = "FailedOperation.RevokePolicyFailed" INTERNALERROR = "InternalError" INVALIDPARAMETER_INVALIDACCESSPOLICY = "InvalidParameter.InvalidAccessPolicy" INVALIDPARAMETER_INVALIDUSERNAME = "InvalidParameter.InvalidUserName" UNAUTHORIZEDOPERATION_REVOKEPOLICY = "UnauthorizedOperation.RevokePolicy" UNAUTHORIZEDOPERATION_USERNOTEXIST = "UnauthorizedOperation.UserNotExist" UNSUPPORTEDOPERATION_MODIFYOWNERUNSUPPORTED = "UnsupportedOperation.ModifyOwnerUnsupported"
func (*Client) DetachWorkGroupPolicy ¶ added in v1.0.206
func (c *Client) DetachWorkGroupPolicy(request *DetachWorkGroupPolicyRequest) (response *DetachWorkGroupPolicyResponse, err error)
DetachWorkGroupPolicy 解绑工作组鉴权策略
可能返回的错误码:
FAILEDOPERATION_GETPOLICYFAILED = "FailedOperation.GetPolicyFailed" FAILEDOPERATION_GETUSERINFOFAILED = "FailedOperation.GetUserInfoFailed" FAILEDOPERATION_GETWORKGROUPINFOFAILED = "FailedOperation.GetWorkGroupInfoFailed" FAILEDOPERATION_GRANTPOLICYFAILED = "FailedOperation.GrantPolicyFailed" FAILEDOPERATION_REVOKEPOLICYFAILED = "FailedOperation.RevokePolicyFailed" INTERNALERROR = "InternalError" INVALIDPARAMETER_INVALIDACCESSPOLICY = "InvalidParameter.InvalidAccessPolicy" UNAUTHORIZEDOPERATION_REVOKEPOLICY = "UnauthorizedOperation.RevokePolicy"
func (*Client) DetachWorkGroupPolicyWithContext ¶ added in v1.0.324
func (c *Client) DetachWorkGroupPolicyWithContext(ctx context.Context, request *DetachWorkGroupPolicyRequest) (response *DetachWorkGroupPolicyResponse, err error)
DetachWorkGroupPolicy 解绑工作组鉴权策略
可能返回的错误码:
FAILEDOPERATION_GETPOLICYFAILED = "FailedOperation.GetPolicyFailed" FAILEDOPERATION_GETUSERINFOFAILED = "FailedOperation.GetUserInfoFailed" FAILEDOPERATION_GETWORKGROUPINFOFAILED = "FailedOperation.GetWorkGroupInfoFailed" FAILEDOPERATION_GRANTPOLICYFAILED = "FailedOperation.GrantPolicyFailed" FAILEDOPERATION_REVOKEPOLICYFAILED = "FailedOperation.RevokePolicyFailed" INTERNALERROR = "InternalError" INVALIDPARAMETER_INVALIDACCESSPOLICY = "InvalidParameter.InvalidAccessPolicy" UNAUTHORIZEDOPERATION_REVOKEPOLICY = "UnauthorizedOperation.RevokePolicy"
func (*Client) DropDMSDatabase ¶ added in v1.0.432
func (c *Client) DropDMSDatabase(request *DropDMSDatabaseRequest) (response *DropDMSDatabaseResponse, err error)
DropDMSDatabase DMS元数据删除库
可能返回的错误码:
INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" RESOURCENOTFOUND = "ResourceNotFound" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) DropDMSDatabaseWithContext ¶ added in v1.0.432
func (c *Client) DropDMSDatabaseWithContext(ctx context.Context, request *DropDMSDatabaseRequest) (response *DropDMSDatabaseResponse, err error)
DropDMSDatabase DMS元数据删除库
可能返回的错误码:
INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" RESOURCENOTFOUND = "ResourceNotFound" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) DropDMSPartitions ¶ added in v1.0.432
func (c *Client) DropDMSPartitions(request *DropDMSPartitionsRequest) (response *DropDMSPartitionsResponse, err error)
DropDMSPartitions DMS元数据删除分区
可能返回的错误码:
INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" RESOURCENOTFOUND = "ResourceNotFound" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) DropDMSPartitionsWithContext ¶ added in v1.0.432
func (c *Client) DropDMSPartitionsWithContext(ctx context.Context, request *DropDMSPartitionsRequest) (response *DropDMSPartitionsResponse, err error)
DropDMSPartitions DMS元数据删除分区
可能返回的错误码:
INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" RESOURCENOTFOUND = "ResourceNotFound" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) DropDMSTable ¶ added in v1.0.432
func (c *Client) DropDMSTable(request *DropDMSTableRequest) (response *DropDMSTableResponse, err error)
DropDMSTable DMS元数据删除表
可能返回的错误码:
INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" RESOURCENOTFOUND = "ResourceNotFound" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) DropDMSTableWithContext ¶ added in v1.0.432
func (c *Client) DropDMSTableWithContext(ctx context.Context, request *DropDMSTableRequest) (response *DropDMSTableResponse, err error)
DropDMSTable DMS元数据删除表
可能返回的错误码:
INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" RESOURCENOTFOUND = "ResourceNotFound" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) ListTaskJobLogDetail ¶ added in v1.0.421
func (c *Client) ListTaskJobLogDetail(request *ListTaskJobLogDetailRequest) (response *ListTaskJobLogDetailResponse, err error)
ListTaskJobLogDetail 本接口(ListTaskJobLogDetail)用于获取spark-jar日志列表
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_INVALIDSQL = "InvalidParameter.InvalidSQL"
func (*Client) ListTaskJobLogDetailWithContext ¶ added in v1.0.421
func (c *Client) ListTaskJobLogDetailWithContext(ctx context.Context, request *ListTaskJobLogDetailRequest) (response *ListTaskJobLogDetailResponse, err error)
ListTaskJobLogDetail 本接口(ListTaskJobLogDetail)用于获取spark-jar日志列表
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_INVALIDSQL = "InvalidParameter.InvalidSQL"
func (*Client) LockMetaData ¶ added in v1.0.432
func (c *Client) LockMetaData(request *LockMetaDataRequest) (response *LockMetaDataResponse, err error)
LockMetaData 元数据锁
可能返回的错误码:
FAILEDOPERATION = "FailedOperation"
func (*Client) LockMetaDataWithContext ¶ added in v1.0.432
func (c *Client) LockMetaDataWithContext(ctx context.Context, request *LockMetaDataRequest) (response *LockMetaDataResponse, err error)
LockMetaData 元数据锁
可能返回的错误码:
FAILEDOPERATION = "FailedOperation"
func (*Client) ModifySparkApp ¶ added in v1.0.408
func (c *Client) ModifySparkApp(request *ModifySparkAppRequest) (response *ModifySparkAppResponse, err error)
ModifySparkApp 更新spark应用
可能返回的错误码:
INVALIDPARAMETER_INVALIDDATAENGINENAME = "InvalidParameter.InvalidDataEngineName"
func (*Client) ModifySparkAppWithContext ¶ added in v1.0.408
func (c *Client) ModifySparkAppWithContext(ctx context.Context, request *ModifySparkAppRequest) (response *ModifySparkAppResponse, err error)
ModifySparkApp 更新spark应用
可能返回的错误码:
INVALIDPARAMETER_INVALIDDATAENGINENAME = "InvalidParameter.InvalidDataEngineName"
func (*Client) ModifyUser ¶ added in v1.0.206
func (c *Client) ModifyUser(request *ModifyUserRequest) (response *ModifyUserResponse, err error)
ModifyUser 修改用户信息
可能返回的错误码:
INTERNALERROR = "InternalError" RESOURCESSOLDOUT_UNAUTHORIZEDOPERATION = "ResourcesSoldOut.UnauthorizedOperation" UNAUTHORIZEDOPERATION_MODIFYUSERINFO = "UnauthorizedOperation.ModifyUserInfo" UNSUPPORTEDOPERATION_MODIFYOWNERUNSUPPORTED = "UnsupportedOperation.ModifyOwnerUnsupported"
func (*Client) ModifyUserWithContext ¶ added in v1.0.324
func (c *Client) ModifyUserWithContext(ctx context.Context, request *ModifyUserRequest) (response *ModifyUserResponse, err error)
ModifyUser 修改用户信息
可能返回的错误码:
INTERNALERROR = "InternalError" RESOURCESSOLDOUT_UNAUTHORIZEDOPERATION = "ResourcesSoldOut.UnauthorizedOperation" UNAUTHORIZEDOPERATION_MODIFYUSERINFO = "UnauthorizedOperation.ModifyUserInfo" UNSUPPORTEDOPERATION_MODIFYOWNERUNSUPPORTED = "UnsupportedOperation.ModifyOwnerUnsupported"
func (*Client) ModifyWorkGroup ¶ added in v1.0.206
func (c *Client) ModifyWorkGroup(request *ModifyWorkGroupRequest) (response *ModifyWorkGroupResponse, err error)
ModifyWorkGroup 修改工作组信息
可能返回的错误码:
INTERNALERROR = "InternalError" UNAUTHORIZEDOPERATION_MODIFYWORKGROUPINFO = "UnauthorizedOperation.ModifyWorkgroupInfo"
func (*Client) ModifyWorkGroupWithContext ¶ added in v1.0.324
func (c *Client) ModifyWorkGroupWithContext(ctx context.Context, request *ModifyWorkGroupRequest) (response *ModifyWorkGroupResponse, err error)
ModifyWorkGroup 修改工作组信息
可能返回的错误码:
INTERNALERROR = "InternalError" UNAUTHORIZEDOPERATION_MODIFYWORKGROUPINFO = "UnauthorizedOperation.ModifyWorkgroupInfo"
func (*Client) ReportHeartbeatMetaData ¶ added in v1.0.434
func (c *Client) ReportHeartbeatMetaData(request *ReportHeartbeatMetaDataRequest) (response *ReportHeartbeatMetaDataResponse, err error)
ReportHeartbeatMetaData 上报元数据心跳
可能返回的错误码:
FAILEDOPERATION = "FailedOperation"
func (*Client) ReportHeartbeatMetaDataWithContext ¶ added in v1.0.434
func (c *Client) ReportHeartbeatMetaDataWithContext(ctx context.Context, request *ReportHeartbeatMetaDataRequest) (response *ReportHeartbeatMetaDataResponse, err error)
ReportHeartbeatMetaData 上报元数据心跳
可能返回的错误码:
FAILEDOPERATION = "FailedOperation"
func (*Client) UnbindWorkGroupsFromUser ¶ added in v1.0.206
func (c *Client) UnbindWorkGroupsFromUser(request *UnbindWorkGroupsFromUserRequest) (response *UnbindWorkGroupsFromUserResponse, err error)
UnbindWorkGroupsFromUser 解绑用户上的用户组
可能返回的错误码:
INTERNALERROR = "InternalError" INVALIDPARAMETER_DUPLICATEUSERNAME = "InvalidParameter.DuplicateUserName" UNAUTHORIZEDOPERATION_UNBINDWORKGROUPSFROMUSER = "UnauthorizedOperation.UnbindWorkgroupsFromUser"
func (*Client) UnbindWorkGroupsFromUserWithContext ¶ added in v1.0.324
func (c *Client) UnbindWorkGroupsFromUserWithContext(ctx context.Context, request *UnbindWorkGroupsFromUserRequest) (response *UnbindWorkGroupsFromUserResponse, err error)
UnbindWorkGroupsFromUser 解绑用户上的用户组
可能返回的错误码:
INTERNALERROR = "InternalError" INVALIDPARAMETER_DUPLICATEUSERNAME = "InvalidParameter.DuplicateUserName" UNAUTHORIZEDOPERATION_UNBINDWORKGROUPSFROMUSER = "UnauthorizedOperation.UnbindWorkgroupsFromUser"
func (*Client) UnlockMetaData ¶ added in v1.0.432
func (c *Client) UnlockMetaData(request *UnlockMetaDataRequest) (response *UnlockMetaDataResponse, err error)
UnlockMetaData 元数据解锁
可能返回的错误码:
FAILEDOPERATION = "FailedOperation"
func (*Client) UnlockMetaDataWithContext ¶ added in v1.0.432
func (c *Client) UnlockMetaDataWithContext(ctx context.Context, request *UnlockMetaDataRequest) (response *UnlockMetaDataResponse, err error)
UnlockMetaData 元数据解锁
可能返回的错误码:
FAILEDOPERATION = "FailedOperation"
type Column ¶
type Column struct { // 列名称,不区分大小写,最大支持25个字符。 Name *string `json:"Name,omitempty" name:"Name"` // 列类型,支持如下类型定义: // string|tinyint|smallint|int|bigint|boolean|float|double|decimal|timestamp|date|binary|array<data_type>|map<primitive_type, data_type>|struct<col_name : data_type [COMMENT col_comment], ...>|uniontype<data_type, data_type, ...>。 Type *string `json:"Type,omitempty" name:"Type"` // 对该类的注释。 // 注意:此字段可能返回 null,表示取不到有效值。 Comment *string `json:"Comment,omitempty" name:"Comment"` // 表示整个 numeric 的长度 // 注意:此字段可能返回 null,表示取不到有效值。 Precision *int64 `json:"Precision,omitempty" name:"Precision"` // 表示小数部分的长度 // 注意:此字段可能返回 null,表示取不到有效值。 Scale *int64 `json:"Scale,omitempty" name:"Scale"` // 是否为null // 注意:此字段可能返回 null,表示取不到有效值。 Nullable *string `json:"Nullable,omitempty" name:"Nullable"` // 字段位置,小的在前 // 注意:此字段可能返回 null,表示取不到有效值。 Position *int64 `json:"Position,omitempty" name:"Position"` // 字段创建时间 // 注意:此字段可能返回 null,表示取不到有效值。 CreateTime *string `json:"CreateTime,omitempty" name:"CreateTime"` // 字段修改时间 // 注意:此字段可能返回 null,表示取不到有效值。 ModifiedTime *string `json:"ModifiedTime,omitempty" name:"ModifiedTime"` // 是否为分区字段 // 注意:此字段可能返回 null,表示取不到有效值。 IsPartition *bool `json:"IsPartition,omitempty" name:"IsPartition"` }
type CreateDMSDatabaseRequest ¶ added in v1.0.432
type CreateDMSDatabaseRequest struct { *tchttp.BaseRequest // 基础元数据对象 Asset *Asset `json:"Asset,omitempty" name:"Asset"` // Schema目录 SchemaName *string `json:"SchemaName,omitempty" name:"SchemaName"` // Db存储路径 Location *string `json:"Location,omitempty" name:"Location"` // 数据库名称 Name *string `json:"Name,omitempty" name:"Name"` }
func NewCreateDMSDatabaseRequest ¶ added in v1.0.432
func NewCreateDMSDatabaseRequest() (request *CreateDMSDatabaseRequest)
func (*CreateDMSDatabaseRequest) FromJsonString ¶ added in v1.0.432
func (r *CreateDMSDatabaseRequest) 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 (*CreateDMSDatabaseRequest) ToJsonString ¶ added in v1.0.432
func (r *CreateDMSDatabaseRequest) ToJsonString() string
type CreateDMSDatabaseRequestParams ¶ added in v1.0.432
type CreateDMSDatabaseRequestParams struct { // 基础元数据对象 Asset *Asset `json:"Asset,omitempty" name:"Asset"` // Schema目录 SchemaName *string `json:"SchemaName,omitempty" name:"SchemaName"` // Db存储路径 Location *string `json:"Location,omitempty" name:"Location"` // 数据库名称 Name *string `json:"Name,omitempty" name:"Name"` }
Predefined struct for user
type CreateDMSDatabaseResponse ¶ added in v1.0.432
type CreateDMSDatabaseResponse struct { *tchttp.BaseResponse Response *CreateDMSDatabaseResponseParams `json:"Response"` }
func NewCreateDMSDatabaseResponse ¶ added in v1.0.432
func NewCreateDMSDatabaseResponse() (response *CreateDMSDatabaseResponse)
func (*CreateDMSDatabaseResponse) FromJsonString ¶ added in v1.0.432
func (r *CreateDMSDatabaseResponse) 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 (*CreateDMSDatabaseResponse) ToJsonString ¶ added in v1.0.432
func (r *CreateDMSDatabaseResponse) ToJsonString() string
type CreateDMSDatabaseResponseParams ¶ added in v1.0.432
type CreateDMSDatabaseResponseParams struct { // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type CreateDMSTableRequest ¶ added in v1.0.432
type CreateDMSTableRequest struct { *tchttp.BaseRequest // 基础对象 Asset *Asset `json:"Asset,omitempty" name:"Asset"` // 表类型 Type *string `json:"Type,omitempty" name:"Type"` // 数据库名称 DbName *string `json:"DbName,omitempty" name:"DbName"` // 存储大小 StorageSize *int64 `json:"StorageSize,omitempty" name:"StorageSize"` // 记录数量 RecordCount *int64 `json:"RecordCount,omitempty" name:"RecordCount"` // 生命周期 LifeTime *int64 `json:"LifeTime,omitempty" name:"LifeTime"` // 数据更新时间 DataUpdateTime *string `json:"DataUpdateTime,omitempty" name:"DataUpdateTime"` // 结构更新时间 StructUpdateTime *string `json:"StructUpdateTime,omitempty" name:"StructUpdateTime"` // 最后访问时间 LastAccessTime *string `json:"LastAccessTime,omitempty" name:"LastAccessTime"` // 存储对象 Sds *DMSSds `json:"Sds,omitempty" name:"Sds"` // 列 Columns []*DMSColumn `json:"Columns,omitempty" name:"Columns"` // 分区键值 PartitionKeys []*DMSColumn `json:"PartitionKeys,omitempty" name:"PartitionKeys"` // 视图文本 ViewOriginalText *string `json:"ViewOriginalText,omitempty" name:"ViewOriginalText"` // 视图文本 ViewExpandedText *string `json:"ViewExpandedText,omitempty" name:"ViewExpandedText"` // 分区 Partitions []*DMSPartition `json:"Partitions,omitempty" name:"Partitions"` // 表名称 Name *string `json:"Name,omitempty" name:"Name"` }
func NewCreateDMSTableRequest ¶ added in v1.0.432
func NewCreateDMSTableRequest() (request *CreateDMSTableRequest)
func (*CreateDMSTableRequest) FromJsonString ¶ added in v1.0.432
func (r *CreateDMSTableRequest) 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 (*CreateDMSTableRequest) ToJsonString ¶ added in v1.0.432
func (r *CreateDMSTableRequest) ToJsonString() string
type CreateDMSTableRequestParams ¶ added in v1.0.432
type CreateDMSTableRequestParams struct { // 基础对象 Asset *Asset `json:"Asset,omitempty" name:"Asset"` // 表类型 Type *string `json:"Type,omitempty" name:"Type"` // 数据库名称 DbName *string `json:"DbName,omitempty" name:"DbName"` // 存储大小 StorageSize *int64 `json:"StorageSize,omitempty" name:"StorageSize"` // 记录数量 RecordCount *int64 `json:"RecordCount,omitempty" name:"RecordCount"` // 生命周期 LifeTime *int64 `json:"LifeTime,omitempty" name:"LifeTime"` // 数据更新时间 DataUpdateTime *string `json:"DataUpdateTime,omitempty" name:"DataUpdateTime"` // 结构更新时间 StructUpdateTime *string `json:"StructUpdateTime,omitempty" name:"StructUpdateTime"` // 最后访问时间 LastAccessTime *string `json:"LastAccessTime,omitempty" name:"LastAccessTime"` // 存储对象 Sds *DMSSds `json:"Sds,omitempty" name:"Sds"` // 列 Columns []*DMSColumn `json:"Columns,omitempty" name:"Columns"` // 分区键值 PartitionKeys []*DMSColumn `json:"PartitionKeys,omitempty" name:"PartitionKeys"` // 视图文本 ViewOriginalText *string `json:"ViewOriginalText,omitempty" name:"ViewOriginalText"` // 视图文本 ViewExpandedText *string `json:"ViewExpandedText,omitempty" name:"ViewExpandedText"` // 分区 Partitions []*DMSPartition `json:"Partitions,omitempty" name:"Partitions"` // 表名称 Name *string `json:"Name,omitempty" name:"Name"` }
Predefined struct for user
type CreateDMSTableResponse ¶ added in v1.0.432
type CreateDMSTableResponse struct { *tchttp.BaseResponse Response *CreateDMSTableResponseParams `json:"Response"` }
func NewCreateDMSTableResponse ¶ added in v1.0.432
func NewCreateDMSTableResponse() (response *CreateDMSTableResponse)
func (*CreateDMSTableResponse) FromJsonString ¶ added in v1.0.432
func (r *CreateDMSTableResponse) 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 (*CreateDMSTableResponse) ToJsonString ¶ added in v1.0.432
func (r *CreateDMSTableResponse) ToJsonString() string
type CreateDMSTableResponseParams ¶ added in v1.0.432
type CreateDMSTableResponseParams struct { // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type CreateDatabaseRequest ¶
type CreateDatabaseRequest struct { *tchttp.BaseRequest // 数据库基础信息 DatabaseInfo *DatabaseInfo `json:"DatabaseInfo,omitempty" name:"DatabaseInfo"` // 数据源名称,默认为DataLakeCatalog DatasourceConnectionName *string `json:"DatasourceConnectionName,omitempty" name:"DatasourceConnectionName"` }
func NewCreateDatabaseRequest ¶
func NewCreateDatabaseRequest() (request *CreateDatabaseRequest)
func (*CreateDatabaseRequest) FromJsonString ¶
func (r *CreateDatabaseRequest) 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 (*CreateDatabaseRequest) ToJsonString ¶
func (r *CreateDatabaseRequest) ToJsonString() string
type CreateDatabaseRequestParams ¶ added in v1.0.426
type CreateDatabaseRequestParams struct { // 数据库基础信息 DatabaseInfo *DatabaseInfo `json:"DatabaseInfo,omitempty" name:"DatabaseInfo"` // 数据源名称,默认为DataLakeCatalog DatasourceConnectionName *string `json:"DatasourceConnectionName,omitempty" name:"DatasourceConnectionName"` }
Predefined struct for user
type CreateDatabaseResponse ¶
type CreateDatabaseResponse struct { *tchttp.BaseResponse Response *CreateDatabaseResponseParams `json:"Response"` }
func NewCreateDatabaseResponse ¶
func NewCreateDatabaseResponse() (response *CreateDatabaseResponse)
func (*CreateDatabaseResponse) FromJsonString ¶
func (r *CreateDatabaseResponse) 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 (*CreateDatabaseResponse) ToJsonString ¶
func (r *CreateDatabaseResponse) ToJsonString() string
type CreateDatabaseResponseParams ¶ added in v1.0.426
type CreateDatabaseResponseParams struct { // 生成的建库执行语句对象。 Execution *Execution `json:"Execution,omitempty" name:"Execution"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type CreateExportTaskRequest ¶ added in v1.0.370
type CreateExportTaskRequest struct { *tchttp.BaseRequest // 数据来源,lakefsStorage、taskResult InputType *string `json:"InputType,omitempty" name:"InputType"` // 导出任务输入配置 InputConf []*KVPair `json:"InputConf,omitempty" name:"InputConf"` // 导出任务输出配置 OutputConf []*KVPair `json:"OutputConf,omitempty" name:"OutputConf"` // 目标数据源的类型,目前支持导出到cos OutputType *string `json:"OutputType,omitempty" name:"OutputType"` }
func NewCreateExportTaskRequest ¶ added in v1.0.370
func NewCreateExportTaskRequest() (request *CreateExportTaskRequest)
func (*CreateExportTaskRequest) FromJsonString ¶ added in v1.0.370
func (r *CreateExportTaskRequest) 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 (*CreateExportTaskRequest) ToJsonString ¶ added in v1.0.370
func (r *CreateExportTaskRequest) ToJsonString() string
type CreateExportTaskRequestParams ¶ added in v1.0.426
type CreateExportTaskRequestParams struct { // 数据来源,lakefsStorage、taskResult InputType *string `json:"InputType,omitempty" name:"InputType"` // 导出任务输入配置 InputConf []*KVPair `json:"InputConf,omitempty" name:"InputConf"` // 导出任务输出配置 OutputConf []*KVPair `json:"OutputConf,omitempty" name:"OutputConf"` // 目标数据源的类型,目前支持导出到cos OutputType *string `json:"OutputType,omitempty" name:"OutputType"` }
Predefined struct for user
type CreateExportTaskResponse ¶ added in v1.0.370
type CreateExportTaskResponse struct { *tchttp.BaseResponse Response *CreateExportTaskResponseParams `json:"Response"` }
func NewCreateExportTaskResponse ¶ added in v1.0.370
func NewCreateExportTaskResponse() (response *CreateExportTaskResponse)
func (*CreateExportTaskResponse) FromJsonString ¶ added in v1.0.370
func (r *CreateExportTaskResponse) 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 (*CreateExportTaskResponse) ToJsonString ¶ added in v1.0.370
func (r *CreateExportTaskResponse) ToJsonString() string
type CreateExportTaskResponseParams ¶ added in v1.0.426
type CreateExportTaskResponseParams struct { // 任务id TaskId *string `json:"TaskId,omitempty" name:"TaskId"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type CreateImportTaskRequest ¶ added in v1.0.370
type CreateImportTaskRequest struct { *tchttp.BaseRequest // 数据来源,cos InputType *string `json:"InputType,omitempty" name:"InputType"` // 输入配置 InputConf []*KVPair `json:"InputConf,omitempty" name:"InputConf"` // 输出配置 OutputConf []*KVPair `json:"OutputConf,omitempty" name:"OutputConf"` // 目标数据源的类型,目前支持导入到托管存储,即lakefsStorage OutputType *string `json:"OutputType,omitempty" name:"OutputType"` }
func NewCreateImportTaskRequest ¶ added in v1.0.370
func NewCreateImportTaskRequest() (request *CreateImportTaskRequest)
func (*CreateImportTaskRequest) FromJsonString ¶ added in v1.0.370
func (r *CreateImportTaskRequest) 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 (*CreateImportTaskRequest) ToJsonString ¶ added in v1.0.370
func (r *CreateImportTaskRequest) ToJsonString() string
type CreateImportTaskRequestParams ¶ added in v1.0.426
type CreateImportTaskRequestParams struct { // 数据来源,cos InputType *string `json:"InputType,omitempty" name:"InputType"` // 输入配置 InputConf []*KVPair `json:"InputConf,omitempty" name:"InputConf"` // 输出配置 OutputConf []*KVPair `json:"OutputConf,omitempty" name:"OutputConf"` // 目标数据源的类型,目前支持导入到托管存储,即lakefsStorage OutputType *string `json:"OutputType,omitempty" name:"OutputType"` }
Predefined struct for user
type CreateImportTaskResponse ¶ added in v1.0.370
type CreateImportTaskResponse struct { *tchttp.BaseResponse Response *CreateImportTaskResponseParams `json:"Response"` }
func NewCreateImportTaskResponse ¶ added in v1.0.370
func NewCreateImportTaskResponse() (response *CreateImportTaskResponse)
func (*CreateImportTaskResponse) FromJsonString ¶ added in v1.0.370
func (r *CreateImportTaskResponse) 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 (*CreateImportTaskResponse) ToJsonString ¶ added in v1.0.370
func (r *CreateImportTaskResponse) ToJsonString() string
type CreateImportTaskResponseParams ¶ added in v1.0.426
type CreateImportTaskResponseParams struct { // 任务id TaskId *string `json:"TaskId,omitempty" name:"TaskId"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type CreateScriptRequest ¶
type CreateScriptRequest struct { *tchttp.BaseRequest // 脚本名称,最大不能超过255个字符。 ScriptName *string `json:"ScriptName,omitempty" name:"ScriptName"` // base64编码后的sql语句 SQLStatement *string `json:"SQLStatement,omitempty" name:"SQLStatement"` // 脚本描述, 不能超过50个字符 ScriptDesc *string `json:"ScriptDesc,omitempty" name:"ScriptDesc"` // 数据库名称 DatabaseName *string `json:"DatabaseName,omitempty" name:"DatabaseName"` }
func NewCreateScriptRequest ¶
func NewCreateScriptRequest() (request *CreateScriptRequest)
func (*CreateScriptRequest) FromJsonString ¶
func (r *CreateScriptRequest) 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 (*CreateScriptRequest) ToJsonString ¶
func (r *CreateScriptRequest) ToJsonString() string
type CreateScriptRequestParams ¶ added in v1.0.426
type CreateScriptRequestParams struct { // 脚本名称,最大不能超过255个字符。 ScriptName *string `json:"ScriptName,omitempty" name:"ScriptName"` // base64编码后的sql语句 SQLStatement *string `json:"SQLStatement,omitempty" name:"SQLStatement"` // 脚本描述, 不能超过50个字符 ScriptDesc *string `json:"ScriptDesc,omitempty" name:"ScriptDesc"` // 数据库名称 DatabaseName *string `json:"DatabaseName,omitempty" name:"DatabaseName"` }
Predefined struct for user
type CreateScriptResponse ¶
type CreateScriptResponse struct { *tchttp.BaseResponse Response *CreateScriptResponseParams `json:"Response"` }
func NewCreateScriptResponse ¶
func NewCreateScriptResponse() (response *CreateScriptResponse)
func (*CreateScriptResponse) FromJsonString ¶
func (r *CreateScriptResponse) 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 (*CreateScriptResponse) ToJsonString ¶
func (r *CreateScriptResponse) ToJsonString() string
type CreateScriptResponseParams ¶ added in v1.0.426
type CreateScriptResponseParams struct { // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type CreateSparkAppRequest ¶ added in v1.0.408
type CreateSparkAppRequest struct { *tchttp.BaseRequest // spark应用名 AppName *string `json:"AppName,omitempty" name:"AppName"` // 1代表spark jar应用,2代表spark streaming应用 AppType *int64 `json:"AppType,omitempty" name:"AppType"` // 执行spark作业的数据引擎 DataEngine *string `json:"DataEngine,omitempty" name:"DataEngine"` // spark应用的执行入口 AppFile *string `json:"AppFile,omitempty" name:"AppFile"` // 执行spark作业的角色ID RoleArn *int64 `json:"RoleArn,omitempty" name:"RoleArn"` // spark作业driver资源规格大小, 可取small,medium,large,xlarge AppDriverSize *string `json:"AppDriverSize,omitempty" name:"AppDriverSize"` // spark作业executor资源规格大小, 可取small,medium,large,xlarge AppExecutorSize *string `json:"AppExecutorSize,omitempty" name:"AppExecutorSize"` // spark作业executor个数 AppExecutorNums *int64 `json:"AppExecutorNums,omitempty" name:"AppExecutorNums"` // 该字段已下线,请使用字段Datasource Eni *string `json:"Eni,omitempty" name:"Eni"` // 是否本地上传,可去cos,lakefs IsLocal *string `json:"IsLocal,omitempty" name:"IsLocal"` // spark jar作业时的主类 MainClass *string `json:"MainClass,omitempty" name:"MainClass"` // spark配置,以换行符分隔 AppConf *string `json:"AppConf,omitempty" name:"AppConf"` // 是否本地上传,包含cos,lakefs IsLocalJars *string `json:"IsLocalJars,omitempty" name:"IsLocalJars"` // spark jar作业依赖jars,以逗号分隔 AppJars *string `json:"AppJars,omitempty" name:"AppJars"` // 是否本地上传,包含cos,lakefs IsLocalFiles *string `json:"IsLocalFiles,omitempty" name:"IsLocalFiles"` // spark作业依赖资源,以逗号分隔 AppFiles *string `json:"AppFiles,omitempty" name:"AppFiles"` // spark作业命令行参数 CmdArgs *string `json:"CmdArgs,omitempty" name:"CmdArgs"` // 只对spark流任务生效 MaxRetries *int64 `json:"MaxRetries,omitempty" name:"MaxRetries"` // 数据源名 DataSource *string `json:"DataSource,omitempty" name:"DataSource"` // pyspark:依赖上传方式,1、cos;2、lakefs(控制台使用,该方式不支持直接接口调用) IsLocalPythonFiles *string `json:"IsLocalPythonFiles,omitempty" name:"IsLocalPythonFiles"` // pyspark:python依赖, 除py文件外,还支持zip/egg等归档格式,多文件以逗号分隔 AppPythonFiles *string `json:"AppPythonFiles,omitempty" name:"AppPythonFiles"` // archives:依赖上传方式,1、cos;2、lakefs(控制台使用,该方式不支持直接接口调用) IsLocalArchives *string `json:"IsLocalArchives,omitempty" name:"IsLocalArchives"` // archives:依赖资源 AppArchives *string `json:"AppArchives,omitempty" name:"AppArchives"` }
func NewCreateSparkAppRequest ¶ added in v1.0.408
func NewCreateSparkAppRequest() (request *CreateSparkAppRequest)
func (*CreateSparkAppRequest) FromJsonString ¶ added in v1.0.408
func (r *CreateSparkAppRequest) 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 (*CreateSparkAppRequest) ToJsonString ¶ added in v1.0.408
func (r *CreateSparkAppRequest) ToJsonString() string
type CreateSparkAppRequestParams ¶ added in v1.0.426
type CreateSparkAppRequestParams struct { // spark应用名 AppName *string `json:"AppName,omitempty" name:"AppName"` // 1代表spark jar应用,2代表spark streaming应用 AppType *int64 `json:"AppType,omitempty" name:"AppType"` // 执行spark作业的数据引擎 DataEngine *string `json:"DataEngine,omitempty" name:"DataEngine"` // spark应用的执行入口 AppFile *string `json:"AppFile,omitempty" name:"AppFile"` // 执行spark作业的角色ID RoleArn *int64 `json:"RoleArn,omitempty" name:"RoleArn"` // spark作业driver资源规格大小, 可取small,medium,large,xlarge AppDriverSize *string `json:"AppDriverSize,omitempty" name:"AppDriverSize"` // spark作业executor资源规格大小, 可取small,medium,large,xlarge AppExecutorSize *string `json:"AppExecutorSize,omitempty" name:"AppExecutorSize"` // spark作业executor个数 AppExecutorNums *int64 `json:"AppExecutorNums,omitempty" name:"AppExecutorNums"` // 该字段已下线,请使用字段Datasource Eni *string `json:"Eni,omitempty" name:"Eni"` // 是否本地上传,可去cos,lakefs IsLocal *string `json:"IsLocal,omitempty" name:"IsLocal"` // spark jar作业时的主类 MainClass *string `json:"MainClass,omitempty" name:"MainClass"` // spark配置,以换行符分隔 AppConf *string `json:"AppConf,omitempty" name:"AppConf"` // 是否本地上传,包含cos,lakefs IsLocalJars *string `json:"IsLocalJars,omitempty" name:"IsLocalJars"` // spark jar作业依赖jars,以逗号分隔 AppJars *string `json:"AppJars,omitempty" name:"AppJars"` // 是否本地上传,包含cos,lakefs IsLocalFiles *string `json:"IsLocalFiles,omitempty" name:"IsLocalFiles"` // spark作业依赖资源,以逗号分隔 AppFiles *string `json:"AppFiles,omitempty" name:"AppFiles"` // spark作业命令行参数 CmdArgs *string `json:"CmdArgs,omitempty" name:"CmdArgs"` // 只对spark流任务生效 MaxRetries *int64 `json:"MaxRetries,omitempty" name:"MaxRetries"` // 数据源名 DataSource *string `json:"DataSource,omitempty" name:"DataSource"` // pyspark:依赖上传方式,1、cos;2、lakefs(控制台使用,该方式不支持直接接口调用) IsLocalPythonFiles *string `json:"IsLocalPythonFiles,omitempty" name:"IsLocalPythonFiles"` // pyspark:python依赖, 除py文件外,还支持zip/egg等归档格式,多文件以逗号分隔 AppPythonFiles *string `json:"AppPythonFiles,omitempty" name:"AppPythonFiles"` // archives:依赖上传方式,1、cos;2、lakefs(控制台使用,该方式不支持直接接口调用) IsLocalArchives *string `json:"IsLocalArchives,omitempty" name:"IsLocalArchives"` // archives:依赖资源 AppArchives *string `json:"AppArchives,omitempty" name:"AppArchives"` }
Predefined struct for user
type CreateSparkAppResponse ¶ added in v1.0.408
type CreateSparkAppResponse struct { *tchttp.BaseResponse Response *CreateSparkAppResponseParams `json:"Response"` }
func NewCreateSparkAppResponse ¶ added in v1.0.408
func NewCreateSparkAppResponse() (response *CreateSparkAppResponse)
func (*CreateSparkAppResponse) FromJsonString ¶ added in v1.0.408
func (r *CreateSparkAppResponse) 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 (*CreateSparkAppResponse) ToJsonString ¶ added in v1.0.408
func (r *CreateSparkAppResponse) ToJsonString() string
type CreateSparkAppResponseParams ¶ added in v1.0.426
type CreateSparkAppResponseParams struct { // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type CreateSparkAppTaskRequest ¶ added in v1.0.408
type CreateSparkAppTaskRequest struct { *tchttp.BaseRequest // spark作业名 JobName *string `json:"JobName,omitempty" name:"JobName"` // spark作业的命令行参数,以空格分隔;一般用于周期性调用使用 CmdArgs *string `json:"CmdArgs,omitempty" name:"CmdArgs"` }
func NewCreateSparkAppTaskRequest ¶ added in v1.0.408
func NewCreateSparkAppTaskRequest() (request *CreateSparkAppTaskRequest)
func (*CreateSparkAppTaskRequest) FromJsonString ¶ added in v1.0.408
func (r *CreateSparkAppTaskRequest) 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 (*CreateSparkAppTaskRequest) ToJsonString ¶ added in v1.0.408
func (r *CreateSparkAppTaskRequest) ToJsonString() string
type CreateSparkAppTaskRequestParams ¶ added in v1.0.426
type CreateSparkAppTaskRequestParams struct { // spark作业名 JobName *string `json:"JobName,omitempty" name:"JobName"` // spark作业的命令行参数,以空格分隔;一般用于周期性调用使用 CmdArgs *string `json:"CmdArgs,omitempty" name:"CmdArgs"` }
Predefined struct for user
type CreateSparkAppTaskResponse ¶ added in v1.0.408
type CreateSparkAppTaskResponse struct { *tchttp.BaseResponse Response *CreateSparkAppTaskResponseParams `json:"Response"` }
func NewCreateSparkAppTaskResponse ¶ added in v1.0.408
func NewCreateSparkAppTaskResponse() (response *CreateSparkAppTaskResponse)
func (*CreateSparkAppTaskResponse) FromJsonString ¶ added in v1.0.408
func (r *CreateSparkAppTaskResponse) 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 (*CreateSparkAppTaskResponse) ToJsonString ¶ added in v1.0.408
func (r *CreateSparkAppTaskResponse) ToJsonString() string
type CreateSparkAppTaskResponseParams ¶ added in v1.0.426
type CreateSparkAppTaskResponseParams struct { // 批Id BatchId *string `json:"BatchId,omitempty" name:"BatchId"` // 任务Id TaskId *string `json:"TaskId,omitempty" name:"TaskId"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type CreateStoreLocationRequest ¶
type CreateStoreLocationRequest struct { *tchttp.BaseRequest // 计算结果存储cos路径,如:cosn://bucketname/ StoreLocation *string `json:"StoreLocation,omitempty" name:"StoreLocation"` }
func NewCreateStoreLocationRequest ¶
func NewCreateStoreLocationRequest() (request *CreateStoreLocationRequest)
func (*CreateStoreLocationRequest) FromJsonString ¶
func (r *CreateStoreLocationRequest) 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 (*CreateStoreLocationRequest) ToJsonString ¶
func (r *CreateStoreLocationRequest) ToJsonString() string
type CreateStoreLocationRequestParams ¶ added in v1.0.426
type CreateStoreLocationRequestParams struct { // 计算结果存储cos路径,如:cosn://bucketname/ StoreLocation *string `json:"StoreLocation,omitempty" name:"StoreLocation"` }
Predefined struct for user
type CreateStoreLocationResponse ¶
type CreateStoreLocationResponse struct { *tchttp.BaseResponse Response *CreateStoreLocationResponseParams `json:"Response"` }
func NewCreateStoreLocationResponse ¶
func NewCreateStoreLocationResponse() (response *CreateStoreLocationResponse)
func (*CreateStoreLocationResponse) FromJsonString ¶
func (r *CreateStoreLocationResponse) 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 (*CreateStoreLocationResponse) ToJsonString ¶
func (r *CreateStoreLocationResponse) ToJsonString() string
type CreateStoreLocationResponseParams ¶ added in v1.0.426
type CreateStoreLocationResponseParams struct { // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type CreateTableRequest ¶
type CreateTableRequest struct { *tchttp.BaseRequest // 数据表配置信息 TableInfo *TableInfo `json:"TableInfo,omitempty" name:"TableInfo"` }
func NewCreateTableRequest ¶
func NewCreateTableRequest() (request *CreateTableRequest)
func (*CreateTableRequest) FromJsonString ¶
func (r *CreateTableRequest) 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 (*CreateTableRequest) ToJsonString ¶
func (r *CreateTableRequest) ToJsonString() string
type CreateTableRequestParams ¶ added in v1.0.426
type CreateTableRequestParams struct { // 数据表配置信息 TableInfo *TableInfo `json:"TableInfo,omitempty" name:"TableInfo"` }
Predefined struct for user
type CreateTableResponse ¶
type CreateTableResponse struct { *tchttp.BaseResponse Response *CreateTableResponseParams `json:"Response"` }
func NewCreateTableResponse ¶
func NewCreateTableResponse() (response *CreateTableResponse)
func (*CreateTableResponse) FromJsonString ¶
func (r *CreateTableResponse) 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 (*CreateTableResponse) ToJsonString ¶
func (r *CreateTableResponse) ToJsonString() string
type CreateTableResponseParams ¶ added in v1.0.426
type CreateTableResponseParams struct { // 生成的建表执行语句对象。 Execution *Execution `json:"Execution,omitempty" name:"Execution"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type CreateTaskRequest ¶
type CreateTaskRequest struct { *tchttp.BaseRequest // 计算任务,该参数中包含任务类型及其相关配置信息 Task *Task `json:"Task,omitempty" name:"Task"` // 数据库名称。如果SQL语句中有数据库名称,优先使用SQL语句中的数据库,否则使用该参数指定的数据库(注:当提交建库sql时,该字段传空字符串)。 DatabaseName *string `json:"DatabaseName,omitempty" name:"DatabaseName"` // 默认数据源名称。 DatasourceConnectionName *string `json:"DatasourceConnectionName,omitempty" name:"DatasourceConnectionName"` // 数据引擎名称,不填提交到默认集群 DataEngineName *string `json:"DataEngineName,omitempty" name:"DataEngineName"` }
func NewCreateTaskRequest ¶
func NewCreateTaskRequest() (request *CreateTaskRequest)
func (*CreateTaskRequest) FromJsonString ¶
func (r *CreateTaskRequest) 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 (*CreateTaskRequest) ToJsonString ¶
func (r *CreateTaskRequest) ToJsonString() string
type CreateTaskRequestParams ¶ added in v1.0.426
type CreateTaskRequestParams struct { // 计算任务,该参数中包含任务类型及其相关配置信息 Task *Task `json:"Task,omitempty" name:"Task"` // 数据库名称。如果SQL语句中有数据库名称,优先使用SQL语句中的数据库,否则使用该参数指定的数据库(注:当提交建库sql时,该字段传空字符串)。 DatabaseName *string `json:"DatabaseName,omitempty" name:"DatabaseName"` // 默认数据源名称。 DatasourceConnectionName *string `json:"DatasourceConnectionName,omitempty" name:"DatasourceConnectionName"` // 数据引擎名称,不填提交到默认集群 DataEngineName *string `json:"DataEngineName,omitempty" name:"DataEngineName"` }
Predefined struct for user
type CreateTaskResponse ¶
type CreateTaskResponse struct { *tchttp.BaseResponse Response *CreateTaskResponseParams `json:"Response"` }
func NewCreateTaskResponse ¶
func NewCreateTaskResponse() (response *CreateTaskResponse)
func (*CreateTaskResponse) FromJsonString ¶
func (r *CreateTaskResponse) 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 (*CreateTaskResponse) ToJsonString ¶
func (r *CreateTaskResponse) ToJsonString() string
type CreateTaskResponseParams ¶ added in v1.0.426
type CreateTaskResponseParams struct { // 任务ID // 注意:此字段可能返回 null,表示取不到有效值。 TaskId *string `json:"TaskId,omitempty" name:"TaskId"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type CreateTasksInOrderRequest ¶ added in v1.0.216
type CreateTasksInOrderRequest struct { *tchttp.BaseRequest // 数据库名称。如果SQL语句中有数据库名称,优先使用SQL语句中的数据库,否则使用该参数指定的数据库。 DatabaseName *string `json:"DatabaseName,omitempty" name:"DatabaseName"` // SQL任务信息 Tasks *TasksInfo `json:"Tasks,omitempty" name:"Tasks"` // 数据源名称,默认为COSDataCatalog DatasourceConnectionName *string `json:"DatasourceConnectionName,omitempty" name:"DatasourceConnectionName"` }
func NewCreateTasksInOrderRequest ¶ added in v1.0.216
func NewCreateTasksInOrderRequest() (request *CreateTasksInOrderRequest)
func (*CreateTasksInOrderRequest) FromJsonString ¶ added in v1.0.216
func (r *CreateTasksInOrderRequest) 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 (*CreateTasksInOrderRequest) ToJsonString ¶ added in v1.0.216
func (r *CreateTasksInOrderRequest) ToJsonString() string
type CreateTasksInOrderRequestParams ¶ added in v1.0.426
type CreateTasksInOrderRequestParams struct { // 数据库名称。如果SQL语句中有数据库名称,优先使用SQL语句中的数据库,否则使用该参数指定的数据库。 DatabaseName *string `json:"DatabaseName,omitempty" name:"DatabaseName"` // SQL任务信息 Tasks *TasksInfo `json:"Tasks,omitempty" name:"Tasks"` // 数据源名称,默认为COSDataCatalog DatasourceConnectionName *string `json:"DatasourceConnectionName,omitempty" name:"DatasourceConnectionName"` }
Predefined struct for user
type CreateTasksInOrderResponse ¶ added in v1.0.216
type CreateTasksInOrderResponse struct { *tchttp.BaseResponse Response *CreateTasksInOrderResponseParams `json:"Response"` }
func NewCreateTasksInOrderResponse ¶ added in v1.0.216
func NewCreateTasksInOrderResponse() (response *CreateTasksInOrderResponse)
func (*CreateTasksInOrderResponse) FromJsonString ¶ added in v1.0.216
func (r *CreateTasksInOrderResponse) 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 (*CreateTasksInOrderResponse) ToJsonString ¶ added in v1.0.216
func (r *CreateTasksInOrderResponse) ToJsonString() string
type CreateTasksInOrderResponseParams ¶ added in v1.0.426
type CreateTasksInOrderResponseParams struct { // 本批次提交的任务的批次Id BatchId *string `json:"BatchId,omitempty" name:"BatchId"` // 任务Id集合,按照执行顺序排列 TaskIdSet []*string `json:"TaskIdSet,omitempty" name:"TaskIdSet"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type CreateTasksRequest ¶ added in v1.0.217
type CreateTasksRequest struct { *tchttp.BaseRequest // 数据库名称。如果SQL语句中有数据库名称,优先使用SQL语句中的数据库,否则使用该参数指定的数据库(注:当提交建库sql时,该字段传空字符串)。 DatabaseName *string `json:"DatabaseName,omitempty" name:"DatabaseName"` // SQL任务信息 Tasks *TasksInfo `json:"Tasks,omitempty" name:"Tasks"` // 数据源名称,默认为DataLakeCatalog DatasourceConnectionName *string `json:"DatasourceConnectionName,omitempty" name:"DatasourceConnectionName"` // 计算引擎名称,不填任务提交到默认集群 DataEngineName *string `json:"DataEngineName,omitempty" name:"DataEngineName"` }
func NewCreateTasksRequest ¶ added in v1.0.217
func NewCreateTasksRequest() (request *CreateTasksRequest)
func (*CreateTasksRequest) FromJsonString ¶ added in v1.0.217
func (r *CreateTasksRequest) 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 (*CreateTasksRequest) ToJsonString ¶ added in v1.0.217
func (r *CreateTasksRequest) ToJsonString() string
type CreateTasksRequestParams ¶ added in v1.0.426
type CreateTasksRequestParams struct { // 数据库名称。如果SQL语句中有数据库名称,优先使用SQL语句中的数据库,否则使用该参数指定的数据库(注:当提交建库sql时,该字段传空字符串)。 DatabaseName *string `json:"DatabaseName,omitempty" name:"DatabaseName"` // SQL任务信息 Tasks *TasksInfo `json:"Tasks,omitempty" name:"Tasks"` // 数据源名称,默认为DataLakeCatalog DatasourceConnectionName *string `json:"DatasourceConnectionName,omitempty" name:"DatasourceConnectionName"` // 计算引擎名称,不填任务提交到默认集群 DataEngineName *string `json:"DataEngineName,omitempty" name:"DataEngineName"` }
Predefined struct for user
type CreateTasksResponse ¶ added in v1.0.217
type CreateTasksResponse struct { *tchttp.BaseResponse Response *CreateTasksResponseParams `json:"Response"` }
func NewCreateTasksResponse ¶ added in v1.0.217
func NewCreateTasksResponse() (response *CreateTasksResponse)
func (*CreateTasksResponse) FromJsonString ¶ added in v1.0.217
func (r *CreateTasksResponse) 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 (*CreateTasksResponse) ToJsonString ¶ added in v1.0.217
func (r *CreateTasksResponse) ToJsonString() string
type CreateTasksResponseParams ¶ added in v1.0.426
type CreateTasksResponseParams struct { // 本批次提交的任务的批次Id BatchId *string `json:"BatchId,omitempty" name:"BatchId"` // 任务Id集合,按照执行顺序排列 TaskIdSet []*string `json:"TaskIdSet,omitempty" name:"TaskIdSet"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type CreateUserRequest ¶ added in v1.0.206
type CreateUserRequest struct { *tchttp.BaseRequest // 需要授权的子用户uin,可以通过腾讯云控制台右上角 → “账号信息” → “账号ID进行查看”。 UserId *string `json:"UserId,omitempty" name:"UserId"` // 用户描述信息,方便区分不同用户 UserDescription *string `json:"UserDescription,omitempty" name:"UserDescription"` // 绑定到用户的权限集合 PolicySet []*Policy `json:"PolicySet,omitempty" name:"PolicySet"` // 用户类型。ADMIN:管理员 COMMON:一般用户。当用户类型为管理员的时候,不能设置权限集合和绑定的工作组集合,管理员默认拥有所有权限。该参数不填默认为COMMON UserType *string `json:"UserType,omitempty" name:"UserType"` // 绑定到用户的工作组ID集合。 WorkGroupIds []*int64 `json:"WorkGroupIds,omitempty" name:"WorkGroupIds"` // 用户别名,字符长度小50 UserAlias *string `json:"UserAlias,omitempty" name:"UserAlias"` }
func NewCreateUserRequest ¶ added in v1.0.206
func NewCreateUserRequest() (request *CreateUserRequest)
func (*CreateUserRequest) FromJsonString ¶ added in v1.0.206
func (r *CreateUserRequest) 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 (*CreateUserRequest) ToJsonString ¶ added in v1.0.206
func (r *CreateUserRequest) ToJsonString() string
type CreateUserRequestParams ¶ added in v1.0.426
type CreateUserRequestParams struct { // 需要授权的子用户uin,可以通过腾讯云控制台右上角 → “账号信息” → “账号ID进行查看”。 UserId *string `json:"UserId,omitempty" name:"UserId"` // 用户描述信息,方便区分不同用户 UserDescription *string `json:"UserDescription,omitempty" name:"UserDescription"` // 绑定到用户的权限集合 PolicySet []*Policy `json:"PolicySet,omitempty" name:"PolicySet"` // 用户类型。ADMIN:管理员 COMMON:一般用户。当用户类型为管理员的时候,不能设置权限集合和绑定的工作组集合,管理员默认拥有所有权限。该参数不填默认为COMMON UserType *string `json:"UserType,omitempty" name:"UserType"` // 绑定到用户的工作组ID集合。 WorkGroupIds []*int64 `json:"WorkGroupIds,omitempty" name:"WorkGroupIds"` // 用户别名,字符长度小50 UserAlias *string `json:"UserAlias,omitempty" name:"UserAlias"` }
Predefined struct for user
type CreateUserResponse ¶ added in v1.0.206
type CreateUserResponse struct { *tchttp.BaseResponse Response *CreateUserResponseParams `json:"Response"` }
func NewCreateUserResponse ¶ added in v1.0.206
func NewCreateUserResponse() (response *CreateUserResponse)
func (*CreateUserResponse) FromJsonString ¶ added in v1.0.206
func (r *CreateUserResponse) 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 (*CreateUserResponse) ToJsonString ¶ added in v1.0.206
func (r *CreateUserResponse) ToJsonString() string
type CreateUserResponseParams ¶ added in v1.0.426
type CreateUserResponseParams struct { // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type CreateWorkGroupRequest ¶ added in v1.0.206
type CreateWorkGroupRequest struct { *tchttp.BaseRequest // 工作组名称 WorkGroupName *string `json:"WorkGroupName,omitempty" name:"WorkGroupName"` // 工作组描述 WorkGroupDescription *string `json:"WorkGroupDescription,omitempty" name:"WorkGroupDescription"` // 工作组绑定的鉴权策略集合 PolicySet []*Policy `json:"PolicySet,omitempty" name:"PolicySet"` // 需要绑定到工作组的用户Id集合 UserIds []*string `json:"UserIds,omitempty" name:"UserIds"` }
func NewCreateWorkGroupRequest ¶ added in v1.0.206
func NewCreateWorkGroupRequest() (request *CreateWorkGroupRequest)
func (*CreateWorkGroupRequest) FromJsonString ¶ added in v1.0.206
func (r *CreateWorkGroupRequest) 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 (*CreateWorkGroupRequest) ToJsonString ¶ added in v1.0.206
func (r *CreateWorkGroupRequest) ToJsonString() string
type CreateWorkGroupRequestParams ¶ added in v1.0.426
type CreateWorkGroupRequestParams struct { // 工作组名称 WorkGroupName *string `json:"WorkGroupName,omitempty" name:"WorkGroupName"` // 工作组描述 WorkGroupDescription *string `json:"WorkGroupDescription,omitempty" name:"WorkGroupDescription"` // 工作组绑定的鉴权策略集合 PolicySet []*Policy `json:"PolicySet,omitempty" name:"PolicySet"` // 需要绑定到工作组的用户Id集合 UserIds []*string `json:"UserIds,omitempty" name:"UserIds"` }
Predefined struct for user
type CreateWorkGroupResponse ¶ added in v1.0.206
type CreateWorkGroupResponse struct { *tchttp.BaseResponse Response *CreateWorkGroupResponseParams `json:"Response"` }
func NewCreateWorkGroupResponse ¶ added in v1.0.206
func NewCreateWorkGroupResponse() (response *CreateWorkGroupResponse)
func (*CreateWorkGroupResponse) FromJsonString ¶ added in v1.0.206
func (r *CreateWorkGroupResponse) 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 (*CreateWorkGroupResponse) ToJsonString ¶ added in v1.0.206
func (r *CreateWorkGroupResponse) ToJsonString() string
type CreateWorkGroupResponseParams ¶ added in v1.0.426
type CreateWorkGroupResponseParams struct { // 工作组Id,全局唯一 WorkGroupId *int64 `json:"WorkGroupId,omitempty" name:"WorkGroupId"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DMSColumn ¶ added in v1.0.432
type DMSColumn struct { // 名称 // 注意:此字段可能返回 null,表示取不到有效值。 Name *string `json:"Name,omitempty" name:"Name"` // 描述 // 注意:此字段可能返回 null,表示取不到有效值。 Description *string `json:"Description,omitempty" name:"Description"` // 类型 // 注意:此字段可能返回 null,表示取不到有效值。 Type *string `json:"Type,omitempty" name:"Type"` // 排序 // 注意:此字段可能返回 null,表示取不到有效值。 Position *int64 `json:"Position,omitempty" name:"Position"` // 附加参数 // 注意:此字段可能返回 null,表示取不到有效值。 Params []*KVPair `json:"Params,omitempty" name:"Params"` // 业务参数 // 注意:此字段可能返回 null,表示取不到有效值。 BizParams []*KVPair `json:"BizParams,omitempty" name:"BizParams"` // 是否分区 // 注意:此字段可能返回 null,表示取不到有效值。 IsPartition *bool `json:"IsPartition,omitempty" name:"IsPartition"` }
type DMSColumnOrder ¶ added in v1.0.432
type DMSPartition ¶ added in v1.0.432
type DMSPartition struct { // 数据库名称 DatabaseName *string `json:"DatabaseName,omitempty" name:"DatabaseName"` // 数据目录名称 SchemaName *string `json:"SchemaName,omitempty" name:"SchemaName"` // 表名称 TableName *string `json:"TableName,omitempty" name:"TableName"` // 数据版本 DataVersion *int64 `json:"DataVersion,omitempty" name:"DataVersion"` // 分区名称 Name *string `json:"Name,omitempty" name:"Name"` // 值列表 Values []*string `json:"Values,omitempty" name:"Values"` // 存储大小 StorageSize *int64 `json:"StorageSize,omitempty" name:"StorageSize"` // 记录数量 RecordCount *int64 `json:"RecordCount,omitempty" name:"RecordCount"` // 创建时间 CreateTime *string `json:"CreateTime,omitempty" name:"CreateTime"` // 修改时间 ModifiedTime *string `json:"ModifiedTime,omitempty" name:"ModifiedTime"` // 最后访问时间 LastAccessTime *string `json:"LastAccessTime,omitempty" name:"LastAccessTime"` // 附件属性 Params []*KVPair `json:"Params,omitempty" name:"Params"` // 存储对象 Sds *DMSSds `json:"Sds,omitempty" name:"Sds"` }
type DMSSds ¶ added in v1.0.432
type DMSSds struct { // 存储地址 // 注意:此字段可能返回 null,表示取不到有效值。 Location *string `json:"Location,omitempty" name:"Location"` // 输入格式 // 注意:此字段可能返回 null,表示取不到有效值。 InputFormat *string `json:"InputFormat,omitempty" name:"InputFormat"` // 输出格式 // 注意:此字段可能返回 null,表示取不到有效值。 OutputFormat *string `json:"OutputFormat,omitempty" name:"OutputFormat"` // bucket数量 // 注意:此字段可能返回 null,表示取不到有效值。 NumBuckets *int64 `json:"NumBuckets,omitempty" name:"NumBuckets"` // 是是否压缩 // 注意:此字段可能返回 null,表示取不到有效值。 Compressed *bool `json:"Compressed,omitempty" name:"Compressed"` // 是否有子目录 // 注意:此字段可能返回 null,表示取不到有效值。 StoredAsSubDirectories *bool `json:"StoredAsSubDirectories,omitempty" name:"StoredAsSubDirectories"` // 序列化lib // 注意:此字段可能返回 null,表示取不到有效值。 SerdeLib *string `json:"SerdeLib,omitempty" name:"SerdeLib"` // 序列化名称 // 注意:此字段可能返回 null,表示取不到有效值。 SerdeName *string `json:"SerdeName,omitempty" name:"SerdeName"` // 桶名称 // 注意:此字段可能返回 null,表示取不到有效值。 BucketCols []*string `json:"BucketCols,omitempty" name:"BucketCols"` // 序列化参数 // 注意:此字段可能返回 null,表示取不到有效值。 SerdeParams []*KVPair `json:"SerdeParams,omitempty" name:"SerdeParams"` // 附加参数 // 注意:此字段可能返回 null,表示取不到有效值。 Params []*KVPair `json:"Params,omitempty" name:"Params"` // 列排序(Expired) // 注意:此字段可能返回 null,表示取不到有效值。 SortCols *DMSColumnOrder `json:"SortCols,omitempty" name:"SortCols"` // 列 // 注意:此字段可能返回 null,表示取不到有效值。 Cols []*DMSColumn `json:"Cols,omitempty" name:"Cols"` // 列排序字段 // 注意:此字段可能返回 null,表示取不到有效值。 SortColumns []*DMSColumnOrder `json:"SortColumns,omitempty" name:"SortColumns"` }
type DMSTable ¶ added in v1.0.432
type DMSTable struct { // 视图文本 // 注意:此字段可能返回 null,表示取不到有效值。 ViewOriginalText *string `json:"ViewOriginalText,omitempty" name:"ViewOriginalText"` // 视图文本 // 注意:此字段可能返回 null,表示取不到有效值。 ViewExpandedText *string `json:"ViewExpandedText,omitempty" name:"ViewExpandedText"` // hive维护版本 // 注意:此字段可能返回 null,表示取不到有效值。 Retention *int64 `json:"Retention,omitempty" name:"Retention"` // 存储对象 // 注意:此字段可能返回 null,表示取不到有效值。 Sds *DMSSds `json:"Sds,omitempty" name:"Sds"` // 分区列 // 注意:此字段可能返回 null,表示取不到有效值。 PartitionKeys []*DMSColumn `json:"PartitionKeys,omitempty" name:"PartitionKeys"` // 分区 // 注意:此字段可能返回 null,表示取不到有效值。 Partitions []*DMSPartition `json:"Partitions,omitempty" name:"Partitions"` // 表类型 // 注意:此字段可能返回 null,表示取不到有效值。 Type *string `json:"Type,omitempty" name:"Type"` // 数据库名称 // 注意:此字段可能返回 null,表示取不到有效值。 DbName *string `json:"DbName,omitempty" name:"DbName"` // Schema名称 // 注意:此字段可能返回 null,表示取不到有效值。 SchemaName *string `json:"SchemaName,omitempty" name:"SchemaName"` // 存储大小 // 注意:此字段可能返回 null,表示取不到有效值。 StorageSize *int64 `json:"StorageSize,omitempty" name:"StorageSize"` // 记录数量 // 注意:此字段可能返回 null,表示取不到有效值。 RecordCount *int64 `json:"RecordCount,omitempty" name:"RecordCount"` // 生命周期 // 注意:此字段可能返回 null,表示取不到有效值。 LifeTime *int64 `json:"LifeTime,omitempty" name:"LifeTime"` // 最后访问时间 // 注意:此字段可能返回 null,表示取不到有效值。 LastAccessTime *string `json:"LastAccessTime,omitempty" name:"LastAccessTime"` // 数据更新时间 // 注意:此字段可能返回 null,表示取不到有效值。 DataUpdateTime *string `json:"DataUpdateTime,omitempty" name:"DataUpdateTime"` // 结构更新时间 // 注意:此字段可能返回 null,表示取不到有效值。 StructUpdateTime *string `json:"StructUpdateTime,omitempty" name:"StructUpdateTime"` // 列 // 注意:此字段可能返回 null,表示取不到有效值。 Columns []*DMSColumn `json:"Columns,omitempty" name:"Columns"` // 表名 // 注意:此字段可能返回 null,表示取不到有效值。 Name *string `json:"Name,omitempty" name:"Name"` }
type DMSTableInfo ¶ added in v1.0.432
type DataFormat ¶
type DataFormat struct { // 文本格式,TextFile。 // 注意:此字段可能返回 null,表示取不到有效值。 TextFile *TextFile `json:"TextFile,omitempty" name:"TextFile"` // 文本格式,CSV。 // 注意:此字段可能返回 null,表示取不到有效值。 CSV *CSV `json:"CSV,omitempty" name:"CSV"` // 文本格式,Json。 // 注意:此字段可能返回 null,表示取不到有效值。 Json *Other `json:"Json,omitempty" name:"Json"` // Parquet格式 // 注意:此字段可能返回 null,表示取不到有效值。 Parquet *Other `json:"Parquet,omitempty" name:"Parquet"` // ORC格式 // 注意:此字段可能返回 null,表示取不到有效值。 ORC *Other `json:"ORC,omitempty" name:"ORC"` // AVRO格式 // 注意:此字段可能返回 null,表示取不到有效值。 AVRO *Other `json:"AVRO,omitempty" name:"AVRO"` }
type DatabaseInfo ¶
type DatabaseInfo struct { // 数据库名称,长度0~128,支持数字、字母下划线,不允许数字大头,统一转换为小写。 DatabaseName *string `json:"DatabaseName,omitempty" name:"DatabaseName"` // 数据库描述信息,长度 0~500。 // 注意:此字段可能返回 null,表示取不到有效值。 Comment *string `json:"Comment,omitempty" name:"Comment"` // 数据库属性列表。 // 注意:此字段可能返回 null,表示取不到有效值。 Properties []*Property `json:"Properties,omitempty" name:"Properties"` // 数据库cos路径 // 注意:此字段可能返回 null,表示取不到有效值。 Location *string `json:"Location,omitempty" name:"Location"` }
type DatabaseResponseInfo ¶
type DatabaseResponseInfo struct { // 数据库名称。 DatabaseName *string `json:"DatabaseName,omitempty" name:"DatabaseName"` // 数据库描述信息,长度 0~256。 // 注意:此字段可能返回 null,表示取不到有效值。 Comment *string `json:"Comment,omitempty" name:"Comment"` // 允许针对数据库的属性元数据信息进行指定。 // 注意:此字段可能返回 null,表示取不到有效值。 Properties []*Property `json:"Properties,omitempty" name:"Properties"` // 数据库创建时间戳,单位:s。 // 注意:此字段可能返回 null,表示取不到有效值。 CreateTime *string `json:"CreateTime,omitempty" name:"CreateTime"` // 数据库更新时间戳,单位:s。 // 注意:此字段可能返回 null,表示取不到有效值。 ModifiedTime *string `json:"ModifiedTime,omitempty" name:"ModifiedTime"` // cos存储路径 // 注意:此字段可能返回 null,表示取不到有效值。 Location *string `json:"Location,omitempty" name:"Location"` // 建库用户昵称 // 注意:此字段可能返回 null,表示取不到有效值。 UserAlias *string `json:"UserAlias,omitempty" name:"UserAlias"` // 建库用户ID // 注意:此字段可能返回 null,表示取不到有效值。 UserSubUin *string `json:"UserSubUin,omitempty" name:"UserSubUin"` }
type DeleteScriptRequest ¶
type DeleteScriptRequest struct { *tchttp.BaseRequest // 脚本id,其可以通过DescribeScripts接口提取 ScriptIds []*string `json:"ScriptIds,omitempty" name:"ScriptIds"` }
func NewDeleteScriptRequest ¶
func NewDeleteScriptRequest() (request *DeleteScriptRequest)
func (*DeleteScriptRequest) FromJsonString ¶
func (r *DeleteScriptRequest) 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 (*DeleteScriptRequest) ToJsonString ¶
func (r *DeleteScriptRequest) ToJsonString() string
type DeleteScriptRequestParams ¶ added in v1.0.426
type DeleteScriptRequestParams struct { // 脚本id,其可以通过DescribeScripts接口提取 ScriptIds []*string `json:"ScriptIds,omitempty" name:"ScriptIds"` }
Predefined struct for user
type DeleteScriptResponse ¶
type DeleteScriptResponse struct { *tchttp.BaseResponse Response *DeleteScriptResponseParams `json:"Response"` }
func NewDeleteScriptResponse ¶
func NewDeleteScriptResponse() (response *DeleteScriptResponse)
func (*DeleteScriptResponse) FromJsonString ¶
func (r *DeleteScriptResponse) 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 (*DeleteScriptResponse) ToJsonString ¶
func (r *DeleteScriptResponse) ToJsonString() string
type DeleteScriptResponseParams ¶ added in v1.0.426
type DeleteScriptResponseParams struct { // 删除的脚本数量 ScriptsAffected *int64 `json:"ScriptsAffected,omitempty" name:"ScriptsAffected"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DeleteSparkAppRequest ¶ added in v1.0.408
type DeleteSparkAppRequest struct { *tchttp.BaseRequest // spark应用名 AppName *string `json:"AppName,omitempty" name:"AppName"` }
func NewDeleteSparkAppRequest ¶ added in v1.0.408
func NewDeleteSparkAppRequest() (request *DeleteSparkAppRequest)
func (*DeleteSparkAppRequest) FromJsonString ¶ added in v1.0.408
func (r *DeleteSparkAppRequest) 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 (*DeleteSparkAppRequest) ToJsonString ¶ added in v1.0.408
func (r *DeleteSparkAppRequest) ToJsonString() string
type DeleteSparkAppRequestParams ¶ added in v1.0.426
type DeleteSparkAppRequestParams struct { // spark应用名 AppName *string `json:"AppName,omitempty" name:"AppName"` }
Predefined struct for user
type DeleteSparkAppResponse ¶ added in v1.0.408
type DeleteSparkAppResponse struct { *tchttp.BaseResponse Response *DeleteSparkAppResponseParams `json:"Response"` }
func NewDeleteSparkAppResponse ¶ added in v1.0.408
func NewDeleteSparkAppResponse() (response *DeleteSparkAppResponse)
func (*DeleteSparkAppResponse) FromJsonString ¶ added in v1.0.408
func (r *DeleteSparkAppResponse) 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 (*DeleteSparkAppResponse) ToJsonString ¶ added in v1.0.408
func (r *DeleteSparkAppResponse) ToJsonString() string
type DeleteSparkAppResponseParams ¶ added in v1.0.426
type DeleteSparkAppResponseParams struct { // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DeleteUserRequest ¶ added in v1.0.206
type DeleteUserRequest struct { *tchttp.BaseRequest // 需要删除的用户的Id UserIds []*string `json:"UserIds,omitempty" name:"UserIds"` }
func NewDeleteUserRequest ¶ added in v1.0.206
func NewDeleteUserRequest() (request *DeleteUserRequest)
func (*DeleteUserRequest) FromJsonString ¶ added in v1.0.206
func (r *DeleteUserRequest) 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 (*DeleteUserRequest) ToJsonString ¶ added in v1.0.206
func (r *DeleteUserRequest) ToJsonString() string
type DeleteUserRequestParams ¶ added in v1.0.426
type DeleteUserRequestParams struct { // 需要删除的用户的Id UserIds []*string `json:"UserIds,omitempty" name:"UserIds"` }
Predefined struct for user
type DeleteUserResponse ¶ added in v1.0.206
type DeleteUserResponse struct { *tchttp.BaseResponse Response *DeleteUserResponseParams `json:"Response"` }
func NewDeleteUserResponse ¶ added in v1.0.206
func NewDeleteUserResponse() (response *DeleteUserResponse)
func (*DeleteUserResponse) FromJsonString ¶ added in v1.0.206
func (r *DeleteUserResponse) 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 (*DeleteUserResponse) ToJsonString ¶ added in v1.0.206
func (r *DeleteUserResponse) ToJsonString() string
type DeleteUserResponseParams ¶ added in v1.0.426
type DeleteUserResponseParams struct { // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DeleteUsersFromWorkGroupRequest ¶ added in v1.0.206
type DeleteUsersFromWorkGroupRequest struct { *tchttp.BaseRequest // 要删除的用户信息 AddInfo *UserIdSetOfWorkGroupId `json:"AddInfo,omitempty" name:"AddInfo"` }
func NewDeleteUsersFromWorkGroupRequest ¶ added in v1.0.206
func NewDeleteUsersFromWorkGroupRequest() (request *DeleteUsersFromWorkGroupRequest)
func (*DeleteUsersFromWorkGroupRequest) FromJsonString ¶ added in v1.0.206
func (r *DeleteUsersFromWorkGroupRequest) 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 (*DeleteUsersFromWorkGroupRequest) ToJsonString ¶ added in v1.0.206
func (r *DeleteUsersFromWorkGroupRequest) ToJsonString() string
type DeleteUsersFromWorkGroupRequestParams ¶ added in v1.0.426
type DeleteUsersFromWorkGroupRequestParams struct { // 要删除的用户信息 AddInfo *UserIdSetOfWorkGroupId `json:"AddInfo,omitempty" name:"AddInfo"` }
Predefined struct for user
type DeleteUsersFromWorkGroupResponse ¶ added in v1.0.206
type DeleteUsersFromWorkGroupResponse struct { *tchttp.BaseResponse Response *DeleteUsersFromWorkGroupResponseParams `json:"Response"` }
func NewDeleteUsersFromWorkGroupResponse ¶ added in v1.0.206
func NewDeleteUsersFromWorkGroupResponse() (response *DeleteUsersFromWorkGroupResponse)
func (*DeleteUsersFromWorkGroupResponse) FromJsonString ¶ added in v1.0.206
func (r *DeleteUsersFromWorkGroupResponse) 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 (*DeleteUsersFromWorkGroupResponse) ToJsonString ¶ added in v1.0.206
func (r *DeleteUsersFromWorkGroupResponse) ToJsonString() string
type DeleteUsersFromWorkGroupResponseParams ¶ added in v1.0.426
type DeleteUsersFromWorkGroupResponseParams struct { // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DeleteWorkGroupRequest ¶ added in v1.0.206
type DeleteWorkGroupRequest struct { *tchttp.BaseRequest // 要删除的工作组Id集合 WorkGroupIds []*int64 `json:"WorkGroupIds,omitempty" name:"WorkGroupIds"` }
func NewDeleteWorkGroupRequest ¶ added in v1.0.206
func NewDeleteWorkGroupRequest() (request *DeleteWorkGroupRequest)
func (*DeleteWorkGroupRequest) FromJsonString ¶ added in v1.0.206
func (r *DeleteWorkGroupRequest) 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 (*DeleteWorkGroupRequest) ToJsonString ¶ added in v1.0.206
func (r *DeleteWorkGroupRequest) ToJsonString() string
type DeleteWorkGroupRequestParams ¶ added in v1.0.426
type DeleteWorkGroupRequestParams struct { // 要删除的工作组Id集合 WorkGroupIds []*int64 `json:"WorkGroupIds,omitempty" name:"WorkGroupIds"` }
Predefined struct for user
type DeleteWorkGroupResponse ¶ added in v1.0.206
type DeleteWorkGroupResponse struct { *tchttp.BaseResponse Response *DeleteWorkGroupResponseParams `json:"Response"` }
func NewDeleteWorkGroupResponse ¶ added in v1.0.206
func NewDeleteWorkGroupResponse() (response *DeleteWorkGroupResponse)
func (*DeleteWorkGroupResponse) FromJsonString ¶ added in v1.0.206
func (r *DeleteWorkGroupResponse) 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 (*DeleteWorkGroupResponse) ToJsonString ¶ added in v1.0.206
func (r *DeleteWorkGroupResponse) ToJsonString() string
type DeleteWorkGroupResponseParams ¶ added in v1.0.426
type DeleteWorkGroupResponseParams struct { // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeDMSDatabaseRequest ¶ added in v1.0.432
type DescribeDMSDatabaseRequest struct { *tchttp.BaseRequest // 数据库名称 Name *string `json:"Name,omitempty" name:"Name"` // schema名称 SchemaName *string `json:"SchemaName,omitempty" name:"SchemaName"` // 匹配规则 Pattern *string `json:"Pattern,omitempty" name:"Pattern"` }
func NewDescribeDMSDatabaseRequest ¶ added in v1.0.432
func NewDescribeDMSDatabaseRequest() (request *DescribeDMSDatabaseRequest)
func (*DescribeDMSDatabaseRequest) FromJsonString ¶ added in v1.0.432
func (r *DescribeDMSDatabaseRequest) 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 (*DescribeDMSDatabaseRequest) ToJsonString ¶ added in v1.0.432
func (r *DescribeDMSDatabaseRequest) ToJsonString() string
type DescribeDMSDatabaseRequestParams ¶ added in v1.0.432
type DescribeDMSDatabaseRequestParams struct { // 数据库名称 Name *string `json:"Name,omitempty" name:"Name"` // schema名称 SchemaName *string `json:"SchemaName,omitempty" name:"SchemaName"` // 匹配规则 Pattern *string `json:"Pattern,omitempty" name:"Pattern"` }
Predefined struct for user
type DescribeDMSDatabaseResponse ¶ added in v1.0.432
type DescribeDMSDatabaseResponse struct { *tchttp.BaseResponse Response *DescribeDMSDatabaseResponseParams `json:"Response"` }
func NewDescribeDMSDatabaseResponse ¶ added in v1.0.432
func NewDescribeDMSDatabaseResponse() (response *DescribeDMSDatabaseResponse)
func (*DescribeDMSDatabaseResponse) FromJsonString ¶ added in v1.0.432
func (r *DescribeDMSDatabaseResponse) 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 (*DescribeDMSDatabaseResponse) ToJsonString ¶ added in v1.0.432
func (r *DescribeDMSDatabaseResponse) ToJsonString() string
type DescribeDMSDatabaseResponseParams ¶ added in v1.0.432
type DescribeDMSDatabaseResponseParams struct { // 数据库名称 // 注意:此字段可能返回 null,表示取不到有效值。 Name *string `json:"Name,omitempty" name:"Name"` // schema名称 // 注意:此字段可能返回 null,表示取不到有效值。 SchemaName *string `json:"SchemaName,omitempty" name:"SchemaName"` // 存储地址 // 注意:此字段可能返回 null,表示取不到有效值。 Location *string `json:"Location,omitempty" name:"Location"` // 数据对象 // 注意:此字段可能返回 null,表示取不到有效值。 Asset *Asset `json:"Asset,omitempty" name:"Asset"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeDMSPartitionsRequest ¶ added in v1.0.432
type DescribeDMSPartitionsRequest struct { *tchttp.BaseRequest // 数据库名 DatabaseName *string `json:"DatabaseName,omitempty" name:"DatabaseName"` // 表名称 TableName *string `json:"TableName,omitempty" name:"TableName"` // schema名称 SchemaName *string `json:"SchemaName,omitempty" name:"SchemaName"` // 名称 Name *string `json:"Name,omitempty" name:"Name"` // 单个分区名称,精准匹配 Values []*string `json:"Values,omitempty" name:"Values"` // 多个分区名称,精准匹配 PartitionNames []*string `json:"PartitionNames,omitempty" name:"PartitionNames"` // 多个分区字段的匹配,模糊匹配 PartValues []*string `json:"PartValues,omitempty" name:"PartValues"` // 过滤SQL Filter *string `json:"Filter,omitempty" name:"Filter"` // 最大分区数量 MaxParts *int64 `json:"MaxParts,omitempty" name:"MaxParts"` // 翻页跳过数量 Offset *int64 `json:"Offset,omitempty" name:"Offset"` // 页面数量 Limit *int64 `json:"Limit,omitempty" name:"Limit"` // 表达式 Expression *string `json:"Expression,omitempty" name:"Expression"` }
func NewDescribeDMSPartitionsRequest ¶ added in v1.0.432
func NewDescribeDMSPartitionsRequest() (request *DescribeDMSPartitionsRequest)
func (*DescribeDMSPartitionsRequest) FromJsonString ¶ added in v1.0.432
func (r *DescribeDMSPartitionsRequest) 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 (*DescribeDMSPartitionsRequest) ToJsonString ¶ added in v1.0.432
func (r *DescribeDMSPartitionsRequest) ToJsonString() string
type DescribeDMSPartitionsRequestParams ¶ added in v1.0.432
type DescribeDMSPartitionsRequestParams struct { // 数据库名 DatabaseName *string `json:"DatabaseName,omitempty" name:"DatabaseName"` // 表名称 TableName *string `json:"TableName,omitempty" name:"TableName"` // schema名称 SchemaName *string `json:"SchemaName,omitempty" name:"SchemaName"` // 名称 Name *string `json:"Name,omitempty" name:"Name"` // 单个分区名称,精准匹配 Values []*string `json:"Values,omitempty" name:"Values"` // 多个分区名称,精准匹配 PartitionNames []*string `json:"PartitionNames,omitempty" name:"PartitionNames"` // 多个分区字段的匹配,模糊匹配 PartValues []*string `json:"PartValues,omitempty" name:"PartValues"` // 过滤SQL Filter *string `json:"Filter,omitempty" name:"Filter"` // 最大分区数量 MaxParts *int64 `json:"MaxParts,omitempty" name:"MaxParts"` // 翻页跳过数量 Offset *int64 `json:"Offset,omitempty" name:"Offset"` // 页面数量 Limit *int64 `json:"Limit,omitempty" name:"Limit"` // 表达式 Expression *string `json:"Expression,omitempty" name:"Expression"` }
Predefined struct for user
type DescribeDMSPartitionsResponse ¶ added in v1.0.432
type DescribeDMSPartitionsResponse struct { *tchttp.BaseResponse Response *DescribeDMSPartitionsResponseParams `json:"Response"` }
func NewDescribeDMSPartitionsResponse ¶ added in v1.0.432
func NewDescribeDMSPartitionsResponse() (response *DescribeDMSPartitionsResponse)
func (*DescribeDMSPartitionsResponse) FromJsonString ¶ added in v1.0.432
func (r *DescribeDMSPartitionsResponse) 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 (*DescribeDMSPartitionsResponse) ToJsonString ¶ added in v1.0.432
func (r *DescribeDMSPartitionsResponse) ToJsonString() string
type DescribeDMSPartitionsResponseParams ¶ added in v1.0.432
type DescribeDMSPartitionsResponseParams struct { // 分区信息 Partitions []*DMSPartition `json:"Partitions,omitempty" name:"Partitions"` // 总数 Total *int64 `json:"Total,omitempty" name:"Total"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeDMSTableRequest ¶ added in v1.0.432
type DescribeDMSTableRequest struct { *tchttp.BaseRequest // 数据库名称 DbName *string `json:"DbName,omitempty" name:"DbName"` // 数据库schema名称 SchemaName *string `json:"SchemaName,omitempty" name:"SchemaName"` // 表名称 Name *string `json:"Name,omitempty" name:"Name"` // 数据目录 Catalog *string `json:"Catalog,omitempty" name:"Catalog"` // 查询关键词 Keyword *string `json:"Keyword,omitempty" name:"Keyword"` // 查询模式 Pattern *string `json:"Pattern,omitempty" name:"Pattern"` // 表类型 Type *string `json:"Type,omitempty" name:"Type"` }
func NewDescribeDMSTableRequest ¶ added in v1.0.432
func NewDescribeDMSTableRequest() (request *DescribeDMSTableRequest)
func (*DescribeDMSTableRequest) FromJsonString ¶ added in v1.0.432
func (r *DescribeDMSTableRequest) 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 (*DescribeDMSTableRequest) ToJsonString ¶ added in v1.0.432
func (r *DescribeDMSTableRequest) ToJsonString() string
type DescribeDMSTableRequestParams ¶ added in v1.0.432
type DescribeDMSTableRequestParams struct { // 数据库名称 DbName *string `json:"DbName,omitempty" name:"DbName"` // 数据库schema名称 SchemaName *string `json:"SchemaName,omitempty" name:"SchemaName"` // 表名称 Name *string `json:"Name,omitempty" name:"Name"` // 数据目录 Catalog *string `json:"Catalog,omitempty" name:"Catalog"` // 查询关键词 Keyword *string `json:"Keyword,omitempty" name:"Keyword"` // 查询模式 Pattern *string `json:"Pattern,omitempty" name:"Pattern"` // 表类型 Type *string `json:"Type,omitempty" name:"Type"` }
Predefined struct for user
type DescribeDMSTableResponse ¶ added in v1.0.432
type DescribeDMSTableResponse struct { *tchttp.BaseResponse Response *DescribeDMSTableResponseParams `json:"Response"` }
func NewDescribeDMSTableResponse ¶ added in v1.0.432
func NewDescribeDMSTableResponse() (response *DescribeDMSTableResponse)
func (*DescribeDMSTableResponse) FromJsonString ¶ added in v1.0.432
func (r *DescribeDMSTableResponse) 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 (*DescribeDMSTableResponse) ToJsonString ¶ added in v1.0.432
func (r *DescribeDMSTableResponse) ToJsonString() string
type DescribeDMSTableResponseParams ¶ added in v1.0.432
type DescribeDMSTableResponseParams struct { // 基础对象 // 注意:此字段可能返回 null,表示取不到有效值。 Asset *Asset `json:"Asset,omitempty" name:"Asset"` // 视图文本 // 注意:此字段可能返回 null,表示取不到有效值。 ViewOriginalText *string `json:"ViewOriginalText,omitempty" name:"ViewOriginalText"` // 视图文本 // 注意:此字段可能返回 null,表示取不到有效值。 ViewExpandedText *string `json:"ViewExpandedText,omitempty" name:"ViewExpandedText"` // hive维护版本 // 注意:此字段可能返回 null,表示取不到有效值。 Retention *int64 `json:"Retention,omitempty" name:"Retention"` // 存储对象 // 注意:此字段可能返回 null,表示取不到有效值。 Sds *DMSSds `json:"Sds,omitempty" name:"Sds"` // 分区列 // 注意:此字段可能返回 null,表示取不到有效值。 PartitionKeys []*DMSColumn `json:"PartitionKeys,omitempty" name:"PartitionKeys"` // 分区 // 注意:此字段可能返回 null,表示取不到有效值。 Partitions []*DMSPartition `json:"Partitions,omitempty" name:"Partitions"` // 表类型 // 注意:此字段可能返回 null,表示取不到有效值。 Type *string `json:"Type,omitempty" name:"Type"` // 数据库名称 // 注意:此字段可能返回 null,表示取不到有效值。 DbName *string `json:"DbName,omitempty" name:"DbName"` // Schame名称 // 注意:此字段可能返回 null,表示取不到有效值。 SchemaName *string `json:"SchemaName,omitempty" name:"SchemaName"` // 存储大小 // 注意:此字段可能返回 null,表示取不到有效值。 StorageSize *int64 `json:"StorageSize,omitempty" name:"StorageSize"` // 记录数量 // 注意:此字段可能返回 null,表示取不到有效值。 RecordCount *int64 `json:"RecordCount,omitempty" name:"RecordCount"` // 生命周期 // 注意:此字段可能返回 null,表示取不到有效值。 LifeTime *int64 `json:"LifeTime,omitempty" name:"LifeTime"` // 最后访问时间 // 注意:此字段可能返回 null,表示取不到有效值。 LastAccessTime *string `json:"LastAccessTime,omitempty" name:"LastAccessTime"` // 数据更新时间 // 注意:此字段可能返回 null,表示取不到有效值。 DataUpdateTime *string `json:"DataUpdateTime,omitempty" name:"DataUpdateTime"` // 结构更新时间 // 注意:此字段可能返回 null,表示取不到有效值。 StructUpdateTime *string `json:"StructUpdateTime,omitempty" name:"StructUpdateTime"` // 列 // 注意:此字段可能返回 null,表示取不到有效值。 Columns []*DMSColumn `json:"Columns,omitempty" name:"Columns"` // 表名称 // 注意:此字段可能返回 null,表示取不到有效值。 Name *string `json:"Name,omitempty" name:"Name"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeDMSTablesRequest ¶ added in v1.0.432
type DescribeDMSTablesRequest struct { *tchttp.BaseRequest // 数据库名称 DbName *string `json:"DbName,omitempty" name:"DbName"` // 数据库schema名称 SchemaName *string `json:"SchemaName,omitempty" name:"SchemaName"` // 表名称 Name *string `json:"Name,omitempty" name:"Name"` // 数据目录 Catalog *string `json:"Catalog,omitempty" name:"Catalog"` // 查询关键词 Keyword *string `json:"Keyword,omitempty" name:"Keyword"` // 查询模式 Pattern *string `json:"Pattern,omitempty" name:"Pattern"` // 表类型 Type *string `json:"Type,omitempty" name:"Type"` // 筛选参数:更新开始时间 StartTime *string `json:"StartTime,omitempty" name:"StartTime"` // 筛选参数:更新结束时间 EndTime *string `json:"EndTime,omitempty" name:"EndTime"` // 分页参数 Limit *int64 `json:"Limit,omitempty" name:"Limit"` // 分页参数 Offset *int64 `json:"Offset,omitempty" name:"Offset"` // 排序字段:create_time:创建时间 Sort *string `json:"Sort,omitempty" name:"Sort"` // 排序字段:true:升序(默认),false:降序 Asc *bool `json:"Asc,omitempty" name:"Asc"` }
func NewDescribeDMSTablesRequest ¶ added in v1.0.432
func NewDescribeDMSTablesRequest() (request *DescribeDMSTablesRequest)
func (*DescribeDMSTablesRequest) FromJsonString ¶ added in v1.0.432
func (r *DescribeDMSTablesRequest) 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 (*DescribeDMSTablesRequest) ToJsonString ¶ added in v1.0.432
func (r *DescribeDMSTablesRequest) ToJsonString() string
type DescribeDMSTablesRequestParams ¶ added in v1.0.432
type DescribeDMSTablesRequestParams struct { // 数据库名称 DbName *string `json:"DbName,omitempty" name:"DbName"` // 数据库schema名称 SchemaName *string `json:"SchemaName,omitempty" name:"SchemaName"` // 表名称 Name *string `json:"Name,omitempty" name:"Name"` // 数据目录 Catalog *string `json:"Catalog,omitempty" name:"Catalog"` // 查询关键词 Keyword *string `json:"Keyword,omitempty" name:"Keyword"` // 查询模式 Pattern *string `json:"Pattern,omitempty" name:"Pattern"` // 表类型 Type *string `json:"Type,omitempty" name:"Type"` // 筛选参数:更新开始时间 StartTime *string `json:"StartTime,omitempty" name:"StartTime"` // 筛选参数:更新结束时间 EndTime *string `json:"EndTime,omitempty" name:"EndTime"` // 分页参数 Limit *int64 `json:"Limit,omitempty" name:"Limit"` // 分页参数 Offset *int64 `json:"Offset,omitempty" name:"Offset"` // 排序字段:create_time:创建时间 Sort *string `json:"Sort,omitempty" name:"Sort"` // 排序字段:true:升序(默认),false:降序 Asc *bool `json:"Asc,omitempty" name:"Asc"` }
Predefined struct for user
type DescribeDMSTablesResponse ¶ added in v1.0.432
type DescribeDMSTablesResponse struct { *tchttp.BaseResponse Response *DescribeDMSTablesResponseParams `json:"Response"` }
func NewDescribeDMSTablesResponse ¶ added in v1.0.432
func NewDescribeDMSTablesResponse() (response *DescribeDMSTablesResponse)
func (*DescribeDMSTablesResponse) FromJsonString ¶ added in v1.0.432
func (r *DescribeDMSTablesResponse) 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 (*DescribeDMSTablesResponse) ToJsonString ¶ added in v1.0.432
func (r *DescribeDMSTablesResponse) ToJsonString() string
type DescribeDMSTablesResponseParams ¶ added in v1.0.432
type DescribeDMSTablesResponseParams struct { // DMS元数据列表信息 // 注意:此字段可能返回 null,表示取不到有效值。 TableList []*DMSTableInfo `json:"TableList,omitempty" name:"TableList"` // 统计值 // 注意:此字段可能返回 null,表示取不到有效值。 TotalCount *int64 `json:"TotalCount,omitempty" name:"TotalCount"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeDatabasesRequest ¶
type DescribeDatabasesRequest struct { *tchttp.BaseRequest // 返回数量,默认为10,最大值为100。 Limit *uint64 `json:"Limit,omitempty" name:"Limit"` // 数据偏移量,从0开始,默认为0。 Offset *int64 `json:"Offset,omitempty" name:"Offset"` // 模糊匹配,库名关键字。 KeyWord *string `json:"KeyWord,omitempty" name:"KeyWord"` // 数据源唯名称,该名称可以通过DescribeDatasourceConnection接口查询到。默认为DataLakeCatalog DatasourceConnectionName *string `json:"DatasourceConnectionName,omitempty" name:"DatasourceConnectionName"` // 排序字段,当前版本仅支持按库名排序 Sort *string `json:"Sort,omitempty" name:"Sort"` // 排序类型:false:降序(默认)、true:升序 Asc *bool `json:"Asc,omitempty" name:"Asc"` }
func NewDescribeDatabasesRequest ¶
func NewDescribeDatabasesRequest() (request *DescribeDatabasesRequest)
func (*DescribeDatabasesRequest) FromJsonString ¶
func (r *DescribeDatabasesRequest) 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 (*DescribeDatabasesRequest) ToJsonString ¶
func (r *DescribeDatabasesRequest) ToJsonString() string
type DescribeDatabasesRequestParams ¶ added in v1.0.426
type DescribeDatabasesRequestParams struct { // 返回数量,默认为10,最大值为100。 Limit *uint64 `json:"Limit,omitempty" name:"Limit"` // 数据偏移量,从0开始,默认为0。 Offset *int64 `json:"Offset,omitempty" name:"Offset"` // 模糊匹配,库名关键字。 KeyWord *string `json:"KeyWord,omitempty" name:"KeyWord"` // 数据源唯名称,该名称可以通过DescribeDatasourceConnection接口查询到。默认为DataLakeCatalog DatasourceConnectionName *string `json:"DatasourceConnectionName,omitempty" name:"DatasourceConnectionName"` // 排序字段,当前版本仅支持按库名排序 Sort *string `json:"Sort,omitempty" name:"Sort"` // 排序类型:false:降序(默认)、true:升序 Asc *bool `json:"Asc,omitempty" name:"Asc"` }
Predefined struct for user
type DescribeDatabasesResponse ¶
type DescribeDatabasesResponse struct { *tchttp.BaseResponse Response *DescribeDatabasesResponseParams `json:"Response"` }
func NewDescribeDatabasesResponse ¶
func NewDescribeDatabasesResponse() (response *DescribeDatabasesResponse)
func (*DescribeDatabasesResponse) FromJsonString ¶
func (r *DescribeDatabasesResponse) 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 (*DescribeDatabasesResponse) ToJsonString ¶
func (r *DescribeDatabasesResponse) ToJsonString() string
type DescribeDatabasesResponseParams ¶ added in v1.0.426
type DescribeDatabasesResponseParams struct { // 数据库对象列表。 DatabaseList []*DatabaseResponseInfo `json:"DatabaseList,omitempty" name:"DatabaseList"` // 实例总数。 TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeScriptsRequest ¶
type DescribeScriptsRequest struct { *tchttp.BaseRequest // 返回数量,默认为10,最大值为100。 Limit *int64 `json:"Limit,omitempty" name:"Limit"` // 偏移量,默认为0。 Offset *int64 `json:"Offset,omitempty" name:"Offset"` // 按字段排序,支持如下字段类型,update-time SortBy *string `json:"SortBy,omitempty" name:"SortBy"` // 排序方式,desc表示正序,asc表示反序,默认asc Sorting *string `json:"Sorting,omitempty" name:"Sorting"` // 过滤条件,如下支持的过滤类型,传参Name应为其一 // script-id - String - (过滤条件)script-id取值形如:157de0d1-26b4-4df2-a2d0-b64afc406c25。 // script-name-keyword - String - (过滤条件)数据表名称,形如:script-test。 Filters []*Filter `json:"Filters,omitempty" name:"Filters"` }
func NewDescribeScriptsRequest ¶
func NewDescribeScriptsRequest() (request *DescribeScriptsRequest)
func (*DescribeScriptsRequest) FromJsonString ¶
func (r *DescribeScriptsRequest) 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 (*DescribeScriptsRequest) ToJsonString ¶
func (r *DescribeScriptsRequest) ToJsonString() string
type DescribeScriptsRequestParams ¶ added in v1.0.426
type DescribeScriptsRequestParams struct { // 返回数量,默认为10,最大值为100。 Limit *int64 `json:"Limit,omitempty" name:"Limit"` // 偏移量,默认为0。 Offset *int64 `json:"Offset,omitempty" name:"Offset"` // 按字段排序,支持如下字段类型,update-time SortBy *string `json:"SortBy,omitempty" name:"SortBy"` // 排序方式,desc表示正序,asc表示反序,默认asc Sorting *string `json:"Sorting,omitempty" name:"Sorting"` // 过滤条件,如下支持的过滤类型,传参Name应为其一 // script-id - String - (过滤条件)script-id取值形如:157de0d1-26b4-4df2-a2d0-b64afc406c25。 // script-name-keyword - String - (过滤条件)数据表名称,形如:script-test。 Filters []*Filter `json:"Filters,omitempty" name:"Filters"` }
Predefined struct for user
type DescribeScriptsResponse ¶
type DescribeScriptsResponse struct { *tchttp.BaseResponse Response *DescribeScriptsResponseParams `json:"Response"` }
func NewDescribeScriptsResponse ¶
func NewDescribeScriptsResponse() (response *DescribeScriptsResponse)
func (*DescribeScriptsResponse) FromJsonString ¶
func (r *DescribeScriptsResponse) 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 (*DescribeScriptsResponse) ToJsonString ¶
func (r *DescribeScriptsResponse) ToJsonString() string
type DescribeScriptsResponseParams ¶ added in v1.0.426
type DescribeScriptsResponseParams struct { // Script列表 // 注意:此字段可能返回 null,表示取不到有效值。 Scripts []*Script `json:"Scripts,omitempty" name:"Scripts"` // 实例总数 TotalCount *int64 `json:"TotalCount,omitempty" name:"TotalCount"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeSparkAppJobRequest ¶ added in v1.0.408
type DescribeSparkAppJobRequest struct { *tchttp.BaseRequest // spark作业Id,与JobName同时存在时,JobName无效 JobId *string `json:"JobId,omitempty" name:"JobId"` // spark作业名 JobName *string `json:"JobName,omitempty" name:"JobName"` }
func NewDescribeSparkAppJobRequest ¶ added in v1.0.408
func NewDescribeSparkAppJobRequest() (request *DescribeSparkAppJobRequest)
func (*DescribeSparkAppJobRequest) FromJsonString ¶ added in v1.0.408
func (r *DescribeSparkAppJobRequest) 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 (*DescribeSparkAppJobRequest) ToJsonString ¶ added in v1.0.408
func (r *DescribeSparkAppJobRequest) ToJsonString() string
type DescribeSparkAppJobRequestParams ¶ added in v1.0.426
type DescribeSparkAppJobRequestParams struct { // spark作业Id,与JobName同时存在时,JobName无效 JobId *string `json:"JobId,omitempty" name:"JobId"` // spark作业名 JobName *string `json:"JobName,omitempty" name:"JobName"` }
Predefined struct for user
type DescribeSparkAppJobResponse ¶ added in v1.0.408
type DescribeSparkAppJobResponse struct { *tchttp.BaseResponse Response *DescribeSparkAppJobResponseParams `json:"Response"` }
func NewDescribeSparkAppJobResponse ¶ added in v1.0.408
func NewDescribeSparkAppJobResponse() (response *DescribeSparkAppJobResponse)
func (*DescribeSparkAppJobResponse) FromJsonString ¶ added in v1.0.408
func (r *DescribeSparkAppJobResponse) 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 (*DescribeSparkAppJobResponse) ToJsonString ¶ added in v1.0.408
func (r *DescribeSparkAppJobResponse) ToJsonString() string
type DescribeSparkAppJobResponseParams ¶ added in v1.0.426
type DescribeSparkAppJobResponseParams struct { // spark作业详情 // 注意:此字段可能返回 null,表示取不到有效值。 Job *SparkJobInfo `json:"Job,omitempty" name:"Job"` // 查询的spark作业是否存在 IsExists *bool `json:"IsExists,omitempty" name:"IsExists"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeSparkAppJobsRequest ¶ added in v1.0.408
type DescribeSparkAppJobsRequest struct { *tchttp.BaseRequest // 返回结果按照该字段排序 SortBy *string `json:"SortBy,omitempty" name:"SortBy"` // 正序或者倒序,例如:desc Sorting *string `json:"Sorting,omitempty" name:"Sorting"` // 按照该参数过滤,支持spark-job-name Filters []*Filter `json:"Filters,omitempty" name:"Filters"` // 更新时间起始点 StartTime *string `json:"StartTime,omitempty" name:"StartTime"` // 更新时间截止点 EndTime *string `json:"EndTime,omitempty" name:"EndTime"` // 查询列表偏移量 Offset *int64 `json:"Offset,omitempty" name:"Offset"` // 查询列表限制数量 Limit *int64 `json:"Limit,omitempty" name:"Limit"` }
func NewDescribeSparkAppJobsRequest ¶ added in v1.0.408
func NewDescribeSparkAppJobsRequest() (request *DescribeSparkAppJobsRequest)
func (*DescribeSparkAppJobsRequest) FromJsonString ¶ added in v1.0.408
func (r *DescribeSparkAppJobsRequest) 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 (*DescribeSparkAppJobsRequest) ToJsonString ¶ added in v1.0.408
func (r *DescribeSparkAppJobsRequest) ToJsonString() string
type DescribeSparkAppJobsRequestParams ¶ added in v1.0.426
type DescribeSparkAppJobsRequestParams struct { // 返回结果按照该字段排序 SortBy *string `json:"SortBy,omitempty" name:"SortBy"` // 正序或者倒序,例如:desc Sorting *string `json:"Sorting,omitempty" name:"Sorting"` // 按照该参数过滤,支持spark-job-name Filters []*Filter `json:"Filters,omitempty" name:"Filters"` // 更新时间起始点 StartTime *string `json:"StartTime,omitempty" name:"StartTime"` // 更新时间截止点 EndTime *string `json:"EndTime,omitempty" name:"EndTime"` // 查询列表偏移量 Offset *int64 `json:"Offset,omitempty" name:"Offset"` // 查询列表限制数量 Limit *int64 `json:"Limit,omitempty" name:"Limit"` }
Predefined struct for user
type DescribeSparkAppJobsResponse ¶ added in v1.0.408
type DescribeSparkAppJobsResponse struct { *tchttp.BaseResponse Response *DescribeSparkAppJobsResponseParams `json:"Response"` }
func NewDescribeSparkAppJobsResponse ¶ added in v1.0.408
func NewDescribeSparkAppJobsResponse() (response *DescribeSparkAppJobsResponse)
func (*DescribeSparkAppJobsResponse) FromJsonString ¶ added in v1.0.408
func (r *DescribeSparkAppJobsResponse) 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 (*DescribeSparkAppJobsResponse) ToJsonString ¶ added in v1.0.408
func (r *DescribeSparkAppJobsResponse) ToJsonString() string
type DescribeSparkAppJobsResponseParams ¶ added in v1.0.426
type DescribeSparkAppJobsResponseParams struct { // spark作业列表详情 SparkAppJobs []*SparkJobInfo `json:"SparkAppJobs,omitempty" name:"SparkAppJobs"` // spark作业总数 TotalCount *int64 `json:"TotalCount,omitempty" name:"TotalCount"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeSparkAppTasksRequest ¶ added in v1.0.408
type DescribeSparkAppTasksRequest struct { *tchttp.BaseRequest // spark作业Id JobId *string `json:"JobId,omitempty" name:"JobId"` // 分页查询偏移量 Offset *int64 `json:"Offset,omitempty" name:"Offset"` // 分页查询Limit Limit *int64 `json:"Limit,omitempty" name:"Limit"` // 执行实例id TaskId *string `json:"TaskId,omitempty" name:"TaskId"` // 更新时间起始点 StartTime *string `json:"StartTime,omitempty" name:"StartTime"` // 更新时间截止点 EndTime *string `json:"EndTime,omitempty" name:"EndTime"` // 按照该参数过滤,支持task-state Filters []*Filter `json:"Filters,omitempty" name:"Filters"` }
func NewDescribeSparkAppTasksRequest ¶ added in v1.0.408
func NewDescribeSparkAppTasksRequest() (request *DescribeSparkAppTasksRequest)
func (*DescribeSparkAppTasksRequest) FromJsonString ¶ added in v1.0.408
func (r *DescribeSparkAppTasksRequest) 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 (*DescribeSparkAppTasksRequest) ToJsonString ¶ added in v1.0.408
func (r *DescribeSparkAppTasksRequest) ToJsonString() string
type DescribeSparkAppTasksRequestParams ¶ added in v1.0.426
type DescribeSparkAppTasksRequestParams struct { // spark作业Id JobId *string `json:"JobId,omitempty" name:"JobId"` // 分页查询偏移量 Offset *int64 `json:"Offset,omitempty" name:"Offset"` // 分页查询Limit Limit *int64 `json:"Limit,omitempty" name:"Limit"` // 执行实例id TaskId *string `json:"TaskId,omitempty" name:"TaskId"` // 更新时间起始点 StartTime *string `json:"StartTime,omitempty" name:"StartTime"` // 更新时间截止点 EndTime *string `json:"EndTime,omitempty" name:"EndTime"` // 按照该参数过滤,支持task-state Filters []*Filter `json:"Filters,omitempty" name:"Filters"` }
Predefined struct for user
type DescribeSparkAppTasksResponse ¶ added in v1.0.408
type DescribeSparkAppTasksResponse struct { *tchttp.BaseResponse Response *DescribeSparkAppTasksResponseParams `json:"Response"` }
func NewDescribeSparkAppTasksResponse ¶ added in v1.0.408
func NewDescribeSparkAppTasksResponse() (response *DescribeSparkAppTasksResponse)
func (*DescribeSparkAppTasksResponse) FromJsonString ¶ added in v1.0.408
func (r *DescribeSparkAppTasksResponse) 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 (*DescribeSparkAppTasksResponse) ToJsonString ¶ added in v1.0.408
func (r *DescribeSparkAppTasksResponse) ToJsonString() string
type DescribeSparkAppTasksResponseParams ¶ added in v1.0.426
type DescribeSparkAppTasksResponseParams struct { // 任务结果(该字段已废弃) // 注意:此字段可能返回 null,表示取不到有效值。 Tasks *TaskResponseInfo `json:"Tasks,omitempty" name:"Tasks"` // 任务总数 TotalCount *int64 `json:"TotalCount,omitempty" name:"TotalCount"` // 任务结果列表 // 注意:此字段可能返回 null,表示取不到有效值。 SparkAppTasks []*TaskResponseInfo `json:"SparkAppTasks,omitempty" name:"SparkAppTasks"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeStoreLocationRequest ¶ added in v1.0.206
type DescribeStoreLocationRequest struct {
*tchttp.BaseRequest
}
func NewDescribeStoreLocationRequest ¶ added in v1.0.206
func NewDescribeStoreLocationRequest() (request *DescribeStoreLocationRequest)
func (*DescribeStoreLocationRequest) FromJsonString ¶ added in v1.0.206
func (r *DescribeStoreLocationRequest) 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 (*DescribeStoreLocationRequest) ToJsonString ¶ added in v1.0.206
func (r *DescribeStoreLocationRequest) ToJsonString() string
type DescribeStoreLocationRequestParams ¶ added in v1.0.426
type DescribeStoreLocationRequestParams struct { }
Predefined struct for user
type DescribeStoreLocationResponse ¶ added in v1.0.206
type DescribeStoreLocationResponse struct { *tchttp.BaseResponse Response *DescribeStoreLocationResponseParams `json:"Response"` }
func NewDescribeStoreLocationResponse ¶ added in v1.0.206
func NewDescribeStoreLocationResponse() (response *DescribeStoreLocationResponse)
func (*DescribeStoreLocationResponse) FromJsonString ¶ added in v1.0.206
func (r *DescribeStoreLocationResponse) 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 (*DescribeStoreLocationResponse) ToJsonString ¶ added in v1.0.206
func (r *DescribeStoreLocationResponse) ToJsonString() string
type DescribeStoreLocationResponseParams ¶ added in v1.0.426
type DescribeStoreLocationResponseParams struct { // 返回用户设置的结果存储位置路径,如果未设置则返回空字符串:"" // 注意:此字段可能返回 null,表示取不到有效值。 StoreLocation *string `json:"StoreLocation,omitempty" name:"StoreLocation"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeTableRequest ¶
type DescribeTableRequest struct { *tchttp.BaseRequest // 查询对象表名称 TableName *string `json:"TableName,omitempty" name:"TableName"` // 查询表所在的数据库名称。 DatabaseName *string `json:"DatabaseName,omitempty" name:"DatabaseName"` // 查询表所在的数据源名称 DatasourceConnectionName *string `json:"DatasourceConnectionName,omitempty" name:"DatasourceConnectionName"` }
func NewDescribeTableRequest ¶
func NewDescribeTableRequest() (request *DescribeTableRequest)
func (*DescribeTableRequest) FromJsonString ¶
func (r *DescribeTableRequest) 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 (*DescribeTableRequest) ToJsonString ¶
func (r *DescribeTableRequest) ToJsonString() string
type DescribeTableRequestParams ¶ added in v1.0.426
type DescribeTableRequestParams struct { // 查询对象表名称 TableName *string `json:"TableName,omitempty" name:"TableName"` // 查询表所在的数据库名称。 DatabaseName *string `json:"DatabaseName,omitempty" name:"DatabaseName"` // 查询表所在的数据源名称 DatasourceConnectionName *string `json:"DatasourceConnectionName,omitempty" name:"DatasourceConnectionName"` }
Predefined struct for user
type DescribeTableResponse ¶
type DescribeTableResponse struct { *tchttp.BaseResponse Response *DescribeTableResponseParams `json:"Response"` }
func NewDescribeTableResponse ¶
func NewDescribeTableResponse() (response *DescribeTableResponse)
func (*DescribeTableResponse) FromJsonString ¶
func (r *DescribeTableResponse) 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 (*DescribeTableResponse) ToJsonString ¶
func (r *DescribeTableResponse) ToJsonString() string
type DescribeTableResponseParams ¶ added in v1.0.426
type DescribeTableResponseParams struct { // 数据表对象 Table *TableResponseInfo `json:"Table,omitempty" name:"Table"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeTablesRequest ¶
type DescribeTablesRequest struct { *tchttp.BaseRequest // 列出该数据库下所属数据表。 DatabaseName *string `json:"DatabaseName,omitempty" name:"DatabaseName"` // 返回数量,默认为10,最大值为100。 Limit *int64 `json:"Limit,omitempty" name:"Limit"` // 数据偏移量,从0开始,默认为0。 Offset *uint64 `json:"Offset,omitempty" name:"Offset"` // 过滤条件,如下支持的过滤类型,传参Name应为其一 // table-name - String - (过滤条件)数据表名称,形如:table-001。 // table-id - String - (过滤条件)table id形如:12342。 Filters []*Filter `json:"Filters,omitempty" name:"Filters"` // 指定查询的数据源名称,默认为DataLakeCatalog DatasourceConnectionName *string `json:"DatasourceConnectionName,omitempty" name:"DatasourceConnectionName"` // 起始时间:用于对更新时间的筛选 StartTime *string `json:"StartTime,omitempty" name:"StartTime"` // 终止时间:用于对更新时间的筛选 EndTime *string `json:"EndTime,omitempty" name:"EndTime"` // 排序字段,支持:CreateTime、UpdateTime、StorageSize、RecordCount、Name(不传则默认按name升序) Sort *string `json:"Sort,omitempty" name:"Sort"` // 排序字段,false:降序(默认);true:升序 Asc *bool `json:"Asc,omitempty" name:"Asc"` // table type,表类型查询,可用值:EXTERNAL_TABLE,INDEX_TABLE,MANAGED_TABLE,MATERIALIZED_VIEW,TABLE,VIEW,VIRTUAL_VIEW TableType *string `json:"TableType,omitempty" name:"TableType"` // 筛选字段-表格式:不传(默认)为查全部;LAKEFS:托管表;ICEBERG:非托管iceberg表;HIVE:非托管hive表;OTHER:非托管其它; TableFormat *string `json:"TableFormat,omitempty" name:"TableFormat"` }
func NewDescribeTablesRequest ¶
func NewDescribeTablesRequest() (request *DescribeTablesRequest)
func (*DescribeTablesRequest) FromJsonString ¶
func (r *DescribeTablesRequest) 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 (*DescribeTablesRequest) ToJsonString ¶
func (r *DescribeTablesRequest) ToJsonString() string
type DescribeTablesRequestParams ¶ added in v1.0.426
type DescribeTablesRequestParams struct { // 列出该数据库下所属数据表。 DatabaseName *string `json:"DatabaseName,omitempty" name:"DatabaseName"` // 返回数量,默认为10,最大值为100。 Limit *int64 `json:"Limit,omitempty" name:"Limit"` // 数据偏移量,从0开始,默认为0。 Offset *uint64 `json:"Offset,omitempty" name:"Offset"` // 过滤条件,如下支持的过滤类型,传参Name应为其一 // table-name - String - (过滤条件)数据表名称,形如:table-001。 // table-id - String - (过滤条件)table id形如:12342。 Filters []*Filter `json:"Filters,omitempty" name:"Filters"` // 指定查询的数据源名称,默认为DataLakeCatalog DatasourceConnectionName *string `json:"DatasourceConnectionName,omitempty" name:"DatasourceConnectionName"` // 起始时间:用于对更新时间的筛选 StartTime *string `json:"StartTime,omitempty" name:"StartTime"` // 终止时间:用于对更新时间的筛选 EndTime *string `json:"EndTime,omitempty" name:"EndTime"` // 排序字段,支持:CreateTime、UpdateTime、StorageSize、RecordCount、Name(不传则默认按name升序) Sort *string `json:"Sort,omitempty" name:"Sort"` // 排序字段,false:降序(默认);true:升序 Asc *bool `json:"Asc,omitempty" name:"Asc"` // table type,表类型查询,可用值:EXTERNAL_TABLE,INDEX_TABLE,MANAGED_TABLE,MATERIALIZED_VIEW,TABLE,VIEW,VIRTUAL_VIEW TableType *string `json:"TableType,omitempty" name:"TableType"` // 筛选字段-表格式:不传(默认)为查全部;LAKEFS:托管表;ICEBERG:非托管iceberg表;HIVE:非托管hive表;OTHER:非托管其它; TableFormat *string `json:"TableFormat,omitempty" name:"TableFormat"` }
Predefined struct for user
type DescribeTablesResponse ¶
type DescribeTablesResponse struct { *tchttp.BaseResponse Response *DescribeTablesResponseParams `json:"Response"` }
func NewDescribeTablesResponse ¶
func NewDescribeTablesResponse() (response *DescribeTablesResponse)
func (*DescribeTablesResponse) FromJsonString ¶
func (r *DescribeTablesResponse) 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 (*DescribeTablesResponse) ToJsonString ¶
func (r *DescribeTablesResponse) ToJsonString() string
type DescribeTablesResponseParams ¶ added in v1.0.426
type DescribeTablesResponseParams struct { // 数据表对象列表。 TableList []*TableResponseInfo `json:"TableList,omitempty" name:"TableList"` // 实例总数。 TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeTaskResultRequest ¶ added in v1.0.318
type DescribeTaskResultRequest struct { *tchttp.BaseRequest // 任务唯一ID TaskId *string `json:"TaskId,omitempty" name:"TaskId"` // 上一次请求响应返回的分页信息。第一次可以不带,从头开始返回数据,每次返回MaxResults字段设置的数据量。 NextToken *string `json:"NextToken,omitempty" name:"NextToken"` // 返回结果的最大行数,范围0~1000,默认为1000. MaxResults *int64 `json:"MaxResults,omitempty" name:"MaxResults"` }
func NewDescribeTaskResultRequest ¶ added in v1.0.318
func NewDescribeTaskResultRequest() (request *DescribeTaskResultRequest)
func (*DescribeTaskResultRequest) FromJsonString ¶ added in v1.0.318
func (r *DescribeTaskResultRequest) 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 (*DescribeTaskResultRequest) ToJsonString ¶ added in v1.0.318
func (r *DescribeTaskResultRequest) ToJsonString() string
type DescribeTaskResultRequestParams ¶ added in v1.0.426
type DescribeTaskResultRequestParams struct { // 任务唯一ID TaskId *string `json:"TaskId,omitempty" name:"TaskId"` // 上一次请求响应返回的分页信息。第一次可以不带,从头开始返回数据,每次返回MaxResults字段设置的数据量。 NextToken *string `json:"NextToken,omitempty" name:"NextToken"` // 返回结果的最大行数,范围0~1000,默认为1000. MaxResults *int64 `json:"MaxResults,omitempty" name:"MaxResults"` }
Predefined struct for user
type DescribeTaskResultResponse ¶ added in v1.0.318
type DescribeTaskResultResponse struct { *tchttp.BaseResponse Response *DescribeTaskResultResponseParams `json:"Response"` }
func NewDescribeTaskResultResponse ¶ added in v1.0.318
func NewDescribeTaskResultResponse() (response *DescribeTaskResultResponse)
func (*DescribeTaskResultResponse) FromJsonString ¶ added in v1.0.318
func (r *DescribeTaskResultResponse) 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 (*DescribeTaskResultResponse) ToJsonString ¶ added in v1.0.318
func (r *DescribeTaskResultResponse) ToJsonString() string
type DescribeTaskResultResponseParams ¶ added in v1.0.426
type DescribeTaskResultResponseParams struct { // 查询的任务信息,返回为空表示输入任务ID对应的任务不存在。只有当任务状态为成功(2)的时候,才会返回任务的结果。 // 注意:此字段可能返回 null,表示取不到有效值。 TaskInfo *TaskResultInfo `json:"TaskInfo,omitempty" name:"TaskInfo"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeTasksRequest ¶
type DescribeTasksRequest struct { *tchttp.BaseRequest // 返回数量,默认为10,最大值为100。 Limit *int64 `json:"Limit,omitempty" name:"Limit"` // 偏移量,默认为0。 Offset *int64 `json:"Offset,omitempty" name:"Offset"` // 过滤条件,如下支持的过滤类型,传参Name应为以下其中一个,其中task-id支持最大50个过滤个数,其他过滤参数支持的总数不超过5个。 // task-id - String - (任务ID准确过滤)task-id取值形如:e386471f-139a-4e59-877f-50ece8135b99。 // task-state - String - (任务状态过滤)取值范围 0(初始化), 1(运行中), 2(成功), -1(失败)。 // task-sql-keyword - String - (SQL语句关键字模糊过滤)取值形如:DROP TABLE。 // task-operator- string (子uin过滤) // task-kind - string (任务类型过滤) Filters []*Filter `json:"Filters,omitempty" name:"Filters"` // 排序字段,支持如下字段类型,create-time(创建时间,默认)、update-time(更新时间) SortBy *string `json:"SortBy,omitempty" name:"SortBy"` // 排序方式,desc表示正序,asc表示反序, 默认为asc。 Sorting *string `json:"Sorting,omitempty" name:"Sorting"` // 起始时间点,格式为yyyy-mm-dd HH:MM:SS。默认为45天前的当前时刻 StartTime *string `json:"StartTime,omitempty" name:"StartTime"` // 结束时间点,格式为yyyy-mm-dd HH:MM:SS时间跨度在(0,30天],支持最近45天数据查询。默认为当前时刻 EndTime *string `json:"EndTime,omitempty" name:"EndTime"` // 支持计算资源名字筛选 DataEngineName *string `json:"DataEngineName,omitempty" name:"DataEngineName"` }
func NewDescribeTasksRequest ¶
func NewDescribeTasksRequest() (request *DescribeTasksRequest)
func (*DescribeTasksRequest) FromJsonString ¶
func (r *DescribeTasksRequest) 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 (*DescribeTasksRequest) ToJsonString ¶
func (r *DescribeTasksRequest) ToJsonString() string
type DescribeTasksRequestParams ¶ added in v1.0.426
type DescribeTasksRequestParams struct { // 返回数量,默认为10,最大值为100。 Limit *int64 `json:"Limit,omitempty" name:"Limit"` // 偏移量,默认为0。 Offset *int64 `json:"Offset,omitempty" name:"Offset"` // 过滤条件,如下支持的过滤类型,传参Name应为以下其中一个,其中task-id支持最大50个过滤个数,其他过滤参数支持的总数不超过5个。 // task-id - String - (任务ID准确过滤)task-id取值形如:e386471f-139a-4e59-877f-50ece8135b99。 // task-state - String - (任务状态过滤)取值范围 0(初始化), 1(运行中), 2(成功), -1(失败)。 // task-sql-keyword - String - (SQL语句关键字模糊过滤)取值形如:DROP TABLE。 // task-operator- string (子uin过滤) // task-kind - string (任务类型过滤) Filters []*Filter `json:"Filters,omitempty" name:"Filters"` // 排序字段,支持如下字段类型,create-time(创建时间,默认)、update-time(更新时间) SortBy *string `json:"SortBy,omitempty" name:"SortBy"` // 排序方式,desc表示正序,asc表示反序, 默认为asc。 Sorting *string `json:"Sorting,omitempty" name:"Sorting"` // 起始时间点,格式为yyyy-mm-dd HH:MM:SS。默认为45天前的当前时刻 StartTime *string `json:"StartTime,omitempty" name:"StartTime"` // 结束时间点,格式为yyyy-mm-dd HH:MM:SS时间跨度在(0,30天],支持最近45天数据查询。默认为当前时刻 EndTime *string `json:"EndTime,omitempty" name:"EndTime"` // 支持计算资源名字筛选 DataEngineName *string `json:"DataEngineName,omitempty" name:"DataEngineName"` }
Predefined struct for user
type DescribeTasksResponse ¶
type DescribeTasksResponse struct { *tchttp.BaseResponse Response *DescribeTasksResponseParams `json:"Response"` }
func NewDescribeTasksResponse ¶
func NewDescribeTasksResponse() (response *DescribeTasksResponse)
func (*DescribeTasksResponse) FromJsonString ¶
func (r *DescribeTasksResponse) 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 (*DescribeTasksResponse) ToJsonString ¶
func (r *DescribeTasksResponse) ToJsonString() string
type DescribeTasksResponseParams ¶ added in v1.0.426
type DescribeTasksResponseParams struct { // 任务对象列表。 TaskList []*TaskResponseInfo `json:"TaskList,omitempty" name:"TaskList"` // 实例总数。 TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"` // 任务概览信息 // 注意:此字段可能返回 null,表示取不到有效值。 TasksOverview *TasksOverview `json:"TasksOverview,omitempty" name:"TasksOverview"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeUsersRequest ¶ added in v1.0.206
type DescribeUsersRequest struct { *tchttp.BaseRequest // 指定查询的子用户uin,用户需要通过CreateUser接口创建。 UserId *string `json:"UserId,omitempty" name:"UserId"` // 偏移量,默认为0 Offset *int64 `json:"Offset,omitempty" name:"Offset"` // 返回数量,默认20,最大值100 Limit *int64 `json:"Limit,omitempty" name:"Limit"` // 排序字段,支持如下字段类型,create-time SortBy *string `json:"SortBy,omitempty" name:"SortBy"` // 排序方式,desc表示正序,asc表示反序, 默认为asc Sorting *string `json:"Sorting,omitempty" name:"Sorting"` // 过滤条件,支持如下字段类型,user-type:根据用户类型过滤。user-keyword:根据用户名称过滤 Filters []*Filter `json:"Filters,omitempty" name:"Filters"` }
func NewDescribeUsersRequest ¶ added in v1.0.206
func NewDescribeUsersRequest() (request *DescribeUsersRequest)
func (*DescribeUsersRequest) FromJsonString ¶ added in v1.0.206
func (r *DescribeUsersRequest) 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 (*DescribeUsersRequest) ToJsonString ¶ added in v1.0.206
func (r *DescribeUsersRequest) ToJsonString() string
type DescribeUsersRequestParams ¶ added in v1.0.426
type DescribeUsersRequestParams struct { // 指定查询的子用户uin,用户需要通过CreateUser接口创建。 UserId *string `json:"UserId,omitempty" name:"UserId"` // 偏移量,默认为0 Offset *int64 `json:"Offset,omitempty" name:"Offset"` // 返回数量,默认20,最大值100 Limit *int64 `json:"Limit,omitempty" name:"Limit"` // 排序字段,支持如下字段类型,create-time SortBy *string `json:"SortBy,omitempty" name:"SortBy"` // 排序方式,desc表示正序,asc表示反序, 默认为asc Sorting *string `json:"Sorting,omitempty" name:"Sorting"` // 过滤条件,支持如下字段类型,user-type:根据用户类型过滤。user-keyword:根据用户名称过滤 Filters []*Filter `json:"Filters,omitempty" name:"Filters"` }
Predefined struct for user
type DescribeUsersResponse ¶ added in v1.0.206
type DescribeUsersResponse struct { *tchttp.BaseResponse Response *DescribeUsersResponseParams `json:"Response"` }
func NewDescribeUsersResponse ¶ added in v1.0.206
func NewDescribeUsersResponse() (response *DescribeUsersResponse)
func (*DescribeUsersResponse) FromJsonString ¶ added in v1.0.206
func (r *DescribeUsersResponse) 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 (*DescribeUsersResponse) ToJsonString ¶ added in v1.0.206
func (r *DescribeUsersResponse) ToJsonString() string
type DescribeUsersResponseParams ¶ added in v1.0.426
type DescribeUsersResponseParams struct { // 查询到的用户总数 TotalCount *int64 `json:"TotalCount,omitempty" name:"TotalCount"` // 查询到的授权用户信息集合 UserSet []*UserInfo `json:"UserSet,omitempty" name:"UserSet"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeViewsRequest ¶
type DescribeViewsRequest struct { *tchttp.BaseRequest // 列出该数据库下所属数据表。 DatabaseName *string `json:"DatabaseName,omitempty" name:"DatabaseName"` // 返回数量,默认为10,最大值为100。 Limit *int64 `json:"Limit,omitempty" name:"Limit"` // 数据偏移量,从0开始,默认为0。 Offset *uint64 `json:"Offset,omitempty" name:"Offset"` // 过滤条件,如下支持的过滤类型,传参Name应为其一 // view-name - String - (过滤条件)数据表名称,形如:view-001。 // view-id - String - (过滤条件)view id形如:12342。 Filters []*Filter `json:"Filters,omitempty" name:"Filters"` // 数据库所属的数据源名称 DatasourceConnectionName *string `json:"DatasourceConnectionName,omitempty" name:"DatasourceConnectionName"` // 排序字段 Sort *string `json:"Sort,omitempty" name:"Sort"` // 排序规则,true:升序;false:降序 Asc *bool `json:"Asc,omitempty" name:"Asc"` // 按视图更新时间筛选,开始时间,如2021-11-11 00:00:00 StartTime *string `json:"StartTime,omitempty" name:"StartTime"` // 按视图更新时间筛选,结束时间,如2021-11-12 00:00:00 EndTime *string `json:"EndTime,omitempty" name:"EndTime"` }
func NewDescribeViewsRequest ¶
func NewDescribeViewsRequest() (request *DescribeViewsRequest)
func (*DescribeViewsRequest) FromJsonString ¶
func (r *DescribeViewsRequest) 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 (*DescribeViewsRequest) ToJsonString ¶
func (r *DescribeViewsRequest) ToJsonString() string
type DescribeViewsRequestParams ¶ added in v1.0.426
type DescribeViewsRequestParams struct { // 列出该数据库下所属数据表。 DatabaseName *string `json:"DatabaseName,omitempty" name:"DatabaseName"` // 返回数量,默认为10,最大值为100。 Limit *int64 `json:"Limit,omitempty" name:"Limit"` // 数据偏移量,从0开始,默认为0。 Offset *uint64 `json:"Offset,omitempty" name:"Offset"` // 过滤条件,如下支持的过滤类型,传参Name应为其一 // view-name - String - (过滤条件)数据表名称,形如:view-001。 // view-id - String - (过滤条件)view id形如:12342。 Filters []*Filter `json:"Filters,omitempty" name:"Filters"` // 数据库所属的数据源名称 DatasourceConnectionName *string `json:"DatasourceConnectionName,omitempty" name:"DatasourceConnectionName"` // 排序字段 Sort *string `json:"Sort,omitempty" name:"Sort"` // 排序规则,true:升序;false:降序 Asc *bool `json:"Asc,omitempty" name:"Asc"` // 按视图更新时间筛选,开始时间,如2021-11-11 00:00:00 StartTime *string `json:"StartTime,omitempty" name:"StartTime"` // 按视图更新时间筛选,结束时间,如2021-11-12 00:00:00 EndTime *string `json:"EndTime,omitempty" name:"EndTime"` }
Predefined struct for user
type DescribeViewsResponse ¶
type DescribeViewsResponse struct { *tchttp.BaseResponse Response *DescribeViewsResponseParams `json:"Response"` }
func NewDescribeViewsResponse ¶
func NewDescribeViewsResponse() (response *DescribeViewsResponse)
func (*DescribeViewsResponse) FromJsonString ¶
func (r *DescribeViewsResponse) 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 (*DescribeViewsResponse) ToJsonString ¶
func (r *DescribeViewsResponse) ToJsonString() string
type DescribeViewsResponseParams ¶ added in v1.0.426
type DescribeViewsResponseParams struct { // 视图对象列表。 ViewList []*ViewResponseInfo `json:"ViewList,omitempty" name:"ViewList"` // 实例总数。 TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeWorkGroupsRequest ¶ added in v1.0.206
type DescribeWorkGroupsRequest struct { *tchttp.BaseRequest // 查询的工作组Id,不填或填0表示不过滤。 WorkGroupId *int64 `json:"WorkGroupId,omitempty" name:"WorkGroupId"` // 过滤条件,当前仅支持按照工作组名称进行模糊搜索。Key为workgroup-name Filters []*Filter `json:"Filters,omitempty" name:"Filters"` // 偏移量,默认为0 Offset *int64 `json:"Offset,omitempty" name:"Offset"` // 返回数量,默认20,最大值100 Limit *int64 `json:"Limit,omitempty" name:"Limit"` // 排序字段,支持如下字段类型,create-time SortBy *string `json:"SortBy,omitempty" name:"SortBy"` // 排序方式,desc表示正序,asc表示反序, 默认为asc Sorting *string `json:"Sorting,omitempty" name:"Sorting"` }
func NewDescribeWorkGroupsRequest ¶ added in v1.0.206
func NewDescribeWorkGroupsRequest() (request *DescribeWorkGroupsRequest)
func (*DescribeWorkGroupsRequest) FromJsonString ¶ added in v1.0.206
func (r *DescribeWorkGroupsRequest) 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 (*DescribeWorkGroupsRequest) ToJsonString ¶ added in v1.0.206
func (r *DescribeWorkGroupsRequest) ToJsonString() string
type DescribeWorkGroupsRequestParams ¶ added in v1.0.426
type DescribeWorkGroupsRequestParams struct { // 查询的工作组Id,不填或填0表示不过滤。 WorkGroupId *int64 `json:"WorkGroupId,omitempty" name:"WorkGroupId"` // 过滤条件,当前仅支持按照工作组名称进行模糊搜索。Key为workgroup-name Filters []*Filter `json:"Filters,omitempty" name:"Filters"` // 偏移量,默认为0 Offset *int64 `json:"Offset,omitempty" name:"Offset"` // 返回数量,默认20,最大值100 Limit *int64 `json:"Limit,omitempty" name:"Limit"` // 排序字段,支持如下字段类型,create-time SortBy *string `json:"SortBy,omitempty" name:"SortBy"` // 排序方式,desc表示正序,asc表示反序, 默认为asc Sorting *string `json:"Sorting,omitempty" name:"Sorting"` }
Predefined struct for user
type DescribeWorkGroupsResponse ¶ added in v1.0.206
type DescribeWorkGroupsResponse struct { *tchttp.BaseResponse Response *DescribeWorkGroupsResponseParams `json:"Response"` }
func NewDescribeWorkGroupsResponse ¶ added in v1.0.206
func NewDescribeWorkGroupsResponse() (response *DescribeWorkGroupsResponse)
func (*DescribeWorkGroupsResponse) FromJsonString ¶ added in v1.0.206
func (r *DescribeWorkGroupsResponse) 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 (*DescribeWorkGroupsResponse) ToJsonString ¶ added in v1.0.206
func (r *DescribeWorkGroupsResponse) ToJsonString() string
type DescribeWorkGroupsResponseParams ¶ added in v1.0.426
type DescribeWorkGroupsResponseParams struct { // 工作组总数 TotalCount *int64 `json:"TotalCount,omitempty" name:"TotalCount"` // 工作组信息集合 WorkGroupSet []*WorkGroupInfo `json:"WorkGroupSet,omitempty" name:"WorkGroupSet"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DetachUserPolicyRequest ¶ added in v1.0.206
type DetachUserPolicyRequest struct { *tchttp.BaseRequest // 用户Id,和CAM侧Uin匹配 UserId *string `json:"UserId,omitempty" name:"UserId"` // 解绑的权限集合 PolicySet []*Policy `json:"PolicySet,omitempty" name:"PolicySet"` }
func NewDetachUserPolicyRequest ¶ added in v1.0.206
func NewDetachUserPolicyRequest() (request *DetachUserPolicyRequest)
func (*DetachUserPolicyRequest) FromJsonString ¶ added in v1.0.206
func (r *DetachUserPolicyRequest) 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 (*DetachUserPolicyRequest) ToJsonString ¶ added in v1.0.206
func (r *DetachUserPolicyRequest) ToJsonString() string
type DetachUserPolicyRequestParams ¶ added in v1.0.426
type DetachUserPolicyRequestParams struct { // 用户Id,和CAM侧Uin匹配 UserId *string `json:"UserId,omitempty" name:"UserId"` // 解绑的权限集合 PolicySet []*Policy `json:"PolicySet,omitempty" name:"PolicySet"` }
Predefined struct for user
type DetachUserPolicyResponse ¶ added in v1.0.206
type DetachUserPolicyResponse struct { *tchttp.BaseResponse Response *DetachUserPolicyResponseParams `json:"Response"` }
func NewDetachUserPolicyResponse ¶ added in v1.0.206
func NewDetachUserPolicyResponse() (response *DetachUserPolicyResponse)
func (*DetachUserPolicyResponse) FromJsonString ¶ added in v1.0.206
func (r *DetachUserPolicyResponse) 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 (*DetachUserPolicyResponse) ToJsonString ¶ added in v1.0.206
func (r *DetachUserPolicyResponse) ToJsonString() string
type DetachUserPolicyResponseParams ¶ added in v1.0.426
type DetachUserPolicyResponseParams struct { // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DetachWorkGroupPolicyRequest ¶ added in v1.0.206
type DetachWorkGroupPolicyRequest struct { *tchttp.BaseRequest // 工作组Id WorkGroupId *int64 `json:"WorkGroupId,omitempty" name:"WorkGroupId"` // 解绑的权限集合 PolicySet []*Policy `json:"PolicySet,omitempty" name:"PolicySet"` }
func NewDetachWorkGroupPolicyRequest ¶ added in v1.0.206
func NewDetachWorkGroupPolicyRequest() (request *DetachWorkGroupPolicyRequest)
func (*DetachWorkGroupPolicyRequest) FromJsonString ¶ added in v1.0.206
func (r *DetachWorkGroupPolicyRequest) 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 (*DetachWorkGroupPolicyRequest) ToJsonString ¶ added in v1.0.206
func (r *DetachWorkGroupPolicyRequest) ToJsonString() string
type DetachWorkGroupPolicyRequestParams ¶ added in v1.0.426
type DetachWorkGroupPolicyRequestParams struct { // 工作组Id WorkGroupId *int64 `json:"WorkGroupId,omitempty" name:"WorkGroupId"` // 解绑的权限集合 PolicySet []*Policy `json:"PolicySet,omitempty" name:"PolicySet"` }
Predefined struct for user
type DetachWorkGroupPolicyResponse ¶ added in v1.0.206
type DetachWorkGroupPolicyResponse struct { *tchttp.BaseResponse Response *DetachWorkGroupPolicyResponseParams `json:"Response"` }
func NewDetachWorkGroupPolicyResponse ¶ added in v1.0.206
func NewDetachWorkGroupPolicyResponse() (response *DetachWorkGroupPolicyResponse)
func (*DetachWorkGroupPolicyResponse) FromJsonString ¶ added in v1.0.206
func (r *DetachWorkGroupPolicyResponse) 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 (*DetachWorkGroupPolicyResponse) ToJsonString ¶ added in v1.0.206
func (r *DetachWorkGroupPolicyResponse) ToJsonString() string
type DetachWorkGroupPolicyResponseParams ¶ added in v1.0.426
type DetachWorkGroupPolicyResponseParams struct { // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DropDMSDatabaseRequest ¶ added in v1.0.432
type DropDMSDatabaseRequest struct { *tchttp.BaseRequest // 数据库名称 Name *string `json:"Name,omitempty" name:"Name"` // 是否删除数据 DeleteData *bool `json:"DeleteData,omitempty" name:"DeleteData"` // 是否级联删除 Cascade *bool `json:"Cascade,omitempty" name:"Cascade"` }
func NewDropDMSDatabaseRequest ¶ added in v1.0.432
func NewDropDMSDatabaseRequest() (request *DropDMSDatabaseRequest)
func (*DropDMSDatabaseRequest) FromJsonString ¶ added in v1.0.432
func (r *DropDMSDatabaseRequest) 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 (*DropDMSDatabaseRequest) ToJsonString ¶ added in v1.0.432
func (r *DropDMSDatabaseRequest) ToJsonString() string
type DropDMSDatabaseRequestParams ¶ added in v1.0.432
type DropDMSDatabaseRequestParams struct { // 数据库名称 Name *string `json:"Name,omitempty" name:"Name"` // 是否删除数据 DeleteData *bool `json:"DeleteData,omitempty" name:"DeleteData"` // 是否级联删除 Cascade *bool `json:"Cascade,omitempty" name:"Cascade"` }
Predefined struct for user
type DropDMSDatabaseResponse ¶ added in v1.0.432
type DropDMSDatabaseResponse struct { *tchttp.BaseResponse Response *DropDMSDatabaseResponseParams `json:"Response"` }
func NewDropDMSDatabaseResponse ¶ added in v1.0.432
func NewDropDMSDatabaseResponse() (response *DropDMSDatabaseResponse)
func (*DropDMSDatabaseResponse) FromJsonString ¶ added in v1.0.432
func (r *DropDMSDatabaseResponse) 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 (*DropDMSDatabaseResponse) ToJsonString ¶ added in v1.0.432
func (r *DropDMSDatabaseResponse) ToJsonString() string
type DropDMSDatabaseResponseParams ¶ added in v1.0.432
type DropDMSDatabaseResponseParams struct { // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DropDMSPartitionsRequest ¶ added in v1.0.432
type DropDMSPartitionsRequest struct { *tchttp.BaseRequest // 数据库名称 DatabaseName *string `json:"DatabaseName,omitempty" name:"DatabaseName"` // 数据库Schema名称 SchemaName *string `json:"SchemaName,omitempty" name:"SchemaName"` // 数据表名称 TableName *string `json:"TableName,omitempty" name:"TableName"` // 分区名称 Name *string `json:"Name,omitempty" name:"Name"` // 单个分区名称 Values []*string `json:"Values,omitempty" name:"Values"` // 是否删除分区数据 DeleteData *bool `json:"DeleteData,omitempty" name:"DeleteData"` }
func NewDropDMSPartitionsRequest ¶ added in v1.0.432
func NewDropDMSPartitionsRequest() (request *DropDMSPartitionsRequest)
func (*DropDMSPartitionsRequest) FromJsonString ¶ added in v1.0.432
func (r *DropDMSPartitionsRequest) 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 (*DropDMSPartitionsRequest) ToJsonString ¶ added in v1.0.432
func (r *DropDMSPartitionsRequest) ToJsonString() string
type DropDMSPartitionsRequestParams ¶ added in v1.0.432
type DropDMSPartitionsRequestParams struct { // 数据库名称 DatabaseName *string `json:"DatabaseName,omitempty" name:"DatabaseName"` // 数据库Schema名称 SchemaName *string `json:"SchemaName,omitempty" name:"SchemaName"` // 数据表名称 TableName *string `json:"TableName,omitempty" name:"TableName"` // 分区名称 Name *string `json:"Name,omitempty" name:"Name"` // 单个分区名称 Values []*string `json:"Values,omitempty" name:"Values"` // 是否删除分区数据 DeleteData *bool `json:"DeleteData,omitempty" name:"DeleteData"` }
Predefined struct for user
type DropDMSPartitionsResponse ¶ added in v1.0.432
type DropDMSPartitionsResponse struct { *tchttp.BaseResponse Response *DropDMSPartitionsResponseParams `json:"Response"` }
func NewDropDMSPartitionsResponse ¶ added in v1.0.432
func NewDropDMSPartitionsResponse() (response *DropDMSPartitionsResponse)
func (*DropDMSPartitionsResponse) FromJsonString ¶ added in v1.0.432
func (r *DropDMSPartitionsResponse) 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 (*DropDMSPartitionsResponse) ToJsonString ¶ added in v1.0.432
func (r *DropDMSPartitionsResponse) ToJsonString() string
type DropDMSPartitionsResponseParams ¶ added in v1.0.432
type DropDMSPartitionsResponseParams struct { // 状态 Status *bool `json:"Status,omitempty" name:"Status"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DropDMSTableRequest ¶ added in v1.0.432
type DropDMSTableRequest struct { *tchttp.BaseRequest // 数据库名称 DbName *string `json:"DbName,omitempty" name:"DbName"` // 表名称 Name *string `json:"Name,omitempty" name:"Name"` // 是否删除数据 DeleteData *bool `json:"DeleteData,omitempty" name:"DeleteData"` // 环境属性 EnvProps *KVPair `json:"EnvProps,omitempty" name:"EnvProps"` }
func NewDropDMSTableRequest ¶ added in v1.0.432
func NewDropDMSTableRequest() (request *DropDMSTableRequest)
func (*DropDMSTableRequest) FromJsonString ¶ added in v1.0.432
func (r *DropDMSTableRequest) 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 (*DropDMSTableRequest) ToJsonString ¶ added in v1.0.432
func (r *DropDMSTableRequest) ToJsonString() string
type DropDMSTableRequestParams ¶ added in v1.0.432
type DropDMSTableRequestParams struct { // 数据库名称 DbName *string `json:"DbName,omitempty" name:"DbName"` // 表名称 Name *string `json:"Name,omitempty" name:"Name"` // 是否删除数据 DeleteData *bool `json:"DeleteData,omitempty" name:"DeleteData"` // 环境属性 EnvProps *KVPair `json:"EnvProps,omitempty" name:"EnvProps"` }
Predefined struct for user
type DropDMSTableResponse ¶ added in v1.0.432
type DropDMSTableResponse struct { *tchttp.BaseResponse Response *DropDMSTableResponseParams `json:"Response"` }
func NewDropDMSTableResponse ¶ added in v1.0.432
func NewDropDMSTableResponse() (response *DropDMSTableResponse)
func (*DropDMSTableResponse) FromJsonString ¶ added in v1.0.432
func (r *DropDMSTableResponse) 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 (*DropDMSTableResponse) ToJsonString ¶ added in v1.0.432
func (r *DropDMSTableResponse) ToJsonString() string
type DropDMSTableResponseParams ¶ added in v1.0.432
type DropDMSTableResponseParams struct { // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type Execution ¶
type Execution struct { // 自动生成SQL语句。 SQL *string `json:"SQL,omitempty" name:"SQL"` }
type JobLogResult ¶ added in v1.0.421
type JobLogResult struct { // 日志时间戳,毫秒 // 注意:此字段可能返回 null,表示取不到有效值。 Time *int64 `json:"Time,omitempty" name:"Time"` // 日志topic id // 注意:此字段可能返回 null,表示取不到有效值。 TopicId *string `json:"TopicId,omitempty" name:"TopicId"` // 日志topic name // 注意:此字段可能返回 null,表示取不到有效值。 TopicName *string `json:"TopicName,omitempty" name:"TopicName"` // 日志内容,json字符串 // 注意:此字段可能返回 null,表示取不到有效值。 LogJson *string `json:"LogJson,omitempty" name:"LogJson"` }
type ListTaskJobLogDetailRequest ¶ added in v1.0.421
type ListTaskJobLogDetailRequest struct { *tchttp.BaseRequest // 列表返回的Id TaskId *string `json:"TaskId,omitempty" name:"TaskId"` // 开始运行时间,unix时间戳(毫秒) StartTime *int64 `json:"StartTime,omitempty" name:"StartTime"` // 结束运行时间,unix时间戳(毫秒) EndTime *int64 `json:"EndTime,omitempty" name:"EndTime"` // 分页大小,最大1000,配合Context一起使用 Limit *int64 `json:"Limit,omitempty" name:"Limit"` // 下一次分页参数,第一次传空 Context *string `json:"Context,omitempty" name:"Context"` // 最近1000条日志是否升序排列,true:升序排序,false:倒序,默认false,倒序排列 Asc *bool `json:"Asc,omitempty" name:"Asc"` // 预览日志的通用过滤条件 Filters []*Filter `json:"Filters,omitempty" name:"Filters"` }
func NewListTaskJobLogDetailRequest ¶ added in v1.0.421
func NewListTaskJobLogDetailRequest() (request *ListTaskJobLogDetailRequest)
func (*ListTaskJobLogDetailRequest) FromJsonString ¶ added in v1.0.421
func (r *ListTaskJobLogDetailRequest) 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 (*ListTaskJobLogDetailRequest) ToJsonString ¶ added in v1.0.421
func (r *ListTaskJobLogDetailRequest) ToJsonString() string
type ListTaskJobLogDetailRequestParams ¶ added in v1.0.426
type ListTaskJobLogDetailRequestParams struct { // 列表返回的Id TaskId *string `json:"TaskId,omitempty" name:"TaskId"` // 开始运行时间,unix时间戳(毫秒) StartTime *int64 `json:"StartTime,omitempty" name:"StartTime"` // 结束运行时间,unix时间戳(毫秒) EndTime *int64 `json:"EndTime,omitempty" name:"EndTime"` // 分页大小,最大1000,配合Context一起使用 Limit *int64 `json:"Limit,omitempty" name:"Limit"` // 下一次分页参数,第一次传空 Context *string `json:"Context,omitempty" name:"Context"` // 最近1000条日志是否升序排列,true:升序排序,false:倒序,默认false,倒序排列 Asc *bool `json:"Asc,omitempty" name:"Asc"` // 预览日志的通用过滤条件 Filters []*Filter `json:"Filters,omitempty" name:"Filters"` }
Predefined struct for user
type ListTaskJobLogDetailResponse ¶ added in v1.0.421
type ListTaskJobLogDetailResponse struct { *tchttp.BaseResponse Response *ListTaskJobLogDetailResponseParams `json:"Response"` }
func NewListTaskJobLogDetailResponse ¶ added in v1.0.421
func NewListTaskJobLogDetailResponse() (response *ListTaskJobLogDetailResponse)
func (*ListTaskJobLogDetailResponse) FromJsonString ¶ added in v1.0.421
func (r *ListTaskJobLogDetailResponse) 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 (*ListTaskJobLogDetailResponse) ToJsonString ¶ added in v1.0.421
func (r *ListTaskJobLogDetailResponse) ToJsonString() string
type ListTaskJobLogDetailResponseParams ¶ added in v1.0.426
type ListTaskJobLogDetailResponseParams struct { // 下一次分页参数 // 注意:此字段可能返回 null,表示取不到有效值。 Context *string `json:"Context,omitempty" name:"Context"` // 是否获取完结 // 注意:此字段可能返回 null,表示取不到有效值。 ListOver *bool `json:"ListOver,omitempty" name:"ListOver"` // 日志详情 // 注意:此字段可能返回 null,表示取不到有效值。 Results []*JobLogResult `json:"Results,omitempty" name:"Results"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type LockComponentInfo ¶ added in v1.0.432
type LockComponentInfo struct { // 数据库名称 DbName *string `json:"DbName,omitempty" name:"DbName"` // 表名称 TableName *string `json:"TableName,omitempty" name:"TableName"` // 分区 Partition *string `json:"Partition,omitempty" name:"Partition"` // 锁类型:SHARED_READ、SHARED_WRITE、EXCLUSIVE LockType *string `json:"LockType,omitempty" name:"LockType"` // 锁级别:DB、TABLE、PARTITION LockLevel *string `json:"LockLevel,omitempty" name:"LockLevel"` // 锁操作:SELECT,INSERT,UPDATE,DELETE,UNSET,NO_TXN DataOperationType *string `json:"DataOperationType,omitempty" name:"DataOperationType"` // 是否保持Acid IsAcid *bool `json:"IsAcid,omitempty" name:"IsAcid"` // 是否动态分区写 IsDynamicPartitionWrite *bool `json:"IsDynamicPartitionWrite,omitempty" name:"IsDynamicPartitionWrite"` }
type LockMetaDataRequest ¶ added in v1.0.432
type LockMetaDataRequest struct { *tchttp.BaseRequest // 加锁内容 LockComponentList []*LockComponentInfo `json:"LockComponentList,omitempty" name:"LockComponentList"` // 数据源名称 DatasourceConnectionName *string `json:"DatasourceConnectionName,omitempty" name:"DatasourceConnectionName"` // 事务id TxnId *int64 `json:"TxnId,omitempty" name:"TxnId"` // 客户端信息 AgentInfo *string `json:"AgentInfo,omitempty" name:"AgentInfo"` // 主机名 Hostname *string `json:"Hostname,omitempty" name:"Hostname"` }
func NewLockMetaDataRequest ¶ added in v1.0.432
func NewLockMetaDataRequest() (request *LockMetaDataRequest)
func (*LockMetaDataRequest) FromJsonString ¶ added in v1.0.432
func (r *LockMetaDataRequest) 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 (*LockMetaDataRequest) ToJsonString ¶ added in v1.0.432
func (r *LockMetaDataRequest) ToJsonString() string
type LockMetaDataRequestParams ¶ added in v1.0.432
type LockMetaDataRequestParams struct { // 加锁内容 LockComponentList []*LockComponentInfo `json:"LockComponentList,omitempty" name:"LockComponentList"` // 数据源名称 DatasourceConnectionName *string `json:"DatasourceConnectionName,omitempty" name:"DatasourceConnectionName"` // 事务id TxnId *int64 `json:"TxnId,omitempty" name:"TxnId"` // 客户端信息 AgentInfo *string `json:"AgentInfo,omitempty" name:"AgentInfo"` // 主机名 Hostname *string `json:"Hostname,omitempty" name:"Hostname"` }
Predefined struct for user
type LockMetaDataResponse ¶ added in v1.0.432
type LockMetaDataResponse struct { *tchttp.BaseResponse Response *LockMetaDataResponseParams `json:"Response"` }
func NewLockMetaDataResponse ¶ added in v1.0.432
func NewLockMetaDataResponse() (response *LockMetaDataResponse)
func (*LockMetaDataResponse) FromJsonString ¶ added in v1.0.432
func (r *LockMetaDataResponse) 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 (*LockMetaDataResponse) ToJsonString ¶ added in v1.0.432
func (r *LockMetaDataResponse) ToJsonString() string
type LockMetaDataResponseParams ¶ added in v1.0.432
type LockMetaDataResponseParams struct { // 锁id LockId *int64 `json:"LockId,omitempty" name:"LockId"` // 锁状态:ACQUIRED、WAITING、ABORT、NOT_ACQUIRED LockState *string `json:"LockState,omitempty" name:"LockState"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type ModifySparkAppRequest ¶ added in v1.0.408
type ModifySparkAppRequest struct { *tchttp.BaseRequest // spark应用名 AppName *string `json:"AppName,omitempty" name:"AppName"` // 1代表spark jar应用,2代表spark streaming应用 AppType *int64 `json:"AppType,omitempty" name:"AppType"` // 执行spark作业的数据引擎 DataEngine *string `json:"DataEngine,omitempty" name:"DataEngine"` // spark应用的执行入口 AppFile *string `json:"AppFile,omitempty" name:"AppFile"` // 执行spark作业的角色ID RoleArn *int64 `json:"RoleArn,omitempty" name:"RoleArn"` // spark作业driver资源规格大小, 可取small,medium,large,xlarge AppDriverSize *string `json:"AppDriverSize,omitempty" name:"AppDriverSize"` // spark作业executor资源规格大小, 可取small,medium,large,xlarge AppExecutorSize *string `json:"AppExecutorSize,omitempty" name:"AppExecutorSize"` // spark作业executor个数 AppExecutorNums *int64 `json:"AppExecutorNums,omitempty" name:"AppExecutorNums"` // spark应用Id SparkAppId *string `json:"SparkAppId,omitempty" name:"SparkAppId"` // 该字段已下线,请使用字段Datasource Eni *string `json:"Eni,omitempty" name:"Eni"` // 是否本地上传,可取cos,lakefs IsLocal *string `json:"IsLocal,omitempty" name:"IsLocal"` // spark jar作业时的主类 MainClass *string `json:"MainClass,omitempty" name:"MainClass"` // spark配置,以换行符分隔 AppConf *string `json:"AppConf,omitempty" name:"AppConf"` // jar资源依赖上传方式,1、cos;2、lakefs(控制台使用,该方式不支持直接接口调用) IsLocalJars *string `json:"IsLocalJars,omitempty" name:"IsLocalJars"` // spark jar作业依赖jars,以逗号分隔 AppJars *string `json:"AppJars,omitempty" name:"AppJars"` // file资源依赖上传方式,1、cos;2、lakefs(控制台使用,该方式不支持直接接口调用) IsLocalFiles *string `json:"IsLocalFiles,omitempty" name:"IsLocalFiles"` // spark作业依赖资源,以逗号分隔 AppFiles *string `json:"AppFiles,omitempty" name:"AppFiles"` // pyspark:依赖上传方式,1、cos;2、lakefs(控制台使用,该方式不支持直接接口调用) IsLocalPythonFiles *string `json:"IsLocalPythonFiles,omitempty" name:"IsLocalPythonFiles"` // pyspark:python依赖, 除py文件外,还支持zip/egg等归档格式,多文件以逗号分隔 AppPythonFiles *string `json:"AppPythonFiles,omitempty" name:"AppPythonFiles"` // spark作业命令行参数 CmdArgs *string `json:"CmdArgs,omitempty" name:"CmdArgs"` // 只对spark流任务生效 MaxRetries *int64 `json:"MaxRetries,omitempty" name:"MaxRetries"` // 数据源名 DataSource *string `json:"DataSource,omitempty" name:"DataSource"` // archives:依赖上传方式,1、cos;2、lakefs(控制台使用,该方式不支持直接接口调用) IsLocalArchives *string `json:"IsLocalArchives,omitempty" name:"IsLocalArchives"` // archives:依赖资源 AppArchives *string `json:"AppArchives,omitempty" name:"AppArchives"` }
func NewModifySparkAppRequest ¶ added in v1.0.408
func NewModifySparkAppRequest() (request *ModifySparkAppRequest)
func (*ModifySparkAppRequest) FromJsonString ¶ added in v1.0.408
func (r *ModifySparkAppRequest) 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 (*ModifySparkAppRequest) ToJsonString ¶ added in v1.0.408
func (r *ModifySparkAppRequest) ToJsonString() string
type ModifySparkAppRequestParams ¶ added in v1.0.426
type ModifySparkAppRequestParams struct { // spark应用名 AppName *string `json:"AppName,omitempty" name:"AppName"` // 1代表spark jar应用,2代表spark streaming应用 AppType *int64 `json:"AppType,omitempty" name:"AppType"` // 执行spark作业的数据引擎 DataEngine *string `json:"DataEngine,omitempty" name:"DataEngine"` // spark应用的执行入口 AppFile *string `json:"AppFile,omitempty" name:"AppFile"` // 执行spark作业的角色ID RoleArn *int64 `json:"RoleArn,omitempty" name:"RoleArn"` // spark作业driver资源规格大小, 可取small,medium,large,xlarge AppDriverSize *string `json:"AppDriverSize,omitempty" name:"AppDriverSize"` // spark作业executor资源规格大小, 可取small,medium,large,xlarge AppExecutorSize *string `json:"AppExecutorSize,omitempty" name:"AppExecutorSize"` // spark作业executor个数 AppExecutorNums *int64 `json:"AppExecutorNums,omitempty" name:"AppExecutorNums"` // spark应用Id SparkAppId *string `json:"SparkAppId,omitempty" name:"SparkAppId"` // 该字段已下线,请使用字段Datasource Eni *string `json:"Eni,omitempty" name:"Eni"` // 是否本地上传,可取cos,lakefs IsLocal *string `json:"IsLocal,omitempty" name:"IsLocal"` // spark jar作业时的主类 MainClass *string `json:"MainClass,omitempty" name:"MainClass"` // spark配置,以换行符分隔 AppConf *string `json:"AppConf,omitempty" name:"AppConf"` // jar资源依赖上传方式,1、cos;2、lakefs(控制台使用,该方式不支持直接接口调用) IsLocalJars *string `json:"IsLocalJars,omitempty" name:"IsLocalJars"` // spark jar作业依赖jars,以逗号分隔 AppJars *string `json:"AppJars,omitempty" name:"AppJars"` // file资源依赖上传方式,1、cos;2、lakefs(控制台使用,该方式不支持直接接口调用) IsLocalFiles *string `json:"IsLocalFiles,omitempty" name:"IsLocalFiles"` // spark作业依赖资源,以逗号分隔 AppFiles *string `json:"AppFiles,omitempty" name:"AppFiles"` // pyspark:依赖上传方式,1、cos;2、lakefs(控制台使用,该方式不支持直接接口调用) IsLocalPythonFiles *string `json:"IsLocalPythonFiles,omitempty" name:"IsLocalPythonFiles"` // pyspark:python依赖, 除py文件外,还支持zip/egg等归档格式,多文件以逗号分隔 AppPythonFiles *string `json:"AppPythonFiles,omitempty" name:"AppPythonFiles"` // spark作业命令行参数 CmdArgs *string `json:"CmdArgs,omitempty" name:"CmdArgs"` // 只对spark流任务生效 MaxRetries *int64 `json:"MaxRetries,omitempty" name:"MaxRetries"` // 数据源名 DataSource *string `json:"DataSource,omitempty" name:"DataSource"` // archives:依赖上传方式,1、cos;2、lakefs(控制台使用,该方式不支持直接接口调用) IsLocalArchives *string `json:"IsLocalArchives,omitempty" name:"IsLocalArchives"` // archives:依赖资源 AppArchives *string `json:"AppArchives,omitempty" name:"AppArchives"` }
Predefined struct for user
type ModifySparkAppResponse ¶ added in v1.0.408
type ModifySparkAppResponse struct { *tchttp.BaseResponse Response *ModifySparkAppResponseParams `json:"Response"` }
func NewModifySparkAppResponse ¶ added in v1.0.408
func NewModifySparkAppResponse() (response *ModifySparkAppResponse)
func (*ModifySparkAppResponse) FromJsonString ¶ added in v1.0.408
func (r *ModifySparkAppResponse) 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 (*ModifySparkAppResponse) ToJsonString ¶ added in v1.0.408
func (r *ModifySparkAppResponse) ToJsonString() string
type ModifySparkAppResponseParams ¶ added in v1.0.426
type ModifySparkAppResponseParams struct { // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type ModifyUserRequest ¶ added in v1.0.206
type ModifyUserRequest struct { *tchttp.BaseRequest // 用户Id,和CAM侧Uin匹配 UserId *string `json:"UserId,omitempty" name:"UserId"` // 用户描述 UserDescription *string `json:"UserDescription,omitempty" name:"UserDescription"` }
func NewModifyUserRequest ¶ added in v1.0.206
func NewModifyUserRequest() (request *ModifyUserRequest)
func (*ModifyUserRequest) FromJsonString ¶ added in v1.0.206
func (r *ModifyUserRequest) 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 (*ModifyUserRequest) ToJsonString ¶ added in v1.0.206
func (r *ModifyUserRequest) ToJsonString() string
type ModifyUserRequestParams ¶ added in v1.0.426
type ModifyUserRequestParams struct { // 用户Id,和CAM侧Uin匹配 UserId *string `json:"UserId,omitempty" name:"UserId"` // 用户描述 UserDescription *string `json:"UserDescription,omitempty" name:"UserDescription"` }
Predefined struct for user
type ModifyUserResponse ¶ added in v1.0.206
type ModifyUserResponse struct { *tchttp.BaseResponse Response *ModifyUserResponseParams `json:"Response"` }
func NewModifyUserResponse ¶ added in v1.0.206
func NewModifyUserResponse() (response *ModifyUserResponse)
func (*ModifyUserResponse) FromJsonString ¶ added in v1.0.206
func (r *ModifyUserResponse) 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 (*ModifyUserResponse) ToJsonString ¶ added in v1.0.206
func (r *ModifyUserResponse) ToJsonString() string
type ModifyUserResponseParams ¶ added in v1.0.426
type ModifyUserResponseParams struct { // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type ModifyWorkGroupRequest ¶ added in v1.0.206
type ModifyWorkGroupRequest struct { *tchttp.BaseRequest // 工作组Id WorkGroupId *int64 `json:"WorkGroupId,omitempty" name:"WorkGroupId"` // 工作组描述 WorkGroupDescription *string `json:"WorkGroupDescription,omitempty" name:"WorkGroupDescription"` }
func NewModifyWorkGroupRequest ¶ added in v1.0.206
func NewModifyWorkGroupRequest() (request *ModifyWorkGroupRequest)
func (*ModifyWorkGroupRequest) FromJsonString ¶ added in v1.0.206
func (r *ModifyWorkGroupRequest) 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 (*ModifyWorkGroupRequest) ToJsonString ¶ added in v1.0.206
func (r *ModifyWorkGroupRequest) ToJsonString() string
type ModifyWorkGroupRequestParams ¶ added in v1.0.426
type ModifyWorkGroupRequestParams struct { // 工作组Id WorkGroupId *int64 `json:"WorkGroupId,omitempty" name:"WorkGroupId"` // 工作组描述 WorkGroupDescription *string `json:"WorkGroupDescription,omitempty" name:"WorkGroupDescription"` }
Predefined struct for user
type ModifyWorkGroupResponse ¶ added in v1.0.206
type ModifyWorkGroupResponse struct { *tchttp.BaseResponse Response *ModifyWorkGroupResponseParams `json:"Response"` }
func NewModifyWorkGroupResponse ¶ added in v1.0.206
func NewModifyWorkGroupResponse() (response *ModifyWorkGroupResponse)
func (*ModifyWorkGroupResponse) FromJsonString ¶ added in v1.0.206
func (r *ModifyWorkGroupResponse) 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 (*ModifyWorkGroupResponse) ToJsonString ¶ added in v1.0.206
func (r *ModifyWorkGroupResponse) ToJsonString() string
type ModifyWorkGroupResponseParams ¶ added in v1.0.426
type ModifyWorkGroupResponseParams struct { // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type Other ¶
type Other struct { // 枚举类型,默认值为Json,可选值为[Json, Parquet, ORC, AVRD]之一。 Format *string `json:"Format,omitempty" name:"Format"` }
type Partition ¶
type Partition struct { // 分区列名。 Name *string `json:"Name,omitempty" name:"Name"` // 分区类型。 Type *string `json:"Type,omitempty" name:"Type"` // 对分区的描述。 Comment *string `json:"Comment,omitempty" name:"Comment"` // 隐式分区转换策略 // 注意:此字段可能返回 null,表示取不到有效值。 Transform *string `json:"Transform,omitempty" name:"Transform"` // 转换策略参数 // 注意:此字段可能返回 null,表示取不到有效值。 TransformArgs []*string `json:"TransformArgs,omitempty" name:"TransformArgs"` // 创建时间 // 注意:此字段可能返回 null,表示取不到有效值。 CreateTime *int64 `json:"CreateTime,omitempty" name:"CreateTime"` }
type Policy ¶ added in v1.0.206
type Policy struct { // 需要授权的数据库名,填*代表当前Catalog下所有数据库。当授权类型为管理员级别时,只允许填“*”,当授权类型为数据连接级别时只允许填空,其他类型下可以任意指定数据库。 Database *string `json:"Database,omitempty" name:"Database"` // 需要授权的数据源名称,管理员级别下只支持填*(代表该级别全部资源);数据源级别和数据库级别鉴权的情况下,只支持填COSDataCatalog或者*;在数据表级别鉴权下可以填写用户自定义数据源。不填情况下默认为DataLakeCatalog。注意:如果是对用户自定义数据源进行鉴权,DLC能够管理的权限是用户接入数据源的时候提供的账户的子集。 Catalog *string `json:"Catalog,omitempty" name:"Catalog"` // 需要授权的表名,填*代表当前Database下所有表。当授权类型为管理员级别时,只允许填“*”,当授权类型为数据连接级别、数据库级别时只允许填空,其他类型下可以任意指定数据表。 Table *string `json:"Table,omitempty" name:"Table"` // 授权的权限操作,对于不同级别的鉴权提供不同操作。管理员权限:ALL,不填默认为ALL;数据连接级鉴权:CREATE;数据库级别鉴权:ALL、CREATE、ALTER、DROP;数据表权限:ALL、SELECT、INSERT、ALTER、DELETE、DROP、UPDATE。注意:在数据表权限下,指定的数据源不为COSDataCatalog的时候,只支持SELECT操作。 Operation *string `json:"Operation,omitempty" name:"Operation"` // 授权类型,现在支持八种授权类型:ADMIN:管理员级别鉴权 DATASOURCE:数据连接级别鉴权 DATABASE:数据库级别鉴权 TABLE:表级别鉴权 VIEW:视图级别鉴权 FUNCTION:函数级别鉴权 COLUMN:列级别鉴权 ENGINE:数据引擎鉴权。不填默认为管理员级别鉴权。 PolicyType *string `json:"PolicyType,omitempty" name:"PolicyType"` // 需要授权的函数名,填*代表当前Catalog下所有函数。当授权类型为管理员级别时,只允许填“*”,当授权类型为数据连接级别时只允许填空,其他类型下可以任意指定函数。 // 注意:此字段可能返回 null,表示取不到有效值。 Function *string `json:"Function,omitempty" name:"Function"` // 需要授权的视图,填*代表当前Database下所有视图。当授权类型为管理员级别时,只允许填“*”,当授权类型为数据连接级别、数据库级别时只允许填空,其他类型下可以任意指定视图。 // 注意:此字段可能返回 null,表示取不到有效值。 View *string `json:"View,omitempty" name:"View"` // 需要授权的列,填*代表当前所有列。当授权类型为管理员级别时,只允许填“*” // 注意:此字段可能返回 null,表示取不到有效值。 Column *string `json:"Column,omitempty" name:"Column"` // 需要授权的数据引擎,填*代表当前所有引擎。当授权类型为管理员级别时,只允许填“*” // 注意:此字段可能返回 null,表示取不到有效值。 DataEngine *string `json:"DataEngine,omitempty" name:"DataEngine"` // 用户是否可以进行二次授权。当为true的时候,被授权的用户可以将本次获取的权限再次授权给其他子用户。默认为false // 注意:此字段可能返回 null,表示取不到有效值。 ReAuth *bool `json:"ReAuth,omitempty" name:"ReAuth"` // 权限来源,入参不填。USER:权限来自用户本身;WORKGROUP:权限来自绑定的工作组 // 注意:此字段可能返回 null,表示取不到有效值。 Source *string `json:"Source,omitempty" name:"Source"` // 授权模式,入参不填。COMMON:普通模式;SENIOR:高级模式。 // 注意:此字段可能返回 null,表示取不到有效值。 Mode *string `json:"Mode,omitempty" name:"Mode"` // 操作者,入参不填。 // 注意:此字段可能返回 null,表示取不到有效值。 Operator *string `json:"Operator,omitempty" name:"Operator"` // 权限创建的时间,入参不填 // 注意:此字段可能返回 null,表示取不到有效值。 CreateTime *string `json:"CreateTime,omitempty" name:"CreateTime"` // 权限所属工作组的ID,只有当该权限的来源为工作组时才会有值。即仅当Source字段的值为WORKGROUP时该字段才有值。 // 注意:此字段可能返回 null,表示取不到有效值。 SourceId *int64 `json:"SourceId,omitempty" name:"SourceId"` // 权限所属工作组的名称,只有当该权限的来源为工作组时才会有值。即仅当Source字段的值为WORKGROUP时该字段才有值。 // 注意:此字段可能返回 null,表示取不到有效值。 SourceName *string `json:"SourceName,omitempty" name:"SourceName"` }
type ReportHeartbeatMetaDataRequest ¶ added in v1.0.434
type ReportHeartbeatMetaDataRequest struct { *tchttp.BaseRequest // 数据源名称 DatasourceConnectionName *string `json:"DatasourceConnectionName,omitempty" name:"DatasourceConnectionName"` // 锁ID LockId *int64 `json:"LockId,omitempty" name:"LockId"` // 事务ID TxnId *int64 `json:"TxnId,omitempty" name:"TxnId"` }
func NewReportHeartbeatMetaDataRequest ¶ added in v1.0.434
func NewReportHeartbeatMetaDataRequest() (request *ReportHeartbeatMetaDataRequest)
func (*ReportHeartbeatMetaDataRequest) FromJsonString ¶ added in v1.0.434
func (r *ReportHeartbeatMetaDataRequest) 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 (*ReportHeartbeatMetaDataRequest) ToJsonString ¶ added in v1.0.434
func (r *ReportHeartbeatMetaDataRequest) ToJsonString() string
type ReportHeartbeatMetaDataRequestParams ¶ added in v1.0.434
type ReportHeartbeatMetaDataRequestParams struct { // 数据源名称 DatasourceConnectionName *string `json:"DatasourceConnectionName,omitempty" name:"DatasourceConnectionName"` // 锁ID LockId *int64 `json:"LockId,omitempty" name:"LockId"` // 事务ID TxnId *int64 `json:"TxnId,omitempty" name:"TxnId"` }
Predefined struct for user
type ReportHeartbeatMetaDataResponse ¶ added in v1.0.434
type ReportHeartbeatMetaDataResponse struct { *tchttp.BaseResponse Response *ReportHeartbeatMetaDataResponseParams `json:"Response"` }
func NewReportHeartbeatMetaDataResponse ¶ added in v1.0.434
func NewReportHeartbeatMetaDataResponse() (response *ReportHeartbeatMetaDataResponse)
func (*ReportHeartbeatMetaDataResponse) FromJsonString ¶ added in v1.0.434
func (r *ReportHeartbeatMetaDataResponse) 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 (*ReportHeartbeatMetaDataResponse) ToJsonString ¶ added in v1.0.434
func (r *ReportHeartbeatMetaDataResponse) ToJsonString() string
type ReportHeartbeatMetaDataResponseParams ¶ added in v1.0.434
type ReportHeartbeatMetaDataResponseParams struct { // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type Script ¶
type Script struct { // 脚本Id,长度36字节。 // 注意:此字段可能返回 null,表示取不到有效值。 ScriptId *string `json:"ScriptId,omitempty" name:"ScriptId"` // 脚本名称,长度0-25。 // 注意:此字段可能返回 null,表示取不到有效值。 ScriptName *string `json:"ScriptName,omitempty" name:"ScriptName"` // 脚本描述,长度0-50。 // 注意:此字段可能返回 null,表示取不到有效值。 ScriptDesc *string `json:"ScriptDesc,omitempty" name:"ScriptDesc"` // 默认关联数据库。 // 注意:此字段可能返回 null,表示取不到有效值。 DatabaseName *string `json:"DatabaseName,omitempty" name:"DatabaseName"` // SQL描述,长度0-10000。 // 注意:此字段可能返回 null,表示取不到有效值。 SQLStatement *string `json:"SQLStatement,omitempty" name:"SQLStatement"` // 更新时间戳, 单位:ms。 // 注意:此字段可能返回 null,表示取不到有效值。 UpdateTime *int64 `json:"UpdateTime,omitempty" name:"UpdateTime"` }
type SparkJobInfo ¶ added in v1.0.408
type SparkJobInfo struct { // spark作业ID JobId *string `json:"JobId,omitempty" name:"JobId"` // spark作业名 JobName *string `json:"JobName,omitempty" name:"JobName"` // spark作业类型,可去1或者2,1表示batch作业, 2表示streaming作业 JobType *int64 `json:"JobType,omitempty" name:"JobType"` // 引擎名 DataEngine *string `json:"DataEngine,omitempty" name:"DataEngine"` // 该字段已下线,请使用字段Datasource Eni *string `json:"Eni,omitempty" name:"Eni"` // 程序包是否本地上传,cos或者lakefs IsLocal *string `json:"IsLocal,omitempty" name:"IsLocal"` // 程序包路径 JobFile *string `json:"JobFile,omitempty" name:"JobFile"` // 角色ID RoleArn *int64 `json:"RoleArn,omitempty" name:"RoleArn"` // spark作业运行主类 MainClass *string `json:"MainClass,omitempty" name:"MainClass"` // 命令行参数,spark作业命令行参数,空格分隔 CmdArgs *string `json:"CmdArgs,omitempty" name:"CmdArgs"` // spark原生配置,换行符分隔 JobConf *string `json:"JobConf,omitempty" name:"JobConf"` // 依赖jars是否本地上传,cos或者lakefs IsLocalJars *string `json:"IsLocalJars,omitempty" name:"IsLocalJars"` // spark作业依赖jars,逗号分隔 JobJars *string `json:"JobJars,omitempty" name:"JobJars"` // 依赖文件是否本地上传,cos或者lakefs IsLocalFiles *string `json:"IsLocalFiles,omitempty" name:"IsLocalFiles"` // spark作业依赖文件,逗号分隔 JobFiles *string `json:"JobFiles,omitempty" name:"JobFiles"` // spark作业driver资源大小 JobDriverSize *string `json:"JobDriverSize,omitempty" name:"JobDriverSize"` // spark作业executor资源大小 JobExecutorSize *string `json:"JobExecutorSize,omitempty" name:"JobExecutorSize"` // spark作业executor个数 JobExecutorNums *int64 `json:"JobExecutorNums,omitempty" name:"JobExecutorNums"` // spark流任务最大重试次数 JobMaxAttempts *int64 `json:"JobMaxAttempts,omitempty" name:"JobMaxAttempts"` // spark作业创建者 JobCreator *string `json:"JobCreator,omitempty" name:"JobCreator"` // spark作业创建时间 JobCreateTime *int64 `json:"JobCreateTime,omitempty" name:"JobCreateTime"` // spark作业更新时间 JobUpdateTime *uint64 `json:"JobUpdateTime,omitempty" name:"JobUpdateTime"` // spark作业最近任务ID CurrentTaskId *string `json:"CurrentTaskId,omitempty" name:"CurrentTaskId"` // spark作业最近运行状态 JobStatus *int64 `json:"JobStatus,omitempty" name:"JobStatus"` // spark流作业统计 // 注意:此字段可能返回 null,表示取不到有效值。 StreamingStat *StreamingStatistics `json:"StreamingStat,omitempty" name:"StreamingStat"` // 数据源名 // 注意:此字段可能返回 null,表示取不到有效值。 DataSource *string `json:"DataSource,omitempty" name:"DataSource"` // pyspark:依赖上传方式,1、cos;2、lakefs(控制台使用,该方式不支持直接接口调用) // 注意:此字段可能返回 null,表示取不到有效值。 IsLocalPythonFiles *string `json:"IsLocalPythonFiles,omitempty" name:"IsLocalPythonFiles"` // 注:该返回值已废弃 // 注意:此字段可能返回 null,表示取不到有效值。 AppPythonFiles *string `json:"AppPythonFiles,omitempty" name:"AppPythonFiles"` // archives:依赖上传方式,1、cos;2、lakefs(控制台使用,该方式不支持直接接口调用) // 注意:此字段可能返回 null,表示取不到有效值。 IsLocalArchives *string `json:"IsLocalArchives,omitempty" name:"IsLocalArchives"` // archives:依赖资源 // 注意:此字段可能返回 null,表示取不到有效值。 JobArchives *string `json:"JobArchives,omitempty" name:"JobArchives"` // pyspark:python依赖, 除py文件外,还支持zip/egg等归档格式,多文件以逗号分隔 // 注意:此字段可能返回 null,表示取不到有效值。 JobPythonFiles *string `json:"JobPythonFiles,omitempty" name:"JobPythonFiles"` // 当前job正在运行或准备运行的任务个数 // 注意:此字段可能返回 null,表示取不到有效值。 TaskNum *int64 `json:"TaskNum,omitempty" name:"TaskNum"` // 引擎状态:-100(默认:未知状态),-2~11:引擎正常状态; // 注意:此字段可能返回 null,表示取不到有效值。 DataEngineStatus *int64 `json:"DataEngineStatus,omitempty" name:"DataEngineStatus"` }
type StreamingStatistics ¶ added in v1.0.408
type StreamingStatistics struct { // 任务开始时间 StartTime *string `json:"StartTime,omitempty" name:"StartTime"` // 数据接收器数 Receivers *int64 `json:"Receivers,omitempty" name:"Receivers"` // 运行中的接收器数 NumActiveReceivers *int64 `json:"NumActiveReceivers,omitempty" name:"NumActiveReceivers"` // 不活跃的接收器数 NumInactiveReceivers *int64 `json:"NumInactiveReceivers,omitempty" name:"NumInactiveReceivers"` // 运行中的批数 NumActiveBatches *int64 `json:"NumActiveBatches,omitempty" name:"NumActiveBatches"` // 待处理的批数 NumRetainedCompletedBatches *int64 `json:"NumRetainedCompletedBatches,omitempty" name:"NumRetainedCompletedBatches"` // 已完成的批数 NumTotalCompletedBatches *int64 `json:"NumTotalCompletedBatches,omitempty" name:"NumTotalCompletedBatches"` // 平均输入速率 AverageInputRate *float64 `json:"AverageInputRate,omitempty" name:"AverageInputRate"` // 平均等待时长 AverageSchedulingDelay *float64 `json:"AverageSchedulingDelay,omitempty" name:"AverageSchedulingDelay"` // 平均处理时长 AverageProcessingTime *float64 `json:"AverageProcessingTime,omitempty" name:"AverageProcessingTime"` // 平均延时 AverageTotalDelay *float64 `json:"AverageTotalDelay,omitempty" name:"AverageTotalDelay"` }
type TableBaseInfo ¶
type TableBaseInfo struct { // 该数据表所属数据库名字 DatabaseName *string `json:"DatabaseName,omitempty" name:"DatabaseName"` // 数据表名字 TableName *string `json:"TableName,omitempty" name:"TableName"` // 该数据表所属数据源名字 // 注意:此字段可能返回 null,表示取不到有效值。 DatasourceConnectionName *string `json:"DatasourceConnectionName,omitempty" name:"DatasourceConnectionName"` // 该数据表备注 // 注意:此字段可能返回 null,表示取不到有效值。 TableComment *string `json:"TableComment,omitempty" name:"TableComment"` // 具体类型,表or视图 // 注意:此字段可能返回 null,表示取不到有效值。 Type *string `json:"Type,omitempty" name:"Type"` // 数据格式类型,hive,iceberg等 // 注意:此字段可能返回 null,表示取不到有效值。 TableFormat *string `json:"TableFormat,omitempty" name:"TableFormat"` // 建表用户昵称 // 注意:此字段可能返回 null,表示取不到有效值。 UserAlias *string `json:"UserAlias,omitempty" name:"UserAlias"` // 建表用户ID // 注意:此字段可能返回 null,表示取不到有效值。 UserSubUin *string `json:"UserSubUin,omitempty" name:"UserSubUin"` }
type TableInfo ¶
type TableInfo struct { // 数据表配置信息。 TableBaseInfo *TableBaseInfo `json:"TableBaseInfo,omitempty" name:"TableBaseInfo"` // 数据表格式。每次入参可选如下其一的KV结构,[TextFile,CSV,Json, Parquet, ORC, AVRD]。 DataFormat *DataFormat `json:"DataFormat,omitempty" name:"DataFormat"` // 数据表列信息。 Columns []*Column `json:"Columns,omitempty" name:"Columns"` // 数据表分块信息。 Partitions []*Partition `json:"Partitions,omitempty" name:"Partitions"` // 数据存储路径。当前仅支持cos路径,格式如下:cosn://bucket-name/filepath。 Location *string `json:"Location,omitempty" name:"Location"` }
type TableResponseInfo ¶
type TableResponseInfo struct { // 数据表基本信息。 TableBaseInfo *TableBaseInfo `json:"TableBaseInfo,omitempty" name:"TableBaseInfo"` // 数据表列信息。 // 注意:此字段可能返回 null,表示取不到有效值。 Columns []*Column `json:"Columns,omitempty" name:"Columns"` // 数据表分块信息。 // 注意:此字段可能返回 null,表示取不到有效值。 Partitions []*Partition `json:"Partitions,omitempty" name:"Partitions"` // 数据存储路径。 // 注意:此字段可能返回 null,表示取不到有效值。 Location *string `json:"Location,omitempty" name:"Location"` // 数据表属性信息。 // 注意:此字段可能返回 null,表示取不到有效值。 Properties []*Property `json:"Properties,omitempty" name:"Properties"` // 数据表更新时间, 单位: ms。 // 注意:此字段可能返回 null,表示取不到有效值。 ModifiedTime *string `json:"ModifiedTime,omitempty" name:"ModifiedTime"` // 数据表创建时间,单位: ms。 // 注意:此字段可能返回 null,表示取不到有效值。 CreateTime *string `json:"CreateTime,omitempty" name:"CreateTime"` // 数据格式。 // 注意:此字段可能返回 null,表示取不到有效值。 InputFormat *string `json:"InputFormat,omitempty" name:"InputFormat"` // 数据表存储大小(单位:Byte) // 注意:此字段可能返回 null,表示取不到有效值。 StorageSize *int64 `json:"StorageSize,omitempty" name:"StorageSize"` // 数据表行数 // 注意:此字段可能返回 null,表示取不到有效值。 RecordCount *int64 `json:"RecordCount,omitempty" name:"RecordCount"` }
type TaskResponseInfo ¶
type TaskResponseInfo struct { // 任务所属Database的名称。 DatabaseName *string `json:"DatabaseName,omitempty" name:"DatabaseName"` // 任务数据量。 DataAmount *int64 `json:"DataAmount,omitempty" name:"DataAmount"` // 任务Id。 Id *string `json:"Id,omitempty" name:"Id"` // 计算耗时,单位: ms UsedTime *int64 `json:"UsedTime,omitempty" name:"UsedTime"` // 任务输出路径。 OutputPath *string `json:"OutputPath,omitempty" name:"OutputPath"` // 任务创建时间。 CreateTime *string `json:"CreateTime,omitempty" name:"CreateTime"` // 任务状态:0 初始化, 1 执行中, 2 执行成功,-1 执行失败,-3 已取消。 State *int64 `json:"State,omitempty" name:"State"` // 任务SQL类型,DDL|DML等 SQLType *string `json:"SQLType,omitempty" name:"SQLType"` // 任务SQL语句 SQL *string `json:"SQL,omitempty" name:"SQL"` // 结果是否过期。 ResultExpired *bool `json:"ResultExpired,omitempty" name:"ResultExpired"` // 数据影响统计信息。 RowAffectInfo *string `json:"RowAffectInfo,omitempty" name:"RowAffectInfo"` // 任务结果数据表。 // 注意:此字段可能返回 null,表示取不到有效值。 DataSet *string `json:"DataSet,omitempty" name:"DataSet"` // 失败信息, 例如:errorMessage。该字段已废弃。 Error *string `json:"Error,omitempty" name:"Error"` // 任务执行进度num/100(%) Percentage *int64 `json:"Percentage,omitempty" name:"Percentage"` // 任务执行输出信息。 OutputMessage *string `json:"OutputMessage,omitempty" name:"OutputMessage"` // 执行SQL的引擎类型 TaskType *string `json:"TaskType,omitempty" name:"TaskType"` // 任务进度明细 // 注意:此字段可能返回 null,表示取不到有效值。 ProgressDetail *string `json:"ProgressDetail,omitempty" name:"ProgressDetail"` // 任务结束时间 // 注意:此字段可能返回 null,表示取不到有效值。 UpdateTime *string `json:"UpdateTime,omitempty" name:"UpdateTime"` // 计算资源id // 注意:此字段可能返回 null,表示取不到有效值。 DataEngineId *string `json:"DataEngineId,omitempty" name:"DataEngineId"` // 执行sql的子uin // 注意:此字段可能返回 null,表示取不到有效值。 OperateUin *string `json:"OperateUin,omitempty" name:"OperateUin"` // 计算资源名字 // 注意:此字段可能返回 null,表示取不到有效值。 DataEngineName *string `json:"DataEngineName,omitempty" name:"DataEngineName"` // 导入类型是本地导入还是cos // 注意:此字段可能返回 null,表示取不到有效值。 InputType *string `json:"InputType,omitempty" name:"InputType"` // 导入配置 // 注意:此字段可能返回 null,表示取不到有效值。 InputConf *string `json:"InputConf,omitempty" name:"InputConf"` // 数据条数 // 注意:此字段可能返回 null,表示取不到有效值。 DataNumber *int64 `json:"DataNumber,omitempty" name:"DataNumber"` // 查询数据能不能下载 // 注意:此字段可能返回 null,表示取不到有效值。 CanDownload *bool `json:"CanDownload,omitempty" name:"CanDownload"` // 用户别名 // 注意:此字段可能返回 null,表示取不到有效值。 UserAlias *string `json:"UserAlias,omitempty" name:"UserAlias"` // spark应用作业名 // 注意:此字段可能返回 null,表示取不到有效值。 SparkJobName *string `json:"SparkJobName,omitempty" name:"SparkJobName"` // spark应用作业Id // 注意:此字段可能返回 null,表示取不到有效值。 SparkJobId *string `json:"SparkJobId,omitempty" name:"SparkJobId"` // spark应用入口jar文件 // 注意:此字段可能返回 null,表示取不到有效值。 SparkJobFile *string `json:"SparkJobFile,omitempty" name:"SparkJobFile"` // spark ui url // 注意:此字段可能返回 null,表示取不到有效值。 UiUrl *string `json:"UiUrl,omitempty" name:"UiUrl"` // 任务耗时,单位: ms // 注意:此字段可能返回 null,表示取不到有效值。 TotalTime *int64 `json:"TotalTime,omitempty" name:"TotalTime"` }
type TaskResultInfo ¶ added in v1.0.318
type TaskResultInfo struct { // 任务唯一ID TaskId *string `json:"TaskId,omitempty" name:"TaskId"` // 数据源名称,当前任务执行时候选中的默认数据源 // 注意:此字段可能返回 null,表示取不到有效值。 DatasourceConnectionName *string `json:"DatasourceConnectionName,omitempty" name:"DatasourceConnectionName"` // 数据库名称,当前任务执行时候选中的默认数据库 // 注意:此字段可能返回 null,表示取不到有效值。 DatabaseName *string `json:"DatabaseName,omitempty" name:"DatabaseName"` // 当前执行的SQL,一个任务包含一个SQL SQL *string `json:"SQL,omitempty" name:"SQL"` // 执行任务的类型,现在分为DDL、DML、DQL SQLType *string `json:"SQLType,omitempty" name:"SQLType"` // 任务当前的状态,0:初始化 1:任务运行中 2:任务执行成功 -1:任务执行失败 -3:用户手动终止。只有任务执行成功的情况下,才会返回任务执行的结果 State *int64 `json:"State,omitempty" name:"State"` // 扫描的数据量,单位byte DataAmount *int64 `json:"DataAmount,omitempty" name:"DataAmount"` // 计算耗时,单位: ms UsedTime *int64 `json:"UsedTime,omitempty" name:"UsedTime"` // 任务结果输出的COS桶地址 OutputPath *string `json:"OutputPath,omitempty" name:"OutputPath"` // 任务创建时间,时间戳 CreateTime *string `json:"CreateTime,omitempty" name:"CreateTime"` // 任务执行信息,成功时返回success,失败时返回失败原因 OutputMessage *string `json:"OutputMessage,omitempty" name:"OutputMessage"` // 被影响的行数 RowAffectInfo *string `json:"RowAffectInfo,omitempty" name:"RowAffectInfo"` // 结果的schema信息 // 注意:此字段可能返回 null,表示取不到有效值。 ResultSchema []*Column `json:"ResultSchema,omitempty" name:"ResultSchema"` // 结果信息,反转义后,外层数组的每个元素为一行数据 // 注意:此字段可能返回 null,表示取不到有效值。 ResultSet *string `json:"ResultSet,omitempty" name:"ResultSet"` // 分页信息,如果没有更多结果数据,nextToken为空 NextToken *string `json:"NextToken,omitempty" name:"NextToken"` // 任务执行进度num/100(%) Percentage *int64 `json:"Percentage,omitempty" name:"Percentage"` // 任务进度明细 ProgressDetail *string `json:"ProgressDetail,omitempty" name:"ProgressDetail"` // 控制台展示格式。table:表格展示 text:文本展示 DisplayFormat *string `json:"DisplayFormat,omitempty" name:"DisplayFormat"` // 任务耗时,单位: ms TotalTime *int64 `json:"TotalTime,omitempty" name:"TotalTime"` }
type TasksInfo ¶ added in v1.0.216
type TasksInfo struct { // 任务类型,SQLTask:SQL查询任务。SparkSQLTask:Spark SQL查询任务 TaskType *string `json:"TaskType,omitempty" name:"TaskType"` // 容错策略。Proceed:前面任务出错/取消后继续执行后面的任务。Terminate:前面的任务出错/取消之后终止后面任务的执行,后面的任务全部标记为已取消。 FailureTolerance *string `json:"FailureTolerance,omitempty" name:"FailureTolerance"` // base64加密后的SQL语句,用";"号分隔每个SQL语句,一次最多提交50个任务。严格按照前后顺序执行 SQL *string `json:"SQL,omitempty" name:"SQL"` // 任务的配置信息,当前仅支持SparkSQLTask任务。 Config []*KVPair `json:"Config,omitempty" name:"Config"` // 任务的用户自定义参数信息 Params []*KVPair `json:"Params,omitempty" name:"Params"` }
type TasksOverview ¶ added in v1.0.486
type TasksOverview struct { // 正在排队的任务个数 TaskQueuedCount *int64 `json:"TaskQueuedCount,omitempty" name:"TaskQueuedCount"` // 初始化的任务个数 TaskInitCount *int64 `json:"TaskInitCount,omitempty" name:"TaskInitCount"` // 正在执行的任务个数 TaskRunningCount *int64 `json:"TaskRunningCount,omitempty" name:"TaskRunningCount"` // 当前时间范围的总任务个数 TotalTaskCount *int64 `json:"TotalTaskCount,omitempty" name:"TotalTaskCount"` }
type UnbindWorkGroupsFromUserRequest ¶ added in v1.0.206
type UnbindWorkGroupsFromUserRequest struct { *tchttp.BaseRequest // 解绑的工作组Id和用户Id的关联关系 AddInfo *WorkGroupIdSetOfUserId `json:"AddInfo,omitempty" name:"AddInfo"` }
func NewUnbindWorkGroupsFromUserRequest ¶ added in v1.0.206
func NewUnbindWorkGroupsFromUserRequest() (request *UnbindWorkGroupsFromUserRequest)
func (*UnbindWorkGroupsFromUserRequest) FromJsonString ¶ added in v1.0.206
func (r *UnbindWorkGroupsFromUserRequest) 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 (*UnbindWorkGroupsFromUserRequest) ToJsonString ¶ added in v1.0.206
func (r *UnbindWorkGroupsFromUserRequest) ToJsonString() string
type UnbindWorkGroupsFromUserRequestParams ¶ added in v1.0.426
type UnbindWorkGroupsFromUserRequestParams struct { // 解绑的工作组Id和用户Id的关联关系 AddInfo *WorkGroupIdSetOfUserId `json:"AddInfo,omitempty" name:"AddInfo"` }
Predefined struct for user
type UnbindWorkGroupsFromUserResponse ¶ added in v1.0.206
type UnbindWorkGroupsFromUserResponse struct { *tchttp.BaseResponse Response *UnbindWorkGroupsFromUserResponseParams `json:"Response"` }
func NewUnbindWorkGroupsFromUserResponse ¶ added in v1.0.206
func NewUnbindWorkGroupsFromUserResponse() (response *UnbindWorkGroupsFromUserResponse)
func (*UnbindWorkGroupsFromUserResponse) FromJsonString ¶ added in v1.0.206
func (r *UnbindWorkGroupsFromUserResponse) 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 (*UnbindWorkGroupsFromUserResponse) ToJsonString ¶ added in v1.0.206
func (r *UnbindWorkGroupsFromUserResponse) ToJsonString() string
type UnbindWorkGroupsFromUserResponseParams ¶ added in v1.0.426
type UnbindWorkGroupsFromUserResponseParams struct { // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type UnlockMetaDataRequest ¶ added in v1.0.432
type UnlockMetaDataRequest struct { *tchttp.BaseRequest // 锁ID LockId *int64 `json:"LockId,omitempty" name:"LockId"` // 数据源名称 DatasourceConnectionName *string `json:"DatasourceConnectionName,omitempty" name:"DatasourceConnectionName"` }
func NewUnlockMetaDataRequest ¶ added in v1.0.432
func NewUnlockMetaDataRequest() (request *UnlockMetaDataRequest)
func (*UnlockMetaDataRequest) FromJsonString ¶ added in v1.0.432
func (r *UnlockMetaDataRequest) 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 (*UnlockMetaDataRequest) ToJsonString ¶ added in v1.0.432
func (r *UnlockMetaDataRequest) ToJsonString() string
type UnlockMetaDataRequestParams ¶ added in v1.0.432
type UnlockMetaDataRequestParams struct { // 锁ID LockId *int64 `json:"LockId,omitempty" name:"LockId"` // 数据源名称 DatasourceConnectionName *string `json:"DatasourceConnectionName,omitempty" name:"DatasourceConnectionName"` }
Predefined struct for user
type UnlockMetaDataResponse ¶ added in v1.0.432
type UnlockMetaDataResponse struct { *tchttp.BaseResponse Response *UnlockMetaDataResponseParams `json:"Response"` }
func NewUnlockMetaDataResponse ¶ added in v1.0.432
func NewUnlockMetaDataResponse() (response *UnlockMetaDataResponse)
func (*UnlockMetaDataResponse) FromJsonString ¶ added in v1.0.432
func (r *UnlockMetaDataResponse) 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 (*UnlockMetaDataResponse) ToJsonString ¶ added in v1.0.432
func (r *UnlockMetaDataResponse) ToJsonString() string
type UnlockMetaDataResponseParams ¶ added in v1.0.432
type UnlockMetaDataResponseParams struct { // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type UserIdSetOfWorkGroupId ¶ added in v1.0.206
type UserInfo ¶ added in v1.0.206
type UserInfo struct { // 用户Id,和子用户uin相同 UserId *string `json:"UserId,omitempty" name:"UserId"` // 用户描述信息,方便区分不同用户 // 注意:此字段可能返回 null,表示取不到有效值。 UserDescription *string `json:"UserDescription,omitempty" name:"UserDescription"` // 单独给用户绑定的权限集合 // 注意:此字段可能返回 null,表示取不到有效值。 PolicySet []*Policy `json:"PolicySet,omitempty" name:"PolicySet"` // 当前用户的创建者 Creator *string `json:"Creator,omitempty" name:"Creator"` // 创建时间,格式如2021-07-28 16:19:32 CreateTime *string `json:"CreateTime,omitempty" name:"CreateTime"` // 关联的工作组集合 // 注意:此字段可能返回 null,表示取不到有效值。 WorkGroupSet []*WorkGroupMessage `json:"WorkGroupSet,omitempty" name:"WorkGroupSet"` // 是否是主账号 // 注意:此字段可能返回 null,表示取不到有效值。 IsOwner *bool `json:"IsOwner,omitempty" name:"IsOwner"` // 用户类型。ADMIN:管理员 COMMON:普通用户。 // 注意:此字段可能返回 null,表示取不到有效值。 UserType *string `json:"UserType,omitempty" name:"UserType"` // 用户别名 // 注意:此字段可能返回 null,表示取不到有效值。 UserAlias *string `json:"UserAlias,omitempty" name:"UserAlias"` }
type UserMessage ¶ added in v1.0.206
type UserMessage struct { // 用户Id,和CAM侧子用户Uin匹配 UserId *string `json:"UserId,omitempty" name:"UserId"` // 用户描述 // 注意:此字段可能返回 null,表示取不到有效值。 UserDescription *string `json:"UserDescription,omitempty" name:"UserDescription"` // 当前用户的创建者 Creator *string `json:"Creator,omitempty" name:"Creator"` // 当前用户的创建时间,形如2021-07-28 16:19:32 CreateTime *string `json:"CreateTime,omitempty" name:"CreateTime"` // 用户别名 UserAlias *string `json:"UserAlias,omitempty" name:"UserAlias"` }
type ViewBaseInfo ¶
type ViewBaseInfo struct { // 该视图所属数据库名字 DatabaseName *string `json:"DatabaseName,omitempty" name:"DatabaseName"` // 视图名称 ViewName *string `json:"ViewName,omitempty" name:"ViewName"` // 视图创建人昵称 UserAlias *string `json:"UserAlias,omitempty" name:"UserAlias"` // 视图创建人ID UserSubUin *string `json:"UserSubUin,omitempty" name:"UserSubUin"` }
type ViewResponseInfo ¶
type ViewResponseInfo struct { // 视图基本信息。 ViewBaseInfo *ViewBaseInfo `json:"ViewBaseInfo,omitempty" name:"ViewBaseInfo"` // 视图列信息。 // 注意:此字段可能返回 null,表示取不到有效值。 Columns []*Column `json:"Columns,omitempty" name:"Columns"` // 视图属性信息。 // 注意:此字段可能返回 null,表示取不到有效值。 Properties []*Property `json:"Properties,omitempty" name:"Properties"` // 视图创建时间。 CreateTime *string `json:"CreateTime,omitempty" name:"CreateTime"` // 视图更新时间。 ModifiedTime *string `json:"ModifiedTime,omitempty" name:"ModifiedTime"` }
type WorkGroupIdSetOfUserId ¶ added in v1.0.206
type WorkGroupInfo ¶ added in v1.0.206
type WorkGroupInfo struct { // 查询到的工作组唯一Id WorkGroupId *int64 `json:"WorkGroupId,omitempty" name:"WorkGroupId"` // 工作组名称 WorkGroupName *string `json:"WorkGroupName,omitempty" name:"WorkGroupName"` // 工作组描述 // 注意:此字段可能返回 null,表示取不到有效值。 WorkGroupDescription *string `json:"WorkGroupDescription,omitempty" name:"WorkGroupDescription"` // 工作组关联的用户数量 UserNum *int64 `json:"UserNum,omitempty" name:"UserNum"` // 工作组关联的用户集合 // 注意:此字段可能返回 null,表示取不到有效值。 UserSet []*UserMessage `json:"UserSet,omitempty" name:"UserSet"` // 工作组绑定的权限集合 // 注意:此字段可能返回 null,表示取不到有效值。 PolicySet []*Policy `json:"PolicySet,omitempty" name:"PolicySet"` // 工作组的创建人 Creator *string `json:"Creator,omitempty" name:"Creator"` // 工作组的创建时间,形如2021-07-28 16:19:32 CreateTime *string `json:"CreateTime,omitempty" name:"CreateTime"` }
type WorkGroupMessage ¶ added in v1.0.206
type WorkGroupMessage struct { // 工作组唯一Id WorkGroupId *int64 `json:"WorkGroupId,omitempty" name:"WorkGroupId"` // 工作组名称 WorkGroupName *string `json:"WorkGroupName,omitempty" name:"WorkGroupName"` // 工作组描述 // 注意:此字段可能返回 null,表示取不到有效值。 WorkGroupDescription *string `json:"WorkGroupDescription,omitempty" name:"WorkGroupDescription"` // 创建者 Creator *string `json:"Creator,omitempty" name:"Creator"` // 工作组创建的时间,形如2021-07-28 16:19:32 CreateTime *string `json:"CreateTime,omitempty" name:"CreateTime"` }