Documentation ¶
Index ¶
- Constants
- type CheckStep
- type CheckStepInfo
- type Client
- func (c *Client) CompleteMigrateJob(request *CompleteMigrateJobRequest) (response *CompleteMigrateJobResponse, err error)
- func (c *Client) CompleteMigrateJobWithContext(ctx context.Context, request *CompleteMigrateJobRequest) (response *CompleteMigrateJobResponse, err error)
- func (c *Client) ConfigureSyncJob(request *ConfigureSyncJobRequest) (response *ConfigureSyncJobResponse, err error)
- func (c *Client) ConfigureSyncJobWithContext(ctx context.Context, request *ConfigureSyncJobRequest) (response *ConfigureSyncJobResponse, err error)
- func (c *Client) ContinueMigrateJob(request *ContinueMigrateJobRequest) (response *ContinueMigrateJobResponse, err error)
- func (c *Client) ContinueMigrateJobWithContext(ctx context.Context, request *ContinueMigrateJobRequest) (response *ContinueMigrateJobResponse, err error)
- func (c *Client) ContinueSyncJob(request *ContinueSyncJobRequest) (response *ContinueSyncJobResponse, err error)
- func (c *Client) ContinueSyncJobWithContext(ctx context.Context, request *ContinueSyncJobRequest) (response *ContinueSyncJobResponse, err error)
- func (c *Client) CreateCheckSyncJob(request *CreateCheckSyncJobRequest) (response *CreateCheckSyncJobResponse, err error)
- func (c *Client) CreateCheckSyncJobWithContext(ctx context.Context, request *CreateCheckSyncJobRequest) (response *CreateCheckSyncJobResponse, err error)
- func (c *Client) CreateCompareTask(request *CreateCompareTaskRequest) (response *CreateCompareTaskResponse, err error)
- func (c *Client) CreateCompareTaskWithContext(ctx context.Context, request *CreateCompareTaskRequest) (response *CreateCompareTaskResponse, err error)
- func (c *Client) CreateMigrateCheckJob(request *CreateMigrateCheckJobRequest) (response *CreateMigrateCheckJobResponse, err error)
- func (c *Client) CreateMigrateCheckJobWithContext(ctx context.Context, request *CreateMigrateCheckJobRequest) (response *CreateMigrateCheckJobResponse, err error)
- func (c *Client) CreateMigrationService(request *CreateMigrationServiceRequest) (response *CreateMigrationServiceResponse, err error)
- func (c *Client) CreateMigrationServiceWithContext(ctx context.Context, request *CreateMigrationServiceRequest) (response *CreateMigrationServiceResponse, err error)
- func (c *Client) CreateModifyCheckSyncJob(request *CreateModifyCheckSyncJobRequest) (response *CreateModifyCheckSyncJobResponse, err error)
- func (c *Client) CreateModifyCheckSyncJobWithContext(ctx context.Context, request *CreateModifyCheckSyncJobRequest) (response *CreateModifyCheckSyncJobResponse, err error)
- func (c *Client) CreateSyncJob(request *CreateSyncJobRequest) (response *CreateSyncJobResponse, err error)
- func (c *Client) CreateSyncJobWithContext(ctx context.Context, request *CreateSyncJobRequest) (response *CreateSyncJobResponse, err error)
- func (c *Client) DeleteCompareTask(request *DeleteCompareTaskRequest) (response *DeleteCompareTaskResponse, err error)
- func (c *Client) DeleteCompareTaskWithContext(ctx context.Context, request *DeleteCompareTaskRequest) (response *DeleteCompareTaskResponse, err error)
- func (c *Client) DescribeCheckSyncJobResult(request *DescribeCheckSyncJobResultRequest) (response *DescribeCheckSyncJobResultResponse, err error)
- func (c *Client) DescribeCheckSyncJobResultWithContext(ctx context.Context, request *DescribeCheckSyncJobResultRequest) (response *DescribeCheckSyncJobResultResponse, err error)
- func (c *Client) DescribeCompareReport(request *DescribeCompareReportRequest) (response *DescribeCompareReportResponse, err error)
- func (c *Client) DescribeCompareReportWithContext(ctx context.Context, request *DescribeCompareReportRequest) (response *DescribeCompareReportResponse, err error)
- func (c *Client) DescribeCompareTasks(request *DescribeCompareTasksRequest) (response *DescribeCompareTasksResponse, err error)
- func (c *Client) DescribeCompareTasksWithContext(ctx context.Context, request *DescribeCompareTasksRequest) (response *DescribeCompareTasksResponse, err error)
- func (c *Client) DescribeMigrateDBInstances(request *DescribeMigrateDBInstancesRequest) (response *DescribeMigrateDBInstancesResponse, err error)
- func (c *Client) DescribeMigrateDBInstancesWithContext(ctx context.Context, request *DescribeMigrateDBInstancesRequest) (response *DescribeMigrateDBInstancesResponse, err error)
- func (c *Client) DescribeMigrationCheckJob(request *DescribeMigrationCheckJobRequest) (response *DescribeMigrationCheckJobResponse, err error)
- func (c *Client) DescribeMigrationCheckJobWithContext(ctx context.Context, request *DescribeMigrationCheckJobRequest) (response *DescribeMigrationCheckJobResponse, err error)
- func (c *Client) DescribeMigrationDetail(request *DescribeMigrationDetailRequest) (response *DescribeMigrationDetailResponse, err error)
- func (c *Client) DescribeMigrationDetailWithContext(ctx context.Context, request *DescribeMigrationDetailRequest) (response *DescribeMigrationDetailResponse, err error)
- func (c *Client) DescribeMigrationJobs(request *DescribeMigrationJobsRequest) (response *DescribeMigrationJobsResponse, err error)
- func (c *Client) DescribeMigrationJobsWithContext(ctx context.Context, request *DescribeMigrationJobsRequest) (response *DescribeMigrationJobsResponse, err error)
- func (c *Client) DescribeModifyCheckSyncJobResult(request *DescribeModifyCheckSyncJobResultRequest) (response *DescribeModifyCheckSyncJobResultResponse, err error)
- func (c *Client) DescribeModifyCheckSyncJobResultWithContext(ctx context.Context, request *DescribeModifyCheckSyncJobResultRequest) (response *DescribeModifyCheckSyncJobResultResponse, err error)
- func (c *Client) DescribeSyncJobs(request *DescribeSyncJobsRequest) (response *DescribeSyncJobsResponse, err error)
- func (c *Client) DescribeSyncJobsWithContext(ctx context.Context, request *DescribeSyncJobsRequest) (response *DescribeSyncJobsResponse, err error)
- func (c *Client) DestroyMigrateJob(request *DestroyMigrateJobRequest) (response *DestroyMigrateJobResponse, err error)
- func (c *Client) DestroyMigrateJobWithContext(ctx context.Context, request *DestroyMigrateJobRequest) (response *DestroyMigrateJobResponse, err error)
- func (c *Client) DestroySyncJob(request *DestroySyncJobRequest) (response *DestroySyncJobResponse, err error)
- func (c *Client) DestroySyncJobWithContext(ctx context.Context, request *DestroySyncJobRequest) (response *DestroySyncJobResponse, err error)
- func (c *Client) IsolateMigrateJob(request *IsolateMigrateJobRequest) (response *IsolateMigrateJobResponse, err error)
- func (c *Client) IsolateMigrateJobWithContext(ctx context.Context, request *IsolateMigrateJobRequest) (response *IsolateMigrateJobResponse, err error)
- func (c *Client) IsolateSyncJob(request *IsolateSyncJobRequest) (response *IsolateSyncJobResponse, err error)
- func (c *Client) IsolateSyncJobWithContext(ctx context.Context, request *IsolateSyncJobRequest) (response *IsolateSyncJobResponse, err error)
- func (c *Client) ModifyCompareTask(request *ModifyCompareTaskRequest) (response *ModifyCompareTaskResponse, err error)
- func (c *Client) ModifyCompareTaskName(request *ModifyCompareTaskNameRequest) (response *ModifyCompareTaskNameResponse, err error)
- func (c *Client) ModifyCompareTaskNameWithContext(ctx context.Context, request *ModifyCompareTaskNameRequest) (response *ModifyCompareTaskNameResponse, err error)
- func (c *Client) ModifyCompareTaskWithContext(ctx context.Context, request *ModifyCompareTaskRequest) (response *ModifyCompareTaskResponse, err error)
- func (c *Client) ModifyMigrateJobSpec(request *ModifyMigrateJobSpecRequest) (response *ModifyMigrateJobSpecResponse, err error)
- func (c *Client) ModifyMigrateJobSpecWithContext(ctx context.Context, request *ModifyMigrateJobSpecRequest) (response *ModifyMigrateJobSpecResponse, err error)
- func (c *Client) ModifyMigrateName(request *ModifyMigrateNameRequest) (response *ModifyMigrateNameResponse, err error)
- func (c *Client) ModifyMigrateNameWithContext(ctx context.Context, request *ModifyMigrateNameRequest) (response *ModifyMigrateNameResponse, err error)
- func (c *Client) ModifyMigrationJob(request *ModifyMigrationJobRequest) (response *ModifyMigrationJobResponse, err error)
- func (c *Client) ModifyMigrationJobWithContext(ctx context.Context, request *ModifyMigrationJobRequest) (response *ModifyMigrationJobResponse, err error)
- func (c *Client) ModifySyncJobConfig(request *ModifySyncJobConfigRequest) (response *ModifySyncJobConfigResponse, err error)
- func (c *Client) ModifySyncJobConfigWithContext(ctx context.Context, request *ModifySyncJobConfigRequest) (response *ModifySyncJobConfigResponse, err error)
- func (c *Client) PauseMigrateJob(request *PauseMigrateJobRequest) (response *PauseMigrateJobResponse, err error)
- func (c *Client) PauseMigrateJobWithContext(ctx context.Context, request *PauseMigrateJobRequest) (response *PauseMigrateJobResponse, err error)
- func (c *Client) PauseSyncJob(request *PauseSyncJobRequest) (response *PauseSyncJobResponse, err error)
- func (c *Client) PauseSyncJobWithContext(ctx context.Context, request *PauseSyncJobRequest) (response *PauseSyncJobResponse, err error)
- func (c *Client) RecoverMigrateJob(request *RecoverMigrateJobRequest) (response *RecoverMigrateJobResponse, err error)
- func (c *Client) RecoverMigrateJobWithContext(ctx context.Context, request *RecoverMigrateJobRequest) (response *RecoverMigrateJobResponse, err error)
- func (c *Client) RecoverSyncJob(request *RecoverSyncJobRequest) (response *RecoverSyncJobResponse, err error)
- func (c *Client) RecoverSyncJobWithContext(ctx context.Context, request *RecoverSyncJobRequest) (response *RecoverSyncJobResponse, err error)
- func (c *Client) ResizeSyncJob(request *ResizeSyncJobRequest) (response *ResizeSyncJobResponse, err error)
- func (c *Client) ResizeSyncJobWithContext(ctx context.Context, request *ResizeSyncJobRequest) (response *ResizeSyncJobResponse, err error)
- func (c *Client) ResumeMigrateJob(request *ResumeMigrateJobRequest) (response *ResumeMigrateJobResponse, err error)
- func (c *Client) ResumeMigrateJobWithContext(ctx context.Context, request *ResumeMigrateJobRequest) (response *ResumeMigrateJobResponse, err error)
- func (c *Client) ResumeSyncJob(request *ResumeSyncJobRequest) (response *ResumeSyncJobResponse, err error)
- func (c *Client) ResumeSyncJobWithContext(ctx context.Context, request *ResumeSyncJobRequest) (response *ResumeSyncJobResponse, err error)
- func (c *Client) SkipCheckItem(request *SkipCheckItemRequest) (response *SkipCheckItemResponse, err error)
- func (c *Client) SkipCheckItemWithContext(ctx context.Context, request *SkipCheckItemRequest) (response *SkipCheckItemResponse, err error)
- func (c *Client) SkipSyncCheckItem(request *SkipSyncCheckItemRequest) (response *SkipSyncCheckItemResponse, err error)
- func (c *Client) SkipSyncCheckItemWithContext(ctx context.Context, request *SkipSyncCheckItemRequest) (response *SkipSyncCheckItemResponse, err error)
- func (c *Client) StartCompare(request *StartCompareRequest) (response *StartCompareResponse, err error)
- func (c *Client) StartCompareWithContext(ctx context.Context, request *StartCompareRequest) (response *StartCompareResponse, err error)
- func (c *Client) StartMigrateJob(request *StartMigrateJobRequest) (response *StartMigrateJobResponse, err error)
- func (c *Client) StartMigrateJobWithContext(ctx context.Context, request *StartMigrateJobRequest) (response *StartMigrateJobResponse, err error)
- func (c *Client) StartModifySyncJob(request *StartModifySyncJobRequest) (response *StartModifySyncJobResponse, err error)
- func (c *Client) StartModifySyncJobWithContext(ctx context.Context, request *StartModifySyncJobRequest) (response *StartModifySyncJobResponse, err error)
- func (c *Client) StartSyncJob(request *StartSyncJobRequest) (response *StartSyncJobResponse, err error)
- func (c *Client) StartSyncJobWithContext(ctx context.Context, request *StartSyncJobRequest) (response *StartSyncJobResponse, err error)
- func (c *Client) StopCompare(request *StopCompareRequest) (response *StopCompareResponse, err error)
- func (c *Client) StopCompareWithContext(ctx context.Context, request *StopCompareRequest) (response *StopCompareResponse, err error)
- func (c *Client) StopMigrateJob(request *StopMigrateJobRequest) (response *StopMigrateJobResponse, err error)
- func (c *Client) StopMigrateJobWithContext(ctx context.Context, request *StopMigrateJobRequest) (response *StopMigrateJobResponse, err error)
- func (c *Client) StopSyncJob(request *StopSyncJobRequest) (response *StopSyncJobResponse, err error)
- func (c *Client) StopSyncJobWithContext(ctx context.Context, request *StopSyncJobRequest) (response *StopSyncJobResponse, err error)
- type CompareAbstractInfo
- type CompareDetailInfo
- type CompareObject
- type CompareObjectItem
- type CompareOptions
- type CompareTableItem
- type CompareTaskInfo
- type CompareTaskItem
- type CompareViewItem
- type CompleteMigrateJobRequest
- type CompleteMigrateJobRequestParams
- type CompleteMigrateJobResponse
- type CompleteMigrateJobResponseParams
- type ConfigureSyncJobRequest
- type ConfigureSyncJobRequestParams
- type ConfigureSyncJobResponse
- type ConfigureSyncJobResponseParams
- type ConflictHandleOption
- type ConsistencyOption
- type ContinueMigrateJobRequest
- type ContinueMigrateJobRequestParams
- type ContinueMigrateJobResponse
- type ContinueMigrateJobResponseParams
- type ContinueSyncJobRequest
- type ContinueSyncJobRequestParams
- type ContinueSyncJobResponse
- type ContinueSyncJobResponseParams
- type CreateCheckSyncJobRequest
- type CreateCheckSyncJobRequestParams
- type CreateCheckSyncJobResponse
- type CreateCheckSyncJobResponseParams
- type CreateCompareTaskRequest
- type CreateCompareTaskRequestParams
- type CreateCompareTaskResponse
- type CreateCompareTaskResponseParams
- type CreateMigrateCheckJobRequest
- type CreateMigrateCheckJobRequestParams
- type CreateMigrateCheckJobResponse
- type CreateMigrateCheckJobResponseParams
- type CreateMigrationServiceRequest
- type CreateMigrationServiceRequestParams
- type CreateMigrationServiceResponse
- type CreateMigrationServiceResponseParams
- type CreateModifyCheckSyncJobRequest
- type CreateModifyCheckSyncJobRequestParams
- type CreateModifyCheckSyncJobResponse
- type CreateModifyCheckSyncJobResponseParams
- type CreateSyncJobRequest
- type CreateSyncJobRequestParams
- type CreateSyncJobResponse
- type CreateSyncJobResponseParams
- type DBEndpointInfo
- type DBInfo
- type DBItem
- type Database
- type DatabaseTableObject
- type DdlOption
- type DeleteCompareTaskRequest
- type DeleteCompareTaskRequestParams
- type DeleteCompareTaskResponse
- type DeleteCompareTaskResponseParams
- type DescribeCheckSyncJobResultRequest
- type DescribeCheckSyncJobResultRequestParams
- type DescribeCheckSyncJobResultResponse
- type DescribeCheckSyncJobResultResponseParams
- type DescribeCompareReportRequest
- type DescribeCompareReportRequestParams
- type DescribeCompareReportResponse
- type DescribeCompareReportResponseParams
- type DescribeCompareTasksRequest
- type DescribeCompareTasksRequestParams
- type DescribeCompareTasksResponse
- type DescribeCompareTasksResponseParams
- type DescribeMigrateDBInstancesRequest
- type DescribeMigrateDBInstancesRequestParams
- type DescribeMigrateDBInstancesResponse
- type DescribeMigrateDBInstancesResponseParams
- type DescribeMigrationCheckJobRequest
- type DescribeMigrationCheckJobRequestParams
- type DescribeMigrationCheckJobResponse
- type DescribeMigrationCheckJobResponseParams
- type DescribeMigrationDetailRequest
- type DescribeMigrationDetailRequestParams
- type DescribeMigrationDetailResponse
- type DescribeMigrationDetailResponseParams
- type DescribeMigrationJobsRequest
- type DescribeMigrationJobsRequestParams
- type DescribeMigrationJobsResponse
- type DescribeMigrationJobsResponseParams
- type DescribeModifyCheckSyncJobResultRequest
- type DescribeModifyCheckSyncJobResultRequestParams
- type DescribeModifyCheckSyncJobResultResponse
- type DescribeModifyCheckSyncJobResultResponseParams
- type DescribeSyncJobsRequest
- type DescribeSyncJobsRequestParams
- type DescribeSyncJobsResponse
- type DescribeSyncJobsResponseParams
- type DestroyMigrateJobRequest
- type DestroyMigrateJobRequestParams
- type DestroyMigrateJobResponse
- type DestroyMigrateJobResponseParams
- type DestroySyncJobRequest
- type DestroySyncJobRequestParams
- type DestroySyncJobResponse
- type DestroySyncJobResponseParams
- type DetailCheckItem
- type DifferenceDetail
- type DifferenceItem
- type DynamicOptions
- type Endpoint
- type ErrInfo
- type ErrorInfoItem
- type IsolateMigrateJobRequest
- type IsolateMigrateJobRequestParams
- type IsolateMigrateJobResponse
- type IsolateMigrateJobResponseParams
- type IsolateSyncJobRequest
- type IsolateSyncJobRequestParams
- type IsolateSyncJobResponse
- type IsolateSyncJobResponseParams
- type JobItem
- type KafkaOption
- type KeyValuePairOption
- type MigrateAction
- type MigrateDBItem
- type MigrateDetailInfo
- type MigrateOption
- type ModifyCompareTaskNameRequest
- type ModifyCompareTaskNameRequestParams
- type ModifyCompareTaskNameResponse
- type ModifyCompareTaskNameResponseParams
- type ModifyCompareTaskRequest
- type ModifyCompareTaskRequestParams
- type ModifyCompareTaskResponse
- type ModifyCompareTaskResponseParams
- type ModifyMigrateJobSpecRequest
- type ModifyMigrateJobSpecRequestParams
- type ModifyMigrateJobSpecResponse
- type ModifyMigrateJobSpecResponseParams
- type ModifyMigrateNameRequest
- type ModifyMigrateNameRequestParams
- type ModifyMigrateNameResponse
- type ModifyMigrateNameResponseParams
- type ModifyMigrationJobRequest
- type ModifyMigrationJobRequestParams
- type ModifyMigrationJobResponse
- type ModifyMigrationJobResponseParams
- type ModifySyncJobConfigRequest
- type ModifySyncJobConfigRequestParams
- type ModifySyncJobConfigResponse
- type ModifySyncJobConfigResponseParams
- type Objects
- type OnlineDDL
- type Options
- type PauseMigrateJobRequest
- type PauseMigrateJobRequestParams
- type PauseMigrateJobResponse
- type PauseMigrateJobResponseParams
- type PauseSyncJobRequest
- type PauseSyncJobRequestParams
- type PauseSyncJobResponse
- type PauseSyncJobResponseParams
- type ProcessProgress
- type ProcessStepTip
- type RateLimitOption
- type RecoverMigrateJobRequest
- type RecoverMigrateJobRequestParams
- type RecoverMigrateJobResponse
- type RecoverMigrateJobResponseParams
- type RecoverSyncJobRequest
- type RecoverSyncJobRequestParams
- type RecoverSyncJobResponse
- type RecoverSyncJobResponseParams
- type ResizeSyncJobRequest
- type ResizeSyncJobRequestParams
- type ResizeSyncJobResponse
- type ResizeSyncJobResponseParams
- type ResumeMigrateJobRequest
- type ResumeMigrateJobRequestParams
- type ResumeMigrateJobResponse
- type ResumeMigrateJobResponseParams
- type ResumeSyncJobRequest
- type ResumeSyncJobRequestParams
- type ResumeSyncJobResponse
- type ResumeSyncJobResponseParams
- type RoleItem
- type SkipCheckItemRequest
- type SkipCheckItemRequestParams
- type SkipCheckItemResponse
- type SkipCheckItemResponseParams
- type SkipSyncCheckItemRequest
- type SkipSyncCheckItemRequestParams
- type SkipSyncCheckItemResponse
- type SkipSyncCheckItemResponseParams
- type SkippedDetail
- type SkippedItem
- type StartCompareRequest
- type StartCompareRequestParams
- type StartCompareResponse
- type StartCompareResponseParams
- type StartMigrateJobRequest
- type StartMigrateJobRequestParams
- type StartMigrateJobResponse
- type StartMigrateJobResponseParams
- type StartModifySyncJobRequest
- type StartModifySyncJobRequestParams
- type StartModifySyncJobResponse
- type StartModifySyncJobResponseParams
- type StartSyncJobRequest
- type StartSyncJobRequestParams
- type StartSyncJobResponse
- type StartSyncJobResponseParams
- type StepDetailInfo
- type StepInfo
- type StepTip
- type StopCompareRequest
- type StopCompareRequestParams
- type StopCompareResponse
- type StopCompareResponseParams
- type StopMigrateJobRequest
- type StopMigrateJobRequestParams
- type StopMigrateJobResponse
- type StopMigrateJobResponseParams
- type StopSyncJobRequest
- type StopSyncJobRequestParams
- type StopSyncJobResponse
- type StopSyncJobResponseParams
- type SyncDBEndpointInfos
- type SyncDetailInfo
- type SyncJobInfo
- type Table
- type TableItem
- type TagFilter
- type TagItem
- type TopicRule
- type TradeInfo
- type View
- type ViewItem
Constants ¶
const ( // The CAM signature/authentication information is incorrect. AUTHFAILURE = "AuthFailure" // Authentication failed. AUTHFAILURE_AUTHFAILUREERROR = "AuthFailure.AuthFailureError" // Authentication was denied. AUTHFAILURE_AUTHORIZEDOPERATIONDENYERROR = "AuthFailure.AuthorizedOperationDenyError" // The current user is not allowed to perform this operation as the authentication failed. AUTHFAILURE_UNAUTHORIZEDOPERATIONERROR = "AuthFailure.UnauthorizedOperationError" // DryRun operation, which means an unnecessary DryRun parameter is passed in yet the request will still be successful. DRYRUNOPERATION_DRYRUNOPERATIONERROR = "DryRunOperation.DryRunOperationError" // Operation failed. FAILEDOPERATION = "FailedOperation" // The operation failed. FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" // This operation is prohibited. FAILEDOPERATION_NOTALLOWOPERATION = "FailedOperation.NotAllowOperation" // Failed to start the task. FAILEDOPERATION_STARTJOBFAILED = "FailedOperation.StartJobFailed" // This operation cannot be performed due to a status conflict. FAILEDOPERATION_STATUSINCONFLICT = "FailedOperation.StatusInConflict" // An internal error occurred. INTERNALERROR = "InternalError" // Failed to create the async task. INTERNALERROR_ADDTASKERROR = "InternalError.AddTaskError" // An internal scheduling system error occurred. INTERNALERROR_CELERYERROR = "InternalError.CeleryError" // A CGW system error occurred. INTERNALERROR_CGWSYSTEMERROR = "InternalError.CgwSystemError" // Failed to access the database on the DTS platform. INTERNALERROR_DATABASEERROR = "InternalError.DatabaseError" // Migration tasks are in conflict. INTERNALERROR_DUPLICATEJOB = "InternalError.DuplicateJob" // An internal error occurred. INTERNALERROR_INTERNALERRORERROR = "InternalError.InternalErrorError" // An HTTP access request error occurred. INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError" // An error occurred while accessing the internal component. INTERNALERROR_INTERNALINNERCOMMONERROR = "InternalError.InternalInnerCommonError" // Failed to call the billing service. INTERNALERROR_INTERNALTRADEERROR = "InternalError.InternalTradeError" // Locks are in conflict. INTERNALERROR_LOCKERROR = "InternalError.LockError" // The account balance is insufficient. INTERNALERROR_NOTENOUGHMONEYERROR = "InternalError.NotEnoughMoneyError" // A communication protocol error occurred. INTERNALERROR_PROTOCOLERROR = "InternalError.ProtocolError" // An internal error occurred. INTERNALERROR_UNDEFINEDERROR = "InternalError.UndefinedError" // An unknown internal error occurred. INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" // The parameter is incorrect. INVALIDPARAMETER = "InvalidParameter" // The current API is not registered due to an exception. INVALIDPARAMETER_CONTROLLERNOTFOUNDERROR = "InvalidParameter.ControllerNotFoundError" // The instance does not exist. INVALIDPARAMETER_INSTANCENOTFOUND = "InvalidParameter.InstanceNotFound" // The parameter is invalid. INVALIDPARAMETER_INVALIDPARAMETERERROR = "InvalidParameter.InvalidParameterError" // Invalid parameter value. INVALIDPARAMETERVALUE = "InvalidParameterValue" // A data conversion error occurred. INVALIDPARAMETERVALUE_DATACONVERTERROR = "InvalidParameterValue.DataConvertError" // The parameter value is incorrect. INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUE = "InvalidParameterValue.InvalidParameterValue" // The parameter is invalid. INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" // The quantity exceeds the limit. LIMITEXCEEDED_LIMITEXCEEDEDERROR = "LimitExceeded.LimitExceededError" // The number of idle migration tasks exceeds the limit. LIMITEXCEEDED_MAXUNUSEDJOBS = "LimitExceeded.MaxUnusedJobs" // The parameter is missing. MISSINGPARAMETER = "MissingParameter" // The parameter is lost. MISSINGPARAMETER_MISSINGPARAMETERERROR = "MissingParameter.MissingParameterError" // The operation was denied. OPERATIONDENIED = "OperationDenied" // The operation was denied as the condition was not met. OPERATIONDENIED_BIZOPERATIONDENIEDERROR = "OperationDenied.BizOperationDeniedError" // The task operation failed. OPERATIONDENIED_JOBOPERATIONDENIEDERROR = "OperationDenied.JobOperationDeniedError" // The account balance is insufficient. OPERATIONDENIED_NOTENOUGHMONEYERROR = "OperationDenied.NotEnoughMoneyError" // The operation was denied. OPERATIONDENIED_OPERATIONDENIEDERROR = "OperationDenied.OperationDeniedError" // The number of requests exceeds the limit. REQUESTLIMITEXCEEDED_REQUESTLIMITEXCEEDEDERROR = "RequestLimitExceeded.RequestLimitExceededError" // The resource is being used. RESOURCEINUSE_RESOURCEINUSEERROR = "ResourceInUse.ResourceInUseError" // The resources are insufficient. RESOURCEINSUFFICIENT_RESOURCEINSUFFICIENTERROR = "ResourceInsufficient.ResourceInsufficientError" // The resource does not exist. RESOURCENOTFOUND = "ResourceNotFound" // The resource was not found. RESOURCENOTFOUND_BIZRESOURCENOTFOUNDERROR = "ResourceNotFound.BizResourceNotFoundError" // The migration task does not exist. RESOURCENOTFOUND_JOBNOTEXIST = "ResourceNotFound.JobNotExist" // The instance was not found. RESOURCENOTFOUND_RESOURCENOTFOUND = "ResourceNotFound.ResourceNotFound" // The resource was not found. RESOURCENOTFOUND_RESOURCENOTFOUNDERROR = "ResourceNotFound.ResourceNotFoundError" // The resource is unavailable. RESOURCEUNAVAILABLE_RESOURCEUNAVAILABLEERROR = "ResourceUnavailable.ResourceUnavailableError" // The resources have been sold out. RESOURCESSOLDOUT_RESOURCESSOLDOUTERROR = "ResourcesSoldOut.ResourcesSoldOutError" // The operation is unauthorized. UNAUTHORIZEDOPERATION = "UnauthorizedOperation" // Authentication failed as there were no required permissions. UNAUTHORIZEDOPERATION_NOTENOUGHPRIVILEGES = "UnauthorizedOperation.NotEnoughPrivileges" // The operation is unauthorized. UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied" // The operation is unauthorized. UNAUTHORIZEDOPERATION_UNAUTHORIZEDOPERATIONERROR = "UnauthorizedOperation.UnauthorizedOperationError" // The parameter is unknown. UNKNOWNPARAMETER = "UnknownParameter" // The parameter is unknown. UNKNOWNPARAMETER_UNKNOWNPARAMETERERROR = "UnknownParameter.UnknownParameterError" // The operation is not supported. UNSUPPORTEDOPERATION = "UnsupportedOperation" // The intranet user did not specify the required tags when creating the migration task. The **department**, **product**, and **owner** tags must be specified. UNSUPPORTEDOPERATION_INTRANETUSERNOTTAGGEDERROR = "UnsupportedOperation.IntraNetUserNotTaggedError" // The intranet user did not specify the required tags when creating the sync task. The **department**, **product**, and **owner** tags must be specified. UNSUPPORTEDOPERATION_INTRANETUSERNOTTAGGEDFORSYNCJOBERROR = "UnsupportedOperation.IntraNetUserNotTaggedForSyncJobError" // The operation is not supported. UNSUPPORTEDOPERATION_UNSUPPORTEDOPERATIONERROR = "UnsupportedOperation.UnsupportedOperationError" )
const APIVersion = "2021-12-06"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CheckStep ¶
type CheckStep struct { // Step number // Note: This field may return null, indicating that no valid values can be obtained. StepNo *uint64 `json:"StepNo,omitnil,omitempty" name:"StepNo"` // Step ID such as `ConnectDBCheck`, `VersionCheck`, and `SrcPrivilegeCheck`. The specific check items are subject to source and target instances. // Note: This field may return null, indicating that no valid values can be obtained. StepId *string `json:"StepId,omitnil,omitempty" name:"StepId"` // Step name // Note: This field may return null, indicating that no valid values can be obtained. StepName *string `json:"StepName,omitnil,omitempty" name:"StepName"` // Result of this check step. Valid values: `pass`, `failed`, `notStarted`, `blocked`, `warning`. // Note: This field may return null, indicating that no valid values can be obtained. StepStatus *string `json:"StepStatus,omitnil,omitempty" name:"StepStatus"` // Error message in this check step // Note: This field may return null, indicating that no valid values can be obtained. StepMessage *string `json:"StepMessage,omitnil,omitempty" name:"StepMessage"` // Specific check item in this check step // Note: This field may return null, indicating that no valid values can be obtained. DetailCheckItems []*DetailCheckItem `json:"DetailCheckItems,omitnil,omitempty" name:"DetailCheckItems"` // Whether this step was skipped // Note: This field may return null, indicating that no valid values can be obtained. HasSkipped *bool `json:"HasSkipped,omitnil,omitempty" name:"HasSkipped"` }
type CheckStepInfo ¶
type CheckStepInfo struct { // Task start time // Note: This field may return null, indicating that no valid values can be obtained. StartAt *string `json:"StartAt,omitnil,omitempty" name:"StartAt"` // Task end time // Note: This field may return null, indicating that no valid values can be obtained. EndAt *string `json:"EndAt,omitnil,omitempty" name:"EndAt"` // Task step information // Note: This field may return null, indicating that no valid values can be obtained. Progress *ProcessProgress `json:"Progress,omitnil,omitempty" name:"Progress"` }
type Client ¶
func NewClient ¶
func NewClient(credential common.CredentialIface, region string, clientProfile *profile.ClientProfile) (client *Client, err error)
func NewClientWithSecretId ¶
Deprecated
func (*Client) CompleteMigrateJob ¶
func (c *Client) CompleteMigrateJob(request *CompleteMigrateJobRequest) (response *CompleteMigrateJobResponse, err error)
CompleteMigrateJob This API is used to complete a data migration task.
For tasks in incremental migration mode, you need to call this API before migration gets ready for completion to stop migrating incremental data.
If the task status queried through the `DescribeMigrationJobs` API is ready (`Status` = `readyComplete), you can call this API to complete the migration task.
error code that may be returned:
AUTHFAILURE_AUTHFAILUREERROR = "AuthFailure.AuthFailureError" DRYRUNOPERATION_DRYRUNOPERATIONERROR = "DryRunOperation.DryRunOperationError" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" FAILEDOPERATION_NOTALLOWOPERATION = "FailedOperation.NotAllowOperation" FAILEDOPERATION_STATUSINCONFLICT = "FailedOperation.StatusInConflict" INTERNALERROR_CELERYERROR = "InternalError.CeleryError" INTERNALERROR_DATABASEERROR = "InternalError.DatabaseError" INTERNALERROR_DUPLICATEJOB = "InternalError.DuplicateJob" INTERNALERROR_INTERNALERRORERROR = "InternalError.InternalErrorError" INTERNALERROR_PROTOCOLERROR = "InternalError.ProtocolError" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_INVALIDPARAMETERERROR = "InvalidParameter.InvalidParameterError" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" LIMITEXCEEDED_LIMITEXCEEDEDERROR = "LimitExceeded.LimitExceededError" MISSINGPARAMETER_MISSINGPARAMETERERROR = "MissingParameter.MissingParameterError" OPERATIONDENIED_JOBOPERATIONDENIEDERROR = "OperationDenied.JobOperationDeniedError" OPERATIONDENIED_OPERATIONDENIEDERROR = "OperationDenied.OperationDeniedError" REQUESTLIMITEXCEEDED_REQUESTLIMITEXCEEDEDERROR = "RequestLimitExceeded.RequestLimitExceededError" RESOURCEINUSE_RESOURCEINUSEERROR = "ResourceInUse.ResourceInUseError" RESOURCEINSUFFICIENT_RESOURCEINSUFFICIENTERROR = "ResourceInsufficient.ResourceInsufficientError" RESOURCENOTFOUND_BIZRESOURCENOTFOUNDERROR = "ResourceNotFound.BizResourceNotFoundError" RESOURCENOTFOUND_JOBNOTEXIST = "ResourceNotFound.JobNotExist" RESOURCENOTFOUND_RESOURCENOTFOUNDERROR = "ResourceNotFound.ResourceNotFoundError" RESOURCEUNAVAILABLE_RESOURCEUNAVAILABLEERROR = "ResourceUnavailable.ResourceUnavailableError" RESOURCESSOLDOUT_RESOURCESSOLDOUTERROR = "ResourcesSoldOut.ResourcesSoldOutError" UNAUTHORIZEDOPERATION_NOTENOUGHPRIVILEGES = "UnauthorizedOperation.NotEnoughPrivileges" UNAUTHORIZEDOPERATION_UNAUTHORIZEDOPERATIONERROR = "UnauthorizedOperation.UnauthorizedOperationError" UNKNOWNPARAMETER_UNKNOWNPARAMETERERROR = "UnknownParameter.UnknownParameterError" UNSUPPORTEDOPERATION_UNSUPPORTEDOPERATIONERROR = "UnsupportedOperation.UnsupportedOperationError"
func (*Client) CompleteMigrateJobWithContext ¶
func (c *Client) CompleteMigrateJobWithContext(ctx context.Context, request *CompleteMigrateJobRequest) (response *CompleteMigrateJobResponse, err error)
CompleteMigrateJob This API is used to complete a data migration task.
For tasks in incremental migration mode, you need to call this API before migration gets ready for completion to stop migrating incremental data.
If the task status queried through the `DescribeMigrationJobs` API is ready (`Status` = `readyComplete), you can call this API to complete the migration task.
error code that may be returned:
AUTHFAILURE_AUTHFAILUREERROR = "AuthFailure.AuthFailureError" DRYRUNOPERATION_DRYRUNOPERATIONERROR = "DryRunOperation.DryRunOperationError" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" FAILEDOPERATION_NOTALLOWOPERATION = "FailedOperation.NotAllowOperation" FAILEDOPERATION_STATUSINCONFLICT = "FailedOperation.StatusInConflict" INTERNALERROR_CELERYERROR = "InternalError.CeleryError" INTERNALERROR_DATABASEERROR = "InternalError.DatabaseError" INTERNALERROR_DUPLICATEJOB = "InternalError.DuplicateJob" INTERNALERROR_INTERNALERRORERROR = "InternalError.InternalErrorError" INTERNALERROR_PROTOCOLERROR = "InternalError.ProtocolError" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_INVALIDPARAMETERERROR = "InvalidParameter.InvalidParameterError" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" LIMITEXCEEDED_LIMITEXCEEDEDERROR = "LimitExceeded.LimitExceededError" MISSINGPARAMETER_MISSINGPARAMETERERROR = "MissingParameter.MissingParameterError" OPERATIONDENIED_JOBOPERATIONDENIEDERROR = "OperationDenied.JobOperationDeniedError" OPERATIONDENIED_OPERATIONDENIEDERROR = "OperationDenied.OperationDeniedError" REQUESTLIMITEXCEEDED_REQUESTLIMITEXCEEDEDERROR = "RequestLimitExceeded.RequestLimitExceededError" RESOURCEINUSE_RESOURCEINUSEERROR = "ResourceInUse.ResourceInUseError" RESOURCEINSUFFICIENT_RESOURCEINSUFFICIENTERROR = "ResourceInsufficient.ResourceInsufficientError" RESOURCENOTFOUND_BIZRESOURCENOTFOUNDERROR = "ResourceNotFound.BizResourceNotFoundError" RESOURCENOTFOUND_JOBNOTEXIST = "ResourceNotFound.JobNotExist" RESOURCENOTFOUND_RESOURCENOTFOUNDERROR = "ResourceNotFound.ResourceNotFoundError" RESOURCEUNAVAILABLE_RESOURCEUNAVAILABLEERROR = "ResourceUnavailable.ResourceUnavailableError" RESOURCESSOLDOUT_RESOURCESSOLDOUTERROR = "ResourcesSoldOut.ResourcesSoldOutError" UNAUTHORIZEDOPERATION_NOTENOUGHPRIVILEGES = "UnauthorizedOperation.NotEnoughPrivileges" UNAUTHORIZEDOPERATION_UNAUTHORIZEDOPERATIONERROR = "UnauthorizedOperation.UnauthorizedOperationError" UNKNOWNPARAMETER_UNKNOWNPARAMETERERROR = "UnknownParameter.UnknownParameterError" UNSUPPORTEDOPERATION_UNSUPPORTEDOPERATIONERROR = "UnsupportedOperation.UnsupportedOperationError"
func (*Client) ConfigureSyncJob ¶
func (c *Client) ConfigureSyncJob(request *ConfigureSyncJobRequest) (response *ConfigureSyncJobResponse, err error)
ConfigureSyncJob This API is used to configure a sync task.
error code that may be returned:
INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" OPERATIONDENIED_OPERATIONDENIEDERROR = "OperationDenied.OperationDeniedError"
func (*Client) ConfigureSyncJobWithContext ¶
func (c *Client) ConfigureSyncJobWithContext(ctx context.Context, request *ConfigureSyncJobRequest) (response *ConfigureSyncJobResponse, err error)
ConfigureSyncJob This API is used to configure a sync task.
error code that may be returned:
INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" OPERATIONDENIED_OPERATIONDENIEDERROR = "OperationDenied.OperationDeniedError"
func (*Client) ContinueMigrateJob ¶
func (c *Client) ContinueMigrateJob(request *ContinueMigrateJobRequest) (response *ContinueMigrateJobResponse, err error)
ContinueMigrateJob This API is used to resume a paused migration task.
error code that may be returned:
INTERNALERROR_INTERNALERRORERROR = "InternalError.InternalErrorError" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" INVALIDPARAMETER_INVALIDPARAMETERERROR = "InvalidParameter.InvalidParameterError" OPERATIONDENIED_OPERATIONDENIEDERROR = "OperationDenied.OperationDeniedError" RESOURCENOTFOUND_RESOURCENOTFOUNDERROR = "ResourceNotFound.ResourceNotFoundError"
func (*Client) ContinueMigrateJobWithContext ¶
func (c *Client) ContinueMigrateJobWithContext(ctx context.Context, request *ContinueMigrateJobRequest) (response *ContinueMigrateJobResponse, err error)
ContinueMigrateJob This API is used to resume a paused migration task.
error code that may be returned:
INTERNALERROR_INTERNALERRORERROR = "InternalError.InternalErrorError" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" INVALIDPARAMETER_INVALIDPARAMETERERROR = "InvalidParameter.InvalidParameterError" OPERATIONDENIED_OPERATIONDENIEDERROR = "OperationDenied.OperationDeniedError" RESOURCENOTFOUND_RESOURCENOTFOUNDERROR = "ResourceNotFound.ResourceNotFoundError"
func (*Client) ContinueSyncJob ¶
func (c *Client) ContinueSyncJob(request *ContinueSyncJobRequest) (response *ContinueSyncJobResponse, err error)
ContinueSyncJob This API is used to resume a paused data sync task.
error code that may be returned:
INTERNALERROR_INTERNALERRORERROR = "InternalError.InternalErrorError" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" OPERATIONDENIED_BIZOPERATIONDENIEDERROR = "OperationDenied.BizOperationDeniedError" OPERATIONDENIED_OPERATIONDENIEDERROR = "OperationDenied.OperationDeniedError" RESOURCENOTFOUND = "ResourceNotFound" RESOURCENOTFOUND_BIZRESOURCENOTFOUNDERROR = "ResourceNotFound.BizResourceNotFoundError" RESOURCENOTFOUND_RESOURCENOTFOUND = "ResourceNotFound.ResourceNotFound" RESOURCENOTFOUND_RESOURCENOTFOUNDERROR = "ResourceNotFound.ResourceNotFoundError"
func (*Client) ContinueSyncJobWithContext ¶
func (c *Client) ContinueSyncJobWithContext(ctx context.Context, request *ContinueSyncJobRequest) (response *ContinueSyncJobResponse, err error)
ContinueSyncJob This API is used to resume a paused data sync task.
error code that may be returned:
INTERNALERROR_INTERNALERRORERROR = "InternalError.InternalErrorError" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" OPERATIONDENIED_BIZOPERATIONDENIEDERROR = "OperationDenied.BizOperationDeniedError" OPERATIONDENIED_OPERATIONDENIEDERROR = "OperationDenied.OperationDeniedError" RESOURCENOTFOUND = "ResourceNotFound" RESOURCENOTFOUND_BIZRESOURCENOTFOUNDERROR = "ResourceNotFound.BizResourceNotFoundError" RESOURCENOTFOUND_RESOURCENOTFOUND = "ResourceNotFound.ResourceNotFound" RESOURCENOTFOUND_RESOURCENOTFOUNDERROR = "ResourceNotFound.ResourceNotFoundError"
func (*Client) CreateCheckSyncJob ¶
func (c *Client) CreateCheckSyncJob(request *CreateCheckSyncJobRequest) (response *CreateCheckSyncJobResponse, err error)
CreateCheckSyncJob This API is used to verify a sync task by checking required parameters and peripheral configuration.
error code that may be returned:
INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" RESOURCENOTFOUND_RESOURCENOTFOUNDERROR = "ResourceNotFound.ResourceNotFoundError" UNSUPPORTEDOPERATION = "UnsupportedOperation" UNSUPPORTEDOPERATION_INTRANETUSERNOTTAGGEDERROR = "UnsupportedOperation.IntraNetUserNotTaggedError" UNSUPPORTEDOPERATION_INTRANETUSERNOTTAGGEDFORSYNCJOBERROR = "UnsupportedOperation.IntraNetUserNotTaggedForSyncJobError" UNSUPPORTEDOPERATION_UNSUPPORTEDOPERATIONERROR = "UnsupportedOperation.UnsupportedOperationError"
func (*Client) CreateCheckSyncJobWithContext ¶
func (c *Client) CreateCheckSyncJobWithContext(ctx context.Context, request *CreateCheckSyncJobRequest) (response *CreateCheckSyncJobResponse, err error)
CreateCheckSyncJob This API is used to verify a sync task by checking required parameters and peripheral configuration.
error code that may be returned:
INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" RESOURCENOTFOUND_RESOURCENOTFOUNDERROR = "ResourceNotFound.ResourceNotFoundError" UNSUPPORTEDOPERATION = "UnsupportedOperation" UNSUPPORTEDOPERATION_INTRANETUSERNOTTAGGEDERROR = "UnsupportedOperation.IntraNetUserNotTaggedError" UNSUPPORTEDOPERATION_INTRANETUSERNOTTAGGEDFORSYNCJOBERROR = "UnsupportedOperation.IntraNetUserNotTaggedForSyncJobError" UNSUPPORTEDOPERATION_UNSUPPORTEDOPERATIONERROR = "UnsupportedOperation.UnsupportedOperationError"
func (*Client) CreateCompareTask ¶
func (c *Client) CreateCompareTask(request *CreateCompareTaskRequest) (response *CreateCompareTaskResponse, err error)
CreateCompareTask This API is used to create a data consistency check task. After the task is successfully created, its ID will be returned in the format of `dts-8yv4w2i1-cmp-37skmii9`, and you can call `StartCompare` to start it.
error code that may be returned:
AUTHFAILURE_AUTHFAILUREERROR = "AuthFailure.AuthFailureError" DRYRUNOPERATION_DRYRUNOPERATIONERROR = "DryRunOperation.DryRunOperationError" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" INTERNALERROR_INTERNALERRORERROR = "InternalError.InternalErrorError" INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError" INVALIDPARAMETER_INVALIDPARAMETERERROR = "InvalidParameter.InvalidParameterError" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" LIMITEXCEEDED_LIMITEXCEEDEDERROR = "LimitExceeded.LimitExceededError" MISSINGPARAMETER_MISSINGPARAMETERERROR = "MissingParameter.MissingParameterError" OPERATIONDENIED_OPERATIONDENIEDERROR = "OperationDenied.OperationDeniedError" REQUESTLIMITEXCEEDED_REQUESTLIMITEXCEEDEDERROR = "RequestLimitExceeded.RequestLimitExceededError" RESOURCEINUSE_RESOURCEINUSEERROR = "ResourceInUse.ResourceInUseError" RESOURCEINSUFFICIENT_RESOURCEINSUFFICIENTERROR = "ResourceInsufficient.ResourceInsufficientError" RESOURCENOTFOUND_RESOURCENOTFOUNDERROR = "ResourceNotFound.ResourceNotFoundError" RESOURCEUNAVAILABLE_RESOURCEUNAVAILABLEERROR = "ResourceUnavailable.ResourceUnavailableError" RESOURCESSOLDOUT_RESOURCESSOLDOUTERROR = "ResourcesSoldOut.ResourcesSoldOutError" UNAUTHORIZEDOPERATION_UNAUTHORIZEDOPERATIONERROR = "UnauthorizedOperation.UnauthorizedOperationError" UNKNOWNPARAMETER_UNKNOWNPARAMETERERROR = "UnknownParameter.UnknownParameterError" UNSUPPORTEDOPERATION_UNSUPPORTEDOPERATIONERROR = "UnsupportedOperation.UnsupportedOperationError"
func (*Client) CreateCompareTaskWithContext ¶
func (c *Client) CreateCompareTaskWithContext(ctx context.Context, request *CreateCompareTaskRequest) (response *CreateCompareTaskResponse, err error)
CreateCompareTask This API is used to create a data consistency check task. After the task is successfully created, its ID will be returned in the format of `dts-8yv4w2i1-cmp-37skmii9`, and you can call `StartCompare` to start it.
error code that may be returned:
AUTHFAILURE_AUTHFAILUREERROR = "AuthFailure.AuthFailureError" DRYRUNOPERATION_DRYRUNOPERATIONERROR = "DryRunOperation.DryRunOperationError" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" INTERNALERROR_INTERNALERRORERROR = "InternalError.InternalErrorError" INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError" INVALIDPARAMETER_INVALIDPARAMETERERROR = "InvalidParameter.InvalidParameterError" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" LIMITEXCEEDED_LIMITEXCEEDEDERROR = "LimitExceeded.LimitExceededError" MISSINGPARAMETER_MISSINGPARAMETERERROR = "MissingParameter.MissingParameterError" OPERATIONDENIED_OPERATIONDENIEDERROR = "OperationDenied.OperationDeniedError" REQUESTLIMITEXCEEDED_REQUESTLIMITEXCEEDEDERROR = "RequestLimitExceeded.RequestLimitExceededError" RESOURCEINUSE_RESOURCEINUSEERROR = "ResourceInUse.ResourceInUseError" RESOURCEINSUFFICIENT_RESOURCEINSUFFICIENTERROR = "ResourceInsufficient.ResourceInsufficientError" RESOURCENOTFOUND_RESOURCENOTFOUNDERROR = "ResourceNotFound.ResourceNotFoundError" RESOURCEUNAVAILABLE_RESOURCEUNAVAILABLEERROR = "ResourceUnavailable.ResourceUnavailableError" RESOURCESSOLDOUT_RESOURCESSOLDOUTERROR = "ResourcesSoldOut.ResourcesSoldOutError" UNAUTHORIZEDOPERATION_UNAUTHORIZEDOPERATIONERROR = "UnauthorizedOperation.UnauthorizedOperationError" UNKNOWNPARAMETER_UNKNOWNPARAMETERERROR = "UnknownParameter.UnknownParameterError" UNSUPPORTEDOPERATION_UNSUPPORTEDOPERATIONERROR = "UnsupportedOperation.UnsupportedOperationError"
func (*Client) CreateMigrateCheckJob ¶
func (c *Client) CreateMigrateCheckJob(request *CreateMigrateCheckJobRequest) (response *CreateMigrateCheckJobResponse, err error)
CreateMigrateCheckJob This API is used to verify a migration task.
Before migration, you should call this API to create a check task. Migration will start only if the check succeeds. You can view the check result through the `DescribeMigrationCheckJob` API.
After successful check, if the migration task needs to be modified, a new check task should be created, and migration will start only after the new check succeeds.
error code that may be returned:
AUTHFAILURE_AUTHFAILUREERROR = "AuthFailure.AuthFailureError" DRYRUNOPERATION_DRYRUNOPERATIONERROR = "DryRunOperation.DryRunOperationError" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" FAILEDOPERATION_NOTALLOWOPERATION = "FailedOperation.NotAllowOperation" INTERNALERROR = "InternalError" INTERNALERROR_ADDTASKERROR = "InternalError.AddTaskError" INTERNALERROR_CELERYERROR = "InternalError.CeleryError" INTERNALERROR_CGWSYSTEMERROR = "InternalError.CgwSystemError" INTERNALERROR_DATABASEERROR = "InternalError.DatabaseError" INTERNALERROR_DUPLICATEJOB = "InternalError.DuplicateJob" INTERNALERROR_INTERNALERRORERROR = "InternalError.InternalErrorError" INTERNALERROR_LOCKERROR = "InternalError.LockError" INTERNALERROR_PROTOCOLERROR = "InternalError.ProtocolError" INTERNALERROR_UNDEFINEDERROR = "InternalError.UndefinedError" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_INSTANCENOTFOUND = "InvalidParameter.InstanceNotFound" INVALIDPARAMETER_INVALIDPARAMETERERROR = "InvalidParameter.InvalidParameterError" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" LIMITEXCEEDED_LIMITEXCEEDEDERROR = "LimitExceeded.LimitExceededError" LIMITEXCEEDED_MAXUNUSEDJOBS = "LimitExceeded.MaxUnusedJobs" MISSINGPARAMETER_MISSINGPARAMETERERROR = "MissingParameter.MissingParameterError" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_JOBOPERATIONDENIEDERROR = "OperationDenied.JobOperationDeniedError" OPERATIONDENIED_OPERATIONDENIEDERROR = "OperationDenied.OperationDeniedError" RESOURCEINUSE_RESOURCEINUSEERROR = "ResourceInUse.ResourceInUseError" RESOURCEINSUFFICIENT_RESOURCEINSUFFICIENTERROR = "ResourceInsufficient.ResourceInsufficientError" RESOURCENOTFOUND_JOBNOTEXIST = "ResourceNotFound.JobNotExist" RESOURCENOTFOUND_RESOURCENOTFOUNDERROR = "ResourceNotFound.ResourceNotFoundError" RESOURCEUNAVAILABLE_RESOURCEUNAVAILABLEERROR = "ResourceUnavailable.ResourceUnavailableError" RESOURCESSOLDOUT_RESOURCESSOLDOUTERROR = "ResourcesSoldOut.ResourcesSoldOutError" UNAUTHORIZEDOPERATION_NOTENOUGHPRIVILEGES = "UnauthorizedOperation.NotEnoughPrivileges" UNAUTHORIZEDOPERATION_UNAUTHORIZEDOPERATIONERROR = "UnauthorizedOperation.UnauthorizedOperationError" UNKNOWNPARAMETER_UNKNOWNPARAMETERERROR = "UnknownParameter.UnknownParameterError" UNSUPPORTEDOPERATION_INTRANETUSERNOTTAGGEDERROR = "UnsupportedOperation.IntraNetUserNotTaggedError" UNSUPPORTEDOPERATION_UNSUPPORTEDOPERATIONERROR = "UnsupportedOperation.UnsupportedOperationError"
func (*Client) CreateMigrateCheckJobWithContext ¶
func (c *Client) CreateMigrateCheckJobWithContext(ctx context.Context, request *CreateMigrateCheckJobRequest) (response *CreateMigrateCheckJobResponse, err error)
CreateMigrateCheckJob This API is used to verify a migration task.
Before migration, you should call this API to create a check task. Migration will start only if the check succeeds. You can view the check result through the `DescribeMigrationCheckJob` API.
After successful check, if the migration task needs to be modified, a new check task should be created, and migration will start only after the new check succeeds.
error code that may be returned:
AUTHFAILURE_AUTHFAILUREERROR = "AuthFailure.AuthFailureError" DRYRUNOPERATION_DRYRUNOPERATIONERROR = "DryRunOperation.DryRunOperationError" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" FAILEDOPERATION_NOTALLOWOPERATION = "FailedOperation.NotAllowOperation" INTERNALERROR = "InternalError" INTERNALERROR_ADDTASKERROR = "InternalError.AddTaskError" INTERNALERROR_CELERYERROR = "InternalError.CeleryError" INTERNALERROR_CGWSYSTEMERROR = "InternalError.CgwSystemError" INTERNALERROR_DATABASEERROR = "InternalError.DatabaseError" INTERNALERROR_DUPLICATEJOB = "InternalError.DuplicateJob" INTERNALERROR_INTERNALERRORERROR = "InternalError.InternalErrorError" INTERNALERROR_LOCKERROR = "InternalError.LockError" INTERNALERROR_PROTOCOLERROR = "InternalError.ProtocolError" INTERNALERROR_UNDEFINEDERROR = "InternalError.UndefinedError" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_INSTANCENOTFOUND = "InvalidParameter.InstanceNotFound" INVALIDPARAMETER_INVALIDPARAMETERERROR = "InvalidParameter.InvalidParameterError" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" LIMITEXCEEDED_LIMITEXCEEDEDERROR = "LimitExceeded.LimitExceededError" LIMITEXCEEDED_MAXUNUSEDJOBS = "LimitExceeded.MaxUnusedJobs" MISSINGPARAMETER_MISSINGPARAMETERERROR = "MissingParameter.MissingParameterError" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_JOBOPERATIONDENIEDERROR = "OperationDenied.JobOperationDeniedError" OPERATIONDENIED_OPERATIONDENIEDERROR = "OperationDenied.OperationDeniedError" RESOURCEINUSE_RESOURCEINUSEERROR = "ResourceInUse.ResourceInUseError" RESOURCEINSUFFICIENT_RESOURCEINSUFFICIENTERROR = "ResourceInsufficient.ResourceInsufficientError" RESOURCENOTFOUND_JOBNOTEXIST = "ResourceNotFound.JobNotExist" RESOURCENOTFOUND_RESOURCENOTFOUNDERROR = "ResourceNotFound.ResourceNotFoundError" RESOURCEUNAVAILABLE_RESOURCEUNAVAILABLEERROR = "ResourceUnavailable.ResourceUnavailableError" RESOURCESSOLDOUT_RESOURCESSOLDOUTERROR = "ResourcesSoldOut.ResourcesSoldOutError" UNAUTHORIZEDOPERATION_NOTENOUGHPRIVILEGES = "UnauthorizedOperation.NotEnoughPrivileges" UNAUTHORIZEDOPERATION_UNAUTHORIZEDOPERATIONERROR = "UnauthorizedOperation.UnauthorizedOperationError" UNKNOWNPARAMETER_UNKNOWNPARAMETERERROR = "UnknownParameter.UnknownParameterError" UNSUPPORTEDOPERATION_INTRANETUSERNOTTAGGEDERROR = "UnsupportedOperation.IntraNetUserNotTaggedError" UNSUPPORTEDOPERATION_UNSUPPORTEDOPERATIONERROR = "UnsupportedOperation.UnsupportedOperationError"
func (*Client) CreateMigrationService ¶
func (c *Client) CreateMigrationService(request *CreateMigrationServiceRequest) (response *CreateMigrationServiceResponse, err error)
CreateMigrationService This API is used to purchase migration tasks. After the tasks are purchased successfully, a randomly generated list of task IDs will be returned. You can also call the `DescribeMigrationJobs` API to query the IDs of the successfully purchased tasks. Note that once a task is purchased successfully, the types and regions of the source and target databases cannot be changed.
error code that may be returned:
AUTHFAILURE_AUTHFAILUREERROR = "AuthFailure.AuthFailureError" DRYRUNOPERATION_DRYRUNOPERATIONERROR = "DryRunOperation.DryRunOperationError" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" INTERNALERROR = "InternalError" INTERNALERROR_INTERNALERRORERROR = "InternalError.InternalErrorError" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" INVALIDPARAMETER_INVALIDPARAMETERERROR = "InvalidParameter.InvalidParameterError" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" LIMITEXCEEDED_LIMITEXCEEDEDERROR = "LimitExceeded.LimitExceededError" MISSINGPARAMETER_MISSINGPARAMETERERROR = "MissingParameter.MissingParameterError" OPERATIONDENIED_OPERATIONDENIEDERROR = "OperationDenied.OperationDeniedError" REQUESTLIMITEXCEEDED_REQUESTLIMITEXCEEDEDERROR = "RequestLimitExceeded.RequestLimitExceededError" RESOURCEINUSE_RESOURCEINUSEERROR = "ResourceInUse.ResourceInUseError" RESOURCEINSUFFICIENT_RESOURCEINSUFFICIENTERROR = "ResourceInsufficient.ResourceInsufficientError" RESOURCENOTFOUND_RESOURCENOTFOUNDERROR = "ResourceNotFound.ResourceNotFoundError" RESOURCEUNAVAILABLE_RESOURCEUNAVAILABLEERROR = "ResourceUnavailable.ResourceUnavailableError" RESOURCESSOLDOUT_RESOURCESSOLDOUTERROR = "ResourcesSoldOut.ResourcesSoldOutError" UNAUTHORIZEDOPERATION_UNAUTHORIZEDOPERATIONERROR = "UnauthorizedOperation.UnauthorizedOperationError" UNKNOWNPARAMETER_UNKNOWNPARAMETERERROR = "UnknownParameter.UnknownParameterError" UNSUPPORTEDOPERATION_UNSUPPORTEDOPERATIONERROR = "UnsupportedOperation.UnsupportedOperationError"
func (*Client) CreateMigrationServiceWithContext ¶
func (c *Client) CreateMigrationServiceWithContext(ctx context.Context, request *CreateMigrationServiceRequest) (response *CreateMigrationServiceResponse, err error)
CreateMigrationService This API is used to purchase migration tasks. After the tasks are purchased successfully, a randomly generated list of task IDs will be returned. You can also call the `DescribeMigrationJobs` API to query the IDs of the successfully purchased tasks. Note that once a task is purchased successfully, the types and regions of the source and target databases cannot be changed.
error code that may be returned:
AUTHFAILURE_AUTHFAILUREERROR = "AuthFailure.AuthFailureError" DRYRUNOPERATION_DRYRUNOPERATIONERROR = "DryRunOperation.DryRunOperationError" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" INTERNALERROR = "InternalError" INTERNALERROR_INTERNALERRORERROR = "InternalError.InternalErrorError" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" INVALIDPARAMETER_INVALIDPARAMETERERROR = "InvalidParameter.InvalidParameterError" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" LIMITEXCEEDED_LIMITEXCEEDEDERROR = "LimitExceeded.LimitExceededError" MISSINGPARAMETER_MISSINGPARAMETERERROR = "MissingParameter.MissingParameterError" OPERATIONDENIED_OPERATIONDENIEDERROR = "OperationDenied.OperationDeniedError" REQUESTLIMITEXCEEDED_REQUESTLIMITEXCEEDEDERROR = "RequestLimitExceeded.RequestLimitExceededError" RESOURCEINUSE_RESOURCEINUSEERROR = "ResourceInUse.ResourceInUseError" RESOURCEINSUFFICIENT_RESOURCEINSUFFICIENTERROR = "ResourceInsufficient.ResourceInsufficientError" RESOURCENOTFOUND_RESOURCENOTFOUNDERROR = "ResourceNotFound.ResourceNotFoundError" RESOURCEUNAVAILABLE_RESOURCEUNAVAILABLEERROR = "ResourceUnavailable.ResourceUnavailableError" RESOURCESSOLDOUT_RESOURCESSOLDOUTERROR = "ResourcesSoldOut.ResourcesSoldOutError" UNAUTHORIZEDOPERATION_UNAUTHORIZEDOPERATIONERROR = "UnauthorizedOperation.UnauthorizedOperationError" UNKNOWNPARAMETER_UNKNOWNPARAMETERERROR = "UnknownParameter.UnknownParameterError" UNSUPPORTEDOPERATION_UNSUPPORTEDOPERATIONERROR = "UnsupportedOperation.UnsupportedOperationError"
func (*Client) CreateModifyCheckSyncJob ¶
func (c *Client) CreateModifyCheckSyncJob(request *CreateModifyCheckSyncJobRequest) (response *CreateModifyCheckSyncJobResponse, err error)
CreateModifyCheckSyncJob This API is used to check whether the current data sync task supports object modification after the task configuration is modified.
error code that may be returned:
AUTHFAILURE_AUTHFAILUREERROR = "AuthFailure.AuthFailureError" DRYRUNOPERATION_DRYRUNOPERATIONERROR = "DryRunOperation.DryRunOperationError" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" INTERNALERROR = "InternalError" INTERNALERROR_INTERNALERRORERROR = "InternalError.InternalErrorError" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" INVALIDPARAMETER_INVALIDPARAMETERERROR = "InvalidParameter.InvalidParameterError" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" LIMITEXCEEDED_LIMITEXCEEDEDERROR = "LimitExceeded.LimitExceededError" MISSINGPARAMETER_MISSINGPARAMETERERROR = "MissingParameter.MissingParameterError" OPERATIONDENIED_OPERATIONDENIEDERROR = "OperationDenied.OperationDeniedError" REQUESTLIMITEXCEEDED_REQUESTLIMITEXCEEDEDERROR = "RequestLimitExceeded.RequestLimitExceededError" RESOURCEINUSE_RESOURCEINUSEERROR = "ResourceInUse.ResourceInUseError" RESOURCEINSUFFICIENT_RESOURCEINSUFFICIENTERROR = "ResourceInsufficient.ResourceInsufficientError" RESOURCENOTFOUND_RESOURCENOTFOUNDERROR = "ResourceNotFound.ResourceNotFoundError" RESOURCEUNAVAILABLE_RESOURCEUNAVAILABLEERROR = "ResourceUnavailable.ResourceUnavailableError" RESOURCESSOLDOUT_RESOURCESSOLDOUTERROR = "ResourcesSoldOut.ResourcesSoldOutError" UNAUTHORIZEDOPERATION_UNAUTHORIZEDOPERATIONERROR = "UnauthorizedOperation.UnauthorizedOperationError" UNKNOWNPARAMETER_UNKNOWNPARAMETERERROR = "UnknownParameter.UnknownParameterError" UNSUPPORTEDOPERATION_UNSUPPORTEDOPERATIONERROR = "UnsupportedOperation.UnsupportedOperationError"
func (*Client) CreateModifyCheckSyncJobWithContext ¶
func (c *Client) CreateModifyCheckSyncJobWithContext(ctx context.Context, request *CreateModifyCheckSyncJobRequest) (response *CreateModifyCheckSyncJobResponse, err error)
CreateModifyCheckSyncJob This API is used to check whether the current data sync task supports object modification after the task configuration is modified.
error code that may be returned:
AUTHFAILURE_AUTHFAILUREERROR = "AuthFailure.AuthFailureError" DRYRUNOPERATION_DRYRUNOPERATIONERROR = "DryRunOperation.DryRunOperationError" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" INTERNALERROR = "InternalError" INTERNALERROR_INTERNALERRORERROR = "InternalError.InternalErrorError" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" INVALIDPARAMETER_INVALIDPARAMETERERROR = "InvalidParameter.InvalidParameterError" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" LIMITEXCEEDED_LIMITEXCEEDEDERROR = "LimitExceeded.LimitExceededError" MISSINGPARAMETER_MISSINGPARAMETERERROR = "MissingParameter.MissingParameterError" OPERATIONDENIED_OPERATIONDENIEDERROR = "OperationDenied.OperationDeniedError" REQUESTLIMITEXCEEDED_REQUESTLIMITEXCEEDEDERROR = "RequestLimitExceeded.RequestLimitExceededError" RESOURCEINUSE_RESOURCEINUSEERROR = "ResourceInUse.ResourceInUseError" RESOURCEINSUFFICIENT_RESOURCEINSUFFICIENTERROR = "ResourceInsufficient.ResourceInsufficientError" RESOURCENOTFOUND_RESOURCENOTFOUNDERROR = "ResourceNotFound.ResourceNotFoundError" RESOURCEUNAVAILABLE_RESOURCEUNAVAILABLEERROR = "ResourceUnavailable.ResourceUnavailableError" RESOURCESSOLDOUT_RESOURCESSOLDOUTERROR = "ResourcesSoldOut.ResourcesSoldOutError" UNAUTHORIZEDOPERATION_UNAUTHORIZEDOPERATIONERROR = "UnauthorizedOperation.UnauthorizedOperationError" UNKNOWNPARAMETER_UNKNOWNPARAMETERERROR = "UnknownParameter.UnknownParameterError" UNSUPPORTEDOPERATION_UNSUPPORTEDOPERATIONERROR = "UnsupportedOperation.UnsupportedOperationError"
func (*Client) CreateSyncJob ¶
func (c *Client) CreateSyncJob(request *CreateSyncJobRequest) (response *CreateSyncJobResponse, err error)
CreateSyncJob This API is used to create a sync task.
error code that may be returned:
AUTHFAILURE_AUTHFAILUREERROR = "AuthFailure.AuthFailureError" AUTHFAILURE_UNAUTHORIZEDOPERATIONERROR = "AuthFailure.UnauthorizedOperationError" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" INTERNALERROR_INTERNALERRORERROR = "InternalError.InternalErrorError" INTERNALERROR_INTERNALINNERCOMMONERROR = "InternalError.InternalInnerCommonError" INTERNALERROR_INTERNALTRADEERROR = "InternalError.InternalTradeError" INTERNALERROR_NOTENOUGHMONEYERROR = "InternalError.NotEnoughMoneyError" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" OPERATIONDENIED_BIZOPERATIONDENIEDERROR = "OperationDenied.BizOperationDeniedError" OPERATIONDENIED_NOTENOUGHMONEYERROR = "OperationDenied.NotEnoughMoneyError" OPERATIONDENIED_OPERATIONDENIEDERROR = "OperationDenied.OperationDeniedError"
func (*Client) CreateSyncJobWithContext ¶
func (c *Client) CreateSyncJobWithContext(ctx context.Context, request *CreateSyncJobRequest) (response *CreateSyncJobResponse, err error)
CreateSyncJob This API is used to create a sync task.
error code that may be returned:
AUTHFAILURE_AUTHFAILUREERROR = "AuthFailure.AuthFailureError" AUTHFAILURE_UNAUTHORIZEDOPERATIONERROR = "AuthFailure.UnauthorizedOperationError" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" INTERNALERROR_INTERNALERRORERROR = "InternalError.InternalErrorError" INTERNALERROR_INTERNALINNERCOMMONERROR = "InternalError.InternalInnerCommonError" INTERNALERROR_INTERNALTRADEERROR = "InternalError.InternalTradeError" INTERNALERROR_NOTENOUGHMONEYERROR = "InternalError.NotEnoughMoneyError" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" OPERATIONDENIED_BIZOPERATIONDENIEDERROR = "OperationDenied.BizOperationDeniedError" OPERATIONDENIED_NOTENOUGHMONEYERROR = "OperationDenied.NotEnoughMoneyError" OPERATIONDENIED_OPERATIONDENIEDERROR = "OperationDenied.OperationDeniedError"
func (*Client) DeleteCompareTask ¶
func (c *Client) DeleteCompareTask(request *DeleteCompareTaskRequest) (response *DeleteCompareTaskResponse, err error)
DeleteCompareTask This API is used to delete a data consistency check task, which can be called when the task status is `success`, `failed`, or `canceled`.
error code that may be returned:
AUTHFAILURE_AUTHFAILUREERROR = "AuthFailure.AuthFailureError" DRYRUNOPERATION_DRYRUNOPERATIONERROR = "DryRunOperation.DryRunOperationError" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" INTERNALERROR_INTERNALERRORERROR = "InternalError.InternalErrorError" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" INVALIDPARAMETER_INVALIDPARAMETERERROR = "InvalidParameter.InvalidParameterError" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUE = "InvalidParameterValue.InvalidParameterValue" LIMITEXCEEDED_LIMITEXCEEDEDERROR = "LimitExceeded.LimitExceededError" MISSINGPARAMETER_MISSINGPARAMETERERROR = "MissingParameter.MissingParameterError" OPERATIONDENIED_OPERATIONDENIEDERROR = "OperationDenied.OperationDeniedError" REQUESTLIMITEXCEEDED_REQUESTLIMITEXCEEDEDERROR = "RequestLimitExceeded.RequestLimitExceededError" RESOURCEINUSE_RESOURCEINUSEERROR = "ResourceInUse.ResourceInUseError" RESOURCEINSUFFICIENT_RESOURCEINSUFFICIENTERROR = "ResourceInsufficient.ResourceInsufficientError" RESOURCENOTFOUND_RESOURCENOTFOUNDERROR = "ResourceNotFound.ResourceNotFoundError" RESOURCEUNAVAILABLE_RESOURCEUNAVAILABLEERROR = "ResourceUnavailable.ResourceUnavailableError" RESOURCESSOLDOUT_RESOURCESSOLDOUTERROR = "ResourcesSoldOut.ResourcesSoldOutError" UNAUTHORIZEDOPERATION_UNAUTHORIZEDOPERATIONERROR = "UnauthorizedOperation.UnauthorizedOperationError" UNKNOWNPARAMETER_UNKNOWNPARAMETERERROR = "UnknownParameter.UnknownParameterError" UNSUPPORTEDOPERATION_UNSUPPORTEDOPERATIONERROR = "UnsupportedOperation.UnsupportedOperationError"
func (*Client) DeleteCompareTaskWithContext ¶
func (c *Client) DeleteCompareTaskWithContext(ctx context.Context, request *DeleteCompareTaskRequest) (response *DeleteCompareTaskResponse, err error)
DeleteCompareTask This API is used to delete a data consistency check task, which can be called when the task status is `success`, `failed`, or `canceled`.
error code that may be returned:
AUTHFAILURE_AUTHFAILUREERROR = "AuthFailure.AuthFailureError" DRYRUNOPERATION_DRYRUNOPERATIONERROR = "DryRunOperation.DryRunOperationError" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" INTERNALERROR_INTERNALERRORERROR = "InternalError.InternalErrorError" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" INVALIDPARAMETER_INVALIDPARAMETERERROR = "InvalidParameter.InvalidParameterError" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUE = "InvalidParameterValue.InvalidParameterValue" LIMITEXCEEDED_LIMITEXCEEDEDERROR = "LimitExceeded.LimitExceededError" MISSINGPARAMETER_MISSINGPARAMETERERROR = "MissingParameter.MissingParameterError" OPERATIONDENIED_OPERATIONDENIEDERROR = "OperationDenied.OperationDeniedError" REQUESTLIMITEXCEEDED_REQUESTLIMITEXCEEDEDERROR = "RequestLimitExceeded.RequestLimitExceededError" RESOURCEINUSE_RESOURCEINUSEERROR = "ResourceInUse.ResourceInUseError" RESOURCEINSUFFICIENT_RESOURCEINSUFFICIENTERROR = "ResourceInsufficient.ResourceInsufficientError" RESOURCENOTFOUND_RESOURCENOTFOUNDERROR = "ResourceNotFound.ResourceNotFoundError" RESOURCEUNAVAILABLE_RESOURCEUNAVAILABLEERROR = "ResourceUnavailable.ResourceUnavailableError" RESOURCESSOLDOUT_RESOURCESSOLDOUTERROR = "ResourcesSoldOut.ResourcesSoldOutError" UNAUTHORIZEDOPERATION_UNAUTHORIZEDOPERATIONERROR = "UnauthorizedOperation.UnauthorizedOperationError" UNKNOWNPARAMETER_UNKNOWNPARAMETERERROR = "UnknownParameter.UnknownParameterError" UNSUPPORTEDOPERATION_UNSUPPORTEDOPERATIONERROR = "UnsupportedOperation.UnsupportedOperationError"
func (*Client) DescribeCheckSyncJobResult ¶
func (c *Client) DescribeCheckSyncJobResult(request *DescribeCheckSyncJobResultRequest) (response *DescribeCheckSyncJobResultResponse, err error)
DescribeCheckSyncJobResult This API is used to query the result of the sync check task and check the required parameters and peripheral configurations.
error code that may be returned:
INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" RESOURCENOTFOUND_BIZRESOURCENOTFOUNDERROR = "ResourceNotFound.BizResourceNotFoundError" RESOURCENOTFOUND_RESOURCENOTFOUNDERROR = "ResourceNotFound.ResourceNotFoundError"
func (*Client) DescribeCheckSyncJobResultWithContext ¶
func (c *Client) DescribeCheckSyncJobResultWithContext(ctx context.Context, request *DescribeCheckSyncJobResultRequest) (response *DescribeCheckSyncJobResultResponse, err error)
DescribeCheckSyncJobResult This API is used to query the result of the sync check task and check the required parameters and peripheral configurations.
error code that may be returned:
INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" RESOURCENOTFOUND_BIZRESOURCENOTFOUNDERROR = "ResourceNotFound.BizResourceNotFoundError" RESOURCENOTFOUND_RESOURCENOTFOUNDERROR = "ResourceNotFound.ResourceNotFoundError"
func (*Client) DescribeCompareReport ¶
func (c *Client) DescribeCompareReport(request *DescribeCompareReportRequest) (response *DescribeCompareReportResponse, err error)
DescribeCompareReport This API is used to query the details of a data consistency check task.
error code that may be returned:
AUTHFAILURE_AUTHFAILUREERROR = "AuthFailure.AuthFailureError" DRYRUNOPERATION_DRYRUNOPERATIONERROR = "DryRunOperation.DryRunOperationError" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" INTERNALERROR_INTERNALERRORERROR = "InternalError.InternalErrorError" INVALIDPARAMETER_INVALIDPARAMETERERROR = "InvalidParameter.InvalidParameterError" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" LIMITEXCEEDED_LIMITEXCEEDEDERROR = "LimitExceeded.LimitExceededError" MISSINGPARAMETER_MISSINGPARAMETERERROR = "MissingParameter.MissingParameterError" OPERATIONDENIED_OPERATIONDENIEDERROR = "OperationDenied.OperationDeniedError" REQUESTLIMITEXCEEDED_REQUESTLIMITEXCEEDEDERROR = "RequestLimitExceeded.RequestLimitExceededError" RESOURCEINUSE_RESOURCEINUSEERROR = "ResourceInUse.ResourceInUseError" RESOURCEINSUFFICIENT_RESOURCEINSUFFICIENTERROR = "ResourceInsufficient.ResourceInsufficientError" RESOURCENOTFOUND_RESOURCENOTFOUNDERROR = "ResourceNotFound.ResourceNotFoundError" RESOURCEUNAVAILABLE_RESOURCEUNAVAILABLEERROR = "ResourceUnavailable.ResourceUnavailableError" RESOURCESSOLDOUT_RESOURCESSOLDOUTERROR = "ResourcesSoldOut.ResourcesSoldOutError" UNAUTHORIZEDOPERATION_UNAUTHORIZEDOPERATIONERROR = "UnauthorizedOperation.UnauthorizedOperationError" UNKNOWNPARAMETER_UNKNOWNPARAMETERERROR = "UnknownParameter.UnknownParameterError" UNSUPPORTEDOPERATION_UNSUPPORTEDOPERATIONERROR = "UnsupportedOperation.UnsupportedOperationError"
func (*Client) DescribeCompareReportWithContext ¶
func (c *Client) DescribeCompareReportWithContext(ctx context.Context, request *DescribeCompareReportRequest) (response *DescribeCompareReportResponse, err error)
DescribeCompareReport This API is used to query the details of a data consistency check task.
error code that may be returned:
AUTHFAILURE_AUTHFAILUREERROR = "AuthFailure.AuthFailureError" DRYRUNOPERATION_DRYRUNOPERATIONERROR = "DryRunOperation.DryRunOperationError" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" INTERNALERROR_INTERNALERRORERROR = "InternalError.InternalErrorError" INVALIDPARAMETER_INVALIDPARAMETERERROR = "InvalidParameter.InvalidParameterError" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" LIMITEXCEEDED_LIMITEXCEEDEDERROR = "LimitExceeded.LimitExceededError" MISSINGPARAMETER_MISSINGPARAMETERERROR = "MissingParameter.MissingParameterError" OPERATIONDENIED_OPERATIONDENIEDERROR = "OperationDenied.OperationDeniedError" REQUESTLIMITEXCEEDED_REQUESTLIMITEXCEEDEDERROR = "RequestLimitExceeded.RequestLimitExceededError" RESOURCEINUSE_RESOURCEINUSEERROR = "ResourceInUse.ResourceInUseError" RESOURCEINSUFFICIENT_RESOURCEINSUFFICIENTERROR = "ResourceInsufficient.ResourceInsufficientError" RESOURCENOTFOUND_RESOURCENOTFOUNDERROR = "ResourceNotFound.ResourceNotFoundError" RESOURCEUNAVAILABLE_RESOURCEUNAVAILABLEERROR = "ResourceUnavailable.ResourceUnavailableError" RESOURCESSOLDOUT_RESOURCESSOLDOUTERROR = "ResourcesSoldOut.ResourcesSoldOutError" UNAUTHORIZEDOPERATION_UNAUTHORIZEDOPERATIONERROR = "UnauthorizedOperation.UnauthorizedOperationError" UNKNOWNPARAMETER_UNKNOWNPARAMETERERROR = "UnknownParameter.UnknownParameterError" UNSUPPORTEDOPERATION_UNSUPPORTEDOPERATIONERROR = "UnsupportedOperation.UnsupportedOperationError"
func (*Client) DescribeCompareTasks ¶
func (c *Client) DescribeCompareTasks(request *DescribeCompareTasksRequest) (response *DescribeCompareTasksResponse, err error)
DescribeCompareTasks This API is used to query the list of data consistency check tasks under the current task.
error code that may be returned:
AUTHFAILURE_AUTHFAILUREERROR = "AuthFailure.AuthFailureError" DRYRUNOPERATION_DRYRUNOPERATIONERROR = "DryRunOperation.DryRunOperationError" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" INTERNALERROR_INTERNALERRORERROR = "InternalError.InternalErrorError" INVALIDPARAMETER_INVALIDPARAMETERERROR = "InvalidParameter.InvalidParameterError" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" LIMITEXCEEDED_LIMITEXCEEDEDERROR = "LimitExceeded.LimitExceededError" MISSINGPARAMETER_MISSINGPARAMETERERROR = "MissingParameter.MissingParameterError" OPERATIONDENIED_OPERATIONDENIEDERROR = "OperationDenied.OperationDeniedError" REQUESTLIMITEXCEEDED_REQUESTLIMITEXCEEDEDERROR = "RequestLimitExceeded.RequestLimitExceededError" RESOURCEINUSE_RESOURCEINUSEERROR = "ResourceInUse.ResourceInUseError" RESOURCEINSUFFICIENT_RESOURCEINSUFFICIENTERROR = "ResourceInsufficient.ResourceInsufficientError" RESOURCENOTFOUND_BIZRESOURCENOTFOUNDERROR = "ResourceNotFound.BizResourceNotFoundError" RESOURCENOTFOUND_RESOURCENOTFOUNDERROR = "ResourceNotFound.ResourceNotFoundError" RESOURCEUNAVAILABLE_RESOURCEUNAVAILABLEERROR = "ResourceUnavailable.ResourceUnavailableError" RESOURCESSOLDOUT_RESOURCESSOLDOUTERROR = "ResourcesSoldOut.ResourcesSoldOutError" UNAUTHORIZEDOPERATION_UNAUTHORIZEDOPERATIONERROR = "UnauthorizedOperation.UnauthorizedOperationError" UNKNOWNPARAMETER_UNKNOWNPARAMETERERROR = "UnknownParameter.UnknownParameterError" UNSUPPORTEDOPERATION_UNSUPPORTEDOPERATIONERROR = "UnsupportedOperation.UnsupportedOperationError"
func (*Client) DescribeCompareTasksWithContext ¶
func (c *Client) DescribeCompareTasksWithContext(ctx context.Context, request *DescribeCompareTasksRequest) (response *DescribeCompareTasksResponse, err error)
DescribeCompareTasks This API is used to query the list of data consistency check tasks under the current task.
error code that may be returned:
AUTHFAILURE_AUTHFAILUREERROR = "AuthFailure.AuthFailureError" DRYRUNOPERATION_DRYRUNOPERATIONERROR = "DryRunOperation.DryRunOperationError" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" INTERNALERROR_INTERNALERRORERROR = "InternalError.InternalErrorError" INVALIDPARAMETER_INVALIDPARAMETERERROR = "InvalidParameter.InvalidParameterError" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" LIMITEXCEEDED_LIMITEXCEEDEDERROR = "LimitExceeded.LimitExceededError" MISSINGPARAMETER_MISSINGPARAMETERERROR = "MissingParameter.MissingParameterError" OPERATIONDENIED_OPERATIONDENIEDERROR = "OperationDenied.OperationDeniedError" REQUESTLIMITEXCEEDED_REQUESTLIMITEXCEEDEDERROR = "RequestLimitExceeded.RequestLimitExceededError" RESOURCEINUSE_RESOURCEINUSEERROR = "ResourceInUse.ResourceInUseError" RESOURCEINSUFFICIENT_RESOURCEINSUFFICIENTERROR = "ResourceInsufficient.ResourceInsufficientError" RESOURCENOTFOUND_BIZRESOURCENOTFOUNDERROR = "ResourceNotFound.BizResourceNotFoundError" RESOURCENOTFOUND_RESOURCENOTFOUNDERROR = "ResourceNotFound.ResourceNotFoundError" RESOURCEUNAVAILABLE_RESOURCEUNAVAILABLEERROR = "ResourceUnavailable.ResourceUnavailableError" RESOURCESSOLDOUT_RESOURCESSOLDOUTERROR = "ResourcesSoldOut.ResourcesSoldOutError" UNAUTHORIZEDOPERATION_UNAUTHORIZEDOPERATIONERROR = "UnauthorizedOperation.UnauthorizedOperationError" UNKNOWNPARAMETER_UNKNOWNPARAMETERERROR = "UnknownParameter.UnknownParameterError" UNSUPPORTEDOPERATION_UNSUPPORTEDOPERATIONERROR = "UnsupportedOperation.UnsupportedOperationError"
func (*Client) DescribeMigrateDBInstances ¶
func (c *Client) DescribeMigrateDBInstances(request *DescribeMigrateDBInstancesRequest) (response *DescribeMigrateDBInstancesResponse, err error)
DescribeMigrateDBInstances This API is used to query migratable database instances.
error code that may be returned:
AUTHFAILURE = "AuthFailure" AUTHFAILURE_AUTHFAILUREERROR = "AuthFailure.AuthFailureError" AUTHFAILURE_UNAUTHORIZEDOPERATIONERROR = "AuthFailure.UnauthorizedOperationError" DRYRUNOPERATION_DRYRUNOPERATIONERROR = "DryRunOperation.DryRunOperationError" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" INTERNALERROR = "InternalError" INTERNALERROR_INTERNALERRORERROR = "InternalError.InternalErrorError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_INVALIDPARAMETERERROR = "InvalidParameter.InvalidParameterError" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" LIMITEXCEEDED_LIMITEXCEEDEDERROR = "LimitExceeded.LimitExceededError" MISSINGPARAMETER = "MissingParameter" MISSINGPARAMETER_MISSINGPARAMETERERROR = "MissingParameter.MissingParameterError" OPERATIONDENIED_OPERATIONDENIEDERROR = "OperationDenied.OperationDeniedError" REQUESTLIMITEXCEEDED_REQUESTLIMITEXCEEDEDERROR = "RequestLimitExceeded.RequestLimitExceededError" RESOURCEINUSE_RESOURCEINUSEERROR = "ResourceInUse.ResourceInUseError" RESOURCEINSUFFICIENT_RESOURCEINSUFFICIENTERROR = "ResourceInsufficient.ResourceInsufficientError" RESOURCENOTFOUND = "ResourceNotFound" RESOURCENOTFOUND_BIZRESOURCENOTFOUNDERROR = "ResourceNotFound.BizResourceNotFoundError" RESOURCENOTFOUND_RESOURCENOTFOUND = "ResourceNotFound.ResourceNotFound" RESOURCENOTFOUND_RESOURCENOTFOUNDERROR = "ResourceNotFound.ResourceNotFoundError" RESOURCEUNAVAILABLE_RESOURCEUNAVAILABLEERROR = "ResourceUnavailable.ResourceUnavailableError" RESOURCESSOLDOUT_RESOURCESSOLDOUTERROR = "ResourcesSoldOut.ResourcesSoldOutError" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied" UNAUTHORIZEDOPERATION_UNAUTHORIZEDOPERATIONERROR = "UnauthorizedOperation.UnauthorizedOperationError" UNKNOWNPARAMETER = "UnknownParameter" UNKNOWNPARAMETER_UNKNOWNPARAMETERERROR = "UnknownParameter.UnknownParameterError" UNSUPPORTEDOPERATION = "UnsupportedOperation" UNSUPPORTEDOPERATION_UNSUPPORTEDOPERATIONERROR = "UnsupportedOperation.UnsupportedOperationError"
func (*Client) DescribeMigrateDBInstancesWithContext ¶
func (c *Client) DescribeMigrateDBInstancesWithContext(ctx context.Context, request *DescribeMigrateDBInstancesRequest) (response *DescribeMigrateDBInstancesResponse, err error)
DescribeMigrateDBInstances This API is used to query migratable database instances.
error code that may be returned:
AUTHFAILURE = "AuthFailure" AUTHFAILURE_AUTHFAILUREERROR = "AuthFailure.AuthFailureError" AUTHFAILURE_UNAUTHORIZEDOPERATIONERROR = "AuthFailure.UnauthorizedOperationError" DRYRUNOPERATION_DRYRUNOPERATIONERROR = "DryRunOperation.DryRunOperationError" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" INTERNALERROR = "InternalError" INTERNALERROR_INTERNALERRORERROR = "InternalError.InternalErrorError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_INVALIDPARAMETERERROR = "InvalidParameter.InvalidParameterError" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" LIMITEXCEEDED_LIMITEXCEEDEDERROR = "LimitExceeded.LimitExceededError" MISSINGPARAMETER = "MissingParameter" MISSINGPARAMETER_MISSINGPARAMETERERROR = "MissingParameter.MissingParameterError" OPERATIONDENIED_OPERATIONDENIEDERROR = "OperationDenied.OperationDeniedError" REQUESTLIMITEXCEEDED_REQUESTLIMITEXCEEDEDERROR = "RequestLimitExceeded.RequestLimitExceededError" RESOURCEINUSE_RESOURCEINUSEERROR = "ResourceInUse.ResourceInUseError" RESOURCEINSUFFICIENT_RESOURCEINSUFFICIENTERROR = "ResourceInsufficient.ResourceInsufficientError" RESOURCENOTFOUND = "ResourceNotFound" RESOURCENOTFOUND_BIZRESOURCENOTFOUNDERROR = "ResourceNotFound.BizResourceNotFoundError" RESOURCENOTFOUND_RESOURCENOTFOUND = "ResourceNotFound.ResourceNotFound" RESOURCENOTFOUND_RESOURCENOTFOUNDERROR = "ResourceNotFound.ResourceNotFoundError" RESOURCEUNAVAILABLE_RESOURCEUNAVAILABLEERROR = "ResourceUnavailable.ResourceUnavailableError" RESOURCESSOLDOUT_RESOURCESSOLDOUTERROR = "ResourcesSoldOut.ResourcesSoldOutError" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied" UNAUTHORIZEDOPERATION_UNAUTHORIZEDOPERATIONERROR = "UnauthorizedOperation.UnauthorizedOperationError" UNKNOWNPARAMETER = "UnknownParameter" UNKNOWNPARAMETER_UNKNOWNPARAMETERERROR = "UnknownParameter.UnknownParameterError" UNSUPPORTEDOPERATION = "UnsupportedOperation" UNSUPPORTEDOPERATION_UNSUPPORTEDOPERATIONERROR = "UnsupportedOperation.UnsupportedOperationError"
func (*Client) DescribeMigrationCheckJob ¶
func (c *Client) DescribeMigrationCheckJob(request *DescribeMigrationCheckJobRequest) (response *DescribeMigrationCheckJobResponse, err error)
DescribeMigrationCheckJob This API is used to get the check result and query the check status and progress after a check is created.
If the check succeeds, you can call the `StartMigrateJob` API to start migration.
If the check fails, the cause can be queried. Modify the migration configuration or adjust relevant parameters of the source/target instances through the `ModifyMigrationJob` API based on the error message.
error code that may be returned:
AUTHFAILURE_AUTHFAILUREERROR = "AuthFailure.AuthFailureError" DRYRUNOPERATION_DRYRUNOPERATIONERROR = "DryRunOperation.DryRunOperationError" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" INTERNALERROR_INTERNALERRORERROR = "InternalError.InternalErrorError" INVALIDPARAMETER_INVALIDPARAMETERERROR = "InvalidParameter.InvalidParameterError" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" LIMITEXCEEDED_LIMITEXCEEDEDERROR = "LimitExceeded.LimitExceededError" MISSINGPARAMETER_MISSINGPARAMETERERROR = "MissingParameter.MissingParameterError" OPERATIONDENIED_OPERATIONDENIEDERROR = "OperationDenied.OperationDeniedError" REQUESTLIMITEXCEEDED_REQUESTLIMITEXCEEDEDERROR = "RequestLimitExceeded.RequestLimitExceededError" RESOURCEINUSE_RESOURCEINUSEERROR = "ResourceInUse.ResourceInUseError" RESOURCEINSUFFICIENT_RESOURCEINSUFFICIENTERROR = "ResourceInsufficient.ResourceInsufficientError" RESOURCENOTFOUND_RESOURCENOTFOUNDERROR = "ResourceNotFound.ResourceNotFoundError" RESOURCEUNAVAILABLE_RESOURCEUNAVAILABLEERROR = "ResourceUnavailable.ResourceUnavailableError" RESOURCESSOLDOUT_RESOURCESSOLDOUTERROR = "ResourcesSoldOut.ResourcesSoldOutError" UNAUTHORIZEDOPERATION_UNAUTHORIZEDOPERATIONERROR = "UnauthorizedOperation.UnauthorizedOperationError" UNKNOWNPARAMETER_UNKNOWNPARAMETERERROR = "UnknownParameter.UnknownParameterError" UNSUPPORTEDOPERATION_UNSUPPORTEDOPERATIONERROR = "UnsupportedOperation.UnsupportedOperationError"
func (*Client) DescribeMigrationCheckJobWithContext ¶
func (c *Client) DescribeMigrationCheckJobWithContext(ctx context.Context, request *DescribeMigrationCheckJobRequest) (response *DescribeMigrationCheckJobResponse, err error)
DescribeMigrationCheckJob This API is used to get the check result and query the check status and progress after a check is created.
If the check succeeds, you can call the `StartMigrateJob` API to start migration.
If the check fails, the cause can be queried. Modify the migration configuration or adjust relevant parameters of the source/target instances through the `ModifyMigrationJob` API based on the error message.
error code that may be returned:
AUTHFAILURE_AUTHFAILUREERROR = "AuthFailure.AuthFailureError" DRYRUNOPERATION_DRYRUNOPERATIONERROR = "DryRunOperation.DryRunOperationError" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" INTERNALERROR_INTERNALERRORERROR = "InternalError.InternalErrorError" INVALIDPARAMETER_INVALIDPARAMETERERROR = "InvalidParameter.InvalidParameterError" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" LIMITEXCEEDED_LIMITEXCEEDEDERROR = "LimitExceeded.LimitExceededError" MISSINGPARAMETER_MISSINGPARAMETERERROR = "MissingParameter.MissingParameterError" OPERATIONDENIED_OPERATIONDENIEDERROR = "OperationDenied.OperationDeniedError" REQUESTLIMITEXCEEDED_REQUESTLIMITEXCEEDEDERROR = "RequestLimitExceeded.RequestLimitExceededError" RESOURCEINUSE_RESOURCEINUSEERROR = "ResourceInUse.ResourceInUseError" RESOURCEINSUFFICIENT_RESOURCEINSUFFICIENTERROR = "ResourceInsufficient.ResourceInsufficientError" RESOURCENOTFOUND_RESOURCENOTFOUNDERROR = "ResourceNotFound.ResourceNotFoundError" RESOURCEUNAVAILABLE_RESOURCEUNAVAILABLEERROR = "ResourceUnavailable.ResourceUnavailableError" RESOURCESSOLDOUT_RESOURCESSOLDOUTERROR = "ResourcesSoldOut.ResourcesSoldOutError" UNAUTHORIZEDOPERATION_UNAUTHORIZEDOPERATIONERROR = "UnauthorizedOperation.UnauthorizedOperationError" UNKNOWNPARAMETER_UNKNOWNPARAMETERERROR = "UnknownParameter.UnknownParameterError" UNSUPPORTEDOPERATION_UNSUPPORTEDOPERATIONERROR = "UnsupportedOperation.UnsupportedOperationError"
func (*Client) DescribeMigrationDetail ¶
func (c *Client) DescribeMigrationDetail(request *DescribeMigrationDetailRequest) (response *DescribeMigrationDetailResponse, err error)
DescribeMigrationDetail This API is used to query the details of a migration task.
error code that may be returned:
AUTHFAILURE_AUTHFAILUREERROR = "AuthFailure.AuthFailureError" DRYRUNOPERATION_DRYRUNOPERATIONERROR = "DryRunOperation.DryRunOperationError" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" INTERNALERROR_INTERNALERRORERROR = "InternalError.InternalErrorError" INVALIDPARAMETER_CONTROLLERNOTFOUNDERROR = "InvalidParameter.ControllerNotFoundError" INVALIDPARAMETER_INVALIDPARAMETERERROR = "InvalidParameter.InvalidParameterError" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" LIMITEXCEEDED_LIMITEXCEEDEDERROR = "LimitExceeded.LimitExceededError" MISSINGPARAMETER_MISSINGPARAMETERERROR = "MissingParameter.MissingParameterError" OPERATIONDENIED_OPERATIONDENIEDERROR = "OperationDenied.OperationDeniedError" REQUESTLIMITEXCEEDED_REQUESTLIMITEXCEEDEDERROR = "RequestLimitExceeded.RequestLimitExceededError" RESOURCEINUSE_RESOURCEINUSEERROR = "ResourceInUse.ResourceInUseError" RESOURCEINSUFFICIENT_RESOURCEINSUFFICIENTERROR = "ResourceInsufficient.ResourceInsufficientError" RESOURCENOTFOUND_RESOURCENOTFOUNDERROR = "ResourceNotFound.ResourceNotFoundError" RESOURCEUNAVAILABLE_RESOURCEUNAVAILABLEERROR = "ResourceUnavailable.ResourceUnavailableError" RESOURCESSOLDOUT_RESOURCESSOLDOUTERROR = "ResourcesSoldOut.ResourcesSoldOutError" UNAUTHORIZEDOPERATION_UNAUTHORIZEDOPERATIONERROR = "UnauthorizedOperation.UnauthorizedOperationError" UNKNOWNPARAMETER_UNKNOWNPARAMETERERROR = "UnknownParameter.UnknownParameterError" UNSUPPORTEDOPERATION_UNSUPPORTEDOPERATIONERROR = "UnsupportedOperation.UnsupportedOperationError"
func (*Client) DescribeMigrationDetailWithContext ¶
func (c *Client) DescribeMigrationDetailWithContext(ctx context.Context, request *DescribeMigrationDetailRequest) (response *DescribeMigrationDetailResponse, err error)
DescribeMigrationDetail This API is used to query the details of a migration task.
error code that may be returned:
AUTHFAILURE_AUTHFAILUREERROR = "AuthFailure.AuthFailureError" DRYRUNOPERATION_DRYRUNOPERATIONERROR = "DryRunOperation.DryRunOperationError" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" INTERNALERROR_INTERNALERRORERROR = "InternalError.InternalErrorError" INVALIDPARAMETER_CONTROLLERNOTFOUNDERROR = "InvalidParameter.ControllerNotFoundError" INVALIDPARAMETER_INVALIDPARAMETERERROR = "InvalidParameter.InvalidParameterError" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" LIMITEXCEEDED_LIMITEXCEEDEDERROR = "LimitExceeded.LimitExceededError" MISSINGPARAMETER_MISSINGPARAMETERERROR = "MissingParameter.MissingParameterError" OPERATIONDENIED_OPERATIONDENIEDERROR = "OperationDenied.OperationDeniedError" REQUESTLIMITEXCEEDED_REQUESTLIMITEXCEEDEDERROR = "RequestLimitExceeded.RequestLimitExceededError" RESOURCEINUSE_RESOURCEINUSEERROR = "ResourceInUse.ResourceInUseError" RESOURCEINSUFFICIENT_RESOURCEINSUFFICIENTERROR = "ResourceInsufficient.ResourceInsufficientError" RESOURCENOTFOUND_RESOURCENOTFOUNDERROR = "ResourceNotFound.ResourceNotFoundError" RESOURCEUNAVAILABLE_RESOURCEUNAVAILABLEERROR = "ResourceUnavailable.ResourceUnavailableError" RESOURCESSOLDOUT_RESOURCESSOLDOUTERROR = "ResourcesSoldOut.ResourcesSoldOutError" UNAUTHORIZEDOPERATION_UNAUTHORIZEDOPERATIONERROR = "UnauthorizedOperation.UnauthorizedOperationError" UNKNOWNPARAMETER_UNKNOWNPARAMETERERROR = "UnknownParameter.UnknownParameterError" UNSUPPORTEDOPERATION_UNSUPPORTEDOPERATIONERROR = "UnsupportedOperation.UnsupportedOperationError"
func (*Client) DescribeMigrationJobs ¶
func (c *Client) DescribeMigrationJobs(request *DescribeMigrationJobsRequest) (response *DescribeMigrationJobsResponse, err error)
DescribeMigrationJobs This API is used to query the list of data migration tasks.
error code that may be returned:
AUTHFAILURE_AUTHFAILUREERROR = "AuthFailure.AuthFailureError" DRYRUNOPERATION_DRYRUNOPERATIONERROR = "DryRunOperation.DryRunOperationError" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" INTERNALERROR_INTERNALERRORERROR = "InternalError.InternalErrorError" INVALIDPARAMETER_CONTROLLERNOTFOUNDERROR = "InvalidParameter.ControllerNotFoundError" INVALIDPARAMETER_INVALIDPARAMETERERROR = "InvalidParameter.InvalidParameterError" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" LIMITEXCEEDED_LIMITEXCEEDEDERROR = "LimitExceeded.LimitExceededError" MISSINGPARAMETER_MISSINGPARAMETERERROR = "MissingParameter.MissingParameterError" REQUESTLIMITEXCEEDED_REQUESTLIMITEXCEEDEDERROR = "RequestLimitExceeded.RequestLimitExceededError" RESOURCEINUSE_RESOURCEINUSEERROR = "ResourceInUse.ResourceInUseError" RESOURCEINSUFFICIENT_RESOURCEINSUFFICIENTERROR = "ResourceInsufficient.ResourceInsufficientError" RESOURCENOTFOUND_BIZRESOURCENOTFOUNDERROR = "ResourceNotFound.BizResourceNotFoundError" RESOURCENOTFOUND_RESOURCENOTFOUNDERROR = "ResourceNotFound.ResourceNotFoundError" RESOURCEUNAVAILABLE_RESOURCEUNAVAILABLEERROR = "ResourceUnavailable.ResourceUnavailableError" RESOURCESSOLDOUT_RESOURCESSOLDOUTERROR = "ResourcesSoldOut.ResourcesSoldOutError" UNAUTHORIZEDOPERATION_UNAUTHORIZEDOPERATIONERROR = "UnauthorizedOperation.UnauthorizedOperationError" UNKNOWNPARAMETER_UNKNOWNPARAMETERERROR = "UnknownParameter.UnknownParameterError" UNSUPPORTEDOPERATION_UNSUPPORTEDOPERATIONERROR = "UnsupportedOperation.UnsupportedOperationError"
func (*Client) DescribeMigrationJobsWithContext ¶
func (c *Client) DescribeMigrationJobsWithContext(ctx context.Context, request *DescribeMigrationJobsRequest) (response *DescribeMigrationJobsResponse, err error)
DescribeMigrationJobs This API is used to query the list of data migration tasks.
error code that may be returned:
AUTHFAILURE_AUTHFAILUREERROR = "AuthFailure.AuthFailureError" DRYRUNOPERATION_DRYRUNOPERATIONERROR = "DryRunOperation.DryRunOperationError" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" INTERNALERROR_INTERNALERRORERROR = "InternalError.InternalErrorError" INVALIDPARAMETER_CONTROLLERNOTFOUNDERROR = "InvalidParameter.ControllerNotFoundError" INVALIDPARAMETER_INVALIDPARAMETERERROR = "InvalidParameter.InvalidParameterError" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" LIMITEXCEEDED_LIMITEXCEEDEDERROR = "LimitExceeded.LimitExceededError" MISSINGPARAMETER_MISSINGPARAMETERERROR = "MissingParameter.MissingParameterError" REQUESTLIMITEXCEEDED_REQUESTLIMITEXCEEDEDERROR = "RequestLimitExceeded.RequestLimitExceededError" RESOURCEINUSE_RESOURCEINUSEERROR = "ResourceInUse.ResourceInUseError" RESOURCEINSUFFICIENT_RESOURCEINSUFFICIENTERROR = "ResourceInsufficient.ResourceInsufficientError" RESOURCENOTFOUND_BIZRESOURCENOTFOUNDERROR = "ResourceNotFound.BizResourceNotFoundError" RESOURCENOTFOUND_RESOURCENOTFOUNDERROR = "ResourceNotFound.ResourceNotFoundError" RESOURCEUNAVAILABLE_RESOURCEUNAVAILABLEERROR = "ResourceUnavailable.ResourceUnavailableError" RESOURCESSOLDOUT_RESOURCESSOLDOUTERROR = "ResourcesSoldOut.ResourcesSoldOutError" UNAUTHORIZEDOPERATION_UNAUTHORIZEDOPERATIONERROR = "UnauthorizedOperation.UnauthorizedOperationError" UNKNOWNPARAMETER_UNKNOWNPARAMETERERROR = "UnknownParameter.UnknownParameterError" UNSUPPORTEDOPERATION_UNSUPPORTEDOPERATIONERROR = "UnsupportedOperation.UnsupportedOperationError"
func (*Client) DescribeModifyCheckSyncJobResult ¶
func (c *Client) DescribeModifyCheckSyncJobResult(request *DescribeModifyCheckSyncJobResultRequest) (response *DescribeModifyCheckSyncJobResultResponse, err error)
DescribeModifyCheckSyncJobResult This API is used to query the result of the created check task for object modification.
error code that may be returned:
INVALIDPARAMETER_INVALIDPARAMETERERROR = "InvalidParameter.InvalidParameterError"
func (*Client) DescribeModifyCheckSyncJobResultWithContext ¶
func (c *Client) DescribeModifyCheckSyncJobResultWithContext(ctx context.Context, request *DescribeModifyCheckSyncJobResultRequest) (response *DescribeModifyCheckSyncJobResultResponse, err error)
DescribeModifyCheckSyncJobResult This API is used to query the result of the created check task for object modification.
error code that may be returned:
INVALIDPARAMETER_INVALIDPARAMETERERROR = "InvalidParameter.InvalidParameterError"
func (*Client) DescribeSyncJobs ¶
func (c *Client) DescribeSyncJobs(request *DescribeSyncJobsRequest) (response *DescribeSyncJobsResponse, err error)
DescribeSyncJobs This API is used to query the information of a sync task.
error code that may be returned:
AUTHFAILURE_AUTHFAILUREERROR = "AuthFailure.AuthFailureError" AUTHFAILURE_UNAUTHORIZEDOPERATIONERROR = "AuthFailure.UnauthorizedOperationError" FAILEDOPERATION_NOTALLOWOPERATION = "FailedOperation.NotAllowOperation" INTERNALERROR_DATABASEERROR = "InternalError.DatabaseError" INTERNALERROR_INTERNALERRORERROR = "InternalError.InternalErrorError" INTERNALERROR_PROTOCOLERROR = "InternalError.ProtocolError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError"
func (*Client) DescribeSyncJobsWithContext ¶
func (c *Client) DescribeSyncJobsWithContext(ctx context.Context, request *DescribeSyncJobsRequest) (response *DescribeSyncJobsResponse, err error)
DescribeSyncJobs This API is used to query the information of a sync task.
error code that may be returned:
AUTHFAILURE_AUTHFAILUREERROR = "AuthFailure.AuthFailureError" AUTHFAILURE_UNAUTHORIZEDOPERATIONERROR = "AuthFailure.UnauthorizedOperationError" FAILEDOPERATION_NOTALLOWOPERATION = "FailedOperation.NotAllowOperation" INTERNALERROR_DATABASEERROR = "InternalError.DatabaseError" INTERNALERROR_INTERNALERRORERROR = "InternalError.InternalErrorError" INTERNALERROR_PROTOCOLERROR = "InternalError.ProtocolError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError"
func (*Client) DestroyMigrateJob ¶
func (c *Client) DestroyMigrateJob(request *DestroyMigrateJobRequest) (response *DestroyMigrateJobResponse, err error)
DestroyMigrateJob This API is used to delete a data migration task. For a billed task, you must first call the `IsolateMigrateJob` API to isolate it and make sure that it is in **Isolated** status before calling this API to delete it. For a free task, you can directly call the `IsolateMigrateJob` API to delete it.
error code that may be returned:
AUTHFAILURE_AUTHFAILUREERROR = "AuthFailure.AuthFailureError" DRYRUNOPERATION_DRYRUNOPERATIONERROR = "DryRunOperation.DryRunOperationError" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" INTERNALERROR_INTERNALERRORERROR = "InternalError.InternalErrorError" INVALIDPARAMETER_INVALIDPARAMETERERROR = "InvalidParameter.InvalidParameterError" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" LIMITEXCEEDED_LIMITEXCEEDEDERROR = "LimitExceeded.LimitExceededError" MISSINGPARAMETER_MISSINGPARAMETERERROR = "MissingParameter.MissingParameterError" OPERATIONDENIED_OPERATIONDENIEDERROR = "OperationDenied.OperationDeniedError" REQUESTLIMITEXCEEDED_REQUESTLIMITEXCEEDEDERROR = "RequestLimitExceeded.RequestLimitExceededError" RESOURCEINUSE_RESOURCEINUSEERROR = "ResourceInUse.ResourceInUseError" RESOURCEINSUFFICIENT_RESOURCEINSUFFICIENTERROR = "ResourceInsufficient.ResourceInsufficientError" RESOURCENOTFOUND_RESOURCENOTFOUNDERROR = "ResourceNotFound.ResourceNotFoundError" RESOURCEUNAVAILABLE_RESOURCEUNAVAILABLEERROR = "ResourceUnavailable.ResourceUnavailableError" RESOURCESSOLDOUT_RESOURCESSOLDOUTERROR = "ResourcesSoldOut.ResourcesSoldOutError" UNAUTHORIZEDOPERATION_UNAUTHORIZEDOPERATIONERROR = "UnauthorizedOperation.UnauthorizedOperationError" UNKNOWNPARAMETER_UNKNOWNPARAMETERERROR = "UnknownParameter.UnknownParameterError" UNSUPPORTEDOPERATION_UNSUPPORTEDOPERATIONERROR = "UnsupportedOperation.UnsupportedOperationError"
func (*Client) DestroyMigrateJobWithContext ¶
func (c *Client) DestroyMigrateJobWithContext(ctx context.Context, request *DestroyMigrateJobRequest) (response *DestroyMigrateJobResponse, err error)
DestroyMigrateJob This API is used to delete a data migration task. For a billed task, you must first call the `IsolateMigrateJob` API to isolate it and make sure that it is in **Isolated** status before calling this API to delete it. For a free task, you can directly call the `IsolateMigrateJob` API to delete it.
error code that may be returned:
AUTHFAILURE_AUTHFAILUREERROR = "AuthFailure.AuthFailureError" DRYRUNOPERATION_DRYRUNOPERATIONERROR = "DryRunOperation.DryRunOperationError" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" INTERNALERROR_INTERNALERRORERROR = "InternalError.InternalErrorError" INVALIDPARAMETER_INVALIDPARAMETERERROR = "InvalidParameter.InvalidParameterError" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" LIMITEXCEEDED_LIMITEXCEEDEDERROR = "LimitExceeded.LimitExceededError" MISSINGPARAMETER_MISSINGPARAMETERERROR = "MissingParameter.MissingParameterError" OPERATIONDENIED_OPERATIONDENIEDERROR = "OperationDenied.OperationDeniedError" REQUESTLIMITEXCEEDED_REQUESTLIMITEXCEEDEDERROR = "RequestLimitExceeded.RequestLimitExceededError" RESOURCEINUSE_RESOURCEINUSEERROR = "ResourceInUse.ResourceInUseError" RESOURCEINSUFFICIENT_RESOURCEINSUFFICIENTERROR = "ResourceInsufficient.ResourceInsufficientError" RESOURCENOTFOUND_RESOURCENOTFOUNDERROR = "ResourceNotFound.ResourceNotFoundError" RESOURCEUNAVAILABLE_RESOURCEUNAVAILABLEERROR = "ResourceUnavailable.ResourceUnavailableError" RESOURCESSOLDOUT_RESOURCESSOLDOUTERROR = "ResourcesSoldOut.ResourcesSoldOutError" UNAUTHORIZEDOPERATION_UNAUTHORIZEDOPERATIONERROR = "UnauthorizedOperation.UnauthorizedOperationError" UNKNOWNPARAMETER_UNKNOWNPARAMETERERROR = "UnknownParameter.UnknownParameterError" UNSUPPORTEDOPERATION_UNSUPPORTEDOPERATIONERROR = "UnsupportedOperation.UnsupportedOperationError"
func (*Client) DestroySyncJob ¶
func (c *Client) DestroySyncJob(request *DestroySyncJobRequest) (response *DestroySyncJobResponse, err error)
DestroySyncJob This API is used to delete a sync task. Only tasks in **Isolated** status can be completely deleted. After deletion, you can call the `DescribeSyncJobs` API to get the task list. If the deleted task is not in the list, it is deleted successfully.
error code that may be returned:
INTERNALERROR_INTERNALTRADEERROR = "InternalError.InternalTradeError" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError"
func (*Client) DestroySyncJobWithContext ¶
func (c *Client) DestroySyncJobWithContext(ctx context.Context, request *DestroySyncJobRequest) (response *DestroySyncJobResponse, err error)
DestroySyncJob This API is used to delete a sync task. Only tasks in **Isolated** status can be completely deleted. After deletion, you can call the `DescribeSyncJobs` API to get the task list. If the deleted task is not in the list, it is deleted successfully.
error code that may be returned:
INTERNALERROR_INTERNALTRADEERROR = "InternalError.InternalTradeError" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError"
func (*Client) IsolateMigrateJob ¶
func (c *Client) IsolateMigrateJob(request *IsolateMigrateJobRequest) (response *IsolateMigrateJobResponse, err error)
IsolateMigrateJob
This API is used to isolate and return a data migration task. After calling this API, you can call the `DescribeMigrationJobs` API to query the latest task status. For a billed task, after isolating it, you can call `RecoverMigrationJob` to recover it or call `DestroyMigrateJob` to delete it. For a free task, calling this API will directly delete it permanently.
error code that may be returned:
AUTHFAILURE_AUTHFAILUREERROR = "AuthFailure.AuthFailureError" DRYRUNOPERATION_DRYRUNOPERATIONERROR = "DryRunOperation.DryRunOperationError" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" INTERNALERROR_INTERNALERRORERROR = "InternalError.InternalErrorError" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" INVALIDPARAMETER_INVALIDPARAMETERERROR = "InvalidParameter.InvalidParameterError" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" LIMITEXCEEDED_LIMITEXCEEDEDERROR = "LimitExceeded.LimitExceededError" MISSINGPARAMETER_MISSINGPARAMETERERROR = "MissingParameter.MissingParameterError" OPERATIONDENIED_OPERATIONDENIEDERROR = "OperationDenied.OperationDeniedError" REQUESTLIMITEXCEEDED_REQUESTLIMITEXCEEDEDERROR = "RequestLimitExceeded.RequestLimitExceededError" RESOURCEINUSE_RESOURCEINUSEERROR = "ResourceInUse.ResourceInUseError" RESOURCEINSUFFICIENT_RESOURCEINSUFFICIENTERROR = "ResourceInsufficient.ResourceInsufficientError" RESOURCENOTFOUND_RESOURCENOTFOUNDERROR = "ResourceNotFound.ResourceNotFoundError" RESOURCEUNAVAILABLE_RESOURCEUNAVAILABLEERROR = "ResourceUnavailable.ResourceUnavailableError" RESOURCESSOLDOUT_RESOURCESSOLDOUTERROR = "ResourcesSoldOut.ResourcesSoldOutError" UNAUTHORIZEDOPERATION_UNAUTHORIZEDOPERATIONERROR = "UnauthorizedOperation.UnauthorizedOperationError" UNKNOWNPARAMETER_UNKNOWNPARAMETERERROR = "UnknownParameter.UnknownParameterError" UNSUPPORTEDOPERATION_UNSUPPORTEDOPERATIONERROR = "UnsupportedOperation.UnsupportedOperationError"
func (*Client) IsolateMigrateJobWithContext ¶
func (c *Client) IsolateMigrateJobWithContext(ctx context.Context, request *IsolateMigrateJobRequest) (response *IsolateMigrateJobResponse, err error)
IsolateMigrateJob
This API is used to isolate and return a data migration task. After calling this API, you can call the `DescribeMigrationJobs` API to query the latest task status. For a billed task, after isolating it, you can call `RecoverMigrationJob` to recover it or call `DestroyMigrateJob` to delete it. For a free task, calling this API will directly delete it permanently.
error code that may be returned:
AUTHFAILURE_AUTHFAILUREERROR = "AuthFailure.AuthFailureError" DRYRUNOPERATION_DRYRUNOPERATIONERROR = "DryRunOperation.DryRunOperationError" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" INTERNALERROR_INTERNALERRORERROR = "InternalError.InternalErrorError" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" INVALIDPARAMETER_INVALIDPARAMETERERROR = "InvalidParameter.InvalidParameterError" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" LIMITEXCEEDED_LIMITEXCEEDEDERROR = "LimitExceeded.LimitExceededError" MISSINGPARAMETER_MISSINGPARAMETERERROR = "MissingParameter.MissingParameterError" OPERATIONDENIED_OPERATIONDENIEDERROR = "OperationDenied.OperationDeniedError" REQUESTLIMITEXCEEDED_REQUESTLIMITEXCEEDEDERROR = "RequestLimitExceeded.RequestLimitExceededError" RESOURCEINUSE_RESOURCEINUSEERROR = "ResourceInUse.ResourceInUseError" RESOURCEINSUFFICIENT_RESOURCEINSUFFICIENTERROR = "ResourceInsufficient.ResourceInsufficientError" RESOURCENOTFOUND_RESOURCENOTFOUNDERROR = "ResourceNotFound.ResourceNotFoundError" RESOURCEUNAVAILABLE_RESOURCEUNAVAILABLEERROR = "ResourceUnavailable.ResourceUnavailableError" RESOURCESSOLDOUT_RESOURCESSOLDOUTERROR = "ResourcesSoldOut.ResourcesSoldOutError" UNAUTHORIZEDOPERATION_UNAUTHORIZEDOPERATIONERROR = "UnauthorizedOperation.UnauthorizedOperationError" UNKNOWNPARAMETER_UNKNOWNPARAMETERERROR = "UnknownParameter.UnknownParameterError" UNSUPPORTEDOPERATION_UNSUPPORTEDOPERATIONERROR = "UnsupportedOperation.UnsupportedOperationError"
func (*Client) IsolateSyncJob ¶
func (c *Client) IsolateSyncJob(request *IsolateSyncJobRequest) (response *IsolateSyncJobResponse, err error)
IsolateSyncJob This API is used to isolate a sync task. After the task is isolated, you can call the `DescribeSyncJobs` API to query its status, call `RecoverSyncJob` to recover it, or directly delete it. For a free task, calling this API will directly delete it permanently.
error code that may be returned:
INTERNALERROR_INTERNALTRADEERROR = "InternalError.InternalTradeError" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" RESOURCENOTFOUND_RESOURCENOTFOUNDERROR = "ResourceNotFound.ResourceNotFoundError" UNSUPPORTEDOPERATION_UNSUPPORTEDOPERATIONERROR = "UnsupportedOperation.UnsupportedOperationError"
func (*Client) IsolateSyncJobWithContext ¶
func (c *Client) IsolateSyncJobWithContext(ctx context.Context, request *IsolateSyncJobRequest) (response *IsolateSyncJobResponse, err error)
IsolateSyncJob This API is used to isolate a sync task. After the task is isolated, you can call the `DescribeSyncJobs` API to query its status, call `RecoverSyncJob` to recover it, or directly delete it. For a free task, calling this API will directly delete it permanently.
error code that may be returned:
INTERNALERROR_INTERNALTRADEERROR = "InternalError.InternalTradeError" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" RESOURCENOTFOUND_RESOURCENOTFOUNDERROR = "ResourceNotFound.ResourceNotFoundError" UNSUPPORTEDOPERATION_UNSUPPORTEDOPERATIONERROR = "UnsupportedOperation.UnsupportedOperationError"
func (*Client) ModifyCompareTask ¶
func (c *Client) ModifyCompareTask(request *ModifyCompareTaskRequest) (response *ModifyCompareTaskResponse, err error)
ModifyCompareTask This API is used to modify the parameters of a data consistency check task after it is created and before it starts.
error code that may be returned:
AUTHFAILURE_AUTHFAILUREERROR = "AuthFailure.AuthFailureError" DRYRUNOPERATION_DRYRUNOPERATIONERROR = "DryRunOperation.DryRunOperationError" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" INTERNALERROR_INTERNALERRORERROR = "InternalError.InternalErrorError" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" INVALIDPARAMETER_INVALIDPARAMETERERROR = "InvalidParameter.InvalidParameterError" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" LIMITEXCEEDED_LIMITEXCEEDEDERROR = "LimitExceeded.LimitExceededError" MISSINGPARAMETER_MISSINGPARAMETERERROR = "MissingParameter.MissingParameterError" OPERATIONDENIED_OPERATIONDENIEDERROR = "OperationDenied.OperationDeniedError" REQUESTLIMITEXCEEDED_REQUESTLIMITEXCEEDEDERROR = "RequestLimitExceeded.RequestLimitExceededError" RESOURCEINUSE_RESOURCEINUSEERROR = "ResourceInUse.ResourceInUseError" RESOURCEINSUFFICIENT_RESOURCEINSUFFICIENTERROR = "ResourceInsufficient.ResourceInsufficientError" RESOURCENOTFOUND_RESOURCENOTFOUNDERROR = "ResourceNotFound.ResourceNotFoundError" RESOURCEUNAVAILABLE_RESOURCEUNAVAILABLEERROR = "ResourceUnavailable.ResourceUnavailableError" RESOURCESSOLDOUT_RESOURCESSOLDOUTERROR = "ResourcesSoldOut.ResourcesSoldOutError" UNAUTHORIZEDOPERATION_UNAUTHORIZEDOPERATIONERROR = "UnauthorizedOperation.UnauthorizedOperationError" UNKNOWNPARAMETER_UNKNOWNPARAMETERERROR = "UnknownParameter.UnknownParameterError" UNSUPPORTEDOPERATION_UNSUPPORTEDOPERATIONERROR = "UnsupportedOperation.UnsupportedOperationError"
func (*Client) ModifyCompareTaskName ¶
func (c *Client) ModifyCompareTaskName(request *ModifyCompareTaskNameRequest) (response *ModifyCompareTaskNameResponse, err error)
ModifyCompareTaskName This API is used to rename a data consistency check task.
error code that may be returned:
AUTHFAILURE_AUTHFAILUREERROR = "AuthFailure.AuthFailureError" DRYRUNOPERATION_DRYRUNOPERATIONERROR = "DryRunOperation.DryRunOperationError" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" INTERNALERROR_INTERNALERRORERROR = "InternalError.InternalErrorError" INVALIDPARAMETER_INVALIDPARAMETERERROR = "InvalidParameter.InvalidParameterError" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" LIMITEXCEEDED_LIMITEXCEEDEDERROR = "LimitExceeded.LimitExceededError" MISSINGPARAMETER_MISSINGPARAMETERERROR = "MissingParameter.MissingParameterError" OPERATIONDENIED_OPERATIONDENIEDERROR = "OperationDenied.OperationDeniedError" REQUESTLIMITEXCEEDED_REQUESTLIMITEXCEEDEDERROR = "RequestLimitExceeded.RequestLimitExceededError" RESOURCEINUSE_RESOURCEINUSEERROR = "ResourceInUse.ResourceInUseError" RESOURCEINSUFFICIENT_RESOURCEINSUFFICIENTERROR = "ResourceInsufficient.ResourceInsufficientError" RESOURCENOTFOUND_RESOURCENOTFOUNDERROR = "ResourceNotFound.ResourceNotFoundError" RESOURCEUNAVAILABLE_RESOURCEUNAVAILABLEERROR = "ResourceUnavailable.ResourceUnavailableError" RESOURCESSOLDOUT_RESOURCESSOLDOUTERROR = "ResourcesSoldOut.ResourcesSoldOutError" UNAUTHORIZEDOPERATION_UNAUTHORIZEDOPERATIONERROR = "UnauthorizedOperation.UnauthorizedOperationError" UNKNOWNPARAMETER_UNKNOWNPARAMETERERROR = "UnknownParameter.UnknownParameterError" UNSUPPORTEDOPERATION_UNSUPPORTEDOPERATIONERROR = "UnsupportedOperation.UnsupportedOperationError"
func (*Client) ModifyCompareTaskNameWithContext ¶
func (c *Client) ModifyCompareTaskNameWithContext(ctx context.Context, request *ModifyCompareTaskNameRequest) (response *ModifyCompareTaskNameResponse, err error)
ModifyCompareTaskName This API is used to rename a data consistency check task.
error code that may be returned:
AUTHFAILURE_AUTHFAILUREERROR = "AuthFailure.AuthFailureError" DRYRUNOPERATION_DRYRUNOPERATIONERROR = "DryRunOperation.DryRunOperationError" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" INTERNALERROR_INTERNALERRORERROR = "InternalError.InternalErrorError" INVALIDPARAMETER_INVALIDPARAMETERERROR = "InvalidParameter.InvalidParameterError" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" LIMITEXCEEDED_LIMITEXCEEDEDERROR = "LimitExceeded.LimitExceededError" MISSINGPARAMETER_MISSINGPARAMETERERROR = "MissingParameter.MissingParameterError" OPERATIONDENIED_OPERATIONDENIEDERROR = "OperationDenied.OperationDeniedError" REQUESTLIMITEXCEEDED_REQUESTLIMITEXCEEDEDERROR = "RequestLimitExceeded.RequestLimitExceededError" RESOURCEINUSE_RESOURCEINUSEERROR = "ResourceInUse.ResourceInUseError" RESOURCEINSUFFICIENT_RESOURCEINSUFFICIENTERROR = "ResourceInsufficient.ResourceInsufficientError" RESOURCENOTFOUND_RESOURCENOTFOUNDERROR = "ResourceNotFound.ResourceNotFoundError" RESOURCEUNAVAILABLE_RESOURCEUNAVAILABLEERROR = "ResourceUnavailable.ResourceUnavailableError" RESOURCESSOLDOUT_RESOURCESSOLDOUTERROR = "ResourcesSoldOut.ResourcesSoldOutError" UNAUTHORIZEDOPERATION_UNAUTHORIZEDOPERATIONERROR = "UnauthorizedOperation.UnauthorizedOperationError" UNKNOWNPARAMETER_UNKNOWNPARAMETERERROR = "UnknownParameter.UnknownParameterError" UNSUPPORTEDOPERATION_UNSUPPORTEDOPERATIONERROR = "UnsupportedOperation.UnsupportedOperationError"
func (*Client) ModifyCompareTaskWithContext ¶
func (c *Client) ModifyCompareTaskWithContext(ctx context.Context, request *ModifyCompareTaskRequest) (response *ModifyCompareTaskResponse, err error)
ModifyCompareTask This API is used to modify the parameters of a data consistency check task after it is created and before it starts.
error code that may be returned:
AUTHFAILURE_AUTHFAILUREERROR = "AuthFailure.AuthFailureError" DRYRUNOPERATION_DRYRUNOPERATIONERROR = "DryRunOperation.DryRunOperationError" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" INTERNALERROR_INTERNALERRORERROR = "InternalError.InternalErrorError" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" INVALIDPARAMETER_INVALIDPARAMETERERROR = "InvalidParameter.InvalidParameterError" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" LIMITEXCEEDED_LIMITEXCEEDEDERROR = "LimitExceeded.LimitExceededError" MISSINGPARAMETER_MISSINGPARAMETERERROR = "MissingParameter.MissingParameterError" OPERATIONDENIED_OPERATIONDENIEDERROR = "OperationDenied.OperationDeniedError" REQUESTLIMITEXCEEDED_REQUESTLIMITEXCEEDEDERROR = "RequestLimitExceeded.RequestLimitExceededError" RESOURCEINUSE_RESOURCEINUSEERROR = "ResourceInUse.ResourceInUseError" RESOURCEINSUFFICIENT_RESOURCEINSUFFICIENTERROR = "ResourceInsufficient.ResourceInsufficientError" RESOURCENOTFOUND_RESOURCENOTFOUNDERROR = "ResourceNotFound.ResourceNotFoundError" RESOURCEUNAVAILABLE_RESOURCEUNAVAILABLEERROR = "ResourceUnavailable.ResourceUnavailableError" RESOURCESSOLDOUT_RESOURCESSOLDOUTERROR = "ResourcesSoldOut.ResourcesSoldOutError" UNAUTHORIZEDOPERATION_UNAUTHORIZEDOPERATIONERROR = "UnauthorizedOperation.UnauthorizedOperationError" UNKNOWNPARAMETER_UNKNOWNPARAMETERERROR = "UnknownParameter.UnknownParameterError" UNSUPPORTEDOPERATION_UNSUPPORTEDOPERATIONERROR = "UnsupportedOperation.UnsupportedOperationError"
func (*Client) ModifyMigrateJobSpec ¶
func (c *Client) ModifyMigrateJobSpec(request *ModifyMigrateJobSpecRequest) (response *ModifyMigrateJobSpecResponse, err error)
ModifyMigrateJobSpec This API is used to adjust the specification of a pay-as-you-go task. After calling this API, you can call the `DescribeMigrationJobs` API to query the latest task status.
error code that may be returned:
AUTHFAILURE_AUTHFAILUREERROR = "AuthFailure.AuthFailureError" DRYRUNOPERATION_DRYRUNOPERATIONERROR = "DryRunOperation.DryRunOperationError" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" INTERNALERROR_INTERNALERRORERROR = "InternalError.InternalErrorError" INVALIDPARAMETER_INVALIDPARAMETERERROR = "InvalidParameter.InvalidParameterError" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" LIMITEXCEEDED_LIMITEXCEEDEDERROR = "LimitExceeded.LimitExceededError" MISSINGPARAMETER_MISSINGPARAMETERERROR = "MissingParameter.MissingParameterError" OPERATIONDENIED_OPERATIONDENIEDERROR = "OperationDenied.OperationDeniedError" REQUESTLIMITEXCEEDED_REQUESTLIMITEXCEEDEDERROR = "RequestLimitExceeded.RequestLimitExceededError" RESOURCEINSUFFICIENT_RESOURCEINSUFFICIENTERROR = "ResourceInsufficient.ResourceInsufficientError" RESOURCENOTFOUND_RESOURCENOTFOUNDERROR = "ResourceNotFound.ResourceNotFoundError" RESOURCEUNAVAILABLE_RESOURCEUNAVAILABLEERROR = "ResourceUnavailable.ResourceUnavailableError" RESOURCESSOLDOUT_RESOURCESSOLDOUTERROR = "ResourcesSoldOut.ResourcesSoldOutError" UNAUTHORIZEDOPERATION_UNAUTHORIZEDOPERATIONERROR = "UnauthorizedOperation.UnauthorizedOperationError" UNKNOWNPARAMETER_UNKNOWNPARAMETERERROR = "UnknownParameter.UnknownParameterError" UNSUPPORTEDOPERATION_UNSUPPORTEDOPERATIONERROR = "UnsupportedOperation.UnsupportedOperationError"
func (*Client) ModifyMigrateJobSpecWithContext ¶
func (c *Client) ModifyMigrateJobSpecWithContext(ctx context.Context, request *ModifyMigrateJobSpecRequest) (response *ModifyMigrateJobSpecResponse, err error)
ModifyMigrateJobSpec This API is used to adjust the specification of a pay-as-you-go task. After calling this API, you can call the `DescribeMigrationJobs` API to query the latest task status.
error code that may be returned:
AUTHFAILURE_AUTHFAILUREERROR = "AuthFailure.AuthFailureError" DRYRUNOPERATION_DRYRUNOPERATIONERROR = "DryRunOperation.DryRunOperationError" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" INTERNALERROR_INTERNALERRORERROR = "InternalError.InternalErrorError" INVALIDPARAMETER_INVALIDPARAMETERERROR = "InvalidParameter.InvalidParameterError" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" LIMITEXCEEDED_LIMITEXCEEDEDERROR = "LimitExceeded.LimitExceededError" MISSINGPARAMETER_MISSINGPARAMETERERROR = "MissingParameter.MissingParameterError" OPERATIONDENIED_OPERATIONDENIEDERROR = "OperationDenied.OperationDeniedError" REQUESTLIMITEXCEEDED_REQUESTLIMITEXCEEDEDERROR = "RequestLimitExceeded.RequestLimitExceededError" RESOURCEINSUFFICIENT_RESOURCEINSUFFICIENTERROR = "ResourceInsufficient.ResourceInsufficientError" RESOURCENOTFOUND_RESOURCENOTFOUNDERROR = "ResourceNotFound.ResourceNotFoundError" RESOURCEUNAVAILABLE_RESOURCEUNAVAILABLEERROR = "ResourceUnavailable.ResourceUnavailableError" RESOURCESSOLDOUT_RESOURCESSOLDOUTERROR = "ResourcesSoldOut.ResourcesSoldOutError" UNAUTHORIZEDOPERATION_UNAUTHORIZEDOPERATIONERROR = "UnauthorizedOperation.UnauthorizedOperationError" UNKNOWNPARAMETER_UNKNOWNPARAMETERERROR = "UnknownParameter.UnknownParameterError" UNSUPPORTEDOPERATION_UNSUPPORTEDOPERATIONERROR = "UnsupportedOperation.UnsupportedOperationError"
func (*Client) ModifyMigrateName ¶
func (c *Client) ModifyMigrateName(request *ModifyMigrateNameRequest) (response *ModifyMigrateNameResponse, err error)
ModifyMigrateName This API is used to rename a migration task.
error code that may be returned:
AUTHFAILURE_AUTHFAILUREERROR = "AuthFailure.AuthFailureError" DRYRUNOPERATION_DRYRUNOPERATIONERROR = "DryRunOperation.DryRunOperationError" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" INTERNALERROR_INTERNALERRORERROR = "InternalError.InternalErrorError" INVALIDPARAMETER_INVALIDPARAMETERERROR = "InvalidParameter.InvalidParameterError" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" LIMITEXCEEDED_LIMITEXCEEDEDERROR = "LimitExceeded.LimitExceededError" MISSINGPARAMETER_MISSINGPARAMETERERROR = "MissingParameter.MissingParameterError" OPERATIONDENIED_OPERATIONDENIEDERROR = "OperationDenied.OperationDeniedError" REQUESTLIMITEXCEEDED_REQUESTLIMITEXCEEDEDERROR = "RequestLimitExceeded.RequestLimitExceededError" RESOURCEINUSE_RESOURCEINUSEERROR = "ResourceInUse.ResourceInUseError" RESOURCEINSUFFICIENT_RESOURCEINSUFFICIENTERROR = "ResourceInsufficient.ResourceInsufficientError" RESOURCENOTFOUND_JOBNOTEXIST = "ResourceNotFound.JobNotExist" RESOURCENOTFOUND_RESOURCENOTFOUNDERROR = "ResourceNotFound.ResourceNotFoundError" RESOURCEUNAVAILABLE_RESOURCEUNAVAILABLEERROR = "ResourceUnavailable.ResourceUnavailableError" RESOURCESSOLDOUT_RESOURCESSOLDOUTERROR = "ResourcesSoldOut.ResourcesSoldOutError" UNAUTHORIZEDOPERATION_UNAUTHORIZEDOPERATIONERROR = "UnauthorizedOperation.UnauthorizedOperationError" UNKNOWNPARAMETER_UNKNOWNPARAMETERERROR = "UnknownParameter.UnknownParameterError" UNSUPPORTEDOPERATION_UNSUPPORTEDOPERATIONERROR = "UnsupportedOperation.UnsupportedOperationError"
func (*Client) ModifyMigrateNameWithContext ¶
func (c *Client) ModifyMigrateNameWithContext(ctx context.Context, request *ModifyMigrateNameRequest) (response *ModifyMigrateNameResponse, err error)
ModifyMigrateName This API is used to rename a migration task.
error code that may be returned:
AUTHFAILURE_AUTHFAILUREERROR = "AuthFailure.AuthFailureError" DRYRUNOPERATION_DRYRUNOPERATIONERROR = "DryRunOperation.DryRunOperationError" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" INTERNALERROR_INTERNALERRORERROR = "InternalError.InternalErrorError" INVALIDPARAMETER_INVALIDPARAMETERERROR = "InvalidParameter.InvalidParameterError" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" LIMITEXCEEDED_LIMITEXCEEDEDERROR = "LimitExceeded.LimitExceededError" MISSINGPARAMETER_MISSINGPARAMETERERROR = "MissingParameter.MissingParameterError" OPERATIONDENIED_OPERATIONDENIEDERROR = "OperationDenied.OperationDeniedError" REQUESTLIMITEXCEEDED_REQUESTLIMITEXCEEDEDERROR = "RequestLimitExceeded.RequestLimitExceededError" RESOURCEINUSE_RESOURCEINUSEERROR = "ResourceInUse.ResourceInUseError" RESOURCEINSUFFICIENT_RESOURCEINSUFFICIENTERROR = "ResourceInsufficient.ResourceInsufficientError" RESOURCENOTFOUND_JOBNOTEXIST = "ResourceNotFound.JobNotExist" RESOURCENOTFOUND_RESOURCENOTFOUNDERROR = "ResourceNotFound.ResourceNotFoundError" RESOURCEUNAVAILABLE_RESOURCEUNAVAILABLEERROR = "ResourceUnavailable.ResourceUnavailableError" RESOURCESSOLDOUT_RESOURCESSOLDOUTERROR = "ResourcesSoldOut.ResourcesSoldOutError" UNAUTHORIZEDOPERATION_UNAUTHORIZEDOPERATIONERROR = "UnauthorizedOperation.UnauthorizedOperationError" UNKNOWNPARAMETER_UNKNOWNPARAMETERERROR = "UnknownParameter.UnknownParameterError" UNSUPPORTEDOPERATION_UNSUPPORTEDOPERATIONERROR = "UnsupportedOperation.UnsupportedOperationError"
func (*Client) ModifyMigrationJob ¶
func (c *Client) ModifyMigrationJob(request *ModifyMigrationJobRequest) (response *ModifyMigrationJobResponse, err error)
ModifyMigrationJob This API is used to configure a migration task. After it is configured successfully, you can call the `CreateMigrationCheckJob` API to create a check task, and only after it passes the check can it be started.
error code that may be returned:
AUTHFAILURE_AUTHFAILUREERROR = "AuthFailure.AuthFailureError" AUTHFAILURE_AUTHORIZEDOPERATIONDENYERROR = "AuthFailure.AuthorizedOperationDenyError" AUTHFAILURE_UNAUTHORIZEDOPERATIONERROR = "AuthFailure.UnauthorizedOperationError" DRYRUNOPERATION_DRYRUNOPERATIONERROR = "DryRunOperation.DryRunOperationError" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" INTERNALERROR = "InternalError" INTERNALERROR_INTERNALERRORERROR = "InternalError.InternalErrorError" INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" INVALIDPARAMETER_INVALIDPARAMETERERROR = "InvalidParameter.InvalidParameterError" INVALIDPARAMETERVALUE_DATACONVERTERROR = "InvalidParameterValue.DataConvertError" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" LIMITEXCEEDED_LIMITEXCEEDEDERROR = "LimitExceeded.LimitExceededError" MISSINGPARAMETER_MISSINGPARAMETERERROR = "MissingParameter.MissingParameterError" OPERATIONDENIED_OPERATIONDENIEDERROR = "OperationDenied.OperationDeniedError" REQUESTLIMITEXCEEDED_REQUESTLIMITEXCEEDEDERROR = "RequestLimitExceeded.RequestLimitExceededError" RESOURCEINUSE_RESOURCEINUSEERROR = "ResourceInUse.ResourceInUseError" RESOURCEINSUFFICIENT_RESOURCEINSUFFICIENTERROR = "ResourceInsufficient.ResourceInsufficientError" RESOURCENOTFOUND_RESOURCENOTFOUNDERROR = "ResourceNotFound.ResourceNotFoundError" RESOURCEUNAVAILABLE_RESOURCEUNAVAILABLEERROR = "ResourceUnavailable.ResourceUnavailableError" RESOURCESSOLDOUT_RESOURCESSOLDOUTERROR = "ResourcesSoldOut.ResourcesSoldOutError" UNAUTHORIZEDOPERATION_UNAUTHORIZEDOPERATIONERROR = "UnauthorizedOperation.UnauthorizedOperationError" UNKNOWNPARAMETER_UNKNOWNPARAMETERERROR = "UnknownParameter.UnknownParameterError" UNSUPPORTEDOPERATION_UNSUPPORTEDOPERATIONERROR = "UnsupportedOperation.UnsupportedOperationError"
func (*Client) ModifyMigrationJobWithContext ¶
func (c *Client) ModifyMigrationJobWithContext(ctx context.Context, request *ModifyMigrationJobRequest) (response *ModifyMigrationJobResponse, err error)
ModifyMigrationJob This API is used to configure a migration task. After it is configured successfully, you can call the `CreateMigrationCheckJob` API to create a check task, and only after it passes the check can it be started.
error code that may be returned:
AUTHFAILURE_AUTHFAILUREERROR = "AuthFailure.AuthFailureError" AUTHFAILURE_AUTHORIZEDOPERATIONDENYERROR = "AuthFailure.AuthorizedOperationDenyError" AUTHFAILURE_UNAUTHORIZEDOPERATIONERROR = "AuthFailure.UnauthorizedOperationError" DRYRUNOPERATION_DRYRUNOPERATIONERROR = "DryRunOperation.DryRunOperationError" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" INTERNALERROR = "InternalError" INTERNALERROR_INTERNALERRORERROR = "InternalError.InternalErrorError" INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" INVALIDPARAMETER_INVALIDPARAMETERERROR = "InvalidParameter.InvalidParameterError" INVALIDPARAMETERVALUE_DATACONVERTERROR = "InvalidParameterValue.DataConvertError" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" LIMITEXCEEDED_LIMITEXCEEDEDERROR = "LimitExceeded.LimitExceededError" MISSINGPARAMETER_MISSINGPARAMETERERROR = "MissingParameter.MissingParameterError" OPERATIONDENIED_OPERATIONDENIEDERROR = "OperationDenied.OperationDeniedError" REQUESTLIMITEXCEEDED_REQUESTLIMITEXCEEDEDERROR = "RequestLimitExceeded.RequestLimitExceededError" RESOURCEINUSE_RESOURCEINUSEERROR = "ResourceInUse.ResourceInUseError" RESOURCEINSUFFICIENT_RESOURCEINSUFFICIENTERROR = "ResourceInsufficient.ResourceInsufficientError" RESOURCENOTFOUND_RESOURCENOTFOUNDERROR = "ResourceNotFound.ResourceNotFoundError" RESOURCEUNAVAILABLE_RESOURCEUNAVAILABLEERROR = "ResourceUnavailable.ResourceUnavailableError" RESOURCESSOLDOUT_RESOURCESSOLDOUTERROR = "ResourcesSoldOut.ResourcesSoldOutError" UNAUTHORIZEDOPERATION_UNAUTHORIZEDOPERATIONERROR = "UnauthorizedOperation.UnauthorizedOperationError" UNKNOWNPARAMETER_UNKNOWNPARAMETERERROR = "UnknownParameter.UnknownParameterError" UNSUPPORTEDOPERATION_UNSUPPORTEDOPERATIONERROR = "UnsupportedOperation.UnsupportedOperationError"
func (*Client) ModifySyncJobConfig ¶
func (c *Client) ModifySyncJobConfig(request *ModifySyncJobConfigRequest) (response *ModifySyncJobConfigResponse, err error)
ModifySyncJobConfig This API is used to modify the configuration of a data sync task after the task is started.\n Configuration modification steps: Modify sync task configuration -> Create a modification check task -> Query the check task result -> Start the configuration modification check task
error code that may be returned:
INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" OPERATIONDENIED_OPERATIONDENIEDERROR = "OperationDenied.OperationDeniedError"
func (*Client) ModifySyncJobConfigWithContext ¶
func (c *Client) ModifySyncJobConfigWithContext(ctx context.Context, request *ModifySyncJobConfigRequest) (response *ModifySyncJobConfigResponse, err error)
ModifySyncJobConfig This API is used to modify the configuration of a data sync task after the task is started.\n Configuration modification steps: Modify sync task configuration -> Create a modification check task -> Query the check task result -> Start the configuration modification check task
error code that may be returned:
INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" OPERATIONDENIED_OPERATIONDENIEDERROR = "OperationDenied.OperationDeniedError"
func (*Client) PauseMigrateJob ¶
func (c *Client) PauseMigrateJob(request *PauseMigrateJobRequest) (response *PauseMigrateJobResponse, err error)
PauseMigrateJob This API is used to pause a migration task.
error code that may be returned:
INTERNALERROR_INTERNALERRORERROR = "InternalError.InternalErrorError" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" INVALIDPARAMETER_INVALIDPARAMETERERROR = "InvalidParameter.InvalidParameterError" OPERATIONDENIED_OPERATIONDENIEDERROR = "OperationDenied.OperationDeniedError" RESOURCENOTFOUND_RESOURCENOTFOUNDERROR = "ResourceNotFound.ResourceNotFoundError"
func (*Client) PauseMigrateJobWithContext ¶
func (c *Client) PauseMigrateJobWithContext(ctx context.Context, request *PauseMigrateJobRequest) (response *PauseMigrateJobResponse, err error)
PauseMigrateJob This API is used to pause a migration task.
error code that may be returned:
INTERNALERROR_INTERNALERRORERROR = "InternalError.InternalErrorError" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" INVALIDPARAMETER_INVALIDPARAMETERERROR = "InvalidParameter.InvalidParameterError" OPERATIONDENIED_OPERATIONDENIEDERROR = "OperationDenied.OperationDeniedError" RESOURCENOTFOUND_RESOURCENOTFOUNDERROR = "ResourceNotFound.ResourceNotFoundError"
func (*Client) PauseSyncJob ¶
func (c *Client) PauseSyncJob(request *PauseSyncJobRequest) (response *PauseSyncJobResponse, err error)
PauseSyncJob This API is used to pause a data sync task.
error code that may be returned:
INTERNALERROR_INTERNALERRORERROR = "InternalError.InternalErrorError" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" OPERATIONDENIED_BIZOPERATIONDENIEDERROR = "OperationDenied.BizOperationDeniedError" OPERATIONDENIED_OPERATIONDENIEDERROR = "OperationDenied.OperationDeniedError" RESOURCENOTFOUND = "ResourceNotFound" RESOURCENOTFOUND_BIZRESOURCENOTFOUNDERROR = "ResourceNotFound.BizResourceNotFoundError" RESOURCENOTFOUND_RESOURCENOTFOUND = "ResourceNotFound.ResourceNotFound" RESOURCENOTFOUND_RESOURCENOTFOUNDERROR = "ResourceNotFound.ResourceNotFoundError"
func (*Client) PauseSyncJobWithContext ¶
func (c *Client) PauseSyncJobWithContext(ctx context.Context, request *PauseSyncJobRequest) (response *PauseSyncJobResponse, err error)
PauseSyncJob This API is used to pause a data sync task.
error code that may be returned:
INTERNALERROR_INTERNALERRORERROR = "InternalError.InternalErrorError" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" OPERATIONDENIED_BIZOPERATIONDENIEDERROR = "OperationDenied.BizOperationDeniedError" OPERATIONDENIED_OPERATIONDENIEDERROR = "OperationDenied.OperationDeniedError" RESOURCENOTFOUND = "ResourceNotFound" RESOURCENOTFOUND_BIZRESOURCENOTFOUNDERROR = "ResourceNotFound.BizResourceNotFoundError" RESOURCENOTFOUND_RESOURCENOTFOUND = "ResourceNotFound.ResourceNotFound" RESOURCENOTFOUND_RESOURCENOTFOUNDERROR = "ResourceNotFound.ResourceNotFoundError"
func (*Client) RecoverMigrateJob ¶
func (c *Client) RecoverMigrateJob(request *RecoverMigrateJobRequest) (response *RecoverMigrateJobResponse, err error)
RecoverMigrateJob This API is used to recover a data migration task in **Isolated** status. After calling this API, you can call the `DescribeMigrationJobs` API to query the latest task status.
error code that may be returned:
INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError" RESOURCENOTFOUND_RESOURCENOTFOUNDERROR = "ResourceNotFound.ResourceNotFoundError"
func (*Client) RecoverMigrateJobWithContext ¶
func (c *Client) RecoverMigrateJobWithContext(ctx context.Context, request *RecoverMigrateJobRequest) (response *RecoverMigrateJobResponse, err error)
RecoverMigrateJob This API is used to recover a data migration task in **Isolated** status. After calling this API, you can call the `DescribeMigrationJobs` API to query the latest task status.
error code that may be returned:
INTERNALERROR_INTERNALHTTPSERVERERROR = "InternalError.InternalHttpServerError" RESOURCENOTFOUND_RESOURCENOTFOUNDERROR = "ResourceNotFound.ResourceNotFoundError"
func (*Client) RecoverSyncJob ¶
func (c *Client) RecoverSyncJob(request *RecoverSyncJobRequest) (response *RecoverSyncJobResponse, err error)
RecoverSyncJob This API is used to recover a sync task in **Isolated** status. After calling this API, you can call the `DescribeSyncJobs` API to query the latest task status.
error code that may be returned:
AUTHFAILURE_AUTHFAILUREERROR = "AuthFailure.AuthFailureError" DRYRUNOPERATION_DRYRUNOPERATIONERROR = "DryRunOperation.DryRunOperationError" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" INTERNALERROR_INTERNALERRORERROR = "InternalError.InternalErrorError" INVALIDPARAMETER_INVALIDPARAMETERERROR = "InvalidParameter.InvalidParameterError" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUE = "InvalidParameterValue.InvalidParameterValue" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" LIMITEXCEEDED_LIMITEXCEEDEDERROR = "LimitExceeded.LimitExceededError" MISSINGPARAMETER_MISSINGPARAMETERERROR = "MissingParameter.MissingParameterError" OPERATIONDENIED_OPERATIONDENIEDERROR = "OperationDenied.OperationDeniedError" REQUESTLIMITEXCEEDED_REQUESTLIMITEXCEEDEDERROR = "RequestLimitExceeded.RequestLimitExceededError" RESOURCEINUSE_RESOURCEINUSEERROR = "ResourceInUse.ResourceInUseError" RESOURCEINSUFFICIENT_RESOURCEINSUFFICIENTERROR = "ResourceInsufficient.ResourceInsufficientError" RESOURCENOTFOUND_RESOURCENOTFOUNDERROR = "ResourceNotFound.ResourceNotFoundError" RESOURCEUNAVAILABLE_RESOURCEUNAVAILABLEERROR = "ResourceUnavailable.ResourceUnavailableError" RESOURCESSOLDOUT_RESOURCESSOLDOUTERROR = "ResourcesSoldOut.ResourcesSoldOutError" UNAUTHORIZEDOPERATION_UNAUTHORIZEDOPERATIONERROR = "UnauthorizedOperation.UnauthorizedOperationError" UNKNOWNPARAMETER_UNKNOWNPARAMETERERROR = "UnknownParameter.UnknownParameterError" UNSUPPORTEDOPERATION_UNSUPPORTEDOPERATIONERROR = "UnsupportedOperation.UnsupportedOperationError"
func (*Client) RecoverSyncJobWithContext ¶
func (c *Client) RecoverSyncJobWithContext(ctx context.Context, request *RecoverSyncJobRequest) (response *RecoverSyncJobResponse, err error)
RecoverSyncJob This API is used to recover a sync task in **Isolated** status. After calling this API, you can call the `DescribeSyncJobs` API to query the latest task status.
error code that may be returned:
AUTHFAILURE_AUTHFAILUREERROR = "AuthFailure.AuthFailureError" DRYRUNOPERATION_DRYRUNOPERATIONERROR = "DryRunOperation.DryRunOperationError" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" INTERNALERROR_INTERNALERRORERROR = "InternalError.InternalErrorError" INVALIDPARAMETER_INVALIDPARAMETERERROR = "InvalidParameter.InvalidParameterError" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUE = "InvalidParameterValue.InvalidParameterValue" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" LIMITEXCEEDED_LIMITEXCEEDEDERROR = "LimitExceeded.LimitExceededError" MISSINGPARAMETER_MISSINGPARAMETERERROR = "MissingParameter.MissingParameterError" OPERATIONDENIED_OPERATIONDENIEDERROR = "OperationDenied.OperationDeniedError" REQUESTLIMITEXCEEDED_REQUESTLIMITEXCEEDEDERROR = "RequestLimitExceeded.RequestLimitExceededError" RESOURCEINUSE_RESOURCEINUSEERROR = "ResourceInUse.ResourceInUseError" RESOURCEINSUFFICIENT_RESOURCEINSUFFICIENTERROR = "ResourceInsufficient.ResourceInsufficientError" RESOURCENOTFOUND_RESOURCENOTFOUNDERROR = "ResourceNotFound.ResourceNotFoundError" RESOURCEUNAVAILABLE_RESOURCEUNAVAILABLEERROR = "ResourceUnavailable.ResourceUnavailableError" RESOURCESSOLDOUT_RESOURCESSOLDOUTERROR = "ResourcesSoldOut.ResourcesSoldOutError" UNAUTHORIZEDOPERATION_UNAUTHORIZEDOPERATIONERROR = "UnauthorizedOperation.UnauthorizedOperationError" UNKNOWNPARAMETER_UNKNOWNPARAMETERERROR = "UnknownParameter.UnknownParameterError" UNSUPPORTEDOPERATION_UNSUPPORTEDOPERATIONERROR = "UnsupportedOperation.UnsupportedOperationError"
func (*Client) ResizeSyncJob ¶
func (c *Client) ResizeSyncJob(request *ResizeSyncJobRequest) (response *ResizeSyncJobResponse, err error)
ResizeSyncJob This API is used to adjust the specification of a pay-as-you-go sync task. After this API is called, the backend needs to take about 3-5 minutes to implement the adjustment. You can call the `DescribeSyncJobs` API to query the latest task status.
error code that may be returned:
INTERNALERROR_INTERNALERRORERROR = "InternalError.InternalErrorError" INTERNALERROR_INTERNALTRADEERROR = "InternalError.InternalTradeError" INTERNALERROR_NOTENOUGHMONEYERROR = "InternalError.NotEnoughMoneyError" UNSUPPORTEDOPERATION_UNSUPPORTEDOPERATIONERROR = "UnsupportedOperation.UnsupportedOperationError"
func (*Client) ResizeSyncJobWithContext ¶
func (c *Client) ResizeSyncJobWithContext(ctx context.Context, request *ResizeSyncJobRequest) (response *ResizeSyncJobResponse, err error)
ResizeSyncJob This API is used to adjust the specification of a pay-as-you-go sync task. After this API is called, the backend needs to take about 3-5 minutes to implement the adjustment. You can call the `DescribeSyncJobs` API to query the latest task status.
error code that may be returned:
INTERNALERROR_INTERNALERRORERROR = "InternalError.InternalErrorError" INTERNALERROR_INTERNALTRADEERROR = "InternalError.InternalTradeError" INTERNALERROR_NOTENOUGHMONEYERROR = "InternalError.NotEnoughMoneyError" UNSUPPORTEDOPERATION_UNSUPPORTEDOPERATIONERROR = "UnsupportedOperation.UnsupportedOperationError"
func (*Client) ResumeMigrateJob ¶
func (c *Client) ResumeMigrateJob(request *ResumeMigrateJobRequest) (response *ResumeMigrateJobResponse, err error)
ResumeMigrateJob This API is used to retry an abnormal or failed Redis data migration task. Note that this operation will skip the check stage and directly start the task, just like by calling `StartMigrationJob`. After calling this API, you can call the `DescribeMigrationJobs` API to query the latest task status.
error code that may be returned:
AUTHFAILURE_AUTHFAILUREERROR = "AuthFailure.AuthFailureError" DRYRUNOPERATION_DRYRUNOPERATIONERROR = "DryRunOperation.DryRunOperationError" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" FAILEDOPERATION_NOTALLOWOPERATION = "FailedOperation.NotAllowOperation" INTERNALERROR_DATABASEERROR = "InternalError.DatabaseError" INTERNALERROR_DUPLICATEJOB = "InternalError.DuplicateJob" INTERNALERROR_INTERNALERRORERROR = "InternalError.InternalErrorError" INTERNALERROR_PROTOCOLERROR = "InternalError.ProtocolError" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_INVALIDPARAMETERERROR = "InvalidParameter.InvalidParameterError" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUE = "InvalidParameterValue.InvalidParameterValue" LIMITEXCEEDED_LIMITEXCEEDEDERROR = "LimitExceeded.LimitExceededError" OPERATIONDENIED_OPERATIONDENIEDERROR = "OperationDenied.OperationDeniedError" REQUESTLIMITEXCEEDED_REQUESTLIMITEXCEEDEDERROR = "RequestLimitExceeded.RequestLimitExceededError" RESOURCEINSUFFICIENT_RESOURCEINSUFFICIENTERROR = "ResourceInsufficient.ResourceInsufficientError" RESOURCENOTFOUND_JOBNOTEXIST = "ResourceNotFound.JobNotExist" RESOURCESSOLDOUT_RESOURCESSOLDOUTERROR = "ResourcesSoldOut.ResourcesSoldOutError" UNAUTHORIZEDOPERATION_NOTENOUGHPRIVILEGES = "UnauthorizedOperation.NotEnoughPrivileges" UNAUTHORIZEDOPERATION_UNAUTHORIZEDOPERATIONERROR = "UnauthorizedOperation.UnauthorizedOperationError" UNKNOWNPARAMETER_UNKNOWNPARAMETERERROR = "UnknownParameter.UnknownParameterError" UNSUPPORTEDOPERATION = "UnsupportedOperation" UNSUPPORTEDOPERATION_UNSUPPORTEDOPERATIONERROR = "UnsupportedOperation.UnsupportedOperationError"
func (*Client) ResumeMigrateJobWithContext ¶
func (c *Client) ResumeMigrateJobWithContext(ctx context.Context, request *ResumeMigrateJobRequest) (response *ResumeMigrateJobResponse, err error)
ResumeMigrateJob This API is used to retry an abnormal or failed Redis data migration task. Note that this operation will skip the check stage and directly start the task, just like by calling `StartMigrationJob`. After calling this API, you can call the `DescribeMigrationJobs` API to query the latest task status.
error code that may be returned:
AUTHFAILURE_AUTHFAILUREERROR = "AuthFailure.AuthFailureError" DRYRUNOPERATION_DRYRUNOPERATIONERROR = "DryRunOperation.DryRunOperationError" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" FAILEDOPERATION_NOTALLOWOPERATION = "FailedOperation.NotAllowOperation" INTERNALERROR_DATABASEERROR = "InternalError.DatabaseError" INTERNALERROR_DUPLICATEJOB = "InternalError.DuplicateJob" INTERNALERROR_INTERNALERRORERROR = "InternalError.InternalErrorError" INTERNALERROR_PROTOCOLERROR = "InternalError.ProtocolError" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_INVALIDPARAMETERERROR = "InvalidParameter.InvalidParameterError" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUE = "InvalidParameterValue.InvalidParameterValue" LIMITEXCEEDED_LIMITEXCEEDEDERROR = "LimitExceeded.LimitExceededError" OPERATIONDENIED_OPERATIONDENIEDERROR = "OperationDenied.OperationDeniedError" REQUESTLIMITEXCEEDED_REQUESTLIMITEXCEEDEDERROR = "RequestLimitExceeded.RequestLimitExceededError" RESOURCEINSUFFICIENT_RESOURCEINSUFFICIENTERROR = "ResourceInsufficient.ResourceInsufficientError" RESOURCENOTFOUND_JOBNOTEXIST = "ResourceNotFound.JobNotExist" RESOURCESSOLDOUT_RESOURCESSOLDOUTERROR = "ResourcesSoldOut.ResourcesSoldOutError" UNAUTHORIZEDOPERATION_NOTENOUGHPRIVILEGES = "UnauthorizedOperation.NotEnoughPrivileges" UNAUTHORIZEDOPERATION_UNAUTHORIZEDOPERATIONERROR = "UnauthorizedOperation.UnauthorizedOperationError" UNKNOWNPARAMETER_UNKNOWNPARAMETERERROR = "UnknownParameter.UnknownParameterError" UNSUPPORTEDOPERATION = "UnsupportedOperation" UNSUPPORTEDOPERATION_UNSUPPORTEDOPERATIONERROR = "UnsupportedOperation.UnsupportedOperationError"
func (*Client) ResumeSyncJob ¶
func (c *Client) ResumeSyncJob(request *ResumeSyncJobRequest) (response *ResumeSyncJobResponse, err error)
ResumeSyncJob This API is used to retry a sync task after certain resolvable errors are reported. After calling this API, you can call the `DescribeSyncJobs` API to query the latest task status.
error code that may be returned:
INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError"
func (*Client) ResumeSyncJobWithContext ¶
func (c *Client) ResumeSyncJobWithContext(ctx context.Context, request *ResumeSyncJobRequest) (response *ResumeSyncJobResponse, err error)
ResumeSyncJob This API is used to retry a sync task after certain resolvable errors are reported. After calling this API, you can call the `DescribeSyncJobs` API to query the latest task status.
error code that may be returned:
INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError"
func (*Client) SkipCheckItem ¶
func (c *Client) SkipCheckItem(request *SkipCheckItemRequest) (response *SkipCheckItemResponse, err error)
SkipCheckItem This API is used for the backend to skip a failed check item. Theoretically, to execute a migration task normally, any check step cannot be skipped, and the check must be passed. For products or links that support check item skipping, see [Check Item Overview](https://www.tencentcloud.com/document/product/571/42551).
error code that may be returned:
INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" OPERATIONDENIED_OPERATIONDENIEDERROR = "OperationDenied.OperationDeniedError" RESOURCENOTFOUND_RESOURCENOTFOUNDERROR = "ResourceNotFound.ResourceNotFoundError"
func (*Client) SkipCheckItemWithContext ¶
func (c *Client) SkipCheckItemWithContext(ctx context.Context, request *SkipCheckItemRequest) (response *SkipCheckItemResponse, err error)
SkipCheckItem This API is used for the backend to skip a failed check item. Theoretically, to execute a migration task normally, any check step cannot be skipped, and the check must be passed. For products or links that support check item skipping, see [Check Item Overview](https://www.tencentcloud.com/document/product/571/42551).
error code that may be returned:
INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" OPERATIONDENIED_OPERATIONDENIEDERROR = "OperationDenied.OperationDeniedError" RESOURCENOTFOUND_RESOURCENOTFOUNDERROR = "ResourceNotFound.ResourceNotFoundError"
func (*Client) SkipSyncCheckItem ¶
func (c *Client) SkipSyncCheckItem(request *SkipSyncCheckItemRequest) (response *SkipSyncCheckItemResponse, err error)
SkipSyncCheckItem This API is used for the backend to skip a failed check item. Theoretically, to execute a sync task normally, any check step cannot be skipped, and the check must be passed. For products or links that support check item skipping, see [Check Item Overview](https://www.tencentcloud.com/document/product/571/42551).
error code that may be returned:
AUTHFAILURE_AUTHFAILUREERROR = "AuthFailure.AuthFailureError" FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INTERNALERROR_DATABASEERROR = "InternalError.DatabaseError" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_OPERATIONDENIEDERROR = "OperationDenied.OperationDeniedError" RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) SkipSyncCheckItemWithContext ¶
func (c *Client) SkipSyncCheckItemWithContext(ctx context.Context, request *SkipSyncCheckItemRequest) (response *SkipSyncCheckItemResponse, err error)
SkipSyncCheckItem This API is used for the backend to skip a failed check item. Theoretically, to execute a sync task normally, any check step cannot be skipped, and the check must be passed. For products or links that support check item skipping, see [Check Item Overview](https://www.tencentcloud.com/document/product/571/42551).
error code that may be returned:
AUTHFAILURE_AUTHFAILUREERROR = "AuthFailure.AuthFailureError" FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INTERNALERROR_DATABASEERROR = "InternalError.DatabaseError" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_OPERATIONDENIEDERROR = "OperationDenied.OperationDeniedError" RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) StartCompare ¶
func (c *Client) StartCompare(request *StartCompareRequest) (response *StartCompareResponse, err error)
StartCompare This API is used to start a data consistency check task after creating it by calling the `CreateCompareTask` API. After calling this API, you can call the `DescribeCompareTasks` API to query the latest task status.
error code that may be returned:
AUTHFAILURE_AUTHFAILUREERROR = "AuthFailure.AuthFailureError" DRYRUNOPERATION_DRYRUNOPERATIONERROR = "DryRunOperation.DryRunOperationError" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" INTERNALERROR_INTERNALERRORERROR = "InternalError.InternalErrorError" INVALIDPARAMETER_INVALIDPARAMETERERROR = "InvalidParameter.InvalidParameterError" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" LIMITEXCEEDED_LIMITEXCEEDEDERROR = "LimitExceeded.LimitExceededError" MISSINGPARAMETER_MISSINGPARAMETERERROR = "MissingParameter.MissingParameterError" OPERATIONDENIED_OPERATIONDENIEDERROR = "OperationDenied.OperationDeniedError" REQUESTLIMITEXCEEDED_REQUESTLIMITEXCEEDEDERROR = "RequestLimitExceeded.RequestLimitExceededError" RESOURCEINUSE_RESOURCEINUSEERROR = "ResourceInUse.ResourceInUseError" RESOURCEINSUFFICIENT_RESOURCEINSUFFICIENTERROR = "ResourceInsufficient.ResourceInsufficientError" RESOURCENOTFOUND_RESOURCENOTFOUNDERROR = "ResourceNotFound.ResourceNotFoundError" RESOURCEUNAVAILABLE_RESOURCEUNAVAILABLEERROR = "ResourceUnavailable.ResourceUnavailableError" RESOURCESSOLDOUT_RESOURCESSOLDOUTERROR = "ResourcesSoldOut.ResourcesSoldOutError" UNAUTHORIZEDOPERATION_UNAUTHORIZEDOPERATIONERROR = "UnauthorizedOperation.UnauthorizedOperationError" UNKNOWNPARAMETER_UNKNOWNPARAMETERERROR = "UnknownParameter.UnknownParameterError" UNSUPPORTEDOPERATION_UNSUPPORTEDOPERATIONERROR = "UnsupportedOperation.UnsupportedOperationError"
func (*Client) StartCompareWithContext ¶
func (c *Client) StartCompareWithContext(ctx context.Context, request *StartCompareRequest) (response *StartCompareResponse, err error)
StartCompare This API is used to start a data consistency check task after creating it by calling the `CreateCompareTask` API. After calling this API, you can call the `DescribeCompareTasks` API to query the latest task status.
error code that may be returned:
AUTHFAILURE_AUTHFAILUREERROR = "AuthFailure.AuthFailureError" DRYRUNOPERATION_DRYRUNOPERATIONERROR = "DryRunOperation.DryRunOperationError" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" INTERNALERROR_INTERNALERRORERROR = "InternalError.InternalErrorError" INVALIDPARAMETER_INVALIDPARAMETERERROR = "InvalidParameter.InvalidParameterError" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" LIMITEXCEEDED_LIMITEXCEEDEDERROR = "LimitExceeded.LimitExceededError" MISSINGPARAMETER_MISSINGPARAMETERERROR = "MissingParameter.MissingParameterError" OPERATIONDENIED_OPERATIONDENIEDERROR = "OperationDenied.OperationDeniedError" REQUESTLIMITEXCEEDED_REQUESTLIMITEXCEEDEDERROR = "RequestLimitExceeded.RequestLimitExceededError" RESOURCEINUSE_RESOURCEINUSEERROR = "ResourceInUse.ResourceInUseError" RESOURCEINSUFFICIENT_RESOURCEINSUFFICIENTERROR = "ResourceInsufficient.ResourceInsufficientError" RESOURCENOTFOUND_RESOURCENOTFOUNDERROR = "ResourceNotFound.ResourceNotFoundError" RESOURCEUNAVAILABLE_RESOURCEUNAVAILABLEERROR = "ResourceUnavailable.ResourceUnavailableError" RESOURCESSOLDOUT_RESOURCESSOLDOUTERROR = "ResourcesSoldOut.ResourcesSoldOutError" UNAUTHORIZEDOPERATION_UNAUTHORIZEDOPERATIONERROR = "UnauthorizedOperation.UnauthorizedOperationError" UNKNOWNPARAMETER_UNKNOWNPARAMETERERROR = "UnknownParameter.UnknownParameterError" UNSUPPORTEDOPERATION_UNSUPPORTEDOPERATIONERROR = "UnsupportedOperation.UnsupportedOperationError"
func (*Client) StartMigrateJob ¶
func (c *Client) StartMigrateJob(request *StartMigrateJobRequest) (response *StartMigrateJobResponse, err error)
StartMigrateJob This API (`StartMigrationJob`) is used to start a migration task. After calling this API, you can call the `DescribeMigrationJobs` API to query the latest task status.
error code that may be returned:
AUTHFAILURE_AUTHFAILUREERROR = "AuthFailure.AuthFailureError" DRYRUNOPERATION_DRYRUNOPERATIONERROR = "DryRunOperation.DryRunOperationError" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" FAILEDOPERATION_NOTALLOWOPERATION = "FailedOperation.NotAllowOperation" FAILEDOPERATION_STARTJOBFAILED = "FailedOperation.StartJobFailed" FAILEDOPERATION_STATUSINCONFLICT = "FailedOperation.StatusInConflict" INTERNALERROR_ADDTASKERROR = "InternalError.AddTaskError" INTERNALERROR_DATABASEERROR = "InternalError.DatabaseError" INTERNALERROR_DUPLICATEJOB = "InternalError.DuplicateJob" INTERNALERROR_INTERNALERRORERROR = "InternalError.InternalErrorError" INTERNALERROR_INTERNALINNERCOMMONERROR = "InternalError.InternalInnerCommonError" INTERNALERROR_LOCKERROR = "InternalError.LockError" INTERNALERROR_PROTOCOLERROR = "InternalError.ProtocolError" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_INVALIDPARAMETERERROR = "InvalidParameter.InvalidParameterError" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" LIMITEXCEEDED_LIMITEXCEEDEDERROR = "LimitExceeded.LimitExceededError" LIMITEXCEEDED_MAXUNUSEDJOBS = "LimitExceeded.MaxUnusedJobs" MISSINGPARAMETER_MISSINGPARAMETERERROR = "MissingParameter.MissingParameterError" OPERATIONDENIED_BIZOPERATIONDENIEDERROR = "OperationDenied.BizOperationDeniedError" OPERATIONDENIED_JOBOPERATIONDENIEDERROR = "OperationDenied.JobOperationDeniedError" OPERATIONDENIED_OPERATIONDENIEDERROR = "OperationDenied.OperationDeniedError" REQUESTLIMITEXCEEDED_REQUESTLIMITEXCEEDEDERROR = "RequestLimitExceeded.RequestLimitExceededError" RESOURCEINUSE_RESOURCEINUSEERROR = "ResourceInUse.ResourceInUseError" RESOURCEINSUFFICIENT_RESOURCEINSUFFICIENTERROR = "ResourceInsufficient.ResourceInsufficientError" RESOURCENOTFOUND_JOBNOTEXIST = "ResourceNotFound.JobNotExist" RESOURCENOTFOUND_RESOURCENOTFOUNDERROR = "ResourceNotFound.ResourceNotFoundError" RESOURCEUNAVAILABLE_RESOURCEUNAVAILABLEERROR = "ResourceUnavailable.ResourceUnavailableError" RESOURCESSOLDOUT_RESOURCESSOLDOUTERROR = "ResourcesSoldOut.ResourcesSoldOutError" UNAUTHORIZEDOPERATION_NOTENOUGHPRIVILEGES = "UnauthorizedOperation.NotEnoughPrivileges" UNKNOWNPARAMETER_UNKNOWNPARAMETERERROR = "UnknownParameter.UnknownParameterError" UNSUPPORTEDOPERATION_UNSUPPORTEDOPERATIONERROR = "UnsupportedOperation.UnsupportedOperationError"
func (*Client) StartMigrateJobWithContext ¶
func (c *Client) StartMigrateJobWithContext(ctx context.Context, request *StartMigrateJobRequest) (response *StartMigrateJobResponse, err error)
StartMigrateJob This API (`StartMigrationJob`) is used to start a migration task. After calling this API, you can call the `DescribeMigrationJobs` API to query the latest task status.
error code that may be returned:
AUTHFAILURE_AUTHFAILUREERROR = "AuthFailure.AuthFailureError" DRYRUNOPERATION_DRYRUNOPERATIONERROR = "DryRunOperation.DryRunOperationError" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" FAILEDOPERATION_NOTALLOWOPERATION = "FailedOperation.NotAllowOperation" FAILEDOPERATION_STARTJOBFAILED = "FailedOperation.StartJobFailed" FAILEDOPERATION_STATUSINCONFLICT = "FailedOperation.StatusInConflict" INTERNALERROR_ADDTASKERROR = "InternalError.AddTaskError" INTERNALERROR_DATABASEERROR = "InternalError.DatabaseError" INTERNALERROR_DUPLICATEJOB = "InternalError.DuplicateJob" INTERNALERROR_INTERNALERRORERROR = "InternalError.InternalErrorError" INTERNALERROR_INTERNALINNERCOMMONERROR = "InternalError.InternalInnerCommonError" INTERNALERROR_LOCKERROR = "InternalError.LockError" INTERNALERROR_PROTOCOLERROR = "InternalError.ProtocolError" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_INVALIDPARAMETERERROR = "InvalidParameter.InvalidParameterError" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" LIMITEXCEEDED_LIMITEXCEEDEDERROR = "LimitExceeded.LimitExceededError" LIMITEXCEEDED_MAXUNUSEDJOBS = "LimitExceeded.MaxUnusedJobs" MISSINGPARAMETER_MISSINGPARAMETERERROR = "MissingParameter.MissingParameterError" OPERATIONDENIED_BIZOPERATIONDENIEDERROR = "OperationDenied.BizOperationDeniedError" OPERATIONDENIED_JOBOPERATIONDENIEDERROR = "OperationDenied.JobOperationDeniedError" OPERATIONDENIED_OPERATIONDENIEDERROR = "OperationDenied.OperationDeniedError" REQUESTLIMITEXCEEDED_REQUESTLIMITEXCEEDEDERROR = "RequestLimitExceeded.RequestLimitExceededError" RESOURCEINUSE_RESOURCEINUSEERROR = "ResourceInUse.ResourceInUseError" RESOURCEINSUFFICIENT_RESOURCEINSUFFICIENTERROR = "ResourceInsufficient.ResourceInsufficientError" RESOURCENOTFOUND_JOBNOTEXIST = "ResourceNotFound.JobNotExist" RESOURCENOTFOUND_RESOURCENOTFOUNDERROR = "ResourceNotFound.ResourceNotFoundError" RESOURCEUNAVAILABLE_RESOURCEUNAVAILABLEERROR = "ResourceUnavailable.ResourceUnavailableError" RESOURCESSOLDOUT_RESOURCESSOLDOUTERROR = "ResourcesSoldOut.ResourcesSoldOutError" UNAUTHORIZEDOPERATION_NOTENOUGHPRIVILEGES = "UnauthorizedOperation.NotEnoughPrivileges" UNKNOWNPARAMETER_UNKNOWNPARAMETERERROR = "UnknownParameter.UnknownParameterError" UNSUPPORTEDOPERATION_UNSUPPORTEDOPERATIONERROR = "UnsupportedOperation.UnsupportedOperationError"
func (*Client) StartModifySyncJob ¶
func (c *Client) StartModifySyncJob(request *StartModifySyncJobRequest) (response *StartModifySyncJobResponse, err error)
StartModifySyncJob This API is used to start the configuration modification process when the modification check task status becomes “success”.
error code that may be returned:
INVALIDPARAMETER_INVALIDPARAMETERERROR = "InvalidParameter.InvalidParameterError" RESOURCENOTFOUND_RESOURCENOTFOUNDERROR = "ResourceNotFound.ResourceNotFoundError"
func (*Client) StartModifySyncJobWithContext ¶
func (c *Client) StartModifySyncJobWithContext(ctx context.Context, request *StartModifySyncJobRequest) (response *StartModifySyncJobResponse, err error)
StartModifySyncJob This API is used to start the configuration modification process when the modification check task status becomes “success”.
error code that may be returned:
INVALIDPARAMETER_INVALIDPARAMETERERROR = "InvalidParameter.InvalidParameterError" RESOURCENOTFOUND_RESOURCENOTFOUNDERROR = "ResourceNotFound.ResourceNotFoundError"
func (*Client) StartSyncJob ¶
func (c *Client) StartSyncJob(request *StartSyncJobRequest) (response *StartSyncJobResponse, err error)
StartSyncJob This API is used to start a sync task.
error code that may be returned:
INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" OPERATIONDENIED_BIZOPERATIONDENIEDERROR = "OperationDenied.BizOperationDeniedError" OPERATIONDENIED_OPERATIONDENIEDERROR = "OperationDenied.OperationDeniedError" RESOURCENOTFOUND_RESOURCENOTFOUNDERROR = "ResourceNotFound.ResourceNotFoundError"
func (*Client) StartSyncJobWithContext ¶
func (c *Client) StartSyncJobWithContext(ctx context.Context, request *StartSyncJobRequest) (response *StartSyncJobResponse, err error)
StartSyncJob This API is used to start a sync task.
error code that may be returned:
INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" OPERATIONDENIED_BIZOPERATIONDENIEDERROR = "OperationDenied.BizOperationDeniedError" OPERATIONDENIED_OPERATIONDENIEDERROR = "OperationDenied.OperationDeniedError" RESOURCENOTFOUND_RESOURCENOTFOUNDERROR = "ResourceNotFound.ResourceNotFoundError"
func (*Client) StopCompare ¶
func (c *Client) StopCompare(request *StopCompareRequest) (response *StopCompareResponse, err error)
StopCompare This API is used to stop a data consistency check task.
error code that may be returned:
AUTHFAILURE_AUTHFAILUREERROR = "AuthFailure.AuthFailureError" DRYRUNOPERATION_DRYRUNOPERATIONERROR = "DryRunOperation.DryRunOperationError" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" INTERNALERROR_INTERNALERRORERROR = "InternalError.InternalErrorError" INVALIDPARAMETER_INVALIDPARAMETERERROR = "InvalidParameter.InvalidParameterError" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" LIMITEXCEEDED_LIMITEXCEEDEDERROR = "LimitExceeded.LimitExceededError" MISSINGPARAMETER_MISSINGPARAMETERERROR = "MissingParameter.MissingParameterError" OPERATIONDENIED_OPERATIONDENIEDERROR = "OperationDenied.OperationDeniedError" REQUESTLIMITEXCEEDED_REQUESTLIMITEXCEEDEDERROR = "RequestLimitExceeded.RequestLimitExceededError" RESOURCEINUSE_RESOURCEINUSEERROR = "ResourceInUse.ResourceInUseError" RESOURCEINSUFFICIENT_RESOURCEINSUFFICIENTERROR = "ResourceInsufficient.ResourceInsufficientError" RESOURCENOTFOUND_RESOURCENOTFOUNDERROR = "ResourceNotFound.ResourceNotFoundError" RESOURCEUNAVAILABLE_RESOURCEUNAVAILABLEERROR = "ResourceUnavailable.ResourceUnavailableError" RESOURCESSOLDOUT_RESOURCESSOLDOUTERROR = "ResourcesSoldOut.ResourcesSoldOutError" UNAUTHORIZEDOPERATION_UNAUTHORIZEDOPERATIONERROR = "UnauthorizedOperation.UnauthorizedOperationError" UNKNOWNPARAMETER_UNKNOWNPARAMETERERROR = "UnknownParameter.UnknownParameterError" UNSUPPORTEDOPERATION_UNSUPPORTEDOPERATIONERROR = "UnsupportedOperation.UnsupportedOperationError"
func (*Client) StopCompareWithContext ¶
func (c *Client) StopCompareWithContext(ctx context.Context, request *StopCompareRequest) (response *StopCompareResponse, err error)
StopCompare This API is used to stop a data consistency check task.
error code that may be returned:
AUTHFAILURE_AUTHFAILUREERROR = "AuthFailure.AuthFailureError" DRYRUNOPERATION_DRYRUNOPERATIONERROR = "DryRunOperation.DryRunOperationError" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" INTERNALERROR_INTERNALERRORERROR = "InternalError.InternalErrorError" INVALIDPARAMETER_INVALIDPARAMETERERROR = "InvalidParameter.InvalidParameterError" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" LIMITEXCEEDED_LIMITEXCEEDEDERROR = "LimitExceeded.LimitExceededError" MISSINGPARAMETER_MISSINGPARAMETERERROR = "MissingParameter.MissingParameterError" OPERATIONDENIED_OPERATIONDENIEDERROR = "OperationDenied.OperationDeniedError" REQUESTLIMITEXCEEDED_REQUESTLIMITEXCEEDEDERROR = "RequestLimitExceeded.RequestLimitExceededError" RESOURCEINUSE_RESOURCEINUSEERROR = "ResourceInUse.ResourceInUseError" RESOURCEINSUFFICIENT_RESOURCEINSUFFICIENTERROR = "ResourceInsufficient.ResourceInsufficientError" RESOURCENOTFOUND_RESOURCENOTFOUNDERROR = "ResourceNotFound.ResourceNotFoundError" RESOURCEUNAVAILABLE_RESOURCEUNAVAILABLEERROR = "ResourceUnavailable.ResourceUnavailableError" RESOURCESSOLDOUT_RESOURCESSOLDOUTERROR = "ResourcesSoldOut.ResourcesSoldOutError" UNAUTHORIZEDOPERATION_UNAUTHORIZEDOPERATIONERROR = "UnauthorizedOperation.UnauthorizedOperationError" UNKNOWNPARAMETER_UNKNOWNPARAMETERERROR = "UnknownParameter.UnknownParameterError" UNSUPPORTEDOPERATION_UNSUPPORTEDOPERATIONERROR = "UnsupportedOperation.UnsupportedOperationError"
func (*Client) StopMigrateJob ¶
func (c *Client) StopMigrateJob(request *StopMigrateJobRequest) (response *StopMigrateJobResponse, err error)
StopMigrateJob This API is used to stop a data migration task.
After calling this API, you can call the `DescribeMigrationJobs` API to query the latest task status.
error code that may be returned:
AUTHFAILURE_AUTHFAILUREERROR = "AuthFailure.AuthFailureError" DRYRUNOPERATION_DRYRUNOPERATIONERROR = "DryRunOperation.DryRunOperationError" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" FAILEDOPERATION_NOTALLOWOPERATION = "FailedOperation.NotAllowOperation" FAILEDOPERATION_STATUSINCONFLICT = "FailedOperation.StatusInConflict" INTERNALERROR_DATABASEERROR = "InternalError.DatabaseError" INTERNALERROR_DUPLICATEJOB = "InternalError.DuplicateJob" INTERNALERROR_INTERNALERRORERROR = "InternalError.InternalErrorError" INTERNALERROR_PROTOCOLERROR = "InternalError.ProtocolError" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_INVALIDPARAMETERERROR = "InvalidParameter.InvalidParameterError" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" LIMITEXCEEDED_LIMITEXCEEDEDERROR = "LimitExceeded.LimitExceededError" OPERATIONDENIED_JOBOPERATIONDENIEDERROR = "OperationDenied.JobOperationDeniedError" OPERATIONDENIED_OPERATIONDENIEDERROR = "OperationDenied.OperationDeniedError" REQUESTLIMITEXCEEDED_REQUESTLIMITEXCEEDEDERROR = "RequestLimitExceeded.RequestLimitExceededError" RESOURCEINUSE_RESOURCEINUSEERROR = "ResourceInUse.ResourceInUseError" RESOURCEINSUFFICIENT_RESOURCEINSUFFICIENTERROR = "ResourceInsufficient.ResourceInsufficientError" RESOURCENOTFOUND_JOBNOTEXIST = "ResourceNotFound.JobNotExist" RESOURCENOTFOUND_RESOURCENOTFOUNDERROR = "ResourceNotFound.ResourceNotFoundError" RESOURCEUNAVAILABLE_RESOURCEUNAVAILABLEERROR = "ResourceUnavailable.ResourceUnavailableError" RESOURCESSOLDOUT_RESOURCESSOLDOUTERROR = "ResourcesSoldOut.ResourcesSoldOutError" UNAUTHORIZEDOPERATION_NOTENOUGHPRIVILEGES = "UnauthorizedOperation.NotEnoughPrivileges" UNAUTHORIZEDOPERATION_UNAUTHORIZEDOPERATIONERROR = "UnauthorizedOperation.UnauthorizedOperationError" UNKNOWNPARAMETER_UNKNOWNPARAMETERERROR = "UnknownParameter.UnknownParameterError" UNSUPPORTEDOPERATION_UNSUPPORTEDOPERATIONERROR = "UnsupportedOperation.UnsupportedOperationError"
func (*Client) StopMigrateJobWithContext ¶
func (c *Client) StopMigrateJobWithContext(ctx context.Context, request *StopMigrateJobRequest) (response *StopMigrateJobResponse, err error)
StopMigrateJob This API is used to stop a data migration task.
After calling this API, you can call the `DescribeMigrationJobs` API to query the latest task status.
error code that may be returned:
AUTHFAILURE_AUTHFAILUREERROR = "AuthFailure.AuthFailureError" DRYRUNOPERATION_DRYRUNOPERATIONERROR = "DryRunOperation.DryRunOperationError" FAILEDOPERATION_FAILEDOPERATIONERROR = "FailedOperation.FailedOperationError" FAILEDOPERATION_NOTALLOWOPERATION = "FailedOperation.NotAllowOperation" FAILEDOPERATION_STATUSINCONFLICT = "FailedOperation.StatusInConflict" INTERNALERROR_DATABASEERROR = "InternalError.DatabaseError" INTERNALERROR_DUPLICATEJOB = "InternalError.DuplicateJob" INTERNALERROR_INTERNALERRORERROR = "InternalError.InternalErrorError" INTERNALERROR_PROTOCOLERROR = "InternalError.ProtocolError" INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_INVALIDPARAMETERERROR = "InvalidParameter.InvalidParameterError" INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" LIMITEXCEEDED_LIMITEXCEEDEDERROR = "LimitExceeded.LimitExceededError" OPERATIONDENIED_JOBOPERATIONDENIEDERROR = "OperationDenied.JobOperationDeniedError" OPERATIONDENIED_OPERATIONDENIEDERROR = "OperationDenied.OperationDeniedError" REQUESTLIMITEXCEEDED_REQUESTLIMITEXCEEDEDERROR = "RequestLimitExceeded.RequestLimitExceededError" RESOURCEINUSE_RESOURCEINUSEERROR = "ResourceInUse.ResourceInUseError" RESOURCEINSUFFICIENT_RESOURCEINSUFFICIENTERROR = "ResourceInsufficient.ResourceInsufficientError" RESOURCENOTFOUND_JOBNOTEXIST = "ResourceNotFound.JobNotExist" RESOURCENOTFOUND_RESOURCENOTFOUNDERROR = "ResourceNotFound.ResourceNotFoundError" RESOURCEUNAVAILABLE_RESOURCEUNAVAILABLEERROR = "ResourceUnavailable.ResourceUnavailableError" RESOURCESSOLDOUT_RESOURCESSOLDOUTERROR = "ResourcesSoldOut.ResourcesSoldOutError" UNAUTHORIZEDOPERATION_NOTENOUGHPRIVILEGES = "UnauthorizedOperation.NotEnoughPrivileges" UNAUTHORIZEDOPERATION_UNAUTHORIZEDOPERATIONERROR = "UnauthorizedOperation.UnauthorizedOperationError" UNKNOWNPARAMETER_UNKNOWNPARAMETERERROR = "UnknownParameter.UnknownParameterError" UNSUPPORTEDOPERATION_UNSUPPORTEDOPERATIONERROR = "UnsupportedOperation.UnsupportedOperationError"
func (*Client) StopSyncJob ¶
func (c *Client) StopSyncJob(request *StopSyncJobRequest) (response *StopSyncJobResponse, err error)
StopSyncJob This API is used to stop a sync task. After calling this API, you can call the `DescribeSyncJobs` API to query the latest task status.
error code that may be returned:
INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" RESOURCENOTFOUND_RESOURCENOTFOUNDERROR = "ResourceNotFound.ResourceNotFoundError"
func (*Client) StopSyncJobWithContext ¶
func (c *Client) StopSyncJobWithContext(ctx context.Context, request *StopSyncJobRequest) (response *StopSyncJobResponse, err error)
StopSyncJob This API is used to stop a sync task. After calling this API, you can call the `DescribeSyncJobs` API to query the latest task status.
error code that may be returned:
INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" RESOURCENOTFOUND_RESOURCENOTFOUNDERROR = "ResourceNotFound.ResourceNotFoundError"
type CompareAbstractInfo ¶
type CompareAbstractInfo struct { // Configuration parameters of the check task // Note: This field may return null, indicating that no valid values can be obtained. Options *CompareOptions `json:"Options,omitnil,omitempty" name:"Options"` // Consistency check objects // Note: This field may return null, indicating that no valid values can be obtained. Objects *CompareObject `json:"Objects,omitnil,omitempty" name:"Objects"` // Comparison conclusion. Valid values: `same`, `different`. // Note: This field may return null, indicating that no valid values can be obtained. Conclusion *string `json:"Conclusion,omitnil,omitempty" name:"Conclusion"` // Task status. Valid values: `success`, `failed`. // Note: This field may return null, indicating that no valid values can be obtained. Status *string `json:"Status,omitnil,omitempty" name:"Status"` // Total number of tables // Note: This field may return null, indicating that no valid values can be obtained. TotalTables *uint64 `json:"TotalTables,omitnil,omitempty" name:"TotalTables"` // Number of checked tables // Note: This field may return null, indicating that no valid values can be obtained. CheckedTables *uint64 `json:"CheckedTables,omitnil,omitempty" name:"CheckedTables"` // Number of inconsistent tables // Note: This field may return null, indicating that no valid values can be obtained. DifferentTables *uint64 `json:"DifferentTables,omitnil,omitempty" name:"DifferentTables"` // Number of skipped tables // Note: This field may return null, indicating that no valid values can be obtained. SkippedTables *uint64 `json:"SkippedTables,omitnil,omitempty" name:"SkippedTables"` // The estimated number of tables // Note: This field may return null, indicating that no valid values can be obtained. NearlyTableCount *uint64 `json:"NearlyTableCount,omitnil,omitempty" name:"NearlyTableCount"` // Number of inconsistent data rows // Note: This field may return null, indicating that no valid values can be obtained. DifferentRows *uint64 `json:"DifferentRows,omitnil,omitempty" name:"DifferentRows"` // Source database row count, which takes effect only when the comparison type is **Row count comparison**. // Note: This field may return null, indicating that no valid values can be obtained. SrcSampleRows *uint64 `json:"SrcSampleRows,omitnil,omitempty" name:"SrcSampleRows"` // Target database row count, which takes effect only when the comparison type is **Row count comparison**. // Note: This field may return null, indicating that no valid values can be obtained. DstSampleRows *uint64 `json:"DstSampleRows,omitnil,omitempty" name:"DstSampleRows"` // Start time // Note: This field may return null, indicating that no valid values can be obtained. StartedAt *string `json:"StartedAt,omitnil,omitempty" name:"StartedAt"` // End time // Note: This field may return null, indicating that no valid values can be obtained. FinishedAt *string `json:"FinishedAt,omitnil,omitempty" name:"FinishedAt"` }
type CompareDetailInfo ¶
type CompareDetailInfo struct { // Details of inconsistent tables // Note: This field may return null, indicating that no valid values can be obtained. Difference *DifferenceDetail `json:"Difference,omitnil,omitempty" name:"Difference"` // Details of skipped tables // Note: This field may return null, indicating that no valid values can be obtained. Skipped *SkippedDetail `json:"Skipped,omitnil,omitempty" name:"Skipped"` }
type CompareObject ¶
type CompareObject struct { // Data comparison object mode (`all`: Entire instance; `partial`: Some objects) // Note: This field may return null, indicating that no valid values can be obtained. ObjectMode *string `json:"ObjectMode,omitnil,omitempty" name:"ObjectMode"` // Object list // Note: This field may return null, indicating that no valid values can be obtained. ObjectItems []*CompareObjectItem `json:"ObjectItems,omitnil,omitempty" name:"ObjectItems"` // Advanced object type (`account`: Account; `index`: Index; `shardkey`: Shard key, which may be adjusted later; `schema`: Database/table structure) // Note: This field may return null, indicating that no valid values can be obtained. AdvancedObjects []*string `json:"AdvancedObjects,omitnil,omitempty" name:"AdvancedObjects"` }
type CompareObjectItem ¶
type CompareObjectItem struct { // Database name // Note: This field may return null, indicating that no valid values can be obtained. DbName *string `json:"DbName,omitnil,omitempty" name:"DbName"` // Database selection mode. Valid values: `all`, `partial`. // Note: This field may return null, indicating that no valid values can be obtained. DbMode *string `json:"DbMode,omitnil,omitempty" name:"DbMode"` // Schema name // Note: This field may return null, indicating that no valid values can be obtained. SchemaName *string `json:"SchemaName,omitnil,omitempty" name:"SchemaName"` // Schema selection mode. Valid values: `all`, `partial`. // Note: This field may return null, indicating that no valid values can be obtained. TableMode *string `json:"TableMode,omitnil,omitempty" name:"TableMode"` // Table configuration for data consistency check, which is required if `TableMode` is `partial`. // Note: This field may return null, indicating that no valid values can be obtained. Tables []*CompareTableItem `json:"Tables,omitnil,omitempty" name:"Tables"` // View selection mode. Valid values: `all`, `partial`. // Note: This field may return null, indicating that no valid values can be obtained. ViewMode *string `json:"ViewMode,omitnil,omitempty" name:"ViewMode"` // View configuration for data consistency check, which is required if `ViewMode` is `partial`. // Note: This field may return null, indicating that no valid values can be obtained. Views []*CompareViewItem `json:"Views,omitnil,omitempty" name:"Views"` }
type CompareOptions ¶
type CompareOptions struct { // Comparison type: (`dataCheck`: Full data comparison; `sampleDataCheck`: Sampling data comparison; `rowsCount`: Row count comparison) // Note: This field may return null, indicating that no valid values can be obtained. Method *string `json:"Method,omitnil,omitempty" name:"Method"` // Sampling rate. Value range: 0-100%. // Note: This field may return null, indicating that no valid values can be obtained. SampleRate *int64 `json:"SampleRate,omitnil,omitempty" name:"SampleRate"` // The number of threads, which defaults to 1. Value range: 1-5. // Note: This field may return null, indicating that no valid values can be obtained. ThreadCount *int64 `json:"ThreadCount,omitnil,omitempty" name:"ThreadCount"` }
type CompareTableItem ¶
type CompareTableItem struct { // Table name // Note: This field may return null, indicating that no valid values can be obtained. TableName *string `json:"TableName,omitnil,omitempty" name:"TableName"` }
type CompareTaskInfo ¶
type CompareTaskInfo struct { // Data consistency check task ID // Note: This field may return null, indicating that no valid values can be obtained. CompareTaskId *string `json:"CompareTaskId,omitnil,omitempty" name:"CompareTaskId"` // Data consistency check result. Valid values: `unstart` (the task is not started); `running` (the task is running); `canceled` (the task is stopped); `failed` (the task failed); `inconsistent` (the data is inconsistent); `consistent` (the data is consistent); `notexist` (the task does not exist). // Note: This field may return null, indicating that no valid values can be obtained. Status *string `json:"Status,omitnil,omitempty" name:"Status"` }
type CompareTaskItem ¶
type CompareTaskItem struct { // Task ID // Note: This field may return null, indicating that no valid values can be obtained. JobId *string `json:"JobId,omitnil,omitempty" name:"JobId"` // Data consistency check task ID // Note: This field may return null, indicating that no valid values can be obtained. CompareTaskId *string `json:"CompareTaskId,omitnil,omitempty" name:"CompareTaskId"` // Data consistency check task name // Note: This field may return null, indicating that no valid values can be obtained. TaskName *string `json:"TaskName,omitnil,omitempty" name:"TaskName"` // Data consistency check task status. Valid values: `created`, `readyRun`, `running`, `success`, `stopping`, `failed`, `canceled`. // Note: This field may return null, indicating that no valid values can be obtained. Status *string `json:"Status,omitnil,omitempty" name:"Status"` // Data consistency check task configuration // Note: This field may return null, indicating that no valid values can be obtained. Config *CompareObject `json:"Config,omitnil,omitempty" name:"Config"` // Check details of the data consistency check task // Note: This field may return null, indicating that no valid values can be obtained. CheckProcess *ProcessProgress `json:"CheckProcess,omitnil,omitempty" name:"CheckProcess"` // Running details of the data consistency check task // Note: This field may return null, indicating that no valid values can be obtained. CompareProcess *ProcessProgress `json:"CompareProcess,omitnil,omitempty" name:"CompareProcess"` // Comparison result. Valid values: `same`, `different`, `skipAll`. // Note: This field may return null, indicating that no valid values can be obtained. Conclusion *string `json:"Conclusion,omitnil,omitempty" name:"Conclusion"` // Task creation time // Note: This field may return null, indicating that no valid values can be obtained. CreatedAt *string `json:"CreatedAt,omitnil,omitempty" name:"CreatedAt"` // Task start time // Note: This field may return null, indicating that no valid values can be obtained. StartedAt *string `json:"StartedAt,omitnil,omitempty" name:"StartedAt"` // Comparison end time // Note: This field may return null, indicating that no valid values can be obtained. FinishedAt *string `json:"FinishedAt,omitnil,omitempty" name:"FinishedAt"` // Comparison type: (`dataCheck`: Full data comparison; `sampleDataCheck`: Sampling data comparison; `rowsCount`: Row count comparison) // Note: This field may return null, indicating that no valid values can be obtained. Method *string `json:"Method,omitnil,omitempty" name:"Method"` // Configuration information of the comparison task // Note: This field may return null, indicating that no valid values can be obtained. Options *CompareOptions `json:"Options,omitnil,omitempty" name:"Options"` // Consistency check prompt message // Note: This field may return null, indicating that no valid values can be obtained. Message *string `json:"Message,omitnil,omitempty" name:"Message"` }
type CompareViewItem ¶
type CompareViewItem struct { // View name // Note: This field may return null, indicating that no valid values can be obtained. ViewName *string `json:"ViewName,omitnil,omitempty" name:"ViewName"` }
type CompleteMigrateJobRequest ¶
type CompleteMigrateJobRequest struct { *tchttp.BaseRequest // Data migration task ID JobId *string `json:"JobId,omitnil,omitempty" name:"JobId"` // The way to complete the task, which is supported only for legacy MySQL migration tasks. Valid values: `waitForSync` (wait for the source-replica lag to become 0 before stopping); `immediately` (complete immediately without waiting for source-replica sync). Default value: `waitForSync`. CompleteMode *string `json:"CompleteMode,omitnil,omitempty" name:"CompleteMode"` }
func NewCompleteMigrateJobRequest ¶
func NewCompleteMigrateJobRequest() (request *CompleteMigrateJobRequest)
func (*CompleteMigrateJobRequest) FromJsonString ¶
func (r *CompleteMigrateJobRequest) 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 (*CompleteMigrateJobRequest) ToJsonString ¶
func (r *CompleteMigrateJobRequest) ToJsonString() string
type CompleteMigrateJobRequestParams ¶
type CompleteMigrateJobRequestParams struct { // Data migration task ID JobId *string `json:"JobId,omitnil,omitempty" name:"JobId"` // The way to complete the task, which is supported only for legacy MySQL migration tasks. Valid values: `waitForSync` (wait for the source-replica lag to become 0 before stopping); `immediately` (complete immediately without waiting for source-replica sync). Default value: `waitForSync`. CompleteMode *string `json:"CompleteMode,omitnil,omitempty" name:"CompleteMode"` }
Predefined struct for user
type CompleteMigrateJobResponse ¶
type CompleteMigrateJobResponse struct { *tchttp.BaseResponse Response *CompleteMigrateJobResponseParams `json:"Response"` }
func NewCompleteMigrateJobResponse ¶
func NewCompleteMigrateJobResponse() (response *CompleteMigrateJobResponse)
func (*CompleteMigrateJobResponse) FromJsonString ¶
func (r *CompleteMigrateJobResponse) 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 (*CompleteMigrateJobResponse) ToJsonString ¶
func (r *CompleteMigrateJobResponse) ToJsonString() string
type CompleteMigrateJobResponseParams ¶
type CompleteMigrateJobResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type ConfigureSyncJobRequest ¶
type ConfigureSyncJobRequest struct { *tchttp.BaseRequest // Sync task instance ID in the format of `sync-werwfs23`, which is used to identify a sync task. JobId *string `json:"JobId,omitnil,omitempty" name:"JobId"` // Source database access type. Valid values: `cdb` (database); `cvm` (self-build on CVM); `vpc` (VPC); `extranet` (public network); `vpncloud` (VPN access); `dcg` (Direct Connect); `ccn` (CCN); `intranet` (intranet). Note that the valid values are subject to the current link. SrcAccessType *string `json:"SrcAccessType,omitnil,omitempty" name:"SrcAccessType"` // Target database access type. Valid values: `cdb` (database); `cvm` (self-build on CVM); `vpc` (VPC); `extranet` (public network); `vpncloud` (VPN access); `dcg` (Direct Connect); `ccn` (CCN); `intranet` (intranet); `ckafka` (CKafka instance). Note that the valid values are subject to the current link. DstAccessType *string `json:"DstAccessType,omitnil,omitempty" name:"DstAccessType"` // Information of synced database/table objects Objects *Objects `json:"Objects,omitnil,omitempty" name:"Objects"` // Sync task name JobName *string `json:"JobName,omitnil,omitempty" name:"JobName"` // Enumerated values: `liteMode`: Lite mode; `fullMode`: Standard mode JobMode *string `json:"JobMode,omitnil,omitempty" name:"JobMode"` // Running mode. Valid values: `Immediate`, `Timed`. Default value: `Immediate`. RunMode *string `json:"RunMode,omitnil,omitempty" name:"RunMode"` // Expected start time in the format of "2006-01-02 15:04:05", which is required if `RunMode` is `Timed`. ExpectRunTime *string `json:"ExpectRunTime,omitnil,omitempty" name:"ExpectRunTime"` // Source database information. This parameter only applies to single-node databases, and `SrcNodeType` must be `single`. SrcInfo *Endpoint `json:"SrcInfo,omitnil,omitempty" name:"SrcInfo"` // Source database information. This parameter is valid for multi-node databases, and the value of `SrcNodeType` must be `cluster`. SrcInfos *SyncDBEndpointInfos `json:"SrcInfos,omitnil,omitempty" name:"SrcInfos"` // Enumerated values: `single` (for single-node source database), `cluster` (for multi-node source database). SrcNodeType *string `json:"SrcNodeType,omitnil,omitempty" name:"SrcNodeType"` // Target database information. This parameter is used by single-node databases. DstInfo *Endpoint `json:"DstInfo,omitnil,omitempty" name:"DstInfo"` // Target database information. This parameter is valid for multi-node databases, and the value of `DstNodeType` must be `cluster`. DstInfos *SyncDBEndpointInfos `json:"DstInfos,omitnil,omitempty" name:"DstInfos"` // Enumerated values: `single` (for single-node target database), `cluster` (for multi-node target database). DstNodeType *string `json:"DstNodeType,omitnil,omitempty" name:"DstNodeType"` // Sync task options. The `RateLimitOption` option cannot take effect currently. To modify the speed limit settings, use the `ModifySyncRateLimit` API. Options *Options `json:"Options,omitnil,omitempty" name:"Options"` // Automatic retry time, which can be set to 5-720 minutes. 0 indicates that retry is disabled. AutoRetryTimeRangeMinutes *int64 `json:"AutoRetryTimeRangeMinutes,omitnil,omitempty" name:"AutoRetryTimeRangeMinutes"` }
func NewConfigureSyncJobRequest ¶
func NewConfigureSyncJobRequest() (request *ConfigureSyncJobRequest)
func (*ConfigureSyncJobRequest) FromJsonString ¶
func (r *ConfigureSyncJobRequest) 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 (*ConfigureSyncJobRequest) ToJsonString ¶
func (r *ConfigureSyncJobRequest) ToJsonString() string
type ConfigureSyncJobRequestParams ¶
type ConfigureSyncJobRequestParams struct { // Sync task instance ID in the format of `sync-werwfs23`, which is used to identify a sync task. JobId *string `json:"JobId,omitnil,omitempty" name:"JobId"` // Source database access type. Valid values: `cdb` (database); `cvm` (self-build on CVM); `vpc` (VPC); `extranet` (public network); `vpncloud` (VPN access); `dcg` (Direct Connect); `ccn` (CCN); `intranet` (intranet). Note that the valid values are subject to the current link. SrcAccessType *string `json:"SrcAccessType,omitnil,omitempty" name:"SrcAccessType"` // Target database access type. Valid values: `cdb` (database); `cvm` (self-build on CVM); `vpc` (VPC); `extranet` (public network); `vpncloud` (VPN access); `dcg` (Direct Connect); `ccn` (CCN); `intranet` (intranet); `ckafka` (CKafka instance). Note that the valid values are subject to the current link. DstAccessType *string `json:"DstAccessType,omitnil,omitempty" name:"DstAccessType"` // Information of synced database/table objects Objects *Objects `json:"Objects,omitnil,omitempty" name:"Objects"` // Sync task name JobName *string `json:"JobName,omitnil,omitempty" name:"JobName"` // Enumerated values: `liteMode`: Lite mode; `fullMode`: Standard mode JobMode *string `json:"JobMode,omitnil,omitempty" name:"JobMode"` // Running mode. Valid values: `Immediate`, `Timed`. Default value: `Immediate`. RunMode *string `json:"RunMode,omitnil,omitempty" name:"RunMode"` // Expected start time in the format of "2006-01-02 15:04:05", which is required if `RunMode` is `Timed`. ExpectRunTime *string `json:"ExpectRunTime,omitnil,omitempty" name:"ExpectRunTime"` // Source database information. This parameter only applies to single-node databases, and `SrcNodeType` must be `single`. SrcInfo *Endpoint `json:"SrcInfo,omitnil,omitempty" name:"SrcInfo"` // Source database information. This parameter is valid for multi-node databases, and the value of `SrcNodeType` must be `cluster`. SrcInfos *SyncDBEndpointInfos `json:"SrcInfos,omitnil,omitempty" name:"SrcInfos"` // Enumerated values: `single` (for single-node source database), `cluster` (for multi-node source database). SrcNodeType *string `json:"SrcNodeType,omitnil,omitempty" name:"SrcNodeType"` // Target database information. This parameter is used by single-node databases. DstInfo *Endpoint `json:"DstInfo,omitnil,omitempty" name:"DstInfo"` // Target database information. This parameter is valid for multi-node databases, and the value of `DstNodeType` must be `cluster`. DstInfos *SyncDBEndpointInfos `json:"DstInfos,omitnil,omitempty" name:"DstInfos"` // Enumerated values: `single` (for single-node target database), `cluster` (for multi-node target database). DstNodeType *string `json:"DstNodeType,omitnil,omitempty" name:"DstNodeType"` // Sync task options. The `RateLimitOption` option cannot take effect currently. To modify the speed limit settings, use the `ModifySyncRateLimit` API. Options *Options `json:"Options,omitnil,omitempty" name:"Options"` // Automatic retry time, which can be set to 5-720 minutes. 0 indicates that retry is disabled. AutoRetryTimeRangeMinutes *int64 `json:"AutoRetryTimeRangeMinutes,omitnil,omitempty" name:"AutoRetryTimeRangeMinutes"` }
Predefined struct for user
type ConfigureSyncJobResponse ¶
type ConfigureSyncJobResponse struct { *tchttp.BaseResponse Response *ConfigureSyncJobResponseParams `json:"Response"` }
func NewConfigureSyncJobResponse ¶
func NewConfigureSyncJobResponse() (response *ConfigureSyncJobResponse)
func (*ConfigureSyncJobResponse) FromJsonString ¶
func (r *ConfigureSyncJobResponse) 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 (*ConfigureSyncJobResponse) ToJsonString ¶
func (r *ConfigureSyncJobResponse) ToJsonString() string
type ConfigureSyncJobResponseParams ¶
type ConfigureSyncJobResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type ConflictHandleOption ¶
type ConflictHandleOption struct { // Conditionally overwritten column // Note: This field may return null, indicating that no valid values can be obtained. ConditionColumn *string `json:"ConditionColumn,omitnil,omitempty" name:"ConditionColumn"` // Conditional overwrite operation // Note: This field may return null, indicating that no valid values can be obtained. ConditionOperator *string `json:"ConditionOperator,omitnil,omitempty" name:"ConditionOperator"` // Conditional overwrite priority configuration // Note: This field may return null, indicating that no valid values can be obtained. ConditionOrderInSrcAndDst *string `json:"ConditionOrderInSrcAndDst,omitnil,omitempty" name:"ConditionOrderInSrcAndDst"` }
type ConsistencyOption ¶
type ConsistencyOption struct { // Data consistency check type. Valid values: `full`, `noCheck`, `notConfigured`. // Note: This field may return null, indicating that no valid values can be obtained. Mode *string `json:"Mode,omitnil,omitempty" name:"Mode"` }
type ContinueMigrateJobRequest ¶
type ContinueMigrateJobRequest struct { *tchttp.BaseRequest // Data migration task ID JobId *string `json:"JobId,omitnil,omitempty" name:"JobId"` }
func NewContinueMigrateJobRequest ¶
func NewContinueMigrateJobRequest() (request *ContinueMigrateJobRequest)
func (*ContinueMigrateJobRequest) FromJsonString ¶
func (r *ContinueMigrateJobRequest) 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 (*ContinueMigrateJobRequest) ToJsonString ¶
func (r *ContinueMigrateJobRequest) ToJsonString() string
type ContinueMigrateJobRequestParams ¶
type ContinueMigrateJobRequestParams struct { // Data migration task ID JobId *string `json:"JobId,omitnil,omitempty" name:"JobId"` }
Predefined struct for user
type ContinueMigrateJobResponse ¶
type ContinueMigrateJobResponse struct { *tchttp.BaseResponse Response *ContinueMigrateJobResponseParams `json:"Response"` }
func NewContinueMigrateJobResponse ¶
func NewContinueMigrateJobResponse() (response *ContinueMigrateJobResponse)
func (*ContinueMigrateJobResponse) FromJsonString ¶
func (r *ContinueMigrateJobResponse) 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 (*ContinueMigrateJobResponse) ToJsonString ¶
func (r *ContinueMigrateJobResponse) ToJsonString() string
type ContinueMigrateJobResponseParams ¶
type ContinueMigrateJobResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type ContinueSyncJobRequest ¶
type ContinueSyncJobRequest struct { *tchttp.BaseRequest // Sync task ID JobId *string `json:"JobId,omitnil,omitempty" name:"JobId"` }
func NewContinueSyncJobRequest ¶
func NewContinueSyncJobRequest() (request *ContinueSyncJobRequest)
func (*ContinueSyncJobRequest) FromJsonString ¶
func (r *ContinueSyncJobRequest) 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 (*ContinueSyncJobRequest) ToJsonString ¶
func (r *ContinueSyncJobRequest) ToJsonString() string
type ContinueSyncJobRequestParams ¶
type ContinueSyncJobRequestParams struct { // Sync task ID JobId *string `json:"JobId,omitnil,omitempty" name:"JobId"` }
Predefined struct for user
type ContinueSyncJobResponse ¶
type ContinueSyncJobResponse struct { *tchttp.BaseResponse Response *ContinueSyncJobResponseParams `json:"Response"` }
func NewContinueSyncJobResponse ¶
func NewContinueSyncJobResponse() (response *ContinueSyncJobResponse)
func (*ContinueSyncJobResponse) FromJsonString ¶
func (r *ContinueSyncJobResponse) 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 (*ContinueSyncJobResponse) ToJsonString ¶
func (r *ContinueSyncJobResponse) ToJsonString() string
type ContinueSyncJobResponseParams ¶
type ContinueSyncJobResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type CreateCheckSyncJobRequest ¶
type CreateCheckSyncJobRequest struct { *tchttp.BaseRequest // Sync task ID JobId *string `json:"JobId,omitnil,omitempty" name:"JobId"` }
func NewCreateCheckSyncJobRequest ¶
func NewCreateCheckSyncJobRequest() (request *CreateCheckSyncJobRequest)
func (*CreateCheckSyncJobRequest) FromJsonString ¶
func (r *CreateCheckSyncJobRequest) 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 (*CreateCheckSyncJobRequest) ToJsonString ¶
func (r *CreateCheckSyncJobRequest) ToJsonString() string
type CreateCheckSyncJobRequestParams ¶
type CreateCheckSyncJobRequestParams struct { // Sync task ID JobId *string `json:"JobId,omitnil,omitempty" name:"JobId"` }
Predefined struct for user
type CreateCheckSyncJobResponse ¶
type CreateCheckSyncJobResponse struct { *tchttp.BaseResponse Response *CreateCheckSyncJobResponseParams `json:"Response"` }
func NewCreateCheckSyncJobResponse ¶
func NewCreateCheckSyncJobResponse() (response *CreateCheckSyncJobResponse)
func (*CreateCheckSyncJobResponse) FromJsonString ¶
func (r *CreateCheckSyncJobResponse) 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 (*CreateCheckSyncJobResponse) ToJsonString ¶
func (r *CreateCheckSyncJobResponse) ToJsonString() string
type CreateCheckSyncJobResponseParams ¶
type CreateCheckSyncJobResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type CreateCompareTaskRequest ¶
type CreateCompareTaskRequest struct { *tchttp.BaseRequest // Task ID JobId *string `json:"JobId,omitnil,omitempty" name:"JobId"` // Data consistency check task name. If this parameter is left empty, the value of `CompareTaskId` will be assigned to it. TaskName *string `json:"TaskName,omitnil,omitempty" name:"TaskName"` // Data comparison object mode. Valid values: `sameAsMigrate` (all migration objects); `custom` (custom mode). Default value: `sameAsMigrate`. ObjectMode *string `json:"ObjectMode,omitnil,omitempty" name:"ObjectMode"` // Configuration of the data consistency check object Objects *CompareObject `json:"Objects,omitnil,omitempty" name:"Objects"` // Consistency check options Options *CompareOptions `json:"Options,omitnil,omitempty" name:"Options"` }
func NewCreateCompareTaskRequest ¶
func NewCreateCompareTaskRequest() (request *CreateCompareTaskRequest)
func (*CreateCompareTaskRequest) FromJsonString ¶
func (r *CreateCompareTaskRequest) 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 (*CreateCompareTaskRequest) ToJsonString ¶
func (r *CreateCompareTaskRequest) ToJsonString() string
type CreateCompareTaskRequestParams ¶
type CreateCompareTaskRequestParams struct { // Task ID JobId *string `json:"JobId,omitnil,omitempty" name:"JobId"` // Data consistency check task name. If this parameter is left empty, the value of `CompareTaskId` will be assigned to it. TaskName *string `json:"TaskName,omitnil,omitempty" name:"TaskName"` // Data comparison object mode. Valid values: `sameAsMigrate` (all migration objects); `custom` (custom mode). Default value: `sameAsMigrate`. ObjectMode *string `json:"ObjectMode,omitnil,omitempty" name:"ObjectMode"` // Configuration of the data consistency check object Objects *CompareObject `json:"Objects,omitnil,omitempty" name:"Objects"` // Consistency check options Options *CompareOptions `json:"Options,omitnil,omitempty" name:"Options"` }
Predefined struct for user
type CreateCompareTaskResponse ¶
type CreateCompareTaskResponse struct { *tchttp.BaseResponse Response *CreateCompareTaskResponseParams `json:"Response"` }
func NewCreateCompareTaskResponse ¶
func NewCreateCompareTaskResponse() (response *CreateCompareTaskResponse)
func (*CreateCompareTaskResponse) FromJsonString ¶
func (r *CreateCompareTaskResponse) 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 (*CreateCompareTaskResponse) ToJsonString ¶
func (r *CreateCompareTaskResponse) ToJsonString() string
type CreateCompareTaskResponseParams ¶
type CreateCompareTaskResponseParams struct { // Data consistency check task ID in the format of `dts-8yv4w2i1-cmp-37skmii9`. // Note: This field may return null, indicating that no valid values can be obtained. CompareTaskId *string `json:"CompareTaskId,omitnil,omitempty" name:"CompareTaskId"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type CreateMigrateCheckJobRequest ¶
type CreateMigrateCheckJobRequest struct { *tchttp.BaseRequest // Data migration task ID JobId *string `json:"JobId,omitnil,omitempty" name:"JobId"` }
func NewCreateMigrateCheckJobRequest ¶
func NewCreateMigrateCheckJobRequest() (request *CreateMigrateCheckJobRequest)
func (*CreateMigrateCheckJobRequest) FromJsonString ¶
func (r *CreateMigrateCheckJobRequest) 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 (*CreateMigrateCheckJobRequest) ToJsonString ¶
func (r *CreateMigrateCheckJobRequest) ToJsonString() string
type CreateMigrateCheckJobRequestParams ¶
type CreateMigrateCheckJobRequestParams struct { // Data migration task ID JobId *string `json:"JobId,omitnil,omitempty" name:"JobId"` }
Predefined struct for user
type CreateMigrateCheckJobResponse ¶
type CreateMigrateCheckJobResponse struct { *tchttp.BaseResponse Response *CreateMigrateCheckJobResponseParams `json:"Response"` }
func NewCreateMigrateCheckJobResponse ¶
func NewCreateMigrateCheckJobResponse() (response *CreateMigrateCheckJobResponse)
func (*CreateMigrateCheckJobResponse) FromJsonString ¶
func (r *CreateMigrateCheckJobResponse) 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 (*CreateMigrateCheckJobResponse) ToJsonString ¶
func (r *CreateMigrateCheckJobResponse) ToJsonString() string
type CreateMigrateCheckJobResponseParams ¶
type CreateMigrateCheckJobResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type CreateMigrationServiceRequest ¶
type CreateMigrationServiceRequest struct { *tchttp.BaseRequest // Source database type. Valid values: `mysql`, `redis`, `percona`, `mongodb`, `postgresql`, `sqlserver`, `mariadb`, and `cynosdbmysql`. SrcDatabaseType *string `json:"SrcDatabaseType,omitnil,omitempty" name:"SrcDatabaseType"` // Target database type. Valid values: `mysql`, `redis`, `percona`, `mongodb` ,`postgresql`, `sqlserver`, `mariadb`, and `cynosdbmysql`. DstDatabaseType *string `json:"DstDatabaseType,omitnil,omitempty" name:"DstDatabaseType"` // Source instance region, such as `ap-guangzhou`. SrcRegion *string `json:"SrcRegion,omitnil,omitempty" name:"SrcRegion"` // Target instance region, such as `ap-guangzhou`. Note that it must be the same as the API request region. DstRegion *string `json:"DstRegion,omitnil,omitempty" name:"DstRegion"` // Instance specification. Valid values: `small`, `medium`, `large`, `xlarge`, `2xlarge`. InstanceClass *string `json:"InstanceClass,omitnil,omitempty" name:"InstanceClass"` // Quantity. Value range: [1,15]. Default value: `1`. Count *uint64 `json:"Count,omitnil,omitempty" name:"Count"` // Migration task name, which can contain up to 128 characters. JobName *string `json:"JobName,omitnil,omitempty" name:"JobName"` // Tag information Tags []*TagItem `json:"Tags,omitnil,omitempty" name:"Tags"` }
func NewCreateMigrationServiceRequest ¶
func NewCreateMigrationServiceRequest() (request *CreateMigrationServiceRequest)
func (*CreateMigrationServiceRequest) FromJsonString ¶
func (r *CreateMigrationServiceRequest) 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 (*CreateMigrationServiceRequest) ToJsonString ¶
func (r *CreateMigrationServiceRequest) ToJsonString() string
type CreateMigrationServiceRequestParams ¶
type CreateMigrationServiceRequestParams struct { // Source database type. Valid values: `mysql`, `redis`, `percona`, `mongodb`, `postgresql`, `sqlserver`, `mariadb`, and `cynosdbmysql`. SrcDatabaseType *string `json:"SrcDatabaseType,omitnil,omitempty" name:"SrcDatabaseType"` // Target database type. Valid values: `mysql`, `redis`, `percona`, `mongodb` ,`postgresql`, `sqlserver`, `mariadb`, and `cynosdbmysql`. DstDatabaseType *string `json:"DstDatabaseType,omitnil,omitempty" name:"DstDatabaseType"` // Source instance region, such as `ap-guangzhou`. SrcRegion *string `json:"SrcRegion,omitnil,omitempty" name:"SrcRegion"` // Target instance region, such as `ap-guangzhou`. Note that it must be the same as the API request region. DstRegion *string `json:"DstRegion,omitnil,omitempty" name:"DstRegion"` // Instance specification. Valid values: `small`, `medium`, `large`, `xlarge`, `2xlarge`. InstanceClass *string `json:"InstanceClass,omitnil,omitempty" name:"InstanceClass"` // Quantity. Value range: [1,15]. Default value: `1`. Count *uint64 `json:"Count,omitnil,omitempty" name:"Count"` // Migration task name, which can contain up to 128 characters. JobName *string `json:"JobName,omitnil,omitempty" name:"JobName"` // Tag information Tags []*TagItem `json:"Tags,omitnil,omitempty" name:"Tags"` }
Predefined struct for user
type CreateMigrationServiceResponse ¶
type CreateMigrationServiceResponse struct { *tchttp.BaseResponse Response *CreateMigrationServiceResponseParams `json:"Response"` }
func NewCreateMigrationServiceResponse ¶
func NewCreateMigrationServiceResponse() (response *CreateMigrationServiceResponse)
func (*CreateMigrationServiceResponse) FromJsonString ¶
func (r *CreateMigrationServiceResponse) 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 (*CreateMigrationServiceResponse) ToJsonString ¶
func (r *CreateMigrationServiceResponse) ToJsonString() string
type CreateMigrationServiceResponseParams ¶
type CreateMigrationServiceResponseParams struct { // The list of migration task IDs randomly generated in the format of `dts-c1f6rs21` after a successful order placement // Note: This field may return null, indicating that no valid values can be obtained. JobIds []*string `json:"JobIds,omitnil,omitempty" name:"JobIds"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type CreateModifyCheckSyncJobRequest ¶
type CreateModifyCheckSyncJobRequest struct { *tchttp.BaseRequest // Sync task ID JobId *string `json:"JobId,omitnil,omitempty" name:"JobId"` }
func NewCreateModifyCheckSyncJobRequest ¶
func NewCreateModifyCheckSyncJobRequest() (request *CreateModifyCheckSyncJobRequest)
func (*CreateModifyCheckSyncJobRequest) FromJsonString ¶
func (r *CreateModifyCheckSyncJobRequest) 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 (*CreateModifyCheckSyncJobRequest) ToJsonString ¶
func (r *CreateModifyCheckSyncJobRequest) ToJsonString() string
type CreateModifyCheckSyncJobRequestParams ¶
type CreateModifyCheckSyncJobRequestParams struct { // Sync task ID JobId *string `json:"JobId,omitnil,omitempty" name:"JobId"` }
Predefined struct for user
type CreateModifyCheckSyncJobResponse ¶
type CreateModifyCheckSyncJobResponse struct { *tchttp.BaseResponse Response *CreateModifyCheckSyncJobResponseParams `json:"Response"` }
func NewCreateModifyCheckSyncJobResponse ¶
func NewCreateModifyCheckSyncJobResponse() (response *CreateModifyCheckSyncJobResponse)
func (*CreateModifyCheckSyncJobResponse) FromJsonString ¶
func (r *CreateModifyCheckSyncJobResponse) 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 (*CreateModifyCheckSyncJobResponse) ToJsonString ¶
func (r *CreateModifyCheckSyncJobResponse) ToJsonString() string
type CreateModifyCheckSyncJobResponseParams ¶
type CreateModifyCheckSyncJobResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type CreateSyncJobRequest ¶
type CreateSyncJobRequest struct { *tchttp.BaseRequest // Billing mode. Valid values: `PrePay` (monthly subscription); `PostPay` (pay-as-you-go). Currently, DTS at Tencent Cloud International is free of charge. PayMode *string `json:"PayMode,omitnil,omitempty" name:"PayMode"` // Source database type, such as `mysql`, `cynosdbmysql`, `tdapg`, `tdpg`, and `tdsqlmysql`. SrcDatabaseType *string `json:"SrcDatabaseType,omitnil,omitempty" name:"SrcDatabaseType"` // Source database region, such as `ap-guangzhou`. SrcRegion *string `json:"SrcRegion,omitnil,omitempty" name:"SrcRegion"` // Target database type, such as `mysql`, `cynosdbmysql`, `tdapg`, `tdpg`, `tdsqlmysql`, and `kafka`. DstDatabaseType *string `json:"DstDatabaseType,omitnil,omitempty" name:"DstDatabaseType"` // Target database region, such as `ap-guangzhou`. DstRegion *string `json:"DstRegion,omitnil,omitempty" name:"DstRegion"` // Sync task specification, such as `Standard`. Specification *string `json:"Specification,omitnil,omitempty" name:"Specification"` // Tag information Tags []*TagItem `json:"Tags,omitnil,omitempty" name:"Tags"` // The number of sync tasks purchased at a time. Value range: [1, 10]. Default value: `1`. Count *uint64 `json:"Count,omitnil,omitempty" name:"Count"` // Auto-renewal flag, which takes effect if `PayMode` is `PrePay`. Valid values: `1` (auto-renewal enabled); `0` (auto-renewal disabled). Default value: `0`. AutoRenew *uint64 `json:"AutoRenew,omitnil,omitempty" name:"AutoRenew"` // Sync link specification, such as `micro`, `small`, `medium`, and `large`. Default value: `medium`. InstanceClass *string `json:"InstanceClass,omitnil,omitempty" name:"InstanceClass"` // Sync task name JobName *string `json:"JobName,omitnil,omitempty" name:"JobName"` // ID of the existing task used to create a similar task ExistedJobId *string `json:"ExistedJobId,omitnil,omitempty" name:"ExistedJobId"` }
func NewCreateSyncJobRequest ¶
func NewCreateSyncJobRequest() (request *CreateSyncJobRequest)
func (*CreateSyncJobRequest) FromJsonString ¶
func (r *CreateSyncJobRequest) 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 (*CreateSyncJobRequest) ToJsonString ¶
func (r *CreateSyncJobRequest) ToJsonString() string
type CreateSyncJobRequestParams ¶
type CreateSyncJobRequestParams struct { // Billing mode. Valid values: `PrePay` (monthly subscription); `PostPay` (pay-as-you-go). Currently, DTS at Tencent Cloud International is free of charge. PayMode *string `json:"PayMode,omitnil,omitempty" name:"PayMode"` // Source database type, such as `mysql`, `cynosdbmysql`, `tdapg`, `tdpg`, and `tdsqlmysql`. SrcDatabaseType *string `json:"SrcDatabaseType,omitnil,omitempty" name:"SrcDatabaseType"` // Source database region, such as `ap-guangzhou`. SrcRegion *string `json:"SrcRegion,omitnil,omitempty" name:"SrcRegion"` // Target database type, such as `mysql`, `cynosdbmysql`, `tdapg`, `tdpg`, `tdsqlmysql`, and `kafka`. DstDatabaseType *string `json:"DstDatabaseType,omitnil,omitempty" name:"DstDatabaseType"` // Target database region, such as `ap-guangzhou`. DstRegion *string `json:"DstRegion,omitnil,omitempty" name:"DstRegion"` // Sync task specification, such as `Standard`. Specification *string `json:"Specification,omitnil,omitempty" name:"Specification"` // Tag information Tags []*TagItem `json:"Tags,omitnil,omitempty" name:"Tags"` // The number of sync tasks purchased at a time. Value range: [1, 10]. Default value: `1`. Count *uint64 `json:"Count,omitnil,omitempty" name:"Count"` // Auto-renewal flag, which takes effect if `PayMode` is `PrePay`. Valid values: `1` (auto-renewal enabled); `0` (auto-renewal disabled). Default value: `0`. AutoRenew *uint64 `json:"AutoRenew,omitnil,omitempty" name:"AutoRenew"` // Sync link specification, such as `micro`, `small`, `medium`, and `large`. Default value: `medium`. InstanceClass *string `json:"InstanceClass,omitnil,omitempty" name:"InstanceClass"` // Sync task name JobName *string `json:"JobName,omitnil,omitempty" name:"JobName"` // ID of the existing task used to create a similar task ExistedJobId *string `json:"ExistedJobId,omitnil,omitempty" name:"ExistedJobId"` }
Predefined struct for user
type CreateSyncJobResponse ¶
type CreateSyncJobResponse struct { *tchttp.BaseResponse Response *CreateSyncJobResponseParams `json:"Response"` }
func NewCreateSyncJobResponse ¶
func NewCreateSyncJobResponse() (response *CreateSyncJobResponse)
func (*CreateSyncJobResponse) FromJsonString ¶
func (r *CreateSyncJobResponse) 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 (*CreateSyncJobResponse) ToJsonString ¶
func (r *CreateSyncJobResponse) ToJsonString() string
type CreateSyncJobResponseParams ¶
type CreateSyncJobResponseParams struct { // Sync task IDs JobIds []*string `json:"JobIds,omitnil,omitempty" name:"JobIds"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DBEndpointInfo ¶
type DBEndpointInfo struct { // Instance region // Note: This field may return null, indicating that no valid values can be obtained. Region *string `json:"Region,omitnil,omitempty" name:"Region"` // Instances network access type. Valid values: `extranet` (public network); `ipv6` (public IPv6); `cvm` (self-build on CVM); `dcg` (Direct Connect); `vpncloud` (VPN access); `cdb` (database); `ccn` (CCN); `intranet` (intranet); `vpc` (VPC). Note that the valid values are subject to the current link. // Note: This field may return null, indicating that no valid values can be obtained. AccessType *string `json:"AccessType,omitnil,omitempty" name:"AccessType"` // Database type, such as `mysql`, `redis`, `mongodb`, `postgresql`, `mariadb`, and `percona`. // Note: This field may return null, indicating that no valid values can be obtained. DatabaseType *string `json:"DatabaseType,omitnil,omitempty" name:"DatabaseType"` // Node type. Valid values: empty or `simple` (general node); `cluster` (cluster node). // Note: This field may return null, indicating that no valid values can be obtained. NodeType *string `json:"NodeType,omitnil,omitempty" name:"NodeType"` // Database information // Note: This field may return null, indicating that no valid values can be obtained. Info []*DBInfo `json:"Info,omitnil,omitempty" name:"Info"` // Instance service provider, such as "aliyun" and "others". // Note: This field may return null, indicating that no valid values can be obtained. Supplier *string `json:"Supplier,omitnil,omitempty" name:"Supplier"` // For MongoDB, you can define the following parameters: ['AuthDatabase':'admin', // 'AuthFlag': "1", 'AuthMechanism':"SCRAM-SHA-1"] // Note: This field may return null, indicating that no valid values can be obtained. ExtraAttr []*KeyValuePairOption `json:"ExtraAttr,omitnil,omitempty" name:"ExtraAttr"` // Network environment of the database. This parameter is required when `AccessType` is `ccn`. Valid values: `UserIDC` (user IDC), `TencentVPC` (Tencent Cloud VPC). // Note: This field may return null, indicating that no valid values can be obtained. DatabaseNetEnv *string `json:"DatabaseNetEnv,omitnil,omitempty" name:"DatabaseNetEnv"` }
type DBInfo ¶
type DBInfo struct { // Node role in a distributed database, such as the mongos node in MongoDB. // Note: This field may return null, indicating that no valid values can be obtained. Role *string `json:"Role,omitnil,omitempty" name:"Role"` // Kernel version, such as the different kernel versions of MariaDB. // Note: This field may return null, indicating that no valid values can be obtained. DbKernel *string `json:"DbKernel,omitnil,omitempty" name:"DbKernel"` // Instance IP address, which is required for the following access types: public network, Direct Connect, VPN, CCN, intranet, and VPC. // Note: This field may return null, indicating that no valid values can be obtained. Host *string `json:"Host,omitnil,omitempty" name:"Host"` // Instance port, which is required for the following access types: public network, self-build on CVM, Direct Connect, VPN, CCN, intranet, and VPC. // Note: This field may return null, indicating that no valid values can be obtained. Port *uint64 `json:"Port,omitnil,omitempty" name:"Port"` // Instance username // Note: This field may return null, indicating that no valid values can be obtained. User *string `json:"User,omitnil,omitempty" name:"User"` // Instance password // Note: This field may return null, indicating that no valid values can be obtained. Password *string `json:"Password,omitnil,omitempty" name:"Password"` // Short CVM instance ID in the format of `ins-olgl39y8`, which is required if the access type is `cvm`. It is the same as the instance ID displayed in the CVM console. // Note: This field may return null, indicating that no valid values can be obtained. CvmInstanceId *string `json:"CvmInstanceId,omitnil,omitempty" name:"CvmInstanceId"` // VPN gateway ID in the format of `vpngw-9ghexg7q`, which is required if the access type is `vpncloud`. // Note: This field may return null, indicating that no valid values can be obtained. UniqVpnGwId *string `json:"UniqVpnGwId,omitnil,omitempty" name:"UniqVpnGwId"` // Direct Connect gateway ID in the format of `dcg-0rxtqqxb`, which is required if the access type is `dcg`. // Note: This field may return null, indicating that no valid values can be obtained. UniqDcgId *string `json:"UniqDcgId,omitnil,omitempty" name:"UniqDcgId"` // Database instance ID in the format of `cdb-powiqx8q`, which is required if the access type is `cdb`. // Note: This field may return null, indicating that no valid values can be obtained. InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // CCN instance ID such as `ccn-afp6kltc` // Note: This field may return null, indicating that no valid values can be obtained. CcnGwId *string `json:"CcnGwId,omitnil,omitempty" name:"CcnGwId"` // VPC ID in the format of `vpc-92jblxto`, which is required if the access type is `vpc`, `vpncloud`, `ccn`, or `dcg`. // Note: This field may return null, indicating that no valid values can be obtained. VpcId *string `json:"VpcId,omitnil,omitempty" name:"VpcId"` // ID of the subnet in the VPC in the format of `subnet-3paxmkdz`, which is required if the access type is `vpc`, `vpncloud`, `ccn`, or `dcg`. // Note: This field may return null, indicating that no valid values can be obtained. SubnetId *string `json:"SubnetId,omitnil,omitempty" name:"SubnetId"` // Database version in the format of `5.6` or `5.7`, which takes effect only if the instance is an RDS instance. Default value: `5.6`. // Note: This field may return null, indicating that no valid values can be obtained. EngineVersion *string `json:"EngineVersion,omitnil,omitempty" name:"EngineVersion"` // Instance account // Note: This field may return null, indicating that no valid values can be obtained. Account *string `json:"Account,omitnil,omitempty" name:"Account"` // The role used for cross-account migration, which can contain [a-zA-Z0-9\-\_]+. // Note: This field may return null, indicating that no valid values can be obtained. AccountRole *string `json:"AccountRole,omitnil,omitempty" name:"AccountRole"` // The account to which the resource belongs. Valid values: empty or `self` (the current account); `other` (another account). // Note: This field may return null, indicating that no valid values can be obtained. AccountMode *string `json:"AccountMode,omitnil,omitempty" name:"AccountMode"` // ID of the temporary key // Note: This field may return null, indicating that no valid values can be obtained. TmpSecretId *string `json:"TmpSecretId,omitnil,omitempty" name:"TmpSecretId"` // Key of the temporary key // Note: This field may return null, indicating that no valid values can be obtained. TmpSecretKey *string `json:"TmpSecretKey,omitnil,omitempty" name:"TmpSecretKey"` // Temporary token // Note: This field may return null, indicating that no valid values can be obtained. TmpToken *string `json:"TmpToken,omitnil,omitempty" name:"TmpToken"` }
type DBItem ¶
type DBItem struct { // Name of the database to be migrated or synced, which is required if `ObjectMode` is `partial`. // Note: This field may return null, indicating that no valid values can be obtained. DbName *string `json:"DbName,omitnil,omitempty" name:"DbName"` // Name of the database after migration or sync, which is the same as the source database name by default. // Note: This field may return null, indicating that no valid values can be obtained. NewDbName *string `json:"NewDbName,omitnil,omitempty" name:"NewDbName"` // The schema to be migrated or synced // Note: This field may return null, indicating that no valid values can be obtained. SchemaName *string `json:"SchemaName,omitnil,omitempty" name:"SchemaName"` // Name of the schema after migration or sync // Note: This field may return null, indicating that no valid values can be obtained. NewSchemaName *string `json:"NewSchemaName,omitnil,omitempty" name:"NewSchemaName"` // Database selection mode, which is required if `ObjectMode` is `partial`. Valid values: `all`, `partial`. // Note: This field may return null, indicating that no valid values can be obtained. DBMode *string `json:"DBMode,omitnil,omitempty" name:"DBMode"` // Schema selection mode. Valid values: `all`, `partial`. // Note: This field may return null, indicating that no valid values can be obtained. SchemaMode *string `json:"SchemaMode,omitnil,omitempty" name:"SchemaMode"` // Table selection mode, which is required if `DBMode` is `partial`. Valid values: `all`, `partial`. // Note: This field may return null, indicating that no valid values can be obtained. TableMode *string `json:"TableMode,omitnil,omitempty" name:"TableMode"` // The set of table objects, which is required if `TableMode` is `partial`. // Note: This field may return null, indicating that no valid values can be obtained. Tables []*TableItem `json:"Tables,omitnil,omitempty" name:"Tables"` // View selection mode. Valid values: `all`, `partial`. // Note: This field may return null, indicating that no valid values can be obtained. ViewMode *string `json:"ViewMode,omitnil,omitempty" name:"ViewMode"` // The set of view objects, which is required if `ViewMode` is `partial`. // Note: This field may return null, indicating that no valid values can be obtained. Views []*ViewItem `json:"Views,omitnil,omitempty" name:"Views"` // Role selection mode, which is exclusive to PostgreSQL. Valid values: `all`, `partial`. // Note: This field may return null, indicating that no valid values can be obtained. RoleMode *string `json:"RoleMode,omitnil,omitempty" name:"RoleMode"` // Role, which is exclusive to PostgreSQL and required if `RoleMode` is `partial`. // Note: This field may return null, indicating that no valid values can be obtained. Roles []*RoleItem `json:"Roles,omitnil,omitempty" name:"Roles"` // Sync mode. Valid values: `partial`, `all`. // Note: This field may return null, indicating that no valid values can be obtained. FunctionMode *string `json:"FunctionMode,omitnil,omitempty" name:"FunctionMode"` // Sync mode. Valid values: `partial`, `all`. // Note: This field may return null, indicating that no valid values can be obtained. TriggerMode *string `json:"TriggerMode,omitnil,omitempty" name:"TriggerMode"` // Sync mode. Valid values: `partial`, `all`. // Note: This field may return null, indicating that no valid values can be obtained. EventMode *string `json:"EventMode,omitnil,omitempty" name:"EventMode"` // Sync mode. Valid values: `partial`, `all`. // Note: This field may return null, indicating that no valid values can be obtained. ProcedureMode *string `json:"ProcedureMode,omitnil,omitempty" name:"ProcedureMode"` // This parameter is required if `FunctionMode` is `partial`. // Note: This field may return null, indicating that no valid values can be obtained. Functions []*string `json:"Functions,omitnil,omitempty" name:"Functions"` // This parameter is required if `ProcedureMode` is `partial`. // Note: This field may return null, indicating that no valid values can be obtained. Procedures []*string `json:"Procedures,omitnil,omitempty" name:"Procedures"` // This parameter is required if `EventMode` is `partial`. // Note: This field may return null, indicating that no valid values can be obtained. Events []*string `json:"Events,omitnil,omitempty" name:"Events"` // This parameter is required if `TriggerMode` is `partial`. // Note: This field may return null, indicating that no valid values can be obtained. Triggers []*string `json:"Triggers,omitnil,omitempty" name:"Triggers"` }
type Database ¶
type Database struct { // Name of the database to be migrated or synced, which is required if `ObjectMode` is `Partial`. // Note: This field may return null, indicating that no valid values can be obtained. DbName *string `json:"DbName,omitnil,omitempty" name:"DbName"` // Name of the database after migration or sync, which is the same as the source database name by default. // Note: This field may return null, indicating that no valid values can be obtained. NewDbName *string `json:"NewDbName,omitnil,omitempty" name:"NewDbName"` // Database selection mode, which is required if `Mode` is `Partial`. Valid values: `All`, `Partial`. Note that the sync of advanced objects does not depend on this parameter. To sync an entire database, set this parameter to `All`. // Note: This field may return null, indicating that no valid values can be obtained. DbMode *string `json:"DbMode,omitnil,omitempty" name:"DbMode"` // The schema to be migrated or synced // Note: This field may return null, indicating that no valid values can be obtained. SchemaName *string `json:"SchemaName,omitnil,omitempty" name:"SchemaName"` // Name of the schema after migration or sync // Note: This field may return null, indicating that no valid values can be obtained. NewSchemaName *string `json:"NewSchemaName,omitnil,omitempty" name:"NewSchemaName"` // Table selection mode, which is required if `DBMode` is `Partial`. Valid values: `All`, `Partial`. To sync an entire database, set this parameter to `All`. // Note: This field may return null, indicating that no valid values can be obtained. TableMode *string `json:"TableMode,omitnil,omitempty" name:"TableMode"` // The set of table objects, which is required if `TableMode` is `Partial`. // Note: This field may return null, indicating that no valid values can be obtained. Tables []*Table `json:"Tables,omitnil,omitempty" name:"Tables"` // View selection mode. Valid values: `All`, `Partial`. To sync an entire database, set this parameter to `All`. // Note: This field may return null, indicating that no valid values can be obtained. ViewMode *string `json:"ViewMode,omitnil,omitempty" name:"ViewMode"` // The set of view objects, which is required if `ViewMode` is `Partial`. // Note: This field may return null, indicating that no valid values can be obtained. Views []*View `json:"Views,omitnil,omitempty" name:"Views"` // Sync mode. Valid values: `All`, `Partial`. To sync an entire database, set this parameter to `All`. // Note: This field may return null, indicating that no valid values can be obtained. FunctionMode *string `json:"FunctionMode,omitnil,omitempty" name:"FunctionMode"` // This parameter is required if `FunctionMode` is `Partial`. // Note: This field may return null, indicating that no valid values can be obtained. Functions []*string `json:"Functions,omitnil,omitempty" name:"Functions"` // Sync mode. Valid values: `All`, `Partial`. To sync an entire database, set this parameter to `All`. // Note: This field may return null, indicating that no valid values can be obtained. ProcedureMode *string `json:"ProcedureMode,omitnil,omitempty" name:"ProcedureMode"` // This parameter is required if `ProcedureMode` is `Partial`. // Note: This field may return null, indicating that no valid values can be obtained. Procedures []*string `json:"Procedures,omitnil,omitempty" name:"Procedures"` // Trigger sync mode. Valid values: `All`, `Partial`. To sync an entire database, set this parameter to `All`. Currently, the advanced object “trigger” is not supported for data sync. // Note: This field may return null, indicating that no valid values can be obtained. TriggerMode *string `json:"TriggerMode,omitnil,omitempty" name:"TriggerMode"` // This parameter is used to specify the names of the triggers to be migrated when the value of `TriggerMode` is `partial`. // Note: This field may return null, indicating that no valid values can be obtained. Triggers []*string `json:"Triggers,omitnil,omitempty" name:"Triggers"` // Event sync mode. Valid values: `All`, `Partial`. To sync an entire database, set this parameter to `All`. Currently, the advanced object “event” is not supported for data sync. // Note: This field may return null, indicating that no valid values can be obtained. EventMode *string `json:"EventMode,omitnil,omitempty" name:"EventMode"` // This parameter is used to specify the names of the events to be migrated when the value of `EventMode` is `partial`. // Note: This field may return null, indicating that no valid values can be obtained. Events []*string `json:"Events,omitnil,omitempty" name:"Events"` }
type DatabaseTableObject ¶
type DatabaseTableObject struct { // Migration object type. Valid values: `all`, `partial`. // Note: This field may return null, indicating that no valid values can be obtained. ObjectMode *string `json:"ObjectMode,omitnil,omitempty" name:"ObjectMode"` // Migration object, which is required if `ObjectMode` is `partial`. // Note: This field may return null, indicating that no valid values can be obtained. Databases []*DBItem `json:"Databases,omitnil,omitempty" name:"Databases"` // Advanced object type, such as trigger, function, procedure, and event. // Note: This field may return null, indicating that no valid values can be obtained. AdvancedObjects []*string `json:"AdvancedObjects,omitnil,omitempty" name:"AdvancedObjects"` }
type DdlOption ¶
type DdlOption struct { // DDL type, such as database, table, view, and index. // Note: This field may return null, indicating that no valid values can be obtained. DdlObject *string `json:"DdlObject,omitnil,omitempty" name:"DdlObject"` // DDL value. Valid values: [Create,Drop,Alter] for database <br>[Create,Drop,Alter,Truncate,Rename] for table <br/>[Create,Drop] for view <br/>[Create,Drop] for index // Note: This field may return null, indicating that no valid values can be obtained. DdlValue []*string `json:"DdlValue,omitnil,omitempty" name:"DdlValue"` }
type DeleteCompareTaskRequest ¶
type DeleteCompareTaskRequest struct { *tchttp.BaseRequest // Migration task ID JobId *string `json:"JobId,omitnil,omitempty" name:"JobId"` // Data consistency check task ID in the format of `dts-8yv4w2i1-cmp-37skmii9` CompareTaskId *string `json:"CompareTaskId,omitnil,omitempty" name:"CompareTaskId"` }
func NewDeleteCompareTaskRequest ¶
func NewDeleteCompareTaskRequest() (request *DeleteCompareTaskRequest)
func (*DeleteCompareTaskRequest) FromJsonString ¶
func (r *DeleteCompareTaskRequest) 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 (*DeleteCompareTaskRequest) ToJsonString ¶
func (r *DeleteCompareTaskRequest) ToJsonString() string
type DeleteCompareTaskRequestParams ¶
type DeleteCompareTaskRequestParams struct { // Migration task ID JobId *string `json:"JobId,omitnil,omitempty" name:"JobId"` // Data consistency check task ID in the format of `dts-8yv4w2i1-cmp-37skmii9` CompareTaskId *string `json:"CompareTaskId,omitnil,omitempty" name:"CompareTaskId"` }
Predefined struct for user
type DeleteCompareTaskResponse ¶
type DeleteCompareTaskResponse struct { *tchttp.BaseResponse Response *DeleteCompareTaskResponseParams `json:"Response"` }
func NewDeleteCompareTaskResponse ¶
func NewDeleteCompareTaskResponse() (response *DeleteCompareTaskResponse)
func (*DeleteCompareTaskResponse) FromJsonString ¶
func (r *DeleteCompareTaskResponse) 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 (*DeleteCompareTaskResponse) ToJsonString ¶
func (r *DeleteCompareTaskResponse) ToJsonString() string
type DeleteCompareTaskResponseParams ¶
type DeleteCompareTaskResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeCheckSyncJobResultRequest ¶
type DescribeCheckSyncJobResultRequest struct { *tchttp.BaseRequest // Sync task instance ID in the format of `sync-werwfs23`, which is used to identify a sync task. This parameter is required. JobId *string `json:"JobId,omitnil,omitempty" name:"JobId"` }
func NewDescribeCheckSyncJobResultRequest ¶
func NewDescribeCheckSyncJobResultRequest() (request *DescribeCheckSyncJobResultRequest)
func (*DescribeCheckSyncJobResultRequest) FromJsonString ¶
func (r *DescribeCheckSyncJobResultRequest) 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 (*DescribeCheckSyncJobResultRequest) ToJsonString ¶
func (r *DescribeCheckSyncJobResultRequest) ToJsonString() string
type DescribeCheckSyncJobResultRequestParams ¶
type DescribeCheckSyncJobResultRequestParams struct { // Sync task instance ID in the format of `sync-werwfs23`, which is used to identify a sync task. This parameter is required. JobId *string `json:"JobId,omitnil,omitempty" name:"JobId"` }
Predefined struct for user
type DescribeCheckSyncJobResultResponse ¶
type DescribeCheckSyncJobResultResponse struct { *tchttp.BaseResponse Response *DescribeCheckSyncJobResultResponseParams `json:"Response"` }
func NewDescribeCheckSyncJobResultResponse ¶
func NewDescribeCheckSyncJobResultResponse() (response *DescribeCheckSyncJobResultResponse)
func (*DescribeCheckSyncJobResultResponse) FromJsonString ¶
func (r *DescribeCheckSyncJobResultResponse) 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 (*DescribeCheckSyncJobResultResponse) ToJsonString ¶
func (r *DescribeCheckSyncJobResultResponse) ToJsonString() string
type DescribeCheckSyncJobResultResponseParams ¶
type DescribeCheckSyncJobResultResponseParams struct { // Execution status of the check task. Valid values: `notStarted`, `running`, `failed`, `success`. // Note: This field may return null, indicating that no valid values can be obtained. Status *string `json:"Status,omitnil,omitempty" name:"Status"` // Total number of steps // Note: This field may return null, indicating that no valid values can be obtained. StepCount *uint64 `json:"StepCount,omitnil,omitempty" name:"StepCount"` // The current step // Note: This field may return null, indicating that no valid values can be obtained. StepCur *uint64 `json:"StepCur,omitnil,omitempty" name:"StepCur"` // Overall progress. Value range: 0-100. // Note: This field may return null, indicating that no valid values can be obtained. Progress *uint64 `json:"Progress,omitnil,omitempty" name:"Progress"` // Step information // Note: This field may return null, indicating that no valid values can be obtained. StepInfos []*StepInfo `json:"StepInfos,omitnil,omitempty" name:"StepInfos"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeCompareReportRequest ¶
type DescribeCompareReportRequest struct { *tchttp.BaseRequest // Migration task ID JobId *string `json:"JobId,omitnil,omitempty" name:"JobId"` // Check task ID CompareTaskId *string `json:"CompareTaskId,omitnil,omitempty" name:"CompareTaskId"` // Number of inconsistent objects to be returned DifferenceLimit *uint64 `json:"DifferenceLimit,omitnil,omitempty" name:"DifferenceLimit"` // Offset of inconsistent objects DifferenceOffset *uint64 `json:"DifferenceOffset,omitnil,omitempty" name:"DifferenceOffset"` // Search criterion: Inconsistent database name DifferenceDB *string `json:"DifferenceDB,omitnil,omitempty" name:"DifferenceDB"` // Search criterion: Inconsistent table name DifferenceTable *string `json:"DifferenceTable,omitnil,omitempty" name:"DifferenceTable"` // Number of unchecked objects to be returned SkippedLimit *uint64 `json:"SkippedLimit,omitnil,omitempty" name:"SkippedLimit"` // Offset of unchecked objects SkippedOffset *uint64 `json:"SkippedOffset,omitnil,omitempty" name:"SkippedOffset"` // Search criterion: Unchecked database name SkippedDB *string `json:"SkippedDB,omitnil,omitempty" name:"SkippedDB"` // Search criterion: Unchecked table name SkippedTable *string `json:"SkippedTable,omitnil,omitempty" name:"SkippedTable"` }
func NewDescribeCompareReportRequest ¶
func NewDescribeCompareReportRequest() (request *DescribeCompareReportRequest)
func (*DescribeCompareReportRequest) FromJsonString ¶
func (r *DescribeCompareReportRequest) 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 (*DescribeCompareReportRequest) ToJsonString ¶
func (r *DescribeCompareReportRequest) ToJsonString() string
type DescribeCompareReportRequestParams ¶
type DescribeCompareReportRequestParams struct { // Migration task ID JobId *string `json:"JobId,omitnil,omitempty" name:"JobId"` // Check task ID CompareTaskId *string `json:"CompareTaskId,omitnil,omitempty" name:"CompareTaskId"` // Number of inconsistent objects to be returned DifferenceLimit *uint64 `json:"DifferenceLimit,omitnil,omitempty" name:"DifferenceLimit"` // Offset of inconsistent objects DifferenceOffset *uint64 `json:"DifferenceOffset,omitnil,omitempty" name:"DifferenceOffset"` // Search criterion: Inconsistent database name DifferenceDB *string `json:"DifferenceDB,omitnil,omitempty" name:"DifferenceDB"` // Search criterion: Inconsistent table name DifferenceTable *string `json:"DifferenceTable,omitnil,omitempty" name:"DifferenceTable"` // Number of unchecked objects to be returned SkippedLimit *uint64 `json:"SkippedLimit,omitnil,omitempty" name:"SkippedLimit"` // Offset of unchecked objects SkippedOffset *uint64 `json:"SkippedOffset,omitnil,omitempty" name:"SkippedOffset"` // Search criterion: Unchecked database name SkippedDB *string `json:"SkippedDB,omitnil,omitempty" name:"SkippedDB"` // Search criterion: Unchecked table name SkippedTable *string `json:"SkippedTable,omitnil,omitempty" name:"SkippedTable"` }
Predefined struct for user
type DescribeCompareReportResponse ¶
type DescribeCompareReportResponse struct { *tchttp.BaseResponse Response *DescribeCompareReportResponseParams `json:"Response"` }
func NewDescribeCompareReportResponse ¶
func NewDescribeCompareReportResponse() (response *DescribeCompareReportResponse)
func (*DescribeCompareReportResponse) FromJsonString ¶
func (r *DescribeCompareReportResponse) 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 (*DescribeCompareReportResponse) ToJsonString ¶
func (r *DescribeCompareReportResponse) ToJsonString() string
type DescribeCompareReportResponseParams ¶
type DescribeCompareReportResponseParams struct { // Summary information of data consistency check // Note: This field may return null, indicating that no valid values can be obtained. Abstract *CompareAbstractInfo `json:"Abstract,omitnil,omitempty" name:"Abstract"` // Data consistency check details // Note: This field may return null, indicating that no valid values can be obtained. Detail *CompareDetailInfo `json:"Detail,omitnil,omitempty" name:"Detail"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeCompareTasksRequest ¶
type DescribeCompareTasksRequest struct { *tchttp.BaseRequest // Migration task ID JobId *string `json:"JobId,omitnil,omitempty" name:"JobId"` // Number of tasks to be displayed per page. Default value: `20`. Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"` // Pagination offset Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"` // Check task ID CompareTaskId *string `json:"CompareTaskId,omitnil,omitempty" name:"CompareTaskId"` // Data consistency check task status. Valid values: `created`, `readyRun`, `running`, `success`, `stopping`, `failed`, `canceled`. Status []*string `json:"Status,omitnil,omitempty" name:"Status"` }
func NewDescribeCompareTasksRequest ¶
func NewDescribeCompareTasksRequest() (request *DescribeCompareTasksRequest)
func (*DescribeCompareTasksRequest) FromJsonString ¶
func (r *DescribeCompareTasksRequest) 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 (*DescribeCompareTasksRequest) ToJsonString ¶
func (r *DescribeCompareTasksRequest) ToJsonString() string
type DescribeCompareTasksRequestParams ¶
type DescribeCompareTasksRequestParams struct { // Migration task ID JobId *string `json:"JobId,omitnil,omitempty" name:"JobId"` // Number of tasks to be displayed per page. Default value: `20`. Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"` // Pagination offset Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"` // Check task ID CompareTaskId *string `json:"CompareTaskId,omitnil,omitempty" name:"CompareTaskId"` // Data consistency check task status. Valid values: `created`, `readyRun`, `running`, `success`, `stopping`, `failed`, `canceled`. Status []*string `json:"Status,omitnil,omitempty" name:"Status"` }
Predefined struct for user
type DescribeCompareTasksResponse ¶
type DescribeCompareTasksResponse struct { *tchttp.BaseResponse Response *DescribeCompareTasksResponseParams `json:"Response"` }
func NewDescribeCompareTasksResponse ¶
func NewDescribeCompareTasksResponse() (response *DescribeCompareTasksResponse)
func (*DescribeCompareTasksResponse) FromJsonString ¶
func (r *DescribeCompareTasksResponse) 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 (*DescribeCompareTasksResponse) ToJsonString ¶
func (r *DescribeCompareTasksResponse) ToJsonString() string
type DescribeCompareTasksResponseParams ¶
type DescribeCompareTasksResponseParams struct { // Quantity // Note: This field may return null, indicating that no valid values can be obtained. TotalCount *uint64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"` // List of data consistency check tasks // Note: This field may return null, indicating that no valid values can be obtained. Items []*CompareTaskItem `json:"Items,omitnil,omitempty" name:"Items"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeMigrateDBInstancesRequest ¶
type DescribeMigrateDBInstancesRequest struct { *tchttp.BaseRequest // Database type, such as `mysql`. DatabaseType *string `json:"DatabaseType,omitnil,omitempty" name:"DatabaseType"` // Specifies whether the instance is the migration source or target. Valid values: `src` (source); `dts` (target). MigrateRole *string `json:"MigrateRole,omitnil,omitempty" name:"MigrateRole"` // Database instance ID InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // Database instance name InstanceName *string `json:"InstanceName,omitnil,omitempty" name:"InstanceName"` // Number of results to be returned Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"` // Offset Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"` // The account to which the resource belongs. Valid values: empty or `self` (the current account); `other` (another account). AccountMode *string `json:"AccountMode,omitnil,omitempty" name:"AccountMode"` // ID of the temporary key, which is required if the operation is performed across accounts. TmpSecretId *string `json:"TmpSecretId,omitnil,omitempty" name:"TmpSecretId"` // Key of the temporary key, which is required if the operation is performed across accounts. TmpSecretKey *string `json:"TmpSecretKey,omitnil,omitempty" name:"TmpSecretKey"` // Temporary token, which is required if the operation is performed across accounts. TmpToken *string `json:"TmpToken,omitnil,omitempty" name:"TmpToken"` }
func NewDescribeMigrateDBInstancesRequest ¶
func NewDescribeMigrateDBInstancesRequest() (request *DescribeMigrateDBInstancesRequest)
func (*DescribeMigrateDBInstancesRequest) FromJsonString ¶
func (r *DescribeMigrateDBInstancesRequest) 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 (*DescribeMigrateDBInstancesRequest) ToJsonString ¶
func (r *DescribeMigrateDBInstancesRequest) ToJsonString() string
type DescribeMigrateDBInstancesRequestParams ¶
type DescribeMigrateDBInstancesRequestParams struct { // Database type, such as `mysql`. DatabaseType *string `json:"DatabaseType,omitnil,omitempty" name:"DatabaseType"` // Specifies whether the instance is the migration source or target. Valid values: `src` (source); `dts` (target). MigrateRole *string `json:"MigrateRole,omitnil,omitempty" name:"MigrateRole"` // Database instance ID InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // Database instance name InstanceName *string `json:"InstanceName,omitnil,omitempty" name:"InstanceName"` // Number of results to be returned Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"` // Offset Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"` // The account to which the resource belongs. Valid values: empty or `self` (the current account); `other` (another account). AccountMode *string `json:"AccountMode,omitnil,omitempty" name:"AccountMode"` // ID of the temporary key, which is required if the operation is performed across accounts. TmpSecretId *string `json:"TmpSecretId,omitnil,omitempty" name:"TmpSecretId"` // Key of the temporary key, which is required if the operation is performed across accounts. TmpSecretKey *string `json:"TmpSecretKey,omitnil,omitempty" name:"TmpSecretKey"` // Temporary token, which is required if the operation is performed across accounts. TmpToken *string `json:"TmpToken,omitnil,omitempty" name:"TmpToken"` }
Predefined struct for user
type DescribeMigrateDBInstancesResponse ¶
type DescribeMigrateDBInstancesResponse struct { *tchttp.BaseResponse Response *DescribeMigrateDBInstancesResponseParams `json:"Response"` }
func NewDescribeMigrateDBInstancesResponse ¶
func NewDescribeMigrateDBInstancesResponse() (response *DescribeMigrateDBInstancesResponse)
func (*DescribeMigrateDBInstancesResponse) FromJsonString ¶
func (r *DescribeMigrateDBInstancesResponse) 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 (*DescribeMigrateDBInstancesResponse) ToJsonString ¶
func (r *DescribeMigrateDBInstancesResponse) ToJsonString() string
type DescribeMigrateDBInstancesResponseParams ¶
type DescribeMigrateDBInstancesResponseParams struct { // Number of eligible items // Note: This field may return null, indicating that no valid values can be obtained. TotalCount *int64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"` // Instance list // Note: This field may return null, indicating that no valid values can be obtained. Instances []*MigrateDBItem `json:"Instances,omitnil,omitempty" name:"Instances"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeMigrationCheckJobRequest ¶
type DescribeMigrationCheckJobRequest struct { *tchttp.BaseRequest // Task ID JobId *string `json:"JobId,omitnil,omitempty" name:"JobId"` }
func NewDescribeMigrationCheckJobRequest ¶
func NewDescribeMigrationCheckJobRequest() (request *DescribeMigrationCheckJobRequest)
func (*DescribeMigrationCheckJobRequest) FromJsonString ¶
func (r *DescribeMigrationCheckJobRequest) 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 (*DescribeMigrationCheckJobRequest) ToJsonString ¶
func (r *DescribeMigrationCheckJobRequest) ToJsonString() string
type DescribeMigrationCheckJobRequestParams ¶
type DescribeMigrationCheckJobRequestParams struct { // Task ID JobId *string `json:"JobId,omitnil,omitempty" name:"JobId"` }
Predefined struct for user
type DescribeMigrationCheckJobResponse ¶
type DescribeMigrationCheckJobResponse struct { *tchttp.BaseResponse Response *DescribeMigrationCheckJobResponseParams `json:"Response"` }
func NewDescribeMigrationCheckJobResponse ¶
func NewDescribeMigrationCheckJobResponse() (response *DescribeMigrationCheckJobResponse)
func (*DescribeMigrationCheckJobResponse) FromJsonString ¶
func (r *DescribeMigrationCheckJobResponse) 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 (*DescribeMigrationCheckJobResponse) ToJsonString ¶
func (r *DescribeMigrationCheckJobResponse) ToJsonString() string
type DescribeMigrationCheckJobResponseParams ¶
type DescribeMigrationCheckJobResponseParams struct { // Check task execution status. Valid values: `notStarted`, `running`, `failed`, `success`. // Note: This field may return null, indicating that no valid values can be obtained. Status *string `json:"Status,omitnil,omitempty" name:"Status"` // Check task result message // Note: This field may return null, indicating that no valid values can be obtained. BriefMsg *string `json:"BriefMsg,omitnil,omitempty" name:"BriefMsg"` // Check step // Note: This field may return null, indicating that no valid values can be obtained. StepInfo []*CheckStep `json:"StepInfo,omitnil,omitempty" name:"StepInfo"` // Check result. Valid values: `checkPass`, `checkNotPass`. CheckFlag *string `json:"CheckFlag,omitnil,omitempty" name:"CheckFlag"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeMigrationDetailRequest ¶
type DescribeMigrationDetailRequest struct { *tchttp.BaseRequest // Data migration task ID JobId *string `json:"JobId,omitnil,omitempty" name:"JobId"` }
func NewDescribeMigrationDetailRequest ¶
func NewDescribeMigrationDetailRequest() (request *DescribeMigrationDetailRequest)
func (*DescribeMigrationDetailRequest) FromJsonString ¶
func (r *DescribeMigrationDetailRequest) 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 (*DescribeMigrationDetailRequest) ToJsonString ¶
func (r *DescribeMigrationDetailRequest) ToJsonString() string
type DescribeMigrationDetailRequestParams ¶
type DescribeMigrationDetailRequestParams struct { // Data migration task ID JobId *string `json:"JobId,omitnil,omitempty" name:"JobId"` }
Predefined struct for user
type DescribeMigrationDetailResponse ¶
type DescribeMigrationDetailResponse struct { *tchttp.BaseResponse Response *DescribeMigrationDetailResponseParams `json:"Response"` }
func NewDescribeMigrationDetailResponse ¶
func NewDescribeMigrationDetailResponse() (response *DescribeMigrationDetailResponse)
func (*DescribeMigrationDetailResponse) FromJsonString ¶
func (r *DescribeMigrationDetailResponse) 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 (*DescribeMigrationDetailResponse) ToJsonString ¶
func (r *DescribeMigrationDetailResponse) ToJsonString() string
type DescribeMigrationDetailResponseParams ¶
type DescribeMigrationDetailResponseParams struct { // Data migration task ID // Note: This field may return null, indicating that no valid values can be obtained. JobId *string `json:"JobId,omitnil,omitempty" name:"JobId"` // Data migration task name // Note: This field may return null, indicating that no valid values can be obtained. JobName *string `json:"JobName,omitnil,omitempty" name:"JobName"` // Task creation (submission) time in the format of `yyyy-mm-dd hh:mm:ss` // Note: This field may return null, indicating that no valid values can be obtained. CreateTime *string `json:"CreateTime,omitnil,omitempty" name:"CreateTime"` // Task update time in the format of `yyyy-mm-dd hh:mm:ss` // Note: This field may return null, indicating that no valid values can be obtained. UpdateTime *string `json:"UpdateTime,omitnil,omitempty" name:"UpdateTime"` // Task start time in the format of `yyyy-mm-dd hh:mm:ss` // Note: This field may return null, indicating that no valid values can be obtained. StartTime *string `json:"StartTime,omitnil,omitempty" name:"StartTime"` // Task end time in the format of `yyyy-mm-dd hh:mm:ss` // Note: This field may return null, indicating that no valid values can be obtained. EndTime *string `json:"EndTime,omitnil,omitempty" name:"EndTime"` // Migration task error message // Note: This field may return null, indicating that no valid values can be obtained. BriefMsg *string `json:"BriefMsg,omitnil,omitempty" name:"BriefMsg"` // Task status. Valid values: `created`(Created), `checking` (Checking), `checkPass` (Check passed), `checkNotPass` (Check not passed), `readyRun` (Ready for running), `running` (Running), `readyComplete` (Preparation completed), `success` (Successful), `failed` (Failed), `stopping` (Stopping), `completing` (Completing), `pausing` (Pausing), `manualPaused` (Paused). Note: This field may return null, indicating that no valid values can be obtained. Status *string `json:"Status,omitnil,omitempty" name:"Status"` // Task operation information // Note: This field may return null, indicating that no valid values can be obtained. Action *MigrateAction `json:"Action,omitnil,omitempty" name:"Action"` // Information of the migration task execution process. The check and migration step information will be displayed in the check and migration stages respectively. // Note: This field may return null, indicating that no valid values can be obtained. StepInfo *MigrateDetailInfo `json:"StepInfo,omitnil,omitempty" name:"StepInfo"` // Source instance information // Note: This field may return null, indicating that no valid values can be obtained. SrcInfo *DBEndpointInfo `json:"SrcInfo,omitnil,omitempty" name:"SrcInfo"` // Target database information // Note: This field may return null, indicating that no valid values can be obtained. DstInfo *DBEndpointInfo `json:"DstInfo,omitnil,omitempty" name:"DstInfo"` // Data consistency check result // Note: This field may return null, indicating that no valid values can be obtained. CompareTask *CompareTaskInfo `json:"CompareTask,omitnil,omitempty" name:"CompareTask"` // Tag information // Note: This field may return null, indicating that no valid values can be obtained. Tags []*TagItem `json:"Tags,omitnil,omitempty" name:"Tags"` // Running mode. Valid values: `immediate`, `timed`. // Note: This field may return null, indicating that no valid values can be obtained. RunMode *string `json:"RunMode,omitnil,omitempty" name:"RunMode"` // Expected start time in the format of "2006-01-02 15:04:05", which is required if `RunMode` is `timed`. // Note: This field may return null, indicating that no valid values can be obtained. ExpectRunTime *string `json:"ExpectRunTime,omitnil,omitempty" name:"ExpectRunTime"` // Migration options, which describe how the task performs migration. // Note: This field may return null, indicating that no valid values can be obtained. MigrateOption *MigrateOption `json:"MigrateOption,omitnil,omitempty" name:"MigrateOption"` // Check task running details // Note: This field may return null, indicating that no valid values can be obtained. CheckStepInfo *CheckStepInfo `json:"CheckStepInfo,omitnil,omitempty" name:"CheckStepInfo"` // Billing information // Note: This field may return null, indicating that no valid values can be obtained. TradeInfo *TradeInfo `json:"TradeInfo,omitnil,omitempty" name:"TradeInfo"` // Task error information // Note: This field may return null, indicating that no valid values can be obtained. ErrorInfo []*ErrorInfoItem `json:"ErrorInfo,omitnil,omitempty" name:"ErrorInfo"` // Whether the task can be reentered in the full export stage. Valid values: `yes`, `no`. `yes`: The current task can be reentered. `no`: The current task is in the full export stage which cannot be reentered. If the value of this parameter is `no`, the checkpoint restart is not supported when the task is restarted in the export stage. DumperResumeCtrl *string `json:"DumperResumeCtrl,omitnil,omitempty" name:"DumperResumeCtrl"` // Task throttling information // Note: u200dThis field may returnu200d·nullu200d, indicating that no valid values can be obtained. RateLimitOption *RateLimitOption `json:"RateLimitOption,omitnil,omitempty" name:"RateLimitOption"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeMigrationJobsRequest ¶
type DescribeMigrationJobsRequest struct { *tchttp.BaseRequest // Data migration task ID such as `dts-amm1jw5q` JobId *string `json:"JobId,omitnil,omitempty" name:"JobId"` // Data migration task name JobName *string `json:"JobName,omitnil,omitempty" name:"JobName"` // Data migration task status. Valid values: `created`, `checking`, `checkPass`, `checkNotPass`, `readyRun`, `running`, `readyComplete`, `success`, `failed`, `stopping`, `completing`. Status []*string `json:"Status,omitnil,omitempty" name:"Status"` // Source instance ID in the format of `cdb-c1nl9rpv` SrcInstanceId *string `json:"SrcInstanceId,omitnil,omitempty" name:"SrcInstanceId"` // Source instance region, such as `ap-guangzhou`. SrcRegion *string `json:"SrcRegion,omitnil,omitempty" name:"SrcRegion"` // Source database type, such as `sqlserver`, `mysql`, `mongodb`, `redis`, `tendis`, `keewidb`, `clickhouse`, `cynosdbmysql`, `percona`, `tdsqlpercona`, `mariadb`, `tdsqlmysql`, `postgresql. SrcDatabaseType []*string `json:"SrcDatabaseType,omitnil,omitempty" name:"SrcDatabaseType"` // Source instance access type. Valid values: `extranet` (public network); `vpncloud` (VPN access); `dcg` (Direct Connect); `ccn` (CCN); `cdb` (Database); `cvm` (self-build on CVM). SrcAccessType []*string `json:"SrcAccessType,omitnil,omitempty" name:"SrcAccessType"` // Target instance ID in the format of `cdb-c1nl9rpv` DstInstanceId *string `json:"DstInstanceId,omitnil,omitempty" name:"DstInstanceId"` // Target instance region, such as `ap-guangzhou`. DstRegion *string `json:"DstRegion,omitnil,omitempty" name:"DstRegion"` // Target database type, such as `sqlserver`, `mysql`, `mongodb`, `redis`, `tendis`, `keewidb`, `clickhouse`, `cynosdbmysql`, `percona`, `tdsqlpercona`, `mariadb`, `tdsqlmysql`, `postgresql. DstDatabaseType []*string `json:"DstDatabaseType,omitnil,omitempty" name:"DstDatabaseType"` // Target instance access type. Valid values: `extranet` (public network); `vpncloud` (VPN access); `dcg` (Direct Connect); `ccn` (CCN); `cdb` (Database); `cvm` (self-build on CVM). DstAccessType []*string `json:"DstAccessType,omitnil,omitempty" name:"DstAccessType"` // Task running mode. Valid values: `immediate`, `timed`. RunMode *string `json:"RunMode,omitnil,omitempty" name:"RunMode"` // Sorting order. Valid values: `asc`, `desc`. Default value: `desc` by creation time. OrderSeq *string `json:"OrderSeq,omitnil,omitempty" name:"OrderSeq"` // Number of instances to be returned. Value range: [1,100]. Default value: `20`. Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"` // Offset. Default value: `0`. Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"` // Tag filter TagFilters []*TagFilter `json:"TagFilters,omitnil,omitempty" name:"TagFilters"` }
func NewDescribeMigrationJobsRequest ¶
func NewDescribeMigrationJobsRequest() (request *DescribeMigrationJobsRequest)
func (*DescribeMigrationJobsRequest) FromJsonString ¶
func (r *DescribeMigrationJobsRequest) 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 (*DescribeMigrationJobsRequest) ToJsonString ¶
func (r *DescribeMigrationJobsRequest) ToJsonString() string
type DescribeMigrationJobsRequestParams ¶
type DescribeMigrationJobsRequestParams struct { // Data migration task ID such as `dts-amm1jw5q` JobId *string `json:"JobId,omitnil,omitempty" name:"JobId"` // Data migration task name JobName *string `json:"JobName,omitnil,omitempty" name:"JobName"` // Data migration task status. Valid values: `created`, `checking`, `checkPass`, `checkNotPass`, `readyRun`, `running`, `readyComplete`, `success`, `failed`, `stopping`, `completing`. Status []*string `json:"Status,omitnil,omitempty" name:"Status"` // Source instance ID in the format of `cdb-c1nl9rpv` SrcInstanceId *string `json:"SrcInstanceId,omitnil,omitempty" name:"SrcInstanceId"` // Source instance region, such as `ap-guangzhou`. SrcRegion *string `json:"SrcRegion,omitnil,omitempty" name:"SrcRegion"` // Source database type, such as `sqlserver`, `mysql`, `mongodb`, `redis`, `tendis`, `keewidb`, `clickhouse`, `cynosdbmysql`, `percona`, `tdsqlpercona`, `mariadb`, `tdsqlmysql`, `postgresql. SrcDatabaseType []*string `json:"SrcDatabaseType,omitnil,omitempty" name:"SrcDatabaseType"` // Source instance access type. Valid values: `extranet` (public network); `vpncloud` (VPN access); `dcg` (Direct Connect); `ccn` (CCN); `cdb` (Database); `cvm` (self-build on CVM). SrcAccessType []*string `json:"SrcAccessType,omitnil,omitempty" name:"SrcAccessType"` // Target instance ID in the format of `cdb-c1nl9rpv` DstInstanceId *string `json:"DstInstanceId,omitnil,omitempty" name:"DstInstanceId"` // Target instance region, such as `ap-guangzhou`. DstRegion *string `json:"DstRegion,omitnil,omitempty" name:"DstRegion"` // Target database type, such as `sqlserver`, `mysql`, `mongodb`, `redis`, `tendis`, `keewidb`, `clickhouse`, `cynosdbmysql`, `percona`, `tdsqlpercona`, `mariadb`, `tdsqlmysql`, `postgresql. DstDatabaseType []*string `json:"DstDatabaseType,omitnil,omitempty" name:"DstDatabaseType"` // Target instance access type. Valid values: `extranet` (public network); `vpncloud` (VPN access); `dcg` (Direct Connect); `ccn` (CCN); `cdb` (Database); `cvm` (self-build on CVM). DstAccessType []*string `json:"DstAccessType,omitnil,omitempty" name:"DstAccessType"` // Task running mode. Valid values: `immediate`, `timed`. RunMode *string `json:"RunMode,omitnil,omitempty" name:"RunMode"` // Sorting order. Valid values: `asc`, `desc`. Default value: `desc` by creation time. OrderSeq *string `json:"OrderSeq,omitnil,omitempty" name:"OrderSeq"` // Number of instances to be returned. Value range: [1,100]. Default value: `20`. Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"` // Offset. Default value: `0`. Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"` // Tag filter TagFilters []*TagFilter `json:"TagFilters,omitnil,omitempty" name:"TagFilters"` }
Predefined struct for user
type DescribeMigrationJobsResponse ¶
type DescribeMigrationJobsResponse struct { *tchttp.BaseResponse Response *DescribeMigrationJobsResponseParams `json:"Response"` }
func NewDescribeMigrationJobsResponse ¶
func NewDescribeMigrationJobsResponse() (response *DescribeMigrationJobsResponse)
func (*DescribeMigrationJobsResponse) FromJsonString ¶
func (r *DescribeMigrationJobsResponse) 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 (*DescribeMigrationJobsResponse) ToJsonString ¶
func (r *DescribeMigrationJobsResponse) ToJsonString() string
type DescribeMigrationJobsResponseParams ¶
type DescribeMigrationJobsResponseParams struct { // Number of migration tasks // Note: This field may return null, indicating that no valid values can be obtained. TotalCount *uint64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"` // Migration task list // Note: This field may return null, indicating that no valid values can be obtained. JobList []*JobItem `json:"JobList,omitnil,omitempty" name:"JobList"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeModifyCheckSyncJobResultRequest ¶
type DescribeModifyCheckSyncJobResultRequest struct { *tchttp.BaseRequest // Sync task ID JobId *string `json:"JobId,omitnil,omitempty" name:"JobId"` }
func NewDescribeModifyCheckSyncJobResultRequest ¶
func NewDescribeModifyCheckSyncJobResultRequest() (request *DescribeModifyCheckSyncJobResultRequest)
func (*DescribeModifyCheckSyncJobResultRequest) FromJsonString ¶
func (r *DescribeModifyCheckSyncJobResultRequest) 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 (*DescribeModifyCheckSyncJobResultRequest) ToJsonString ¶
func (r *DescribeModifyCheckSyncJobResultRequest) ToJsonString() string
type DescribeModifyCheckSyncJobResultRequestParams ¶
type DescribeModifyCheckSyncJobResultRequestParams struct { // Sync task ID JobId *string `json:"JobId,omitnil,omitempty" name:"JobId"` }
Predefined struct for user
type DescribeModifyCheckSyncJobResultResponse ¶
type DescribeModifyCheckSyncJobResultResponse struct { *tchttp.BaseResponse Response *DescribeModifyCheckSyncJobResultResponseParams `json:"Response"` }
func NewDescribeModifyCheckSyncJobResultResponse ¶
func NewDescribeModifyCheckSyncJobResultResponse() (response *DescribeModifyCheckSyncJobResultResponse)
func (*DescribeModifyCheckSyncJobResultResponse) FromJsonString ¶
func (r *DescribeModifyCheckSyncJobResultResponse) 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 (*DescribeModifyCheckSyncJobResultResponse) ToJsonString ¶
func (r *DescribeModifyCheckSyncJobResultResponse) ToJsonString() string
type DescribeModifyCheckSyncJobResultResponseParams ¶
type DescribeModifyCheckSyncJobResultResponseParams struct { // Execution status of the check task Valid values: `notStarted` (Not started), `running` (Running), `failed` (Failed), `success` (Successful). Status *string `json:"Status,omitnil,omitempty" name:"Status"` // Number of check steps Note: This field may return null, indicating that no valid values can be obtained. StepCount *uint64 `json:"StepCount,omitnil,omitempty" name:"StepCount"` // Current step Note: This field may return null, indicating that no valid values can be obtained. StepCur *uint64 `json:"StepCur,omitnil,omitempty" name:"StepCur"` // Overall progress. Value range: 0-100. Note: This field may return null, indicating that no valid values can be obtained. Progress *uint64 `json:"Progress,omitnil,omitempty" name:"Progress"` // Step details Note: This field may return null, indicating that no valid values can be obtained. StepInfos []*StepInfo `json:"StepInfos,omitnil,omitempty" name:"StepInfos"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeSyncJobsRequest ¶
type DescribeSyncJobsRequest struct { *tchttp.BaseRequest // Sync task ID, such as `sync-werwfs23`. JobId *string `json:"JobId,omitnil,omitempty" name:"JobId"` // Sync task name JobName *string `json:"JobName,omitnil,omitempty" name:"JobName"` // Sort by field, such as `CreateTime`. Order *string `json:"Order,omitnil,omitempty" name:"Order"` // Sorting order. Valid values: `ASC`, `DESC`. Default value: `DESC` by `CreateTime`. OrderSeq *string `json:"OrderSeq,omitnil,omitempty" name:"OrderSeq"` // Offset. Default value: `0`. Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"` // Number of sync task instances to be returned. Value range: [1,100]. Default value: `20`. Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"` // The set of status values, such as `Initialized,CheckPass,Running,ResumableErr,Stopped`. Status []*string `json:"Status,omitnil,omitempty" name:"Status"` // Running mode. Valid values: `Immediate`, `Timed`. RunMode *string `json:"RunMode,omitnil,omitempty" name:"RunMode"` // Task type, such as `mysql2mysql` (sync from MySQL to MySQL). JobType *string `json:"JobType,omitnil,omitempty" name:"JobType"` // Billing mode. Valid values: `PrePay` (prepaid); `PostPay` (postpaid). PayMode *string `json:"PayMode,omitnil,omitempty" name:"PayMode"` // tag TagFilters []*TagFilter `json:"TagFilters,omitnil,omitempty" name:"TagFilters"` }
func NewDescribeSyncJobsRequest ¶
func NewDescribeSyncJobsRequest() (request *DescribeSyncJobsRequest)
func (*DescribeSyncJobsRequest) FromJsonString ¶
func (r *DescribeSyncJobsRequest) 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 (*DescribeSyncJobsRequest) ToJsonString ¶
func (r *DescribeSyncJobsRequest) ToJsonString() string
type DescribeSyncJobsRequestParams ¶
type DescribeSyncJobsRequestParams struct { // Sync task ID, such as `sync-werwfs23`. JobId *string `json:"JobId,omitnil,omitempty" name:"JobId"` // Sync task name JobName *string `json:"JobName,omitnil,omitempty" name:"JobName"` // Sort by field, such as `CreateTime`. Order *string `json:"Order,omitnil,omitempty" name:"Order"` // Sorting order. Valid values: `ASC`, `DESC`. Default value: `DESC` by `CreateTime`. OrderSeq *string `json:"OrderSeq,omitnil,omitempty" name:"OrderSeq"` // Offset. Default value: `0`. Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"` // Number of sync task instances to be returned. Value range: [1,100]. Default value: `20`. Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"` // The set of status values, such as `Initialized,CheckPass,Running,ResumableErr,Stopped`. Status []*string `json:"Status,omitnil,omitempty" name:"Status"` // Running mode. Valid values: `Immediate`, `Timed`. RunMode *string `json:"RunMode,omitnil,omitempty" name:"RunMode"` // Task type, such as `mysql2mysql` (sync from MySQL to MySQL). JobType *string `json:"JobType,omitnil,omitempty" name:"JobType"` // Billing mode. Valid values: `PrePay` (prepaid); `PostPay` (postpaid). PayMode *string `json:"PayMode,omitnil,omitempty" name:"PayMode"` // tag TagFilters []*TagFilter `json:"TagFilters,omitnil,omitempty" name:"TagFilters"` }
Predefined struct for user
type DescribeSyncJobsResponse ¶
type DescribeSyncJobsResponse struct { *tchttp.BaseResponse Response *DescribeSyncJobsResponseParams `json:"Response"` }
func NewDescribeSyncJobsResponse ¶
func NewDescribeSyncJobsResponse() (response *DescribeSyncJobsResponse)
func (*DescribeSyncJobsResponse) FromJsonString ¶
func (r *DescribeSyncJobsResponse) 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 (*DescribeSyncJobsResponse) ToJsonString ¶
func (r *DescribeSyncJobsResponse) ToJsonString() string
type DescribeSyncJobsResponseParams ¶
type DescribeSyncJobsResponseParams struct { // Number of tasks // Note: This field may return null, indicating that no valid values can be obtained. TotalCount *uint64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"` // Array of task details // Note: This field may return null, indicating that no valid values can be obtained. JobList []*SyncJobInfo `json:"JobList,omitnil,omitempty" name:"JobList"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DestroyMigrateJobRequest ¶
type DestroyMigrateJobRequest struct { *tchttp.BaseRequest // Task ID JobId *string `json:"JobId,omitnil,omitempty" name:"JobId"` }
func NewDestroyMigrateJobRequest ¶
func NewDestroyMigrateJobRequest() (request *DestroyMigrateJobRequest)
func (*DestroyMigrateJobRequest) FromJsonString ¶
func (r *DestroyMigrateJobRequest) 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 (*DestroyMigrateJobRequest) ToJsonString ¶
func (r *DestroyMigrateJobRequest) ToJsonString() string
type DestroyMigrateJobRequestParams ¶
type DestroyMigrateJobRequestParams struct { // Task ID JobId *string `json:"JobId,omitnil,omitempty" name:"JobId"` }
Predefined struct for user
type DestroyMigrateJobResponse ¶
type DestroyMigrateJobResponse struct { *tchttp.BaseResponse Response *DestroyMigrateJobResponseParams `json:"Response"` }
func NewDestroyMigrateJobResponse ¶
func NewDestroyMigrateJobResponse() (response *DestroyMigrateJobResponse)
func (*DestroyMigrateJobResponse) FromJsonString ¶
func (r *DestroyMigrateJobResponse) 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 (*DestroyMigrateJobResponse) ToJsonString ¶
func (r *DestroyMigrateJobResponse) ToJsonString() string
type DestroyMigrateJobResponseParams ¶
type DestroyMigrateJobResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DestroySyncJobRequest ¶
type DestroySyncJobRequest struct { *tchttp.BaseRequest // Sync task ID JobId *string `json:"JobId,omitnil,omitempty" name:"JobId"` }
func NewDestroySyncJobRequest ¶
func NewDestroySyncJobRequest() (request *DestroySyncJobRequest)
func (*DestroySyncJobRequest) FromJsonString ¶
func (r *DestroySyncJobRequest) 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 (*DestroySyncJobRequest) ToJsonString ¶
func (r *DestroySyncJobRequest) ToJsonString() string
type DestroySyncJobRequestParams ¶
type DestroySyncJobRequestParams struct { // Sync task ID JobId *string `json:"JobId,omitnil,omitempty" name:"JobId"` }
Predefined struct for user
type DestroySyncJobResponse ¶
type DestroySyncJobResponse struct { *tchttp.BaseResponse Response *DestroySyncJobResponseParams `json:"Response"` }
func NewDestroySyncJobResponse ¶
func NewDestroySyncJobResponse() (response *DestroySyncJobResponse)
func (*DestroySyncJobResponse) FromJsonString ¶
func (r *DestroySyncJobResponse) 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 (*DestroySyncJobResponse) ToJsonString ¶
func (r *DestroySyncJobResponse) ToJsonString() string
type DestroySyncJobResponseParams ¶
type DestroySyncJobResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DetailCheckItem ¶
type DetailCheckItem struct { // Check item name, such as source database permission check. // Note: This field may return null, indicating that no valid values can be obtained. CheckItemName *string `json:"CheckItemName,omitnil,omitempty" name:"CheckItemName"` // Check item details // Note: This field may return null, indicating that no valid values can be obtained. Description *string `json:"Description,omitnil,omitempty" name:"Description"` // Check item result. Valid values: `pass` (pass); `failed` (failure); `warning` (pass with warning). // Note: This field may return null, indicating that no valid values can be obtained. CheckResult *string `json:"CheckResult,omitnil,omitempty" name:"CheckResult"` // The cause of the check item failure // Note: This field may return null, indicating that no valid values can be obtained. FailureReason *string `json:"FailureReason,omitnil,omitempty" name:"FailureReason"` // Solution // Note: This field may return null, indicating that no valid values can be obtained. Solution *string `json:"Solution,omitnil,omitempty" name:"Solution"` // Execution error log // Note: This field may return null, indicating that no valid values can be obtained. ErrorLog []*string `json:"ErrorLog,omitnil,omitempty" name:"ErrorLog"` // URL of the detailed help document // Note: This field may return null, indicating that no valid values can be obtained. HelpDoc []*string `json:"HelpDoc,omitnil,omitempty" name:"HelpDoc"` // Prompt text for ignoring a risk // Note: This field may return null, indicating that no valid values can be obtained. SkipInfo *string `json:"SkipInfo,omitnil,omitempty" name:"SkipInfo"` }
type DifferenceDetail ¶
type DifferenceDetail struct { // Number of inconsistent tables // Note: This field may return null, indicating that no valid values can be obtained. TotalCount *uint64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"` // Details of inconsistent tables // Note: This field may return null, indicating that no valid values can be obtained. Items []*DifferenceItem `json:"Items,omitnil,omitempty" name:"Items"` }
type DifferenceItem ¶
type DifferenceItem struct { // Database name // Note: This field may return null, indicating that no valid values can be obtained. Db *string `json:"Db,omitnil,omitempty" name:"Db"` // Table name // Note: This field may return null, indicating that no valid values can be obtained. Table *string `json:"Table,omitnil,omitempty" name:"Table"` // Chunk ID // Note: This field may return null, indicating that no valid values can be obtained. Chunk *int64 `json:"Chunk,omitnil,omitempty" name:"Chunk"` // Source database value // Note: This field may return null, indicating that no valid values can be obtained. SrcItem *string `json:"SrcItem,omitnil,omitempty" name:"SrcItem"` // Target database value // Note: This field may return null, indicating that no valid values can be obtained. DstItem *string `json:"DstItem,omitnil,omitempty" name:"DstItem"` // Index name // Note: This field may return null, indicating that no valid values can be obtained. IndexName *string `json:"IndexName,omitnil,omitempty" name:"IndexName"` // First index key // Note: This field may return null, indicating that no valid values can be obtained. LowerBoundary *string `json:"LowerBoundary,omitnil,omitempty" name:"LowerBoundary"` // Last index key // Note: This field may return null, indicating that no valid values can be obtained. UpperBoundary *string `json:"UpperBoundary,omitnil,omitempty" name:"UpperBoundary"` // Comparison time in ms // Note: This field may return null, indicating that no valid values can be obtained. CostTime *float64 `json:"CostTime,omitnil,omitempty" name:"CostTime"` // Completion time // Note: This field may return null, indicating that no valid values can be obtained. FinishedAt *string `json:"FinishedAt,omitnil,omitempty" name:"FinishedAt"` }
type DynamicOptions ¶
type DynamicOptions struct { // DML and DDL options to be synced. Valid values: `Insert` (INSERT), `Update` (UPDATE), `Delete` (DELETE), `DDL` (structure sync), `PartialDDL` (custom option, which is used together with `DdlOptions`). This parameter is required, and its value will overwrite the previous value. Note: This field may return null, indicating that no valid values can be obtained. OpTypes []*string `json:"OpTypes,omitnil,omitempty" name:"OpTypes"` // DDL options to be synced. This parameter is required when `OpTypes` is `PartialDDL`, and its value will overwrite the previous value. Note: This field may return null, indicating that no valid values can be obtained. DdlOptions []*DdlOption `json:"DdlOptions,omitnil,omitempty" name:"DdlOptions"` // Conflict resolution method. Valid values: `ReportError` (Report error), `Ignore` (Ignore), `Cover` (Overwrite), `ConditionCover` (Conditionally overwrite). Currently, this parameter cannot be modified if the target of the link is Kafka. Note: This field may return null, indicating that no valid values can be obtained. ConflictHandleType *string `json:"ConflictHandleType,omitnil,omitempty" name:"ConflictHandleType"` // Detailed options of the conflict resolution method, such as the conditionally overwritten rows and condition operations for the “conditionally overwrite” method. The internal field of this parameter cannot be modified separately. If this parameter needs to be updated, update it fully. Note: This field may return null, indicating that no valid values can be obtained. ConflictHandleOption *ConflictHandleOption `json:"ConflictHandleOption,omitnil,omitempty" name:"ConflictHandleOption"` }
type Endpoint ¶
type Endpoint struct { // Region name, such as `ap-guangzhou`. // Note: This field may return null, indicating that no valid values can be obtained. Region *string `json:"Region,omitnil,omitempty" name:"Region"` // Node type of TDSQL for MySQL. Enumerated values: `proxy`, `set`. // Note: This field may return null, indicating that no valid values can be obtained. Role *string `json:"Role,omitnil,omitempty" name:"Role"` // Database kernel type, which is used to distinguish between different kernels in TDSQL. Valid values: `percona`, `mariadb`, `mysql`. // Note: This field may return null, indicating that no valid values can be obtained. DbKernel *string `json:"DbKernel,omitnil,omitempty" name:"DbKernel"` // Database instance ID in the format of `cdb-powiqx8q` // Note: This field may return null, indicating that no valid values can be obtained. InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // Instance IP address, which is required if the access type is not `cdb`. // Note: This field may return null, indicating that no valid values can be obtained. Ip *string `json:"Ip,omitnil,omitempty" name:"Ip"` // Instance port, which is required if the access type is not `cdb`. // Note: This field may return null, indicating that no valid values can be obtained. Port *uint64 `json:"Port,omitnil,omitempty" name:"Port"` // Username, which is required for an instance authenticated by username and password. // Note: This field may return null, indicating that no valid values can be obtained. User *string `json:"User,omitnil,omitempty" name:"User"` // Password, which is required for an instance authenticated by username and password. // Note: This field may return null, indicating that no valid values can be obtained. Password *string `json:"Password,omitnil,omitempty" name:"Password"` // Database name, which is required if the database type is `cdwpg`. // Note: This field may return null, indicating that no valid values can be obtained. DbName *string `json:"DbName,omitnil,omitempty" name:"DbName"` // VPC ID in the format of `vpc-92jblxto`, which is required if the access type is `vpc`, `dcg`, or `vpncloud`. // Note: This field may return null, indicating that no valid values can be obtained. VpcId *string `json:"VpcId,omitnil,omitempty" name:"VpcId"` // ID of the subnet in the VPC in the format of `subnet-3paxmkdz`, which is required if the access type is `vpc`, `dcg`, or `vpncloud`. // Note: This field may return null, indicating that no valid values can be obtained. SubnetId *string `json:"SubnetId,omitnil,omitempty" name:"SubnetId"` // Short CVM instance ID in the format of `ins-olgl39y8`, which is required if the access type is `cvm`. It is the same as the instance ID displayed in the CVM console. // Note: This field may return null, indicating that no valid values can be obtained. CvmInstanceId *string `json:"CvmInstanceId,omitnil,omitempty" name:"CvmInstanceId"` // Direct Connect gateway ID in the format of `dcg-0rxtqqxb`, which is required if the access type is `dcg`. // Note: This field may return null, indicating that no valid values can be obtained. UniqDcgId *string `json:"UniqDcgId,omitnil,omitempty" name:"UniqDcgId"` // VPN gateway ID in the format of `vpngw-9ghexg7q`, which is required if the access type is `vpncloud`. // Note: This field may return null, indicating that no valid values can be obtained. UniqVpnGwId *string `json:"UniqVpnGwId,omitnil,omitempty" name:"UniqVpnGwId"` // CCN instance ID in the format of `ccn-afp6kltc`, which is required if the access type is `ccn`. // Note: This field may return null, indicating that no valid values can be obtained. CcnId *string `json:"CcnId,omitnil,omitempty" name:"CcnId"` // Cloud vendor type. For Alibaba Cloud ApsaraDB for RDS instances, enter `aliyun`; otherwise, enter `others`. Default value: `others`. // Note: This field may return null, indicating that no valid values can be obtained. Supplier *string `json:"Supplier,omitnil,omitempty" name:"Supplier"` // Database version in the format of `5.6` or `5.7`, which takes effect only if the instance is an RDS instance. Default value: `5.6`. // Note: This field may return null, indicating that no valid values can be obtained. EngineVersion *string `json:"EngineVersion,omitnil,omitempty" name:"EngineVersion"` // Instance account, which is required if the operation is performed across accounts. // Note: This field may return null, indicating that no valid values can be obtained. Account *string `json:"Account,omitnil,omitempty" name:"Account"` // The account to which the resource belongs. Valid values: empty or `self` (the current account); `other` (another account). // Note: This field may return null, indicating that no valid values can be obtained. AccountMode *string `json:"AccountMode,omitnil,omitempty" name:"AccountMode"` // The role used for cross-account sync, which can contain [a-zA-Z0-9\-\_]+ and is required if the operation is performed across accounts. // Note: This field may return null, indicating that no valid values can be obtained. AccountRole *string `json:"AccountRole,omitnil,omitempty" name:"AccountRole"` // External role ID // Note: This field may return null, indicating that no valid values can be obtained. RoleExternalId *string `json:"RoleExternalId,omitnil,omitempty" name:"RoleExternalId"` // ID of the temporary key, which is required if the operation is performed across accounts. // Note: This field may return null, indicating that no valid values can be obtained. TmpSecretId *string `json:"TmpSecretId,omitnil,omitempty" name:"TmpSecretId"` // Key of the temporary key, which is required if the operation is performed across accounts. // Note: This field may return null, indicating that no valid values can be obtained. TmpSecretKey *string `json:"TmpSecretKey,omitnil,omitempty" name:"TmpSecretKey"` // Temporary token, which is required if the operation is performed across accounts. // Note: This field may return null, indicating that no valid values can be obtained. TmpToken *string `json:"TmpToken,omitnil,omitempty" name:"TmpToken"` // Whether to enable encrypted transfer (`UnEncrypted`: No; `Encrypted`: Yes). Default value: `UnEncrypted`. // Note: This field may return null, indicating that no valid values can be obtained. EncryptConn *string `json:"EncryptConn,omitnil,omitempty" name:"EncryptConn"` // Network environment of the database. This parameter is required when `AccessType` is `ccn`. Valid values: `UserIDC` (user IDC), `TencentVPC` (Tencent Cloud VPC). // Note: This field may return null, indicating that no valid values can be obtained. DatabaseNetEnv *string `json:"DatabaseNetEnv,omitnil,omitempty" name:"DatabaseNetEnv"` // The root account of CCN in the scenario where the database is connected to CCN under another Tencent Cloud account // Note: u200dThis field may return `null`, indicating that no valid values can be obtained. CcnOwnerUin *string `json:"CcnOwnerUin,omitnil,omitempty" name:"CcnOwnerUin"` }
type ErrInfo ¶
type ErrInfo struct { // Cause of the error Reason *string `json:"Reason,omitnil,omitempty" name:"Reason"` // Error message // Note: u200dThis field may returnu200d·nullu200d, indicating that no valid values can be obtained. Message *string `json:"Message,omitnil,omitempty" name:"Message"` // Solution // Note: u200dThis field may returnu200d·nullu200d, indicating that no valid values can be obtained. Solution *string `json:"Solution,omitnil,omitempty" name:"Solution"` }
type ErrorInfoItem ¶
type ErrorInfoItem struct { // Error code // Note: This field may return null, indicating that no valid values can be obtained. Code *string `json:"Code,omitnil,omitempty" name:"Code"` // Solution // Note: This field may return null, indicating that no valid values can be obtained. Solution *string `json:"Solution,omitnil,omitempty" name:"Solution"` // Error log // Note: This field may return null, indicating that no valid values can be obtained. ErrorLog *string `json:"ErrorLog,omitnil,omitempty" name:"ErrorLog"` // Help document // Note: This field may return null, indicating that no valid values can be obtained. HelpDoc *string `json:"HelpDoc,omitnil,omitempty" name:"HelpDoc"` }
type IsolateMigrateJobRequest ¶
type IsolateMigrateJobRequest struct { *tchttp.BaseRequest // Task ID JobId *string `json:"JobId,omitnil,omitempty" name:"JobId"` }
func NewIsolateMigrateJobRequest ¶
func NewIsolateMigrateJobRequest() (request *IsolateMigrateJobRequest)
func (*IsolateMigrateJobRequest) FromJsonString ¶
func (r *IsolateMigrateJobRequest) 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 (*IsolateMigrateJobRequest) ToJsonString ¶
func (r *IsolateMigrateJobRequest) ToJsonString() string
type IsolateMigrateJobRequestParams ¶
type IsolateMigrateJobRequestParams struct { // Task ID JobId *string `json:"JobId,omitnil,omitempty" name:"JobId"` }
Predefined struct for user
type IsolateMigrateJobResponse ¶
type IsolateMigrateJobResponse struct { *tchttp.BaseResponse Response *IsolateMigrateJobResponseParams `json:"Response"` }
func NewIsolateMigrateJobResponse ¶
func NewIsolateMigrateJobResponse() (response *IsolateMigrateJobResponse)
func (*IsolateMigrateJobResponse) FromJsonString ¶
func (r *IsolateMigrateJobResponse) 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 (*IsolateMigrateJobResponse) ToJsonString ¶
func (r *IsolateMigrateJobResponse) ToJsonString() string
type IsolateMigrateJobResponseParams ¶
type IsolateMigrateJobResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type IsolateSyncJobRequest ¶
type IsolateSyncJobRequest struct { *tchttp.BaseRequest // Sync task ID JobId *string `json:"JobId,omitnil,omitempty" name:"JobId"` }
func NewIsolateSyncJobRequest ¶
func NewIsolateSyncJobRequest() (request *IsolateSyncJobRequest)
func (*IsolateSyncJobRequest) FromJsonString ¶
func (r *IsolateSyncJobRequest) 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 (*IsolateSyncJobRequest) ToJsonString ¶
func (r *IsolateSyncJobRequest) ToJsonString() string
type IsolateSyncJobRequestParams ¶
type IsolateSyncJobRequestParams struct { // Sync task ID JobId *string `json:"JobId,omitnil,omitempty" name:"JobId"` }
Predefined struct for user
type IsolateSyncJobResponse ¶
type IsolateSyncJobResponse struct { *tchttp.BaseResponse Response *IsolateSyncJobResponseParams `json:"Response"` }
func NewIsolateSyncJobResponse ¶
func NewIsolateSyncJobResponse() (response *IsolateSyncJobResponse)
func (*IsolateSyncJobResponse) FromJsonString ¶
func (r *IsolateSyncJobResponse) 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 (*IsolateSyncJobResponse) ToJsonString ¶
func (r *IsolateSyncJobResponse) ToJsonString() string
type IsolateSyncJobResponseParams ¶
type IsolateSyncJobResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type JobItem ¶
type JobItem struct { // Data migration task ID // Note: This field may return null, indicating that no valid values can be obtained. JobId *string `json:"JobId,omitnil,omitempty" name:"JobId"` // Data migration task name // Note: This field may return null, indicating that no valid values can be obtained. JobName *string `json:"JobName,omitnil,omitempty" name:"JobName"` // Task creation (submission) time in the format of `yyyy-mm-dd hh:mm:ss` // Note: This field may return null, indicating that no valid values can be obtained. CreateTime *string `json:"CreateTime,omitnil,omitempty" name:"CreateTime"` // Task update time in the format of `yyyy-mm-dd hh:mm:ss` // Note: This field may return null, indicating that no valid values can be obtained. UpdateTime *string `json:"UpdateTime,omitnil,omitempty" name:"UpdateTime"` // Task start time in the format of `yyyy-mm-dd hh:mm:ss` // Note: This field may return null, indicating that no valid values can be obtained. StartTime *string `json:"StartTime,omitnil,omitempty" name:"StartTime"` // Task end time in the format of `yyyy-mm-dd hh:mm:ss` // Note: This field may return null, indicating that no valid values can be obtained. EndTime *string `json:"EndTime,omitnil,omitempty" name:"EndTime"` // Migration task error message // Note: This field may return null, indicating that no valid values can be obtained. BriefMsg *string `json:"BriefMsg,omitnil,omitempty" name:"BriefMsg"` // Task status. Valid values: `creating` (Creating), `created`(Created), `checking` (Checking), `checkPass` (Check passed), `checkNotPass` (Check not passed), `readyRun` (Ready for running), `running` (Running), `readyComplete` (Preparation completed), `success` (Successful), `failed` (Failed), `stopping` (Stopping), `completing` (Completing), `pausing` (Pausing), `manualPaused` (Paused). Note: This field may return null, indicating that no valid values can be obtained. Status *string `json:"Status,omitnil,omitempty" name:"Status"` // Task running mode. Valid values: `immediate`, `timed`. // Note: This field may return null, indicating that no valid values can be obtained. RunMode *string `json:"RunMode,omitnil,omitempty" name:"RunMode"` // Expected start time in the format of "2022-07-11 16:20:49", which is required if `RunMode` is `timed`. // Note: This field may return null, indicating that no valid values can be obtained. ExpectRunTime *string `json:"ExpectRunTime,omitnil,omitempty" name:"ExpectRunTime"` // Task operation information // Note: This field may return null, indicating that no valid values can be obtained. Action *MigrateAction `json:"Action,omitnil,omitempty" name:"Action"` // Information of the migration task execution process // Note: This field may return null, indicating that no valid values can be obtained. StepInfo *MigrateDetailInfo `json:"StepInfo,omitnil,omitempty" name:"StepInfo"` // Source instance information // Note: This field may return null, indicating that no valid values can be obtained. SrcInfo *DBEndpointInfo `json:"SrcInfo,omitnil,omitempty" name:"SrcInfo"` // Target database information // Note: This field may return null, indicating that no valid values can be obtained. DstInfo *DBEndpointInfo `json:"DstInfo,omitnil,omitempty" name:"DstInfo"` // Data consistency check result // Note: This field may return null, indicating that no valid values can be obtained. CompareTask *CompareTaskInfo `json:"CompareTask,omitnil,omitempty" name:"CompareTask"` // Billing status information // Note: This field may return null, indicating that no valid values can be obtained. TradeInfo *TradeInfo `json:"TradeInfo,omitnil,omitempty" name:"TradeInfo"` // Tag information // Note: This field may return null, indicating that no valid values can be obtained. Tags []*TagItem `json:"Tags,omitnil,omitempty" name:"Tags"` // Information of automatic retry time // Note: This field may return null, indicating that no valid values can be obtained. AutoRetryTimeRangeMinutes *int64 `json:"AutoRetryTimeRangeMinutes,omitnil,omitempty" name:"AutoRetryTimeRangeMinutes"` // Whether the task can be reentered in the full export stage. Valid values: `yes`, `no`. `yes`: The current task can be reentered. `no`: The current task is in the full export stage which cannot be reentered. If the value of this parameter is `no`, the checkpoint restart is not supported when the task is restarted in the export stage. // Note: u200dThis field may returnu200d·nullu200d, indicating that no valid values can be obtained. DumperResumeCtrl *string `json:"DumperResumeCtrl,omitnil,omitempty" name:"DumperResumeCtrl"` }
type KafkaOption ¶
type KafkaOption struct { // Type of data that is delivered to Kafka, such as `Avro` and `Json`. DataType *string `json:"DataType,omitnil,omitempty" name:"DataType"` // Topic sync policy, such as `Single` (deliver all data to a single topic), `Multi` (deliver data to multiple custom topics). TopicType *string `json:"TopicType,omitnil,omitempty" name:"TopicType"` // Topic for DDL storage DDLTopicName *string `json:"DDLTopicName,omitnil,omitempty" name:"DDLTopicName"` // Topic description TopicRules []*TopicRule `json:"TopicRules,omitnil,omitempty" name:"TopicRules"` }
type KeyValuePairOption ¶
type KeyValuePairOption struct { // Option key // Note: This field may return null, indicating that no valid values can be obtained. Key *string `json:"Key,omitnil,omitempty" name:"Key"` // Option value // Note: This field may return null, indicating that no valid values can be obtained. Value *string `json:"Value,omitnil,omitempty" name:"Value"` }
type MigrateAction ¶
type MigrateAction struct { // List of all operations in the task // Note: This field may return null, indicating that no valid values can be obtained. AllAction []*string `json:"AllAction,omitnil,omitempty" name:"AllAction"` // List of allowed operations in the task under the current status // Note: This field may return null, indicating that no valid values can be obtained. AllowedAction []*string `json:"AllowedAction,omitnil,omitempty" name:"AllowedAction"` }
type MigrateDBItem ¶
type MigrateDBItem struct { // Instance ID InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // Instance name InstanceName *string `json:"InstanceName,omitnil,omitempty" name:"InstanceName"` // Instance VIP Vip *string `json:"Vip,omitnil,omitempty" name:"Vip"` // Instance Vport Vport *int64 `json:"Vport,omitnil,omitempty" name:"Vport"` // Whether the instance can be migrated. Valid values: `1 (yes); `0` (no). Usable *int64 `json:"Usable,omitnil,omitempty" name:"Usable"` // The cause why the instance cannot be migrated Hint *string `json:"Hint,omitnil,omitempty" name:"Hint"` }
type MigrateDetailInfo ¶
type MigrateDetailInfo struct { // Total number of steps // Note: This field may return null, indicating that no valid values can be obtained. StepAll *uint64 `json:"StepAll,omitnil,omitempty" name:"StepAll"` // Current step // Note: This field may return null, indicating that no valid values can be obtained. StepNow *uint64 `json:"StepNow,omitnil,omitempty" name:"StepNow"` // Source-replica lag in MB. This parameter takes effect only when the task is normal and is in the last step of migration or sync (binlog sync). If it is invalid, `-1` will be returned. // Note: This field may return null, indicating that no valid values can be obtained. MasterSlaveDistance *int64 `json:"MasterSlaveDistance,omitnil,omitempty" name:"MasterSlaveDistance"` // Source-replica lag in seconds. This parameter takes effect only when the task is normal and is in the last step of migration or sync (binlog sync). If it is invalid, `-1` will be returned. // Note: This field may return null, indicating that no valid values can be obtained. SecondsBehindMaster *int64 `json:"SecondsBehindMaster,omitnil,omitempty" name:"SecondsBehindMaster"` // Step information // Note: This field may return null, indicating that no valid values can be obtained. StepInfo []*StepDetailInfo `json:"StepInfo,omitnil,omitempty" name:"StepInfo"` }
type MigrateOption ¶
type MigrateOption struct { // Migration object options, which tell DTS which database/table objects should be migrated. // Note: This field may return null, indicating that no valid values can be obtained. DatabaseTable *DatabaseTableObject `json:"DatabaseTable,omitnil,omitempty" name:"DatabaseTable"` // Migration type. Valid values: `full`, `structure`, `fullAndIncrement`. Default value: `fullAndIncrement`. // Note: This field may return null, indicating that no valid values can be obtained. MigrateType *string `json:"MigrateType,omitnil,omitempty" name:"MigrateType"` // Data consistency check option. Data consistency check is disabled by default. // Note: This field may return null, indicating that no valid values can be obtained. Consistency *ConsistencyOption `json:"Consistency,omitnil,omitempty" name:"Consistency"` // Whether to migrate accounts. Valid values: `yes`, `no`. // Note: This field may return null, indicating that no valid values can be obtained. IsMigrateAccount *bool `json:"IsMigrateAccount,omitnil,omitempty" name:"IsMigrateAccount"` // Whether to use the `Root` account in the source database to overwrite that in the target database. Valid values: `false`, `true`. For database/table or structural migration, you should specify `false`. Note that this parameter takes effect only for OldDTS. // Note: This field may return null, indicating that no valid values can be obtained. IsOverrideRoot *bool `json:"IsOverrideRoot,omitnil,omitempty" name:"IsOverrideRoot"` // Whether to set the target database to read-only during migration, which takes effect only for MySQL databases. Valid values: `true`, `false`. Default value: `false`. // Note: This field may return null, indicating that no valid values can be obtained. IsDstReadOnly *bool `json:"IsDstReadOnly,omitnil,omitempty" name:"IsDstReadOnly"` // Additional information. You can set additional parameters for certain database types. For Redis, you can define the following parameters: // ["DstWriteMode": `normal`. Target database write mode. Valid values: `clearData` (Clear the target instance data), overwrite` (Execute the task in overwriting mode), `normal` (Follow the normal steps) "IsDstReadOnly": `true`. Whether to set the target database to read-only for a migration task. Valid values: `true` (Yes), `false` (No) "ClientOutputBufferHardLimit": 512. Hard limit of the replica buffer zone capacity in MB. "ClientOutputBufferSoftLimit": 512. Soft limit of the replica buffer zone capacity in MB. "ClientOutputBufferPersistTime": 60. Soft limit duration of the replica buffer zone in seconds. "ReplBacklogSize": 512, Limit of the circular buffer zone capacity in MB. "ReplTimeout":120, Replication timeout period in seconds] // Note: u200dThis field may returnu200d·nullu200d, indicating that no valid values can be obtained. ExtraAttr []*KeyValuePairOption `json:"ExtraAttr,omitnil,omitempty" name:"ExtraAttr"` }
type ModifyCompareTaskNameRequest ¶
type ModifyCompareTaskNameRequest struct { *tchttp.BaseRequest // Migration task ID JobId *string `json:"JobId,omitnil,omitempty" name:"JobId"` // Data consistency check task ID in the format of `dts-8yv4w2i1-cmp-37skmii9` CompareTaskId *string `json:"CompareTaskId,omitnil,omitempty" name:"CompareTaskId"` // Data consistency check task name TaskName *string `json:"TaskName,omitnil,omitempty" name:"TaskName"` }
func NewModifyCompareTaskNameRequest ¶
func NewModifyCompareTaskNameRequest() (request *ModifyCompareTaskNameRequest)
func (*ModifyCompareTaskNameRequest) FromJsonString ¶
func (r *ModifyCompareTaskNameRequest) 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 (*ModifyCompareTaskNameRequest) ToJsonString ¶
func (r *ModifyCompareTaskNameRequest) ToJsonString() string
type ModifyCompareTaskNameRequestParams ¶
type ModifyCompareTaskNameRequestParams struct { // Migration task ID JobId *string `json:"JobId,omitnil,omitempty" name:"JobId"` // Data consistency check task ID in the format of `dts-8yv4w2i1-cmp-37skmii9` CompareTaskId *string `json:"CompareTaskId,omitnil,omitempty" name:"CompareTaskId"` // Data consistency check task name TaskName *string `json:"TaskName,omitnil,omitempty" name:"TaskName"` }
Predefined struct for user
type ModifyCompareTaskNameResponse ¶
type ModifyCompareTaskNameResponse struct { *tchttp.BaseResponse Response *ModifyCompareTaskNameResponseParams `json:"Response"` }
func NewModifyCompareTaskNameResponse ¶
func NewModifyCompareTaskNameResponse() (response *ModifyCompareTaskNameResponse)
func (*ModifyCompareTaskNameResponse) FromJsonString ¶
func (r *ModifyCompareTaskNameResponse) 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 (*ModifyCompareTaskNameResponse) ToJsonString ¶
func (r *ModifyCompareTaskNameResponse) ToJsonString() string
type ModifyCompareTaskNameResponseParams ¶
type ModifyCompareTaskNameResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type ModifyCompareTaskRequest ¶
type ModifyCompareTaskRequest struct { *tchttp.BaseRequest // Task ID JobId *string `json:"JobId,omitnil,omitempty" name:"JobId"` // Data consistency check task ID in the format of `dts-8yv4w2i1-cmp-37skmii9` CompareTaskId *string `json:"CompareTaskId,omitnil,omitempty" name:"CompareTaskId"` // Task name TaskName *string `json:"TaskName,omitnil,omitempty" name:"TaskName"` // Data comparison object mode. Valid values: `sameAsMigrate` (All migration objects), `custom` (Custom mode. The custom comparison objects must be a subset of the migration objects). Default value: `sameAsMigrate`. ObjectMode *string `json:"ObjectMode,omitnil,omitempty" name:"ObjectMode"` // Compared object, which is required if `CompareObjectMode` is `custom`. Objects *CompareObject `json:"Objects,omitnil,omitempty" name:"Objects"` // Consistency check options Options *CompareOptions `json:"Options,omitnil,omitempty" name:"Options"` }
func NewModifyCompareTaskRequest ¶
func NewModifyCompareTaskRequest() (request *ModifyCompareTaskRequest)
func (*ModifyCompareTaskRequest) FromJsonString ¶
func (r *ModifyCompareTaskRequest) 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 (*ModifyCompareTaskRequest) ToJsonString ¶
func (r *ModifyCompareTaskRequest) ToJsonString() string
type ModifyCompareTaskRequestParams ¶
type ModifyCompareTaskRequestParams struct { // Task ID JobId *string `json:"JobId,omitnil,omitempty" name:"JobId"` // Data consistency check task ID in the format of `dts-8yv4w2i1-cmp-37skmii9` CompareTaskId *string `json:"CompareTaskId,omitnil,omitempty" name:"CompareTaskId"` // Task name TaskName *string `json:"TaskName,omitnil,omitempty" name:"TaskName"` // Data comparison object mode. Valid values: `sameAsMigrate` (All migration objects), `custom` (Custom mode. The custom comparison objects must be a subset of the migration objects). Default value: `sameAsMigrate`. ObjectMode *string `json:"ObjectMode,omitnil,omitempty" name:"ObjectMode"` // Compared object, which is required if `CompareObjectMode` is `custom`. Objects *CompareObject `json:"Objects,omitnil,omitempty" name:"Objects"` // Consistency check options Options *CompareOptions `json:"Options,omitnil,omitempty" name:"Options"` }
Predefined struct for user
type ModifyCompareTaskResponse ¶
type ModifyCompareTaskResponse struct { *tchttp.BaseResponse Response *ModifyCompareTaskResponseParams `json:"Response"` }
func NewModifyCompareTaskResponse ¶
func NewModifyCompareTaskResponse() (response *ModifyCompareTaskResponse)
func (*ModifyCompareTaskResponse) FromJsonString ¶
func (r *ModifyCompareTaskResponse) 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 (*ModifyCompareTaskResponse) ToJsonString ¶
func (r *ModifyCompareTaskResponse) ToJsonString() string
type ModifyCompareTaskResponseParams ¶
type ModifyCompareTaskResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type ModifyMigrateJobSpecRequest ¶
type ModifyMigrateJobSpecRequest struct { *tchttp.BaseRequest // Task ID JobId *string `json:"JobId,omitnil,omitempty" name:"JobId"` // New instance specification. Valid values: `micro`, `small`, `medium`, `large`, `xlarge`, `2xlarge`. NewInstanceClass *string `json:"NewInstanceClass,omitnil,omitempty" name:"NewInstanceClass"` }
func NewModifyMigrateJobSpecRequest ¶
func NewModifyMigrateJobSpecRequest() (request *ModifyMigrateJobSpecRequest)
func (*ModifyMigrateJobSpecRequest) FromJsonString ¶
func (r *ModifyMigrateJobSpecRequest) 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 (*ModifyMigrateJobSpecRequest) ToJsonString ¶
func (r *ModifyMigrateJobSpecRequest) ToJsonString() string
type ModifyMigrateJobSpecRequestParams ¶
type ModifyMigrateJobSpecRequestParams struct { // Task ID JobId *string `json:"JobId,omitnil,omitempty" name:"JobId"` // New instance specification. Valid values: `micro`, `small`, `medium`, `large`, `xlarge`, `2xlarge`. NewInstanceClass *string `json:"NewInstanceClass,omitnil,omitempty" name:"NewInstanceClass"` }
Predefined struct for user
type ModifyMigrateJobSpecResponse ¶
type ModifyMigrateJobSpecResponse struct { *tchttp.BaseResponse Response *ModifyMigrateJobSpecResponseParams `json:"Response"` }
func NewModifyMigrateJobSpecResponse ¶
func NewModifyMigrateJobSpecResponse() (response *ModifyMigrateJobSpecResponse)
func (*ModifyMigrateJobSpecResponse) FromJsonString ¶
func (r *ModifyMigrateJobSpecResponse) 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 (*ModifyMigrateJobSpecResponse) ToJsonString ¶
func (r *ModifyMigrateJobSpecResponse) ToJsonString() string
type ModifyMigrateJobSpecResponseParams ¶
type ModifyMigrateJobSpecResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type ModifyMigrateNameRequest ¶
type ModifyMigrateNameRequest struct { *tchttp.BaseRequest // Migration task ID JobId *string `json:"JobId,omitnil,omitempty" name:"JobId"` // New migration task name JobName *string `json:"JobName,omitnil,omitempty" name:"JobName"` }
func NewModifyMigrateNameRequest ¶
func NewModifyMigrateNameRequest() (request *ModifyMigrateNameRequest)
func (*ModifyMigrateNameRequest) FromJsonString ¶
func (r *ModifyMigrateNameRequest) 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 (*ModifyMigrateNameRequest) ToJsonString ¶
func (r *ModifyMigrateNameRequest) ToJsonString() string
type ModifyMigrateNameRequestParams ¶
type ModifyMigrateNameRequestParams struct { // Migration task ID JobId *string `json:"JobId,omitnil,omitempty" name:"JobId"` // New migration task name JobName *string `json:"JobName,omitnil,omitempty" name:"JobName"` }
Predefined struct for user
type ModifyMigrateNameResponse ¶
type ModifyMigrateNameResponse struct { *tchttp.BaseResponse Response *ModifyMigrateNameResponseParams `json:"Response"` }
func NewModifyMigrateNameResponse ¶
func NewModifyMigrateNameResponse() (response *ModifyMigrateNameResponse)
func (*ModifyMigrateNameResponse) FromJsonString ¶
func (r *ModifyMigrateNameResponse) 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 (*ModifyMigrateNameResponse) ToJsonString ¶
func (r *ModifyMigrateNameResponse) ToJsonString() string
type ModifyMigrateNameResponseParams ¶
type ModifyMigrateNameResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type ModifyMigrationJobRequest ¶
type ModifyMigrationJobRequest struct { *tchttp.BaseRequest // Task ID JobId *string `json:"JobId,omitnil,omitempty" name:"JobId"` // Running mode. Valid values: `immediate`, `timed`. RunMode *string `json:"RunMode,omitnil,omitempty" name:"RunMode"` // Migration task configuration options, which describe how the task performs migration. The `RateLimitOption` option cannot be configured. To modify the speed limit settings of the task, use the `ModifyMigrateRateLimit` API after the task starts running. MigrateOption *MigrateOption `json:"MigrateOption,omitnil,omitempty" name:"MigrateOption"` // Source instance information SrcInfo *DBEndpointInfo `json:"SrcInfo,omitnil,omitempty" name:"SrcInfo"` // Target instance information DstInfo *DBEndpointInfo `json:"DstInfo,omitnil,omitempty" name:"DstInfo"` // Migration task name, which can contain up to 128 characters. JobName *string `json:"JobName,omitnil,omitempty" name:"JobName"` // Expected start time in the format of "2006-01-02 15:04:05", which is required if `RunMode` is `timed`. ExpectRunTime *string `json:"ExpectRunTime,omitnil,omitempty" name:"ExpectRunTime"` // Tag information Tags []*TagItem `json:"Tags,omitnil,omitempty" name:"Tags"` // Automatic retry time, which can be set to 5-720 minutes. 0 indicates that retry is disabled. AutoRetryTimeRangeMinutes *int64 `json:"AutoRetryTimeRangeMinutes,omitnil,omitempty" name:"AutoRetryTimeRangeMinutes"` }
func NewModifyMigrationJobRequest ¶
func NewModifyMigrationJobRequest() (request *ModifyMigrationJobRequest)
func (*ModifyMigrationJobRequest) FromJsonString ¶
func (r *ModifyMigrationJobRequest) 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 (*ModifyMigrationJobRequest) ToJsonString ¶
func (r *ModifyMigrationJobRequest) ToJsonString() string
type ModifyMigrationJobRequestParams ¶
type ModifyMigrationJobRequestParams struct { // Task ID JobId *string `json:"JobId,omitnil,omitempty" name:"JobId"` // Running mode. Valid values: `immediate`, `timed`. RunMode *string `json:"RunMode,omitnil,omitempty" name:"RunMode"` // Migration task configuration options, which describe how the task performs migration. The `RateLimitOption` option cannot be configured. To modify the speed limit settings of the task, use the `ModifyMigrateRateLimit` API after the task starts running. MigrateOption *MigrateOption `json:"MigrateOption,omitnil,omitempty" name:"MigrateOption"` // Source instance information SrcInfo *DBEndpointInfo `json:"SrcInfo,omitnil,omitempty" name:"SrcInfo"` // Target instance information DstInfo *DBEndpointInfo `json:"DstInfo,omitnil,omitempty" name:"DstInfo"` // Migration task name, which can contain up to 128 characters. JobName *string `json:"JobName,omitnil,omitempty" name:"JobName"` // Expected start time in the format of "2006-01-02 15:04:05", which is required if `RunMode` is `timed`. ExpectRunTime *string `json:"ExpectRunTime,omitnil,omitempty" name:"ExpectRunTime"` // Tag information Tags []*TagItem `json:"Tags,omitnil,omitempty" name:"Tags"` // Automatic retry time, which can be set to 5-720 minutes. 0 indicates that retry is disabled. AutoRetryTimeRangeMinutes *int64 `json:"AutoRetryTimeRangeMinutes,omitnil,omitempty" name:"AutoRetryTimeRangeMinutes"` }
Predefined struct for user
type ModifyMigrationJobResponse ¶
type ModifyMigrationJobResponse struct { *tchttp.BaseResponse Response *ModifyMigrationJobResponseParams `json:"Response"` }
func NewModifyMigrationJobResponse ¶
func NewModifyMigrationJobResponse() (response *ModifyMigrationJobResponse)
func (*ModifyMigrationJobResponse) FromJsonString ¶
func (r *ModifyMigrationJobResponse) 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 (*ModifyMigrationJobResponse) ToJsonString ¶
func (r *ModifyMigrationJobResponse) ToJsonString() string
type ModifyMigrationJobResponseParams ¶
type ModifyMigrationJobResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type ModifySyncJobConfigRequest ¶
type ModifySyncJobConfigRequest struct { *tchttp.BaseRequest // Sync task ID JobId *string `json:"JobId,omitnil,omitempty" name:"JobId"` // The modified sync objects DynamicObjects *Objects `json:"DynamicObjects,omitnil,omitempty" name:"DynamicObjects"` // The modified sync task options DynamicOptions *DynamicOptions `json:"DynamicOptions,omitnil,omitempty" name:"DynamicOptions"` }
func NewModifySyncJobConfigRequest ¶
func NewModifySyncJobConfigRequest() (request *ModifySyncJobConfigRequest)
func (*ModifySyncJobConfigRequest) FromJsonString ¶
func (r *ModifySyncJobConfigRequest) 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 (*ModifySyncJobConfigRequest) ToJsonString ¶
func (r *ModifySyncJobConfigRequest) ToJsonString() string
type ModifySyncJobConfigRequestParams ¶
type ModifySyncJobConfigRequestParams struct { // Sync task ID JobId *string `json:"JobId,omitnil,omitempty" name:"JobId"` // The modified sync objects DynamicObjects *Objects `json:"DynamicObjects,omitnil,omitempty" name:"DynamicObjects"` // The modified sync task options DynamicOptions *DynamicOptions `json:"DynamicOptions,omitnil,omitempty" name:"DynamicOptions"` }
Predefined struct for user
type ModifySyncJobConfigResponse ¶
type ModifySyncJobConfigResponse struct { *tchttp.BaseResponse Response *ModifySyncJobConfigResponseParams `json:"Response"` }
func NewModifySyncJobConfigResponse ¶
func NewModifySyncJobConfigResponse() (response *ModifySyncJobConfigResponse)
func (*ModifySyncJobConfigResponse) FromJsonString ¶
func (r *ModifySyncJobConfigResponse) 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 (*ModifySyncJobConfigResponse) ToJsonString ¶
func (r *ModifySyncJobConfigResponse) ToJsonString() string
type ModifySyncJobConfigResponseParams ¶
type ModifySyncJobConfigResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type Objects ¶
type Objects struct { // Sync object type. Valid value: `Partial` (Partial objects). Note: This field may return null, indicating that no valid values can be obtained. Mode *string `json:"Mode,omitnil,omitempty" name:"Mode"` // Sync object, which is required if `Mode` is `Partial`. // Note: This field may return null, indicating that no valid values can be obtained. Databases []*Database `json:"Databases,omitnil,omitempty" name:"Databases"` // Advanced object type, such as functions and procedures. If you need to sync advanced objects, the initialization type must include structure initialization, that is, `Options.InitType` must be `Structure` or `Full`. Note: This field may return null, indicating that no valid values can be obtained. AdvancedObjects []*string `json:"AdvancedObjects,omitnil,omitempty" name:"AdvancedObjects"` // A redundant field that specifies the online DDL type // Note: This field may return null, indicating that no valid values can be obtained. OnlineDDL *OnlineDDL `json:"OnlineDDL,omitnil,omitempty" name:"OnlineDDL"` }
type OnlineDDL ¶
type OnlineDDL struct { // Status // Note: This field may return null, indicating that no valid values can be obtained. Status *string `json:"Status,omitnil,omitempty" name:"Status"` }
type Options ¶
type Options struct { // Sync initialization option. Valid values: `data` (full data initialization); `Structure` (structure initialization); `Full` (full data and structure initialization); `None` (incremental data only). Default value: `Full`. // Note: This field may return null, indicating that no valid values can be obtained. InitType *string `json:"InitType,omitnil,omitempty" name:"InitType"` // Processing method for duplicate tables. Valid values: `ReportErrorAfterCheck`, `InitializeAfterDelete`, `ExecuteAfterIgnore`. Default value: `ReportErrorAfterCheck`. // Note: This field may return null, indicating that no valid values can be obtained. DealOfExistSameTable *string `json:"DealOfExistSameTable,omitnil,omitempty" name:"DealOfExistSameTable"` // Conflict processing option. Valid values: `ReportError` (report an error); `Ignore` (ignore); `Cover` (overwrite); `ConditionCover` (conditionally overwrite). Default value: `ReportError`. // Note: This field may return null, indicating that no valid values can be obtained. ConflictHandleType *string `json:"ConflictHandleType,omitnil,omitempty" name:"ConflictHandleType"` // Whether to add the additional column // Note: This field may return null, indicating that no valid values can be obtained. AddAdditionalColumn *bool `json:"AddAdditionalColumn,omitnil,omitempty" name:"AddAdditionalColumn"` // DML and DDL options to be synced. Valid values: `Insert` (INSERT operations); `Update` (UPDATE operations); `Delete` (DELETE operations); `DDL` (structure sync); `PartialDDL` (custom option, which is used together with `DdlOptions`). You can also leave this parameter empty. // Note: This field may return null, indicating that no valid values can be obtained. OpTypes []*string `json:"OpTypes,omitnil,omitempty" name:"OpTypes"` // Detailed option for conflict processing, such as condition rows and operations in conditional overwrite. // Note: This field may return null, indicating that no valid values can be obtained. ConflictHandleOption *ConflictHandleOption `json:"ConflictHandleOption,omitnil,omitempty" name:"ConflictHandleOption"` // DDL statements to be synced // Note: This field may return null, indicating that no valid values can be obtained. DdlOptions []*DdlOption `json:"DdlOptions,omitnil,omitempty" name:"DdlOptions"` // Kafka sync options // Note: This field may return null, indicating that no valid values can be obtained. KafkaOption *KafkaOption `json:"KafkaOption,omitnil,omitempty" name:"KafkaOption"` // Task speed limit information. This parameter can only be used as an output parameter. // Note: u200dThis field may returnu200d·nullu200d, indicating that no valid values can be obtained. RateLimitOption *RateLimitOption `json:"RateLimitOption,omitnil,omitempty" name:"RateLimitOption"` // Settings of the automatic retry time range // Note: u200dThis field may returnu200d·nullu200d, indicating that no valid values can be obtained. AutoRetryTimeRangeMinutes *int64 `json:"AutoRetryTimeRangeMinutes,omitnil,omitempty" name:"AutoRetryTimeRangeMinutes"` }
type PauseMigrateJobRequest ¶
type PauseMigrateJobRequest struct { *tchttp.BaseRequest // Data migration task ID JobId *string `json:"JobId,omitnil,omitempty" name:"JobId"` }
func NewPauseMigrateJobRequest ¶
func NewPauseMigrateJobRequest() (request *PauseMigrateJobRequest)
func (*PauseMigrateJobRequest) FromJsonString ¶
func (r *PauseMigrateJobRequest) 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 (*PauseMigrateJobRequest) ToJsonString ¶
func (r *PauseMigrateJobRequest) ToJsonString() string
type PauseMigrateJobRequestParams ¶
type PauseMigrateJobRequestParams struct { // Data migration task ID JobId *string `json:"JobId,omitnil,omitempty" name:"JobId"` }
Predefined struct for user
type PauseMigrateJobResponse ¶
type PauseMigrateJobResponse struct { *tchttp.BaseResponse Response *PauseMigrateJobResponseParams `json:"Response"` }
func NewPauseMigrateJobResponse ¶
func NewPauseMigrateJobResponse() (response *PauseMigrateJobResponse)
func (*PauseMigrateJobResponse) FromJsonString ¶
func (r *PauseMigrateJobResponse) 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 (*PauseMigrateJobResponse) ToJsonString ¶
func (r *PauseMigrateJobResponse) ToJsonString() string
type PauseMigrateJobResponseParams ¶
type PauseMigrateJobResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type PauseSyncJobRequest ¶
type PauseSyncJobRequest struct { *tchttp.BaseRequest // Sync task ID JobId *string `json:"JobId,omitnil,omitempty" name:"JobId"` }
func NewPauseSyncJobRequest ¶
func NewPauseSyncJobRequest() (request *PauseSyncJobRequest)
func (*PauseSyncJobRequest) FromJsonString ¶
func (r *PauseSyncJobRequest) 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 (*PauseSyncJobRequest) ToJsonString ¶
func (r *PauseSyncJobRequest) ToJsonString() string
type PauseSyncJobRequestParams ¶
type PauseSyncJobRequestParams struct { // Sync task ID JobId *string `json:"JobId,omitnil,omitempty" name:"JobId"` }
Predefined struct for user
type PauseSyncJobResponse ¶
type PauseSyncJobResponse struct { *tchttp.BaseResponse Response *PauseSyncJobResponseParams `json:"Response"` }
func NewPauseSyncJobResponse ¶
func NewPauseSyncJobResponse() (response *PauseSyncJobResponse)
func (*PauseSyncJobResponse) FromJsonString ¶
func (r *PauseSyncJobResponse) 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 (*PauseSyncJobResponse) ToJsonString ¶
func (r *PauseSyncJobResponse) ToJsonString() string
type PauseSyncJobResponseParams ¶
type PauseSyncJobResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type ProcessProgress ¶
type ProcessProgress struct { // Step status. Valid values: `notStarted`, `running`, `success`, `failed`. // Note: This field may return null, indicating that no valid values can be obtained. Status *string `json:"Status,omitnil,omitempty" name:"Status"` // Progress information // Note: This field may return null, indicating that no valid values can be obtained. Percent *uint64 `json:"Percent,omitnil,omitempty" name:"Percent"` // Total number of steps // Note: This field may return null, indicating that no valid values can be obtained. StepAll *uint64 `json:"StepAll,omitnil,omitempty" name:"StepAll"` // Current step // Note: This field may return null, indicating that no valid values can be obtained. StepNow *uint64 `json:"StepNow,omitnil,omitempty" name:"StepNow"` // The prompt output in the current step // Note: This field may return null, indicating that no valid values can be obtained. Message *string `json:"Message,omitnil,omitempty" name:"Message"` // Step information // Note: This field may return null, indicating that no valid values can be obtained. Steps []*StepDetailInfo `json:"Steps,omitnil,omitempty" name:"Steps"` }
type ProcessStepTip ¶
type ProcessStepTip struct { // Prompt message // Note: This field may return null, indicating that no valid values can be obtained. Message *string `json:"Message,omitnil,omitempty" name:"Message"` // Solution // Note: This field may return null, indicating that no valid values can be obtained. Solution *string `json:"Solution,omitnil,omitempty" name:"Solution"` // Help document // Note: This field may return null, indicating that no valid values can be obtained. HelpDoc *string `json:"HelpDoc,omitnil,omitempty" name:"HelpDoc"` }
type RateLimitOption ¶
type RateLimitOption struct { // The number of full export threads that have taken effect. // Note: u200dThis field may returnu200d·nullu200d, indicating that no valid values can be obtained. CurrentDumpThread *int64 `json:"CurrentDumpThread,omitnil,omitempty" name:"CurrentDumpThread"` // The default number of full export threads. // Note: u200dThis field may returnu200d·nullu200d, indicating that no valid values can be obtained. DefaultDumpThread *int64 `json:"DefaultDumpThread,omitnil,omitempty" name:"DefaultDumpThread"` // The full export RPS that has taken effect. // Note: u200dThis field may returnu200d·nullu200d, indicating that no valid values can be obtained. CurrentDumpRps *int64 `json:"CurrentDumpRps,omitnil,omitempty" name:"CurrentDumpRps"` // The default full export RPS. // Note: u200dThis field may return null, indicating that no valid values can be obtained. DefaultDumpRps *int64 `json:"DefaultDumpRps,omitnil,omitempty" name:"DefaultDumpRps"` // The number of full import threads that have taken effect. // Note: u200dThis field may returnu200d·nullu200d, indicating that no valid values can be obtained. CurrentLoadThread *int64 `json:"CurrentLoadThread,omitnil,omitempty" name:"CurrentLoadThread"` // The default number of full import threads. // Note: u200dThis field may returnu200d·nullu200d, indicating that no valid values can be obtained. DefaultLoadThread *int64 `json:"DefaultLoadThread,omitnil,omitempty" name:"DefaultLoadThread"` // The full import RPS that has taken effect. // Note: u200dThis field may returnu200d·nullu200d, indicating that no valid values can be obtained. CurrentLoadRps *int64 `json:"CurrentLoadRps,omitnil,omitempty" name:"CurrentLoadRps"` // The default full import RPS. // Note: u200dThis field may returnu200d·nullu200d, indicating that no valid values can be obtained. DefaultLoadRps *int64 `json:"DefaultLoadRps,omitnil,omitempty" name:"DefaultLoadRps"` // The number of incremental import threads that have taken effect. // Note: u200dThis field may returnu200d·nullu200d, indicating that no valid values can be obtained. CurrentSinkerThread *int64 `json:"CurrentSinkerThread,omitnil,omitempty" name:"CurrentSinkerThread"` // The default number of incremental import threads. // Note: u200dThis field may returnu200d·nullu200d, indicating that no valid values can be obtained. DefaultSinkerThread *int64 `json:"DefaultSinkerThread,omitnil,omitempty" name:"DefaultSinkerThread"` // Whether the speed limit has been set. Valid values: `no` (No), `yes` (Yes). // Note: u200dThis field may returnu200d·nullu200d, indicating that no valid values can be obtained. HasUserSetRateLimit *string `json:"HasUserSetRateLimit,omitnil,omitempty" name:"HasUserSetRateLimit"` }
type RecoverMigrateJobRequest ¶
type RecoverMigrateJobRequest struct { *tchttp.BaseRequest // Task ID JobId *string `json:"JobId,omitnil,omitempty" name:"JobId"` }
func NewRecoverMigrateJobRequest ¶
func NewRecoverMigrateJobRequest() (request *RecoverMigrateJobRequest)
func (*RecoverMigrateJobRequest) FromJsonString ¶
func (r *RecoverMigrateJobRequest) 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 (*RecoverMigrateJobRequest) ToJsonString ¶
func (r *RecoverMigrateJobRequest) ToJsonString() string
type RecoverMigrateJobRequestParams ¶
type RecoverMigrateJobRequestParams struct { // Task ID JobId *string `json:"JobId,omitnil,omitempty" name:"JobId"` }
Predefined struct for user
type RecoverMigrateJobResponse ¶
type RecoverMigrateJobResponse struct { *tchttp.BaseResponse Response *RecoverMigrateJobResponseParams `json:"Response"` }
func NewRecoverMigrateJobResponse ¶
func NewRecoverMigrateJobResponse() (response *RecoverMigrateJobResponse)
func (*RecoverMigrateJobResponse) FromJsonString ¶
func (r *RecoverMigrateJobResponse) 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 (*RecoverMigrateJobResponse) ToJsonString ¶
func (r *RecoverMigrateJobResponse) ToJsonString() string
type RecoverMigrateJobResponseParams ¶
type RecoverMigrateJobResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type RecoverSyncJobRequest ¶
type RecoverSyncJobRequest struct { *tchttp.BaseRequest // Sync task instance ID in the format of `sync-werwfs23`, which is used to identify a sync task. JobId *string `json:"JobId,omitnil,omitempty" name:"JobId"` }
func NewRecoverSyncJobRequest ¶
func NewRecoverSyncJobRequest() (request *RecoverSyncJobRequest)
func (*RecoverSyncJobRequest) FromJsonString ¶
func (r *RecoverSyncJobRequest) 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 (*RecoverSyncJobRequest) ToJsonString ¶
func (r *RecoverSyncJobRequest) ToJsonString() string
type RecoverSyncJobRequestParams ¶
type RecoverSyncJobRequestParams struct { // Sync task instance ID in the format of `sync-werwfs23`, which is used to identify a sync task. JobId *string `json:"JobId,omitnil,omitempty" name:"JobId"` }
Predefined struct for user
type RecoverSyncJobResponse ¶
type RecoverSyncJobResponse struct { *tchttp.BaseResponse Response *RecoverSyncJobResponseParams `json:"Response"` }
func NewRecoverSyncJobResponse ¶
func NewRecoverSyncJobResponse() (response *RecoverSyncJobResponse)
func (*RecoverSyncJobResponse) FromJsonString ¶
func (r *RecoverSyncJobResponse) 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 (*RecoverSyncJobResponse) ToJsonString ¶
func (r *RecoverSyncJobResponse) ToJsonString() string
type RecoverSyncJobResponseParams ¶
type RecoverSyncJobResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type ResizeSyncJobRequest ¶
type ResizeSyncJobRequest struct { *tchttp.BaseRequest // Sync task ID JobId *string `json:"JobId,omitnil,omitempty" name:"JobId"` // Task specification NewInstanceClass *string `json:"NewInstanceClass,omitnil,omitempty" name:"NewInstanceClass"` }
func NewResizeSyncJobRequest ¶
func NewResizeSyncJobRequest() (request *ResizeSyncJobRequest)
func (*ResizeSyncJobRequest) FromJsonString ¶
func (r *ResizeSyncJobRequest) 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 (*ResizeSyncJobRequest) ToJsonString ¶
func (r *ResizeSyncJobRequest) ToJsonString() string
type ResizeSyncJobRequestParams ¶
type ResizeSyncJobRequestParams struct { // Sync task ID JobId *string `json:"JobId,omitnil,omitempty" name:"JobId"` // Task specification NewInstanceClass *string `json:"NewInstanceClass,omitnil,omitempty" name:"NewInstanceClass"` }
Predefined struct for user
type ResizeSyncJobResponse ¶
type ResizeSyncJobResponse struct { *tchttp.BaseResponse Response *ResizeSyncJobResponseParams `json:"Response"` }
func NewResizeSyncJobResponse ¶
func NewResizeSyncJobResponse() (response *ResizeSyncJobResponse)
func (*ResizeSyncJobResponse) FromJsonString ¶
func (r *ResizeSyncJobResponse) 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 (*ResizeSyncJobResponse) ToJsonString ¶
func (r *ResizeSyncJobResponse) ToJsonString() string
type ResizeSyncJobResponseParams ¶
type ResizeSyncJobResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type ResumeMigrateJobRequest ¶
type ResumeMigrateJobRequest struct { *tchttp.BaseRequest // Data migration task ID JobId *string `json:"JobId,omitnil,omitempty" name:"JobId"` // Task resumption mode. Valid values: `clearData` (Clearing the target instance data); `overwrite` (Executing the task in overwrite mode); `normal` (Following the normal process without additional operations). `clearData` and `overwrite` are only valid for Redis links and `normal` for non-Redis links. ResumeOption *string `json:"ResumeOption,omitnil,omitempty" name:"ResumeOption"` }
func NewResumeMigrateJobRequest ¶
func NewResumeMigrateJobRequest() (request *ResumeMigrateJobRequest)
func (*ResumeMigrateJobRequest) FromJsonString ¶
func (r *ResumeMigrateJobRequest) 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 (*ResumeMigrateJobRequest) ToJsonString ¶
func (r *ResumeMigrateJobRequest) ToJsonString() string
type ResumeMigrateJobRequestParams ¶
type ResumeMigrateJobRequestParams struct { // Data migration task ID JobId *string `json:"JobId,omitnil,omitempty" name:"JobId"` // Task resumption mode. Valid values: `clearData` (Clearing the target instance data); `overwrite` (Executing the task in overwrite mode); `normal` (Following the normal process without additional operations). `clearData` and `overwrite` are only valid for Redis links and `normal` for non-Redis links. ResumeOption *string `json:"ResumeOption,omitnil,omitempty" name:"ResumeOption"` }
Predefined struct for user
type ResumeMigrateJobResponse ¶
type ResumeMigrateJobResponse struct { *tchttp.BaseResponse Response *ResumeMigrateJobResponseParams `json:"Response"` }
func NewResumeMigrateJobResponse ¶
func NewResumeMigrateJobResponse() (response *ResumeMigrateJobResponse)
func (*ResumeMigrateJobResponse) FromJsonString ¶
func (r *ResumeMigrateJobResponse) 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 (*ResumeMigrateJobResponse) ToJsonString ¶
func (r *ResumeMigrateJobResponse) ToJsonString() string
type ResumeMigrateJobResponseParams ¶
type ResumeMigrateJobResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type ResumeSyncJobRequest ¶
type ResumeSyncJobRequest struct { *tchttp.BaseRequest // Sync task ID JobId *string `json:"JobId,omitnil,omitempty" name:"JobId"` }
func NewResumeSyncJobRequest ¶
func NewResumeSyncJobRequest() (request *ResumeSyncJobRequest)
func (*ResumeSyncJobRequest) FromJsonString ¶
func (r *ResumeSyncJobRequest) 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 (*ResumeSyncJobRequest) ToJsonString ¶
func (r *ResumeSyncJobRequest) ToJsonString() string
type ResumeSyncJobRequestParams ¶
type ResumeSyncJobRequestParams struct { // Sync task ID JobId *string `json:"JobId,omitnil,omitempty" name:"JobId"` }
Predefined struct for user
type ResumeSyncJobResponse ¶
type ResumeSyncJobResponse struct { *tchttp.BaseResponse Response *ResumeSyncJobResponseParams `json:"Response"` }
func NewResumeSyncJobResponse ¶
func NewResumeSyncJobResponse() (response *ResumeSyncJobResponse)
func (*ResumeSyncJobResponse) FromJsonString ¶
func (r *ResumeSyncJobResponse) 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 (*ResumeSyncJobResponse) ToJsonString ¶
func (r *ResumeSyncJobResponse) ToJsonString() string
type ResumeSyncJobResponseParams ¶
type ResumeSyncJobResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type RoleItem ¶
type RoleItem struct { // Role name // Note: This field may return null, indicating that no valid values can be obtained. RoleName *string `json:"RoleName,omitnil,omitempty" name:"RoleName"` // Role name after migration // Note: This field may return null, indicating that no valid values can be obtained. NewRoleName *string `json:"NewRoleName,omitnil,omitempty" name:"NewRoleName"` }
type SkipCheckItemRequest ¶
type SkipCheckItemRequest struct { *tchttp.BaseRequest // Data migration task ID JobId *string `json:"JobId,omitnil,omitempty" name:"JobId"` // ID of the check step to be skipped, which is obtained in the `StepInfo[i].StepId` field returned by the `DescribeMigrationCheckJob` API, such as "OptimizeCheck". StepIds []*string `json:"StepIds,omitnil,omitempty" name:"StepIds"` // When the check fails due to foreign key dependency, you can use this field to specify whether to migrate the foreign key dependency. The foreign key dependency won’t be migrated when `StepIds` contains `ConstraintCheck` and the value of this field is `shield`, and will be migrated when `StepIds` contains `ConstraintCheck` and the value of this field is `migrate`. ForeignKeyFlag *string `json:"ForeignKeyFlag,omitnil,omitempty" name:"ForeignKeyFlag"` }
func NewSkipCheckItemRequest ¶
func NewSkipCheckItemRequest() (request *SkipCheckItemRequest)
func (*SkipCheckItemRequest) FromJsonString ¶
func (r *SkipCheckItemRequest) 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 (*SkipCheckItemRequest) ToJsonString ¶
func (r *SkipCheckItemRequest) ToJsonString() string
type SkipCheckItemRequestParams ¶
type SkipCheckItemRequestParams struct { // Data migration task ID JobId *string `json:"JobId,omitnil,omitempty" name:"JobId"` // ID of the check step to be skipped, which is obtained in the `StepInfo[i].StepId` field returned by the `DescribeMigrationCheckJob` API, such as "OptimizeCheck". StepIds []*string `json:"StepIds,omitnil,omitempty" name:"StepIds"` // When the check fails due to foreign key dependency, you can use this field to specify whether to migrate the foreign key dependency. The foreign key dependency won’t be migrated when `StepIds` contains `ConstraintCheck` and the value of this field is `shield`, and will be migrated when `StepIds` contains `ConstraintCheck` and the value of this field is `migrate`. ForeignKeyFlag *string `json:"ForeignKeyFlag,omitnil,omitempty" name:"ForeignKeyFlag"` }
Predefined struct for user
type SkipCheckItemResponse ¶
type SkipCheckItemResponse struct { *tchttp.BaseResponse Response *SkipCheckItemResponseParams `json:"Response"` }
func NewSkipCheckItemResponse ¶
func NewSkipCheckItemResponse() (response *SkipCheckItemResponse)
func (*SkipCheckItemResponse) FromJsonString ¶
func (r *SkipCheckItemResponse) 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 (*SkipCheckItemResponse) ToJsonString ¶
func (r *SkipCheckItemResponse) ToJsonString() string
type SkipCheckItemResponseParams ¶
type SkipCheckItemResponseParams struct { // Message prompted for skipping the check item // Note: This field may return null, indicating that no valid values can be obtained. Message *string `json:"Message,omitnil,omitempty" name:"Message"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type SkipSyncCheckItemRequest ¶
type SkipSyncCheckItemRequest struct { *tchttp.BaseRequest // Task ID, such as "sync-4ddgid2". JobId *string `json:"JobId,omitnil,omitempty" name:"JobId"` // ID of the check step to be skipped, which is obtained in the `StepInfos[i].StepId` field returned by the `DescribeCheckSyncJobResult` API, such as "OptimizeCheck". StepIds []*string `json:"StepIds,omitnil,omitempty" name:"StepIds"` }
func NewSkipSyncCheckItemRequest ¶
func NewSkipSyncCheckItemRequest() (request *SkipSyncCheckItemRequest)
func (*SkipSyncCheckItemRequest) FromJsonString ¶
func (r *SkipSyncCheckItemRequest) 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 (*SkipSyncCheckItemRequest) ToJsonString ¶
func (r *SkipSyncCheckItemRequest) ToJsonString() string
type SkipSyncCheckItemRequestParams ¶
type SkipSyncCheckItemRequestParams struct { // Task ID, such as "sync-4ddgid2". JobId *string `json:"JobId,omitnil,omitempty" name:"JobId"` // ID of the check step to be skipped, which is obtained in the `StepInfos[i].StepId` field returned by the `DescribeCheckSyncJobResult` API, such as "OptimizeCheck". StepIds []*string `json:"StepIds,omitnil,omitempty" name:"StepIds"` }
Predefined struct for user
type SkipSyncCheckItemResponse ¶
type SkipSyncCheckItemResponse struct { *tchttp.BaseResponse Response *SkipSyncCheckItemResponseParams `json:"Response"` }
func NewSkipSyncCheckItemResponse ¶
func NewSkipSyncCheckItemResponse() (response *SkipSyncCheckItemResponse)
func (*SkipSyncCheckItemResponse) FromJsonString ¶
func (r *SkipSyncCheckItemResponse) 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 (*SkipSyncCheckItemResponse) ToJsonString ¶
func (r *SkipSyncCheckItemResponse) ToJsonString() string
type SkipSyncCheckItemResponseParams ¶
type SkipSyncCheckItemResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type SkippedDetail ¶
type SkippedDetail struct { // Number of skipped tables // Note: This field may return null, indicating that no valid values can be obtained. TotalCount *uint64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"` // Details of skipped tables // Note: This field may return null, indicating that no valid values can be obtained. Items []*SkippedItem `json:"Items,omitnil,omitempty" name:"Items"` }
type SkippedItem ¶
type SkippedItem struct { // Database name // Note: This field may return null, indicating that no valid values can be obtained. Db *string `json:"Db,omitnil,omitempty" name:"Db"` // Table name // Note: This field may return null, indicating that no valid values can be obtained. Table *string `json:"Table,omitnil,omitempty" name:"Table"` // The cause why check is not initiated // Note: This field may return null, indicating that no valid values can be obtained. Reason *string `json:"Reason,omitnil,omitempty" name:"Reason"` }
type StartCompareRequest ¶
type StartCompareRequest struct { *tchttp.BaseRequest // Migration task ID JobId *string `json:"JobId,omitnil,omitempty" name:"JobId"` // Data consistency check task ID in the format of `dts-8yv4w2i1-cmp-37skmii9` CompareTaskId *string `json:"CompareTaskId,omitnil,omitempty" name:"CompareTaskId"` }
func NewStartCompareRequest ¶
func NewStartCompareRequest() (request *StartCompareRequest)
func (*StartCompareRequest) FromJsonString ¶
func (r *StartCompareRequest) 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 (*StartCompareRequest) ToJsonString ¶
func (r *StartCompareRequest) ToJsonString() string
type StartCompareRequestParams ¶
type StartCompareRequestParams struct { // Migration task ID JobId *string `json:"JobId,omitnil,omitempty" name:"JobId"` // Data consistency check task ID in the format of `dts-8yv4w2i1-cmp-37skmii9` CompareTaskId *string `json:"CompareTaskId,omitnil,omitempty" name:"CompareTaskId"` }
Predefined struct for user
type StartCompareResponse ¶
type StartCompareResponse struct { *tchttp.BaseResponse Response *StartCompareResponseParams `json:"Response"` }
func NewStartCompareResponse ¶
func NewStartCompareResponse() (response *StartCompareResponse)
func (*StartCompareResponse) FromJsonString ¶
func (r *StartCompareResponse) 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 (*StartCompareResponse) ToJsonString ¶
func (r *StartCompareResponse) ToJsonString() string
type StartCompareResponseParams ¶
type StartCompareResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type StartMigrateJobRequest ¶
type StartMigrateJobRequest struct { *tchttp.BaseRequest // Data migration task ID JobId *string `json:"JobId,omitnil,omitempty" name:"JobId"` }
func NewStartMigrateJobRequest ¶
func NewStartMigrateJobRequest() (request *StartMigrateJobRequest)
func (*StartMigrateJobRequest) FromJsonString ¶
func (r *StartMigrateJobRequest) 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 (*StartMigrateJobRequest) ToJsonString ¶
func (r *StartMigrateJobRequest) ToJsonString() string
type StartMigrateJobRequestParams ¶
type StartMigrateJobRequestParams struct { // Data migration task ID JobId *string `json:"JobId,omitnil,omitempty" name:"JobId"` }
Predefined struct for user
type StartMigrateJobResponse ¶
type StartMigrateJobResponse struct { *tchttp.BaseResponse Response *StartMigrateJobResponseParams `json:"Response"` }
func NewStartMigrateJobResponse ¶
func NewStartMigrateJobResponse() (response *StartMigrateJobResponse)
func (*StartMigrateJobResponse) FromJsonString ¶
func (r *StartMigrateJobResponse) 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 (*StartMigrateJobResponse) ToJsonString ¶
func (r *StartMigrateJobResponse) ToJsonString() string
type StartMigrateJobResponseParams ¶
type StartMigrateJobResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type StartModifySyncJobRequest ¶
type StartModifySyncJobRequest struct { *tchttp.BaseRequest // Sync task ID JobId *string `json:"JobId,omitnil,omitempty" name:"JobId"` }
func NewStartModifySyncJobRequest ¶
func NewStartModifySyncJobRequest() (request *StartModifySyncJobRequest)
func (*StartModifySyncJobRequest) FromJsonString ¶
func (r *StartModifySyncJobRequest) 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 (*StartModifySyncJobRequest) ToJsonString ¶
func (r *StartModifySyncJobRequest) ToJsonString() string
type StartModifySyncJobRequestParams ¶
type StartModifySyncJobRequestParams struct { // Sync task ID JobId *string `json:"JobId,omitnil,omitempty" name:"JobId"` }
Predefined struct for user
type StartModifySyncJobResponse ¶
type StartModifySyncJobResponse struct { *tchttp.BaseResponse Response *StartModifySyncJobResponseParams `json:"Response"` }
func NewStartModifySyncJobResponse ¶
func NewStartModifySyncJobResponse() (response *StartModifySyncJobResponse)
func (*StartModifySyncJobResponse) FromJsonString ¶
func (r *StartModifySyncJobResponse) 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 (*StartModifySyncJobResponse) ToJsonString ¶
func (r *StartModifySyncJobResponse) ToJsonString() string
type StartModifySyncJobResponseParams ¶
type StartModifySyncJobResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type StartSyncJobRequest ¶
type StartSyncJobRequest struct { *tchttp.BaseRequest // Sync task ID JobId *string `json:"JobId,omitnil,omitempty" name:"JobId"` }
func NewStartSyncJobRequest ¶
func NewStartSyncJobRequest() (request *StartSyncJobRequest)
func (*StartSyncJobRequest) FromJsonString ¶
func (r *StartSyncJobRequest) 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 (*StartSyncJobRequest) ToJsonString ¶
func (r *StartSyncJobRequest) ToJsonString() string
type StartSyncJobRequestParams ¶
type StartSyncJobRequestParams struct { // Sync task ID JobId *string `json:"JobId,omitnil,omitempty" name:"JobId"` }
Predefined struct for user
type StartSyncJobResponse ¶
type StartSyncJobResponse struct { *tchttp.BaseResponse Response *StartSyncJobResponseParams `json:"Response"` }
func NewStartSyncJobResponse ¶
func NewStartSyncJobResponse() (response *StartSyncJobResponse)
func (*StartSyncJobResponse) FromJsonString ¶
func (r *StartSyncJobResponse) 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 (*StartSyncJobResponse) ToJsonString ¶
func (r *StartSyncJobResponse) ToJsonString() string
type StartSyncJobResponseParams ¶
type StartSyncJobResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type StepDetailInfo ¶
type StepDetailInfo struct { // Step number // Note: This field may return null, indicating that no valid values can be obtained. StepNo *uint64 `json:"StepNo,omitnil,omitempty" name:"StepNo"` // Step name // Note: This field may return null, indicating that no valid values can be obtained. StepName *string `json:"StepName,omitnil,omitempty" name:"StepName"` // Step ID // Note: This field may return null, indicating that no valid values can be obtained. StepId *string `json:"StepId,omitnil,omitempty" name:"StepId"` // Step status. Valid values: `success`, `failed`, `running`, `notStarted`. Default value: `notStarted`. // Note: This field may return null, indicating that no valid values can be obtained. Status *string `json:"Status,omitnil,omitempty" name:"Status"` // Start time of the current step in the format of "yyyy-mm-dd hh:mm:ss". If this field does not exist or is empty, it is meaningless. // Note: This field may return null, indicating that no valid values can be obtained. StartTime *string `json:"StartTime,omitnil,omitempty" name:"StartTime"` // Step error message // Note: This field may return null, indicating that no valid values can be obtained. StepMessage *string `json:"StepMessage,omitnil,omitempty" name:"StepMessage"` // Execution progress // Note: This field may return null, indicating that no valid values can be obtained. Percent *uint64 `json:"Percent,omitnil,omitempty" name:"Percent"` // Error message // Note: This field may return null, indicating that no valid values can be obtained. Errors []*ProcessStepTip `json:"Errors,omitnil,omitempty" name:"Errors"` // Warning // Note: This field may return null, indicating that no valid values can be obtained. Warnings []*ProcessStepTip `json:"Warnings,omitnil,omitempty" name:"Warnings"` }
type StepInfo ¶
type StepInfo struct { // Step number // Note: This field may return null, indicating that no valid values can be obtained. StepNo *uint64 `json:"StepNo,omitnil,omitempty" name:"StepNo"` // Step name // Note: This field may return null, indicating that no valid values can be obtained. StepName *string `json:"StepName,omitnil,omitempty" name:"StepName"` // Step ID // Note: This field may return null, indicating that no valid values can be obtained. StepId *string `json:"StepId,omitnil,omitempty" name:"StepId"` // Status of the current step. Valid values: `notStarted`, `running`, `failed`, `finished, `skipped`, `paused`. // Note: This field may return null, indicating that no valid values can be obtained. Status *string `json:"Status,omitnil,omitempty" name:"Status"` // Step start time, which may be null. // Note: This field may return null, indicating that no valid values can be obtained. StartTime *string `json:"StartTime,omitnil,omitempty" name:"StartTime"` // Error message // Note: This field may return null, indicating that no valid values can be obtained. Errors []*StepTip `json:"Errors,omitnil,omitempty" name:"Errors"` // Warning message // Note: This field may return null, indicating that no valid values can be obtained. Warnings []*StepTip `json:"Warnings,omitnil,omitempty" name:"Warnings"` // Current step progress. Value range: 0-100. The value `-1` indicates that the progress of the current step is unavailable. Note: This field may return null, indicating that no valid values can be obtained. Progress *int64 `json:"Progress,omitnil,omitempty" name:"Progress"` }
type StepTip ¶
type StepTip struct { // Error code // Note: This field may return null, indicating that no valid values can be obtained. Code *string `json:"Code,omitnil,omitempty" name:"Code"` // Error message // Note: This field may return null, indicating that no valid values can be obtained. Message *string `json:"Message,omitnil,omitempty" name:"Message"` // Solution // Note: This field may return null, indicating that no valid values can be obtained. Solution *string `json:"Solution,omitnil,omitempty" name:"Solution"` // Help document // Note: This field may return null, indicating that no valid values can be obtained. HelpDoc *string `json:"HelpDoc,omitnil,omitempty" name:"HelpDoc"` // Whether the current step is skipped // Note: This field may return null, indicating that no valid values can be obtained. SkipInfo *string `json:"SkipInfo,omitnil,omitempty" name:"SkipInfo"` }
type StopCompareRequest ¶
type StopCompareRequest struct { *tchttp.BaseRequest // Migration task ID JobId *string `json:"JobId,omitnil,omitempty" name:"JobId"` // Data consistency check task ID in the format of `dts-8yv4w2i1-cmp-37skmii9` CompareTaskId *string `json:"CompareTaskId,omitnil,omitempty" name:"CompareTaskId"` }
func NewStopCompareRequest ¶
func NewStopCompareRequest() (request *StopCompareRequest)
func (*StopCompareRequest) FromJsonString ¶
func (r *StopCompareRequest) 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 (*StopCompareRequest) ToJsonString ¶
func (r *StopCompareRequest) ToJsonString() string
type StopCompareRequestParams ¶
type StopCompareRequestParams struct { // Migration task ID JobId *string `json:"JobId,omitnil,omitempty" name:"JobId"` // Data consistency check task ID in the format of `dts-8yv4w2i1-cmp-37skmii9` CompareTaskId *string `json:"CompareTaskId,omitnil,omitempty" name:"CompareTaskId"` }
Predefined struct for user
type StopCompareResponse ¶
type StopCompareResponse struct { *tchttp.BaseResponse Response *StopCompareResponseParams `json:"Response"` }
func NewStopCompareResponse ¶
func NewStopCompareResponse() (response *StopCompareResponse)
func (*StopCompareResponse) FromJsonString ¶
func (r *StopCompareResponse) 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 (*StopCompareResponse) ToJsonString ¶
func (r *StopCompareResponse) ToJsonString() string
type StopCompareResponseParams ¶
type StopCompareResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type StopMigrateJobRequest ¶
type StopMigrateJobRequest struct { *tchttp.BaseRequest // Data migration task ID JobId *string `json:"JobId,omitnil,omitempty" name:"JobId"` }
func NewStopMigrateJobRequest ¶
func NewStopMigrateJobRequest() (request *StopMigrateJobRequest)
func (*StopMigrateJobRequest) FromJsonString ¶
func (r *StopMigrateJobRequest) 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 (*StopMigrateJobRequest) ToJsonString ¶
func (r *StopMigrateJobRequest) ToJsonString() string
type StopMigrateJobRequestParams ¶
type StopMigrateJobRequestParams struct { // Data migration task ID JobId *string `json:"JobId,omitnil,omitempty" name:"JobId"` }
Predefined struct for user
type StopMigrateJobResponse ¶
type StopMigrateJobResponse struct { *tchttp.BaseResponse Response *StopMigrateJobResponseParams `json:"Response"` }
func NewStopMigrateJobResponse ¶
func NewStopMigrateJobResponse() (response *StopMigrateJobResponse)
func (*StopMigrateJobResponse) FromJsonString ¶
func (r *StopMigrateJobResponse) 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 (*StopMigrateJobResponse) ToJsonString ¶
func (r *StopMigrateJobResponse) ToJsonString() string
type StopMigrateJobResponseParams ¶
type StopMigrateJobResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type StopSyncJobRequest ¶
type StopSyncJobRequest struct { *tchttp.BaseRequest // Sync task ID JobId *string `json:"JobId,omitnil,omitempty" name:"JobId"` }
func NewStopSyncJobRequest ¶
func NewStopSyncJobRequest() (request *StopSyncJobRequest)
func (*StopSyncJobRequest) FromJsonString ¶
func (r *StopSyncJobRequest) 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 (*StopSyncJobRequest) ToJsonString ¶
func (r *StopSyncJobRequest) ToJsonString() string
type StopSyncJobRequestParams ¶
type StopSyncJobRequestParams struct { // Sync task ID JobId *string `json:"JobId,omitnil,omitempty" name:"JobId"` }
Predefined struct for user
type StopSyncJobResponse ¶
type StopSyncJobResponse struct { *tchttp.BaseResponse Response *StopSyncJobResponseParams `json:"Response"` }
func NewStopSyncJobResponse ¶
func NewStopSyncJobResponse() (response *StopSyncJobResponse)
func (*StopSyncJobResponse) FromJsonString ¶
func (r *StopSyncJobResponse) 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 (*StopSyncJobResponse) ToJsonString ¶
func (r *StopSyncJobResponse) ToJsonString() string
type StopSyncJobResponseParams ¶
type StopSyncJobResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type SyncDBEndpointInfos ¶
type SyncDBEndpointInfos struct { // Region of the database // Note: This field may return null, indicating that no valid values can be obtained. Region *string `json:"Region,omitnil,omitempty" name:"Region"` // Instance network access type. Valid values: `extranet` (public network); `ipv6` (public IPv6); `cvm` (self-build on CVM); `dcg` (Direct Connect); `vpncloud` (VPN access); `cdb` (database); `ccn` (CCN); `intranet` (intranet); `vpc` (VPC). Note that the valid values are subject to the current link. // Note: This field may return null, indicating that no valid values can be obtained. AccessType *string `json:"AccessType,omitnil,omitempty" name:"AccessType"` // Database type, such as `mysql`, `redis`, `mongodb`, `postgresql`, `mariadb`, and `percona`. // Note: This field may return null, indicating that no valid values can be obtained. DatabaseType *string `json:"DatabaseType,omitnil,omitempty" name:"DatabaseType"` // Database information // Note: This field may return null, indicating that no valid values can be obtained. Info []*Endpoint `json:"Info,omitnil,omitempty" name:"Info"` }
type SyncDetailInfo ¶
type SyncDetailInfo struct { // Total number of steps // Note: This field may return null, indicating that no valid values can be obtained. StepAll *uint64 `json:"StepAll,omitnil,omitempty" name:"StepAll"` // Current step // Note: This field may return null, indicating that no valid values can be obtained. StepNow *uint64 `json:"StepNow,omitnil,omitempty" name:"StepNow"` // Overall progress // Note: This field may return null, indicating that no valid values can be obtained. Progress *int64 `json:"Progress,omitnil,omitempty" name:"Progress"` // Progress of the current step. Value range: 0-100. The value of `-1` indicates that you can't check the progress of the current step. // Note: u200dThis field may returnu200d·nullu200d, indicating that no valid values can be obtained. CurrentStepProgress *int64 `json:"CurrentStepProgress,omitnil,omitempty" name:"CurrentStepProgress"` // Data volume difference between the sync source and target // Note: This field may return null, indicating that no valid values can be obtained. MasterSlaveDistance *int64 `json:"MasterSlaveDistance,omitnil,omitempty" name:"MasterSlaveDistance"` // Time difference between the sync source and target // Note: This field may return null, indicating that no valid values can be obtained. SecondsBehindMaster *int64 `json:"SecondsBehindMaster,omitnil,omitempty" name:"SecondsBehindMaster"` // Overall description // Note: This field may return null, indicating that no valid values can be obtained. Message *string `json:"Message,omitnil,omitempty" name:"Message"` // Step details // Note: This field may return null, indicating that no valid values can be obtained. StepInfos []*StepInfo `json:"StepInfos,omitnil,omitempty" name:"StepInfos"` // Cause of the failure of initiating data consistency check // Note: This field may return null, indicating that no valid values can be obtained. CauseOfCompareDisable *string `json:"CauseOfCompareDisable,omitnil,omitempty" name:"CauseOfCompareDisable"` // Task error and the corresponding solution // Note: u200dThis field may returnu200d·nullu200d, indicating that no valid values can be obtained. ErrInfo *ErrInfo `json:"ErrInfo,omitnil,omitempty" name:"ErrInfo"` }
type SyncJobInfo ¶
type SyncJobInfo struct { // Sync task ID, such as `sync-btso140`. // Note: This field may return null, indicating that no valid values can be obtained. JobId *string `json:"JobId,omitnil,omitempty" name:"JobId"` // Sync task name // Note: This field may return null, indicating that no valid values can be obtained. JobName *string `json:"JobName,omitnil,omitempty" name:"JobName"` // Billing mode. Valid values: `PostPay` (pay-as-you-go); `PrePay` (monthly subscription). // Note: This field may return null, indicating that no valid values can be obtained. PayMode *string `json:"PayMode,omitnil,omitempty" name:"PayMode"` // Running mode. Valid values: `Immediate`, `Timed`. Default value: `Immediate`. // Note: This field may return null, indicating that no valid values can be obtained. RunMode *string `json:"RunMode,omitnil,omitempty" name:"RunMode"` // Expected execution time in the format of `yyyy-mm-dd hh:mm:ss` // Note: This field may return null, indicating that no valid values can be obtained. ExpectRunTime *string `json:"ExpectRunTime,omitnil,omitempty" name:"ExpectRunTime"` // All supported operations // Note: This field may return null, indicating that no valid values can be obtained. AllActions []*string `json:"AllActions,omitnil,omitempty" name:"AllActions"` // Operations that can be performed under the current status // Note: This field may return null, indicating that no valid values can be obtained. Actions []*string `json:"Actions,omitnil,omitempty" name:"Actions"` // Sync options // Note: This field may return null, indicating that no valid values can be obtained. Options *Options `json:"Options,omitnil,omitempty" name:"Options"` // Sync database/table objects // Note: This field may return null, indicating that no valid values can be obtained. Objects *Objects `json:"Objects,omitnil,omitempty" name:"Objects"` // Task specification // Note: This field may return null, indicating that no valid values can be obtained. Specification *string `json:"Specification,omitnil,omitempty" name:"Specification"` // Expiration time in the format of `yyyy-mm-dd hh:mm:ss` // Note: This field may return null, indicating that no valid values can be obtained. ExpireTime *string `json:"ExpireTime,omitnil,omitempty" name:"ExpireTime"` // Source database region, such as `ap-guangzhou`. // Note: This field may return null, indicating that no valid values can be obtained. SrcRegion *string `json:"SrcRegion,omitnil,omitempty" name:"SrcRegion"` // Source database type, such as `mysql`, `cynosdbmysql`, `tdapg`, `tdpg`, and `tdsqlmysql`. // Note: This field may return null, indicating that no valid values can be obtained. SrcDatabaseType *string `json:"SrcDatabaseType,omitnil,omitempty" name:"SrcDatabaseType"` // Source database access type. Valid values: `cdb` (database); `cvm` (self-build on CVM); `vpc` (VPC); `extranet` (public network); `vpncloud` (VPN access); `dcg` (Direct Connect); `ccn` (CCN); `intranet` (intranet). // Note: This field may return null, indicating that no valid values can be obtained. SrcAccessType *string `json:"SrcAccessType,omitnil,omitempty" name:"SrcAccessType"` // Source database information. This parameter is used by single-node databases. // Note: This field may return null, indicating that no valid values can be obtained. SrcInfo *Endpoint `json:"SrcInfo,omitnil,omitempty" name:"SrcInfo"` // Valid values: `cluster`, `single`. `single`: For single-node source databases; `cluster`: For multi-node source databases. // Note: u200dThis field may returnu200d·nullu200d, indicating that no valid values can be obtained. SrcNodeType *string `json:"SrcNodeType,omitnil,omitempty" name:"SrcNodeType"` // Source database information. This parameter is used for multi-node databases. // Note: u200dThis field may returnu200d·nullu200d, indicating that no valid values can be obtained. SrcInfos *SyncDBEndpointInfos `json:"SrcInfos,omitnil,omitempty" name:"SrcInfos"` // Target database region, such as `ap-guangzhou`. // Note: This field may return null, indicating that no valid values can be obtained. DstRegion *string `json:"DstRegion,omitnil,omitempty" name:"DstRegion"` // Target database type, such as `mysql`, `cynosdbmysql`, `tdapg`, `tdpg`, and `tdsqlmysql`. // Note: This field may return null, indicating that no valid values can be obtained. DstDatabaseType *string `json:"DstDatabaseType,omitnil,omitempty" name:"DstDatabaseType"` // Target database access type. Valid values: `cdb` (database); `cvm` (self-build on CVM); `vpc` (VPC); `extranet` (public network); `vpncloud` (VPN access); `dcg` (Direct Connect); `ccn` (CCN); `intranet` (intranet). // Note: This field may return null, indicating that no valid values can be obtained. DstAccessType *string `json:"DstAccessType,omitnil,omitempty" name:"DstAccessType"` // Target database information. This parameter is used by single-node databases. // Note: This field may return null, indicating that no valid values can be obtained. DstInfo *Endpoint `json:"DstInfo,omitnil,omitempty" name:"DstInfo"` // Valid values: `cluster`, `single`. `single`: For single-node target databases; `cluster`: For multi-node target databases. // Note: u200dThis field may returnu200d·nullu200d, indicating that no valid values can be obtained. DstNodeType *string `json:"DstNodeType,omitnil,omitempty" name:"DstNodeType"` // Target database information. This parameter is used for multi-node databases. // Note: u200dThis field may returnu200d·nullu200d, indicating that no valid values can be obtained. DstInfos *SyncDBEndpointInfos `json:"DstInfos,omitnil,omitempty" name:"DstInfos"` // Creation time in the format of `yyyy-mm-dd hh:mm:ss` // Note: This field may return null, indicating that no valid values can be obtained. CreateTime *string `json:"CreateTime,omitnil,omitempty" name:"CreateTime"` // Start time in the format of `yyyy-mm-dd hh:mm:ss` // Note: This field may return null, indicating that no valid values can be obtained. StartTime *string `json:"StartTime,omitnil,omitempty" name:"StartTime"` // Task status. Valid values: `UnInitialized`, `Initialized`, `Checking`, `CheckPass`, `CheckNotPass`, `ReadyRunning`, `Running`, `Pausing`, `Paused`, `Stopping`, `Stopped`, `ResumableErr`, `Resuming`, `Failed`, `Released`, `Resetting`, `Unknown`. // Note: This field may return null, indicating that no valid values can be obtained. Status *string `json:"Status,omitnil,omitempty" name:"Status"` // End time in the format of `yyyy-mm-dd hh:mm:ss` // Note: This field may return null, indicating that no valid values can be obtained. EndTime *string `json:"EndTime,omitnil,omitempty" name:"EndTime"` // Tag information // Note: This field may return null, indicating that no valid values can be obtained. Tags []*TagItem `json:"Tags,omitnil,omitempty" name:"Tags"` // Step information of the sync task // Note: This field may return null, indicating that no valid values can be obtained. Detail *SyncDetailInfo `json:"Detail,omitnil,omitempty" name:"Detail"` // Billing status. Valid values: `Normal`, `Resizing`, `Renewing`, `Isolating`, `Isolated`, `Offlining`, `Offlined`, `NotBilled`, `Recovering`, `PostPay2Prepaying`, `PrePay2Postpaying`. // Note: This field may return null, indicating that no valid values can be obtained. TradeStatus *string `json:"TradeStatus,omitnil,omitempty" name:"TradeStatus"` // Sync link specification, such as `micro`, `small`, `medium`, and `large`. // Note: This field may return null, indicating that no valid values can be obtained. InstanceClass *string `json:"InstanceClass,omitnil,omitempty" name:"InstanceClass"` // Auto-renewal flag, which takes effect if `PayMode` is `PrePay`. Valid values: `1` (auto-renewal enabled); `0` (auto-renewal disabled). // Note: This field may return null, indicating that no valid values can be obtained. AutoRenew *uint64 `json:"AutoRenew,omitnil,omitempty" name:"AutoRenew"` // Deletion time in the format of `yyyy-mm-dd hh:mm:ss` // Note: This field may return null, indicating that no valid values can be obtained. OfflineTime *string `json:"OfflineTime,omitnil,omitempty" name:"OfflineTime"` // Settings of automatic retry time // Note: This field may return null, indicating that no valid values can be obtained. AutoRetryTimeRangeMinutes *int64 `json:"AutoRetryTimeRangeMinutes,omitnil,omitempty" name:"AutoRetryTimeRangeMinutes"` // Whether the task can be reentered in the full export stage. Valid values: `yes`, `no`. `yes`: The current task can be reentered. `no`: The current task is in the full export stage which cannot be reentered. If the value of this parameter is `no`, the checkpoint restart is not supported when the task is restarted in the export stage. // Note: u200dThis field may returnu200d·nullu200d, indicating that no valid values can be obtained. DumperResumeCtrl *string `json:"DumperResumeCtrl,omitnil,omitempty" name:"DumperResumeCtrl"` }
type Table ¶
type Table struct { // Table name // Note: This field may return null, indicating that no valid values can be obtained. TableName *string `json:"TableName,omitnil,omitempty" name:"TableName"` // New table name // Note: This field may return null, indicating that no valid values can be obtained. NewTableName *string `json:"NewTableName,omitnil,omitempty" name:"NewTableName"` // Filter condition // Note: This field may return null, indicating that no valid values can be obtained. FilterCondition *string `json:"FilterCondition,omitnil,omitempty" name:"FilterCondition"` // The temp tables to be synced. This parameter is mutually exclusive with `NewTableName`. It is valid only when the configured sync objects are table-level ones and `TableEditMode` is `pt`. To sync temp tables generated when pt-osc or other tools are used during the sync process, you must configure this parameter first. For example, if you want to perform the pt-osc operation on a table named "t1", configure this parameter as ["\_t1\_new","\_t1\_old"]; to perform the gh-ost operation on t1, configure it as ["\_t1\_ghc","\_t1\_gho","\_t1\_del"]. Temp tables generated by pt-osc and gh-ost operations can be configured at the same time. // Note: This field may return null, indicating that no valid values can be obtained. TmpTables []*string `json:"TmpTables,omitnil,omitempty" name:"TmpTables"` // Table editing type. Valid values: `rename` (table mapping); `pt` (additional table sync). // Note: This field may return null, indicating that no valid values can be obtained. TableEditMode *string `json:"TableEditMode,omitnil,omitempty" name:"TableEditMode"` }
type TableItem ¶
type TableItem struct { // Name of the migrated table, which is case-sensitive // Note: This field may return null, indicating that no valid values can be obtained. TableName *string `json:"TableName,omitnil,omitempty" name:"TableName"` // New name of the migrated table. This parameter is required when `TableEditMode` is `rename`. It is mutually exclusive with `TmpTables`. // Note: This field may return null, indicating that no valid values can be obtained. NewTableName *string `json:"NewTableName,omitnil,omitempty" name:"NewTableName"` // The temp tables to be migrated. This parameter is mutually exclusive with `NewTableName`. It is valid only when the configured migration objects are table-level ones and `TableEditMode` is `pt`. To migrate temp tables generated when pt-osc or other tools are used during the migration process, you must configure this parameter first. For example, if you want to perform the pt-osc operation on a table named "t1", configure this parameter as ["_t1_new","_t1_old"]; to perform the gh-ost operation on t1, configure it as ["_t1_ghc","_t1_gho","_t1_del"]. Temp tables generated by pt-osc and gh-ost operations can be configured at the same time. // Note: This field may return null, indicating that no valid values can be obtained. TmpTables []*string `json:"TmpTables,omitnil,omitempty" name:"TmpTables"` // Table editing type. Valid values: `rename` (table mapping); `pt` (additional table sync). // Note: This field may return null, indicating that no valid values can be obtained. TableEditMode *string `json:"TableEditMode,omitnil,omitempty" name:"TableEditMode"` }
type TagItem ¶
type TagItem struct { // Tag key // Note: This field may return null, indicating that no valid values can be obtained. TagKey *string `json:"TagKey,omitnil,omitempty" name:"TagKey"` // Tag value // Note: This field may return null, indicating that no valid values can be obtained. TagValue *string `json:"TagValue,omitnil,omitempty" name:"TagValue"` }
type TopicRule ¶
type TopicRule struct { // Topic name TopicName *string `json:"TopicName,omitnil,omitempty" name:"TopicName"` // Topic partitioning policy. If the topic sync policy is delivering data to multiple custom topics (`TopicType` = `Multi`), the value of this parameter is `Random` (deliver to a random partition). If the topic sync policy is delivering all data to a single topic (`TopicType` = `Single`), this parameter has three valid values: `AllInPartitionZero` (deliver all data to partition0), `PartitionByTable` (partition by table name), `PartitionByTableAndKey` (partition by table name and primary key). PartitionType *string `json:"PartitionType,omitnil,omitempty" name:"PartitionType"` // Database name matching rule. This parameter takes effect only when `TopicType` is `Multi`. Valid values: `Regular` (match by regex), `Default` (default rule for the remaining databases that cannot be matched by regex). The default rule must be included in the array of matching rules. DbMatchMode *string `json:"DbMatchMode,omitnil,omitempty" name:"DbMatchMode"` // Database name, which can only be matched by regex when `TopicType` is `Multi` and `DbMatchMode` is `Regular`. DbName *string `json:"DbName,omitnil,omitempty" name:"DbName"` // Table name matching rule. This parameter takes effect only when `TopicType` is `Multi`. Valid values: `Regular` (match by regex), `Default` (default rule for the remaining databases that cannot be matched by regex). The default rule must be included in the array of matching rules. TableMatchMode *string `json:"TableMatchMode,omitnil,omitempty" name:"TableMatchMode"` // Table name, which can only be matched by regex when `TopicType` is `Multi` and `DbMatchMode` is `Regular`. TableName *string `json:"TableName,omitnil,omitempty" name:"TableName"` }
type TradeInfo ¶
type TradeInfo struct { // Order number // Note: This field may return null, indicating that no valid values can be obtained. DealName *string `json:"DealName,omitnil,omitempty" name:"DealName"` // Last order number // Note: This field may return null, indicating that no valid values can be obtained. LastDealName *string `json:"LastDealName,omitnil,omitempty" name:"LastDealName"` // Instance specification. Valid values: `micro`, `small`, `medium`, `large`, `xlarge`, `2xlarge`. // Note: This field may return null, indicating that no valid values can be obtained. InstanceClass *string `json:"InstanceClass,omitnil,omitempty" name:"InstanceClass"` // Task billing status. Valid values: `normal` (billed or to be billed); `resizing` (adjusting configuration); `reversing` (topping up, which is a short status); `isolating` (isolating, which is a short status); `isolated` (isolated); `offlining` (deleting); `offlined` (deleted); `notBilled` (not billed). // Note: This field may return null, indicating that no valid values can be obtained. TradeStatus *string `json:"TradeStatus,omitnil,omitempty" name:"TradeStatus"` // Expiration time in the format of "yyyy-mm-dd hh:mm:ss" // Note: This field may return null, indicating that no valid values can be obtained. ExpireTime *string `json:"ExpireTime,omitnil,omitempty" name:"ExpireTime"` // Deletion time in the format of "yyyy-mm-dd hh:mm:ss" // Note: This field may return null, indicating that no valid values can be obtained. OfflineTime *string `json:"OfflineTime,omitnil,omitempty" name:"OfflineTime"` // Isolation time in the format of "yyyy-mm-dd hh:mm:ss" // Note: This field may return null, indicating that no valid values can be obtained. IsolateTime *string `json:"IsolateTime,omitnil,omitempty" name:"IsolateTime"` // The cause of deletion // Note: This field may return null, indicating that no valid values can be obtained. OfflineReason *string `json:"OfflineReason,omitnil,omitempty" name:"OfflineReason"` // The cause of isolation // Note: This field may return null, indicating that no valid values can be obtained. IsolateReason *string `json:"IsolateReason,omitnil,omitempty" name:"IsolateReason"` // Billing mode. Valid values: `postpay` (postpaid); `prepay` (prepaid). // Note: This field may return null, indicating that no valid values can be obtained. PayType *string `json:"PayType,omitnil,omitempty" name:"PayType"` // Task billing type. Valid values: `billing` (billed); `notBilling` (free); `promotions` (in promotion). // Note: This field may return null, indicating that no valid values can be obtained. BillingType *string `json:"BillingType,omitnil,omitempty" name:"BillingType"` }
type View ¶
type View struct { // View name // Note: This field may return null, indicating that no valid values can be obtained. ViewName *string `json:"ViewName,omitnil,omitempty" name:"ViewName"` // Reserved field. Currently, a view cannot be renamed. Note: This field may return null, indicating that no valid values can be obtained. NewViewName *string `json:"NewViewName,omitnil,omitempty" name:"NewViewName"` }
type ViewItem ¶
type ViewItem struct { // View name // Note: This field may return null, indicating that no valid values can be obtained. ViewName *string `json:"ViewName,omitnil,omitempty" name:"ViewName"` // View name after migration // Note: This field may return null, indicating that no valid values can be obtained. NewViewName *string `json:"NewViewName,omitnil,omitempty" name:"NewViewName"` }