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) 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) 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) 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) 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) 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) 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 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 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 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 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 Endpoint
- type ErrorInfoItem
- type IsolateMigrateJobRequest
- type IsolateMigrateJobRequestParams
- type IsolateMigrateJobResponse
- type IsolateMigrateJobResponseParams
- type IsolateSyncJobRequest
- type IsolateSyncJobRequestParams
- type IsolateSyncJobResponse
- type IsolateSyncJobResponseParams
- type JobItem
- 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 Objects
- type Options
- type ProcessProgress
- type ProcessStepTip
- 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 SkippedDetail
- type SkippedItem
- type StartCompareRequest
- type StartCompareRequestParams
- type StartCompareResponse
- type StartCompareResponseParams
- type StartMigrateJobRequest
- type StartMigrateJobRequestParams
- type StartMigrateJobResponse
- type StartMigrateJobResponseParams
- 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 SyncDetailInfo
- type SyncJobInfo
- type Table
- type TableItem
- type TagFilter
- type TagItem
- 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" // 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" // 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,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,omitempty" name:"StepId"` // Step name // Note: This field may return null, indicating that no valid values can be obtained. StepName *string `json:"StepName,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,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,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,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,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,omitempty" name:"StartAt"` // Task end time // Note: This field may return null, indicating that no valid values can be obtained. EndAt *string `json:"EndAt,omitempty" name:"EndAt"` // Task step information // Note: This field may return null, indicating that no valid values can be obtained. Progress *ProcessProgress `json:"Progress,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:
INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError"
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:
INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError"
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" UNSUPPORTEDOPERATION = "UnsupportedOperation" UNSUPPORTEDOPERATION_INTRANETUSERNOTTAGGEDERROR = "UnsupportedOperation.IntraNetUserNotTaggedError" UNSUPPORTEDOPERATION_INTRANETUSERNOTTAGGEDFORSYNCJOBERROR = "UnsupportedOperation.IntraNetUserNotTaggedForSyncJobError"
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" UNSUPPORTEDOPERATION = "UnsupportedOperation" UNSUPPORTEDOPERATION_INTRANETUSERNOTTAGGEDERROR = "UnsupportedOperation.IntraNetUserNotTaggedError" UNSUPPORTEDOPERATION_INTRANETUSERNOTTAGGEDFORSYNCJOBERROR = "UnsupportedOperation.IntraNetUserNotTaggedForSyncJobError"
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" 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" 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) 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_UNAUTHORIZEDOPERATIONERROR = "AuthFailure.UnauthorizedOperationError" 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_UNAUTHORIZEDOPERATIONERROR = "AuthFailure.UnauthorizedOperationError" 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 a sync check task.
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 a sync check task.
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" 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" 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) 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_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_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" 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" 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" 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" 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) 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:
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:
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_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_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) 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) 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"
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"
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 { // Comparison conclusion. Valid values: `same`, `different`. // Note: This field may return null, indicating that no valid values can be obtained. Conclusion *string `json:"Conclusion,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,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,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,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,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,omitempty" name:"SkippedTables"` // Number of inconsistent data rows // Note: This field may return null, indicating that no valid values can be obtained. DifferentRows *uint64 `json:"DifferentRows,omitempty" name:"DifferentRows"` }
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,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,omitempty" name:"Skipped"` }
type CompareObject ¶
type CompareObject struct { // Object migration mode. Valid values: `all`, `partial`. // Note: This field may return null, indicating that no valid values can be obtained. ObjectMode *string `json:"ObjectMode,omitempty" name:"ObjectMode"` // Migration database/table configuration // Note: This field may return null, indicating that no valid values can be obtained. ObjectItems []*CompareObjectItem `json:"ObjectItems,omitempty" name:"ObjectItems"` }
type CompareObjectItem ¶
type CompareObjectItem struct { // The database to be migrated // Note: This field may return null, indicating that no valid values can be obtained. DbName *string `json:"DbName,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,omitempty" name:"DbMode"` // The schema to be migrated // Note: This field may return null, indicating that no valid values can be obtained. SchemaName *string `json:"SchemaName,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,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,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,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,omitempty" name:"Views"` }
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,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,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,omitempty" name:"Status"` }
type CompareTaskItem ¶
type CompareTaskItem struct { // Migration task ID // Note: This field may return null, indicating that no valid values can be obtained. JobId *string `json:"JobId,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,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,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,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,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,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,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,omitempty" name:"Conclusion"` // Task creation time // Note: This field may return null, indicating that no valid values can be obtained. CreatedAt *string `json:"CreatedAt,omitempty" name:"CreatedAt"` // Task start time // Note: This field may return null, indicating that no valid values can be obtained. StartedAt *string `json:"StartedAt,omitempty" name:"StartedAt"` // Comparison end time // Note: This field may return null, indicating that no valid values can be obtained. FinishedAt *string `json:"FinishedAt,omitempty" name:"FinishedAt"` }
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,omitempty" name:"ViewName"` }
type CompleteMigrateJobRequest ¶
type CompleteMigrateJobRequest struct { *tchttp.BaseRequest // Data migration task ID JobId *string `json:"JobId,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,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,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,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,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,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); `noProxy`. Note that the valid values are subject to the current link. SrcAccessType *string `json:"SrcAccessType,omitempty" name:"SrcAccessType"` // Source database information SrcInfo *Endpoint `json:"SrcInfo,omitempty" name:"SrcInfo"` // 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); `noProxy`. Note that the valid values are subject to the current link. DstAccessType *string `json:"DstAccessType,omitempty" name:"DstAccessType"` // Target database information DstInfo *Endpoint `json:"DstInfo,omitempty" name:"DstInfo"` // Sync task options Options *Options `json:"Options,omitempty" name:"Options"` // Information of synced database/table objects Objects *Objects `json:"Objects,omitempty" name:"Objects"` // Sync task name JobName *string `json:"JobName,omitempty" name:"JobName"` // Running mode. Valid values: `Immediate`, `Timed`. Default value: `Immediate`. RunMode *string `json:"RunMode,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,omitempty" name:"ExpectRunTime"` }
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,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); `noProxy`. Note that the valid values are subject to the current link. SrcAccessType *string `json:"SrcAccessType,omitempty" name:"SrcAccessType"` // Source database information SrcInfo *Endpoint `json:"SrcInfo,omitempty" name:"SrcInfo"` // 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); `noProxy`. Note that the valid values are subject to the current link. DstAccessType *string `json:"DstAccessType,omitempty" name:"DstAccessType"` // Target database information DstInfo *Endpoint `json:"DstInfo,omitempty" name:"DstInfo"` // Sync task options Options *Options `json:"Options,omitempty" name:"Options"` // Information of synced database/table objects Objects *Objects `json:"Objects,omitempty" name:"Objects"` // Sync task name JobName *string `json:"JobName,omitempty" name:"JobName"` // Running mode. Valid values: `Immediate`, `Timed`. Default value: `Immediate`. RunMode *string `json:"RunMode,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,omitempty" name:"ExpectRunTime"` }
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,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,omitempty" name:"ConditionColumn"` // Conditional overwrite operation // Note: This field may return null, indicating that no valid values can be obtained. ConditionOperator *string `json:"ConditionOperator,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,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,omitempty" name:"Mode"` }
type CreateCheckSyncJobRequest ¶
type CreateCheckSyncJobRequest struct { *tchttp.BaseRequest // Sync task ID JobId *string `json:"JobId,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,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,omitempty" name:"RequestId"` }
Predefined struct for user
type CreateCompareTaskRequest ¶
type CreateCompareTaskRequest struct { *tchttp.BaseRequest // Migration task ID JobId *string `json:"JobId,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,omitempty" name:"TaskName"` // Data comparison object mode. Valid values: `sameAsMigrate` (all migration objects); `custom` (custom mode). Default value: `sameAsMigrate`. ObjectMode *string `json:"ObjectMode,omitempty" name:"ObjectMode"` // Configuration of the data consistency check object Objects *CompareObject `json:"Objects,omitempty" name:"Objects"` }
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 { // Migration task ID JobId *string `json:"JobId,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,omitempty" name:"TaskName"` // Data comparison object mode. Valid values: `sameAsMigrate` (all migration objects); `custom` (custom mode). Default value: `sameAsMigrate`. ObjectMode *string `json:"ObjectMode,omitempty" name:"ObjectMode"` // Configuration of the data consistency check object Objects *CompareObject `json:"Objects,omitempty" name:"Objects"` }
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,omitempty" name:"CompareTaskId"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type CreateMigrateCheckJobRequest ¶
type CreateMigrateCheckJobRequest struct { *tchttp.BaseRequest // Data migration task ID JobId *string `json:"JobId,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,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,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`. SrcDatabaseType *string `json:"SrcDatabaseType,omitempty" name:"SrcDatabaseType"` // Target database type. Valid values: `mysql`, `redis`, `percona`, `mongodb`, `postgresql`, `sqlserver`, `mariadb`. DstDatabaseType *string `json:"DstDatabaseType,omitempty" name:"DstDatabaseType"` // Source instance region, such as `ap-guangzhou`. SrcRegion *string `json:"SrcRegion,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,omitempty" name:"DstRegion"` // Instance specification. Valid values: `small`, `medium`, `large`, `xlarge`, `2xlarge`. InstanceClass *string `json:"InstanceClass,omitempty" name:"InstanceClass"` // Quantity. Value range: [1,15]. Default value: `1`. Count *uint64 `json:"Count,omitempty" name:"Count"` // Migration task name, which can contain up to 128 characters. JobName *string `json:"JobName,omitempty" name:"JobName"` // Tag information Tags []*TagItem `json:"Tags,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`. SrcDatabaseType *string `json:"SrcDatabaseType,omitempty" name:"SrcDatabaseType"` // Target database type. Valid values: `mysql`, `redis`, `percona`, `mongodb`, `postgresql`, `sqlserver`, `mariadb`. DstDatabaseType *string `json:"DstDatabaseType,omitempty" name:"DstDatabaseType"` // Source instance region, such as `ap-guangzhou`. SrcRegion *string `json:"SrcRegion,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,omitempty" name:"DstRegion"` // Instance specification. Valid values: `small`, `medium`, `large`, `xlarge`, `2xlarge`. InstanceClass *string `json:"InstanceClass,omitempty" name:"InstanceClass"` // Quantity. Value range: [1,15]. Default value: `1`. Count *uint64 `json:"Count,omitempty" name:"Count"` // Migration task name, which can contain up to 128 characters. JobName *string `json:"JobName,omitempty" name:"JobName"` // Tag information Tags []*TagItem `json:"Tags,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,omitempty" name:"JobIds"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,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,omitempty" name:"PayMode"` // Source database type, such as `mysql`, `cynosdbmysql`, `tdapg`, `tdpg`, and `tdsqlmysql`. SrcDatabaseType *string `json:"SrcDatabaseType,omitempty" name:"SrcDatabaseType"` // Source database region, such as `ap-guangzhou`. SrcRegion *string `json:"SrcRegion,omitempty" name:"SrcRegion"` // Target database type, such as `mysql`, `cynosdbmysql`, `tdapg`, `tdpg`, and `tdsqlmysql`. DstDatabaseType *string `json:"DstDatabaseType,omitempty" name:"DstDatabaseType"` // Target database region, such as `ap-guangzhou`. DstRegion *string `json:"DstRegion,omitempty" name:"DstRegion"` // Sync task specification, such as `Standard`. Specification *string `json:"Specification,omitempty" name:"Specification"` // Tag information Tags []*TagItem `json:"Tags,omitempty" name:"Tags"` // The number of sync tasks purchased at a time. Value range: [1, 10]. Default value: `1`. Count *uint64 `json:"Count,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,omitempty" name:"AutoRenew"` // Sync link specification, such as `micro`, `small`, `medium`, and `large`. Default value: `medium`. InstanceClass *string `json:"InstanceClass,omitempty" name:"InstanceClass"` // Sync task name JobName *string `json:"JobName,omitempty" name:"JobName"` // ID of the existing task used to create a similar task ExistedJobId *string `json:"ExistedJobId,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,omitempty" name:"PayMode"` // Source database type, such as `mysql`, `cynosdbmysql`, `tdapg`, `tdpg`, and `tdsqlmysql`. SrcDatabaseType *string `json:"SrcDatabaseType,omitempty" name:"SrcDatabaseType"` // Source database region, such as `ap-guangzhou`. SrcRegion *string `json:"SrcRegion,omitempty" name:"SrcRegion"` // Target database type, such as `mysql`, `cynosdbmysql`, `tdapg`, `tdpg`, and `tdsqlmysql`. DstDatabaseType *string `json:"DstDatabaseType,omitempty" name:"DstDatabaseType"` // Target database region, such as `ap-guangzhou`. DstRegion *string `json:"DstRegion,omitempty" name:"DstRegion"` // Sync task specification, such as `Standard`. Specification *string `json:"Specification,omitempty" name:"Specification"` // Tag information Tags []*TagItem `json:"Tags,omitempty" name:"Tags"` // The number of sync tasks purchased at a time. Value range: [1, 10]. Default value: `1`. Count *uint64 `json:"Count,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,omitempty" name:"AutoRenew"` // Sync link specification, such as `micro`, `small`, `medium`, and `large`. Default value: `medium`. InstanceClass *string `json:"InstanceClass,omitempty" name:"InstanceClass"` // Sync task name JobName *string `json:"JobName,omitempty" name:"JobName"` // ID of the existing task used to create a similar task ExistedJobId *string `json:"ExistedJobId,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,omitempty" name:"JobIds"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,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,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,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,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,omitempty" name:"NodeType"` // Database information // Note: This field may return null, indicating that no valid values can be obtained. Info []*DBInfo `json:"Info,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,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,omitempty" name:"ExtraAttr"` }
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,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,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,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,omitempty" name:"Port"` // Instance username // Note: This field may return null, indicating that no valid values can be obtained. User *string `json:"User,omitempty" name:"User"` // Instance password // Note: This field may return null, indicating that no valid values can be obtained. Password *string `json:"Password,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,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,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,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,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,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,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,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,omitempty" name:"EngineVersion"` // Instance account // Note: This field may return null, indicating that no valid values can be obtained. Account *string `json:"Account,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,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,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,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,omitempty" name:"TmpSecretKey"` // Temporary token // Note: This field may return null, indicating that no valid values can be obtained. TmpToken *string `json:"TmpToken,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,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,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,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,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,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,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,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,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,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,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,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,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,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,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,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,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,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,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,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,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,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,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. // Note: This field may return null, indicating that no valid values can be obtained. DbMode *string `json:"DbMode,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,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,omitempty" name:"NewSchemaName"` // 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,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,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,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,omitempty" name:"Views"` // Sync mode. Valid values: `Partial`, `All`. // Note: This field may return null, indicating that no valid values can be obtained. FunctionMode *string `json:"FunctionMode,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,omitempty" name:"Functions"` // Sync mode. Valid values: `Partial`, `All`. // Note: This field may return null, indicating that no valid values can be obtained. ProcedureMode *string `json:"ProcedureMode,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,omitempty" name:"Procedures"` }
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,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,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,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,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,omitempty" name:"DdlValue"` }
type DeleteCompareTaskRequest ¶
type DeleteCompareTaskRequest struct { *tchttp.BaseRequest // Migration task ID JobId *string `json:"JobId,omitempty" name:"JobId"` // Data consistency check task ID in the format of `dts-8yv4w2i1-cmp-37skmii9` CompareTaskId *string `json:"CompareTaskId,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,omitempty" name:"JobId"` // Data consistency check task ID in the format of `dts-8yv4w2i1-cmp-37skmii9` CompareTaskId *string `json:"CompareTaskId,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,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeCheckSyncJobResultRequest ¶
type DescribeCheckSyncJobResultRequest struct { *tchttp.BaseRequest // Sync task ID JobId *string `json:"JobId,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 ID JobId *string `json:"JobId,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 { // Check result // Note: This field may return null, indicating that no valid values can be obtained. Status *string `json:"Status,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,omitempty" name:"StepCount"` // The current step // Note: This field may return null, indicating that no valid values can be obtained. StepCur *uint64 `json:"StepCur,omitempty" name:"StepCur"` // Overall progress // Note: This field may return null, indicating that no valid values can be obtained. Progress *uint64 `json:"Progress,omitempty" name:"Progress"` // Step information // Note: This field may return null, indicating that no valid values can be obtained. StepInfos []*StepInfo `json:"StepInfos,omitempty" name:"StepInfos"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeCompareReportRequest ¶
type DescribeCompareReportRequest struct { *tchttp.BaseRequest // Migration task ID JobId *string `json:"JobId,omitempty" name:"JobId"` // Check task ID CompareTaskId *string `json:"CompareTaskId,omitempty" name:"CompareTaskId"` // Number of inconsistent objects to be returned DifferenceLimit *uint64 `json:"DifferenceLimit,omitempty" name:"DifferenceLimit"` // Offset of inconsistent objects DifferenceOffset *uint64 `json:"DifferenceOffset,omitempty" name:"DifferenceOffset"` // Search criterion: Inconsistent database name DifferenceDB *string `json:"DifferenceDB,omitempty" name:"DifferenceDB"` // Search criterion: Inconsistent table name DifferenceTable *string `json:"DifferenceTable,omitempty" name:"DifferenceTable"` // Number of unchecked objects to be returned SkippedLimit *uint64 `json:"SkippedLimit,omitempty" name:"SkippedLimit"` // Offset of unchecked objects SkippedOffset *uint64 `json:"SkippedOffset,omitempty" name:"SkippedOffset"` // Search criterion: Unchecked database name SkippedDB *string `json:"SkippedDB,omitempty" name:"SkippedDB"` // Search criterion: Unchecked table name SkippedTable *string `json:"SkippedTable,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,omitempty" name:"JobId"` // Check task ID CompareTaskId *string `json:"CompareTaskId,omitempty" name:"CompareTaskId"` // Number of inconsistent objects to be returned DifferenceLimit *uint64 `json:"DifferenceLimit,omitempty" name:"DifferenceLimit"` // Offset of inconsistent objects DifferenceOffset *uint64 `json:"DifferenceOffset,omitempty" name:"DifferenceOffset"` // Search criterion: Inconsistent database name DifferenceDB *string `json:"DifferenceDB,omitempty" name:"DifferenceDB"` // Search criterion: Inconsistent table name DifferenceTable *string `json:"DifferenceTable,omitempty" name:"DifferenceTable"` // Number of unchecked objects to be returned SkippedLimit *uint64 `json:"SkippedLimit,omitempty" name:"SkippedLimit"` // Offset of unchecked objects SkippedOffset *uint64 `json:"SkippedOffset,omitempty" name:"SkippedOffset"` // Search criterion: Unchecked database name SkippedDB *string `json:"SkippedDB,omitempty" name:"SkippedDB"` // Search criterion: Unchecked table name SkippedTable *string `json:"SkippedTable,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,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,omitempty" name:"Detail"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeCompareTasksRequest ¶
type DescribeCompareTasksRequest struct { *tchttp.BaseRequest // Migration task ID JobId *string `json:"JobId,omitempty" name:"JobId"` // Number of tasks to be displayed per page. Default value: `20`. Limit *uint64 `json:"Limit,omitempty" name:"Limit"` // Pagination offset Offset *uint64 `json:"Offset,omitempty" name:"Offset"` }
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,omitempty" name:"JobId"` // Number of tasks to be displayed per page. Default value: `20`. Limit *uint64 `json:"Limit,omitempty" name:"Limit"` // Pagination offset Offset *uint64 `json:"Offset,omitempty" name:"Offset"` }
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,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,omitempty" name:"Items"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeMigrateDBInstancesRequest ¶
type DescribeMigrateDBInstancesRequest struct { *tchttp.BaseRequest // Database type, such as `mysql`. DatabaseType *string `json:"DatabaseType,omitempty" name:"DatabaseType"` // Specifies whether the instance is the migration source or target. Valid values: `src` (source); `dts` (target). MigrateRole *string `json:"MigrateRole,omitempty" name:"MigrateRole"` // Database instance ID InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // Database instance name InstanceName *string `json:"InstanceName,omitempty" name:"InstanceName"` // Number of results to be returned Limit *int64 `json:"Limit,omitempty" name:"Limit"` // Offset Offset *int64 `json:"Offset,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,omitempty" name:"AccountMode"` // ID of the temporary key, which is required if the operation is performed across accounts. TmpSecretId *string `json:"TmpSecretId,omitempty" name:"TmpSecretId"` // Key of the temporary key, which is required if the operation is performed across accounts. TmpSecretKey *string `json:"TmpSecretKey,omitempty" name:"TmpSecretKey"` // Temporary token, which is required if the operation is performed across accounts. TmpToken *string `json:"TmpToken,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,omitempty" name:"DatabaseType"` // Specifies whether the instance is the migration source or target. Valid values: `src` (source); `dts` (target). MigrateRole *string `json:"MigrateRole,omitempty" name:"MigrateRole"` // Database instance ID InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // Database instance name InstanceName *string `json:"InstanceName,omitempty" name:"InstanceName"` // Number of results to be returned Limit *int64 `json:"Limit,omitempty" name:"Limit"` // Offset Offset *int64 `json:"Offset,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,omitempty" name:"AccountMode"` // ID of the temporary key, which is required if the operation is performed across accounts. TmpSecretId *string `json:"TmpSecretId,omitempty" name:"TmpSecretId"` // Key of the temporary key, which is required if the operation is performed across accounts. TmpSecretKey *string `json:"TmpSecretKey,omitempty" name:"TmpSecretKey"` // Temporary token, which is required if the operation is performed across accounts. TmpToken *string `json:"TmpToken,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,omitempty" name:"TotalCount"` // Instance list // Note: This field may return null, indicating that no valid values can be obtained. Instances []*MigrateDBItem `json:"Instances,omitempty" name:"Instances"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeMigrationCheckJobRequest ¶
type DescribeMigrationCheckJobRequest struct { *tchttp.BaseRequest // Task ID JobId *string `json:"JobId,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,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,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,omitempty" name:"BriefMsg"` // Check step // Note: This field may return null, indicating that no valid values can be obtained. StepInfo []*CheckStep `json:"StepInfo,omitempty" name:"StepInfo"` // Check result. Valid values: `checkPass`, `checkNotPass`. CheckFlag *string `json:"CheckFlag,omitempty" name:"CheckFlag"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeMigrationDetailRequest ¶
type DescribeMigrationDetailRequest struct { *tchttp.BaseRequest // Data migration task ID JobId *string `json:"JobId,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,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,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,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,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,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,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,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,omitempty" name:"BriefMsg"` // Task status. Valid values: `created`, `checking`, `checkPass`, `checkNotPass`, `readyRun`, `running`, `readyComplete`, `success`, `failed`, `stopping`, `completing`. // Note: This field may return null, indicating that no valid values can be obtained. Status *string `json:"Status,omitempty" name:"Status"` // Task operation information // Note: This field may return null, indicating that no valid values can be obtained. Action *MigrateAction `json:"Action,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,omitempty" name:"StepInfo"` // Source instance information // Note: This field may return null, indicating that no valid values can be obtained. SrcInfo *DBEndpointInfo `json:"SrcInfo,omitempty" name:"SrcInfo"` // Target database information // Note: This field may return null, indicating that no valid values can be obtained. DstInfo *DBEndpointInfo `json:"DstInfo,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,omitempty" name:"CompareTask"` // Tag information // Note: This field may return null, indicating that no valid values can be obtained. Tags []*TagItem `json:"Tags,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,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,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,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,omitempty" name:"CheckStepInfo"` // Billing information // Note: This field may return null, indicating that no valid values can be obtained. TradeInfo *TradeInfo `json:"TradeInfo,omitempty" name:"TradeInfo"` // Task error information // Note: This field may return null, indicating that no valid values can be obtained. ErrorInfo []*ErrorInfoItem `json:"ErrorInfo,omitempty" name:"ErrorInfo"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,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,omitempty" name:"JobId"` // Data migration task name JobName *string `json:"JobName,omitempty" name:"JobName"` // Data migration task status. Valid values: `created`, `checking`, `checkPass`, `checkNotPass`, `readyRun`, `running`, `readyComplete`, `success`, `failed`, `stopping`, `completing`. Status []*string `json:"Status,omitempty" name:"Status"` // Source instance ID in the format of `cdb-c1nl9rpv` SrcInstanceId *string `json:"SrcInstanceId,omitempty" name:"SrcInstanceId"` // Source instance region, such as `ap-guangzhou`. SrcRegion *string `json:"SrcRegion,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,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,omitempty" name:"SrcAccessType"` // Target instance ID in the format of `cdb-c1nl9rpv` DstInstanceId *string `json:"DstInstanceId,omitempty" name:"DstInstanceId"` // Target instance region, such as `ap-guangzhou`. DstRegion *string `json:"DstRegion,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,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,omitempty" name:"DstAccessType"` // Task running mode. Valid values: `immediate`, `timed`. RunMode *string `json:"RunMode,omitempty" name:"RunMode"` // Sorting order. Valid values: `asc`, `desc`. Default value: `desc` by creation time. OrderSeq *string `json:"OrderSeq,omitempty" name:"OrderSeq"` // Number of instances to be returned. Value range: [1,100]. Default value: `20`. Limit *uint64 `json:"Limit,omitempty" name:"Limit"` // Offset. Default value: `0`. Offset *uint64 `json:"Offset,omitempty" name:"Offset"` // Tag filter TagFilters []*TagFilter `json:"TagFilters,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,omitempty" name:"JobId"` // Data migration task name JobName *string `json:"JobName,omitempty" name:"JobName"` // Data migration task status. Valid values: `created`, `checking`, `checkPass`, `checkNotPass`, `readyRun`, `running`, `readyComplete`, `success`, `failed`, `stopping`, `completing`. Status []*string `json:"Status,omitempty" name:"Status"` // Source instance ID in the format of `cdb-c1nl9rpv` SrcInstanceId *string `json:"SrcInstanceId,omitempty" name:"SrcInstanceId"` // Source instance region, such as `ap-guangzhou`. SrcRegion *string `json:"SrcRegion,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,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,omitempty" name:"SrcAccessType"` // Target instance ID in the format of `cdb-c1nl9rpv` DstInstanceId *string `json:"DstInstanceId,omitempty" name:"DstInstanceId"` // Target instance region, such as `ap-guangzhou`. DstRegion *string `json:"DstRegion,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,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,omitempty" name:"DstAccessType"` // Task running mode. Valid values: `immediate`, `timed`. RunMode *string `json:"RunMode,omitempty" name:"RunMode"` // Sorting order. Valid values: `asc`, `desc`. Default value: `desc` by creation time. OrderSeq *string `json:"OrderSeq,omitempty" name:"OrderSeq"` // Number of instances to be returned. Value range: [1,100]. Default value: `20`. Limit *uint64 `json:"Limit,omitempty" name:"Limit"` // Offset. Default value: `0`. Offset *uint64 `json:"Offset,omitempty" name:"Offset"` // Tag filter TagFilters []*TagFilter `json:"TagFilters,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,omitempty" name:"TotalCount"` // Migration task list // Note: This field may return null, indicating that no valid values can be obtained. JobList []*JobItem `json:"JobList,omitempty" name:"JobList"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,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,omitempty" name:"JobId"` // Sync task name JobName *string `json:"JobName,omitempty" name:"JobName"` // Sort by field, such as `CreateTime`. Order *string `json:"Order,omitempty" name:"Order"` // Sorting order. Valid values: `ASC`, `DESC`. Default value: `DESC` by `CreateTime`. OrderSeq *string `json:"OrderSeq,omitempty" name:"OrderSeq"` // Offset. Default value: `0`. Offset *uint64 `json:"Offset,omitempty" name:"Offset"` // Number of sync task instances to be returned. Value range: [1,100]. Default value: `20`. Limit *uint64 `json:"Limit,omitempty" name:"Limit"` // The set of status values, such as `Initialized,CheckPass,Running,ResumableErr,Stopped`. Status []*string `json:"Status,omitempty" name:"Status"` // Running mode. Valid values: `Immediate`, `Timed`. RunMode *string `json:"RunMode,omitempty" name:"RunMode"` // Task type, such as `mysql2mysql` (sync from MySQL to MySQL). JobType *string `json:"JobType,omitempty" name:"JobType"` // Billing mode. Valid values: `PrePay` (prepaid); `PostPay` (postpaid). PayMode *string `json:"PayMode,omitempty" name:"PayMode"` // tag TagFilters []*TagFilter `json:"TagFilters,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,omitempty" name:"JobId"` // Sync task name JobName *string `json:"JobName,omitempty" name:"JobName"` // Sort by field, such as `CreateTime`. Order *string `json:"Order,omitempty" name:"Order"` // Sorting order. Valid values: `ASC`, `DESC`. Default value: `DESC` by `CreateTime`. OrderSeq *string `json:"OrderSeq,omitempty" name:"OrderSeq"` // Offset. Default value: `0`. Offset *uint64 `json:"Offset,omitempty" name:"Offset"` // Number of sync task instances to be returned. Value range: [1,100]. Default value: `20`. Limit *uint64 `json:"Limit,omitempty" name:"Limit"` // The set of status values, such as `Initialized,CheckPass,Running,ResumableErr,Stopped`. Status []*string `json:"Status,omitempty" name:"Status"` // Running mode. Valid values: `Immediate`, `Timed`. RunMode *string `json:"RunMode,omitempty" name:"RunMode"` // Task type, such as `mysql2mysql` (sync from MySQL to MySQL). JobType *string `json:"JobType,omitempty" name:"JobType"` // Billing mode. Valid values: `PrePay` (prepaid); `PostPay` (postpaid). PayMode *string `json:"PayMode,omitempty" name:"PayMode"` // tag TagFilters []*TagFilter `json:"TagFilters,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,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,omitempty" name:"JobList"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DestroyMigrateJobRequest ¶
type DestroyMigrateJobRequest struct { *tchttp.BaseRequest // Task ID JobId *string `json:"JobId,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,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,omitempty" name:"RequestId"` }
Predefined struct for user
type DestroySyncJobRequest ¶
type DestroySyncJobRequest struct { *tchttp.BaseRequest // Sync task ID JobId *string `json:"JobId,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,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,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,omitempty" name:"CheckItemName"` // Check item details // Note: This field may return null, indicating that no valid values can be obtained. Description *string `json:"Description,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,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,omitempty" name:"FailureReason"` // Solution // Note: This field may return null, indicating that no valid values can be obtained. Solution *string `json:"Solution,omitempty" name:"Solution"` // Execution error log // Note: This field may return null, indicating that no valid values can be obtained. ErrorLog []*string `json:"ErrorLog,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,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,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,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,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,omitempty" name:"Db"` // Table name // Note: This field may return null, indicating that no valid values can be obtained. Table *string `json:"Table,omitempty" name:"Table"` // Chunk ID // Note: This field may return null, indicating that no valid values can be obtained. Chunk *int64 `json:"Chunk,omitempty" name:"Chunk"` // Source database value // Note: This field may return null, indicating that no valid values can be obtained. SrcItem *string `json:"SrcItem,omitempty" name:"SrcItem"` // Target database value // Note: This field may return null, indicating that no valid values can be obtained. DstItem *string `json:"DstItem,omitempty" name:"DstItem"` // Index name // Note: This field may return null, indicating that no valid values can be obtained. IndexName *string `json:"IndexName,omitempty" name:"IndexName"` // First index key // Note: This field may return null, indicating that no valid values can be obtained. LowerBoundary *string `json:"LowerBoundary,omitempty" name:"LowerBoundary"` // Last index key // Note: This field may return null, indicating that no valid values can be obtained. UpperBoundary *string `json:"UpperBoundary,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,omitempty" name:"CostTime"` // Completion time // Note: This field may return null, indicating that no valid values can be obtained. FinishedAt *string `json:"FinishedAt,omitempty" name:"FinishedAt"` }
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,omitempty" name:"Region"` // 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,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,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,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,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,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,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,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,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,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,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,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,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,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,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,omitempty" name:"EngineVersion"` // 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,omitempty" name:"AccountMode"` // 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,omitempty" name:"Account"` // 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,omitempty" name:"AccountRole"` // 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,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,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,omitempty" name:"TmpToken"` // External role ID // Note: This field may return null, indicating that no valid values can be obtained. RoleExternalId *string `json:"RoleExternalId,omitempty" name:"RoleExternalId"` }
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,omitempty" name:"Code"` // Solution // Note: This field may return null, indicating that no valid values can be obtained. Solution *string `json:"Solution,omitempty" name:"Solution"` // Error log // Note: This field may return null, indicating that no valid values can be obtained. ErrorLog *string `json:"ErrorLog,omitempty" name:"ErrorLog"` // Help document // Note: This field may return null, indicating that no valid values can be obtained. HelpDoc *string `json:"HelpDoc,omitempty" name:"HelpDoc"` }
type IsolateMigrateJobRequest ¶
type IsolateMigrateJobRequest struct { *tchttp.BaseRequest // Task ID JobId *string `json:"JobId,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,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,omitempty" name:"RequestId"` }
Predefined struct for user
type IsolateSyncJobRequest ¶
type IsolateSyncJobRequest struct { *tchttp.BaseRequest // Sync task ID JobId *string `json:"JobId,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,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,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,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,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,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,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,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,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,omitempty" name:"BriefMsg"` // Task status. Valid values: `creating`, `created`, `checking`, `checkPass`, `checkNotPass`, `readyRun`, `running`, `readyComplete`, `success`, `failed`, `stopping`, `completing`. // Note: This field may return null, indicating that no valid values can be obtained. Status *string `json:"Status,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,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,omitempty" name:"ExpectRunTime"` // Task operation information // Note: This field may return null, indicating that no valid values can be obtained. Action *MigrateAction `json:"Action,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,omitempty" name:"StepInfo"` // Source instance information // Note: This field may return null, indicating that no valid values can be obtained. SrcInfo *DBEndpointInfo `json:"SrcInfo,omitempty" name:"SrcInfo"` // Target database information // Note: This field may return null, indicating that no valid values can be obtained. DstInfo *DBEndpointInfo `json:"DstInfo,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,omitempty" name:"CompareTask"` // Billing status information // Note: This field may return null, indicating that no valid values can be obtained. TradeInfo *TradeInfo `json:"TradeInfo,omitempty" name:"TradeInfo"` // Tag information // Note: This field may return null, indicating that no valid values can be obtained. Tags []*TagItem `json:"Tags,omitempty" name:"Tags"` }
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,omitempty" name:"Key"` // Option value // Note: This field may return null, indicating that no valid values can be obtained. Value *string `json:"Value,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,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,omitempty" name:"AllowedAction"` }
type MigrateDBItem ¶
type MigrateDBItem struct { // Instance ID InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // Instance name InstanceName *string `json:"InstanceName,omitempty" name:"InstanceName"` // Instance VIP Vip *string `json:"Vip,omitempty" name:"Vip"` // Instance Vport Vport *int64 `json:"Vport,omitempty" name:"Vport"` // Whether the instance can be migrated. Valid values: `1 (yes); `0` (no). Usable *int64 `json:"Usable,omitempty" name:"Usable"` // The cause why the instance cannot be migrated Hint *string `json:"Hint,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,omitempty" name:"StepAll"` // Current step // Note: This field may return null, indicating that no valid values can be obtained. StepNow *uint64 `json:"StepNow,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,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,omitempty" name:"SecondsBehindMaster"` // Step information // Note: This field may return null, indicating that no valid values can be obtained. StepInfo []*StepDetailInfo `json:"StepInfo,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,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,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,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,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,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,omitempty" name:"IsDstReadOnly"` // Additional information. You can set additional parameters for certain database types. For Redis, you can define the following parameters: // ["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: This field may return null, indicating that no valid values can be obtained. ExtraAttr []*KeyValuePairOption `json:"ExtraAttr,omitempty" name:"ExtraAttr"` }
type ModifyCompareTaskNameRequest ¶
type ModifyCompareTaskNameRequest struct { *tchttp.BaseRequest // Migration task ID JobId *string `json:"JobId,omitempty" name:"JobId"` // Data consistency check task ID in the format of `dts-8yv4w2i1-cmp-37skmii9` CompareTaskId *string `json:"CompareTaskId,omitempty" name:"CompareTaskId"` // Data consistency check task name TaskName *string `json:"TaskName,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,omitempty" name:"JobId"` // Data consistency check task ID in the format of `dts-8yv4w2i1-cmp-37skmii9` CompareTaskId *string `json:"CompareTaskId,omitempty" name:"CompareTaskId"` // Data consistency check task name TaskName *string `json:"TaskName,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,omitempty" name:"RequestId"` }
Predefined struct for user
type ModifyCompareTaskRequest ¶
type ModifyCompareTaskRequest struct { *tchttp.BaseRequest // Migration task ID JobId *string `json:"JobId,omitempty" name:"JobId"` // Data consistency check task ID in the format of `dts-8yv4w2i1-cmp-37skmii9` CompareTaskId *string `json:"CompareTaskId,omitempty" name:"CompareTaskId"` // Task name TaskName *string `json:"TaskName,omitempty" name:"TaskName"` // Data comparison object mode. Valid values: `sameAsMigrate` (all migration objects); `custom` (custom mode). Default value: `sameAsMigrate`. ObjectMode *string `json:"ObjectMode,omitempty" name:"ObjectMode"` // Compared object, which is required if `CompareObjectMode` is `custom`. Objects *CompareObject `json:"Objects,omitempty" name:"Objects"` }
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 { // Migration task ID JobId *string `json:"JobId,omitempty" name:"JobId"` // Data consistency check task ID in the format of `dts-8yv4w2i1-cmp-37skmii9` CompareTaskId *string `json:"CompareTaskId,omitempty" name:"CompareTaskId"` // Task name TaskName *string `json:"TaskName,omitempty" name:"TaskName"` // Data comparison object mode. Valid values: `sameAsMigrate` (all migration objects); `custom` (custom mode). Default value: `sameAsMigrate`. ObjectMode *string `json:"ObjectMode,omitempty" name:"ObjectMode"` // Compared object, which is required if `CompareObjectMode` is `custom`. Objects *CompareObject `json:"Objects,omitempty" name:"Objects"` }
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,omitempty" name:"RequestId"` }
Predefined struct for user
type ModifyMigrateJobSpecRequest ¶
type ModifyMigrateJobSpecRequest struct { *tchttp.BaseRequest // Task ID JobId *string `json:"JobId,omitempty" name:"JobId"` // New instance specification. Valid values: `micro`, `small`, `medium`, `large`, `xlarge`, `2xlarge`. NewInstanceClass *string `json:"NewInstanceClass,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,omitempty" name:"JobId"` // New instance specification. Valid values: `micro`, `small`, `medium`, `large`, `xlarge`, `2xlarge`. NewInstanceClass *string `json:"NewInstanceClass,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,omitempty" name:"RequestId"` }
Predefined struct for user
type ModifyMigrateNameRequest ¶
type ModifyMigrateNameRequest struct { *tchttp.BaseRequest // Migration task ID JobId *string `json:"JobId,omitempty" name:"JobId"` // New migration task name JobName *string `json:"JobName,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,omitempty" name:"JobId"` // New migration task name JobName *string `json:"JobName,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,omitempty" name:"RequestId"` }
Predefined struct for user
type ModifyMigrationJobRequest ¶
type ModifyMigrationJobRequest struct { *tchttp.BaseRequest // Task ID JobId *string `json:"JobId,omitempty" name:"JobId"` // Running mode. Valid values: `immediate`, `timed`. RunMode *string `json:"RunMode,omitempty" name:"RunMode"` // Migration task configuration options, which describe how the task performs migration. MigrateOption *MigrateOption `json:"MigrateOption,omitempty" name:"MigrateOption"` // Source instance information SrcInfo *DBEndpointInfo `json:"SrcInfo,omitempty" name:"SrcInfo"` // Target instance information DstInfo *DBEndpointInfo `json:"DstInfo,omitempty" name:"DstInfo"` // Migration task name, which can contain up to 128 characters. JobName *string `json:"JobName,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,omitempty" name:"ExpectRunTime"` // Tag information Tags []*TagItem `json:"Tags,omitempty" name:"Tags"` }
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,omitempty" name:"JobId"` // Running mode. Valid values: `immediate`, `timed`. RunMode *string `json:"RunMode,omitempty" name:"RunMode"` // Migration task configuration options, which describe how the task performs migration. MigrateOption *MigrateOption `json:"MigrateOption,omitempty" name:"MigrateOption"` // Source instance information SrcInfo *DBEndpointInfo `json:"SrcInfo,omitempty" name:"SrcInfo"` // Target instance information DstInfo *DBEndpointInfo `json:"DstInfo,omitempty" name:"DstInfo"` // Migration task name, which can contain up to 128 characters. JobName *string `json:"JobName,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,omitempty" name:"ExpectRunTime"` // Tag information Tags []*TagItem `json:"Tags,omitempty" name:"Tags"` }
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,omitempty" name:"RequestId"` }
Predefined struct for user
type Objects ¶
type Objects struct { // Migration object type, such as `Partial`. // Note: This field may return null, indicating that no valid values can be obtained. Mode *string `json:"Mode,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,omitempty" name:"Databases"` // Advanced object type, such as function and procedure. 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,omitempty" name:"AdvancedObjects"` }
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,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,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,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,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,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,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,omitempty" name:"DdlOptions"` }
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,omitempty" name:"Status"` // Progress information // Note: This field may return null, indicating that no valid values can be obtained. Percent *uint64 `json:"Percent,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,omitempty" name:"StepAll"` // Current step // Note: This field may return null, indicating that no valid values can be obtained. StepNow *uint64 `json:"StepNow,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,omitempty" name:"Message"` // Step information // Note: This field may return null, indicating that no valid values can be obtained. Steps []*StepDetailInfo `json:"Steps,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,omitempty" name:"Message"` // Solution // Note: This field may return null, indicating that no valid values can be obtained. Solution *string `json:"Solution,omitempty" name:"Solution"` // Help document // Note: This field may return null, indicating that no valid values can be obtained. HelpDoc *string `json:"HelpDoc,omitempty" name:"HelpDoc"` }
type RecoverMigrateJobRequest ¶
type RecoverMigrateJobRequest struct { *tchttp.BaseRequest // Task ID JobId *string `json:"JobId,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,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,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,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,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,omitempty" name:"RequestId"` }
Predefined struct for user
type ResizeSyncJobRequest ¶
type ResizeSyncJobRequest struct { *tchttp.BaseRequest // Sync task ID JobId *string `json:"JobId,omitempty" name:"JobId"` // Task specification NewInstanceClass *string `json:"NewInstanceClass,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,omitempty" name:"JobId"` // Task specification NewInstanceClass *string `json:"NewInstanceClass,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,omitempty" name:"RequestId"` }
Predefined struct for user
type ResumeMigrateJobRequest ¶
type ResumeMigrateJobRequest struct { *tchttp.BaseRequest // Data migration task ID JobId *string `json:"JobId,omitempty" name:"JobId"` // Task resumption mode. Valid values: `clearData` (clear the target instance data); `overwrite` (execute the task in overwrite mode); `normal` (follow the normal process without performing additional operations). ResumeOption *string `json:"ResumeOption,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,omitempty" name:"JobId"` // Task resumption mode. Valid values: `clearData` (clear the target instance data); `overwrite` (execute the task in overwrite mode); `normal` (follow the normal process without performing additional operations). ResumeOption *string `json:"ResumeOption,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,omitempty" name:"RequestId"` }
Predefined struct for user
type ResumeSyncJobRequest ¶
type ResumeSyncJobRequest struct { *tchttp.BaseRequest // Sync task ID JobId *string `json:"JobId,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,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,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,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,omitempty" name:"NewRoleName"` }
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,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,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,omitempty" name:"Db"` // Table name // Note: This field may return null, indicating that no valid values can be obtained. Table *string `json:"Table,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,omitempty" name:"Reason"` }
type StartCompareRequest ¶
type StartCompareRequest struct { *tchttp.BaseRequest // Migration task ID JobId *string `json:"JobId,omitempty" name:"JobId"` // Data consistency check task ID in the format of `dts-8yv4w2i1-cmp-37skmii9` CompareTaskId *string `json:"CompareTaskId,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,omitempty" name:"JobId"` // Data consistency check task ID in the format of `dts-8yv4w2i1-cmp-37skmii9` CompareTaskId *string `json:"CompareTaskId,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,omitempty" name:"RequestId"` }
Predefined struct for user
type StartMigrateJobRequest ¶
type StartMigrateJobRequest struct { *tchttp.BaseRequest // Data migration task ID JobId *string `json:"JobId,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,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,omitempty" name:"RequestId"` }
Predefined struct for user
type StartSyncJobRequest ¶
type StartSyncJobRequest struct { *tchttp.BaseRequest // Sync task ID JobId *string `json:"JobId,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,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,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,omitempty" name:"StepNo"` // Step name // Note: This field may return null, indicating that no valid values can be obtained. StepName *string `json:"StepName,omitempty" name:"StepName"` // Step ID // Note: This field may return null, indicating that no valid values can be obtained. StepId *string `json:"StepId,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,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,omitempty" name:"StartTime"` // Step error message // Note: This field may return null, indicating that no valid values can be obtained. StepMessage *string `json:"StepMessage,omitempty" name:"StepMessage"` // Execution progress // Note: This field may return null, indicating that no valid values can be obtained. Percent *uint64 `json:"Percent,omitempty" name:"Percent"` // Error message // Note: This field may return null, indicating that no valid values can be obtained. Errors []*ProcessStepTip `json:"Errors,omitempty" name:"Errors"` // Warning // Note: This field may return null, indicating that no valid values can be obtained. Warnings []*ProcessStepTip `json:"Warnings,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,omitempty" name:"StepNo"` // Step name // Note: This field may return null, indicating that no valid values can be obtained. StepName *string `json:"StepName,omitempty" name:"StepName"` // Step ID // Note: This field may return null, indicating that no valid values can be obtained. StepId *string `json:"StepId,omitempty" name:"StepId"` // Current status // Note: This field may return null, indicating that no valid values can be obtained. Status *string `json:"Status,omitempty" name:"Status"` // Step start time // Note: This field may return null, indicating that no valid values can be obtained. StartTime *string `json:"StartTime,omitempty" name:"StartTime"` // Error message // Note: This field may return null, indicating that no valid values can be obtained. Errors []*StepTip `json:"Errors,omitempty" name:"Errors"` // Warning message // Note: This field may return null, indicating that no valid values can be obtained. Warnings []*StepTip `json:"Warnings,omitempty" name:"Warnings"` // Progress of the current step // Note: This field may return null, indicating that no valid values can be obtained. Progress *int64 `json:"Progress,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,omitempty" name:"Code"` // Error message // Note: This field may return null, indicating that no valid values can be obtained. Message *string `json:"Message,omitempty" name:"Message"` // Solution // Note: This field may return null, indicating that no valid values can be obtained. Solution *string `json:"Solution,omitempty" name:"Solution"` // Help document // Note: This field may return null, indicating that no valid values can be obtained. HelpDoc *string `json:"HelpDoc,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,omitempty" name:"SkipInfo"` }
type StopCompareRequest ¶
type StopCompareRequest struct { *tchttp.BaseRequest // Migration task ID JobId *string `json:"JobId,omitempty" name:"JobId"` // Data consistency check task ID in the format of `dts-8yv4w2i1-cmp-37skmii9` CompareTaskId *string `json:"CompareTaskId,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,omitempty" name:"JobId"` // Data consistency check task ID in the format of `dts-8yv4w2i1-cmp-37skmii9` CompareTaskId *string `json:"CompareTaskId,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,omitempty" name:"RequestId"` }
Predefined struct for user
type StopMigrateJobRequest ¶
type StopMigrateJobRequest struct { *tchttp.BaseRequest // Data migration task ID JobId *string `json:"JobId,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,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,omitempty" name:"RequestId"` }
Predefined struct for user
type StopSyncJobRequest ¶
type StopSyncJobRequest struct { *tchttp.BaseRequest // Sync task ID JobId *string `json:"JobId,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,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,omitempty" name:"RequestId"` }
Predefined struct for user
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,omitempty" name:"StepAll"` // Current step // Note: This field may return null, indicating that no valid values can be obtained. StepNow *uint64 `json:"StepNow,omitempty" name:"StepNow"` // Overall progress // Note: This field may return null, indicating that no valid values can be obtained. Progress *int64 `json:"Progress,omitempty" name:"Progress"` // Progress of the current step // Note: This field may return null, indicating that no valid values can be obtained. CurrentStepProgress *int64 `json:"CurrentStepProgress,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,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,omitempty" name:"SecondsBehindMaster"` // Overall description // Note: This field may return null, indicating that no valid values can be obtained. Message *string `json:"Message,omitempty" name:"Message"` // Step details // Note: This field may return null, indicating that no valid values can be obtained. StepInfos []*StepInfo `json:"StepInfos,omitempty" name:"StepInfos"` }
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,omitempty" name:"JobId"` // Sync task name // Note: This field may return null, indicating that no valid values can be obtained. JobName *string `json:"JobName,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,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,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,omitempty" name:"ExpectRunTime"` // All supported operations // Note: This field may return null, indicating that no valid values can be obtained. AllActions []*string `json:"AllActions,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,omitempty" name:"Actions"` // Sync options // Note: This field may return null, indicating that no valid values can be obtained. Options *Options `json:"Options,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,omitempty" name:"Objects"` // Task specification // Note: This field may return null, indicating that no valid values can be obtained. Specification *string `json:"Specification,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,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,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,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,omitempty" name:"SrcAccessType"` // Source database information // Note: This field may return null, indicating that no valid values can be obtained. SrcInfo *Endpoint `json:"SrcInfo,omitempty" name:"SrcInfo"` // 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,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,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,omitempty" name:"DstAccessType"` // Target database information // Note: This field may return null, indicating that no valid values can be obtained. DstInfo *Endpoint `json:"DstInfo,omitempty" name:"DstInfo"` // 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,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,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,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,omitempty" name:"EndTime"` // Tag information // Note: This field may return null, indicating that no valid values can be obtained. Tags []*TagItem `json:"Tags,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,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,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,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,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,omitempty" name:"OfflineTime"` }
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,omitempty" name:"TableName"` // New table name // Note: This field may return null, indicating that no valid values can be obtained. NewTableName *string `json:"NewTableName,omitempty" name:"NewTableName"` // Filter condition // Note: This field may return null, indicating that no valid values can be obtained. FilterCondition *string `json:"FilterCondition,omitempty" name:"FilterCondition"` }
type TableItem ¶
type TableItem struct { // Name of the table to be migrated // Note: This field may return null, indicating that no valid values can be obtained. TableName *string `json:"TableName,omitempty" name:"TableName"` // Name of the table after migration, which is required if `TableEditMode` is `rename`. // Note: This field may return null, indicating that no valid values can be obtained. NewTableName *string `json:"NewTableName,omitempty" name:"NewTableName"` // Temp table to be migrated, which is required if `TableEditMode` is `pt`. To sync temp tables that may be generated during migration by tools such as pt-online-schema-change, you can use this parameter to configure the temp table names. // Note: This field may return null, indicating that no valid values can be obtained. TmpTables []*string `json:"TmpTables,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,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,omitempty" name:"TagKey"` // Tag value // Note: This field may return null, indicating that no valid values can be obtained. TagValue *string `json:"TagValue,omitempty" name:"TagValue"` }
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,omitempty" name:"DealName"` // Last order number // Note: This field may return null, indicating that no valid values can be obtained. LastDealName *string `json:"LastDealName,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,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,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,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,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,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,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,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,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,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,omitempty" name:"ViewName"` // New view name // Note: This field may return null, indicating that no valid values can be obtained. NewViewName *string `json:"NewViewName,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,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,omitempty" name:"NewViewName"` }